next-box 2.5.83 → 2.5.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/types/state.d.ts +25 -22
- package/package.json +1 -1
package/app/types/state.d.ts
CHANGED
|
@@ -8,31 +8,34 @@ export declare enum ViewState {
|
|
|
8
8
|
edit = "edit"
|
|
9
9
|
}
|
|
10
10
|
export interface AppState {
|
|
11
|
-
extenstion:
|
|
12
|
-
|
|
13
|
-
name: Lang;
|
|
14
|
-
type: ExtensionType;
|
|
15
|
-
};
|
|
16
|
-
api: {
|
|
17
|
-
host: string;
|
|
18
|
-
prefix: string;
|
|
19
|
-
headers: {
|
|
20
|
-
[key: string]: any;
|
|
21
|
-
};
|
|
22
|
-
query: {
|
|
23
|
-
[key: string]: any;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
11
|
+
extenstion: AppStateExtenstion;
|
|
12
|
+
api: AppStateApi;
|
|
26
13
|
user?: User;
|
|
27
14
|
debug: boolean;
|
|
28
15
|
view: ViewState;
|
|
29
|
-
storage:
|
|
30
|
-
root: StorageRoot;
|
|
31
|
-
rootID: number;
|
|
32
|
-
path: string;
|
|
33
|
-
info: FileInfo;
|
|
34
|
-
shareKey?: string;
|
|
35
|
-
};
|
|
16
|
+
storage: AppStateStorage;
|
|
36
17
|
initialNavigation?: TransportPayloadNavigate;
|
|
37
18
|
setting?: SettingValue[];
|
|
38
19
|
}
|
|
20
|
+
export interface AppStateExtenstion {
|
|
21
|
+
id: number;
|
|
22
|
+
name: Lang;
|
|
23
|
+
type: ExtensionType;
|
|
24
|
+
}
|
|
25
|
+
export interface AppStateApi {
|
|
26
|
+
host: string;
|
|
27
|
+
prefix: string;
|
|
28
|
+
headers: {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
};
|
|
31
|
+
query: {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export interface AppStateStorage {
|
|
36
|
+
root: StorageRoot;
|
|
37
|
+
rootID: number;
|
|
38
|
+
path: string;
|
|
39
|
+
info: FileInfo;
|
|
40
|
+
shareKey?: string;
|
|
41
|
+
}
|