From 706e46ad35ea9c8bf8d0c051c2e80a0cf7ddbc85 Mon Sep 17 00:00:00 2001 From: Josh Moore Date: Fri, 7 Jul 2023 11:18:04 -0600 Subject: [PATCH] feat: match user config to current setup page --- src2/types.d.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src2/types.d.ts b/src2/types.d.ts index e9c515d..eea8ae6 100644 --- a/src2/types.d.ts +++ b/src2/types.d.ts @@ -1,5 +1,7 @@ declare module 'ass' { + type IdType = 'random' | 'original' | 'gfycat' | 'timestamp' | 'zws' + /** * Core Express server config. * This is separate from the user configuration starting in 0.15.0 @@ -11,7 +13,11 @@ declare module 'ass' { } interface UserConfiguration { - idType: string; + uploadsDir: string; + idType: IdType; + idSize: number; + gfySize: number; + maximumFileSize: number; } }