UNPKG

sql-code-generator

Version:

Generate code from your SQL schema and queries for type safety and development speed.

11 lines (10 loc) 347 B
import { QueryDeclaration } from '../../../../domain'; export declare enum DeclarationType { QUERY = "QUERY", RESOURCE = "RESOURCE\"," } export declare const extractDeclarationsFromGlobedFile: ({ rootDir, relativePath, type, }: { rootDir: string; relativePath: string; type: DeclarationType; }) => Promise<QueryDeclaration[]>;