@carlonicora/nextjs-jsonapi 1.109.0 → 1.110.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 (146) hide show
  1. package/dist/{AssistantMessageInterface-Cs1yb-gF.d.ts → AssistantMessageInterface-BNzf1etU.d.ts} +14 -1
  2. package/dist/{AssistantMessageInterface-DQ3mH5L8.d.mts → AssistantMessageInterface-DrgHDjZ5.d.mts} +14 -1
  3. package/dist/{BlockNoteEditor-3XYBZLWO.js → BlockNoteEditor-7OKW6HHN.js} +19 -20
  4. package/dist/BlockNoteEditor-7OKW6HHN.js.map +1 -0
  5. package/dist/{BlockNoteEditor-EBFZG7AL.mjs → BlockNoteEditor-K7IIWM3S.mjs} +4 -5
  6. package/dist/{BlockNoteEditor-EBFZG7AL.mjs.map → BlockNoteEditor-K7IIWM3S.mjs.map} +1 -1
  7. package/dist/BlockNoteViewer-OPSCTHKJ.mjs +31 -0
  8. package/dist/BlockNoteViewer-OPSCTHKJ.mjs.map +1 -0
  9. package/dist/BlockNoteViewer-UW5VZ5UF.js +31 -0
  10. package/dist/BlockNoteViewer-UW5VZ5UF.js.map +1 -0
  11. package/dist/billing/index.d.mts +41 -41
  12. package/dist/billing/index.d.ts +41 -41
  13. package/dist/billing/index.js +346 -347
  14. package/dist/billing/index.js.map +1 -1
  15. package/dist/billing/index.mjs +3 -4
  16. package/dist/billing/index.mjs.map +1 -1
  17. package/dist/{chunk-7E3O52U5.js → chunk-6XWW67F2.js} +25 -12
  18. package/dist/chunk-6XWW67F2.js.map +1 -0
  19. package/dist/{chunk-UHO3KUUH.js → chunk-AKXUNE3A.js} +977 -850
  20. package/dist/chunk-AKXUNE3A.js.map +1 -0
  21. package/dist/{chunk-UOYIWJEJ.mjs → chunk-CWVYU4YZ.mjs} +18 -5
  22. package/dist/{chunk-UOYIWJEJ.mjs.map → chunk-CWVYU4YZ.mjs.map} +1 -1
  23. package/dist/{chunk-CRTVAQEK.mjs → chunk-TXVVZLUQ.mjs} +1388 -1261
  24. package/dist/chunk-TXVVZLUQ.mjs.map +1 -0
  25. package/dist/{chunk-CFI4WZ5R.js → chunk-U2HR57MY.js} +111 -5
  26. package/dist/chunk-U2HR57MY.js.map +1 -0
  27. package/dist/chunk-WPAQRB5Q.mjs +7 -0
  28. package/dist/chunk-WPAQRB5Q.mjs.map +1 -0
  29. package/dist/chunk-YBZVWLPH.js +7 -0
  30. package/dist/chunk-YBZVWLPH.js.map +1 -0
  31. package/dist/{chunk-MSNNAHDB.mjs → chunk-ZYPNVEHB.mjs} +112 -6
  32. package/dist/{chunk-MSNNAHDB.mjs.map → chunk-ZYPNVEHB.mjs.map} +1 -1
  33. package/dist/client/index.d.mts +3 -4
  34. package/dist/client/index.d.ts +3 -4
  35. package/dist/client/index.js +4 -5
  36. package/dist/client/index.js.map +1 -1
  37. package/dist/client/index.mjs +3 -4
  38. package/dist/components/index.d.mts +418 -415
  39. package/dist/components/index.d.ts +418 -415
  40. package/dist/components/index.js +6 -5
  41. package/dist/components/index.js.map +1 -1
  42. package/dist/components/index.mjs +5 -4
  43. package/dist/{config-CN23v3eJ.d.ts → config-BrkU_Ynz.d.ts} +2 -2
  44. package/dist/{config-gh88Qn4h.d.mts → config-snd2ToEB.d.mts} +2 -2
  45. package/dist/contexts/index.d.mts +15 -15
  46. package/dist/contexts/index.d.ts +15 -15
  47. package/dist/contexts/index.js +4 -5
  48. package/dist/contexts/index.js.map +1 -1
  49. package/dist/contexts/index.mjs +3 -4
  50. package/dist/core/index.d.mts +35 -4
  51. package/dist/core/index.d.ts +35 -4
  52. package/dist/core/index.js +2 -2
  53. package/dist/core/index.mjs +1 -1
  54. package/dist/features/help/index.d.mts +25 -66
  55. package/dist/features/help/index.d.ts +25 -66
  56. package/dist/features/help/index.js +114 -124
  57. package/dist/features/help/index.js.map +1 -1
  58. package/dist/features/help/index.mjs +95 -105
  59. package/dist/features/help/index.mjs.map +1 -1
  60. package/dist/features/help/server.d.mts +27 -65
  61. package/dist/features/help/server.d.ts +27 -65
  62. package/dist/features/help/server.js +4 -119
  63. package/dist/features/help/server.js.map +1 -1
  64. package/dist/features/help/server.mjs +4 -119
  65. package/dist/features/help/server.mjs.map +1 -1
  66. package/dist/help-content-config.interface-C5ESIod9.d.mts +13 -0
  67. package/dist/help-content-config.interface-C5ESIod9.d.ts +13 -0
  68. package/dist/index.d.mts +3 -3
  69. package/dist/index.d.ts +3 -3
  70. package/dist/index.js +3 -4
  71. package/dist/index.js.map +1 -1
  72. package/dist/index.mjs +2 -3
  73. package/dist/server/index.js +3 -3
  74. package/dist/server/index.mjs +1 -1
  75. package/dist/testing/index.d.mts +1 -2
  76. package/dist/testing/index.d.ts +1 -2
  77. package/package.json +1 -6
  78. package/src/client/config.ts +1 -1
  79. package/src/components/index.ts +1 -0
  80. package/src/components/viewers/BlockNoteViewer.tsx +27 -0
  81. package/src/components/viewers/BlockNoteViewerContainer.tsx +10 -0
  82. package/src/core/registry/helpStore.ts +2 -19
  83. package/src/features/assistant-message/components/parts/MessageSourcesContainer.tsx +4 -0
  84. package/src/features/assistant-message/components/parts/tabs/ContentsTab.tsx +5 -5
  85. package/src/features/assistant-message/components/parts/tabs/ReferencesTab.tsx +3 -2
  86. package/src/features/help/components/HelpArticleBody.tsx +27 -19
  87. package/src/features/help/components/HelpHint.tsx +20 -11
  88. package/src/features/help/components/HelpSearchResultRow.tsx +16 -6
  89. package/src/features/help/components/HelpSideNav.tsx +54 -19
  90. package/src/features/help/components/__tests__/HelpAskAi.spec.tsx +1 -1
  91. package/src/features/help/components/__tests__/HelpHint.spec.tsx +17 -17
  92. package/src/features/help/components/__tests__/HelpSearchResultRow.spec.tsx +18 -19
  93. package/src/features/help/components/__tests__/HelpSideNav.spec.tsx +20 -22
  94. package/src/features/help/contexts/HelpContext.spec.tsx +1 -3
  95. package/src/features/help/index.ts +3 -6
  96. package/src/features/help/interfaces/help-content-config.interface.ts +0 -5
  97. package/src/features/help/server-entry.ts +6 -15
  98. package/src/features/help/types/help-article.types.ts +2 -4
  99. package/src/features/how-to/HowToModule.ts +14 -1
  100. package/src/features/how-to/components/forms/HowToEditor.tsx +108 -4
  101. package/src/features/how-to/data/HowTo.spec.ts +43 -0
  102. package/src/features/how-to/data/HowTo.ts +47 -4
  103. package/src/features/how-to/data/HowToInterface.ts +14 -1
  104. package/src/features/how-to/data/HowToService.ts +61 -0
  105. package/dist/BlockNoteEditor-3XYBZLWO.js.map +0 -1
  106. package/dist/chunk-3J7RQBF3.js +0 -123
  107. package/dist/chunk-3J7RQBF3.js.map +0 -1
  108. package/dist/chunk-7E3O52U5.js.map +0 -1
  109. package/dist/chunk-CFI4WZ5R.js.map +0 -1
  110. package/dist/chunk-CQID6RCF.mjs +0 -38
  111. package/dist/chunk-CQID6RCF.mjs.map +0 -1
  112. package/dist/chunk-CRTVAQEK.mjs.map +0 -1
  113. package/dist/chunk-MZTKPPET.mjs +0 -123
  114. package/dist/chunk-MZTKPPET.mjs.map +0 -1
  115. package/dist/chunk-UHO3KUUH.js.map +0 -1
  116. package/dist/chunk-YQQHAFBS.js +0 -38
  117. package/dist/chunk-YQQHAFBS.js.map +0 -1
  118. package/dist/features/help/server/createHelpAssetRouteHandler.d.mts +0 -11
  119. package/dist/features/help/server/createHelpAssetRouteHandler.d.ts +0 -11
  120. package/dist/features/help/server/createHelpAssetRouteHandler.js +0 -43
  121. package/dist/features/help/server/createHelpAssetRouteHandler.js.map +0 -1
  122. package/dist/features/help/server/createHelpAssetRouteHandler.mjs +0 -43
  123. package/dist/features/help/server/createHelpAssetRouteHandler.mjs.map +0 -1
  124. package/dist/help-content-config.interface-B9L02u9i.d.mts +0 -50
  125. package/dist/help-content-config.interface-B9L02u9i.d.ts +0 -50
  126. package/src/features/help/components/mdx/Callout.tsx +0 -21
  127. package/src/features/help/components/mdx/EntityRef.tsx +0 -18
  128. package/src/features/help/components/mdx/KeyBinding.tsx +0 -6
  129. package/src/features/help/components/mdx/Related.tsx +0 -33
  130. package/src/features/help/components/mdx/Screenshot.tsx +0 -9
  131. package/src/features/help/components/mdx/Steps.tsx +0 -21
  132. package/src/features/help/components/mdx/Video.tsx +0 -8
  133. package/src/features/help/components/mdx/mdx-server-components.ts +0 -23
  134. package/src/features/help/components/mdx/mdxComponents.ts +0 -9
  135. package/src/features/help/hooks/useHelpArticle.ts +0 -7
  136. package/src/features/help/hooks/useHelpManifest.ts +0 -5
  137. package/src/features/help/server/__tests__/createHelpAssetRouteHandler.spec.ts +0 -43
  138. package/src/features/help/server/createHelpAssetRouteHandler.ts +0 -35
  139. package/src/features/help/server/generateHelpArticleMetadata.ts +0 -18
  140. package/src/features/help/server/generateHelpArticleStaticParams.ts +0 -7
  141. package/src/features/help/server/generateHelpModeStaticParams.ts +0 -5
  142. package/src/features/help/server/getHelpContent.ts +0 -17
  143. package/src/features/help/server/index.ts +0 -8
  144. package/src/features/help/server/serializeHelpArticle.tsx +0 -46
  145. package/src/features/help/utils/__tests__/helpNavigation.spec.ts +0 -70
  146. package/src/features/help/utils/helpNavigation.ts +0 -29
