diff options
Diffstat (limited to 'src/hooks/useAPIClient.ts')
-rw-r--r-- | src/hooks/useAPIClient.ts | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/hooks/useAPIClient.ts b/src/hooks/useAPIClient.ts index b523d1f..e992b42 100644 --- a/src/hooks/useAPIClient.ts +++ b/src/hooks/useAPIClient.ts @@ -28,28 +28,6 @@ const registerServiceHooks = <Item = any>(service: string): void => { hooks[service] = { useItem, useList }; }; -// Products -export interface Product { - _id: string; - name: string; - description: string; - price: number; - quantity: number; - specs: any; - createdAt: string; - updatedAt: string; -} - -// Contractors -export interface Contractor { - _id: string; - name: string; - fullName: string; - vatId: string; - type: string; - debt: number; -} - hooks.account = { useList: () => { const { data: transfers } = useSWR('/transfers', fetcher); |