Models mirror Hiboutik entities (categories tree, brands, suppliers, products and their versions, customers) plus addresses and orders for the upcoming sync. Every synced model is matched with Hiboutik through a unique hiboutikId. The generated client is ignored by git and env files other than .env.example are ignored.
5 lines
213 B
TypeScript
5 lines
213 B
TypeScript
import { Prisma } from '../generated/client';
|
|
|
|
/** Product loaded with its versions (`include: { versions: true }`). */
|
|
export type ProductWithVersions = Prisma.ProductGetPayload<{ include: { versions: true } }>;
|