diff options
author | Zero~Informatique | 2020-05-22 04:14:48 +0200 |
---|---|---|
committer | OzoneGrif | 2020-05-22 04:39:18 +0200 |
commit | 74c1c5e34787ac57299c8cbd874e9dcc56da406d (patch) | |
tree | 51da8090667290bc27e3580b9a78271ddf4d0e3a /viewer/src/@types/ItemType.ts | |
parent | e20f99b74b55fdb3edbcfe5bfdb700fc1a5e9574 (diff) | |
download | ldgallery-74c1c5e34787ac57299c8cbd874e9dcc56da406d.tar.gz |
viewer: Enumerated item types
Diffstat (limited to 'viewer/src/@types/ItemType.ts')
-rw-r--r-- | viewer/src/@types/ItemType.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/viewer/src/@types/ItemType.ts b/viewer/src/@types/ItemType.ts new file mode 100644 index 0000000..31a395b --- /dev/null +++ b/viewer/src/@types/ItemType.ts | |||
@@ -0,0 +1,11 @@ | |||
1 | // TODO: Convert all ambiant types related to LdGallery to modules | ||
2 | |||
3 | export enum ItemType { | ||
4 | OTHER = "other", | ||
5 | PICTURE = "picture", | ||
6 | PLAINTEXT = "plaintext", | ||
7 | PDF = "pdf", | ||
8 | VIDEO = "video", | ||
9 | AUDIO = "audio", | ||
10 | DIRECTORY = "directory", | ||
11 | } | ||