mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 22:16:54 +00:00
64 lines
1.3 KiB
TypeScript
64 lines
1.3 KiB
TypeScript
interface TwitterConfig {
|
|
showNotifications: boolean;
|
|
generateProfileNameFromUsers: boolean;
|
|
allowEditableProfileName: boolean;
|
|
allowDeleteTweets: boolean;
|
|
allowReportTweets: boolean;
|
|
characterLimit: number;
|
|
newLineLimit: number;
|
|
enableAvatars: boolean;
|
|
enableEmojis: boolean;
|
|
enableImages: boolean;
|
|
maxImages: number;
|
|
}
|
|
|
|
interface MatchConfig {
|
|
generateProfileNameFromUsers: boolean;
|
|
allowEditableProfileName: boolean;
|
|
}
|
|
|
|
interface Debug {
|
|
level: 'error' | 'warn' | 'info' | 'verbose' | 'debug' | 'silly';
|
|
enabled: boolean;
|
|
sentryEnabled: true;
|
|
}
|
|
|
|
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;
|
|
useIdentifierPrefix: boolean;
|
|
}
|
|
|
|
interface PhoneAsItemConfig {
|
|
enabled: boolean;
|
|
exportResource: string;
|
|
exportFunction: string;
|
|
}
|
|
|
|
export interface ResourceConfig {
|
|
database: DatabaseConfig;
|
|
Locale: string;
|
|
PhoneAsItem: PhoneAsItemConfig;
|
|
RunRate: number;
|
|
twitter: TwitterConfig;
|
|
match: MatchConfig;
|
|
bank: BankConfig;
|
|
notificationPosition: NotificationConfig;
|
|
general: General;
|
|
debug: Debug;
|
|
}
|