UNPKG

dataweave

Version:

AI-assisted CLI for modern data pipelines with DBT, Dagster, and Supabase integration

38 lines 1.08 kB
export interface DbtModelOptions { name: string; sql?: string; description?: string; materializedAs?: 'table' | 'view' | 'incremental' | 'ephemeral'; columns?: DbtColumn[]; tests?: string[]; tags?: string[]; } export interface DbtColumn { name: string; description?: string; type?: string; tests?: string[]; } export interface DbtConfig { projectPath: string; profilesDir: string; modelsDir: string; } export declare class DbtManager { private config; constructor(config: DbtConfig); generateModel(options: DbtModelOptions): Promise<void>; runModel(modelName?: string): Promise<void>; testModel(modelName?: string): Promise<void>; compileModel(modelName?: string): Promise<void>; generateDocs(): Promise<void>; introspectDatabase(): Promise<any>; private getModelDirectory; private generateDefaultSql; private addModelConfig; private updateSchema; private parseBasicYaml; private generateBasicYaml; private executeDbtCommand; } //# sourceMappingURL=index.d.ts.map