@dineug/erd-editor
Version:
Entity-Relationship Diagram Editor
8 lines (7 loc) • 569 B
TypeScript
import { EntityMeta, Memo, Point, Settings, Table } from '../internal-types';
export declare const nextZIndex: (tables: Table[], memos: Memo[]) => number;
export declare function nextPoint({ width, height, zoomLevel, scrollLeft, scrollTop }: Settings, tables: Table[], memos: Memo[]): Point;
export declare const toList: <T>(ids: string[], entities: Record<string, T>) => Array<T>;
export declare function getDefaultEntityMeta(): EntityMeta;
export declare function safeRange(a: number, b: number): number[];
export declare function pascalCase(value?: string): string;