@infuro/cms-core 1.0.50 → 1.0.52

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 (31) hide show
  1. package/dist/admin.cjs +843 -402
  2. package/dist/admin.d.cts +13 -1
  3. package/dist/admin.d.ts +13 -1
  4. package/dist/admin.js +843 -402
  5. package/dist/api.cjs +35 -35
  6. package/dist/api.js +4 -4
  7. package/dist/auth.cjs +44 -43
  8. package/dist/auth.d.cts +2 -3
  9. package/dist/auth.d.ts +2 -3
  10. package/dist/auth.js +2 -1
  11. package/dist/{chunk-JCMOOPNX.cjs → chunk-3BPD5NGU.cjs} +210 -90
  12. package/dist/chunk-7L6KWI7S.cjs +212 -0
  13. package/dist/{chunk-YV5PK4JW.cjs → chunk-BC22I7C7.cjs} +45 -247
  14. package/dist/{chunk-WRKV6MHB.js → chunk-BNKZNLEX.js} +2 -196
  15. package/dist/{chunk-IPDHT2UV.js → chunk-CTXBYO2J.js} +94 -104
  16. package/dist/{chunk-UUWAUHUW.cjs → chunk-JN4AFHZ4.cjs} +94 -105
  17. package/dist/{chunk-JE22VP6S.js → chunk-MXIWUFBP.js} +1 -1
  18. package/dist/{chunk-LT2WOPKA.js → chunk-UO5Q5RXB.js} +181 -61
  19. package/dist/{chunk-KOTXDSQB.cjs → chunk-UQWZUZ5X.cjs} +1 -1
  20. package/dist/chunk-WUQAOTHA.js +203 -0
  21. package/dist/{emit-order-notification-trigger-6XX7LSC4.js → emit-order-notification-trigger-HZQPPSFB.js} +1 -1
  22. package/dist/{emit-order-notification-trigger-NASG7ZEO.cjs → emit-order-notification-trigger-NR3VN6C6.cjs} +3 -3
  23. package/dist/index.cjs +334 -299
  24. package/dist/index.d.cts +6 -4
  25. package/dist/index.d.ts +6 -4
  26. package/dist/index.js +59 -24
  27. package/dist/middleware.cjs +15 -0
  28. package/dist/middleware.js +2 -0
  29. package/dist/{order-notification-dispatcher-3TA4ETYJ.js → order-notification-dispatcher-AT4IFAGL.js} +2 -2
  30. package/dist/{order-notification-dispatcher-ZEAZ5SHV.cjs → order-notification-dispatcher-YBAWDOIO.cjs} +5 -5
  31. package/package.json +6 -1
package/dist/admin.d.cts CHANGED
@@ -228,6 +228,12 @@ interface AdminConfigValue {
228
228
  /** When events + multi-vendor are on: vendor events require admin approval before going live. */
229
229
  requireEventApproval?: boolean;
230
230
  eventsEnabled?: boolean;
231
+ /** App-specific extra variables for email/whatsapp/push notification templates (e.g. ticketQr, qrImageUrl). */
232
+ extraNotificationVariables?: Array<{
233
+ name: string;
234
+ label?: string;
235
+ hint?: string;
236
+ }>;
231
237
  }
232
238
  declare const AdminConfigContext: React$1.Context<AdminConfigValue>;
233
239
 
@@ -243,11 +249,17 @@ interface AdminLayoutProps {
243
249
  categoryRelatedProductLabels?: Record<string, CategoryRelatedProductLabels>;
244
250
  /** Rendered below order detail content (host app: attendees, event passes, etc.). */
245
251
  renderOrderDetailFooter?: (orderId: string) => React.ReactNode;
252
+ /** Extra host-app notification variables for email/whatsapp/push template editors. */
253
+ extraNotificationVariables?: Array<{
254
+ name: string;
255
+ label?: string;
256
+ hint?: string;
257
+ }>;
246
258
  theme?: ThemeConfig;
247
259
  themeRegistry?: ThemeRegistryItem[];
248
260
  pluginDescriptors?: PluginDescriptor[];
249
261
  }
250
- declare function AdminLayout({ children, customNavItems, customNavSections, customCrudConfigs, categoryRelatedProductLabels, renderOrderDetailFooter, theme, themeRegistry, pluginDescriptors, }: AdminLayoutProps): react_jsx_runtime.JSX.Element;
262
+ declare function AdminLayout({ children, customNavItems, customNavSections, customCrudConfigs, categoryRelatedProductLabels, renderOrderDetailFooter, extraNotificationVariables, theme, themeRegistry, pluginDescriptors, }: AdminLayoutProps): react_jsx_runtime.JSX.Element;
251
263
 
252
264
  declare function AdminShell({ children }: {
253
265
  children: React.ReactNode;
package/dist/admin.d.ts CHANGED
@@ -228,6 +228,12 @@ interface AdminConfigValue {
228
228
  /** When events + multi-vendor are on: vendor events require admin approval before going live. */
229
229
  requireEventApproval?: boolean;
230
230
  eventsEnabled?: boolean;
231
+ /** App-specific extra variables for email/whatsapp/push notification templates (e.g. ticketQr, qrImageUrl). */
232
+ extraNotificationVariables?: Array<{
233
+ name: string;
234
+ label?: string;
235
+ hint?: string;
236
+ }>;
231
237
  }
232
238
  declare const AdminConfigContext: React$1.Context<AdminConfigValue>;
233
239
 
@@ -243,11 +249,17 @@ interface AdminLayoutProps {
243
249
  categoryRelatedProductLabels?: Record<string, CategoryRelatedProductLabels>;
244
250
  /** Rendered below order detail content (host app: attendees, event passes, etc.). */
245
251
  renderOrderDetailFooter?: (orderId: string) => React.ReactNode;
252
+ /** Extra host-app notification variables for email/whatsapp/push template editors. */
253
+ extraNotificationVariables?: Array<{
254
+ name: string;
255
+ label?: string;
256
+ hint?: string;
257
+ }>;
246
258
  theme?: ThemeConfig;
247
259
  themeRegistry?: ThemeRegistryItem[];
248
260
  pluginDescriptors?: PluginDescriptor[];
249
261
  }
250
- declare function AdminLayout({ children, customNavItems, customNavSections, customCrudConfigs, categoryRelatedProductLabels, renderOrderDetailFooter, theme, themeRegistry, pluginDescriptors, }: AdminLayoutProps): react_jsx_runtime.JSX.Element;
262
+ declare function AdminLayout({ children, customNavItems, customNavSections, customCrudConfigs, categoryRelatedProductLabels, renderOrderDetailFooter, extraNotificationVariables, theme, themeRegistry, pluginDescriptors, }: AdminLayoutProps): react_jsx_runtime.JSX.Element;
251
263
 
252
264
  declare function AdminShell({ children }: {
253
265
  children: React.ReactNode;