mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
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:
1 parent
b00bee0217
commit
fc939885a8
3 files changed
+31
-12
No files matched your search
+7
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user