feat: reverse tree convert

This commit is contained in:
Methapon Metanipat 2024-10-08 17:32:28 +07:00
parent d5c8ce85b6
commit 13cf2da9f9
3 changed files with 147 additions and 33 deletions

View file

@ -149,6 +149,13 @@ type ServiceRelation = {
createdByUserId: string;
updatedAt: string;
updatedByUserId: string;
work: (WorkRelation & {
productOnWork: {
order: number;
product: ProductRelation;
}[];
})[];
};
export type QuotationStats = {