@infuro/cms-core 1.0.47 → 1.0.51
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.
- package/README.md +30 -16
- package/dist/admin.cjs +2012 -437
- package/dist/admin.d.cts +13 -1
- package/dist/admin.d.ts +13 -1
- package/dist/admin.js +2013 -438
- package/dist/api.cjs +37 -37
- package/dist/api.js +5 -5
- package/dist/auth.cjs +52 -23
- package/dist/auth.d.cts +101 -2
- package/dist/auth.d.ts +101 -2
- package/dist/auth.js +3 -2
- package/dist/chunk-3EOM4V2M.cjs +452 -0
- package/dist/{chunk-2HU5R2JE.js → chunk-AYERBA7I.js} +1 -7
- package/dist/{chunk-YXH2UUEZ.js → chunk-CTXBYO2J.js} +290 -59
- package/dist/{chunk-LMJ7RKPF.cjs → chunk-JN4AFHZ4.cjs} +311 -59
- package/dist/{chunk-JE22VP6S.js → chunk-MXIWUFBP.js} +1 -1
- package/dist/{chunk-W42UZLQO.js → chunk-NUXR7BUG.js} +2819 -2597
- package/dist/chunk-RK5ETF2I.js +434 -0
- package/dist/{chunk-4PMK3RNA.cjs → chunk-TJ2MIQUT.cjs} +1 -7
- package/dist/{chunk-KOTXDSQB.cjs → chunk-UQWZUZ5X.cjs} +1 -1
- package/dist/{chunk-YC4NUZCS.js → chunk-WRKV6MHB.js} +414 -2
- package/dist/{chunk-XUCKZPML.cjs → chunk-YOW457RA.cjs} +2872 -2657
- package/dist/{chunk-Q3HQEM4R.cjs → chunk-YV5PK4JW.cjs} +421 -1
- package/dist/cli.cjs +13 -22
- package/dist/cli.js +13 -22
- package/dist/{emit-order-notification-trigger-6XX7LSC4.js → emit-order-notification-trigger-HZQPPSFB.js} +1 -1
- package/dist/{emit-order-notification-trigger-NASG7ZEO.cjs → emit-order-notification-trigger-NR3VN6C6.cjs} +3 -3
- package/dist/{event-order-defaults-7Z3UZOEH.cjs → event-order-defaults-DU7V3YND.cjs} +9 -9
- package/dist/{event-order-defaults-XQ3IDPD7.js → event-order-defaults-H4RT7NMR.js} +1 -1
- package/dist/index.cjs +379 -309
- package/dist/index.d.cts +136 -6
- package/dist/index.d.ts +136 -6
- package/dist/index.js +58 -24
- package/dist/migrations/1782400000000-CreateUserDeviceTokens.ts +36 -0
- package/dist/migrations/1782500000000-AddPushToOrderNotificationBindingsChannelEnum.ts +15 -0
- package/dist/{order-notification-dispatcher-6WNG24NY.js → order-notification-dispatcher-AT4IFAGL.js} +1 -1
- package/dist/{order-notification-dispatcher-6XSU3AR7.cjs → order-notification-dispatcher-YBAWDOIO.cjs} +7 -3
- package/package.json +1 -1
- package/dist/chunk-VUQFARRT.cjs +0 -182
- package/dist/chunk-ZF2RQWXB.js +0 -171
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;
|