Function: assertCheckoutSchemaGenerated()
function assertCheckoutSchemaGenerated(repos: CheckoutRepositories): void;Defined in: server/checkout/assert-schema.ts:54
Fail fast if the consumer's Prisma client lacks the checkout models this
package needs. Probes only the cart/order/payment tables — the pricing
(rules-engine) tables are asserted separately by
assertPricingSchemaGenerated so consumers that bring their own pricing
never need them.
Parameters
| Parameter | Type |
|---|---|
repos | CheckoutRepositories |
Returns
void