Files
new-phone-who-dis/typings/config.ts
T
Taso 51b5620866 feat(net-events): Initial opinionated promise wrapper around net events
Lets see how I & the rest of the team feel about this specific standard and we can tweak it from there.
2021-04-18 15:38:51 -04:00

60 lines
1.2 KiB
TypeScript

interface TwitterConfig {
showNotifications: boolean;
generateProfileNameFromUsers: boolean;
allowEdtiableProfileName: boolean;
allowDeleteTweets: boolean;
allowReportTweets: boolean;
characterLimit: number;
newLineLimit: number;
enableAvatars: boolean;
enableEmojis: boolean;
enableImages: boolean;
maxImages: number;
}
interface MatchConfig {
generateProfileNameFromUsers: boolean;
allowEdtiableProfileName: boolean;
}
interface Debug {
level: 'error' | 'warn' | 'info' | 'verbose' | 'debug' | 'silly';
enabled: boolean;
}
interface General {
useDashNumber: boolean;
enableMultiChar: boolean;
}
interface NotificationConfig {
horizontal: 'left' | 'center' | 'right';
vertical: 'bottom' | 'top';
}
interface BankConfig {
showNotifications: boolean;
}
interface DatabaseConfig {
playerTable: string;
identifierColumn: string;
}
export interface IServerConfig {
database: DatabaseConfig;
Locale: string;
KeyTogglePhone: number;
KeyTakeCall: number;
PhoneAsItem: boolean;
SwimDestroy: boolean;
RunRate: number;
DestoryChance: number;
DestroyPhoneReCheck: number;
twitter: TwitterConfig;
match: MatchConfig;
bank: BankConfig;
notificationPosition: NotificationConfig;
general: General;
debug: Debug;
}