fix issue

This commit is contained in:
Marshal
2026-08-20 04:27:16 +00:00
parent a58157a7ee
commit 4adb53b486
7 changed files with 244 additions and 14 deletions

View File

@@ -802,6 +802,16 @@ export interface PricingBreakdown {
export type DocumentReviewStatus = "PENDING" | "APPROVED" | "QUERIED";
/** One entry of a clearance document's audit trail, oldest first. */
export interface ClearanceDocumentEvent {
type: "UPLOADED" | "RESUBMITTED" | "QUERIED" | "APPROVED";
at: string;
/** Actor display name (staff for reviews; null = the customer/unknown). */
byName: string | null;
/** Query reason, for QUERIED events. */
note: string | null;
}
/** One row of the clearance document grid (a required doc + its file + review). */
export interface ClearanceDocument {
fileKey: string;
@@ -819,6 +829,8 @@ export interface ClearanceDocument {
reviewedAt?: string | null;
/** Display name of the staff member who recorded the decision. */
reviewedByName?: string | null;
/** Full audit trail: uploads, re-submissions, queries, approval. */
history?: ClearanceDocumentEvent[];
}
/**