@@ -1,123 +1,8 @@
1
1
  import {
2
- Callout,
3
- EntityRef,
4
- HELP_MODES,
5
- KeyBinding,
6
- Screenshot,
7
- Step,
8
- Steps,
9
- Video,
10
- buildHelpNav,
11
- findHelpArticle,
12
- prevNextWithinMode
13
- } from "../../chunk-MZTKPPET.mjs";
14
- import {
15
- _getStaticHelpContent,
16
- _getStaticHelpReader,
17
- setHelpReader
18
- } from "../../chunk-CQID6RCF.mjs";
19
- import "../../chunk-MSNNAHDB.mjs";
20
- import "../../chunk-AUXK7QSA.mjs";
21
- import "../../chunk-C7C7VY4F.mjs";
22
- import "../../chunk-KK7PYKVI.mjs";
23
- import {
24
- __name
25
- } from "../../chunk-PAWJFY3S.mjs";
26
-
27
- // src/features/help/server/getHelpContent.ts
28
- function getHelpContent() {
29
- const cfg = _getStaticHelpContent();
30
- if (!cfg) {
31
- throw new Error(
32
- "Help content not configured \u2014 call configureJsonApi({ helpContent: {...} }) before importing help pages."
33
- );
34
- }
35
- return cfg;
36
- }
37
- __name(getHelpContent, "getHelpContent");
38
-
39
- // src/features/help/server/serializeHelpArticle.tsx
40
- import { MDXRemote } from "next-mdx-remote/rsc";
41
- import remarkGfm from "remark-gfm";
42
- import rehypeSlug from "rehype-slug";
43
- import rehypeAutolinkHeadings from "rehype-autolink-headings";
44
-
45
- // src/features/help/components/mdx/mdx-server-components.ts
46
- var MDX_SERVER_COMPONENTS = {
47
- Callout,
48
- Steps,
49
- Step,
50
- Screenshot,
51
- EntityRef,
52
- KeyBinding,
53
- Video
54
- };
55
-
56
- // src/features/help/server/serializeHelpArticle.tsx
57
- import { jsx } from "react/jsx-runtime";
58
- async function renderHelpArticle(article) {
59
- const readRawMarkdown = _getStaticHelpReader();
60
- if (!readRawMarkdown) {
61
- throw new Error(
62
- "Help reader not configured. Call setHelpReader(fn) from a server-only entrypoint (e.g. Next.js instrumentation register()) before rendering help articles."
63
- );
64
- }
65
- const source = await readRawMarkdown(article);
66
- return /* @__PURE__ */ jsx(
67
- MDXRemote,
68
- {
69
- source,
70
- components: MDX_SERVER_COMPONENTS,
71
- options: {
72
- parseFrontmatter: true,
73
- mdxOptions: {
74
- remarkPlugins: [remarkGfm],
75
- rehypePlugins: [rehypeSlug, [rehypeAutolinkHeadings, { behavior: "wrap" }]]
76
- }
77
- }
78
- }
79
- );
80
- }
81
- __name(renderHelpArticle, "renderHelpArticle");
82
- var serializeHelpArticle = renderHelpArticle;
83
-
84
- // src/features/help/server/generateHelpArticleStaticParams.ts
85
- function generateHelpArticleStaticParams() {
86
- return getHelpContent().manifest.filter((a) => !a.draft).map((a) => ({ mode: a.mode, slug: a.slug }));
87
- }
88
- __name(generateHelpArticleStaticParams, "generateHelpArticleStaticParams");
89
-
90
- // src/features/help/server/generateHelpArticleMetadata.ts
91
- async function generateHelpArticleMetadata({
92
- params
93
- }) {
94
- const { mode, slug } = await params;
95
- const article = findHelpArticle(getHelpContent().manifest, mode, slug);
96
- if (!article) return {};
97
- return {
98
- title: article.title,
99
- description: article.summary,
100
- openGraph: { title: article.title, description: article.summary }
101
- };
102
- }
103
- __name(generateHelpArticleMetadata, "generateHelpArticleMetadata");
104
-
105
- // src/features/help/server/generateHelpModeStaticParams.ts
106
- function generateHelpModeStaticParams() {
107
- return HELP_MODES.map((mode) => ({ mode }));
108
- }
109
- __name(generateHelpModeStaticParams, "generateHelpModeStaticParams");
2
+ HELP_MODES
3
+ } from "../../chunk-WPAQRB5Q.mjs";
4
+ import "../../chunk-PAWJFY3S.mjs";
110
5
  export {
111
- HELP_MODES,
112
- buildHelpNav,
113
- findHelpArticle,
114
- generateHelpArticleMetadata,
115
- generateHelpArticleStaticParams,
116
- generateHelpModeStaticParams,
117
- getHelpContent,
118
- prevNextWithinMode,
119
- renderHelpArticle,
120
- serializeHelpArticle,
121
- setHelpReader
6
+ HELP_MODES
122
7
  };
