690513:0920 Refactor Workflow module: Lint error #01
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@
|
||||
# =========================
|
||||
FROM node:24-alpine AS deps
|
||||
|
||||
RUN corepack enable && corepack prepare pnpm@10.32.1 --activate
|
||||
RUN corepack enable && corepack prepare pnpm@10.33.0 --activate
|
||||
|
||||
WORKDIR /w
|
||||
|
||||
|
||||
@@ -7,11 +7,11 @@ import { CheckCircle2, Clock, SendHorizonal, Users } from 'lucide-react';
|
||||
import { Badge } from '@/components/ui/badge';
|
||||
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card';
|
||||
|
||||
type DistributionStatus = 'PENDING' | 'PROCESSING' | 'COMPLETED' | 'FAILED';
|
||||
type DistributionStatusValue = 'PENDING' | 'PROCESSING' | 'COMPLETED' | 'FAILED';
|
||||
|
||||
interface DistributionRecord {
|
||||
publicId: string;
|
||||
status: DistributionStatus;
|
||||
status: DistributionStatusValue;
|
||||
transmittalCount: number;
|
||||
recipientCount: number;
|
||||
processedAt?: string;
|
||||
@@ -25,7 +25,7 @@ interface DistributionStatusProps {
|
||||
}
|
||||
|
||||
const STATUS_CONFIG: Record<
|
||||
DistributionStatus,
|
||||
DistributionStatusValue,
|
||||
{ label: string; variant: 'default' | 'secondary' | 'destructive' | 'outline'; icon: React.ElementType }
|
||||
> = {
|
||||
PENDING: { label: 'Queued', variant: 'outline', icon: Clock },
|
||||
|
||||
@@ -11,7 +11,6 @@ import {
|
||||
SelectTrigger,
|
||||
SelectValue,
|
||||
} from '@/components/ui/select';
|
||||
import { Badge } from '@/components/ui/badge';
|
||||
import { useResponseCodesByDocType } from '@/hooks/use-response-codes';
|
||||
import { ResponseCode } from '@/types/review-team';
|
||||
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
{
|
||||
"name": "lcbp3-frontend",
|
||||
"version": "1.8.1",
|
||||
"packageManager": "pnpm@10.32.1+sha512.a706938f0e89ac1456b6563eab4edf1d1faf3368d1191fc5c59790e96dc918e4456ab2e67d613de1043d2e8c81f87303e6b40d4ffeca9df15ef1ad567348f2be",
|
||||
"packageManager": "pnpm@10.33.0",
|
||||
"engines": {
|
||||
"node": ">=24.0.0"
|
||||
"node": ">=24.0.0",
|
||||
"pnpm": ">=10.33.0"
|
||||
},
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user