Skip to content

@vtj


@vtj / core / ProjectSchema

Interface: ProjectSchema

项目描述信息

Properties

__BASE_PATH__?

optional __BASE_PATH__: string

项目部署目录

Defined in

packages/core/src/protocols/schemas/project.ts:73


__VERSION__?

optional __VERSION__: string

版本

Defined in

packages/core/src/protocols/schemas/project.ts:68


__VTJ_PROJECT__?

optional __VTJ_PROJECT__: boolean

标记

Defined in

packages/core/src/protocols/schemas/project.ts:63


apis?

optional apis: ApiSchema[]

api

Defined in

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


blocks?

optional blocks: BlockFile[]

项目共用区块组件

Defined in

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


config?

optional config: ProjectConfig

项目配置

Defined in

packages/core/src/protocols/schemas/project.ts:58


dependencies?

optional dependencies: Dependencie[]

项目依赖

Defined in

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


description?

optional description: string

项目简介

Defined in

packages/core/src/protocols/schemas/project.ts:22


homepage?

optional homepage: string

首页 pageId

Defined in

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


id?

optional id: string

唯一标识

Defined in

packages/core/src/protocols/schemas/project.ts:12


meta?

optional meta: MetaSchema[]

配置化查询

Defined in

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


name

name: string

项目名称,默认取package.json name 字段

Defined in

packages/core/src/protocols/schemas/project.ts:17


pages?

optional pages: PageFile[]

项目页面

Defined in

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

Released under the MIT License.