Files
Erik 6b865f2e73 Feature/tinder (#179)
* 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
2021-03-26 13:29:51 -04:00

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;
}