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
31 lines • 915 B
TypeScript
/**
* Enhanced Template Repository
*
* Provides unified access to both static (legacy) and database-backed templates
* with full CRUD operations, search, and PMBOK compliance validation.
*/
import { ITemplate } from '../models/Template.model';
export declare class TemplateRepository {
constructor();
/**
* Create a new template
*/
createTemplate(data: Partial<ITemplate>): Promise<ITemplate>;
/**
* Get a template by ID
*/
getTemplateById(id: string): Promise<ITemplate | null>;
/**
* Get all templates (optionally filter by system/user)
*/
getAllTemplates(): Promise<ITemplate[]>;
/**
* Search templates with filtering and pagination
*/
searchTemplates(query: any): Promise<ITemplate[]>;
/**
* Delete a template by ID
*/
deleteTemplate(id: string): Promise<void>;
}
//# sourceMappingURL=TemplateRepository.d.ts.map