@kform/scaffolder
Version:
Scaffolding utilities for KForm projects.
14 lines (13 loc) • 468 B
TypeScript
export interface Schematic {
id: string;
kind: string;
packageSuffix?: string;
name?: string;
nullable?: boolean;
collapsed?: boolean;
children?: Schematic[];
childName?: string;
config?: Record<string, unknown>;
}
export declare function createSchematic(schematic?: Partial<Schematic>): Schematic;
export declare function moveSchematic(schematic: Schematic, moveId: string, parentId: string, sortBefore: string | null): Schematic;