123
8
  //# sourceMappingURL=server.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/features/help/server/getHelpContent.ts","../../../src/features/help/server/serializeHelpArticle.tsx","../../../src/features/help/components/mdx/mdx-server-components.ts","../../../src/features/help/server/generateHelpArticleStaticParams.ts","../../../src/features/help/server/generateHelpArticleMetadata.ts","../../../src/features/help/server/generateHelpModeStaticParams.ts"],"sourcesContent":["import { _getStaticHelpContent } from \"../../../core/registry/helpStore\";\nimport type { HelpContentConfig } from \"../interfaces/help-content-config.interface\";\n\n/**\n * Server-side accessor for the help-content config set via configureJsonApi().\n * Returns the same value <HelpProvider> exposes via React Context to client components.\n * Throws with a setup error if helpContent was never configured.\n */\nexport function getHelpContent(): HelpContentConfig {\n const cfg = _getStaticHelpContent<HelpContentConfig>();\n if (!cfg) {\n throw new Error(\n \"Help content not configured — call configureJsonApi({ helpContent: {...} }) before importing help pages.\",\n );\n }\n return cfg;\n}\n","import { MDXRemote } from \"next-mdx-remote/rsc\";\nimport remarkGfm from \"remark-gfm\";\nimport rehypeSlug from \"rehype-slug\";\nimport rehypeAutolinkHeadings from \"rehype-autolink-headings\";\nimport type { ReactElement } from \"react\";\nimport type { HelpArticle } from \"../types/help-article.types\";\nimport { _getStaticHelpReader } from \"../../../core/registry/helpStore\";\nimport { MDX_SERVER_COMPONENTS } from \"../components/mdx/mdx-server-components\";\n\n/**\n * Server-side: read the article's raw markdown via the registered help reader\n * and render it through `next-mdx-remote/rsc`'s server-side MDXRemote, using\n * the server-safe MDX components (Callout, Steps, Screenshot, EntityRef,\n * KeyBinding, Video). The returned React element can be embedded inside a\n * server component (e.g. as `children` of `<HelpArticleBody>`).\n *\n * Note: `<Related>` is intentionally not part of the server map — it's a client\n * component that reads HelpContext. Articles that reference `<Related>` would\n * need a separate render path that injects the manifest by prop.\n */\nexport async function renderHelpArticle(article: HelpArticle): Promise<ReactElement> {\n const readRawMarkdown = _getStaticHelpReader();\n if (!readRawMarkdown) {\n throw new Error(\n \"Help reader not configured. Call setHelpReader(fn) from a server-only entrypoint (e.g. Next.js instrumentation register()) before rendering help articles.\",\n );\n }\n const source = await readRawMarkdown(article);\n return (\n <MDXRemote\n source={source}\n components={MDX_SERVER_COMPONENTS}\n options={{\n parseFrontmatter: true,\n mdxOptions: {\n remarkPlugins: [remarkGfm],\n rehypePlugins: [rehypeSlug, [rehypeAutolinkHeadings, { behavior: \"wrap\" }]],\n },\n }}\n />\n );\n}\n\n/** @deprecated Use `renderHelpArticle` instead — the legacy serialize + client\n * MDXRemote pattern is incompatible with App Router RSC. */\nexport const serializeHelpArticle = renderHelpArticle;\n","// Server-safe subset of MDX_COMPONENTS used by `renderHelpArticle`.\n// Mirrors `mdxComponents.ts` but EXCLUDES `Related` (which is a client\n// component that uses `useHelp` + `usePageUrlGenerator`). Server-side rendering\n// of `<Related>` would require passing the manifest by prop, which the standard\n// MDX components map cannot do — articles that need related links should be\n// extended via a server-side render hook rather than the MDX shortcode.\n\nimport { Callout } from \"./Callout\";\nimport { Steps, Step } from \"./Steps\";\nimport { Screenshot } from \"./Screenshot\";\nimport { EntityRef } from \"./EntityRef\";\nimport { KeyBinding } from \"./KeyBinding\";\nimport { Video } from \"./Video\";\n\nexport const MDX_SERVER_COMPONENTS = {\n Callout,\n Steps,\n Step,\n Screenshot,\n EntityRef,\n KeyBinding,\n Video,\n} as const;\n","import { getHelpContent } from \"./getHelpContent\";\n\nexport function generateHelpArticleStaticParams(): { mode: string; slug: string }[] {\n return getHelpContent()\n .manifest.filter((a) => !a.draft)\n .map((a) => ({ mode: a.mode, slug: a.slug }));\n}\n","import type { Metadata } from \"next\";\nimport { findHelpArticle } from \"../utils/helpNavigation\";\nimport { getHelpContent } from \"./getHelpContent\";\n\nexport async function generateHelpArticleMetadata({\n params,\n}: {\n params: Promise<{ mode: string; slug: string }>;\n}): Promise<Metadata> {\n const { mode, slug } = await params;\n const article = findHelpArticle(getHelpContent().manifest, mode, slug);\n if (!article) return {};\n return {\n title: article.title,\n description: article.summary,\n openGraph: { title: article.title, description: article.summary },\n };\n}\n","import { HELP_MODES } from \"../types/help-article.types\";\n\nexport function generateHelpModeStaticParams(): { mode: string }[] {\n return HELP_MODES.map((mode) => ({ mode }));\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAQO,SAAS,iBAAoC;AAClD,QAAM,MAAM,sBAAyC;AACrD,MAAI,CAAC,KAAK;AACR,UAAM,IAAI;AAAA,MACR;AAAA,IACF;AAAA,EACF;AACA,SAAO;AACT;AARgB;;;ACRhB,SAAS,iBAAiB;AAC1B,OAAO,eAAe;AACtB,OAAO,gBAAgB;AACvB,OAAO,4BAA4B;;;ACW5B,IAAM,wBAAwB;AAAA,EACnC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;;;ADOI;AATJ,eAAsB,kBAAkB,SAA6C;AACnF,QAAM,kBAAkB,qBAAqB;AAC7C,MAAI,CAAC,iBAAiB;AACpB,UAAM,IAAI;AAAA,MACR;AAAA,IACF;AAAA,EACF;AACA,QAAM,SAAS,MAAM,gBAAgB,OAAO;AAC5C,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,YAAY;AAAA,MACZ,SAAS;AAAA,QACP,kBAAkB;AAAA,QAClB,YAAY;AAAA,UACV,eAAe,CAAC,SAAS;AAAA,UACzB,eAAe,CAAC,YAAY,CAAC,wBAAwB,EAAE,UAAU,OAAO,CAAC,CAAC;AAAA,QAC5E;AAAA,MACF;AAAA;AAAA,EACF;AAEJ;AArBsB;AAyBf,IAAM,uBAAuB;;;AE3C7B,SAAS,kCAAoE;AAClF,SAAO,eAAe,EACnB,SAAS,OAAO,CAAC,MAAM,CAAC,EAAE,KAAK,EAC/B,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,EAAE,KAAK,EAAE;AAChD;AAJgB;;;ACEhB,eAAsB,4BAA4B;AAAA,EAChD;AACF,GAEsB;AACpB,QAAM,EAAE,MAAM,KAAK,IAAI,MAAM;AAC7B,QAAM,UAAU,gBAAgB,eAAe,EAAE,UAAU,MAAM,IAAI;AACrE,MAAI,CAAC,QAAS,QAAO,CAAC;AACtB,SAAO;AAAA,IACL,OAAO,QAAQ;AAAA,IACf,aAAa,QAAQ;AAAA,IACrB,WAAW,EAAE,OAAO,QAAQ,OAAO,aAAa,QAAQ,QAAQ;AAAA,EAClE;AACF;AAbsB;;;ACFf,SAAS,+BAAmD;AACjE,SAAO,WAAW,IAAI,CAAC,UAAU,EAAE,KAAK,EAAE;AAC5C;AAFgB;","names":[]}
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,13 @@
1
+ interface HelpBrandConfig {
2
+ /** URL of the brand logo image (served by the consuming app). */
3
+ logo?: string;
4
+ /** Brand label shown in the help header. */
5
+ label?: string;
6
+ /** Where the "Open app" button navigates for logged-in users. Defaults to "/". */
7
+ appHref?: string;
8
+ }
9
+ interface HelpContentConfig {
10
+ brand?: HelpBrandConfig;
11
+ }
12
+
13
+ export type { HelpContentConfig as H, HelpBrandConfig as a };
@@ -0,0 +1,13 @@
1
+ interface HelpBrandConfig {
2
+ /** URL of the brand logo image (served by the consuming app). */
3
+ logo?: string;
4
+ /** Brand label shown in the help header. */
5
+ label?: string;
6
+ /** Where the "Open app" button navigates for logged-in users. Defaults to "/". */
7
+ appHref?: string;
8
+ }
9
+ interface HelpContentConfig {
10
+ brand?: HelpBrandConfig;
11
+ }
12
+
13
+ export type { HelpContentConfig as H, HelpBrandConfig as a };
package/dist/index.d.mts CHANGED
@@ -6,7 +6,7 @@ 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
7
  import { b as AbstractService } from './s3.service-0BTClOYO.mjs';
