diff options
author | Zero~Informatique | 2019-12-28 04:52:30 +0100 |
---|---|---|
committer | Zero~Informatique | 2019-12-28 04:53:01 +0100 |
commit | a681accaa7617892bb7c53248aa9030a4eb47f50 (patch) | |
tree | 0d04aee1ef36ffaae1b0fac0a61ef7dad8d38e7c /viewer/src/@types/gallery/index.d.ts | |
parent | deaed8a6737edc6e28c08e9c6734dde6e37a4016 (diff) | |
download | ldgallery-a681accaa7617892bb7c53248aa9030a4eb47f50.tar.gz |
viewer: Tag propositions. Disabled directory indexation.
Note: The propositions are not based on the current search results, but on the searched tags, which doesn't seem to be the correct way. We'll probably have to move the search results to a store for global visibility.
Diffstat (limited to 'viewer/src/@types/gallery/index.d.ts')
-rw-r--r-- | viewer/src/@types/gallery/index.d.ts | 3 |
1 files changed, 2 insertions, 1 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 |