longcelot-sheet-db
Version:
Google Sheets-backed staging database adapter for Node.js with schema-first design
14 lines • 587 B
TypeScript
import { TableSchema } from '../../schema/types';
export interface ErDiagramOptions {
output?: string;
yes?: boolean;
}
export declare const DEFAULT_ER_DIAGRAM_FILENAME = "ER-DIAGRAM.md";
/**
* Renders `erDiagram` body only (no ```mermaid fences) so it can be embedded in a
* Markdown file or tested directly against its text output.
*/
export declare function generateMermaidERDiagram(schemas: TableSchema[]): string;
export declare function erdiagramCommand(options?: ErDiagramOptions): Promise<void>;
export default erdiagramCommand;
//# sourceMappingURL=erdiagram.d.ts.map