260322:1648 Correct Coresspondence / Doing RFA / Correct CI
CI Pipeline / build (push) Failing after 12m41s
Build and Deploy / deploy (push) Failing after 2m44s

This commit is contained in:
admin
2026-03-22 16:48:12 +07:00
parent e5deedb42e
commit 11984bfa29
683 changed files with 105251 additions and 29068 deletions
+12 -12
View File
@@ -1,24 +1,24 @@
import { Drawing } from "@/types/drawing";
import { Drawing } from '@/types/drawing';
// Mock Data
const mockDrawings: Drawing[] = [
{
drawingId: 1,
drawingNumber: "S-201-A",
title: "Structural Foundation Plan",
discipline: "Structural",
status: "APPROVED",
revision: "A",
drawingNumber: 'S-201-A',
title: 'Structural Foundation Plan',
discipline: 'Structural',
status: 'APPROVED',
revision: 'A',
createdAt: new Date(Date.now() - 1000 * 60 * 60 * 24 * 5).toISOString(),
updatedAt: new Date(Date.now() - 1000 * 60 * 60 * 24).toISOString(),
},
{
drawingId: 2,
drawingNumber: "A-101-B",
title: "Architectural Floor Plan - Level 1",
discipline: "Architectural",
status: "IN_REVIEW",
revision: "B",
drawingNumber: 'A-101-B',
title: 'Architectural Floor Plan - Level 1',
discipline: 'Architectural',
status: 'IN_REVIEW',
revision: 'B',
createdAt: new Date(Date.now() - 1000 * 60 * 60 * 24 * 3).toISOString(),
updatedAt: new Date(Date.now() - 1000 * 60 * 60 * 2).toISOString(),
},
@@ -35,7 +35,7 @@ export const drawingApi = {
return mockDrawings.find((d) => d.drawingId === id);
},
getByContract: async (contractId: number): Promise<{ data: Drawing[] }> => {
getByContract: async (_contractId: number): Promise<{ data: Drawing[] }> => {
await new Promise((resolve) => setTimeout(resolve, 400));
// Mock: return all drawings for any contract
return { data: mockDrawings };