mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 06:28:51 +00:00
* basic framework for match/tinder * working version of swiping * working version of profile editing * introducing backend * working matching system * working profile updating * fix all linting issues * updated events to Enum * working profile generation * documentation updates * general PR feedback * working profile loading, matches show matchedAt * slight modification to event strings * added sql imports
53 lines
1.1 KiB
TypeScript
53 lines
1.1 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';
|
|
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;
|
|
match: MatchConfig;
|
|
bank: BankConfig;
|
|
notificationPosition: NotificationConfig;
|
|
general: General;
|
|
debug: Debug;
|
|
}
|