690319:2254 Update Backend & Frontend dep. #02
Build and Deploy / deploy (push) Failing after 11m29s

This commit is contained in:
2026-03-19 22:54:49 +07:00
parent 1e6735978d
commit 29b5b42f78
21 changed files with 710 additions and 196 deletions
@@ -0,0 +1,8 @@
'use client';
import { redirect } from 'next/navigation';
export default function AuditLogsPage() {
// Redirect to the correct audit-logs location
redirect('/admin/monitoring/audit-logs');
}
@@ -0,0 +1,8 @@
'use client';
import { redirect } from 'next/navigation';
export default function NumberingEditPage() {
// Redirect to the correct numbering edit location
redirect('/admin/doc-control/numbering/[id]/edit');
}
@@ -0,0 +1,8 @@
'use client';
import { redirect } from 'next/navigation';
export default function NumberingNewPage() {
// Redirect to the correct numbering new location
redirect('/admin/doc-control/numbering/new');
}
@@ -0,0 +1,8 @@
'use client';
import { redirect } from 'next/navigation';
export default function NumberingPage() {
// Redirect to the correct numbering location
redirect('/admin/doc-control/numbering');
}
@@ -0,0 +1,8 @@
'use client';
import { redirect } from 'next/navigation';
export default function OrganizationsPage() {
// Redirect to the correct organizations location
redirect('/admin/access-control/organizations');
}
@@ -0,0 +1,8 @@
'use client';
import { redirect } from 'next/navigation';
export default function UsersPage() {
// Redirect to the correct users location
redirect('/admin/access-control/users');
}
@@ -0,0 +1,8 @@
'use client';
import { redirect } from 'next/navigation';
export default function WorkflowEditPage() {
// Redirect to the correct workflows edit location
redirect('/admin/doc-control/workflows/[id]/edit');
}
@@ -0,0 +1,8 @@
'use client';
import { redirect } from 'next/navigation';
export default function WorkflowNewPage() {
// Redirect to the correct workflows new location
redirect('/admin/doc-control/workflows/new');
}
@@ -0,0 +1,8 @@
'use client';
import { redirect } from 'next/navigation';
export default function WorkflowsPage() {
// Redirect to the correct workflows location
redirect('/admin/doc-control/workflows');
}
@@ -71,7 +71,7 @@ export function TemplateEditor({
// Dynamic context based on selection (optional visual enhancement)
if (v.key === '{TYPE}' && typeId) {
const t = correspondenceTypes.find(ct => ct.id.toString() === typeId);
const t = (correspondenceTypes as any[]).find((ct: any) => ct.id?.toString() === typeId);
if (t) replacement = t.typeCode;
}
+3 -3
View File
@@ -15,7 +15,7 @@
"test:debug": "vitest --inspect-brk --no-file-parallelism"
},
"dependencies": {
"@hookform/resolvers": "^5.2.2",
"@hookform/resolvers": "3.9.0",
"@monaco-editor/react": "^4.7.0",
"@radix-ui/react-alert-dialog": "^1.1.15",
"@radix-ui/react-avatar": "^1.1.11",
@@ -53,7 +53,7 @@
"tailwind-merge": "^3.5.0",
"tailwindcss-animate": "^1.0.7",
"uuid": "^13.0.0",
"zod": "^4.3.6",
"zod": "4.3.6",
"zustand": "^5.0.12"
},
"devDependencies": {
@@ -78,7 +78,7 @@
"globals": "^17.4.0",
"jsdom": "^29.0.0",
"postcss": "^8.5.8",
"tailwindcss": "^4.2.2",
"tailwindcss": "3.4.3",
"typescript": "^5.9.3",
"vitest": "^4.1.0"
}
+1
View File
@@ -2,6 +2,7 @@
const config = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};