Skip to content

@vtj


@vtj / core / BlockFile

Interface: BlockFile

Extended by

Properties

category?

optional category: string

分组

Defined in

packages/core/src/protocols/schemas/file.ts:42


dsl?

optional dsl: BlockSchema

文件内容

Defined in

packages/core/src/protocols/schemas/file.ts:75


fromType?

optional fromType: "Schema" | "UrlSchema" | "Plugin"

区块来源,默认为Schema,一旦确定,不允许更改

Defined in

packages/core/src/protocols/schemas/file.ts:52


id

id: string

唯一标识

Defined in

packages/core/src/protocols/schemas/file.ts:27


library?

optional library: string

Plugin 时的插件名称

Defined in

packages/core/src/protocols/schemas/file.ts:70


market?

optional market: MarketInstallInfo

从物料市场安装

Defined in

packages/core/src/protocols/schemas/file.ts:47


name

name: string

文件名

Defined in

packages/core/src/protocols/schemas/file.ts:32


preset?

optional preset: boolean

是否预设,预设的插件不能编辑和删除

Defined in

packages/core/src/protocols/schemas/file.ts:57


title

title: string

页面标题

Defined in

packages/core/src/protocols/schemas/file.ts:37


type

type: FileType

文件类型

Defined in

packages/core/src/protocols/schemas/file.ts:23


urls?

optional urls: string

资源url, Schema: 无url UrlSchema: 只允许一个json文件 Plugin:支持多个文件(.css或.js),多个文件用逗号分隔

Defined in

packages/core/src/protocols/schemas/file.ts:65

Released under the MIT License.