refactor!: update type

This commit is contained in:
Methapon2001 2024-06-28 09:38:35 +07:00
parent f183216a1f
commit d8c77b18b3
7 changed files with 17 additions and 17 deletions

View file

@ -8,7 +8,7 @@ export type ServiceAndProduct =
export interface Service {
productTypeId: string;
updatedAt: string;
updateBy: string;
updatedBy: string;
createdAt: string;
createdBy: string;
status: Status;
@ -37,7 +37,7 @@ export interface Work {
serviceId: string;
createdBy: string | null;
createdAt: string;
updateBy: string | null;
updatedBy: string | null;
updatedAt: string;
}
@ -69,7 +69,7 @@ export type AdditionalType = 'string' | 'number' | 'date' | 'array';
export interface ServiceById {
work: (Work & { productOnWork: ProductOnWork[] })[];
updatedAt: string;
updateBy: string;
updatedBy: string;
createdAt: string;
createdBy: string;
status: Status;
@ -85,7 +85,7 @@ export interface ServiceById {
export interface ProductOnWork {
product: ProductList;
updatedAt: string;
updateBy: string;
updatedBy: string;
createdAt: string;
createdBy: string;
productId: string;
@ -103,7 +103,7 @@ export interface WorkItems {
export interface ProductList {
remark: string;
updatedAt: string;
updateBy: string;
updatedBy: string;
createdAt: string;
createdBy: string;
productTypeId: string;
@ -156,7 +156,7 @@ export type ProductGroup = {
status: Status;
createdBy: string;
createdAt: string;
updateBy: string;
updatedBy: string;
updatedAt: string;
};