Spaces:
Sleeping

asd / src /libs /shared /infrastructure /postgres /repositories /IPgOrderRepository.ts
GitHub Actions
deploy: clean snapshot
7f81110
Raw History Blame Contribute Delete
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>;
}