diff options
author | Zero~Informatique | 2020-02-12 00:09:34 +0100 |
---|---|---|
committer | Zero~Informatique | 2020-02-12 00:10:22 +0100 |
commit | 19d40a5ee98fb1f244612155acc559ff2f21bf6b (patch) | |
tree | 836e46364b95197da1d643880e9ab259dce32076 /viewer/src/@types | |
parent | e61a7c84f1a1753186980ff1990ee146395ddfc1 (diff) | |
download | ldgallery-19d40a5ee98fb1f244612155acc559ff2f21bf6b.tar.gz |
viewer: implemented config.json
Note: The DevServer needs to know when the file is from the App, or from the FileSystem.
We use a tilde to make this separation. The tilde URL is declared in '.env.development'
GitHub: Resolves #32
Diffstat (limited to 'viewer/src/@types')
-rw-r--r-- | viewer/src/@types/gallery.d.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/viewer/src/@types/gallery.d.ts b/viewer/src/@types/gallery.d.ts index 1987416..865f621 100644 --- a/viewer/src/@types/gallery.d.ts +++ b/viewer/src/@types/gallery.d.ts | |||
@@ -18,6 +18,11 @@ | |||
18 | */ | 18 | */ |
19 | 19 | ||
20 | declare namespace Gallery { | 20 | declare namespace Gallery { |
21 | interface Config { | ||
22 | generationTimestamp: number, | ||
23 | galleryRoot: string, | ||
24 | } | ||
25 | |||
21 | interface Other extends Item { | 26 | interface Other extends Item { |
22 | properties: OtherProperties, | 27 | properties: OtherProperties, |
23 | } | 28 | } |