Fixed build issues

This commit is contained in:
AmirReza Jamali
2025-09-09 13:32:58 +03:30
parent d73a64fe52
commit 83bd4394fc
18 changed files with 139 additions and 80 deletions
@@ -49,6 +49,10 @@ export const customersService = {
throw error;
}
},
customerDetails: async (id: string) => {
const response = await api.get(API_ENDPOINTS.CUSTOMERS.DETAILS(id));
return response.data;
},
assignCompanyToCustomer: async ({
credentials,
id,
+1 -1
View File
@@ -24,6 +24,6 @@ const TenderSchema = z.object({
title: z.string(),
});
export const TendersResponse = z.object({
companies: z.array(TenderSchema).or(z.null()),
tenders: z.array(TenderSchema).or(z.null()),
});
export type TTenderResponse = z.infer<typeof TendersResponse>;