Skip to content

Commit

Permalink
style: 微调样式
Browse files Browse the repository at this point in the history
  • Loading branch information
JustAnotherID committed Jun 9, 2024
1 parent 28e8450 commit d48cdf4
Showing 1 changed file with 78 additions and 78 deletions.
156 changes: 78 additions & 78 deletions src/type.d.ts
Original file line number Diff line number Diff line change
@@ -1,111 +1,111 @@
export interface JsScriptInfo {
name: string;
enable: boolean;
version: string;
author: string;
license: string;
homepage: string;
desc: string;
grant?: any;
updateTime: number;
installTime: number;
errText: string;
filename: string;
updateUrls?: string[];
official: boolean;
builtin: boolean;
builtinUpdated: boolean;
name: string;
enable: boolean;
version: string;
author: string;
license: string;
homepage: string;
desc: string;
grant?: any;
updateTime: number;
installTime: number;
errText: string;
filename: string;
updateUrls?: string[];
official: boolean;
builtin: boolean;
builtinUpdated: boolean;
}

export interface JsPluginConfigItem {
key: string;
type: string;
defaultValue: any;
value: any;
option: any[];
deprecated: boolean;
description: string;
key: string;
type: string;
defaultValue: any;
value: any;
option: any[];
deprecated: boolean;
description: string;
}

export interface JsPluginConfig {
pluginName: string;
configs: JsPluginConfigItem[];
pluginName: string;
configs: JsPluginConfigItem[];
}

export interface HelpDocData {
helpInfo: HelpDocHelpInfo;
docTree: HelpDoc[];
helpInfo: HelpDocHelpInfo;
docTree: HelpDoc[];
}

export interface HelpDocHelpInfo {
[key: string]: number;
[key: string]: number;
}

export interface HelpDoc {
name: string;
path: string;
group: string;
type: ".json" | ".xlsx";
isDir: boolean;
loadStatus: 0 | 1 | 2;
deleted: boolean;
name: string;
path: string;
group: string;
type: ".json" | ".xlsx";
isDir: boolean;
loadStatus: 0 | 1 | 2;
deleted: boolean;

children: HelpDoc[] | null;
children: HelpDoc[] | null;
}

export interface HelpTextItemQuery {
pageNum: number;
pageSize: number;
total: number;
id?: number;
group?: string;
from?: string;
title?: string;
pageNum: number;
pageSize: number;
total: number;
id?: number;
group?: string;
from?: string;
title?: string;
}

export interface HelpTextItem {
id: number;
group: string;
from: string;
title: string;
content: string
packageName: string
keyWords: string
id: number;
group: string;
from: string;
title: string;
content: string
packageName: string
keyWords: string
}

export interface AdvancedConfig {
show: boolean,
enable: boolean,
storyLogBackendUrl: string,
storyLogApiVersion: string,
storyLogBackendToken: string,
storeBackendUrl: string,
show: boolean,
enable: boolean,
storyLogBackendUrl: string,
storyLogApiVersion: string,
storyLogBackendToken: string,
storeBackendUrl: string,
}

export type StoreElemType = 'plugin' | 'deck' // | 'reply' | 'helpdoc'

export interface StoreElem {
id: string
installed: boolean
id: string
installed: boolean

source: 'official' | string
type: StoreElemType
ext: '.js' | '.toml' | '.json' | '.jsonc' | '.yaml' | '.xlsx' | string
source: 'official' | string
type: StoreElemType
ext: '.js' | '.toml' | '.json' | '.jsonc' | '.yaml' | '.xlsx' | string

name: string
version: string
authors: string[]
desc: string
license: string
releaseTime: number
updateTime?: number
tags?: string[]
rate?: number
extra?: Map<string, string>
downloadNum?: number,
downloadUrl: string,
hash?: Map<string, string>
homePage?: string
sealVersion?: string
dependencies?: Map<string, string>
}
name: string
version: string
authors: string[]
desc: string
license: string
releaseTime: number
updateTime?: number
tags?: string[]
rate?: number
extra?: Map<string, string>
downloadNum?: number,
downloadUrl: string,
hash?: Map<string, string>
homePage?: string
sealVersion?: string
dependencies?: Map<string, string>
}

0 comments on commit d48cdf4

Please sign in to comment.