UNPKG

typescript-mysql-model

Version:

{ "version": "1.3.0", "name": "typescript-mysql-model", "description": "", "main": "index.js", "types": "index.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "

14 lines (13 loc) 463 B
import { IDatabaseSchema, IDatabaseTable } from "./mysql-database-definition"; import { TableClass } from "./table-class"; export declare class GraphQlBuilder { private schema; private matcher; constructor(schema: IDatabaseSchema); private compiledTemplate; private readonly mysqlTypes; renderTs(table: IDatabaseTable, tableClass: TableClass): string; private importTableStatement; private toGraphType; private buildTypeRow; }