Skip to content

@vtj / Modules / core / BlockFile

Interface: BlockFile

core.BlockFile

Hierarchy

Table of contents

Properties

Properties

dsl

Optional dsl: BlockSchema

文件内容

Defined in

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


fromType

Optional fromType: "Schema" | "UrlSchema" | "Plugin"

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

Defined in

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


id

id: string

唯一标识

Defined in

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


library

Optional library: string

Plugin 时的插件名称

Defined in

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


market

Optional market: MarketInstallInfo

从物料市场安装

Defined in

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


name

name: string

文件名

Defined in

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


title

title: string

页面标题

Defined in

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


type

type: FileType

文件类型

Defined in

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


urls

Optional urls: string

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

Defined in

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

Released under the MIT License.