8
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-0BTClOYO.mjs';
9
- export { b as AssistantMessageInput, c as AssistantMessageInterface, A as AssistantMessageRole, B as BreadcrumbItemData, d as ChunkInterface, C as ChunkRelationshipMeta, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-DQ3mH5L8.mjs';
9
+ export { b as AssistantMessageInput, c as AssistantMessageInterface, A as AssistantMessageRole, B as BreadcrumbItemData, d as ChunkInterface, C as ChunkRelationshipMeta, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-DrgHDjZ5.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';
@@ -17,7 +17,7 @@ export { b as CompanyInput, c as CompanyInterface, a as ContentInput, C as Conte
17
17
  export { A as AssistantInput, a as AssistantInterface } from './AssistantInterface-B1c8FhGA.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';
20
- export { I as I18nConfig, f as configureI18n, c as configureJsonApi, g as getApiUrl, b as getAppUrl, a as getPublicApiUrl, e as getStripePublishableKey, d as getTrackablePages } from './config-gh88Qn4h.mjs';
20
+ export { I as I18nConfig, f as configureI18n, c as configureJsonApi, g as getApiUrl, b as getAppUrl, a as getPublicApiUrl, e as getStripePublishableKey, d as getTrackablePages } from './config-snd2ToEB.mjs';
21
21
  export { Q as QuestionnaireField, a as QuestionnaireFieldType, b as QuestionnaireOption, W as WaitlistConfig, c as configureWaitlist, g as getWaitlistConfig } from './waitlist.config-kPfjImle.mjs';
22
22
  import { R as RbacMatrix } from './RbacTypes-BTbr27Ew.mjs';
23
23
  export { a as ACTION_TYPES, A as ActionType, C as COMPANY_ADMINISTRATOR_ROLE_ID, c as PermToken, P as PermissionValue, b as PermissionsMap, d as RbacModuleBlock } from './RbacTypes-BTbr27Ew.mjs';
@@ -28,7 +28,7 @@ import 'sonner';
28
28
  import '@simplewebauthn/browser';
29
29
  import 'd3';
30
30
  import 'lucide-react';
31
- import './help-content-config.interface-B9L02u9i.mjs';
31
+ import './help-content-config.interface-C5ESIod9.mjs';
32
32
 
33
33
  type RegistrationMode = "open" | "closed" | "waitlist";
34
34
  interface LoginConfig {
package/dist/index.d.ts CHANGED
@@ -6,7 +6,7 @@ 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
7
  import { b as AbstractService } from './s3.service-CT27Fm1s.js';
8
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-CT27Fm1s.js';
9
- export { b as AssistantMessageInput, c as AssistantMessageInterface, A as AssistantMessageRole, B as BreadcrumbItemData, d as ChunkInterface, C as ChunkRelationshipMeta, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-Cs1yb-gF.js';
9
+ export { b as AssistantMessageInput, c as AssistantMessageInterface, A as AssistantMessageRole, B as BreadcrumbItemData, d as ChunkInterface, C as ChunkRelationshipMeta, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-BNzf1etU.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';
@@ -17,7 +17,7 @@ export { b as CompanyInput, c as CompanyInterface, a as ContentInput, C as Conte
17
17
  export { A as AssistantInput, a as AssistantInterface } from './AssistantInterface-BBUHxOCd.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';
20
- export { I as I18nConfig, f as configureI18n, c as configureJsonApi, g as getApiUrl, b as getAppUrl, a as getPublicApiUrl, e as getStripePublishableKey, d as getTrackablePages } from './config-CN23v3eJ.js';
20
+ export { I as I18nConfig, f as configureI18n, c as configureJsonApi, g as getApiUrl, b as getAppUrl, a as getPublicApiUrl, e as getStripePublishableKey, d as getTrackablePages } from './config-BrkU_Ynz.js';
21
21
  export { Q as QuestionnaireField, a as QuestionnaireFieldType, b as QuestionnaireOption, W as WaitlistConfig, c as configureWaitlist, g as getWaitlistConfig } from './waitlist.config-kPfjImle.js';
22
22
  import { R as RbacMatrix } from './RbacTypes-BTbr27Ew.js';
23
23
  export { a as ACTION_TYPES, A as ActionType, C as COMPANY_ADMINISTRATOR_ROLE_ID, c as PermToken, P as PermissionValue, b as PermissionsMap, d as RbacModuleBlock } from './RbacTypes-BTbr27Ew.js';
@@ -28,7 +28,7 @@ import 'sonner';
28
28
  import '@simplewebauthn/browser';
29
29
  import 'd3';
30
30
  import 'lucide-react';
31
- import './help-content-config.interface-B9L02u9i.js';
31
+ import './help-content-config.interface-C5ESIod9.js';
32
32
 
33
33
  type RegistrationMode = "open" | "closed" | "waitlist";
34
34
  interface LoginConfig {
package/dist/index.js CHANGED
@@ -18,8 +18,7 @@
18
18
 
19
19
 
20
20
 
21
- var _chunk7E3O52U5js = require('./chunk-7E3O52U5.js');
22
- require('./chunk-YQQHAFBS.js');
21
+ var _chunk6XWW67F2js = require('./chunk-6XWW67F2.js');
23
22
 
24
23
 
25
24
 
@@ -200,7 +199,7 @@ require('./chunk-YQQHAFBS.js');
200
199
 
201
200
 
202
201
 
203
- var _chunkCFI4WZ5Rjs = require('./chunk-CFI4WZ5R.js');
202
+ var _chunkU2HR57MYjs = require('./chunk-U2HR57MY.js');
204
203
  require('./chunk-LXKSUWAV.js');
205
204
  require('./chunk-IBS6NI7D.js');
206
205
 
@@ -424,5 +423,5 @@ require('./chunk-7QVYU63E.js');
424
423
 
425
424
 
426
425
 
427
- exports.ACTION_TYPES = _chunk7E3O52U5js.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkCFI4WZ5Rjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkCFI4WZ5Rjs.AbstractApiData; exports.AbstractService = _chunkCFI4WZ5Rjs.AbstractService; exports.Action = _chunkCFI4WZ5Rjs.Action; exports.Assistant = _chunkCFI4WZ5Rjs.Assistant; exports.AssistantMessage = _chunkCFI4WZ5Rjs.AssistantMessage; exports.AssistantMessageModule = _chunkCFI4WZ5Rjs.AssistantMessageModule; exports.AssistantMessageService = _chunkCFI4WZ5Rjs.AssistantMessageService; exports.AssistantModule = _chunkCFI4WZ5Rjs.AssistantModule; exports.AssistantService = _chunkCFI4WZ5Rjs.AssistantService; exports.AuditLog = _chunkCFI4WZ5Rjs.AuditLog; exports.AuditLogModule = _chunkCFI4WZ5Rjs.AuditLogModule; exports.AuditLogService = _chunkCFI4WZ5Rjs.AuditLogService; exports.Auth = _chunkCFI4WZ5Rjs.Auth; exports.AuthComponent = _chunkCFI4WZ5Rjs.AuthComponent; exports.AuthModule = _chunkCFI4WZ5Rjs.AuthModule; exports.AuthService = _chunkCFI4WZ5Rjs.AuthService; exports.AuthorModule = _chunkCFI4WZ5Rjs.AuthorModule; exports.BackupCodeVerify = _chunkCFI4WZ5Rjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkCFI4WZ5Rjs.BackupCodeVerifyModule; exports.Billing = _chunkCFI4WZ5Rjs.Billing; exports.BillingModule = _chunkCFI4WZ5Rjs.BillingModule; exports.BillingService = _chunkCFI4WZ5Rjs.BillingService; exports.BlockNoteDiffUtil = _chunkCFI4WZ5Rjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkCFI4WZ5Rjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunk7E3O52U5js.COMPANY_ADMINISTRATOR_ROLE_ID; exports.Chunk = _chunkCFI4WZ5Rjs.Chunk; exports.ChunkModule = _chunkCFI4WZ5Rjs.ChunkModule; exports.ClientAbstractService = _chunkCFI4WZ5Rjs.ClientAbstractService; exports.ClientHttpMethod = _chunkCFI4WZ5Rjs.ClientHttpMethod; exports.Company = _chunkCFI4WZ5Rjs.Company; exports.CompanyFields = _chunkCFI4WZ5Rjs.CompanyFields; exports.CompanyModule = _chunkCFI4WZ5Rjs.CompanyModule; exports.CompanyService = _chunkCFI4WZ5Rjs.CompanyService; exports.Content = _chunkCFI4WZ5Rjs.Content; exports.ContentFields = _chunkCFI4WZ5Rjs.ContentFields; exports.ContentModule = _chunkCFI4WZ5Rjs.ContentModule; exports.ContentService = _chunkCFI4WZ5Rjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkCFI4WZ5Rjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkJ5LROFGLjs.DataClassRegistry; exports.DataClassRegistry = _chunkJ5LROFGLjs.DataClassRegistry; exports.EndpointCreator = _chunkCFI4WZ5Rjs.EndpointCreator; exports.Feature = _chunkCFI4WZ5Rjs.Feature; exports.FeatureModule = _chunkCFI4WZ5Rjs.FeatureModule; exports.FeatureService = _chunkCFI4WZ5Rjs.FeatureService; exports.HowTo = _chunkCFI4WZ5Rjs.HowTo; exports.HowToFields = _chunkCFI4WZ5Rjs.HowToFields; exports.HowToModule = _chunkCFI4WZ5Rjs.HowToModule; exports.HowToService = _chunkCFI4WZ5Rjs.HowToService; exports.HttpMethod = _chunkCFI4WZ5Rjs.HttpMethod; exports.InvoiceStatus = _chunkCFI4WZ5Rjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkJ5LROFGLjs.JsonApiDataFactory; exports.Module = _chunkCFI4WZ5Rjs.Module; exports.ModuleModule = _chunkCFI4WZ5Rjs.ModuleModule; exports.ModulePaths = _chunkCFI4WZ5Rjs.ModulePaths; exports.ModulePathsModule = _chunkCFI4WZ5Rjs.ModulePathsModule; exports.ModuleRegistrar = _chunkCFI4WZ5Rjs.ModuleRegistrar; exports.ModuleRegistry = _chunkCFI4WZ5Rjs.ModuleRegistry; exports.Modules = _chunkCFI4WZ5Rjs.Modules; exports.Notification = _chunkCFI4WZ5Rjs.Notification; exports.NotificationFields = _chunkCFI4WZ5Rjs.NotificationFields; exports.NotificationModule = _chunkCFI4WZ5Rjs.NotificationModule; exports.NotificationService = _chunkCFI4WZ5Rjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkCFI4WZ5Rjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkCFI4WZ5Rjs.OAuthClient; exports.OAuthModule = _chunkCFI4WZ5Rjs.OAuthModule; exports.OAuthService = _chunkCFI4WZ5Rjs.OAuthService; exports.Passkey = _chunkCFI4WZ5Rjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkCFI4WZ5Rjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkCFI4WZ5Rjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkCFI4WZ5Rjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkCFI4WZ5Rjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkCFI4WZ5Rjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkCFI4WZ5Rjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkCFI4WZ5Rjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkCFI4WZ5Rjs.PasskeyRename; exports.PasskeyRenameModule = _chunkCFI4WZ5Rjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkCFI4WZ5Rjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkCFI4WZ5Rjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkCFI4WZ5Rjs.PaymentMethod; exports.PermissionMapping = _chunkCFI4WZ5Rjs.PermissionMapping; exports.PermissionMappingModule = _chunkCFI4WZ5Rjs.PermissionMappingModule; exports.Push = _chunkCFI4WZ5Rjs.Push; exports.PushModule = _chunkCFI4WZ5Rjs.PushModule; exports.PushService = _chunkCFI4WZ5Rjs.PushService; exports.RbacMatrixModel = _chunkCFI4WZ5Rjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkCFI4WZ5Rjs.RbacMatrixModule; exports.RbacService = _chunk7E3O52U5js.RbacService; exports.ReferralModule = _chunkCFI4WZ5Rjs.ReferralModule; exports.ReferralService = _chunkCFI4WZ5Rjs.ReferralService; exports.ReferralStats = _chunkCFI4WZ5Rjs.ReferralStats; exports.ReferralStatsModule = _chunkCFI4WZ5Rjs.ReferralStatsModule; exports.RehydrationFactory = _chunkCFI4WZ5Rjs.RehydrationFactory; exports.Role = _chunkCFI4WZ5Rjs.Role; exports.RoleFields = _chunkCFI4WZ5Rjs.RoleFields; exports.RoleModule = _chunkCFI4WZ5Rjs.RoleModule; exports.RoleService = _chunkCFI4WZ5Rjs.RoleService; exports.S3 = _chunkCFI4WZ5Rjs.S3; exports.S3Module = _chunkCFI4WZ5Rjs.S3Module; exports.S3Service = _chunkCFI4WZ5Rjs.S3Service; exports.StripeCustomer = _chunkCFI4WZ5Rjs.StripeCustomer; exports.StripeCustomerModule = _chunkCFI4WZ5Rjs.StripeCustomerModule; exports.StripeCustomerService = _chunkCFI4WZ5Rjs.StripeCustomerService; exports.StripeInvoice = _chunkCFI4WZ5Rjs.StripeInvoice; exports.StripeInvoiceModule = _chunkCFI4WZ5Rjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkCFI4WZ5Rjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkCFI4WZ5Rjs.StripePaymentMethodModule; exports.StripePrice = _chunkCFI4WZ5Rjs.StripePrice; exports.StripePriceModule = _chunkCFI4WZ5Rjs.StripePriceModule; exports.StripePriceService = _chunkCFI4WZ5Rjs.StripePriceService; exports.StripeProduct = _chunkCFI4WZ5Rjs.StripeProduct; exports.StripeProductModule = _chunkCFI4WZ5Rjs.StripeProductModule; exports.StripeProductService = _chunkCFI4WZ5Rjs.StripeProductService; exports.StripePromotionCode = _chunkCFI4WZ5Rjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkCFI4WZ5Rjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkCFI4WZ5Rjs.StripePromotionCodeService; exports.StripeSubscription = _chunkCFI4WZ5Rjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkCFI4WZ5Rjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkCFI4WZ5Rjs.StripeSubscriptionService; exports.StripeUsage = _chunkCFI4WZ5Rjs.StripeUsage; exports.StripeUsageModule = _chunkCFI4WZ5Rjs.StripeUsageModule; exports.StripeUsageService = _chunkCFI4WZ5Rjs.StripeUsageService; exports.SubscriptionStatus = _chunkCFI4WZ5Rjs.SubscriptionStatus; exports.TableOptions = _chunkCFI4WZ5Rjs.TableOptions; exports.TotpAuthenticator = _chunkCFI4WZ5Rjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkCFI4WZ5Rjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkCFI4WZ5Rjs.TotpSetup; exports.TotpSetupModule = _chunkCFI4WZ5Rjs.TotpSetupModule; exports.TotpVerify = _chunkCFI4WZ5Rjs.TotpVerify; exports.TotpVerifyLogin = _chunkCFI4WZ5Rjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkCFI4WZ5Rjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkCFI4WZ5Rjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkCFI4WZ5Rjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkCFI4WZ5Rjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkCFI4WZ5Rjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkCFI4WZ5Rjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkCFI4WZ5Rjs.TwoFactorService; exports.TwoFactorStatus = _chunkCFI4WZ5Rjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkCFI4WZ5Rjs.TwoFactorStatusModule; exports.User = _chunkCFI4WZ5Rjs.User; exports.UserFields = _chunkCFI4WZ5Rjs.UserFields; exports.UserModule = _chunkCFI4WZ5Rjs.UserModule; exports.UserService = _chunkCFI4WZ5Rjs.UserService; exports.Waitlist = _chunkCFI4WZ5Rjs.Waitlist; exports.WaitlistModule = _chunkCFI4WZ5Rjs.WaitlistModule; exports.WaitlistService = _chunkCFI4WZ5Rjs.WaitlistService; exports.WaitlistStats = _chunkCFI4WZ5Rjs.WaitlistStats; exports.WaitlistStatsModule = _chunkCFI4WZ5Rjs.WaitlistStatsModule; exports.checkPermissions = _chunkCFI4WZ5Rjs.checkPermissions; exports.checkPermissionsFromServer = _chunkCFI4WZ5Rjs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkCFI4WZ5Rjs.clearLastApiTotal; exports.cn = _chunkCFI4WZ5Rjs.cn; exports.composeRefs = _chunkCFI4WZ5Rjs.composeRefs; exports.configureAuth = _chunkCFI4WZ5Rjs.configureAuth; exports.configureI18n = _chunk7E3O52U5js.configureI18n; exports.configureJsonApi = _chunk7E3O52U5js.configureJsonApi; exports.configureLogin = _chunk7E3O52U5js.configureLogin; exports.configureReferral = _chunk7E3O52U5js.configureReferral; exports.configureRoles = _chunk7E3O52U5js.configureRoles; exports.configureWaitlist = _chunk7E3O52U5js.configureWaitlist; exports.createJsonApiInclusion = _chunkCFI4WZ5Rjs.createJsonApiInclusion; exports.dismissToast = _chunkCFI4WZ5Rjs.dismissToast; exports.entityObjectSchema = _chunkCFI4WZ5Rjs.entityObjectSchema; exports.exists = _chunkCFI4WZ5Rjs.exists; exports.formatDate = _chunkCFI4WZ5Rjs.formatDate; exports.formatLocalDate = _chunkCFI4WZ5Rjs.formatLocalDate; exports.getApiUrl = _chunk7E3O52U5js.getApiUrl; exports.getAppUrl = _chunk7E3O52U5js.getAppUrl; exports.getBootstrapper = _chunkJ5LROFGLjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkCFI4WZ5Rjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkCFI4WZ5Rjs.getGlobalErrorHandler; exports.getIcon = _chunkCFI4WZ5Rjs.getIcon; exports.getIconByModule = _chunkCFI4WZ5Rjs.getIconByModule; exports.getIconByModuleName = _chunkCFI4WZ5Rjs.getIconByModuleName; exports.getInitials = _chunkCFI4WZ5Rjs.getInitials; exports.getLastApiTotal = _chunkCFI4WZ5Rjs.getLastApiTotal; exports.getLucideIcon = _chunkCFI4WZ5Rjs.getLucideIcon; exports.getLucideIconByModule = _chunkCFI4WZ5Rjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkCFI4WZ5Rjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunk7E3O52U5js.getPublicApiUrl; exports.getReferralConfig = _chunk7E3O52U5js.getReferralConfig; exports.getRoleId = _chunk7E3O52U5js.getRoleId; exports.getStripePublishableKey = _chunk7E3O52U5js.getStripePublishableKey; exports.getTableComponents = _chunkCFI4WZ5Rjs.getTableComponents; exports.getTableOptions = _chunkCFI4WZ5Rjs.getTableOptions; exports.getTokenHandler = _chunkCFI4WZ5Rjs.getTokenHandler; exports.getTrackablePages = _chunk7E3O52U5js.getTrackablePages; exports.getValueFromPath = _chunkCFI4WZ5Rjs.getValueFromPath; exports.getWaitlistConfig = _chunk7E3O52U5js.getWaitlistConfig; exports.hasBootstrapper = _chunkJ5LROFGLjs.hasBootstrapper; exports.isReferralEnabled = _chunk7E3O52U5js.isReferralEnabled; exports.isRolesConfigured = _chunk7E3O52U5js.isRolesConfigured; exports.rehydrate = _chunkCFI4WZ5Rjs.rehydrate; exports.rehydrateList = _chunkCFI4WZ5Rjs.rehydrateList; exports.resetBootstrapStore = _chunkJ5LROFGLjs.resetBootstrapStore; exports.setBootstrapper = _chunkJ5LROFGLjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkCFI4WZ5Rjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkCFI4WZ5Rjs.setGlobalErrorHandler; exports.showCustomToast = _chunkCFI4WZ5Rjs.showCustomToast; exports.showError = _chunkCFI4WZ5Rjs.showError; exports.showToast = _chunkCFI4WZ5Rjs.showToast; exports.translateData = _chunkJ5LROFGLjs.translateData; exports.translateResponse = _chunkJ5LROFGLjs.translateResponse; exports.tryBootstrap = _chunkJ5LROFGLjs.tryBootstrap; exports.useComposedRefs = _chunkCFI4WZ5Rjs.useComposedRefs; exports.useIsMobile = _chunkCFI4WZ5Rjs.useIsMobile; exports.userObjectSchema = _chunkCFI4WZ5Rjs.userObjectSchema;
426
+ exports.ACTION_TYPES = _chunk6XWW67F2js.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkU2HR57MYjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkU2HR57MYjs.AbstractApiData; exports.AbstractService = _chunkU2HR57MYjs.AbstractService; exports.Action = _chunkU2HR57MYjs.Action; exports.Assistant = _chunkU2HR57MYjs.Assistant; exports.AssistantMessage = _chunkU2HR57MYjs.AssistantMessage; exports.AssistantMessageModule = _chunkU2HR57MYjs.AssistantMessageModule; exports.AssistantMessageService = _chunkU2HR57MYjs.AssistantMessageService; exports.AssistantModule = _chunkU2HR57MYjs.AssistantModule; exports.AssistantService = _chunkU2HR57MYjs.AssistantService; exports.AuditLog = _chunkU2HR57MYjs.AuditLog; exports.AuditLogModule = _chunkU2HR57MYjs.AuditLogModule; exports.AuditLogService = _chunkU2HR57MYjs.AuditLogService; exports.Auth = _chunkU2HR57MYjs.Auth; exports.AuthComponent = _chunkU2HR57MYjs.AuthComponent; exports.AuthModule = _chunkU2HR57MYjs.AuthModule; exports.AuthService = _chunkU2HR57MYjs.AuthService; exports.AuthorModule = _chunkU2HR57MYjs.AuthorModule; exports.BackupCodeVerify = _chunkU2HR57MYjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkU2HR57MYjs.BackupCodeVerifyModule; exports.Billing = _chunkU2HR57MYjs.Billing; exports.BillingModule = _chunkU2HR57MYjs.BillingModule; exports.BillingService = _chunkU2HR57MYjs.BillingService; exports.BlockNoteDiffUtil = _chunkU2HR57MYjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkU2HR57MYjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunk6XWW67F2js.COMPANY_ADMINISTRATOR_ROLE_ID; exports.Chunk = _chunkU2HR57MYjs.Chunk; exports.ChunkModule = _chunkU2HR57MYjs.ChunkModule; exports.ClientAbstractService = _chunkU2HR57MYjs.ClientAbstractService; exports.ClientHttpMethod = _chunkU2HR57MYjs.ClientHttpMethod; exports.Company = _chunkU2HR57MYjs.Company; exports.CompanyFields = _chunkU2HR57MYjs.CompanyFields; exports.CompanyModule = _chunkU2HR57MYjs.CompanyModule; exports.CompanyService = _chunkU2HR57MYjs.CompanyService; exports.Content = _chunkU2HR57MYjs.Content; exports.ContentFields = _chunkU2HR57MYjs.ContentFields; exports.ContentModule = _chunkU2HR57MYjs.ContentModule; exports.ContentService = _chunkU2HR57MYjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkU2HR57MYjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkJ5LROFGLjs.DataClassRegistry; exports.DataClassRegistry = _chunkJ5LROFGLjs.DataClassRegistry; exports.EndpointCreator = _chunkU2HR57MYjs.EndpointCreator; exports.Feature = _chunkU2HR57MYjs.Feature; exports.FeatureModule = _chunkU2HR57MYjs.FeatureModule; exports.FeatureService = _chunkU2HR57MYjs.FeatureService; exports.HowTo = _chunkU2HR57MYjs.HowTo; exports.HowToFields = _chunkU2HR57MYjs.HowToFields; exports.HowToModule = _chunkU2HR57MYjs.HowToModule; exports.HowToService = _chunkU2HR57MYjs.HowToService; exports.HttpMethod = _chunkU2HR57MYjs.HttpMethod; exports.InvoiceStatus = _chunkU2HR57MYjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkJ5LROFGLjs.JsonApiDataFactory; exports.Module = _chunkU2HR57MYjs.Module; exports.ModuleModule = _chunkU2HR57MYjs.ModuleModule; exports.ModulePaths = _chunkU2HR57MYjs.ModulePaths; exports.ModulePathsModule = _chunkU2HR57MYjs.ModulePathsModule; exports.ModuleRegistrar = _chunkU2HR57MYjs.ModuleRegistrar; exports.ModuleRegistry = _chunkU2HR57MYjs.ModuleRegistry; exports.Modules = _chunkU2HR57MYjs.Modules; exports.Notification = _chunkU2HR57MYjs.Notification; exports.NotificationFields = _chunkU2HR57MYjs.NotificationFields; exports.NotificationModule = _chunkU2HR57MYjs.NotificationModule; exports.NotificationService = _chunkU2HR57MYjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkU2HR57MYjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkU2HR57MYjs.OAuthClient; exports.OAuthModule = _chunkU2HR57MYjs.OAuthModule; exports.OAuthService = _chunkU2HR57MYjs.OAuthService; exports.Passkey = _chunkU2HR57MYjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkU2HR57MYjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkU2HR57MYjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkU2HR57MYjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkU2HR57MYjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkU2HR57MYjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkU2HR57MYjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkU2HR57MYjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkU2HR57MYjs.PasskeyRename; exports.PasskeyRenameModule = _chunkU2HR57MYjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkU2HR57MYjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkU2HR57MYjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkU2HR57MYjs.PaymentMethod; exports.PermissionMapping = _chunkU2HR57MYjs.PermissionMapping; exports.PermissionMappingModule = _chunkU2HR57MYjs.PermissionMappingModule; exports.Push = _chunkU2HR57MYjs.Push; exports.PushModule = _chunkU2HR57MYjs.PushModule; exports.PushService = _chunkU2HR57MYjs.PushService; exports.RbacMatrixModel = _chunkU2HR57MYjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkU2HR57MYjs.RbacMatrixModule; exports.RbacService = _chunk6XWW67F2js.RbacService; exports.ReferralModule = _chunkU2HR57MYjs.ReferralModule; exports.ReferralService = _chunkU2HR57MYjs.ReferralService; exports.ReferralStats = _chunkU2HR57MYjs.ReferralStats; exports.ReferralStatsModule = _chunkU2HR57MYjs.ReferralStatsModule; exports.RehydrationFactory = _chunkU2HR57MYjs.RehydrationFactory; exports.Role = _chunkU2HR57MYjs.Role; exports.RoleFields = _chunkU2HR57MYjs.RoleFields; exports.RoleModule = _chunkU2HR57MYjs.RoleModule; exports.RoleService = _chunkU2HR57MYjs.RoleService; exports.S3 = _chunkU2HR57MYjs.S3; exports.S3Module = _chunkU2HR57MYjs.S3Module; exports.S3Service = _chunkU2HR57MYjs.S3Service; exports.StripeCustomer = _chunkU2HR57MYjs.StripeCustomer; exports.StripeCustomerModule = _chunkU2HR57MYjs.StripeCustomerModule; exports.StripeCustomerService = _chunkU2HR57MYjs.StripeCustomerService; exports.StripeInvoice = _chunkU2HR57MYjs.StripeInvoice; exports.StripeInvoiceModule = _chunkU2HR57MYjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkU2HR57MYjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkU2HR57MYjs.StripePaymentMethodModule; exports.StripePrice = _chunkU2HR57MYjs.StripePrice; exports.StripePriceModule = _chunkU2HR57MYjs.StripePriceModule; exports.StripePriceService = _chunkU2HR57MYjs.StripePriceService; exports.StripeProduct = _chunkU2HR57MYjs.StripeProduct; exports.StripeProductModule = _chunkU2HR57MYjs.StripeProductModule; exports.StripeProductService = _chunkU2HR57MYjs.StripeProductService; exports.StripePromotionCode = _chunkU2HR57MYjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkU2HR57MYjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkU2HR57MYjs.StripePromotionCodeService; exports.StripeSubscription = _chunkU2HR57MYjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkU2HR57MYjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkU2HR57MYjs.StripeSubscriptionService; exports.StripeUsage = _chunkU2HR57MYjs.StripeUsage; exports.StripeUsageModule = _chunkU2HR57MYjs.StripeUsageModule; exports.StripeUsageService = _chunkU2HR57MYjs.StripeUsageService; exports.SubscriptionStatus = _chunkU2HR57MYjs.SubscriptionStatus; exports.TableOptions = _chunkU2HR57MYjs.TableOptions; exports.TotpAuthenticator = _chunkU2HR57MYjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkU2HR57MYjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkU2HR57MYjs.TotpSetup; exports.TotpSetupModule = _chunkU2HR57MYjs.TotpSetupModule; exports.TotpVerify = _chunkU2HR57MYjs.TotpVerify; exports.TotpVerifyLogin = _chunkU2HR57MYjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkU2HR57MYjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkU2HR57MYjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkU2HR57MYjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkU2HR57MYjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkU2HR57MYjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkU2HR57MYjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkU2HR57MYjs.TwoFactorService; exports.TwoFactorStatus = _chunkU2HR57MYjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkU2HR57MYjs.TwoFactorStatusModule; exports.User = _chunkU2HR57MYjs.User; exports.UserFields = _chunkU2HR57MYjs.UserFields; exports.UserModule = _chunkU2HR57MYjs.UserModule; exports.UserService = _chunkU2HR57MYjs.UserService; exports.Waitlist = _chunkU2HR57MYjs.Waitlist; exports.WaitlistModule = _chunkU2HR57MYjs.WaitlistModule; exports.WaitlistService = _chunkU2HR57MYjs.WaitlistService; exports.WaitlistStats = _chunkU2HR57MYjs.WaitlistStats; exports.WaitlistStatsModule = _chunkU2HR57MYjs.WaitlistStatsModule; exports.checkPermissions = _chunkU2HR57MYjs.checkPermissions; exports.checkPermissionsFromServer = _chunkU2HR57MYjs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkU2HR57MYjs.clearLastApiTotal; exports.cn = _chunkU2HR57MYjs.cn; exports.composeRefs = _chunkU2HR57MYjs.composeRefs; exports.configureAuth = _chunkU2HR57MYjs.configureAuth; exports.configureI18n = _chunk6XWW67F2js.configureI18n; exports.configureJsonApi = _chunk6XWW67F2js.configureJsonApi; exports.configureLogin = _chunk6XWW67F2js.configureLogin; exports.configureReferral = _chunk6XWW67F2js.configureReferral; exports.configureRoles = _chunk6XWW67F2js.configureRoles; exports.configureWaitlist = _chunk6XWW67F2js.configureWaitlist; exports.createJsonApiInclusion = _chunkU2HR57MYjs.createJsonApiInclusion; exports.dismissToast = _chunkU2HR57MYjs.dismissToast; exports.entityObjectSchema = _chunkU2HR57MYjs.entityObjectSchema; exports.exists = _chunkU2HR57MYjs.exists; exports.formatDate = _chunkU2HR57MYjs.formatDate; exports.formatLocalDate = _chunkU2HR57MYjs.formatLocalDate; exports.getApiUrl = _chunk6XWW67F2js.getApiUrl; exports.getAppUrl = _chunk6XWW67F2js.getAppUrl; exports.getBootstrapper = _chunkJ5LROFGLjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkU2HR57MYjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkU2HR57MYjs.getGlobalErrorHandler; exports.getIcon = _chunkU2HR57MYjs.getIcon; exports.getIconByModule = _chunkU2HR57MYjs.getIconByModule; exports.getIconByModuleName = _chunkU2HR57MYjs.getIconByModuleName; exports.getInitials = _chunkU2HR57MYjs.getInitials; exports.getLastApiTotal = _chunkU2HR57MYjs.getLastApiTotal; exports.getLucideIcon = _chunkU2HR57MYjs.getLucideIcon; exports.getLucideIconByModule = _chunkU2HR57MYjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkU2HR57MYjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunk6XWW67F2js.getPublicApiUrl; exports.getReferralConfig = _chunk6XWW67F2js.getReferralConfig; exports.getRoleId = _chunk6XWW67F2js.getRoleId; exports.getStripePublishableKey = _chunk6XWW67F2js.getStripePublishableKey; exports.getTableComponents = _chunkU2HR57MYjs.getTableComponents; exports.getTableOptions = _chunkU2HR57MYjs.getTableOptions; exports.getTokenHandler = _chunkU2HR57MYjs.getTokenHandler; exports.getTrackablePages = _chunk6XWW67F2js.getTrackablePages; exports.getValueFromPath = _chunkU2HR57MYjs.getValueFromPath; exports.getWaitlistConfig = _chunk6XWW67F2js.getWaitlistConfig; exports.hasBootstrapper = _chunkJ5LROFGLjs.hasBootstrapper; exports.isReferralEnabled = _chunk6XWW67F2js.isReferralEnabled; exports.isRolesConfigured = _chunk6XWW67F2js.isRolesConfigured; exports.rehydrate = _chunkU2HR57MYjs.rehydrate; exports.rehydrateList = _chunkU2HR57MYjs.rehydrateList; exports.resetBootstrapStore = _chunkJ5LROFGLjs.resetBootstrapStore; exports.setBootstrapper = _chunkJ5LROFGLjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkU2HR57MYjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkU2HR57MYjs.setGlobalErrorHandler; exports.showCustomToast = _chunkU2HR57MYjs.showCustomToast; exports.showError = _chunkU2HR57MYjs.showError; exports.showToast = _chunkU2HR57MYjs.showToast; exports.translateData = _chunkJ5LROFGLjs.translateData; exports.translateResponse = _chunkJ5LROFGLjs.translateResponse; exports.tryBootstrap = _chunkJ5LROFGLjs.tryBootstrap; exports.useComposedRefs = _chunkU2HR57MYjs.useComposedRefs; exports.useIsMobile = _chunkU2HR57MYjs.useIsMobile; exports.userObjectSchema = _chunkU2HR57MYjs.userObjectSchema;
428
427
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uwYAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"}
1
+ {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uwYAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"}
package/dist/index.mjs CHANGED
@@ -18,8 +18,7 @@ import {
18
18
  getWaitlistConfig,
19
19
  isReferralEnabled,
20
20
  isRolesConfigured
21
- } from "./chunk-UOYIWJEJ.mjs";
22
- import "./chunk-CQID6RCF.mjs";
21
+ } from "./chunk-CWVYU4YZ.mjs";
23
22
  import {
24
23
  AVAILABLE_OAUTH_SCOPES,
25
24
  AbstractApiData,
@@ -200,7 +199,7 @@ import {
200
199
  useComposedRefs,
201
200
  useIsMobile,
202
201
  userObjectSchema
203
- } from "./chunk-MSNNAHDB.mjs";
202
+ } from "./chunk-ZYPNVEHB.mjs";
204
203
  import "./chunk-AUXK7QSA.mjs";
205
204
  import "./chunk-C7C7VY4F.mjs";
206
205
  import {
@@ -15,7 +15,7 @@ var _chunkIOLU4ASDjs = require('../chunk-IOLU4ASD.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkCFI4WZ5Rjs = require('../chunk-CFI4WZ5R.js');
18
+ var _chunkU2HR57MYjs = require('../chunk-U2HR57MY.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 _chunkCFI4WZ5Rjs.checkPermissionsFromServer.call(void 0, {
89
+ return _chunkU2HR57MYjs.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 = _chunkCFI4WZ5Rjs.AuthService; exports.ServerCompanyService = _chunkCFI4WZ5Rjs.CompanyService; exports.ServerContentService = _chunkCFI4WZ5Rjs.ContentService; exports.ServerFeatureService = _chunkCFI4WZ5Rjs.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunkCFI4WZ5Rjs.NotificationService; exports.ServerPushService = _chunkCFI4WZ5Rjs.PushService; exports.ServerRoleService = _chunkCFI4WZ5Rjs.RoleService; exports.ServerS3Service = _chunkCFI4WZ5Rjs.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunkCFI4WZ5Rjs.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 = _chunkU2HR57MYjs.AuthService; exports.ServerCompanyService = _chunkU2HR57MYjs.CompanyService; exports.ServerContentService = _chunkU2HR57MYjs.ContentService; exports.ServerFeatureService = _chunkU2HR57MYjs.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunkU2HR57MYjs.NotificationService; exports.ServerPushService = _chunkU2HR57MYjs.PushService; exports.ServerRoleService = _chunkU2HR57MYjs.RoleService; exports.ServerS3Service = _chunkU2HR57MYjs.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunkU2HR57MYjs.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-MSNNAHDB.mjs";
18
+ } from "../chunk-ZYPNVEHB.mjs";
19
19
  import "../chunk-AUXK7QSA.mjs";
20
20
  import "../chunk-C7C7VY4F.mjs";
21
21
  import {
@@ -1,4 +1,3 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import React__default, { ReactElement } from 'react';
3
2
  import { J as JsonApiConfig } from '../JsonApiContext-Bsm_Q2oe.mjs';
4
3
  import { A as ApiRequestDataTypeInterface } from '../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
@@ -37,7 +36,7 @@ declare const defaultMockConfig: JsonApiConfig;
37
36
  * );
38
37
  * ```
39
38
  */
40
- declare function MockJsonApiProvider({ children, config }: MockJsonApiProviderProps): react_jsx_runtime.JSX.Element;
39
+ declare function MockJsonApiProvider({ children, config }: MockJsonApiProviderProps): React__default.JSX.Element;
41
40
 
42
41
  interface CreateMockModuleOptions {
43
42
  name: string;
@@ -1,4 +1,3 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import React__default, { ReactElement } from 'react';
3
2
  import { J as JsonApiConfig } from '../JsonApiContext-Bsm_Q2oe.js';
4
3
  import { A as ApiRequestDataTypeInterface } from '../ApiRequestDataTypeInterface-CYEcRUrh.js';
@@ -37,7 +36,7 @@ declare const defaultMockConfig: JsonApiConfig;
37
36
  * );
38
37
  * ```
39
38
  */
40
- declare function MockJsonApiProvider({ children, config }: MockJsonApiProviderProps): react_jsx_runtime.JSX.Element;
39
+ declare function MockJsonApiProvider({ children, config }: MockJsonApiProviderProps): React__default.JSX.Element;
41
40
 
42
41
  interface CreateMockModuleOptions {
43
42
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlonicora/nextjs-jsonapi",
3
- "version": "1.109.0",
3
+ "version": "1.110.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",
@@ -53,11 +53,6 @@
53
53
  "import": "./dist/billing/index.mjs",
54
54
  "require": "./dist/billing/index.js"
55
55
  },
56
- "./help-asset-route": {
57
- "types": "./dist/features/help/server/createHelpAssetRouteHandler.d.ts",
58
- "import": "./dist/features/help/server/createHelpAssetRouteHandler.mjs",
59
- "require": "./dist/features/help/server/createHelpAssetRouteHandler.js"
60
- },
61
56
  "./help": {
62
57
  "types": "./dist/features/help/index.d.ts",
63
58
  "import": "./dist/features/help/index.mjs",
@@ -18,7 +18,7 @@ let _clientConfig: {
18
18
  /**
19
19
  * Configure the JSON:API client. This is the main configuration function.
20
20
  * This is typically called during app initialization.
21
- * @param config.helpContent - Optional help-content config (manifest, brand, redirects). Forwarded to the help feature's globalThis-backed store; not stored on the client config.
21
+ * @param config.helpContent - Optional help-content config (brand only). Forwarded to the help feature's globalThis-backed store; not stored on the client config.
22
22
  */
23
23
  export function configureJsonApi(config: {
24
24
  apiUrl: string;
@@ -6,6 +6,7 @@ export * from "./containers";
6
6
  export * from "./contents";
7
7
  export * from "./details";
8
8
  export * from "./editors";
9
+ export { BlockNoteViewerContainer } from "./viewers/BlockNoteViewerContainer";
9
10
  export * from "./errors";
10
11
  export * from "./forms";
11
12
  export * from "./navigations";
@@ -0,0 +1,27 @@
1
+ "use client";
2
+
3
+ import { useCreateBlockNote } from "@blocknote/react";
4
+ import type { PartialBlock } from "@blocknote/core";
5
+ // Mirror BlockNoteEditor.tsx's BlockNoteView import + style.css. Default schema
6
+ // only — no useCurrentUserContext, uploadImage, AI, or custom inline specs, so
7
+ // this can render on auth-free public pages.
8
+ import { BlockNoteView } from "@blocknote/shadcn";
9
+ import "@blocknote/shadcn/style.css";
10
+
11
+ function normalize(content: unknown): PartialBlock[] | undefined {
12
+ if (Array.isArray(content) && content.length > 0) return content as PartialBlock[];
13
+ if (typeof content === "string" && content.trim()) {
14
+ try {
15
+ const parsed = JSON.parse(content);
16
+ if (Array.isArray(parsed) && parsed.length > 0) return parsed as PartialBlock[];
17
+ } catch {
18
+ /* plain string — fall through to undefined (rendered as empty) */
19
+ }
20
+ }
21
+ return undefined;
22
+ }
23
+
24
+ export function BlockNoteViewer({ content }: { content: unknown }) {
25
+ const editor = useCreateBlockNote({ initialContent: normalize(content) });
26
+ return <BlockNoteView editor={editor} editable={false} theme="light" />;
27
+ }
@@ -0,0 +1,10 @@
1
+ "use client";
2
+
3
+ import dynamic from "next/dynamic";
4
+ import React from "react";
5
+
6
+ const BlockNoteViewer = dynamic(() => import("./BlockNoteViewer").then((m) => m.BlockNoteViewer), { ssr: false });
7
+
8
+ export const BlockNoteViewerContainer = React.memo(function ViewerContainer(props: { content: unknown }) {
9
+ return <BlockNoteViewer {...props} />;
10
+ });
@@ -1,32 +1,23 @@
1
1
  /**
2
2
  * Centralized help-content store accessible from client and server contexts.
3
- * Uses globalThis Symbol keys to persist across HMR/Turbopack reloads and to
3
+ * Uses a globalThis Symbol key to persist across HMR/Turbopack reloads and to
4
4
  * bridge between the client-side `configureJsonApi` (in `client/config.ts`)
5
- * and server-side consumers (HelpProvider, getHelpContent, serializeHelpArticle).
5
+ * and the HelpProvider context. Holds the brand-only HelpContentConfig.
6
6
  *
7
7
  * NO external dependencies to avoid circular imports.
8
8
  *
9
9
  * Pattern mirrors `bootstrapStore.ts`.
10
10
  */
11
11
 
12
- // Help content config shape is duplicated here as `unknown` to avoid pulling
13
- // the help feature into this core file. Callers cast on read.
14
- type HelpReader = (article: { path: string }) => Promise<string>;
15
-
16
12
  const HELP_CONTENT_KEY = Symbol.for("nextjs-jsonapi:helpContent");
17
- const HELP_READER_KEY = Symbol.for("nextjs-jsonapi:helpReader");
18
13
 
19
14
  const globalStore = globalThis as unknown as {
20
15
  [HELP_CONTENT_KEY]?: unknown | null;
21
- [HELP_READER_KEY]?: HelpReader | null;
22
16
  };
23
17
 
24
18
  if (globalStore[HELP_CONTENT_KEY] === undefined) {
25
19
  globalStore[HELP_CONTENT_KEY] = null;
26
20
  }
27
- if (globalStore[HELP_READER_KEY] === undefined) {
28
- globalStore[HELP_READER_KEY] = null;
29
- }
30
21
 
31
22
  export function _setStaticHelpContent(cfg: unknown | null): void {
32
23
  globalStore[HELP_CONTENT_KEY] = cfg;
@@ -35,11 +26,3 @@ export function _setStaticHelpContent(cfg: unknown | null): void {
35
26
  export function _getStaticHelpContent<T = unknown>(): T | null {
36
27
  return (globalStore[HELP_CONTENT_KEY] as T | null) ?? null;
37
28
  }
38
-
39
- export function setHelpReader(reader: HelpReader): void {
40
- globalStore[HELP_READER_KEY] = reader;
41
- }
42
-
43
- export function _getStaticHelpReader(): HelpReader | null {
44
- return globalStore[HELP_READER_KEY] ?? null;
45
- }
@@ -20,6 +20,10 @@ class SourcesFetcher extends ClientAbstractService {
20
20
  }): Promise<ApiDataInterface[]> {
21
21
  const endpoint = new EndpointCreator({ endpoint: params.module });
22
22
  endpoint.addAdditionalParam(params.idsParam, params.ids.join(","));
23
+ // The list endpoint paginates and does not honour the `<x>Ids` filter, so a cited
24
+ // entity beyond the default first page never comes back and its citation falls back
25
+ // to "<Type> <id>". Request the full set and resolve client-side by id.
26
+ endpoint.addAdditionalParam("fetchAll", "true");
23
27
  if (params.module.inclusions?.lists?.fields) endpoint.limitToFields(params.module.inclusions.lists.fields);
24
28
  if (params.module.inclusions?.lists?.types) endpoint.limitToType(params.module.inclusions.lists.types);
25
29
  return this.callApi<ApiDataInterface[]>({
@@ -64,11 +64,11 @@ export function ContentsTab({ citations, sources }: Props) {
64
64
  } catch {
65
65
  return null;
66
66
  }
67
- // Help-content HowTos are public articles, not admin records: route to
68
- // /help/<mode>/<slug> instead of the module's /administration/howtos
69
- // page when the entity carries a helpContentSlug.
70
- const helpContentSlug = (source as any).helpContentSlug as string | undefined;
71
- const href = helpContentSlug ? `/help/${helpContentSlug}` : generate({ page: module, id: source.id });
67
+ // Help HowTos are public articles, not admin records: route to
68
+ // /help/<mode>/<slug> instead of the module's /administration/howtos page.
69
+ const howToType = (source as any).howToType as string | undefined;
70
+ const slug = (source as any).slug as string | undefined;
71
+ const href = howToType && slug ? `/help/${howToType}/${slug}` : generate({ page: module, id: source.id });
72
72
  const name = (source as any).name ?? source.identifier;
73
73
  return (
74
74
  <TableRow key={`${source.type}/${source.id}`}>
@@ -33,8 +33,9 @@ export function ReferencesTab({ references }: Props) {
33
33
  } catch {
34
34
  return null;
35
35
  }
36
- const helpContentSlug = (ref as any).helpContentSlug as string | undefined;
37
- const href = helpContentSlug ? `/help/${helpContentSlug}` : generate({ page: module, id: ref.id });
36
+ const howToType = (ref as any).howToType as string | undefined;
37
+ const slug = (ref as any).slug as string | undefined;
38
+ const href = howToType && slug ? `/help/${howToType}/${slug}` : generate({ page: module, id: ref.id });
38
39
  return (
39
40
  <TableRow key={`${ref.type}/${ref.id}`}>
40
41
  <TableCell>