Spaces:
Sleeping
Sleeping
Download src/libs/shared/infrastructure/postgres/repositories/IPgOrderRepository.ts from fouadkhalid123/asd: direct link, hf CLI and curl.
- Browser
- Download file 267 Bytes
-
https://huggingface.co/spaces/fouadkhalid123/asd/resolve/main/src/libs/shared/infrastructure/postgres/repositories/IPgOrderRepository.ts
- Command line
-
hf download hf://spaces/fouadkhalid123/asd/src/libs/shared/infrastructure/postgres/repositories/IPgOrderRepository.ts
-
curl -L -o IPgOrderRepository.ts https://huggingface.co/spaces/fouadkhalid123/asd/resolve/main/src/libs/shared/infrastructure/postgres/repositories/IPgOrderRepository.ts
267 Bytes
| import { Order, NewOrder } from "../schema/orders"; | |
| export interface IPgOrderRepository { | |
| upsert(input: NewOrder): Promise<Order>; | |
| findById(id: string): Promise<Order | null>; | |
| findByShopifyId(storeId: string, shopifyId: string): Promise<Order | null>; | |
| } | |