chore(typings): Moved common typings to root dir

This commit is contained in:
Taso committed 2021-03-14 15:19:30 -04:00
1 parent 378830245d
commit f0c5e5101e
47 files changed
+41 -46

No files matched your search

+47
View File
@@ -0,0 +1,47 @@
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 Debug {
level: 'error' | 'warn' | 'info' | 'verbose' | 'debug';
enabled: boolean;
}
interface General {
useDashNumber: boolean;
}
interface NotificationConfig {
horizontal: 'left' | 'center' | 'right';
vertical: 'bottom' | 'top';
}
interface BankConfig {
showNotifications: boolean;
}
export interface IServerConfig {
Locale: string;
KeyTogglePhone: number;
KeyTakeCall: number;
PhoneAsItem: boolean;
SwimDestroy: boolean;
RunRate: number;
DestoryChance: number;
DestroyPhoneReCheck: number;
twitter: TwitterConfig;
bank: BankConfig;
notificationPosition: NotificationConfig;
general: General;
debug: Debug;
}