Kaizen
Browse modulesCheckoutcheckout/serverFunctions

Function: assertPricingSchemaGenerated()

function assertPricingSchemaGenerated(repos: CheckoutRepositories): void;

Defined in: server/checkout/assert-schema.ts:73

Fail fast if the consumer's Prisma client lacks the rules-engine models the pricing module reads through. Only required when the consumer's priceCart uses taproot's pricing engine — consumers that supply their own pricing skip this assertion entirely.

Parameters

ParameterType
reposCheckoutRepositories

Returns

void

On this page