@carlonicora/nextjs-jsonapi 1.115.0 → 1.116.0

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 (58) hide show
  1. package/dist/{AssistantMessageInterface-BuUZFkE5.d.mts → AssistantMessageInterface-Ca0G0vZw.d.mts} +1 -1
  2. package/dist/{AssistantMessageInterface-CQwh5tEb.d.ts → AssistantMessageInterface-DEZ5AnVl.d.ts} +1 -1
  3. package/dist/{BlockNoteEditor-V74ICZY3.js → BlockNoteEditor-R6U4PCQ7.js} +19 -19
  4. package/dist/{BlockNoteEditor-V74ICZY3.js.map → BlockNoteEditor-R6U4PCQ7.js.map} +1 -1
  5. package/dist/{BlockNoteEditor-Z3EKI3C6.mjs → BlockNoteEditor-RFRK3STN.mjs} +4 -4
  6. package/dist/{auth.interface-CXBF8Mhi.d.mts → auth.interface-r3XKYOrQ.d.mts} +1 -1
  7. package/dist/{auth.interface-8b601idJ.d.ts → auth.interface-yivTb46w.d.ts} +1 -1
  8. package/dist/billing/index.js +346 -346
  9. package/dist/billing/index.mjs +3 -3
  10. package/dist/{chunk-3MUBMSDD.js → chunk-6KLR3WJQ.js} +7 -7
  11. package/dist/{chunk-3MUBMSDD.js.map → chunk-6KLR3WJQ.js.map} +1 -1
  12. package/dist/{chunk-UBBTQUFB.mjs → chunk-M7XAKLSP.mjs} +11 -2
  13. package/dist/{chunk-UBBTQUFB.mjs.map → chunk-M7XAKLSP.mjs.map} +1 -1
  14. package/dist/{chunk-BKKVLD42.mjs → chunk-RKUUGCYB.mjs} +4 -4
  15. package/dist/{chunk-J3DFHESB.js → chunk-S2PTWBN6.js} +27 -18
  16. package/dist/chunk-S2PTWBN6.js.map +1 -0
  17. package/dist/{chunk-6LSGIJ5W.js → chunk-SPRFCAQI.js} +695 -695
  18. package/dist/{chunk-6LSGIJ5W.js.map → chunk-SPRFCAQI.js.map} +1 -1
  19. package/dist/{chunk-SJRSR3AF.mjs → chunk-WEPQD5MP.mjs} +2 -2
  20. package/dist/client/index.d.mts +2 -2
  21. package/dist/client/index.d.ts +2 -2
  22. package/dist/client/index.js +4 -4
  23. package/dist/client/index.mjs +3 -3
  24. package/dist/components/index.d.mts +3 -3
  25. package/dist/components/index.d.ts +3 -3
  26. package/dist/components/index.js +4 -4
  27. package/dist/components/index.mjs +3 -3
  28. package/dist/contexts/index.d.mts +3 -3
  29. package/dist/contexts/index.d.ts +3 -3
  30. package/dist/contexts/index.js +4 -4
  31. package/dist/contexts/index.mjs +3 -3
  32. package/dist/core/index.d.mts +10 -8
  33. package/dist/core/index.d.ts +10 -8
  34. package/dist/core/index.js +2 -2
  35. package/dist/core/index.mjs +1 -1
  36. package/dist/features/help/index.js +36 -36
  37. package/dist/features/help/index.mjs +3 -3
  38. package/dist/index.d.mts +5 -5
  39. package/dist/index.d.ts +5 -5
  40. package/dist/index.js +3 -3
  41. package/dist/index.mjs +2 -2
  42. package/dist/{notification.interface-DIxR23eS.d.mts → notification.interface-B3kNUTZs.d.mts} +2 -1
  43. package/dist/{notification.interface-C1T1C2ee.d.ts → notification.interface-LKFmZndR.d.ts} +2 -1
  44. package/dist/{s3.service-CAL5dhGG.d.mts → s3.service-CihgBy97.d.mts} +2 -2
  45. package/dist/{s3.service-COLYvcW2.d.ts → s3.service-Cyvfk3qV.d.ts} +2 -2
  46. package/dist/server/index.d.mts +3 -3
  47. package/dist/server/index.d.ts +3 -3
  48. package/dist/server/index.js +3 -3
  49. package/dist/server/index.mjs +1 -1
  50. package/dist/{useSocket-B1fMIr17.d.mts → useSocket-BSjn1Rlb.d.mts} +1 -1
  51. package/dist/{useSocket-BdJTBXKv.d.ts → useSocket-BsbaGPqE.d.ts} +1 -1
  52. package/package.json +1 -1
  53. package/src/features/notification/data/notification.interface.ts +2 -2
  54. package/src/features/notification/data/notification.ts +21 -5
  55. package/dist/chunk-J3DFHESB.js.map +0 -1
  56. /package/dist/{BlockNoteEditor-Z3EKI3C6.mjs.map → BlockNoteEditor-RFRK3STN.mjs.map} +0 -0
  57. /package/dist/{chunk-BKKVLD42.mjs.map → chunk-RKUUGCYB.mjs.map} +0 -0
  58. /package/dist/{chunk-SJRSR3AF.mjs.map → chunk-WEPQD5MP.mjs.map} +0 -0
@@ -21,13 +21,13 @@ var _chunkYBZVWLPHjs = require('../../chunk-YBZVWLPH.js');
21
21
 
22
22
 
23
23
 
24
- var _chunk6LSGIJ5Wjs = require('../../chunk-6LSGIJ5W.js');
24
+ var _chunkSPRFCAQIjs = require('../../chunk-SPRFCAQI.js');
25
25
 
26
26
 
27
- var _chunk3MUBMSDDjs = require('../../chunk-3MUBMSDD.js');
27
+ var _chunk6KLR3WJQjs = require('../../chunk-6KLR3WJQ.js');
28
28
 
29
29
 
30
- var _chunkJ3DFHESBjs = require('../../chunk-J3DFHESB.js');
30
+ var _chunkS2PTWBN6js = require('../../chunk-S2PTWBN6.js');
31
31
  require('../../chunk-LXKSUWAV.js');
32
32
  require('../../chunk-IBS6NI7D.js');
33
33
  require('../../chunk-J5LROFGL.js');
@@ -41,7 +41,7 @@ var _react = require('react');
41
41
  var _jsxruntime = require('react/jsx-runtime');
42
42
  var HelpContext = _react.createContext.call(void 0, null);
43
43
  function HelpProvider({ children }) {
44
- const cfg = _chunk3MUBMSDDjs._getStaticHelpContent.call(void 0, );
44
+ const cfg = _chunk6KLR3WJQjs._getStaticHelpContent.call(void 0, );
45
45
  if (!cfg) {
46
46
  throw new Error(
47
47
  "Help content not configured \u2014 call configureJsonApi({ helpContent: {...} }) before importing help components."
@@ -73,29 +73,29 @@ var _lucidereact = require('lucide-react');
73
73
 
74
74
 
75
75
  function HelpAssistantSheet({ open, onOpenChange }) {
76
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6LSGIJ5Wjs.Sheet, { open, onOpenChange, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
77
- _chunk6LSGIJ5Wjs.SheetContent,
76
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPRFCAQIjs.Sheet, { open, onOpenChange, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
77
+ _chunkSPRFCAQIjs.SheetContent,
78
78
  {
79
79
  side: "right",
80
80
  className: "flex w-full flex-col data-[side=right]:sm:max-w-2xl data-[side=right]:lg:max-w-3xl",
81
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6LSGIJ5Wjs.AssistantProvider, { manageUrl: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpAssistantSheetBody, {}) })
81
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPRFCAQIjs.AssistantProvider, { manageUrl: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpAssistantSheetBody, {}) })
82
82
  }
83
83
  ) });
84
84
  }
85
85
  _chunk7QVYU63Ejs.__name.call(void 0, HelpAssistantSheet, "HelpAssistantSheet");
86
86
  function HelpAssistantSheetBody() {
87
87
  const t = _nextintl.useTranslations.call(void 0, );
88
- const ctx = _chunk6LSGIJ5Wjs.useAssistantContext.call(void 0, );
88
+ const ctx = _chunkSPRFCAQIjs.useAssistantContext.call(void 0, );
89
89
  const showThread = !!ctx.assistant || ctx.sending || ctx.messages.length > 0;
90
90
  const send = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (content) => ctx.sendMessage(content, { howToMode: true }), "send");
91
91
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
92
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk6LSGIJ5Wjs.SheetHeader, { children: [
93
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6LSGIJ5Wjs.SheetTitle, { children: t("help.askAi.sheet.title") }),
94
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6LSGIJ5Wjs.SheetDescription, { children: t("help.askAi.sheet.subtitle") })
92
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkSPRFCAQIjs.SheetHeader, { children: [
93
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPRFCAQIjs.SheetTitle, { children: t("help.askAi.sheet.title") }),
94
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPRFCAQIjs.SheetDescription, { children: t("help.askAi.sheet.subtitle") })
95
95
  ] }),
96
- !showThread ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6LSGIJ5Wjs.AssistantEmptyState, { onSend: send }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
96
+ !showThread ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPRFCAQIjs.AssistantEmptyState, { onSend: send }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
97
97
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
98
- _chunk6LSGIJ5Wjs.AssistantThread,
98
+ _chunkSPRFCAQIjs.AssistantThread,
99
99
  {
100
100
  messages: ctx.messages,
101
101
  sending: ctx.sending,
@@ -105,7 +105,7 @@ function HelpAssistantSheetBody() {
105
105
  onRetry: ctx.retrySend
106
106
  }
107
107
  ),
