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
46 lines • 1.43 kB
TypeScript
import mongoose, { Document } from 'mongoose';
export interface IDocumentFeedback extends Document {
_id: string;
projectId: string;
documentType: string;
documentPath: string;
feedbackType: 'quality' | 'accuracy' | 'completeness' | 'clarity' | 'compliance' | 'suggestion';
rating: number;
title: string;
description: string;
suggestedImprovement?: string;
priority: 'low' | 'medium' | 'high' | 'critical';
status: 'open' | 'in-review' | 'implemented' | 'rejected' | 'closed';
submittedBy: string;
submittedByName: string;
submittedAt: Date;
reviewedBy?: string;
reviewedAt?: Date;
implementedAt?: Date;
tags: string[];
category: string;
aiPromptImpact?: {
affectedPrompts: string[];
suggestedPromptChanges: string[];
};
qualityMetrics?: {
beforeScore?: number;
afterScore?: number;
improvementMeasured?: boolean;
};
relatedFeedback?: string[];
attachments?: {
fileName: string;
filePath: string;
fileType: string;
uploadedAt: Date;
}[];
createdAt: Date;
updatedAt: Date;
}
export declare const DocumentFeedback: mongoose.Model<IDocumentFeedback, {}, {}, {}, mongoose.Document<unknown, {}, IDocumentFeedback, {}, {}> & IDocumentFeedback & Required<{
_id: string;
}> & {
__v: number;
}, any>;
//# sourceMappingURL=DocumentFeedback.d.ts.map