mirror of https://github.com/tycrek/ass
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
762 B
36 lines
762 B
1 year ago
|
declare module 'ass' {
|
||
|
|
||
1 year ago
|
type IdType = 'random' | 'original' | 'gfycat' | 'timestamp' | 'zws'
|
||
|
|
||
1 year ago
|
/**
|
||
|
* Core Express server config.
|
||
|
* This is separate from the user configuration starting in 0.15.0
|
||
|
*/
|
||
|
interface ServerConfiguration {
|
||
|
host: string,
|
||
|
port: number,
|
||
|
proxied: boolean
|
||
|
}
|
||
|
|
||
|
interface UserConfiguration {
|
||
1 year ago
|
uploadsDir: string;
|
||
|
idType: IdType;
|
||
|
idSize: number;
|
||
|
gfySize: number;
|
||
|
maximumFileSize: number;
|
||
1 year ago
|
}
|
||
|
}
|
||
|
|
||
|
//#region Dummy modules
|
||
|
declare module '@tinycreek/postcss-font-magician';
|
||
|
//#endregion
|
||
1 year ago
|
|
||
|
// don't commit
|
||
|
/* future UserConfig options:
|
||
|
mediaStrict: boolean;
|
||
|
viewDirect: boolean;
|
||
|
viewDirectDiscord: boolean;
|
||
|
adminWebhook: {}
|
||
|
s3: {}
|
||
|
*/
|