diff options
author | OzoneGrif | 2020-04-04 02:36:03 +0200 |
---|---|---|
committer | GitHub | 2020-04-04 02:36:03 +0200 |
commit | c26ab69997d1d552fda72b8fd88d5910fc91b779 (patch) | |
tree | aea8a7801c1445e71d966ca3a0532200abf2c724 /viewer/src/@types/tag.d.ts | |
parent | 332b208d3fdc91d29181c8f42ef5ff9b1fd1f09a (diff) | |
parent | 84090e0f534cfa8bf601ae6df21e5df695fd149a (diff) | |
download | ldgallery-c26ab69997d1d552fda72b8fd88d5910fc91b779.tar.gz |
Merge pull request #172 from pacien/tag-categories
Feature: tag categories
Diffstat (limited to 'viewer/src/@types/tag.d.ts')
-rw-r--r-- | viewer/src/@types/tag.d.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/viewer/src/@types/tag.d.ts b/viewer/src/@types/tag.d.ts index a390c80..229c418 100644 --- a/viewer/src/@types/tag.d.ts +++ b/viewer/src/@types/tag.d.ts | |||
@@ -21,6 +21,7 @@ declare namespace Tag { | |||
21 | interface Node { | 21 | interface Node { |
22 | tag: Gallery.RawTag; | 22 | tag: Gallery.RawTag; |
23 | tagfiltered: Gallery.RawTag; | 23 | tagfiltered: Gallery.RawTag; |
24 | rootPart: boolean; | ||
24 | items: Gallery.Item[]; | 25 | items: Gallery.Item[]; |
25 | children: Index; | 26 | children: Index; |
26 | } | 27 | } |
@@ -31,4 +32,9 @@ declare namespace Tag { | |||
31 | } | 32 | } |
32 | type SearchByOperation = { [index: string]: Tag.Search[] }; | 33 | type SearchByOperation = { [index: string]: Tag.Search[] }; |
33 | type Index = { [index: string]: Node }; | 34 | type Index = { [index: string]: Node }; |
35 | |||
36 | interface Category { | ||
37 | tag: string; | ||
38 | index: Index; | ||
39 | } | ||
34 | } | 40 | } |