aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/@types/tag/index.d.ts
diff options
context:
space:
mode:
authorZero~Informatique2019-12-24 02:22:56 +0100
committerZero~Informatique2019-12-24 02:22:56 +0100
commit7c2576b0cfb0a15b2a14f6f5ea96de16f0c23b44 (patch)
tree1096617e6795916aa90e81ab50a7736f7d656943 /viewer/src/@types/tag/index.d.ts
parent139e2b76d23b13d2b3bb70fb1d5c1ea9dc255513 (diff)
downloadldgallery-7c2576b0cfb0a15b2a14f6f5ea96de16f0c23b44.tar.gz
viewer: Plugin for Optional chaining and Coalesce. Implemented tag operations (intersection, addition, substraction). Unified Tag.Search
Diffstat (limited to 'viewer/src/@types/tag/index.d.ts')
-rw-r--r--viewer/src/@types/tag/index.d.ts8
1 files changed, 5 insertions, 3 deletions
diff --git a/viewer/src/@types/tag/index.d.ts b/viewer/src/@types/tag/index.d.ts
index 30bbebb..6a0c605 100644
--- a/viewer/src/@types/tag/index.d.ts
+++ b/viewer/src/@types/tag/index.d.ts
@@ -4,9 +4,11 @@ declare namespace Tag {
4 items: Gallery.Item[]; 4 items: Gallery.Item[];
5 children: Index; 5 children: Index;
6 } 6 }
7 interface NodeWithParent extends Node { 7 interface Search extends Node {
8 parent: Node; 8 parent?: Node;
9 operation: string; // Enum Operation
10 display: string;
9 } 11 }
10 type Search = Node | NodeWithParent; 12 type SearchByOperation = { [index: string]: Tag.Search[] };
11 type Index = { [index: string]: Node }; 13 type Index = { [index: string]: Node };
12} \ No newline at end of file 14} \ No newline at end of file