ZH
测试版翻译

@core / pricing

1.0.0 ▾
已验证MIT
GitHub

基于成本定价:按分类/供应商/商品的加价规则、.99 取整、毛利预警和欧盟 30 天价格历史

代码6 个文件上下文约 485 个 token扫描通过

应用 .genpmignore 后将被注入的确切目录树。固定于

src/lib/pricing/index.ts只读 · 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';

举报 @core/pricing

使用 GitHub 登录后才能举报包。