260326:1347 Fixing Refactor ADR-019 Naming convention uuid #01
CI / CD Pipeline / build (push) Failing after 17m29s
CI / CD Pipeline / deploy (push) Has been skipped

This commit is contained in:
admin
2026-03-26 13:47:07 +07:00
parent 978d66e49e
commit 1aff83214f
34 changed files with 217 additions and 222 deletions
@@ -37,7 +37,7 @@ export default function TagsPage() {
accessorKey: 'tag_name',
header: 'Tag Name',
cell: ({ row }) => {
const color = String(row.original.color_code || 'default');
const color = String(row.original.colorCode || 'default');
const isHex = color.startsWith('#');
return (
<div className="flex items-center gap-2">
@@ -45,7 +45,7 @@ export default function TagsPage() {
className="w-3 h-3 rounded-full border border-border"
style={{ backgroundColor: isHex ? color : color === 'default' ? '#e2e8f0' : color }}
/>
{String(row.original.tag_name)}
{String(row.original.tagName)}
</div>
);
},
@@ -97,13 +97,13 @@ export default function TagsPage() {
required: false,
},
{
name: 'tag_name',
name: 'tagName',
label: 'Tag Name',
type: 'text',
required: true,
},
{
name: 'color_code',
name: 'colorCode',
label: 'Color Code (Hex or Name)',
type: 'text',
required: false,
@@ -52,13 +52,13 @@ export default function WorkflowEditPage() {
try {
const dto: CreateWorkflowDefinitionDto = {
workflow_code: workflowData.workflowType || 'CORRESPONDENCE',
workflowCode: workflowData.workflowType || 'CORRESPONDENCE',
dsl: {
workflowName: workflowData.workflowName,
description: workflowData.description,
dslDefinition: workflowData.dslDefinition,
},
is_active: workflowData.isActive,
isActive: workflowData.isActive,
};
if (id) {
@@ -124,13 +124,13 @@ export default function CirculationDetailPage() {
<CardContent className="grid gap-4 md:grid-cols-2">
<div>
<p className="text-sm text-muted-foreground">Organization</p>
<p className="font-medium">{circulation.organization?.organization_name || '-'}</p>
<p className="font-medium">{circulation.organization?.organizationName || '-'}</p>
</div>
<div>
<p className="text-sm text-muted-foreground">Created By</p>
<p className="font-medium">
{circulation.creator
? `${circulation.creator.first_name || ''} ${circulation.creator.last_name || ''}`.trim() ||
? `${circulation.creator.firstName || ''} ${circulation.creator.lastName || ''}`.trim() ||
circulation.creator.username
: '-'}
</p>
@@ -146,7 +146,7 @@ export default function CirculationDetailPage() {
href={`/correspondences/${circulation.correspondence.uuid}`}
className="font-medium text-primary hover:underline"
>
{circulation.correspondence.correspondence_number}
{circulation.correspondence.correspondenceNumber}
</Link>
</div>
)}
@@ -166,13 +166,13 @@ export default function CirculationDetailPage() {
<div className="flex items-center gap-3">
<Avatar>
<AvatarFallback>
{getInitials(routing.assignee?.first_name, routing.assignee?.last_name)}
{getInitials(routing.assignee?.firstName, routing.assignee?.lastName)}
</AvatarFallback>
</Avatar>
<div>
<p className="font-medium">
{routing.assignee
? `${routing.assignee.first_name || ''} ${routing.assignee.last_name || ''}`.trim() ||
? `${routing.assignee.firstName || ''} ${routing.assignee.lastName || ''}`.trim() ||
routing.assignee.username
: 'Unassigned'}
</p>