-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b83bc1d
commit 879e8c1
Showing
1 changed file
with
78 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
} |