mirror of
https://github.com/jiangrui1994/CloudSaver.git
synced 2026-04-06 21:00:10 +08:00
refactor:pc views
This commit is contained in:
@@ -15,6 +15,7 @@ export interface ResourceItem {
|
||||
export interface Resource {
|
||||
list: ResourceItem[];
|
||||
displayList?: boolean;
|
||||
loading?: boolean;
|
||||
channelInfo: {
|
||||
channelId: string;
|
||||
name: string;
|
||||
|
||||
@@ -1,6 +1,18 @@
|
||||
import { GlobalSettingAttributes, UserSettingAttributes } from "@/types";
|
||||
export interface UserSettingStore {
|
||||
globalSetting?: GlobalSettingAttributes | null;
|
||||
userSettings: UserSettingAttributes;
|
||||
displayStyle?: "table" | "card";
|
||||
export interface GlobalSettingAttributes {
|
||||
httpProxyHost: string;
|
||||
httpProxyPort: string | number;
|
||||
isProxyEnabled: boolean;
|
||||
AdminUserCode: number;
|
||||
CommonUserCode: number;
|
||||
}
|
||||
|
||||
export interface UserSettingAttributes {
|
||||
cloud115Cookie: string;
|
||||
quarkCookie: string;
|
||||
}
|
||||
|
||||
export interface UserSettingStore {
|
||||
globalSetting: GlobalSettingAttributes | null;
|
||||
userSettings: UserSettingAttributes;
|
||||
displayStyle: "table" | "card";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user