EN

@core / pricing

1.0.0 ▾
verifiedMIT
GitHub

Pricing from cost: markup rules by category/supplier/product, charm rounding, margin alerts and EU 30-day price history

Code6 filesContext~485 tokensscan passed

The exact tree that will be injected, after .genpmignore. Pinned to

src/lib/pricing/index.tsread-only · 6aa4077
// @core/pricing — API pública. Importa desde aquí.
export { priceRulesAdminResource } from './admin.ts';
export {
  applyRule,
  honestCompareAt,
  lowMarginVariants,
  marginBps,
  type PriceQuote,
  PriceRuleInput,
  type PricingContext,
  priceFromCost,
  priorPrice,
  repriceProduct,
  ruleFor,
  setVariantPrice,
  upsertPriceRule,
} from './pricing.ts';
export { type PriceRule, priceHistory, priceRules } from './schema.ts';

Report @core/pricing

Sign in with GitHub to report a package.