EN

@core / discounts

1.0.1 ▾
verifiedMIT
GitHub

Discount codes and automatic discounts: percent, fixed, free shipping, product/category scope, usage and first-order limits

Code6 filesContext~648 tokensscan passed

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

src/lib/discounts/index.tsread-only · 6b23d34
// @core/discounts — API pública. Al importarlo registra sus pasos en @core/cart y el contador de usos en @core/orders.
export { discountsAdminResource } from './admin.ts';
export { DiscountInput, discountsStep, freeShippingStep, recordRedemptions, registerDiscounts, upsertDiscount } from './discounts.ts';
export { type Discount, discountRedemptions, discounts } from './schema.ts';

Report @core/discounts

Sign in with GitHub to report a package.