multivendor-admin-offers
v0.0.4
Published
Unified Admin Offers hub (coupons, platform sales, promotions) for multivendor SaaS admin UI
Maintainers
Readme
multivendor-admin-offers
Unified Admin Offers hub: coupons, platform sales, and automatic promotions in one installable addon.
Install
npm install multivendor-admin-offers
# or local:
# "multivendor-admin-offers": "file:../../multivendor-saas-components/multivendor-admin-offers"Host must call setAdminHostContext() with useSettings and usePermissions, then boot addons (Vite multivendorAdminAddon / register).
Follow-ups
- TICKET-OFFERS-INT: Integration tests for offer creation paths — automated coverage for coupon / platform-sale / promotion create (and key edit) against API mocks or test backend. Money-path tests are intentionally out of this package’s vitest suite (RBAC/redirects only). Open/link the real ticket ID here before cutover merge.
- Legacy redirects
/coupons|/sales|/promotions→ Offers tabs: remove after 2026-11-05.
Scripts
pnpm build
pnpm test