UNPKG

adpa-enterprise-framework-automation

Version:

Modular, standards-compliant Node.js/TypeScript automation framework for enterprise requirements, project, and data management. Provides CLI and API for BABOK v3, PMBOK 7th Edition, and DMBOK 2.0 (in progress). Production-ready Express.js API with TypeSpe

27 lines 785 B
/** * Simple Database Adapter * * Provides a simple file-based database for template storage * that can be shared between CLI and API processes. */ interface DatabaseConfig { dataDir: string; templatesFile: string; } export declare class SimpleDatabaseAdapter { private config; constructor(config?: Partial<DatabaseConfig>); private getTemplatesPath; private loadTemplates; private saveTemplates; query(sql: string, params?: any[]): Promise<any>; transaction<T>(callback: (trx: any) => Promise<T>): Promise<T>; private handleSelect; private handleInsert; private handleUpdate; private handleDelete; private generateId; } export declare const database: SimpleDatabaseAdapter; export {}; //# sourceMappingURL=database.d.ts.map