@mohasinac/appkit 4.63.2 → 4.63.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/.build-stamp.json +3 -3
  2. package/dist/_internal/server/features/promotions/adapters.d.ts +25 -0
  3. package/dist/_internal/server/features/promotions/adapters.js +43 -0
  4. package/dist/_internal/server/features/promotions/data.d.ts +26 -0
  5. package/dist/_internal/server/features/promotions/data.js +45 -0
  6. package/dist/_internal/server/features/promotions/index.d.ts +2 -1
  7. package/dist/_internal/server/features/promotions/index.js +2 -1
  8. package/dist/_internal/server/jobs/core/triggerEventRaffle.js +45 -14
  9. package/dist/constants/field-names.d.ts +4 -0
  10. package/dist/constants/field-names.js +4 -0
  11. package/dist/features/account/components/UserSidebar.js +1 -1
  12. package/dist/features/admin/components/AdminBlogEditorView.js +10 -2
  13. package/dist/features/blog/schemas/blog-form.d.ts +3 -0
  14. package/dist/features/blog/schemas/blog-form.js +14 -0
  15. package/dist/features/blog/schemas/firestore.d.ts +17 -0
  16. package/dist/features/blog/schemas/firestore.js +1 -0
  17. package/dist/features/blog/schemas/index.d.ts +6 -0
  18. package/dist/features/blog/schemas/index.js +3 -0
  19. package/dist/features/blog/types/index.d.ts +2 -0
  20. package/dist/features/events/components/AdminEventEditorView.js +64 -9
  21. package/dist/features/events/components/EventOfferCard.js +3 -18
  22. package/dist/features/events/components/EventRaffleWinnerView.d.ts +6 -0
  23. package/dist/features/events/components/EventRaffleWinnerView.js +11 -1
  24. package/dist/features/events/schemas/event-form.d.ts +10 -0
  25. package/dist/features/events/schemas/event-form.js +19 -0
  26. package/dist/features/events/schemas/firestore.d.ts +68 -0
  27. package/dist/features/events/schemas/firestore.js +25 -0
  28. package/dist/features/events/schemas/index.d.ts +7 -0
  29. package/dist/features/events/schemas/index.js +5 -0
  30. package/dist/features/events/types/index.d.ts +4 -0
  31. package/dist/features/promotions/components/AttachedCouponsSection.d.ts +30 -0
  32. package/dist/features/promotions/components/AttachedCouponsSection.js +99 -0
  33. package/dist/features/promotions/components/CouponCodeCopyRow.d.ts +19 -0
  34. package/dist/features/promotions/components/CouponCodeCopyRow.js +39 -0
  35. package/dist/features/promotions/components/index.d.ts +4 -0
  36. package/dist/features/promotions/components/index.js +2 -0
  37. package/dist/features/promotions/constants/attached-coupons.d.ts +55 -0
  38. package/dist/features/promotions/constants/attached-coupons.js +24 -0
  39. package/dist/features/promotions/repository/coupons.repository.d.ts +20 -0
  40. package/dist/features/promotions/repository/coupons.repository.js +39 -0
  41. package/dist/features/promotions/schemas/attached-coupons.d.ts +39 -0
  42. package/dist/features/promotions/schemas/attached-coupons.js +66 -0
  43. package/dist/features/shell/SectionForm.js +47 -2
  44. package/dist/schemas/registry.d.ts +16 -0
  45. package/dist/server-entry.d.ts +1 -0
  46. package/dist/server-entry.js +2 -0
  47. package/dist/server.d.ts +1 -0
  48. package/dist/server.js +4 -0
  49. package/package.json +1 -1
package/dist/server.js CHANGED
@@ -1402,6 +1402,10 @@ export { getBrandForDetail } from "./_internal/server/features/brands/index.js";
1402
1402
  export { getFranchiseForDetail, listActiveFranchises, renderFranchiseOg, } from "./_internal/server/features/franchises/index.js";
1403
1403
  export { getBlogPostForDetail } from "./_internal/server/features/blog/index.js";
1404
1404
  export { getEventForDetail } from "./_internal/server/features/events/index.js";
1405
+ // Attached promotional coupons — shared by the event detail page and the blog
1406
+ // post page, which is why it lives in its own feature rather than inside
1407
+ // either one.
1408
+ export { getAttachedCoupons, toAttachedCoupon } from "./_internal/server/features/promotions/index.js";
1405
1409
  export { getSublistingCategoryForDetail } from "./_internal/server/features/sublisting-categories/index.js";
1406
1410
  export { getCategoryForDetail, listRootCategories, listFeaturedCategories, listMenuCategories, getCategoryTree, listSitemapCategories } from "./_internal/server/features/categories/index.js";
1407
1411
  // OG image renderers — high-level (renderXOg) + low-level primitive (renderXOgImage)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mohasinac/appkit",
3
- "version": "4.63.2",
3
+ "version": "4.63.4",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"