aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/@types
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/src/@types')
-rw-r--r--viewer/src/@types/gallery.d.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/viewer/src/@types/gallery.d.ts b/viewer/src/@types/gallery.d.ts
index b756331..8ef8fc7 100644
--- a/viewer/src/@types/gallery.d.ts
+++ b/viewer/src/@types/gallery.d.ts
@@ -18,9 +18,12 @@
18*/ 18*/
19 19
20declare namespace Gallery { 20declare namespace Gallery {
21 type ItemSortStr = "name_asc" | "date_desc";
22
21 interface Config { 23 interface Config {
22 galleryRoot: string; 24 galleryRoot: string;
23 galleryIndex?: string; 25 galleryIndex?: string;
26 initialSort?: ItemSortStr;
24 initialTagDisplayLimit?: number; 27 initialTagDisplayLimit?: number;
25 } 28 }
26 29