UNPKG

quick-erd

Version:

quick and easy text-based ERD + code generator for migration, query, typescript types and orm entity

18 lines (17 loc) 765 B
import { Table } from './../core/ast'; import { Field } from '../core/ast'; import { DBClient } from '../utils/cli'; export declare function textToSpring(dbClient: DBClient, text: string): void; export declare function setupDirectories(package_name_list: string[]): SpringBootApplication; export declare function initPackage(app: SpringBootApplication, name: string): void; export declare function findDir(dirname: string): string; export declare function findSrcDir(): string; export type SpringBootApplication = { dir: string; package: string; }; export declare function findSpringBootApplication(dir: string): SpringBootApplication | undefined; export declare function toJavaType(table: Table, field: Field): { Class: string; import?: string; };