jamis
Version:
一种支持通过JSON配置方式生成页面的组件库
17 lines (16 loc) • 391 B
TypeScript
import type { FormBaseControlSchema, SchemaApi } from '../types';
export * from './components/types';
/**
* JSON Schema
*
*/
export interface JSONSchemaControlSchema extends FormBaseControlSchema {
/**
* 指定为 JSON Schema
*/
type: 'json-schema';
/**
* json-schema 详情,支持关联上下文数据
*/
schema?: Record<string, any> | SchemaApi;
}