UNPKG

yao-app-ts-types

Version:

typescript types for yao application

50 lines 1.44 kB
{ "$schema": "http://json-schema.org/draft-07/schema#", "$ref": "#/definitions/YaoCustomWidget.Widget", "definitions": { "YaoCustomWidget.Widget": { "type": "object", "properties": { "version": { "type": "string", "description": "版本【管理字段】" }, "decription": { "type": "string", "description": "描述【管理字段】" }, "comment": { "type": "string", "description": "备注【管理字段】" }, "label": { "type": "string", "description": "Widget 名称" }, "description": { "type": "string", "description": "Widget 介绍" }, "root": { "type": "string", "description": "DSL 文件保存路径(相对于项目根目录)" }, "extension": { "type": "string", "description": "DSL 文件扩展名" }, "modules": { "type": "array", "items": { "type": "string" }, "description": "需要导出的模块。 在 export.js 中根据 DSL 描述,转换的 YAO 内建 widgets。 如 model, table 等。这些 widgets 与保存在项目目录中的 DSL 文件等效。" }, "$schema": { "type": "string" } }, "additionalProperties": false } } }