Feat may set api url (#850)
* add api url settings * may edit api setting before login
This commit is contained in:
2
enjoy/src/types/enjoy-app.d.ts
vendored
2
enjoy/src/types/enjoy-app.d.ts
vendored
@@ -128,6 +128,8 @@ type EnjoyAppType = {
|
||||
switchLanguage: (language: string) => Promise<void>;
|
||||
getDefaultHotkeys: () => Promise<Record<string, string> | undefined>;
|
||||
setDefaultHotkeys: (records: Record<string, string>) => Promise<void>;
|
||||
getApiUrl: () => Promise<string>;
|
||||
setApiUrl: (url: string) => Promise<void>;
|
||||
};
|
||||
fs: {
|
||||
ensureDir: (path: string) => Promise<boolean>;
|
||||
|
||||
Reference in New Issue
Block a user