aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/@types
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/src/@types')
-rw-r--r--viewer/src/@types/gallery/index.d.ts3
-rw-r--r--viewer/src/@types/tag/index.d.ts2
2 files changed, 3 insertions, 2 deletions
diff --git a/viewer/src/@types/gallery/index.d.ts b/viewer/src/@types/gallery/index.d.ts
index b47c812..310c865 100644
--- a/viewer/src/@types/gallery/index.d.ts
+++ b/viewer/src/@types/gallery/index.d.ts
@@ -9,7 +9,7 @@ declare namespace Gallery {
9 title: string, 9 title: string,
10 date: string, 10 date: string,
11 description: string, 11 description: string,
12 tags: string[], 12 tags: RawTag[],
13 path: string, 13 path: string,
14 thumbnail: { 14 thumbnail: {
15 path: string, 15 path: string,
@@ -28,4 +28,5 @@ declare namespace Gallery {
28 type: "directory", 28 type: "directory",
29 items: Item[] 29 items: Item[]
30 } 30 }
31 type RawTag = string;
31} \ No newline at end of file 32} \ No newline at end of file
diff --git a/viewer/src/@types/tag/index.d.ts b/viewer/src/@types/tag/index.d.ts
index 6a0c605..181f47a 100644
--- a/viewer/src/@types/tag/index.d.ts
+++ b/viewer/src/@types/tag/index.d.ts
@@ -1,6 +1,6 @@
1declare namespace Tag { 1declare namespace Tag {
2 interface Node { 2 interface Node {
3 tag: string; 3 tag: Gallery.RawTag;
4 items: Gallery.Item[]; 4 items: Gallery.Item[];
5 children: Index; 5 children: Index;
6 } 6 }