Skip to content

Commit ce1d587

Browse files
committed
chore: remove duplicated Gendoc zod schema (type 0 and 2)
1 parent d9bf999 commit ce1d587

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

apps/web/src/interface/document/document-type-two-zod.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
import { z } from 'zod';
2-
import { FilingType } from '@repo/shared';
32
import { BudgetSchema } from './document-type-zero-zod';
43

54
export const DocumentTypeTwoSchema = z.object({
6-
projectCode: z.string(),
7-
projectNameTH: z.string(),
85
projectNameEN: z.string(),
9-
filingType: z.nativeEnum(FilingType),
10-
filingCode: z.string(),
11-
filingName: z.string(),
126
department: z.string().nullable(),
137
startDate: z.string(),
148
endDate: z.string().optional(),

apps/web/src/interface/document/document-type-zero-zod.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import {
33
ObjectiveType,
44
ActivityType,
55
GraduateAttributeType,
6-
FilingType,
76
ManagementRole,
87
TQFType,
98
SDGType,
@@ -134,12 +133,7 @@ export const TQFSchema = z.object({
134133
});
135134

136135
export const DocumentTypeZeroSchema = z.object({
137-
projectCode: z.string(),
138-
projectNameTH: z.string(),
139136
projectNameEN: z.string(),
140-
filingType: z.nativeEnum(FilingType),
141-
filingCode: z.string(),
142-
filingName: z.string(),
143137
department: z.string().nullable(),
144138
startDate: z.string(),
145139
endDate: z.string().optional(),

0 commit comments

Comments
 (0)