260312:0932 20260312:0930 n8n workflow, backend and frontend MOD.
Build and Deploy / deploy (push) Failing after 3m34s

This commit is contained in:
admin
2026-03-12 09:32:46 +07:00
parent 9c0978f3fa
commit 4288f89d8b
15 changed files with 1091 additions and 1010 deletions
+47
View File
@@ -0,0 +1,47 @@
export enum MigrationReviewStatus {
PENDING = 'PENDING',
APPROVED = 'APPROVED',
REJECTED = 'REJECTED',
}
export interface MigrationReviewQueueItem {
id: number;
documentNumber: string;
title?: string;
originalTitle?: string;
aiSuggestedCategory?: string;
aiConfidence?: number;
aiIssues?: any;
reviewReason?: string;
status: MigrationReviewStatus;
reviewedBy?: string;
reviewedAt?: string;
createdAt: string;
}
export enum MigrationErrorType {
FILE_NOT_FOUND = 'FILE_NOT_FOUND',
AI_PARSE_ERROR = 'AI_PARSE_ERROR',
API_ERROR = 'API_ERROR',
DB_ERROR = 'DB_ERROR',
SECURITY = 'SECURITY',
UNKNOWN = 'UNKNOWN',
}
export interface MigrationErrorItem {
id: number;
batchId?: string;
documentNumber?: string;
errorType?: MigrationErrorType;
errorMessage?: string;
rawAiResponse?: string;
createdAt: string;
}
export interface PaginatedResponse<T> {
items: T[];
total: number;
page: number;
limit: number;
totalPages: number;
}