fix: แก้ type

This commit is contained in:
Net 2024-06-18 15:40:52 +07:00
parent c65e2b535d
commit 87f0973186

View file

@ -52,15 +52,16 @@ type AdditionalType = 'string' | 'number' | 'boolean' | Date;
// Product // Product
export interface ServiceById { export interface ServiceById {
work: Work & { productOnWork: ProductOnWork[] }[]; work: (Work & { productOnWork: ProductOnWork[] })[];
updatedAt: string; updatedAt: string;
updateBy: string; updateBy: string;
createdAt: string; createdAt: string;
createdBy: string; createdBy: string;
status: Status; status: Status;
attributes: string; attributes: Attributes;
detail: string;
name: string; name: string;
order: number; code: string;
id: string; id: string;
imageUrl: 'string'; imageUrl: 'string';
} }