UNPKG

@ovine/core

Version:

Build flexible admin system with json.

17 lines (16 loc) 771 B
import { RendererConfig } from 'amis/lib/factory'; import { Schema } from 'amis/lib/types'; import { ObjectOf } from "../../../utils/types"; import { LibSchema, SchemaPreset } from "./types"; export declare const filterSchemaLimit: (schema: LibSchema, option?: { nodePath?: string | undefined; isDefinitions?: boolean | undefined; } | undefined) => void; export declare const convertToAmisSchema: (schema: LibSchema, option: { preset?: SchemaPreset; definitions?: any; constants?: ObjectOf<string>; }) => LibSchema; export declare const resolveLibSchema: (schema: LibSchema) => any; export declare const libResolver: (path: string, schema?: Schema | undefined) => null | RendererConfig; export declare const wrapCss: (schema: LibSchema) => LibSchema;