108
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6LSGIJ5Wjs.AssistantComposer, { onSend: send, disabled: ctx.sending })
108
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPRFCAQIjs.AssistantComposer, { onSend: send, disabled: ctx.sending })
109
109
  ] })
110
110
  ] });
111
111
  }
@@ -115,20 +115,20 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpAssistantSheetBody, "HelpAssistantSheet
115
115
 
116
116
  function HelpAskAi() {
117
117
  const t = _nextintl.useTranslations.call(void 0, );
118
- const { currentUser } = _chunk6LSGIJ5Wjs.useCurrentUserContext.call(void 0, );
118
+ const { currentUser } = _chunkSPRFCAQIjs.useCurrentUserContext.call(void 0, );
119
119
  const [open, setOpen] = _react.useState.call(void 0, false);
120
120
  const disabled = !currentUser;
121
121
  if (disabled) {
122
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk6LSGIJ5Wjs.Tooltip, { children: [
123
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk6LSGIJ5Wjs.TooltipTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6LSGIJ5Wjs.Button, { variant: "outline", size: "sm", disabled: true }), children: [
122
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkSPRFCAQIjs.Tooltip, { children: [
123
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkSPRFCAQIjs.TooltipTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPRFCAQIjs.Button, { variant: "outline", size: "sm", disabled: true }), children: [
124
124
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.SparklesIcon, { className: "h-4 w-4" }),
125
125
  t("help.askAi.button")
126
126
  ] }),
127
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6LSGIJ5Wjs.TooltipContent, { children: t("help.askAi.loginTooltip") })
127
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPRFCAQIjs.TooltipContent, { children: t("help.askAi.loginTooltip") })
128
128
  ] });
129
129
  }
130
130
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
131
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk6LSGIJ5Wjs.Button, { variant: "outline", size: "sm", onClick: () => setOpen(true), children: [
131
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkSPRFCAQIjs.Button, { variant: "outline", size: "sm", onClick: () => setOpen(true), children: [
132
132
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.SparklesIcon, { className: "h-4 w-4" }),
133
133
  t("help.askAi.button")
134
134
  ] }),
@@ -141,7 +141,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpAskAi, "HelpAskAi");
141
141
 
142
142
  function HelpHeader() {
143
143
  const t = _nextintl.useTranslations.call(void 0, );
144
- const { currentUser } = _chunk6LSGIJ5Wjs.useCurrentUserContext.call(void 0, );
144
+ const { currentUser } = _chunkSPRFCAQIjs.useCurrentUserContext.call(void 0, );
145
145
  const { brand } = useHelp();
146
146
  const logo = _optionalChain([brand, 'optionalAccess', _ => _.logo]);
147
147
  const label = _nullishCoalesce(_optionalChain([brand, 'optionalAccess', _2 => _2.label]), () => ( "Help"));
@@ -157,7 +157,7 @@ function HelpHeader() {
157
157
  ] }),
158
158
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
159
159
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HelpAskAi, {}),
160
- currentUser ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6LSGIJ5Wjs.Button, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: appHref }), nativeButton: false, variant: "outline", size: "sm", children: t("help.header.openApp") }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6LSGIJ5Wjs.Button, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: "/login" }), nativeButton: false, variant: "outline", size: "sm", children: t("help.header.login") })
160
+ currentUser ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPRFCAQIjs.Button, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: appHref }), nativeButton: false, variant: "outline", size: "sm", children: t("help.header.openApp") }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPRFCAQIjs.Button, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _link2.default, { href: "/login" }), nativeButton: false, variant: "outline", size: "sm", children: t("help.header.login") })
161
161
  ] })
162
162
  ] });
163
163
  }
@@ -199,12 +199,12 @@ _chunk7QVYU63Ejs.__name.call(void 0, useHelpFilter, "useHelpFilter");
199
199
 
