mirror of
https://github.com/selfxyz/self.git
synced 2026-04-05 03:00:53 -04:00
chore(app): resolve lint warnings (#990)
* chore(app): resolve lint warnings * update lock * clean up any types * fix types * feedback from cr
This commit is contained in:
@@ -19,18 +19,20 @@ export interface LocalOverride {
|
||||
}
|
||||
|
||||
export interface RemoteConfigBackend {
|
||||
getValue(key: string): {
|
||||
asBoolean(): boolean;
|
||||
asNumber(): number;
|
||||
asString(): string;
|
||||
getSource(): string;
|
||||
};
|
||||
getAll(): Record<string, any>;
|
||||
setDefaults(defaults: Record<string, any>): Promise<void> | void;
|
||||
setConfigSettings(settings: any): Promise<void> | void;
|
||||
getValue(key: string): RemoteConfigValue;
|
||||
getAll(): Record<string, RemoteConfigValue>;
|
||||
setDefaults(defaults: Record<string, FeatureFlagValue>): Promise<void> | void;
|
||||
setConfigSettings(settings: Record<string, unknown>): Promise<void> | void;
|
||||
fetchAndActivate(): Promise<boolean>;
|
||||
}
|
||||
|
||||
export interface RemoteConfigValue {
|
||||
asBoolean(): boolean;
|
||||
asNumber(): number;
|
||||
asString(): string;
|
||||
getSource(): string;
|
||||
}
|
||||
|
||||
export interface StorageBackend {
|
||||
getItem(key: string): Promise<string | null>;
|
||||
setItem(key: string, value: string): Promise<void>;
|
||||
|
||||
Reference in New Issue
Block a user