UNPKG

@dineug/erd-editor

Version:

Entity-Relationship Diagram Editor

6 lines (5 loc) 427 B
import { RootState } from '../../engine/state'; import { FormatIndexOptions, FormatTableOptions } from './utils'; export declare function createSchema(state: RootState): string; export declare function formatTable(state: RootState, { buffer, table }: FormatTableOptions): void; export declare function formatIndex({ settings: { bracketType }, collections }: RootState, { buffer, index, indexNames }: FormatIndexOptions): void;