200
200
  function HelpSideNav() {
201
201
  const t = _nextintl.useTranslations.call(void 0, );
202
- const generateUrl = _chunk6LSGIJ5Wjs.usePageUrlGenerator.call(void 0, );
202
+ const generateUrl = _chunkSPRFCAQIjs.usePageUrlGenerator.call(void 0, );
203
203
  const pathname = _navigation.usePathname.call(void 0, );
204
204
  const [articles, setArticles] = _react.useState.call(void 0, []);
205
205
  _react.useEffect.call(void 0, () => {
206
206
  let active = true;
207
- _chunkJ3DFHESBjs.HowToService.findPublished().then((list) => active && setArticles(list)).catch(() => active && setArticles([]));
207
+ _chunkS2PTWBN6js.HowToService.findPublished().then((list) => active && setArticles(list)).catch(() => active && setArticles([]));
208
208
  return () => {
209
209
  active = false;
210
210
  };
@@ -280,7 +280,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpSideNav, "HelpSideNav");
280
280
  function HelpArticleBody(props) {
281
281
  const t = _nextintl.useTranslations.call(void 0, );
282
282
  const format = _nextintl.useFormatter.call(void 0, );
283
- const generateUrl = _chunk6LSGIJ5Wjs.usePageUrlGenerator.call(void 0, );
283
+ const generateUrl = _chunkSPRFCAQIjs.usePageUrlGenerator.call(void 0, );
284
284
  const { howToType, title, summary, updatedAt, prev, next, children } = props;
285
285
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "article", { className: "prose dark:prose-invert max-w-none", children: [
286
286
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { className: "text-muted-foreground mb-2 text-xs", children: [
@@ -358,13 +358,13 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpTOC, "HelpTOC");
358
358
 
359
359
  function HelpHint({ contextKey }) {
360
360
  const t = _nextintl.useTranslations.call(void 0, );
361
- const generateUrl = _chunk6LSGIJ5Wjs.usePageUrlGenerator.call(void 0, );
361
+ const generateUrl = _chunkSPRFCAQIjs.usePageUrlGenerator.call(void 0, );
362
362
  const [open, setOpen] = _react.useState.call(void 0, false);
363
363
  const [picked, setPicked] = _react.useState.call(void 0, null);
364
364
  const [articles, setArticles] = _react.useState.call(void 0, []);
365
365
  _react.useEffect.call(void 0, () => {
366
366
  let active2 = true;
367
- _chunkJ3DFHESBjs.HowToService.findPublished().then((list) => active2 && setArticles(list)).catch(() => active2 && setArticles([]));
367
+ _chunkS2PTWBN6js.HowToService.findPublished().then((list) => active2 && setArticles(list)).catch(() => active2 && setArticles([]));
368
368
  return () => {
369
369
  active2 = false;
370
370
  };
@@ -376,7 +376,7 @@ function HelpHint({ contextKey }) {
376
376
  if (matches.length === 0) return null;
377
377
  const active = _nullishCoalesce(picked, () => ( (matches.length === 1 ? matches[0] : null)));
378
378
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
379
- _chunk6LSGIJ5Wjs.Sheet,
379
+ _chunkSPRFCAQIjs.Sheet,
380
380
  {
381
381
  open,
382
382
  onOpenChange: (o) => {
@@ -384,11 +384,11 @@ function HelpHint({ contextKey }) {
384
384
  if (!o) setPicked(null);
385
385
  },
386
386
  children: [
387
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6LSGIJ5Wjs.SheetTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6LSGIJ5Wjs.Button, { variant: "ghost", size: "icon-sm", "aria-label": t("help.hint.trigger") }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.HelpCircleIcon, { className: "h-4 w-4" }) }),
388
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk6LSGIJ5Wjs.SheetContent, { side: "right", className: "w-full max-w-md sm:max-w-lg", children: [
389
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk6LSGIJ5Wjs.SheetHeader, { children: [
390
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6LSGIJ5Wjs.SheetTitle, { children: active ? active.name : t("help.hint.pickArticle") }),
391
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6LSGIJ5Wjs.SheetDescription, { children: _nullishCoalesce(_optionalChain([active, 'optionalAccess', _4 => _4.summary]), () => ( "")) })
387
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPRFCAQIjs.SheetTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPRFCAQIjs.Button, { variant: "ghost", size: "icon-sm", "aria-label": t("help.hint.trigger") }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.HelpCircleIcon, { className: "h-4 w-4" }) }),
388
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkSPRFCAQIjs.SheetContent, { side: "right", className: "w-full max-w-md sm:max-w-lg", children: [
389
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkSPRFCAQIjs.SheetHeader, { children: [
390
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPRFCAQIjs.SheetTitle, { children: active ? active.name : t("help.hint.pickArticle") }),
391
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPRFCAQIjs.SheetDescription, { children: _nullishCoalesce(_optionalChain([active, 'optionalAccess', _4 => _4.summary]), () => ( "")) })
392
392
  ] }),
393
393
  active ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mt-4 space-y-3", children: [
394
394
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-muted-foreground text-sm", children: active.summary }),
@@ -420,18 +420,18 @@ _chunk7QVYU63Ejs.__name.call(void 0, HelpHint, "HelpHint");
420
420
 
421
421
  function HelpSearchResultRow({ result, onSelect }) {
422
422
  const t = _nextintl.useTranslations.call(void 0, );
423
- const generateUrl = _chunk6LSGIJ5Wjs.usePageUrlGenerator.call(void 0, );
423
+ const generateUrl = _chunkSPRFCAQIjs.usePageUrlGenerator.call(void 0, );
424
424
  const [article, setArticle] = _react.useState.call(void 0, null);
425
425
  _react.useEffect.call(void 0, () => {
426
426
  let active = true;
427
- _chunkJ3DFHESBjs.HowToService.findOne({ id: result.id }).then((a) => active && setArticle(a)).catch(() => active && setArticle(null));
427
+ _chunkS2PTWBN6js.HowToService.findOne({ id: result.id }).then((a) => active && setArticle(a)).catch(() => active && setArticle(null));
428
428
  return () => {
429
429
  active = false;
430
430
  };
431
431
  }, [result.id]);
432
432
  if (!article) {
433
433
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
434
- _chunk6LSGIJ5Wjs.CommandItem,
434
+ _chunkSPRFCAQIjs.CommandItem,
435
435
  {
436
436
  value: result.id,
437
437
  disabled: true,
@@ -440,7 +440,7 @@ function HelpSearchResultRow({ result, onSelect }) {
440
440
  }
441
441
  );
442
442
  }
443
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6LSGIJ5Wjs.CommandItem, { value: result.id, onSelect, className: "cursor-pointer p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
443
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPRFCAQIjs.CommandItem, { value: result.id, onSelect, className: "cursor-pointer p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
444
444
  _link2.default,
445
445
  {
446
446
  href: generateUrl({ page: `/help/${article.howToType}/${article.slug}` }),
@@ -21,13 +21,13 @@ import {
21
21
  useAssistantContext,
22
22
  useCurrentUserContext,
23
23
  usePageUrlGenerator
24
- } from "../../chunk-BKKVLD42.mjs";
24
+ } from "../../chunk-RKUUGCYB.mjs";
25
25
  import {
26
26
  _getStaticHelpContent
27
- } from "../../chunk-SJRSR3AF.mjs";
27
+ } from "../../chunk-WEPQD5MP.mjs";
28
28
  import {
29
29
  HowToService
30
- } from "../../chunk-UBBTQUFB.mjs";
30
+ } from "../../chunk-M7XAKLSP.mjs";
31
31
  import "../../chunk-AUXK7QSA.mjs";
32
32
  import "../../chunk-C7C7VY4F.mjs";
33
33
  import "../../chunk-KK7PYKVI.mjs";
package/dist/index.d.mts CHANGED
@@ -4,16 +4,16 @@ export { A as ApiRequestDataTypeInterface, F as FieldSelector, G as GetterKeys,
4
4
  export { A as ApiResponseInterface } from './ApiResponseInterface-rsXRL_Hn.mjs';
5
5
  import { AbstractApiData } from './core/index.mjs';
6
6
  export { AppModuleDefinitions, Assistant, AssistantMessage, AssistantMessageModule, AssistantMessageService, AssistantModule, AssistantService, AuditLog, AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthModule, AuthorModule, BackupCodeVerify, BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, Chunk, ChunkInput, ChunkModule, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EndpointCreator, EndpointQuery, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, HowTo, HowToFields, HowToModule, HowToService, InviteValidation, JsonApiDataFactory, Module, ModuleDefinitions, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, PasskeyAuthenticationOptionsInput, PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyModule, PasskeyRegistrationOptions, PasskeyRegistrationOptionsInput, PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PermissionMappingModule, Push, PushInput, PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceModule, StripePriceService, StripeProduct, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, TotpAuthenticator, TotpAuthenticatorModule, TotpSetup, TotpSetupInput, TotpSetupInterface, TotpSetupModule, TotpVerify, TotpVerifyInput, TotpVerifyLogin, TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, TwoFactorChallengeInput, TwoFactorChallengeModule, TwoFactorEnable, TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, TwoFactorStatusInterface, TwoFactorStatusModule, User, UserModule, UserObject, Waitlist, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatDate, formatLocalDate, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema } from './core/index.mjs';
7
- import { b as AbstractService } from './s3.service-CAL5dhGG.mjs';
8
- export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, c as NextRef, N as NotificationService, d as PreviousRef, P as PushService, R as RoleService, j as S3Input, k as S3Interface, S as S3Service, e as SelfRef, T as TotalRef, i as TwoFactorChallengeInterface, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from './s3.service-CAL5dhGG.mjs';
9
- export { c as AssistantMessageInput, d as AssistantMessageInterface, A as AssistantMessageRole, b as AssistantMessageType, B as BreadcrumbItemData, e as ChunkInterface, C as ChunkRelationshipMeta, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-BuUZFkE5.mjs';
7
+ import { b as AbstractService } from './s3.service-CihgBy97.mjs';
8
+ export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, c as NextRef, N as NotificationService, d as PreviousRef, P as PushService, R as RoleService, j as S3Input, k as S3Interface, S as S3Service, e as SelfRef, T as TotalRef, i as TwoFactorChallengeInterface, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from './s3.service-CihgBy97.mjs';
9
+ export { c as AssistantMessageInput, d as AssistantMessageInterface, A as AssistantMessageRole, b as AssistantMessageType, B as BreadcrumbItemData, e as ChunkInterface, C as ChunkRelationshipMeta, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-Ca0G0vZw.mjs';
10
10
  export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from './content.fields-xH3TGvVk.mjs';
11
11
  export { ClassValue } from 'clsx';
12
12
  export { A as AuthComponent, P as PasskeyInterface, T as TotpAuthenticatorInterface, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from './AuthComponent-DdxCFgUZ.mjs';
13
13
  export { A as Action, c as ModuleDefinition, g as ModuleFactory, b as ModulePermissionDefinition, M as ModuleWithPermissions, P as PageUrl, a as PermissionCheck, d as PermissionConfig, e as PermissionModule, f as PermissionUser } from './types-CQSjy7et.mjs';
14
- export { A as AuthInput, b as AuthInterface, a as AuthQuery } from './auth.interface-CXBF8Mhi.mjs';
14
+ export { A as AuthInput, b as AuthInterface, a as AuthQuery } from './auth.interface-r3XKYOrQ.mjs';
15
15
  export { I as InvoiceStatus, M as MeterInterface, o as MeterSummaryInterface, P as PaymentMethodInterface, e as PriceRecurring, q as PromotionCodeValidationResult, c as ProrationLineItem, b as ProrationPreviewInterface, R as ReportUsageInput, S as StripeCustomerInterface, a as StripeInvoiceInterface, f as StripePriceInput, d as StripePriceInterface, h as StripeProductInput, g as StripeProductInterface, l as StripeSubscriptionCreateMeta, m as StripeSubscriptionCreateResponse, k as StripeSubscriptionInput, j as StripeSubscriptionInterface, n as StripeUsageInterface, i as SubscriptionStatus, p as UsageRecordInterface, U as UsageSummaryInterface } from './stripe-promotion-code.interface-ClZ7DxS9.mjs';
16
- export { b as CompanyInput, c as CompanyInterface, a as ContentInput, C as ContentInterface, d as NotificationInput, N as NotificationInterface, R as RoleInput, e as RoleInterface, f as UserInput, U as UserInterface } from './notification.interface-DIxR23eS.mjs';
16
+ export { b as CompanyInput, c as CompanyInterface, a as ContentInput, C as ContentInterface, d as NotificationInput, N as NotificationInterface, R as RoleInput, e as RoleInterface, f as UserInput, U as UserInterface } from './notification.interface-B3kNUTZs.mjs';
17
17
  export { A as AssistantInput, a as AssistantInterface } from './AssistantInterface-B56qznuH.mjs';
18
18
  export { F as FeatureInterface, M as ModuleInterface } from './feature.interface-CXb1-vNq.mjs';
19
19
  export { A as AVAILABLE_OAUTH_SCOPES, D as DEFAULT_GRANT_TYPES, g as OAUTH_SCOPE_DISPLAY, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, a as OAuthClientInput, O as OAuthClientInterface, f as OAuthConsentInfo, d as OAuthConsentRequest, e as OAuthScopeInfo } from './oauth.interface-o5FLpiN7.mjs';
package/dist/index.d.ts CHANGED
@@ -4,16 +4,16 @@ export { A as ApiRequestDataTypeInterface, F as FieldSelector, G as GetterKeys,
4
4
  export { A as ApiResponseInterface } from './ApiResponseInterface-CWLvSCvS.js';
5
5
  import { AbstractApiData } from './core/index.js';
6
6
  export { AppModuleDefinitions, Assistant, AssistantMessage, AssistantMessageModule, AssistantMessageService, AssistantModule, AssistantService, AuditLog, AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthModule, AuthorModule, BackupCodeVerify, BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, Chunk, ChunkInput, ChunkModule, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EndpointCreator, EndpointQuery, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, HowTo, HowToFields, HowToModule, HowToService, InviteValidation, JsonApiDataFactory, Module, ModuleDefinitions, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, PasskeyAuthenticationOptionsInput, PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyModule, PasskeyRegistrationOptions, PasskeyRegistrationOptionsInput, PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PermissionMappingModule, Push, PushInput, PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceModule, StripePriceService, StripeProduct, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, TotpAuthenticator, TotpAuthenticatorModule, TotpSetup, TotpSetupInput, TotpSetupInterface, TotpSetupModule, TotpVerify, TotpVerifyInput, TotpVerifyLogin, TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, TwoFactorChallengeInput, TwoFactorChallengeModule, TwoFactorEnable, TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, TwoFactorStatusInterface, TwoFactorStatusModule, User, UserModule, UserObject, Waitlist, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatDate, formatLocalDate, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema } from './core/index.js';
7
- import { b as AbstractService } from './s3.service-COLYvcW2.js';
8
- export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, c as NextRef, N as NotificationService, d as PreviousRef, P as PushService, R as RoleService, j as S3Input, k as S3Interface, S as S3Service, e as SelfRef, T as TotalRef, i as TwoFactorChallengeInterface, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from './s3.service-COLYvcW2.js';
9
- export { c as AssistantMessageInput, d as AssistantMessageInterface, A as AssistantMessageRole, b as AssistantMessageType, B as BreadcrumbItemData, e as ChunkInterface, C as ChunkRelationshipMeta, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-CQwh5tEb.js';
7
+ import { b as AbstractService } from './s3.service-Cyvfk3qV.js';
8
+ export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, c as NextRef, N as NotificationService, d as PreviousRef, P as PushService, R as RoleService, j as S3Input, k as S3Interface, S as S3Service, e as SelfRef, T as TotalRef, i as TwoFactorChallengeInterface, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from './s3.service-Cyvfk3qV.js';
9
+ export { c as AssistantMessageInput, d as AssistantMessageInterface, A as AssistantMessageRole, b as AssistantMessageType, B as BreadcrumbItemData, e as ChunkInterface, C as ChunkRelationshipMeta, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-DEZ5AnVl.js';
10
10
  export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from './content.fields-xH3TGvVk.js';
11
11
  export { ClassValue } from 'clsx';
12
12
  export { A as AuthComponent, P as PasskeyInterface, T as TotpAuthenticatorInterface, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from './AuthComponent-Cd7lcYif.js';
13
13
  export { A as Action, c as ModuleDefinition, g as ModuleFactory, b as ModulePermissionDefinition, M as ModuleWithPermissions, P as PageUrl, a as PermissionCheck, d as PermissionConfig, e as PermissionModule, f as PermissionUser } from './types-DHOxe8rc.js';
14
- export { A as AuthInput, b as AuthInterface, a as AuthQuery } from './auth.interface-8b601idJ.js';
14
+ export { A as AuthInput, b as AuthInterface, a as AuthQuery } from './auth.interface-yivTb46w.js';
15
15
  export { I as InvoiceStatus, M as MeterInterface, o as MeterSummaryInterface, P as PaymentMethodInterface, e as PriceRecurring, q as PromotionCodeValidationResult, c as ProrationLineItem, b as ProrationPreviewInterface, R as ReportUsageInput, S as StripeCustomerInterface, a as StripeInvoiceInterface, f as StripePriceInput, d as StripePriceInterface, h as StripeProductInput, g as StripeProductInterface, l as StripeSubscriptionCreateMeta, m as StripeSubscriptionCreateResponse, k as StripeSubscriptionInput, j as StripeSubscriptionInterface, n as StripeUsageInterface, i as SubscriptionStatus, p as UsageRecordInterface, U as UsageSummaryInterface } from './stripe-promotion-code.interface-C3qqh3mi.js';
16
- export { b as CompanyInput, c as CompanyInterface, a as ContentInput, C as ContentInterface, d as NotificationInput, N as NotificationInterface, R as RoleInput, e as RoleInterface, f as UserInput, U as UserInterface } from './notification.interface-C1T1C2ee.js';
16
+ export { b as CompanyInput, c as CompanyInterface, a as ContentInput, C as ContentInterface, d as NotificationInput, N as NotificationInterface, R as RoleInput, e as RoleInterface, f as UserInput, U as UserInterface } from './notification.interface-LKFmZndR.js';
17
17
  export { A as AssistantInput, a as AssistantInterface } from './AssistantInterface-CHiJIYDY.js';
18
18
  export { F as FeatureInterface, M as ModuleInterface } from './feature.interface-BO25VLlx.js';
19
19
  export { A as AVAILABLE_OAUTH_SCOPES, D as DEFAULT_GRANT_TYPES, g as OAUTH_SCOPE_DISPLAY, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, a as OAuthClientInput, O as OAuthClientInterface, f as OAuthConsentInfo, d as OAuthConsentRequest, e as OAuthScopeInfo } from './oauth.interface-B6xmfDzK.js';
package/dist/index.js CHANGED
@@ -18,7 +18,7 @@
18
18
 
19
19
 
20
20
 
21
- var _chunk3MUBMSDDjs = require('./chunk-3MUBMSDD.js');
21
+ var _chunk6KLR3WJQjs = require('./chunk-6KLR3WJQ.js');
22
22
 
23
23
 
24
24
 
@@ -199,7 +199,7 @@ var _chunk3MUBMSDDjs = require('./chunk-3MUBMSDD.js');
199
199
 
200
200
 
201
201
 
202
- var _chunkJ3DFHESBjs = require('./chunk-J3DFHESB.js');
202
+ var _chunkS2PTWBN6js = require('./chunk-S2PTWBN6.js');
203
203
  require('./chunk-LXKSUWAV.js');
204
204
  require('./chunk-IBS6NI7D.js');
205
205
 
@@ -423,5 +423,5 @@ require('./chunk-7QVYU63E.js');
423
423
 
424
424
 
425
425
 
426
- exports.ACTION_TYPES = _chunk3MUBMSDDjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkJ3DFHESBjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkJ3DFHESBjs.AbstractApiData; exports.AbstractService = _chunkJ3DFHESBjs.AbstractService; exports.Action = _chunkJ3DFHESBjs.Action; exports.Assistant = _chunkJ3DFHESBjs.Assistant; exports.AssistantMessage = _chunkJ3DFHESBjs.AssistantMessage; exports.AssistantMessageModule = _chunkJ3DFHESBjs.AssistantMessageModule; exports.AssistantMessageService = _chunkJ3DFHESBjs.AssistantMessageService; exports.AssistantModule = _chunkJ3DFHESBjs.AssistantModule; exports.AssistantService = _chunkJ3DFHESBjs.AssistantService; exports.AuditLog = _chunkJ3DFHESBjs.AuditLog; exports.AuditLogModule = _chunkJ3DFHESBjs.AuditLogModule; exports.AuditLogService = _chunkJ3DFHESBjs.AuditLogService; exports.Auth = _chunkJ3DFHESBjs.Auth; exports.AuthComponent = _chunkJ3DFHESBjs.AuthComponent; exports.AuthModule = _chunkJ3DFHESBjs.AuthModule; exports.AuthService = _chunkJ3DFHESBjs.AuthService; exports.AuthorModule = _chunkJ3DFHESBjs.AuthorModule; exports.BackupCodeVerify = _chunkJ3DFHESBjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkJ3DFHESBjs.BackupCodeVerifyModule; exports.Billing = _chunkJ3DFHESBjs.Billing; exports.BillingModule = _chunkJ3DFHESBjs.BillingModule; exports.BillingService = _chunkJ3DFHESBjs.BillingService; exports.BlockNoteDiffUtil = _chunkJ3DFHESBjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkJ3DFHESBjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunk3MUBMSDDjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.Chunk = _chunkJ3DFHESBjs.Chunk; exports.ChunkModule = _chunkJ3DFHESBjs.ChunkModule; exports.ClientAbstractService = _chunkJ3DFHESBjs.ClientAbstractService; exports.ClientHttpMethod = _chunkJ3DFHESBjs.ClientHttpMethod; exports.Company = _chunkJ3DFHESBjs.Company; exports.CompanyFields = _chunkJ3DFHESBjs.CompanyFields; exports.CompanyModule = _chunkJ3DFHESBjs.CompanyModule; exports.CompanyService = _chunkJ3DFHESBjs.CompanyService; exports.Content = _chunkJ3DFHESBjs.Content; exports.ContentFields = _chunkJ3DFHESBjs.ContentFields; exports.ContentModule = _chunkJ3DFHESBjs.ContentModule; exports.ContentService = _chunkJ3DFHESBjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkJ3DFHESBjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkJ5LROFGLjs.DataClassRegistry; exports.DataClassRegistry = _chunkJ5LROFGLjs.DataClassRegistry; exports.EndpointCreator = _chunkJ3DFHESBjs.EndpointCreator; exports.Feature = _chunkJ3DFHESBjs.Feature; exports.FeatureModule = _chunkJ3DFHESBjs.FeatureModule; exports.FeatureService = _chunkJ3DFHESBjs.FeatureService; exports.HowTo = _chunkJ3DFHESBjs.HowTo; exports.HowToFields = _chunkJ3DFHESBjs.HowToFields; exports.HowToModule = _chunkJ3DFHESBjs.HowToModule; exports.HowToService = _chunkJ3DFHESBjs.HowToService; exports.HttpMethod = _chunkJ3DFHESBjs.HttpMethod; exports.InvoiceStatus = _chunkJ3DFHESBjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkJ5LROFGLjs.JsonApiDataFactory; exports.Module = _chunkJ3DFHESBjs.Module; exports.ModuleModule = _chunkJ3DFHESBjs.ModuleModule; exports.ModulePaths = _chunkJ3DFHESBjs.ModulePaths; exports.ModulePathsModule = _chunkJ3DFHESBjs.ModulePathsModule; exports.ModuleRegistrar = _chunkJ3DFHESBjs.ModuleRegistrar; exports.ModuleRegistry = _chunkJ3DFHESBjs.ModuleRegistry; exports.Modules = _chunkJ3DFHESBjs.Modules; exports.Notification = _chunkJ3DFHESBjs.Notification; exports.NotificationFields = _chunkJ3DFHESBjs.NotificationFields; exports.NotificationModule = _chunkJ3DFHESBjs.NotificationModule; exports.NotificationService = _chunkJ3DFHESBjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkJ3DFHESBjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkJ3DFHESBjs.OAuthClient; exports.OAuthModule = _chunkJ3DFHESBjs.OAuthModule; exports.OAuthService = _chunkJ3DFHESBjs.OAuthService; exports.Passkey = _chunkJ3DFHESBjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkJ3DFHESBjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkJ3DFHESBjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkJ3DFHESBjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkJ3DFHESBjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkJ3DFHESBjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkJ3DFHESBjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkJ3DFHESBjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkJ3DFHESBjs.PasskeyRename; exports.PasskeyRenameModule = _chunkJ3DFHESBjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkJ3DFHESBjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkJ3DFHESBjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkJ3DFHESBjs.PaymentMethod; exports.PermissionMapping = _chunkJ3DFHESBjs.PermissionMapping; exports.PermissionMappingModule = _chunkJ3DFHESBjs.PermissionMappingModule; exports.Push = _chunkJ3DFHESBjs.Push; exports.PushModule = _chunkJ3DFHESBjs.PushModule; exports.PushService = _chunkJ3DFHESBjs.PushService; exports.RbacMatrixModel = _chunkJ3DFHESBjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkJ3DFHESBjs.RbacMatrixModule; exports.RbacService = _chunk3MUBMSDDjs.RbacService; exports.ReferralModule = _chunkJ3DFHESBjs.ReferralModule; exports.ReferralService = _chunkJ3DFHESBjs.ReferralService; exports.ReferralStats = _chunkJ3DFHESBjs.ReferralStats; exports.ReferralStatsModule = _chunkJ3DFHESBjs.ReferralStatsModule; exports.RehydrationFactory = _chunkJ3DFHESBjs.RehydrationFactory; exports.Role = _chunkJ3DFHESBjs.Role; exports.RoleFields = _chunkJ3DFHESBjs.RoleFields; exports.RoleModule = _chunkJ3DFHESBjs.RoleModule; exports.RoleService = _chunkJ3DFHESBjs.RoleService; exports.S3 = _chunkJ3DFHESBjs.S3; exports.S3Module = _chunkJ3DFHESBjs.S3Module; exports.S3Service = _chunkJ3DFHESBjs.S3Service; exports.StripeCustomer = _chunkJ3DFHESBjs.StripeCustomer; exports.StripeCustomerModule = _chunkJ3DFHESBjs.StripeCustomerModule; exports.StripeCustomerService = _chunkJ3DFHESBjs.StripeCustomerService; exports.StripeInvoice = _chunkJ3DFHESBjs.StripeInvoice; exports.StripeInvoiceModule = _chunkJ3DFHESBjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkJ3DFHESBjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkJ3DFHESBjs.StripePaymentMethodModule; exports.StripePrice = _chunkJ3DFHESBjs.StripePrice; exports.StripePriceModule = _chunkJ3DFHESBjs.StripePriceModule; exports.StripePriceService = _chunkJ3DFHESBjs.StripePriceService; exports.StripeProduct = _chunkJ3DFHESBjs.StripeProduct; exports.StripeProductModule = _chunkJ3DFHESBjs.StripeProductModule; exports.StripeProductService = _chunkJ3DFHESBjs.StripeProductService; exports.StripePromotionCode = _chunkJ3DFHESBjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkJ3DFHESBjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkJ3DFHESBjs.StripePromotionCodeService; exports.StripeSubscription = _chunkJ3DFHESBjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkJ3DFHESBjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkJ3DFHESBjs.StripeSubscriptionService; exports.StripeUsage = _chunkJ3DFHESBjs.StripeUsage; exports.StripeUsageModule = _chunkJ3DFHESBjs.StripeUsageModule; exports.StripeUsageService = _chunkJ3DFHESBjs.StripeUsageService; exports.SubscriptionStatus = _chunkJ3DFHESBjs.SubscriptionStatus; exports.TableOptions = _chunkJ3DFHESBjs.TableOptions; exports.TotpAuthenticator = _chunkJ3DFHESBjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkJ3DFHESBjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkJ3DFHESBjs.TotpSetup; exports.TotpSetupModule = _chunkJ3DFHESBjs.TotpSetupModule; exports.TotpVerify = _chunkJ3DFHESBjs.TotpVerify; exports.TotpVerifyLogin = _chunkJ3DFHESBjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkJ3DFHESBjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkJ3DFHESBjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkJ3DFHESBjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkJ3DFHESBjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkJ3DFHESBjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkJ3DFHESBjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkJ3DFHESBjs.TwoFactorService; exports.TwoFactorStatus = _chunkJ3DFHESBjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkJ3DFHESBjs.TwoFactorStatusModule; exports.User = _chunkJ3DFHESBjs.User; exports.UserFields = _chunkJ3DFHESBjs.UserFields; exports.UserModule = _chunkJ3DFHESBjs.UserModule; exports.UserService = _chunkJ3DFHESBjs.UserService; exports.Waitlist = _chunkJ3DFHESBjs.Waitlist; exports.WaitlistModule = _chunkJ3DFHESBjs.WaitlistModule; exports.WaitlistService = _chunkJ3DFHESBjs.WaitlistService; exports.WaitlistStats = _chunkJ3DFHESBjs.WaitlistStats; exports.WaitlistStatsModule = _chunkJ3DFHESBjs.WaitlistStatsModule; exports.checkPermissions = _chunkJ3DFHESBjs.checkPermissions; exports.checkPermissionsFromServer = _chunkJ3DFHESBjs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkJ3DFHESBjs.clearLastApiTotal; exports.cn = _chunkJ3DFHESBjs.cn; exports.composeRefs = _chunkJ3DFHESBjs.composeRefs; exports.configureAuth = _chunkJ3DFHESBjs.configureAuth; exports.configureI18n = _chunk3MUBMSDDjs.configureI18n; exports.configureJsonApi = _chunk3MUBMSDDjs.configureJsonApi; exports.configureLogin = _chunk3MUBMSDDjs.configureLogin; exports.configureReferral = _chunk3MUBMSDDjs.configureReferral; exports.configureRoles = _chunk3MUBMSDDjs.configureRoles; exports.configureWaitlist = _chunk3MUBMSDDjs.configureWaitlist; exports.createJsonApiInclusion = _chunkJ3DFHESBjs.createJsonApiInclusion; exports.dismissToast = _chunkJ3DFHESBjs.dismissToast; exports.entityObjectSchema = _chunkJ3DFHESBjs.entityObjectSchema; exports.exists = _chunkJ3DFHESBjs.exists; exports.formatDate = _chunkJ3DFHESBjs.formatDate; exports.formatLocalDate = _chunkJ3DFHESBjs.formatLocalDate; exports.getApiUrl = _chunk3MUBMSDDjs.getApiUrl; exports.getAppUrl = _chunk3MUBMSDDjs.getAppUrl; exports.getBootstrapper = _chunkJ5LROFGLjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkJ3DFHESBjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkJ3DFHESBjs.getGlobalErrorHandler; exports.getIcon = _chunkJ3DFHESBjs.getIcon; exports.getIconByModule = _chunkJ3DFHESBjs.getIconByModule; exports.getIconByModuleName = _chunkJ3DFHESBjs.getIconByModuleName; exports.getInitials = _chunkJ3DFHESBjs.getInitials; exports.getLastApiTotal = _chunkJ3DFHESBjs.getLastApiTotal; exports.getLucideIcon = _chunkJ3DFHESBjs.getLucideIcon; exports.getLucideIconByModule = _chunkJ3DFHESBjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkJ3DFHESBjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunk3MUBMSDDjs.getPublicApiUrl; exports.getReferralConfig = _chunk3MUBMSDDjs.getReferralConfig; exports.getRoleId = _chunk3MUBMSDDjs.getRoleId; exports.getStripePublishableKey = _chunk3MUBMSDDjs.getStripePublishableKey; exports.getTableComponents = _chunkJ3DFHESBjs.getTableComponents; exports.getTableOptions = _chunkJ3DFHESBjs.getTableOptions; exports.getTokenHandler = _chunkJ3DFHESBjs.getTokenHandler; exports.getTrackablePages = _chunk3MUBMSDDjs.getTrackablePages; exports.getValueFromPath = _chunkJ3DFHESBjs.getValueFromPath; exports.getWaitlistConfig = _chunk3MUBMSDDjs.getWaitlistConfig; exports.hasBootstrapper = _chunkJ5LROFGLjs.hasBootstrapper; exports.isReferralEnabled = _chunk3MUBMSDDjs.isReferralEnabled; exports.isRolesConfigured = _chunk3MUBMSDDjs.isRolesConfigured; exports.rehydrate = _chunkJ3DFHESBjs.rehydrate; exports.rehydrateList = _chunkJ3DFHESBjs.rehydrateList; exports.resetBootstrapStore = _chunkJ5LROFGLjs.resetBootstrapStore; exports.setBootstrapper = _chunkJ5LROFGLjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkJ3DFHESBjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkJ3DFHESBjs.setGlobalErrorHandler; exports.showCustomToast = _chunkJ3DFHESBjs.showCustomToast; exports.showError = _chunkJ3DFHESBjs.showError; exports.showToast = _chunkJ3DFHESBjs.showToast; exports.translateData = _chunkJ5LROFGLjs.translateData; exports.translateResponse = _chunkJ5LROFGLjs.translateResponse; exports.tryBootstrap = _chunkJ5LROFGLjs.tryBootstrap; exports.useComposedRefs = _chunkJ3DFHESBjs.useComposedRefs; exports.useIsMobile = _chunkJ3DFHESBjs.useIsMobile; exports.userObjectSchema = _chunkJ3DFHESBjs.userObjectSchema;
426
+ exports.ACTION_TYPES = _chunk6KLR3WJQjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkS2PTWBN6js.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkS2PTWBN6js.AbstractApiData; exports.AbstractService = _chunkS2PTWBN6js.AbstractService; exports.Action = _chunkS2PTWBN6js.Action; exports.Assistant = _chunkS2PTWBN6js.Assistant; exports.AssistantMessage = _chunkS2PTWBN6js.AssistantMessage; exports.AssistantMessageModule = _chunkS2PTWBN6js.AssistantMessageModule; exports.AssistantMessageService = _chunkS2PTWBN6js.AssistantMessageService; exports.AssistantModule = _chunkS2PTWBN6js.AssistantModule; exports.AssistantService = _chunkS2PTWBN6js.AssistantService; exports.AuditLog = _chunkS2PTWBN6js.AuditLog; exports.AuditLogModule = _chunkS2PTWBN6js.AuditLogModule; exports.AuditLogService = _chunkS2PTWBN6js.AuditLogService; exports.Auth = _chunkS2PTWBN6js.Auth; exports.AuthComponent = _chunkS2PTWBN6js.AuthComponent; exports.AuthModule = _chunkS2PTWBN6js.AuthModule; exports.AuthService = _chunkS2PTWBN6js.AuthService; exports.AuthorModule = _chunkS2PTWBN6js.AuthorModule; exports.BackupCodeVerify = _chunkS2PTWBN6js.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkS2PTWBN6js.BackupCodeVerifyModule; exports.Billing = _chunkS2PTWBN6js.Billing; exports.BillingModule = _chunkS2PTWBN6js.BillingModule; exports.BillingService = _chunkS2PTWBN6js.BillingService; exports.BlockNoteDiffUtil = _chunkS2PTWBN6js.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkS2PTWBN6js.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunk6KLR3WJQjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.Chunk = _chunkS2PTWBN6js.Chunk; exports.ChunkModule = _chunkS2PTWBN6js.ChunkModule; exports.ClientAbstractService = _chunkS2PTWBN6js.ClientAbstractService; exports.ClientHttpMethod = _chunkS2PTWBN6js.ClientHttpMethod; exports.Company = _chunkS2PTWBN6js.Company; exports.CompanyFields = _chunkS2PTWBN6js.CompanyFields; exports.CompanyModule = _chunkS2PTWBN6js.CompanyModule; exports.CompanyService = _chunkS2PTWBN6js.CompanyService; exports.Content = _chunkS2PTWBN6js.Content; exports.ContentFields = _chunkS2PTWBN6js.ContentFields; exports.ContentModule = _chunkS2PTWBN6js.ContentModule; exports.ContentService = _chunkS2PTWBN6js.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkS2PTWBN6js.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkJ5LROFGLjs.DataClassRegistry; exports.DataClassRegistry = _chunkJ5LROFGLjs.DataClassRegistry; exports.EndpointCreator = _chunkS2PTWBN6js.EndpointCreator; exports.Feature = _chunkS2PTWBN6js.Feature; exports.FeatureModule = _chunkS2PTWBN6js.FeatureModule; exports.FeatureService = _chunkS2PTWBN6js.FeatureService; exports.HowTo = _chunkS2PTWBN6js.HowTo; exports.HowToFields = _chunkS2PTWBN6js.HowToFields; exports.HowToModule = _chunkS2PTWBN6js.HowToModule; exports.HowToService = _chunkS2PTWBN6js.HowToService; exports.HttpMethod = _chunkS2PTWBN6js.HttpMethod; exports.InvoiceStatus = _chunkS2PTWBN6js.InvoiceStatus; exports.JsonApiDataFactory = _chunkJ5LROFGLjs.JsonApiDataFactory; exports.Module = _chunkS2PTWBN6js.Module; exports.ModuleModule = _chunkS2PTWBN6js.ModuleModule; exports.ModulePaths = _chunkS2PTWBN6js.ModulePaths; exports.ModulePathsModule = _chunkS2PTWBN6js.ModulePathsModule; exports.ModuleRegistrar = _chunkS2PTWBN6js.ModuleRegistrar; exports.ModuleRegistry = _chunkS2PTWBN6js.ModuleRegistry; exports.Modules = _chunkS2PTWBN6js.Modules; exports.Notification = _chunkS2PTWBN6js.Notification; exports.NotificationFields = _chunkS2PTWBN6js.NotificationFields; exports.NotificationModule = _chunkS2PTWBN6js.NotificationModule; exports.NotificationService = _chunkS2PTWBN6js.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkS2PTWBN6js.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkS2PTWBN6js.OAuthClient; exports.OAuthModule = _chunkS2PTWBN6js.OAuthModule; exports.OAuthService = _chunkS2PTWBN6js.OAuthService; exports.Passkey = _chunkS2PTWBN6js.Passkey; exports.PasskeyAuthenticationOptions = _chunkS2PTWBN6js.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkS2PTWBN6js.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkS2PTWBN6js.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkS2PTWBN6js.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkS2PTWBN6js.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkS2PTWBN6js.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkS2PTWBN6js.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkS2PTWBN6js.PasskeyRename; exports.PasskeyRenameModule = _chunkS2PTWBN6js.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkS2PTWBN6js.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkS2PTWBN6js.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkS2PTWBN6js.PaymentMethod; exports.PermissionMapping = _chunkS2PTWBN6js.PermissionMapping; exports.PermissionMappingModule = _chunkS2PTWBN6js.PermissionMappingModule; exports.Push = _chunkS2PTWBN6js.Push; exports.PushModule = _chunkS2PTWBN6js.PushModule; exports.PushService = _chunkS2PTWBN6js.PushService; exports.RbacMatrixModel = _chunkS2PTWBN6js.RbacMatrixModel; exports.RbacMatrixModule = _chunkS2PTWBN6js.RbacMatrixModule; exports.RbacService = _chunk6KLR3WJQjs.RbacService; exports.ReferralModule = _chunkS2PTWBN6js.ReferralModule; exports.ReferralService = _chunkS2PTWBN6js.ReferralService; exports.ReferralStats = _chunkS2PTWBN6js.ReferralStats; exports.ReferralStatsModule = _chunkS2PTWBN6js.ReferralStatsModule; exports.RehydrationFactory = _chunkS2PTWBN6js.RehydrationFactory; exports.Role = _chunkS2PTWBN6js.Role; exports.RoleFields = _chunkS2PTWBN6js.RoleFields; exports.RoleModule = _chunkS2PTWBN6js.RoleModule; exports.RoleService = _chunkS2PTWBN6js.RoleService; exports.S3 = _chunkS2PTWBN6js.S3; exports.S3Module = _chunkS2PTWBN6js.S3Module; exports.S3Service = _chunkS2PTWBN6js.S3Service; exports.StripeCustomer = _chunkS2PTWBN6js.StripeCustomer; exports.StripeCustomerModule = _chunkS2PTWBN6js.StripeCustomerModule; exports.StripeCustomerService = _chunkS2PTWBN6js.StripeCustomerService; exports.StripeInvoice = _chunkS2PTWBN6js.StripeInvoice; exports.StripeInvoiceModule = _chunkS2PTWBN6js.StripeInvoiceModule; exports.StripeInvoiceService = _chunkS2PTWBN6js.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkS2PTWBN6js.StripePaymentMethodModule; exports.StripePrice = _chunkS2PTWBN6js.StripePrice; exports.StripePriceModule = _chunkS2PTWBN6js.StripePriceModule; exports.StripePriceService = _chunkS2PTWBN6js.StripePriceService; exports.StripeProduct = _chunkS2PTWBN6js.StripeProduct; exports.StripeProductModule = _chunkS2PTWBN6js.StripeProductModule; exports.StripeProductService = _chunkS2PTWBN6js.StripeProductService; exports.StripePromotionCode = _chunkS2PTWBN6js.StripePromotionCode; exports.StripePromotionCodeModule = _chunkS2PTWBN6js.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkS2PTWBN6js.StripePromotionCodeService; exports.StripeSubscription = _chunkS2PTWBN6js.StripeSubscription; exports.StripeSubscriptionModule = _chunkS2PTWBN6js.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkS2PTWBN6js.StripeSubscriptionService; exports.StripeUsage = _chunkS2PTWBN6js.StripeUsage; exports.StripeUsageModule = _chunkS2PTWBN6js.StripeUsageModule; exports.StripeUsageService = _chunkS2PTWBN6js.StripeUsageService; exports.SubscriptionStatus = _chunkS2PTWBN6js.SubscriptionStatus; exports.TableOptions = _chunkS2PTWBN6js.TableOptions; exports.TotpAuthenticator = _chunkS2PTWBN6js.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkS2PTWBN6js.TotpAuthenticatorModule; exports.TotpSetup = _chunkS2PTWBN6js.TotpSetup; exports.TotpSetupModule = _chunkS2PTWBN6js.TotpSetupModule; exports.TotpVerify = _chunkS2PTWBN6js.TotpVerify; exports.TotpVerifyLogin = _chunkS2PTWBN6js.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkS2PTWBN6js.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkS2PTWBN6js.TotpVerifyModule; exports.TwoFactorChallenge = _chunkS2PTWBN6js.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkS2PTWBN6js.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkS2PTWBN6js.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkS2PTWBN6js.TwoFactorEnableModule; exports.TwoFactorService = _chunkS2PTWBN6js.TwoFactorService; exports.TwoFactorStatus = _chunkS2PTWBN6js.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkS2PTWBN6js.TwoFactorStatusModule; exports.User = _chunkS2PTWBN6js.User; exports.UserFields = _chunkS2PTWBN6js.UserFields; exports.UserModule = _chunkS2PTWBN6js.UserModule; exports.UserService = _chunkS2PTWBN6js.UserService; exports.Waitlist = _chunkS2PTWBN6js.Waitlist; exports.WaitlistModule = _chunkS2PTWBN6js.WaitlistModule; exports.WaitlistService = _chunkS2PTWBN6js.WaitlistService; exports.WaitlistStats = _chunkS2PTWBN6js.WaitlistStats; exports.WaitlistStatsModule = _chunkS2PTWBN6js.WaitlistStatsModule; exports.checkPermissions = _chunkS2PTWBN6js.checkPermissions; exports.checkPermissionsFromServer = _chunkS2PTWBN6js.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkS2PTWBN6js.clearLastApiTotal; exports.cn = _chunkS2PTWBN6js.cn; exports.composeRefs = _chunkS2PTWBN6js.composeRefs; exports.configureAuth = _chunkS2PTWBN6js.configureAuth; exports.configureI18n = _chunk6KLR3WJQjs.configureI18n; exports.configureJsonApi = _chunk6KLR3WJQjs.configureJsonApi; exports.configureLogin = _chunk6KLR3WJQjs.configureLogin; exports.configureReferral = _chunk6KLR3WJQjs.configureReferral; exports.configureRoles = _chunk6KLR3WJQjs.configureRoles; exports.configureWaitlist = _chunk6KLR3WJQjs.configureWaitlist; exports.createJsonApiInclusion = _chunkS2PTWBN6js.createJsonApiInclusion; exports.dismissToast = _chunkS2PTWBN6js.dismissToast; exports.entityObjectSchema = _chunkS2PTWBN6js.entityObjectSchema; exports.exists = _chunkS2PTWBN6js.exists; exports.formatDate = _chunkS2PTWBN6js.formatDate; exports.formatLocalDate = _chunkS2PTWBN6js.formatLocalDate; exports.getApiUrl = _chunk6KLR3WJQjs.getApiUrl; exports.getAppUrl = _chunk6KLR3WJQjs.getAppUrl; exports.getBootstrapper = _chunkJ5LROFGLjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkS2PTWBN6js.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkS2PTWBN6js.getGlobalErrorHandler; exports.getIcon = _chunkS2PTWBN6js.getIcon; exports.getIconByModule = _chunkS2PTWBN6js.getIconByModule; exports.getIconByModuleName = _chunkS2PTWBN6js.getIconByModuleName; exports.getInitials = _chunkS2PTWBN6js.getInitials; exports.getLastApiTotal = _chunkS2PTWBN6js.getLastApiTotal; exports.getLucideIcon = _chunkS2PTWBN6js.getLucideIcon; exports.getLucideIconByModule = _chunkS2PTWBN6js.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkS2PTWBN6js.getLucideIconByModuleName; exports.getPublicApiUrl = _chunk6KLR3WJQjs.getPublicApiUrl; exports.getReferralConfig = _chunk6KLR3WJQjs.getReferralConfig; exports.getRoleId = _chunk6KLR3WJQjs.getRoleId; exports.getStripePublishableKey = _chunk6KLR3WJQjs.getStripePublishableKey; exports.getTableComponents = _chunkS2PTWBN6js.getTableComponents; exports.getTableOptions = _chunkS2PTWBN6js.getTableOptions; exports.getTokenHandler = _chunkS2PTWBN6js.getTokenHandler; exports.getTrackablePages = _chunk6KLR3WJQjs.getTrackablePages; exports.getValueFromPath = _chunkS2PTWBN6js.getValueFromPath; exports.getWaitlistConfig = _chunk6KLR3WJQjs.getWaitlistConfig; exports.hasBootstrapper = _chunkJ5LROFGLjs.hasBootstrapper; exports.isReferralEnabled = _chunk6KLR3WJQjs.isReferralEnabled; exports.isRolesConfigured = _chunk6KLR3WJQjs.isRolesConfigured; exports.rehydrate = _chunkS2PTWBN6js.rehydrate; exports.rehydrateList = _chunkS2PTWBN6js.rehydrateList; exports.resetBootstrapStore = _chunkJ5LROFGLjs.resetBootstrapStore; exports.setBootstrapper = _chunkJ5LROFGLjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkS2PTWBN6js.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkS2PTWBN6js.setGlobalErrorHandler; exports.showCustomToast = _chunkS2PTWBN6js.showCustomToast; exports.showError = _chunkS2PTWBN6js.showError; exports.showToast = _chunkS2PTWBN6js.showToast; exports.translateData = _chunkJ5LROFGLjs.translateData; exports.translateResponse = _chunkJ5LROFGLjs.translateResponse; exports.tryBootstrap = _chunkJ5LROFGLjs.tryBootstrap; exports.useComposedRefs = _chunkS2PTWBN6js.useComposedRefs; exports.useIsMobile = _chunkS2PTWBN6js.useIsMobile; exports.userObjectSchema = _chunkS2PTWBN6js.userObjectSchema;
427
427
  //# sourceMappingURL=index.js.map
package/dist/index.mjs CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  getWaitlistConfig,
19
19
  isReferralEnabled,
20
20
  isRolesConfigured
21
- } from "./chunk-SJRSR3AF.mjs";
21
+ } from "./chunk-WEPQD5MP.mjs";
22
22
  import {
23
23
  AVAILABLE_OAUTH_SCOPES,
24
24
  AbstractApiData,
@@ -199,7 +199,7 @@ import {
199
199
  useComposedRefs,
200
200
  useIsMobile,
201
201
  userObjectSchema
202
- } from "./chunk-UBBTQUFB.mjs";
202
+ } from "./chunk-M7XAKLSP.mjs";
203
203
  import "./chunk-AUXK7QSA.mjs";
204
204
  import "./chunk-C7C7VY4F.mjs";
205
205
  import {
@@ -117,7 +117,8 @@ interface NotificationInterface extends ApiDataInterface {
117
117
  get isRead(): boolean;
118
118
  get message(): string | undefined;
119
119
  get actionUrl(): string | undefined;
120
- get actor(): UserInterface | undefined;
120
+ get actor(): ApiDataInterface | undefined;
121
+ get subject(): ApiDataInterface | undefined;
121
122
  }
122
123
 
123
124
  export type { ContentInterface as C, NotificationInterface as N, RoleInput as R, UserInterface as U, ContentInput as a, CompanyInput as b, CompanyInterface as c, NotificationInput as d, RoleInterface as e, UserInput as f };
@@ -117,7 +117,8 @@ interface NotificationInterface extends ApiDataInterface {
117
117
  get isRead(): boolean;
118
118
  get message(): string | undefined;
119
119
  get actionUrl(): string | undefined;
120
- get actor(): UserInterface | undefined;
120
+ get actor(): ApiDataInterface | undefined;
121
+ get subject(): ApiDataInterface | undefined;
121
122
  }
122
123
 
123
124
  export type { ContentInterface as C, NotificationInterface as N, RoleInput as R, UserInterface as U, ContentInput as a, CompanyInput as b, CompanyInterface as c, NotificationInput as d, RoleInterface as e, UserInput as f };
@@ -1,7 +1,7 @@
1
1
  import { F as FeatureInterface } from './feature.interface-CXb1-vNq.mjs';
2
- import { e as RoleInterface, U as UserInterface, f as UserInput, c as CompanyInterface, b as CompanyInput, C as ContentInterface, N as NotificationInterface } from './notification.interface-DIxR23eS.mjs';
2
+ import { e as RoleInterface, U as UserInterface, f as UserInput, c as CompanyInterface, b as CompanyInput, C as ContentInterface, N as NotificationInterface } from './notification.interface-B3kNUTZs.mjs';
3
3
  import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from './ApiDataInterface-BcZeXy5X.mjs';
4
- import { A as AuthInput, b as AuthInterface } from './auth.interface-CXBF8Mhi.mjs';
4
+ import { A as AuthInput, b as AuthInterface } from './auth.interface-r3XKYOrQ.mjs';
5
5
  import { A as ApiRequestDataTypeInterface } from './ApiRequestDataTypeInterface-CYEcRUrh.mjs';
6
6
 
7
7
  declare enum HttpMethod {
@@ -1,7 +1,7 @@
1
1
  import { F as FeatureInterface } from './feature.interface-BO25VLlx.js';
2
- import { e as RoleInterface, U as UserInterface, f as UserInput, c as CompanyInterface, b as CompanyInput, C as ContentInterface, N as NotificationInterface } from './notification.interface-C1T1C2ee.js';
2
+ import { e as RoleInterface, U as UserInterface, f as UserInput, c as CompanyInterface, b as CompanyInput, C as ContentInterface, N as NotificationInterface } from './notification.interface-LKFmZndR.js';
3
3
  import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from './ApiDataInterface-BcZeXy5X.js';
4
- import { A as AuthInput, b as AuthInterface } from './auth.interface-8b601idJ.js';
4
+ import { A as AuthInput, b as AuthInterface } from './auth.interface-yivTb46w.js';
5
5
  import { A as ApiRequestDataTypeInterface } from './ApiRequestDataTypeInterface-CYEcRUrh.js';
6
6
 
7
7
  declare enum HttpMethod {
@@ -2,12 +2,12 @@ import { A as ApiData } from '../ApiData-DPKNfY-9.mjs';
2
2
  import { M as ModuleWithPermissions, A as Action } from '../types-CQSjy7et.mjs';
3
3
  import { A as ApiRequestDataTypeInterface } from '../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
4
4
  import { A as ApiResponseInterface } from '../ApiResponseInterface-rsXRL_Hn.mjs';
5
- export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-CAL5dhGG.mjs';
5
+ export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-CihgBy97.mjs';
6
6
  import 'lucide-react';
7
7
  import '../ApiDataInterface-BcZeXy5X.mjs';
8
8
  import '../feature.interface-CXb1-vNq.mjs';
9
- import '../notification.interface-DIxR23eS.mjs';
10
- import '../auth.interface-CXBF8Mhi.mjs';
9
+ import '../notification.interface-B3kNUTZs.mjs';
10
+ import '../auth.interface-r3XKYOrQ.mjs';
11
11
 
12
12
  type CacheProfile = "seconds" | "minutes" | "hours" | "days" | "weeks" | "max" | "default";
13
13
  /**
@@ -2,12 +2,12 @@ import { A as ApiData } from '../ApiData-DPKNfY-9.js';
2
2
  import { M as ModuleWithPermissions, A as Action } from '../types-DHOxe8rc.js';
3
3
  import { A as ApiRequestDataTypeInterface } from '../ApiRequestDataTypeInterface-CYEcRUrh.js';
4
4
  import { A as ApiResponseInterface } from '../ApiResponseInterface-CWLvSCvS.js';
5
- export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-COLYvcW2.js';
5
+ export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-Cyvfk3qV.js';
6
6
  import 'lucide-react';
7
7
  import '../ApiDataInterface-BcZeXy5X.js';
8
8
  import '../feature.interface-BO25VLlx.js';
9
- import '../notification.interface-C1T1C2ee.js';
10
- import '../auth.interface-8b601idJ.js';
9
+ import '../notification.interface-LKFmZndR.js';
10
+ import '../auth.interface-yivTb46w.js';
11
11
 
12
12
  type CacheProfile = "seconds" | "minutes" | "hours" | "days" | "weeks" | "max" | "default";
13
13
  /**
@@ -15,7 +15,7 @@ var _chunkIOLU4ASDjs = require('../chunk-IOLU4ASD.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkJ3DFHESBjs = require('../chunk-J3DFHESB.js');
18
+ var _chunkS2PTWBN6js = require('../chunk-S2PTWBN6.js');
19
19
  require('../chunk-LXKSUWAV.js');
20
20
  require('../chunk-IBS6NI7D.js');
21
21
 
@@ -86,7 +86,7 @@ var ServerSession = class {
86
86
  if (!rawModules) return false;
87
87
  const modules = JSON.parse(_pako2.default.ungzip(Buffer.from(rawModules, "base64"), { to: "string" }));
88
88
  const selectedModule = modules.find((module) => module.id === params.module.moduleId);
89
- return _chunkJ3DFHESBjs.checkPermissionsFromServer.call(void 0, {
89
+ return _chunkS2PTWBN6js.checkPermissionsFromServer.call(void 0, {
90
90
  module: params.module,
91
91
  action: params.action,
92
92
  data: params.data,
@@ -296,5 +296,5 @@ _chunk7QVYU63Ejs.__name.call(void 0, ServerJsonApiDelete, "ServerJsonApiDelete")
296
296
 
297
297
 
298
298
 
299
- exports.ServerAuthService = _chunkJ3DFHESBjs.AuthService; exports.ServerCompanyService = _chunkJ3DFHESBjs.CompanyService; exports.ServerContentService = _chunkJ3DFHESBjs.ContentService; exports.ServerFeatureService = _chunkJ3DFHESBjs.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunkJ3DFHESBjs.NotificationService; exports.ServerPushService = _chunkJ3DFHESBjs.PushService; exports.ServerRoleService = _chunkJ3DFHESBjs.RoleService; exports.ServerS3Service = _chunkJ3DFHESBjs.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunkJ3DFHESBjs.UserService; exports.configureServerJsonApi = configureServerJsonApi; exports.getServerApiUrl = getServerApiUrl; exports.getServerAppUrl = getServerAppUrl; exports.getServerToken = _chunkYUO55Q5Ajs.getServerToken; exports.getServerTrackablePages = getServerTrackablePages; exports.invalidateCacheTag = invalidateCacheTag; exports.invalidateCacheTags = invalidateCacheTags; exports.serverRequest = _chunkIOLU4ASDjs.serverRequest;
299
+ exports.ServerAuthService = _chunkS2PTWBN6js.AuthService; exports.ServerCompanyService = _chunkS2PTWBN6js.CompanyService; exports.ServerContentService = _chunkS2PTWBN6js.ContentService; exports.ServerFeatureService = _chunkS2PTWBN6js.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunkS2PTWBN6js.NotificationService; exports.ServerPushService = _chunkS2PTWBN6js.PushService; exports.ServerRoleService = _chunkS2PTWBN6js.RoleService; exports.ServerS3Service = _chunkS2PTWBN6js.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunkS2PTWBN6js.UserService; exports.configureServerJsonApi = configureServerJsonApi; exports.getServerApiUrl = getServerApiUrl; exports.getServerAppUrl = getServerAppUrl; exports.getServerToken = _chunkYUO55Q5Ajs.getServerToken; exports.getServerTrackablePages = getServerTrackablePages; exports.invalidateCacheTag = invalidateCacheTag; exports.invalidateCacheTags = invalidateCacheTags; exports.serverRequest = _chunkIOLU4ASDjs.serverRequest;
300
300
  //# sourceMappingURL=index.js.map
@@ -15,7 +15,7 @@ import {
15
15
  S3Service,
16
16
  UserService,
17
17
  checkPermissionsFromServer
18
- } from "../chunk-UBBTQUFB.mjs";
18
+ } from "../chunk-M7XAKLSP.mjs";
19
19
  import "../chunk-AUXK7QSA.mjs";
20
20
  import "../chunk-C7C7VY4F.mjs";
21
21
  import {
@@ -1,4 +1,4 @@
1
- import { N as NotificationInterface } from './notification.interface-DIxR23eS.mjs';
1
+ import { N as NotificationInterface } from './notification.interface-B3kNUTZs.mjs';
2
2
 
3
3
  interface UseSocketOptions {
4
4
  token: string;
@@ -1,4 +1,4 @@
1
- import { N as NotificationInterface } from './notification.interface-C1T1C2ee.js';
1
+ import { N as NotificationInterface } from './notification.interface-LKFmZndR.js';
2
2
 
3
3
  interface UseSocketOptions {
4
4
  token: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlonicora/nextjs-jsonapi",
3
- "version": "1.115.0",
3
+ "version": "1.116.0",
4
4
  "description": "Next.js JSON:API client with server/client support and caching",
5
5
  "author": "Carlo Nicora",
6
6
  "license": "GPL-3.0-or-later",
@@ -1,5 +1,4 @@
1
1
  import { ApiDataInterface } from "../../../core";
2
- import { UserInterface } from "../../user";
3
2
 
4
3
  export type NotificationInput = {
5
4
  id: string;
@@ -12,5 +11,6 @@ export interface NotificationInterface extends ApiDataInterface {
12
11
  get message(): string | undefined;
13
12
  get actionUrl(): string | undefined;
14
13
 
15
- get actor(): UserInterface | undefined;
14
+ get actor(): ApiDataInterface | undefined;
15
+ get subject(): ApiDataInterface | undefined;
16
16
  }
@@ -1,5 +1,4 @@
1
- import { AbstractApiData, JsonApiHydratedDataInterface, Modules } from "../../../core";
2
- import { UserInterface } from "../../user";
1
+ import { AbstractApiData, ApiDataInterface, JsonApiHydratedDataInterface, Modules } from "../../../core";
3
2
  import { NotificationInput, NotificationInterface } from "./notification.interface";
4
3
 
5
4
  export class Notification extends AbstractApiData implements NotificationInterface {
@@ -8,7 +7,8 @@ export class Notification extends AbstractApiData implements NotificationInterfa
8
7
  private _message?: string;
9
8
  private _actionUrl?: string;
10
9
 
11
- private _actor?: UserInterface;
10
+ private _actor?: ApiDataInterface;
11
+ private _subject?: ApiDataInterface;
12
12
 
13
13
  get notificationType(): string {
14
14
  if (this._notificationType === undefined) throw new Error("notificationType is not set");
@@ -27,10 +27,14 @@ export class Notification extends AbstractApiData implements NotificationInterfa
27
27
  return this._actionUrl;
28
28
  }
29
29
 
30
- get actor(): UserInterface | undefined {
30
+ get actor(): ApiDataInterface | undefined {
31
31
  return this._actor;
32
32
  }
33
33
 
34
+ get subject(): ApiDataInterface | undefined {
35
+ return this._subject;
36
+ }
37
+
34
38
  rehydrate(data: JsonApiHydratedDataInterface): this {
35
39
  super.rehydrate(data);
36
40
 
@@ -39,7 +43,19 @@ export class Notification extends AbstractApiData implements NotificationInterfa
39
43
  this._message = data.jsonApi.attributes.message;
40
44
  this._actionUrl = data.jsonApi.attributes.actionUrl;
41
45
 
42
- this._actor = this._readIncluded(data, "actor", Modules.User) as UserInterface;
46
+ const rels = (data.jsonApi.relationships ?? {}) as Record<string, { data?: { type: string; id: string } }>;
47
+
48
+ const actorType = rels.actor?.data?.type;
49
+ this._actor = actorType
50
+ ? (this._readIncluded(data, "actor", Modules.findByName(actorType)) as ApiDataInterface)
51
+ : undefined;
52
+
53
+ const subjectName = Object.keys(rels).find((name) => name !== "actor" && rels[name]?.data?.type);
54
+ const subjectType = subjectName ? rels[subjectName]?.data?.type : undefined;
55
+ this._subject =
56
+ subjectName && subjectType
57
+ ? (this._readIncluded(data, subjectName, Modules.findByName(subjectType)) as ApiDataInterface)
58
+ : undefined;
43
59
 
44
60
  return this;
45
61
  }