aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/@types
diff options
context:
space:
mode:
authorZero~Informatique2020-09-12 06:34:58 +0200
committerG.Fouet2020-09-12 23:19:44 +0200
commit96ed5e6583a7f03d4ea7fa0512e66fffb656cc6e (patch)
tree7df81984c78d616bff317be25f99c7c2d02286c8 /viewer/src/@types
parent7a8eba922ad34182628f80cf2496d8654abe91e6 (diff)
downloadldgallery-96ed5e6583a7f03d4ea7fa0512e66fffb656cc6e.tar.gz
viewer: make default sort order configurable
github: resolves #239
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