@carlonicora/nextjs-jsonapi 1.118.0 → 1.120.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.
- package/dist/{BlockNoteEditor-5FFVS7KW.js → BlockNoteEditor-MQWCI6TX.js} +20 -20
- package/dist/{BlockNoteEditor-5FFVS7KW.js.map → BlockNoteEditor-MQWCI6TX.js.map} +1 -1
- package/dist/{BlockNoteEditor-6GRZW6BL.mjs → BlockNoteEditor-NW7SS2YJ.mjs} +5 -5
- package/dist/{JsonApiRequest-IYL5RZ7I.mjs → JsonApiRequest-4ISXX7PC.mjs} +4 -2
- package/dist/JsonApiRequest-P3VQ2WIS.js +26 -0
- package/dist/JsonApiRequest-P3VQ2WIS.js.map +1 -0
- package/dist/billing/index.js +347 -347
- package/dist/billing/index.mjs +4 -4
- package/dist/{chunk-6KLR3WJQ.js → chunk-5NNJYJSI.js} +9 -9
- package/dist/{chunk-6KLR3WJQ.js.map → chunk-5NNJYJSI.js.map} +1 -1
- package/dist/{chunk-KK7PYKVI.mjs → chunk-DKFXGCG2.mjs} +14 -10
- package/dist/chunk-DKFXGCG2.mjs.map +1 -0
- package/dist/{chunk-J5LROFGL.js → chunk-EIOEYXY3.js} +15 -11
- package/dist/chunk-EIOEYXY3.js.map +1 -0
- package/dist/{chunk-M7XAKLSP.mjs → chunk-IUKSHJPS.mjs} +40 -24
- package/dist/chunk-IUKSHJPS.mjs.map +1 -0
- package/dist/{chunk-WEPQD5MP.mjs → chunk-JL3X3LQR.mjs} +3 -3
- package/dist/{chunk-M2ODDWY3.js → chunk-MJ2TMIK3.js} +701 -701
- package/dist/{chunk-M2ODDWY3.js.map → chunk-MJ2TMIK3.js.map} +1 -1
- package/dist/{chunk-KXHEOLPZ.mjs → chunk-S4BL7L3J.mjs} +6 -6
- package/dist/{chunk-S2PTWBN6.js → chunk-YCMYYYBP.js} +66 -50
- package/dist/chunk-YCMYYYBP.js.map +1 -0
- package/dist/client/index.d.mts +15 -1
- package/dist/client/index.d.ts +15 -1
- package/dist/client/index.js +7 -5
- package/dist/client/index.js.map +1 -1
- package/dist/client/index.mjs +6 -4
- package/dist/components/index.js +5 -5
- package/dist/components/index.mjs +4 -4
- package/dist/contexts/index.js +5 -5
- package/dist/contexts/index.mjs +4 -4
- package/dist/core/index.d.mts +7 -2
- package/dist/core/index.d.ts +7 -2
- package/dist/core/index.js +3 -3
- package/dist/core/index.mjs +2 -2
- package/dist/features/help/index.js +37 -37
- package/dist/features/help/index.mjs +4 -4
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -4
- package/dist/index.mjs +3 -3
- package/dist/{s3.service-CihgBy97.d.mts → s3.service-CBqyDZyz.d.mts} +7 -0
- package/dist/{s3.service-Cyvfk3qV.d.ts → s3.service-gcEjq8gF.d.ts} +7 -0
- package/dist/server/index.d.mts +1 -1
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +12 -12
- package/dist/server/index.mjs +2 -2
- package/package.json +1 -1
- package/src/client/JsonApiClient.ts +23 -8
- package/src/client/__tests__/JsonApiClient.test.ts +31 -0
- package/src/core/abstracts/AbstractService.ts +13 -0
- package/src/core/abstracts/ClientAbstractService.ts +12 -0
- package/src/core/utils/translateResponse.ts +1 -0
- package/src/unified/JsonApiRequest.ts +22 -8
- package/src/unified/__tests__/JsonApiRequest.test.ts +29 -0
- package/dist/JsonApiRequest-OSGJ63XR.js +0 -24
- package/dist/JsonApiRequest-OSGJ63XR.js.map +0 -1
- package/dist/chunk-J5LROFGL.js.map +0 -1
- package/dist/chunk-KK7PYKVI.mjs.map +0 -1
- package/dist/chunk-M7XAKLSP.mjs.map +0 -1
- package/dist/chunk-S2PTWBN6.js.map +0 -1
- /package/dist/{BlockNoteEditor-6GRZW6BL.mjs.map → BlockNoteEditor-NW7SS2YJ.mjs.map} +0 -0
- /package/dist/{JsonApiRequest-IYL5RZ7I.mjs.map → JsonApiRequest-4ISXX7PC.mjs.map} +0 -0
- /package/dist/{chunk-WEPQD5MP.mjs.map → chunk-JL3X3LQR.mjs.map} +0 -0
- /package/dist/{chunk-KXHEOLPZ.mjs.map → chunk-S4BL7L3J.mjs.map} +0 -0
|
@@ -21,16 +21,16 @@ var _chunkYBZVWLPHjs = require('../../chunk-YBZVWLPH.js');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkMJ2TMIK3js = require('../../chunk-MJ2TMIK3.js');
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunk5NNJYJSIjs = require('../../chunk-5NNJYJSI.js');
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkYCMYYYBPjs = require('../../chunk-YCMYYYBP.js');
|
|
31
31
|
require('../../chunk-LXKSUWAV.js');
|
|
32
32
|
require('../../chunk-IBS6NI7D.js');
|
|
33
|
-
require('../../chunk-
|
|
33
|
+
require('../../chunk-EIOEYXY3.js');
|
|
34
34
|
require('../../chunk-3EPNHTMH.js');
|
|
35
35
|
|
|
36
36
|
|
|
@@ -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 =
|
|
44
|
+
const cfg = _chunk5NNJYJSIjs._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,
|
|
77
|
-
|
|
76
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMJ2TMIK3js.Sheet, { open, onOpenChange, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
77
|
+
_chunkMJ2TMIK3js.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,
|
|
81
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMJ2TMIK3js.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 =
|
|
88
|
+
const ctx = _chunkMJ2TMIK3js.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,
|
|
93
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
94
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
92
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMJ2TMIK3js.SheetHeader, { children: [
|
|
93
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMJ2TMIK3js.SheetTitle, { children: t("help.askAi.sheet.title") }),
|
|
94
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMJ2TMIK3js.SheetDescription, { children: t("help.askAi.sheet.subtitle") })
|
|
95
95
|
] }),
|
|
96
|
-
!showThread ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
96
|
+
!showThread ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMJ2TMIK3js.AssistantEmptyState, { onSend: send }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
97
97
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
98
|
-
|
|
98
|
+
_chunkMJ2TMIK3js.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,
|
|
108
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMJ2TMIK3js.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 } =
|
|
118
|
+
const { currentUser } = _chunkMJ2TMIK3js.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,
|
|
123
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
122
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMJ2TMIK3js.Tooltip, { children: [
|
|
123
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMJ2TMIK3js.TooltipTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMJ2TMIK3js.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,
|
|
127
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMJ2TMIK3js.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,
|
|
131
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMJ2TMIK3js.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 } =
|
|
144
|
+
const { currentUser } = _chunkMJ2TMIK3js.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,
|
|
160
|
+
currentUser ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMJ2TMIK3js.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, _chunkMJ2TMIK3js.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 =
|
|
202
|
+
const generateUrl = _chunkMJ2TMIK3js.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
|
-
|
|
207
|
+
_chunkYCMYYYBPjs.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 =
|
|
283
|
+
const generateUrl = _chunkMJ2TMIK3js.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 =
|
|
361
|
+
const generateUrl = _chunkMJ2TMIK3js.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
|
-
|
|
367
|
+
_chunkYCMYYYBPjs.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
|
-
|
|
379
|
+
_chunkMJ2TMIK3js.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,
|
|
388
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
389
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
390
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
391
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
387
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMJ2TMIK3js.SheetTrigger, { render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMJ2TMIK3js.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, _chunkMJ2TMIK3js.SheetContent, { side: "right", className: "w-full max-w-md sm:max-w-lg", children: [
|
|
389
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMJ2TMIK3js.SheetHeader, { children: [
|
|
390
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMJ2TMIK3js.SheetTitle, { children: active ? active.name : t("help.hint.pickArticle") }),
|
|
391
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMJ2TMIK3js.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 =
|
|
423
|
+
const generateUrl = _chunkMJ2TMIK3js.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
|
-
|
|
427
|
+
_chunkYCMYYYBPjs.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
|
-
|
|
434
|
+
_chunkMJ2TMIK3js.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,
|
|
443
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMJ2TMIK3js.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,16 +21,16 @@ import {
|
|
|
21
21
|
useAssistantContext,
|
|
22
22
|
useCurrentUserContext,
|
|
23
23
|
usePageUrlGenerator
|
|
24
|
-
} from "../../chunk-
|
|
24
|
+
} from "../../chunk-S4BL7L3J.mjs";
|
|
25
25
|
import {
|
|
26
26
|
_getStaticHelpContent
|
|
27
|
-
} from "../../chunk-
|
|
27
|
+
} from "../../chunk-JL3X3LQR.mjs";
|
|
28
28
|
import {
|
|
29
29
|
HowToService
|
|
30
|
-
} from "../../chunk-
|
|
30
|
+
} from "../../chunk-IUKSHJPS.mjs";
|
|
31
31
|
import "../../chunk-AUXK7QSA.mjs";
|
|
32
32
|
import "../../chunk-C7C7VY4F.mjs";
|
|
33
|
-
import "../../chunk-
|
|
33
|
+
import "../../chunk-DKFXGCG2.mjs";
|
|
34
34
|
import "../../chunk-VOXD3ZLY.mjs";
|
|
35
35
|
import {
|
|
36
36
|
__name
|
package/dist/index.d.mts
CHANGED
|
@@ -4,8 +4,8 @@ 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-
|
|
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-
|
|
7
|
+
import { b as AbstractService } from './s3.service-CBqyDZyz.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-CBqyDZyz.mjs';
|
|
9
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-DH1QwtC_.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';
|
package/dist/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ 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-
|
|
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-
|
|
7
|
+
import { b as AbstractService } from './s3.service-gcEjq8gF.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-gcEjq8gF.js';
|
|
9
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-giWvsOrX.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';
|
package/dist/index.js
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunk5NNJYJSIjs = require('./chunk-5NNJYJSI.js');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -199,7 +199,7 @@ var _chunk6KLR3WJQjs = require('./chunk-6KLR3WJQ.js');
|
|
|
199
199
|
|
|
200
200
|
|
|
201
201
|
|
|
202
|
-
var
|
|
202
|
+
var _chunkYCMYYYBPjs = require('./chunk-YCMYYYBP.js');
|
|
203
203
|
require('./chunk-LXKSUWAV.js');
|
|
204
204
|
require('./chunk-IBS6NI7D.js');
|
|
205
205
|
|
|
@@ -212,7 +212,7 @@ require('./chunk-IBS6NI7D.js');
|
|
|
212
212
|
|
|
213
213
|
|
|
214
214
|
|
|
215
|
-
var
|
|
215
|
+
var _chunkEIOEYXY3js = require('./chunk-EIOEYXY3.js');
|
|
216
216
|
require('./chunk-7QVYU63E.js');
|
|
217
217
|
|
|
218
218
|
|
|
@@ -423,5 +423,5 @@ require('./chunk-7QVYU63E.js');
|
|
|
423
423
|
|
|
424
424
|
|
|
425
425
|
|
|
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;
|
|
426
|
+
exports.ACTION_TYPES = _chunk5NNJYJSIjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkYCMYYYBPjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkYCMYYYBPjs.AbstractApiData; exports.AbstractService = _chunkYCMYYYBPjs.AbstractService; exports.Action = _chunkYCMYYYBPjs.Action; exports.Assistant = _chunkYCMYYYBPjs.Assistant; exports.AssistantMessage = _chunkYCMYYYBPjs.AssistantMessage; exports.AssistantMessageModule = _chunkYCMYYYBPjs.AssistantMessageModule; exports.AssistantMessageService = _chunkYCMYYYBPjs.AssistantMessageService; exports.AssistantModule = _chunkYCMYYYBPjs.AssistantModule; exports.AssistantService = _chunkYCMYYYBPjs.AssistantService; exports.AuditLog = _chunkYCMYYYBPjs.AuditLog; exports.AuditLogModule = _chunkYCMYYYBPjs.AuditLogModule; exports.AuditLogService = _chunkYCMYYYBPjs.AuditLogService; exports.Auth = _chunkYCMYYYBPjs.Auth; exports.AuthComponent = _chunkYCMYYYBPjs.AuthComponent; exports.AuthModule = _chunkYCMYYYBPjs.AuthModule; exports.AuthService = _chunkYCMYYYBPjs.AuthService; exports.AuthorModule = _chunkYCMYYYBPjs.AuthorModule; exports.BackupCodeVerify = _chunkYCMYYYBPjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkYCMYYYBPjs.BackupCodeVerifyModule; exports.Billing = _chunkYCMYYYBPjs.Billing; exports.BillingModule = _chunkYCMYYYBPjs.BillingModule; exports.BillingService = _chunkYCMYYYBPjs.BillingService; exports.BlockNoteDiffUtil = _chunkYCMYYYBPjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkYCMYYYBPjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunk5NNJYJSIjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.Chunk = _chunkYCMYYYBPjs.Chunk; exports.ChunkModule = _chunkYCMYYYBPjs.ChunkModule; exports.ClientAbstractService = _chunkYCMYYYBPjs.ClientAbstractService; exports.ClientHttpMethod = _chunkYCMYYYBPjs.ClientHttpMethod; exports.Company = _chunkYCMYYYBPjs.Company; exports.CompanyFields = _chunkYCMYYYBPjs.CompanyFields; exports.CompanyModule = _chunkYCMYYYBPjs.CompanyModule; exports.CompanyService = _chunkYCMYYYBPjs.CompanyService; exports.Content = _chunkYCMYYYBPjs.Content; exports.ContentFields = _chunkYCMYYYBPjs.ContentFields; exports.ContentModule = _chunkYCMYYYBPjs.ContentModule; exports.ContentService = _chunkYCMYYYBPjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkYCMYYYBPjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkEIOEYXY3js.DataClassRegistry; exports.DataClassRegistry = _chunkEIOEYXY3js.DataClassRegistry; exports.EndpointCreator = _chunkYCMYYYBPjs.EndpointCreator; exports.Feature = _chunkYCMYYYBPjs.Feature; exports.FeatureModule = _chunkYCMYYYBPjs.FeatureModule; exports.FeatureService = _chunkYCMYYYBPjs.FeatureService; exports.HowTo = _chunkYCMYYYBPjs.HowTo; exports.HowToFields = _chunkYCMYYYBPjs.HowToFields; exports.HowToModule = _chunkYCMYYYBPjs.HowToModule; exports.HowToService = _chunkYCMYYYBPjs.HowToService; exports.HttpMethod = _chunkYCMYYYBPjs.HttpMethod; exports.InvoiceStatus = _chunkYCMYYYBPjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkEIOEYXY3js.JsonApiDataFactory; exports.Module = _chunkYCMYYYBPjs.Module; exports.ModuleModule = _chunkYCMYYYBPjs.ModuleModule; exports.ModulePaths = _chunkYCMYYYBPjs.ModulePaths; exports.ModulePathsModule = _chunkYCMYYYBPjs.ModulePathsModule; exports.ModuleRegistrar = _chunkYCMYYYBPjs.ModuleRegistrar; exports.ModuleRegistry = _chunkYCMYYYBPjs.ModuleRegistry; exports.Modules = _chunkYCMYYYBPjs.Modules; exports.Notification = _chunkYCMYYYBPjs.Notification; exports.NotificationFields = _chunkYCMYYYBPjs.NotificationFields; exports.NotificationModule = _chunkYCMYYYBPjs.NotificationModule; exports.NotificationService = _chunkYCMYYYBPjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkYCMYYYBPjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkYCMYYYBPjs.OAuthClient; exports.OAuthModule = _chunkYCMYYYBPjs.OAuthModule; exports.OAuthService = _chunkYCMYYYBPjs.OAuthService; exports.Passkey = _chunkYCMYYYBPjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkYCMYYYBPjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkYCMYYYBPjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkYCMYYYBPjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkYCMYYYBPjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkYCMYYYBPjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkYCMYYYBPjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkYCMYYYBPjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkYCMYYYBPjs.PasskeyRename; exports.PasskeyRenameModule = _chunkYCMYYYBPjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkYCMYYYBPjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkYCMYYYBPjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkYCMYYYBPjs.PaymentMethod; exports.PermissionMapping = _chunkYCMYYYBPjs.PermissionMapping; exports.PermissionMappingModule = _chunkYCMYYYBPjs.PermissionMappingModule; exports.Push = _chunkYCMYYYBPjs.Push; exports.PushModule = _chunkYCMYYYBPjs.PushModule; exports.PushService = _chunkYCMYYYBPjs.PushService; exports.RbacMatrixModel = _chunkYCMYYYBPjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkYCMYYYBPjs.RbacMatrixModule; exports.RbacService = _chunk5NNJYJSIjs.RbacService; exports.ReferralModule = _chunkYCMYYYBPjs.ReferralModule; exports.ReferralService = _chunkYCMYYYBPjs.ReferralService; exports.ReferralStats = _chunkYCMYYYBPjs.ReferralStats; exports.ReferralStatsModule = _chunkYCMYYYBPjs.ReferralStatsModule; exports.RehydrationFactory = _chunkYCMYYYBPjs.RehydrationFactory; exports.Role = _chunkYCMYYYBPjs.Role; exports.RoleFields = _chunkYCMYYYBPjs.RoleFields; exports.RoleModule = _chunkYCMYYYBPjs.RoleModule; exports.RoleService = _chunkYCMYYYBPjs.RoleService; exports.S3 = _chunkYCMYYYBPjs.S3; exports.S3Module = _chunkYCMYYYBPjs.S3Module; exports.S3Service = _chunkYCMYYYBPjs.S3Service; exports.StripeCustomer = _chunkYCMYYYBPjs.StripeCustomer; exports.StripeCustomerModule = _chunkYCMYYYBPjs.StripeCustomerModule; exports.StripeCustomerService = _chunkYCMYYYBPjs.StripeCustomerService; exports.StripeInvoice = _chunkYCMYYYBPjs.StripeInvoice; exports.StripeInvoiceModule = _chunkYCMYYYBPjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkYCMYYYBPjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkYCMYYYBPjs.StripePaymentMethodModule; exports.StripePrice = _chunkYCMYYYBPjs.StripePrice; exports.StripePriceModule = _chunkYCMYYYBPjs.StripePriceModule; exports.StripePriceService = _chunkYCMYYYBPjs.StripePriceService; exports.StripeProduct = _chunkYCMYYYBPjs.StripeProduct; exports.StripeProductModule = _chunkYCMYYYBPjs.StripeProductModule; exports.StripeProductService = _chunkYCMYYYBPjs.StripeProductService; exports.StripePromotionCode = _chunkYCMYYYBPjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkYCMYYYBPjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkYCMYYYBPjs.StripePromotionCodeService; exports.StripeSubscription = _chunkYCMYYYBPjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkYCMYYYBPjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkYCMYYYBPjs.StripeSubscriptionService; exports.StripeUsage = _chunkYCMYYYBPjs.StripeUsage; exports.StripeUsageModule = _chunkYCMYYYBPjs.StripeUsageModule; exports.StripeUsageService = _chunkYCMYYYBPjs.StripeUsageService; exports.SubscriptionStatus = _chunkYCMYYYBPjs.SubscriptionStatus; exports.TableOptions = _chunkYCMYYYBPjs.TableOptions; exports.TotpAuthenticator = _chunkYCMYYYBPjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkYCMYYYBPjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkYCMYYYBPjs.TotpSetup; exports.TotpSetupModule = _chunkYCMYYYBPjs.TotpSetupModule; exports.TotpVerify = _chunkYCMYYYBPjs.TotpVerify; exports.TotpVerifyLogin = _chunkYCMYYYBPjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkYCMYYYBPjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkYCMYYYBPjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkYCMYYYBPjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkYCMYYYBPjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkYCMYYYBPjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkYCMYYYBPjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkYCMYYYBPjs.TwoFactorService; exports.TwoFactorStatus = _chunkYCMYYYBPjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkYCMYYYBPjs.TwoFactorStatusModule; exports.User = _chunkYCMYYYBPjs.User; exports.UserFields = _chunkYCMYYYBPjs.UserFields; exports.UserModule = _chunkYCMYYYBPjs.UserModule; exports.UserService = _chunkYCMYYYBPjs.UserService; exports.Waitlist = _chunkYCMYYYBPjs.Waitlist; exports.WaitlistModule = _chunkYCMYYYBPjs.WaitlistModule; exports.WaitlistService = _chunkYCMYYYBPjs.WaitlistService; exports.WaitlistStats = _chunkYCMYYYBPjs.WaitlistStats; exports.WaitlistStatsModule = _chunkYCMYYYBPjs.WaitlistStatsModule; exports.checkPermissions = _chunkYCMYYYBPjs.checkPermissions; exports.checkPermissionsFromServer = _chunkYCMYYYBPjs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkYCMYYYBPjs.clearLastApiTotal; exports.cn = _chunkYCMYYYBPjs.cn; exports.composeRefs = _chunkYCMYYYBPjs.composeRefs; exports.configureAuth = _chunkYCMYYYBPjs.configureAuth; exports.configureI18n = _chunk5NNJYJSIjs.configureI18n; exports.configureJsonApi = _chunk5NNJYJSIjs.configureJsonApi; exports.configureLogin = _chunk5NNJYJSIjs.configureLogin; exports.configureReferral = _chunk5NNJYJSIjs.configureReferral; exports.configureRoles = _chunk5NNJYJSIjs.configureRoles; exports.configureWaitlist = _chunk5NNJYJSIjs.configureWaitlist; exports.createJsonApiInclusion = _chunkYCMYYYBPjs.createJsonApiInclusion; exports.dismissToast = _chunkYCMYYYBPjs.dismissToast; exports.entityObjectSchema = _chunkYCMYYYBPjs.entityObjectSchema; exports.exists = _chunkYCMYYYBPjs.exists; exports.formatDate = _chunkYCMYYYBPjs.formatDate; exports.formatLocalDate = _chunkYCMYYYBPjs.formatLocalDate; exports.getApiUrl = _chunk5NNJYJSIjs.getApiUrl; exports.getAppUrl = _chunk5NNJYJSIjs.getAppUrl; exports.getBootstrapper = _chunkEIOEYXY3js.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkYCMYYYBPjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkYCMYYYBPjs.getGlobalErrorHandler; exports.getIcon = _chunkYCMYYYBPjs.getIcon; exports.getIconByModule = _chunkYCMYYYBPjs.getIconByModule; exports.getIconByModuleName = _chunkYCMYYYBPjs.getIconByModuleName; exports.getInitials = _chunkYCMYYYBPjs.getInitials; exports.getLastApiTotal = _chunkYCMYYYBPjs.getLastApiTotal; exports.getLucideIcon = _chunkYCMYYYBPjs.getLucideIcon; exports.getLucideIconByModule = _chunkYCMYYYBPjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkYCMYYYBPjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunk5NNJYJSIjs.getPublicApiUrl; exports.getReferralConfig = _chunk5NNJYJSIjs.getReferralConfig; exports.getRoleId = _chunk5NNJYJSIjs.getRoleId; exports.getStripePublishableKey = _chunk5NNJYJSIjs.getStripePublishableKey; exports.getTableComponents = _chunkYCMYYYBPjs.getTableComponents; exports.getTableOptions = _chunkYCMYYYBPjs.getTableOptions; exports.getTokenHandler = _chunkYCMYYYBPjs.getTokenHandler; exports.getTrackablePages = _chunk5NNJYJSIjs.getTrackablePages; exports.getValueFromPath = _chunkYCMYYYBPjs.getValueFromPath; exports.getWaitlistConfig = _chunk5NNJYJSIjs.getWaitlistConfig; exports.hasBootstrapper = _chunkEIOEYXY3js.hasBootstrapper; exports.isReferralEnabled = _chunk5NNJYJSIjs.isReferralEnabled; exports.isRolesConfigured = _chunk5NNJYJSIjs.isRolesConfigured; exports.rehydrate = _chunkYCMYYYBPjs.rehydrate; exports.rehydrateList = _chunkYCMYYYBPjs.rehydrateList; exports.resetBootstrapStore = _chunkEIOEYXY3js.resetBootstrapStore; exports.setBootstrapper = _chunkEIOEYXY3js.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkYCMYYYBPjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkYCMYYYBPjs.setGlobalErrorHandler; exports.showCustomToast = _chunkYCMYYYBPjs.showCustomToast; exports.showError = _chunkYCMYYYBPjs.showError; exports.showToast = _chunkYCMYYYBPjs.showToast; exports.translateData = _chunkEIOEYXY3js.translateData; exports.translateResponse = _chunkEIOEYXY3js.translateResponse; exports.tryBootstrap = _chunkEIOEYXY3js.tryBootstrap; exports.useComposedRefs = _chunkYCMYYYBPjs.useComposedRefs; exports.useIsMobile = _chunkYCMYYYBPjs.useIsMobile; exports.userObjectSchema = _chunkYCMYYYBPjs.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-
|
|
21
|
+
} from "./chunk-JL3X3LQR.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-
|
|
202
|
+
} from "./chunk-IUKSHJPS.mjs";
|
|
203
203
|
import "./chunk-AUXK7QSA.mjs";
|
|
204
204
|
import "./chunk-C7C7VY4F.mjs";
|
|
205
205
|
import {
|
|
@@ -212,7 +212,7 @@ import {
|
|
|
212
212
|
translateData,
|
|
213
213
|
translateResponse,
|
|
214
214
|
tryBootstrap
|
|
215
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-DKFXGCG2.mjs";
|
|
216
216
|
import "./chunk-PAWJFY3S.mjs";
|
|
217
217
|
export {
|
|
218
218
|
ACTION_TYPES,
|
|
@@ -84,6 +84,12 @@ declare abstract class AbstractService {
|
|
|
84
84
|
} | File | Blob;
|
|
85
85
|
token?: string;
|
|
86
86
|
suppressGlobalError?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Per-call override of the API base URL. When omitted, the existing global
|
|
89
|
+
* `NEXT_PUBLIC_API_URL` (or `configureJsonApi({ apiUrl })`) resolution is used —
|
|
90
|
+
* fully backward compatible. Ignored when `endpoint` starts with "http" (passthrough).
|
|
91
|
+
*/
|
|
92
|
+
baseUrl?: string;
|
|
87
93
|
}): Promise<T>;
|
|
88
94
|
/**
|
|
89
95
|
* Make an API call and return both data and meta from the response.
|
|
@@ -112,6 +118,7 @@ declare abstract class AbstractService {
|
|
|
112
118
|
method: HttpMethod;
|
|
113
119
|
endpoint: string;
|
|
114
120
|
companyId?: string;
|
|
121
|
+
baseUrl?: string;
|
|
115
122
|
suppressGlobalError?: boolean;
|
|
116
123
|
}): Promise<any>;
|
|
117
124
|
}
|
|
@@ -84,6 +84,12 @@ declare abstract class AbstractService {
|
|
|
84
84
|
} | File | Blob;
|
|
85
85
|
token?: string;
|
|
86
86
|
suppressGlobalError?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Per-call override of the API base URL. When omitted, the existing global
|
|
89
|
+
* `NEXT_PUBLIC_API_URL` (or `configureJsonApi({ apiUrl })`) resolution is used —
|
|
90
|
+
* fully backward compatible. Ignored when `endpoint` starts with "http" (passthrough).
|
|
91
|
+
*/
|
|
92
|
+
baseUrl?: string;
|
|
87
93
|
}): Promise<T>;
|
|
88
94
|
/**
|
|
89
95
|
* Make an API call and return both data and meta from the response.
|
|
@@ -112,6 +118,7 @@ declare abstract class AbstractService {
|
|
|
112
118
|
method: HttpMethod;
|
|
113
119
|
endpoint: string;
|
|
114
120
|
companyId?: string;
|
|
121
|
+
baseUrl?: string;
|
|
115
122
|
suppressGlobalError?: boolean;
|
|
116
123
|
}): Promise<any>;
|
|
117
124
|
}
|
package/dist/server/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ 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-
|
|
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-CBqyDZyz.mjs';
|
|
6
6
|
import 'lucide-react';
|
|
7
7
|
import '../ApiDataInterface-BcZeXy5X.mjs';
|
|
8
8
|
import '../feature.interface-CXb1-vNq.mjs';
|
package/dist/server/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ 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-
|
|
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-gcEjq8gF.js';
|
|
6
6
|
import 'lucide-react';
|
|
7
7
|
import '../ApiDataInterface-BcZeXy5X.js';
|
|
8
8
|
import '../feature.interface-BO25VLlx.js';
|
package/dist/server/index.js
CHANGED
|
@@ -15,13 +15,13 @@ var _chunkIOLU4ASDjs = require('../chunk-IOLU4ASD.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkYCMYYYBPjs = require('../chunk-YCMYYYBP.js');
|
|
19
19
|
require('../chunk-LXKSUWAV.js');
|
|
20
20
|
require('../chunk-IBS6NI7D.js');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkEIOEYXY3js = require('../chunk-EIOEYXY3.js');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
var _chunk7QVYU63Ejs = require('../chunk-7QVYU63E.js');
|
|
@@ -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
|
|
89
|
+
return _chunkYCMYYYBPjs.checkPermissionsFromServer.call(void 0, {
|
|
90
90
|
module: params.module,
|
|
91
91
|
action: params.action,
|
|
92
92
|
data: params.data,
|
|
@@ -158,7 +158,7 @@ async function ServerJsonApiGet(params) {
|
|
|
158
158
|
language: params.language,
|
|
159
159
|
additionalHeaders: _optionalChain([_serverConfig, 'optionalAccess', _23 => _23.additionalHeaders])
|
|
160
160
|
});
|
|
161
|
-
return
|
|
161
|
+
return _chunkEIOEYXY3js.translateResponse.call(void 0, {
|
|
162
162
|
classKey: params.classKey,
|
|
163
163
|
apiResponse,
|
|
164
164
|
companyId: params.companyId,
|
|
@@ -179,7 +179,7 @@ async function ServerJsonApiPost(params) {
|
|
|
179
179
|
if (!body) {
|
|
180
180
|
body = {};
|
|
181
181
|
} else if (params.overridesJsonApiCreation !== true) {
|
|
182
|
-
body =
|
|
182
|
+
body = _chunkEIOEYXY3js.JsonApiDataFactory.create(params.classKey, body);
|
|
183
183
|
}
|
|
184
184
|
const apiResponse = await _chunkIOLU4ASDjs.serverRequest.call(void 0, {
|
|
185
185
|
method: "POST",
|
|
@@ -191,7 +191,7 @@ async function ServerJsonApiPost(params) {
|
|
|
191
191
|
language: params.language,
|
|
192
192
|
additionalHeaders: _optionalChain([_serverConfig, 'optionalAccess', _24 => _24.additionalHeaders])
|
|
193
193
|
});
|
|
194
|
-
return
|
|
194
|
+
return _chunkEIOEYXY3js.translateResponse.call(void 0, {
|
|
195
195
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
196
196
|
apiResponse,
|
|
197
197
|
companyId: params.companyId,
|
|
@@ -206,7 +206,7 @@ async function ServerJsonApiPut(params) {
|
|
|
206
206
|
if (!body) {
|
|
207
207
|
body = {};
|
|
208
208
|
} else {
|
|
209
|
-
body =
|
|
209
|
+
body = _chunkEIOEYXY3js.JsonApiDataFactory.create(params.classKey, body);
|
|
210
210
|
}
|
|
211
211
|
const apiResponse = await _chunkIOLU4ASDjs.serverRequest.call(void 0, {
|
|
212
212
|
method: "PUT",
|
|
@@ -218,7 +218,7 @@ async function ServerJsonApiPut(params) {
|
|
|
218
218
|
language: params.language,
|
|
219
219
|
additionalHeaders: _optionalChain([_serverConfig, 'optionalAccess', _25 => _25.additionalHeaders])
|
|
220
220
|
});
|
|
221
|
-
return
|
|
221
|
+
return _chunkEIOEYXY3js.translateResponse.call(void 0, {
|
|
222
222
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
223
223
|
apiResponse,
|
|
224
224
|
companyId: params.companyId,
|
|
@@ -233,7 +233,7 @@ async function ServerJsonApiPatch(params) {
|
|
|
233
233
|
if (!body) {
|
|
234
234
|
body = {};
|
|
235
235
|
} else if (params.overridesJsonApiCreation !== true) {
|
|
236
|
-
body =
|
|
236
|
+
body = _chunkEIOEYXY3js.JsonApiDataFactory.create(params.classKey, body);
|
|
237
237
|
}
|
|
238
238
|
const apiResponse = await _chunkIOLU4ASDjs.serverRequest.call(void 0, {
|
|
239
239
|
method: "PATCH",
|
|
@@ -245,7 +245,7 @@ async function ServerJsonApiPatch(params) {
|
|
|
245
245
|
language: params.language,
|
|
246
246
|
additionalHeaders: _optionalChain([_serverConfig, 'optionalAccess', _26 => _26.additionalHeaders])
|
|
247
247
|
});
|
|
248
|
-
return
|
|
248
|
+
return _chunkEIOEYXY3js.translateResponse.call(void 0, {
|
|
249
249
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
250
250
|
apiResponse,
|
|
251
251
|
companyId: params.companyId,
|
|
@@ -264,7 +264,7 @@ async function ServerJsonApiDelete(params) {
|
|
|
264
264
|
language: params.language,
|
|
265
265
|
additionalHeaders: _optionalChain([_serverConfig, 'optionalAccess', _27 => _27.additionalHeaders])
|
|
266
266
|
});
|
|
267
|
-
return
|
|
267
|
+
return _chunkEIOEYXY3js.translateResponse.call(void 0, {
|
|
268
268
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
269
269
|
apiResponse,
|
|
270
270
|
companyId: params.companyId,
|
|
@@ -296,5 +296,5 @@ _chunk7QVYU63Ejs.__name.call(void 0, ServerJsonApiDelete, "ServerJsonApiDelete")
|
|
|
296
296
|
|
|
297
297
|
|
|
298
298
|
|
|
299
|
-
exports.ServerAuthService =
|
|
299
|
+
exports.ServerAuthService = _chunkYCMYYYBPjs.AuthService; exports.ServerCompanyService = _chunkYCMYYYBPjs.CompanyService; exports.ServerContentService = _chunkYCMYYYBPjs.ContentService; exports.ServerFeatureService = _chunkYCMYYYBPjs.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunkYCMYYYBPjs.NotificationService; exports.ServerPushService = _chunkYCMYYYBPjs.PushService; exports.ServerRoleService = _chunkYCMYYYBPjs.RoleService; exports.ServerS3Service = _chunkYCMYYYBPjs.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunkYCMYYYBPjs.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
|
package/dist/server/index.mjs
CHANGED
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
S3Service,
|
|
16
16
|
UserService,
|
|
17
17
|
checkPermissionsFromServer
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-IUKSHJPS.mjs";
|
|
19
19
|
import "../chunk-AUXK7QSA.mjs";
|
|
20
20
|
import "../chunk-C7C7VY4F.mjs";
|
|
21
21
|
import {
|
|
22
22
|
JsonApiDataFactory,
|
|
23
23
|
translateResponse
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-DKFXGCG2.mjs";
|
|
25
25
|
import {
|
|
26
26
|
__name
|
|
27
27
|
} from "../chunk-PAWJFY3S.mjs";
|