Kaizen
Browse modulesPricingpricing/sharedSchemas and constants

Variable: PRICING\_SECTION\_PREFIXES

const PRICING_SECTION_PREFIXES: {
  line_items: "line_items.*.";
  order: "order.";
};

Defined in: shared/pricing/scope-mapping.ts:80

Path prefix applied to each section when flattening a PricingScopeMapping into the engine's flat Record<scope_type, fullPath>. Array-typed roots use a .*. segment so the engine traverses every element; scalar (object) roots use a plain . segment.

Exported so consumer mappings that target the same standard sections (line_items, order) can reuse it; consumers extending the context with additional sections supply their own prefix map.

Type Declaration

line_items

readonly line_items: "line_items.*." = "line_items.*.";

order

readonly order: "order." = "order.";

On this page