/** * Generator types and interfaces */ import type { ITableDefinition, IFunctionDefinition, ITriggerDefinition } from './database'; export interface IObjectFilterOptions { schemaOnly?: boolean; procsOnly?: boolean; triggersOnly?: boolean; } export interface IGeneratorOptions extends IObjectFilterOptions { outputDir: string; stdout?: boolean; } export interface IGeneratorResult { success: boolean; files?: IGeneratedFile[]; error?: string; } export interface IGeneratedFile { name: string; content: string; path?: string; } export type TGeneratorDataType = ITableDefinition | IFunctionDefinition | ITriggerDefinition; export type TGeneratorOutputFormat = 'sql' | 'json' | 'yaml'; //# sourceMappingURL=generator.d.ts.map