feat(config): configure an export to be called at toggle to control phone access

Can serve as a primitive form of access control that can for example call a client side inventory check
This commit is contained in:
Taso committed 2021-07-27 23:06:13 -04:00
1 parent b00bee0217
commit fc939885a8
3 files changed
+31 -12

No files matched your search

+7 -1
View File
@@ -43,12 +43,18 @@ interface DatabaseConfig {
useIdentifierPrefix: boolean;
}
interface PhoneAsItemConfig {
enabled: boolean;
exportResource: string;
exportFunction: string;
}
export interface ResourceConfig {
database: DatabaseConfig;
Locale: string;
KeyTogglePhone: number;
KeyTakeCall: number;
PhoneAsItem: boolean;
PhoneAsItem: PhoneAsItemConfig;
SwimDestroy: boolean;
RunRate: number;
twitter: TwitterConfig;