@carlonicora/nextjs-jsonapi 1.108.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.
- package/dist/{AssistantInterface-BYgI5z1-.d.mts → AssistantInterface-B1c8FhGA.d.mts} +2 -0
- package/dist/{AssistantInterface-DfDcz0gJ.d.ts → AssistantInterface-BBUHxOCd.d.ts} +2 -0
- package/dist/{AssistantMessageInterface-BpEhx2pC.d.ts → AssistantMessageInterface-BNzf1etU.d.ts} +16 -1
- package/dist/{AssistantMessageInterface-DJ3Me16Y.d.mts → AssistantMessageInterface-DrgHDjZ5.d.mts} +16 -1
- package/dist/{AuthComponent-B6DIk8Vf.d.ts → AuthComponent-Cd7lcYif.d.ts} +1 -1
- package/dist/{AuthComponent-BKI0ZbtD.d.mts → AuthComponent-DdxCFgUZ.d.mts} +1 -1
- package/dist/{BlockNoteEditor-2AXSTGGG.js → BlockNoteEditor-7OKW6HHN.js} +19 -19
- package/dist/{BlockNoteEditor-2AXSTGGG.js.map → BlockNoteEditor-7OKW6HHN.js.map} +1 -1
- package/dist/{BlockNoteEditor-XVIBGXHF.mjs → BlockNoteEditor-K7IIWM3S.mjs} +4 -4
- package/dist/BlockNoteViewer-OPSCTHKJ.mjs +31 -0
- package/dist/BlockNoteViewer-OPSCTHKJ.mjs.map +1 -0
- package/dist/BlockNoteViewer-UW5VZ5UF.js +31 -0
- package/dist/BlockNoteViewer-UW5VZ5UF.js.map +1 -0
- package/dist/{auth.interface-BBUgMZzs.d.ts → auth.interface-8b601idJ.d.ts} +1 -1
- package/dist/{auth.interface-XYEREOD6.d.mts → auth.interface-CXBF8Mhi.d.mts} +1 -1
- package/dist/billing/index.d.mts +41 -41
- package/dist/billing/index.d.ts +41 -41
- package/dist/billing/index.js +346 -346
- package/dist/billing/index.mjs +3 -3
- package/dist/{chunk-VLDLERJN.js → chunk-6XWW67F2.js} +29 -9
- package/dist/chunk-6XWW67F2.js.map +1 -0
- package/dist/{chunk-HC3JFN3C.js → chunk-AKXUNE3A.js} +1004 -862
- package/dist/chunk-AKXUNE3A.js.map +1 -0
- package/dist/{chunk-CFECWLHH.mjs → chunk-CWVYU4YZ.mjs} +23 -3
- package/dist/chunk-CWVYU4YZ.mjs.map +1 -0
- package/dist/{chunk-56XBGQGU.mjs → chunk-TXVVZLUQ.mjs} +1422 -1280
- package/dist/chunk-TXVVZLUQ.mjs.map +1 -0
- package/dist/{chunk-RXXZGPC3.js → chunk-U2HR57MY.js} +265 -113
- package/dist/chunk-U2HR57MY.js.map +1 -0
- package/dist/chunk-WPAQRB5Q.mjs +7 -0
- package/dist/chunk-WPAQRB5Q.mjs.map +1 -0
- package/dist/chunk-YBZVWLPH.js +7 -0
- package/dist/chunk-YBZVWLPH.js.map +1 -0
- package/dist/{chunk-N3NVIPSU.mjs → chunk-ZYPNVEHB.mjs} +235 -83
- package/dist/{chunk-N3NVIPSU.mjs.map → chunk-ZYPNVEHB.mjs.map} +1 -1
- package/dist/client/index.d.mts +9 -18
- package/dist/client/index.d.ts +9 -18
- package/dist/client/index.js +4 -4
- package/dist/client/index.mjs +3 -3
- package/dist/components/index.d.mts +421 -417
- package/dist/components/index.d.ts +421 -417
- package/dist/components/index.js +6 -4
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +5 -3
- package/dist/{config-CLQynoaa.d.ts → config-BrkU_Ynz.d.ts} +4 -1
- package/dist/{config-k61pe_o2.d.mts → config-snd2ToEB.d.mts} +4 -1
- package/dist/contexts/index.d.mts +31 -20
- package/dist/contexts/index.d.ts +31 -20
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/index.mjs +3 -3
- package/dist/core/index.d.mts +75 -11
- package/dist/core/index.d.ts +75 -11
- package/dist/core/index.js +2 -2
- package/dist/core/index.mjs +1 -1
- package/dist/features/help/index.css +29 -0
- package/dist/features/help/index.css.map +1 -0
- package/dist/features/help/index.d.mts +74 -0
- package/dist/features/help/index.d.ts +74 -0
- package/dist/features/help/index.js +522 -0
- package/dist/features/help/index.js.map +1 -0
- package/dist/features/help/index.mjs +522 -0
- package/dist/features/help/index.mjs.map +1 -0
- package/dist/features/help/server.d.mts +33 -0
- package/dist/features/help/server.d.ts +33 -0
- package/dist/features/help/server.js +8 -0
- package/dist/features/help/server.js.map +1 -0
- package/dist/features/help/server.mjs +8 -0
- package/dist/features/help/server.mjs.map +1 -0
- package/dist/help-content-config.interface-C5ESIod9.d.mts +13 -0
- package/dist/help-content-config.interface-C5ESIod9.d.ts +13 -0
- package/dist/index.d.mts +10 -8
- package/dist/index.d.ts +10 -8
- package/dist/index.js +3 -3
- package/dist/index.mjs +2 -2
- package/dist/{notification.interface-aLEJbA_g.d.ts → notification.interface-C1T1C2ee.d.ts} +1 -100
- package/dist/{notification.interface-DLZGtV7Z.d.mts → notification.interface-DIxR23eS.d.mts} +1 -100
- package/dist/{s3.service-CVgLWaDc.d.mts → s3.service-0BTClOYO.d.mts} +2 -2
- package/dist/{s3.service-SLlX0Zbz.d.ts → s3.service-CT27Fm1s.d.ts} +2 -2
- package/dist/server/index.d.mts +4 -3
- package/dist/server/index.d.ts +4 -3
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +1 -1
- package/dist/testing/index.d.mts +1 -2
- package/dist/testing/index.d.ts +1 -2
- package/dist/types-CQSjy7et.d.mts +101 -0
- package/dist/types-DHOxe8rc.d.ts +101 -0
- package/dist/usePageUrlGenerator-tjq2mlDV.d.ts +14 -0
- package/dist/usePageUrlGenerator-uOnyJ6j2.d.mts +14 -0
- package/dist/{useSocket-BkxHHujj.d.mts → useSocket-B1fMIr17.d.mts} +1 -1
- package/dist/{useSocket-CMDjWFYm.d.ts → useSocket-BdJTBXKv.d.ts} +1 -1
- package/package.json +15 -1
- package/src/client/config.ts +9 -1
- package/src/components/index.ts +1 -0
- package/src/components/viewers/BlockNoteViewer.tsx +27 -0
- package/src/components/viewers/BlockNoteViewerContainer.tsx +10 -0
- package/src/core/registry/helpStore.ts +28 -0
- package/src/features/assistant/contexts/AssistantContext.tsx +35 -19
- package/src/features/assistant/contexts/__tests__/AssistantContext.spec.tsx +66 -6
- package/src/features/assistant/data/Assistant.ts +2 -0
- package/src/features/assistant/data/AssistantInterface.ts +2 -0
- package/src/features/assistant/data/AssistantService.ts +18 -8
- package/src/features/assistant-message/components/parts/MessageSourcesContainer.tsx +4 -0
- package/src/features/assistant-message/components/parts/MessageSourcesPanel.tsx +6 -4
- package/src/features/assistant-message/components/parts/tabs/ContentsTab.tsx +5 -1
- package/src/features/assistant-message/components/parts/tabs/ReferencesTab.tsx +3 -1
- package/src/features/assistant-message/data/AssistantMessage.ts +27 -1
- package/src/features/assistant-message/data/AssistantMessageInterface.ts +1 -0
- package/src/features/assistant-message/data/__tests__/AssistantMessage.spec.ts +7 -3
- package/src/features/help/components/HelpArticleBody.tsx +62 -0
- package/src/features/help/components/HelpAskAi.tsx +36 -0
- package/src/features/help/components/HelpAssistantSheet.tsx +53 -0
- package/src/features/help/components/HelpHeader.tsx +40 -0
- package/src/features/help/components/HelpHint.tsx +86 -0
- package/src/features/help/components/HelpSearchResultRow.tsx +61 -0
- package/src/features/help/components/HelpSideNav.tsx +119 -0
- package/src/features/help/components/HelpTOC.tsx +49 -0
- package/src/features/help/components/__tests__/HelpAskAi.spec.tsx +68 -0
- package/src/features/help/components/__tests__/HelpAssistantSheet.spec.tsx +36 -0
- package/src/features/help/components/__tests__/HelpHint.spec.tsx +50 -0
- package/src/features/help/components/__tests__/HelpSearchResultRow.spec.tsx +58 -0
- package/src/features/help/components/__tests__/HelpSideNav.spec.tsx +50 -0
- package/src/features/help/contexts/HelpContext.spec.tsx +26 -0
- package/src/features/help/contexts/HelpContext.tsx +24 -0
- package/src/features/help/hooks/useHelp.ts +1 -0
- package/src/features/help/hooks/useHelpFilter.ts +27 -0
- package/src/features/help/i18n-keys.ts +34 -0
- package/src/features/help/index.ts +24 -0
- package/src/features/help/interfaces/help-content-config.interface.ts +12 -0
- package/src/features/help/server-entry.ts +11 -0
- package/src/features/help/types/help-article.types.ts +35 -0
- package/src/features/help/utils/articleUrl.ts +13 -0
- package/src/features/how-to/HowToModule.ts +14 -1
- package/src/features/how-to/components/forms/HowToEditor.tsx +108 -4
- package/src/features/how-to/data/HowTo.spec.ts +43 -0
- package/src/features/how-to/data/HowTo.ts +64 -3
- package/src/features/how-to/data/HowToInterface.ts +14 -0
- package/src/features/how-to/data/HowToService.ts +61 -0
- package/src/index.ts +4 -0
- package/dist/chunk-56XBGQGU.mjs.map +0 -1
- package/dist/chunk-CFECWLHH.mjs.map +0 -1
- package/dist/chunk-HC3JFN3C.js.map +0 -1
- package/dist/chunk-RXXZGPC3.js.map +0 -1
- package/dist/chunk-VLDLERJN.js.map +0 -1
- /package/dist/{BlockNoteEditor-XVIBGXHF.mjs.map → BlockNoteEditor-K7IIWM3S.mjs.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class; var _class2; var _class3; var _class4; var _class5; var _class6; var _class7; var _class8; var _class9; var _class10; var _class11; var _class12; var _class13; var _class14; var _class15; var _class16; var _class17; var _class18; var _class19; var _class20; var _class21; var _class22; var _class23; var _class24;
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class; var _class2; var _class3; var _class4; var _class5; var _class6; var _class7; var _class8; var _class9; var _class10; var _class11; var _class12; var _class13; var _class14; var _class15; var _class16; var _class17; var _class18; var _class19; var _class20; var _class21; var _class22; var _class23; var _class24; var _class25;
|
|
2
2
|
|
|
3
3
|
var _chunkLXKSUWAVjs = require('./chunk-LXKSUWAV.js');
|
|
4
4
|
|
|
@@ -5256,6 +5256,13 @@ var HowTo = class extends Content {
|
|
|
5256
5256
|
}
|
|
5257
5257
|
|
|
5258
5258
|
|
|
5259
|
+
|
|
5260
|
+
|
|
5261
|
+
|
|
5262
|
+
|
|
5263
|
+
|
|
5264
|
+
|
|
5265
|
+
|
|
5259
5266
|
/**
|
|
5260
5267
|
* Parse pages from backend JSON string (handles legacy single string + JSON array)
|
|
5261
5268
|
*/
|
|
@@ -5281,10 +5288,49 @@ var HowTo = class extends Content {
|
|
|
5281
5288
|
get pages() {
|
|
5282
5289
|
return this._pages;
|
|
5283
5290
|
}
|
|
5291
|
+
get howToType() {
|
|
5292
|
+
return this._howToType;
|
|
5293
|
+
}
|
|
5294
|
+
get slug() {
|
|
5295
|
+
return this._slug;
|
|
5296
|
+
}
|
|
5297
|
+
get order() {
|
|
5298
|
+
return this._order;
|
|
5299
|
+
}
|
|
5300
|
+
get summary() {
|
|
5301
|
+
return this._summary;
|
|
5302
|
+
}
|
|
5303
|
+
get tags() {
|
|
5304
|
+
return _nullishCoalesce(this._tags, () => ( []));
|
|
5305
|
+
}
|
|
5306
|
+
get contextualKeys() {
|
|
5307
|
+
return _nullishCoalesce(this._contextualKeys, () => ( []));
|
|
5308
|
+
}
|
|
5309
|
+
get draft() {
|
|
5310
|
+
return _nullishCoalesce(this._draft, () => ( false));
|
|
5311
|
+
}
|
|
5284
5312
|
rehydrate(data) {
|
|
5285
5313
|
super.rehydrate(data);
|
|
5286
|
-
|
|
5314
|
+
const rawDescription = data.jsonApi.attributes.description;
|
|
5315
|
+
if (rawDescription === void 0 || rawDescription === null || rawDescription === "") {
|
|
5316
|
+
this._description = void 0;
|
|
5317
|
+
} else if (typeof rawDescription === "string") {
|
|
5318
|
+
try {
|
|
5319
|
+
this._description = JSON.parse(rawDescription);
|
|
5320
|
+
} catch (e4) {
|
|
5321
|
+
this._description = rawDescription;
|
|
5322
|
+
}
|
|
5323
|
+
} else {
|
|
5324
|
+
this._description = rawDescription;
|
|
5325
|
+
}
|
|
5287
5326
|
this._pages = data.jsonApi.attributes.pages;
|
|
5327
|
+
this._howToType = data.jsonApi.attributes.howToType;
|
|
5328
|
+
this._slug = data.jsonApi.attributes.slug;
|
|
5329
|
+
this._order = data.jsonApi.attributes.order;
|
|
5330
|
+
this._summary = data.jsonApi.attributes.summary;
|
|
5331
|
+
this._tags = _nullishCoalesce(data.jsonApi.attributes.tags, () => ( []));
|
|
5332
|
+
this._contextualKeys = _nullishCoalesce(data.jsonApi.attributes.contextualKeys, () => ( []));
|
|
5333
|
+
this._draft = _nullishCoalesce(data.jsonApi.attributes.draft, () => ( false));
|
|
5288
5334
|
return this;
|
|
5289
5335
|
}
|
|
5290
5336
|
createJsonApi(data) {
|
|
@@ -5301,6 +5347,13 @@ var HowTo = class extends Content {
|
|
|
5301
5347
|
super.addContentInput(response, data);
|
|
5302
5348
|
if (data.description !== void 0) response.data.attributes.description = JSON.stringify(data.description);
|
|
5303
5349
|
if (data.pages !== void 0) response.data.attributes.pages = data.pages;
|
|
5350
|
+
if (data.howToType !== void 0) response.data.attributes.howToType = data.howToType;
|
|
5351
|
+
if (data.slug !== void 0) response.data.attributes.slug = data.slug;
|
|
5352
|
+
if (data.order !== void 0) response.data.attributes.order = data.order;
|
|
5353
|
+
if (data.summary !== void 0) response.data.attributes.summary = data.summary;
|
|
5354
|
+
if (data.tags !== void 0) response.data.attributes.tags = data.tags;
|
|
5355
|
+
if (data.contextualKeys !== void 0) response.data.attributes.contextualKeys = data.contextualKeys;
|
|
5356
|
+
if (data.draft !== void 0) response.data.attributes.draft = data.draft;
|
|
5304
5357
|
return response;
|
|
5305
5358
|
}
|
|
5306
5359
|
};
|
|
@@ -5314,7 +5367,20 @@ var HowToModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory)
|
|
|
5314
5367
|
icon: _lucidereact.LifeBuoyIcon,
|
|
5315
5368
|
inclusions: {
|
|
5316
5369
|
lists: {
|
|
5317
|
-
fields: [
|
|
5370
|
+
fields: [
|
|
5371
|
+
createJsonApiInclusion("howtos", [
|
|
5372
|
+
"name",
|
|
5373
|
+
"description",
|
|
5374
|
+
"pages",
|
|
5375
|
+
"howToType",
|
|
5376
|
+
"slug",
|
|
5377
|
+
"order",
|
|
5378
|
+
"summary",
|
|
5379
|
+
"tags",
|
|
5380
|
+
"contextualKeys",
|
|
5381
|
+
"draft"
|
|
5382
|
+
])
|
|
5383
|
+
]
|
|
5318
5384
|
}
|
|
5319
5385
|
}
|
|
5320
5386
|
}), "HowToModule");
|
|
@@ -5378,6 +5444,62 @@ var HowToService = class extends AbstractService {
|
|
|
5378
5444
|
endpoint: new EndpointCreator({ endpoint: Modules.HowTo, id: params.howToId }).generate()
|
|
5379
5445
|
});
|
|
5380
5446
|
}
|
|
5447
|
+
static async findPublished(params = {}) {
|
|
5448
|
+
const endpoint = new EndpointCreator({ endpoint: `public/${Modules.HowTo.name}` });
|
|
5449
|
+
if (params.howToType) endpoint.addAdditionalParam("type", params.howToType);
|
|
5450
|
+
return this.callApi({
|
|
5451
|
+
type: Modules.HowTo,
|
|
5452
|
+
method: "GET" /* GET */,
|
|
5453
|
+
endpoint: endpoint.generate()
|
|
5454
|
+
});
|
|
5455
|
+
}
|
|
5456
|
+
static async findPublishedArticle(params) {
|
|
5457
|
+
return this.callApi({
|
|
5458
|
+
type: Modules.HowTo,
|
|
5459
|
+
method: "GET" /* GET */,
|
|
5460
|
+
endpoint: new EndpointCreator({
|
|
5461
|
+
endpoint: `public/${Modules.HowTo.name}`,
|
|
5462
|
+
id: params.howToType,
|
|
5463
|
+
childEndpoint: params.slug
|
|
5464
|
+
}).generate()
|
|
5465
|
+
});
|
|
5466
|
+
}
|
|
5467
|
+
static async findRelated(params) {
|
|
5468
|
+
return this.callApi({
|
|
5469
|
+
type: Modules.HowTo,
|
|
5470
|
+
method: "GET" /* GET */,
|
|
5471
|
+
endpoint: new EndpointCreator({
|
|
5472
|
+
endpoint: `public/${Modules.HowTo.name}`,
|
|
5473
|
+
id: params.howToType,
|
|
5474
|
+
childEndpoint: params.slug,
|
|
5475
|
+
childId: "related"
|
|
5476
|
+
}).generate()
|
|
5477
|
+
});
|
|
5478
|
+
}
|
|
5479
|
+
static async addRelated(params) {
|
|
5480
|
+
return this.callApi({
|
|
5481
|
+
type: Modules.HowTo,
|
|
5482
|
+
method: "POST" /* POST */,
|
|
5483
|
+
endpoint: new EndpointCreator({
|
|
5484
|
+
endpoint: Modules.HowTo,
|
|
5485
|
+
id: params.howToId,
|
|
5486
|
+
childEndpoint: "related",
|
|
5487
|
+
childId: params.relatedId
|
|
5488
|
+
}).generate()
|
|
5489
|
+
});
|
|
5490
|
+
}
|
|
5491
|
+
static async removeRelated(params) {
|
|
5492
|
+
await this.callApi({
|
|
5493
|
+
type: Modules.HowTo,
|
|
5494
|
+
method: "DELETE" /* DELETE */,
|
|
5495
|
+
endpoint: new EndpointCreator({
|
|
5496
|
+
endpoint: Modules.HowTo,
|
|
5497
|
+
id: params.howToId,
|
|
5498
|
+
childEndpoint: "related",
|
|
5499
|
+
childId: params.relatedId
|
|
5500
|
+
}).generate()
|
|
5501
|
+
});
|
|
5502
|
+
}
|
|
5381
5503
|
};
|
|
5382
5504
|
|
|
5383
5505
|
// src/features/assistant/AssistantModule.ts
|
|
@@ -5410,7 +5532,9 @@ var Assistant = class extends AbstractApiData {
|
|
|
5410
5532
|
type: Modules.Assistant.name,
|
|
5411
5533
|
attributes: {
|
|
5412
5534
|
content: data.firstMessage,
|
|
5413
|
-
...data.title !== void 0 ? { title: data.title } : {}
|
|
5535
|
+
...data.title !== void 0 ? { title: data.title } : {},
|
|
5536
|
+
...data.howToMode !== void 0 ? { howToMode: data.howToMode } : {},
|
|
5537
|
+
...data.limitToHowToId !== void 0 ? { limitToHowToId: data.limitToHowToId } : {}
|
|
5414
5538
|
}
|
|
5415
5539
|
},
|
|
5416
5540
|
included: []
|
|
@@ -5433,82 +5557,7 @@ var AssistantModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (fact
|
|
|
5433
5557
|
}
|
|
5434
5558
|
}), "AssistantModule");
|
|
5435
5559
|
|
|
5436
|
-
// src/features/assistant/data/
|
|
5437
|
-
var AssistantService = class extends AbstractService {
|
|
5438
|
-
static {
|
|
5439
|
-
_chunk7QVYU63Ejs.__name.call(void 0, this, "AssistantService");
|
|
5440
|
-
}
|
|
5441
|
-
static async findOne(params) {
|
|
5442
|
-
return this.callApi({
|
|
5443
|
-
type: Modules.Assistant,
|
|
5444
|
-
method: "GET" /* GET */,
|
|
5445
|
-
endpoint: new EndpointCreator({ endpoint: Modules.Assistant, id: params.id }).generate()
|
|
5446
|
-
});
|
|
5447
|
-
}
|
|
5448
|
-
static async findMany(params = {}) {
|
|
5449
|
-
const endpoint = new EndpointCreator({ endpoint: Modules.Assistant });
|
|
5450
|
-
if (params.fetchAll) endpoint.addAdditionalParam("fetchAll", "true");
|
|
5451
|
-
return this.callApi({
|
|
5452
|
-
type: Modules.Assistant,
|
|
5453
|
-
method: "GET" /* GET */,
|
|
5454
|
-
endpoint: endpoint.generate()
|
|
5455
|
-
});
|
|
5456
|
-
}
|
|
5457
|
-
static async create(params) {
|
|
5458
|
-
return this.callApi({
|
|
5459
|
-
type: Modules.Assistant,
|
|
5460
|
-
method: "POST" /* POST */,
|
|
5461
|
-
endpoint: new EndpointCreator({ endpoint: Modules.Assistant }).generate(),
|
|
5462
|
-
input: params
|
|
5463
|
-
});
|
|
5464
|
-
}
|
|
5465
|
-
/**
|
|
5466
|
-
* Sends a new user message to an existing assistant thread. The agent turn
|
|
5467
|
-
* runs synchronously; the response is a two-element list: [user, assistant].
|
|
5468
|
-
*/
|
|
5469
|
-
static async appendMessage(params) {
|
|
5470
|
-
return this.callApi({
|
|
5471
|
-
type: Modules.AssistantMessage,
|
|
5472
|
-
method: "POST" /* POST */,
|
|
5473
|
-
endpoint: new EndpointCreator({
|
|
5474
|
-
endpoint: Modules.Assistant,
|
|
5475
|
-
id: params.assistantId,
|
|
5476
|
-
childEndpoint: Modules.AssistantMessage
|
|
5477
|
-
}).generate(),
|
|
5478
|
-
input: {
|
|
5479
|
-
data: {
|
|
5480
|
-
type: Modules.AssistantMessage.name,
|
|
5481
|
-
attributes: { content: params.content }
|
|
5482
|
-
}
|
|
5483
|
-
},
|
|
5484
|
-
overridesJsonApiCreation: true
|
|
5485
|
-
});
|
|
5486
|
-
}
|
|
5487
|
-
static async rename(params) {
|
|
5488
|
-
await this.callApi({
|
|
5489
|
-
type: Modules.Assistant,
|
|
5490
|
-
method: "PATCH" /* PATCH */,
|
|
5491
|
-
endpoint: new EndpointCreator({ endpoint: Modules.Assistant, id: params.id }).generate(),
|
|
5492
|
-
input: {
|
|
5493
|
-
data: {
|
|
5494
|
-
type: Modules.Assistant.name,
|
|
5495
|
-
id: params.id,
|
|
5496
|
-
attributes: { title: params.title }
|
|
5497
|
-
}
|
|
5498
|
-
},
|
|
5499
|
-
overridesJsonApiCreation: true
|
|
5500
|
-
});
|
|
5501
|
-
}
|
|
5502
|
-
static async delete(params) {
|
|
5503
|
-
await this.callApi({
|
|
5504
|
-
type: Modules.Assistant,
|
|
5505
|
-
method: "DELETE" /* DELETE */,
|
|
5506
|
-
endpoint: new EndpointCreator({ endpoint: Modules.Assistant, id: params.id }).generate()
|
|
5507
|
-
});
|
|
5508
|
-
}
|
|
5509
|
-
};
|
|
5510
|
-
|
|
5511
|
-
// src/features/assistant-message/AssistantMessageModule.ts
|
|
5560
|
+
// src/features/assistant-message/data/AssistantMessage.ts
|
|
5512
5561
|
|
|
5513
5562
|
|
|
5514
5563
|
// src/features/assistant/utils/resolveReferenceableModules.ts
|
|
@@ -5521,7 +5570,7 @@ function resolveReferenceableModules() {
|
|
|
5521
5570
|
_chunk7QVYU63Ejs.__name.call(void 0, resolveReferenceableModules, "resolveReferenceableModules");
|
|
5522
5571
|
|
|
5523
5572
|
// src/features/assistant-message/data/AssistantMessage.ts
|
|
5524
|
-
var AssistantMessage = class _AssistantMessage extends AbstractApiData {
|
|
5573
|
+
var AssistantMessage = (_class19 = class _AssistantMessage extends AbstractApiData {constructor(...args16) { super(...args16); _class19.prototype.__init40.call(this); }
|
|
5525
5574
|
static {
|
|
5526
5575
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AssistantMessage");
|
|
5527
5576
|
}
|
|
@@ -5533,6 +5582,7 @@ var AssistantMessage = class _AssistantMessage extends AbstractApiData {
|
|
|
5533
5582
|
|
|
5534
5583
|
|
|
5535
5584
|
|
|
5585
|
+
__init40() {this._isOptimistic = false}
|
|
5536
5586
|
get role() {
|
|
5537
5587
|
return _nullishCoalesce(this._role, () => ( "assistant"));
|
|
5538
5588
|
}
|
|
@@ -5557,6 +5607,9 @@ var AssistantMessage = class _AssistantMessage extends AbstractApiData {
|
|
|
5557
5607
|
get citations() {
|
|
5558
5608
|
return _nullishCoalesce(this._citations, () => ( []));
|
|
5559
5609
|
}
|
|
5610
|
+
get isOptimistic() {
|
|
5611
|
+
return this._isOptimistic;
|
|
5612
|
+
}
|
|
5560
5613
|
rehydrate(data) {
|
|
5561
5614
|
super.rehydrate(data);
|
|
5562
5615
|
const attrs = _nullishCoalesce(data.jsonApi.attributes, () => ( {}));
|
|
@@ -5599,10 +5652,28 @@ var AssistantMessage = class _AssistantMessage extends AbstractApiData {
|
|
|
5599
5652
|
included: []
|
|
5600
5653
|
};
|
|
5601
5654
|
}
|
|
5655
|
+
/**
|
|
5656
|
+
* JSON:API envelope for POST /assistants/:id/assistant-messages.
|
|
5657
|
+
* Different from `createJsonApi` (which expects a full message with role/position/assistant ref);
|
|
5658
|
+
* the append-to-thread endpoint derives those server-side, so we only send `content` and
|
|
5659
|
+
* the optional retrieval-mode flags.
|
|
5660
|
+
*/
|
|
5661
|
+
createAppendMessageJsonApi(params) {
|
|
5662
|
+
return {
|
|
5663
|
+
data: {
|
|
5664
|
+
type: Modules.AssistantMessage.name,
|
|
5665
|
+
attributes: {
|
|
5666
|
+
content: params.content,
|
|
5667
|
+
...params.howToMode !== void 0 ? { howToMode: params.howToMode } : {},
|
|
5668
|
+
...params.limitToHowToId !== void 0 ? { limitToHowToId: params.limitToHowToId } : {}
|
|
5669
|
+
}
|
|
5670
|
+
}
|
|
5671
|
+
};
|
|
5672
|
+
}
|
|
5602
5673
|
static buildOptimistic(params) {
|
|
5603
5674
|
const msg = new _AssistantMessage();
|
|
5604
5675
|
const jsonApi = {
|
|
5605
|
-
id:
|
|
5676
|
+
id: _uuid.v4.call(void 0, ),
|
|
5606
5677
|
type: Modules.AssistantMessage.name,
|
|
5607
5678
|
attributes: {
|
|
5608
5679
|
role: "user",
|
|
@@ -5616,11 +5687,92 @@ var AssistantMessage = class _AssistantMessage extends AbstractApiData {
|
|
|
5616
5687
|
};
|
|
5617
5688
|
}
|
|
5618
5689
|
msg.rehydrate({ jsonApi, included: [] });
|
|
5690
|
+
msg._isOptimistic = true;
|
|
5619
5691
|
return msg;
|
|
5620
5692
|
}
|
|
5693
|
+
}, _class19);
|
|
5694
|
+
|
|
5695
|
+
// src/features/assistant/data/AssistantService.ts
|
|
5696
|
+
var AssistantService = class extends AbstractService {
|
|
5697
|
+
static {
|
|
5698
|
+
_chunk7QVYU63Ejs.__name.call(void 0, this, "AssistantService");
|
|
5699
|
+
}
|
|
5700
|
+
static async findOne(params) {
|
|
5701
|
+
return this.callApi({
|
|
5702
|
+
type: Modules.Assistant,
|
|
5703
|
+
method: "GET" /* GET */,
|
|
5704
|
+
endpoint: new EndpointCreator({ endpoint: Modules.Assistant, id: params.id }).generate()
|
|
5705
|
+
});
|
|
5706
|
+
}
|
|
5707
|
+
static async findMany(params = {}) {
|
|
5708
|
+
const endpoint = new EndpointCreator({ endpoint: Modules.Assistant });
|
|
5709
|
+
if (params.fetchAll) endpoint.addAdditionalParam("fetchAll", "true");
|
|
5710
|
+
return this.callApi({
|
|
5711
|
+
type: Modules.Assistant,
|
|
5712
|
+
method: "GET" /* GET */,
|
|
5713
|
+
endpoint: endpoint.generate()
|
|
5714
|
+
});
|
|
5715
|
+
}
|
|
5716
|
+
static async create(params) {
|
|
5717
|
+
return this.callApi({
|
|
5718
|
+
type: Modules.Assistant,
|
|
5719
|
+
method: "POST" /* POST */,
|
|
5720
|
+
endpoint: new EndpointCreator({ endpoint: Modules.Assistant }).generate(),
|
|
5721
|
+
input: params
|
|
5722
|
+
});
|
|
5723
|
+
}
|
|
5724
|
+
/**
|
|
5725
|
+
* Sends a new user message to an existing assistant thread. The agent turn
|
|
5726
|
+
* runs synchronously; the response is a two-element list: [user, assistant].
|
|
5727
|
+
*
|
|
5728
|
+
* Uses the dedicated AssistantMessage.createAppendMessageJsonApi method to
|
|
5729
|
+
* build the JSON:API envelope; this is the architecture-compliant pairing
|
|
5730
|
+
* with `overridesJsonApiCreation: true`.
|
|
5731
|
+
*/
|
|
5732
|
+
static async appendMessage(params) {
|
|
5733
|
+
const message = new AssistantMessage();
|
|
5734
|
+
return this.callApi({
|
|
5735
|
+
type: Modules.AssistantMessage,
|
|
5736
|
+
method: "POST" /* POST */,
|
|
5737
|
+
endpoint: new EndpointCreator({
|
|
5738
|
+
endpoint: Modules.Assistant,
|
|
5739
|
+
id: params.assistantId,
|
|
5740
|
+
childEndpoint: Modules.AssistantMessage
|
|
5741
|
+
}).generate(),
|
|
5742
|
+
input: message.createAppendMessageJsonApi({
|
|
5743
|
+
content: params.content,
|
|
5744
|
+
howToMode: params.howToMode,
|
|
5745
|
+
limitToHowToId: params.limitToHowToId
|
|
5746
|
+
}),
|
|
5747
|
+
overridesJsonApiCreation: true
|
|
5748
|
+
});
|
|
5749
|
+
}
|
|
5750
|
+
static async rename(params) {
|
|
5751
|
+
await this.callApi({
|
|
5752
|
+
type: Modules.Assistant,
|
|
5753
|
+
method: "PATCH" /* PATCH */,
|
|
5754
|
+
endpoint: new EndpointCreator({ endpoint: Modules.Assistant, id: params.id }).generate(),
|
|
5755
|
+
input: {
|
|
5756
|
+
data: {
|
|
5757
|
+
type: Modules.Assistant.name,
|
|
5758
|
+
id: params.id,
|
|
5759
|
+
attributes: { title: params.title }
|
|
5760
|
+
}
|
|
5761
|
+
},
|
|
5762
|
+
overridesJsonApiCreation: true
|
|
5763
|
+
});
|
|
5764
|
+
}
|
|
5765
|
+
static async delete(params) {
|
|
5766
|
+
await this.callApi({
|
|
5767
|
+
type: Modules.Assistant,
|
|
5768
|
+
method: "DELETE" /* DELETE */,
|
|
5769
|
+
endpoint: new EndpointCreator({ endpoint: Modules.Assistant, id: params.id }).generate()
|
|
5770
|
+
});
|
|
5771
|
+
}
|
|
5621
5772
|
};
|
|
5622
5773
|
|
|
5623
5774
|
// src/features/assistant-message/AssistantMessageModule.ts
|
|
5775
|
+
|
|
5624
5776
|
var AssistantMessageModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
5625
5777
|
pageUrl: "/assistant-messages",
|
|
5626
5778
|
name: "assistant-messages",
|
|
@@ -5760,13 +5912,13 @@ var ChunkModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory)
|
|
|
5760
5912
|
}), "ChunkModule");
|
|
5761
5913
|
|
|
5762
5914
|
// src/features/feature/data/feature.ts
|
|
5763
|
-
var Feature = (
|
|
5915
|
+
var Feature = (_class20 = class extends AbstractApiData {constructor(...args17) { super(...args17); _class20.prototype.__init41.call(this); }
|
|
5764
5916
|
static {
|
|
5765
5917
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "Feature");
|
|
5766
5918
|
}
|
|
5767
5919
|
|
|
5768
5920
|
|
|
5769
|
-
|
|
5921
|
+
__init41() {this._modules = []}
|
|
5770
5922
|
get name() {
|
|
5771
5923
|
return _nullishCoalesce(this._name, () => ( ""));
|
|
5772
5924
|
}
|
|
@@ -5783,7 +5935,7 @@ var Feature = (_class19 = class extends AbstractApiData {constructor(...args16)
|
|
|
5783
5935
|
this._modules = this._readIncluded(data, `modules`, Modules.Module);
|
|
5784
5936
|
return this;
|
|
5785
5937
|
}
|
|
5786
|
-
},
|
|
5938
|
+
}, _class20);
|
|
5787
5939
|
|
|
5788
5940
|
// src/features/feature/data/feature.service.ts
|
|
5789
5941
|
var FeatureService = class extends AbstractService {
|
|
@@ -6234,7 +6386,7 @@ var S3Service = class extends AbstractService {
|
|
|
6234
6386
|
};
|
|
6235
6387
|
|
|
6236
6388
|
// src/features/user/data/user.ts
|
|
6237
|
-
var User = (
|
|
6389
|
+
var User = (_class21 = class extends AbstractApiData {constructor(...args18) { super(...args18); _class21.prototype.__init42.call(this);_class21.prototype.__init43.call(this);_class21.prototype.__init44.call(this); }
|
|
6238
6390
|
static {
|
|
6239
6391
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "User");
|
|
6240
6392
|
}
|
|
@@ -6248,12 +6400,12 @@ var User = (_class20 = class extends AbstractApiData {constructor(...args17) { s
|
|
|
6248
6400
|
|
|
6249
6401
|
|
|
6250
6402
|
|
|
6251
|
-
|
|
6403
|
+
__init42() {this._twoFactorEnabled = false}
|
|
6252
6404
|
|
|
6253
6405
|
|
|
6254
|
-
|
|
6406
|
+
__init43() {this._roles = []}
|
|
6255
6407
|
|
|
6256
|
-
|
|
6408
|
+
__init44() {this._modules = []}
|
|
6257
6409
|
get searchResult() {
|
|
6258
6410
|
return _nullishCoalesce(this._name, () => ( ""));
|
|
6259
6411
|
}
|
|
@@ -6364,7 +6516,7 @@ var User = (_class20 = class extends AbstractApiData {constructor(...args17) { s
|
|
|
6364
6516
|
}
|
|
6365
6517
|
return response;
|
|
6366
6518
|
}
|
|
6367
|
-
},
|
|
6519
|
+
}, _class21);
|
|
6368
6520
|
|
|
6369
6521
|
// src/features/user/data/user.fields.ts
|
|
6370
6522
|
var UserFields = /* @__PURE__ */ ((UserFields2) => {
|
|
@@ -6601,18 +6753,18 @@ var UserModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory)
|
|
|
6601
6753
|
}), "UserModule");
|
|
6602
6754
|
|
|
6603
6755
|
// src/features/oauth/data/oauth.ts
|
|
6604
|
-
var OAuthClient = (
|
|
6756
|
+
var OAuthClient = (_class22 = class extends AbstractApiData {constructor(...args19) { super(...args19); _class22.prototype.__init45.call(this);_class22.prototype.__init46.call(this);_class22.prototype.__init47.call(this);_class22.prototype.__init48.call(this);_class22.prototype.__init49.call(this); }
|
|
6605
6757
|
static {
|
|
6606
6758
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "OAuthClient");
|
|
6607
6759
|
}
|
|
6608
6760
|
|
|
6609
6761
|
|
|
6610
6762
|
|
|
6611
|
-
|
|
6612
|
-
|
|
6613
|
-
|
|
6614
|
-
|
|
6615
|
-
|
|
6763
|
+
__init45() {this._redirectUris = []}
|
|
6764
|
+
__init46() {this._allowedScopes = []}
|
|
6765
|
+
__init47() {this._allowedGrantTypes = []}
|
|
6766
|
+
__init48() {this._isConfidential = true}
|
|
6767
|
+
__init49() {this._isActive = true}
|
|
6616
6768
|
get clientId() {
|
|
6617
6769
|
return _nullishCoalesce(this._clientId, () => ( this.id));
|
|
6618
6770
|
}
|
|
@@ -6668,7 +6820,7 @@ var OAuthClient = (_class21 = class extends AbstractApiData {constructor(...args
|
|
|
6668
6820
|
if (data.isActive !== void 0) response.data.attributes.isActive = data.isActive;
|
|
6669
6821
|
return response;
|
|
6670
6822
|
}
|
|
6671
|
-
},
|
|
6823
|
+
}, _class22);
|
|
6672
6824
|
|
|
6673
6825
|
// src/features/oauth/oauth.module.ts
|
|
6674
6826
|
var OAuthModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
@@ -6882,17 +7034,17 @@ var AVAILABLE_OAUTH_SCOPES = Object.values(OAUTH_SCOPE_DISPLAY);
|
|
|
6882
7034
|
var DEFAULT_GRANT_TYPES = ["authorization_code", "refresh_token"];
|
|
6883
7035
|
|
|
6884
7036
|
// src/features/waitlist/data/Waitlist.ts
|
|
6885
|
-
var Waitlist = (
|
|
7037
|
+
var Waitlist = (_class23 = class extends AbstractApiData {constructor(...args20) { super(...args20); _class23.prototype.__init50.call(this);_class23.prototype.__init51.call(this); }
|
|
6886
7038
|
static {
|
|
6887
7039
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "Waitlist");
|
|
6888
7040
|
}
|
|
6889
7041
|
|
|
6890
|
-
|
|
7042
|
+
__init50() {this._gdprConsent = false}
|
|
6891
7043
|
|
|
6892
7044
|
|
|
6893
7045
|
|
|
6894
7046
|
|
|
6895
|
-
|
|
7047
|
+
__init51() {this._status = "pending"}
|
|
6896
7048
|
|
|
6897
7049
|
|
|
6898
7050
|
|
|
@@ -6966,7 +7118,7 @@ var Waitlist = (_class22 = class extends AbstractApiData {constructor(...args19)
|
|
|
6966
7118
|
}
|
|
6967
7119
|
return response;
|
|
6968
7120
|
}
|
|
6969
|
-
},
|
|
7121
|
+
}, _class23);
|
|
6970
7122
|
|
|
6971
7123
|
// src/features/waitlist/data/WaitlistService.ts
|
|
6972
7124
|
var WaitlistService = class extends AbstractService {
|
|
@@ -7094,15 +7246,15 @@ var WaitlistService = class extends AbstractService {
|
|
|
7094
7246
|
};
|
|
7095
7247
|
|
|
7096
7248
|
// src/features/waitlist/data/waitlist-stats.ts
|
|
7097
|
-
var WaitlistStats = (
|
|
7249
|
+
var WaitlistStats = (_class24 = class extends AbstractApiData {constructor(...args21) { super(...args21); _class24.prototype.__init52.call(this);_class24.prototype.__init53.call(this);_class24.prototype.__init54.call(this);_class24.prototype.__init55.call(this);_class24.prototype.__init56.call(this); }
|
|
7098
7250
|
static {
|
|
7099
7251
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "WaitlistStats");
|
|
7100
7252
|
}
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
|
|
7104
|
-
|
|
7105
|
-
|
|
7253
|
+
__init52() {this._pending = 0}
|
|
7254
|
+
__init53() {this._confirmed = 0}
|
|
7255
|
+
__init54() {this._invited = 0}
|
|
7256
|
+
__init55() {this._registered = 0}
|
|
7257
|
+
__init56() {this._total = 0}
|
|
7106
7258
|
get pending() {
|
|
7107
7259
|
return this._pending;
|
|
7108
7260
|
}
|
|
@@ -7131,7 +7283,7 @@ var WaitlistStats = (_class23 = class extends AbstractApiData {constructor(...ar
|
|
|
7131
7283
|
createJsonApi(_data) {
|
|
7132
7284
|
throw new Error("WaitlistStats is read-only and cannot be created");
|
|
7133
7285
|
}
|
|
7134
|
-
},
|
|
7286
|
+
}, _class24);
|
|
7135
7287
|
|
|
7136
7288
|
// src/features/waitlist/waitlist.module.ts
|
|
7137
7289
|
var WaitlistModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (factory) => factory({
|
|
@@ -7347,11 +7499,11 @@ var ReferralStatsModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
|
|
|
7347
7499
|
}), "ReferralStatsModule");
|
|
7348
7500
|
|
|
7349
7501
|
// src/features/audit-log/data/audit-log.ts
|
|
7350
|
-
var AuditLog = (
|
|
7502
|
+
var AuditLog = (_class25 = class extends AbstractApiData {constructor(...args22) { super(...args22); _class25.prototype.__init57.call(this); }
|
|
7351
7503
|
static {
|
|
7352
7504
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "AuditLog");
|
|
7353
7505
|
}
|
|
7354
|
-
|
|
7506
|
+
__init57() {this._kind = "audit"}
|
|
7355
7507
|
|
|
7356
7508
|
|
|
7357
7509
|
|
|
@@ -7398,7 +7550,7 @@ var AuditLog = (_class24 = class extends AbstractApiData {constructor(...args21)
|
|
|
7398
7550
|
createJsonApi() {
|
|
7399
7551
|
throw new Error("AuditLog is read-only");
|
|
7400
7552
|
}
|
|
7401
|
-
},
|
|
7553
|
+
}, _class25);
|
|
7402
7554
|
|
|
7403
7555
|
// src/features/audit-log/data/audit-log.service.ts
|
|
7404
7556
|
var AuditLogService = class extends AbstractService {
|
|
@@ -7618,5 +7770,5 @@ var AuditLogModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (facto
|
|
|
7618
7770
|
|
|
7619
7771
|
|
|
7620
7772
|
|
|
7621
|
-
exports.RehydrationFactory = RehydrationFactory; exports.AbstractApiData = AbstractApiData; exports.HttpMethod = HttpMethod; exports.getLastApiTotal = getLastApiTotal; exports.clearLastApiTotal = clearLastApiTotal; exports.setGlobalErrorHandler = setGlobalErrorHandler; exports.getGlobalErrorHandler = getGlobalErrorHandler; exports.AbstractService = AbstractService; exports.configureClientJsonApi = configureClientJsonApi; exports.getClientApiUrl = getClientApiUrl; exports.getClientAppUrl = getClientAppUrl; exports.getClientTrackablePages = getClientTrackablePages; exports.ClientJsonApiGet = ClientJsonApiGet; exports.ClientJsonApiPost = ClientJsonApiPost; exports.ClientJsonApiPut = ClientJsonApiPut; exports.ClientJsonApiPatch = ClientJsonApiPatch; exports.ClientJsonApiDelete = ClientJsonApiDelete; exports.ClientHttpMethod = ClientHttpMethod; exports.setClientGlobalErrorHandler = setClientGlobalErrorHandler; exports.getClientGlobalErrorHandler = getClientGlobalErrorHandler; exports.ClientAbstractService = ClientAbstractService; exports.ModuleRegistrar = ModuleRegistrar; exports.ModuleRegistry = ModuleRegistry; exports.Modules = Modules; exports.EndpointCreator = EndpointCreator; exports.createJsonApiInclusion = createJsonApiInclusion; exports.rehydrate = rehydrate; exports.rehydrateList = rehydrateList; exports.cn = cn; exports.composeRefs = composeRefs; exports.useComposedRefs = useComposedRefs; exports.useIsMobile = useIsMobile; exports.formatLocalDate = formatLocalDate; exports.formatDate = formatDate; exports.exists = exists; exports.TableOptions = TableOptions; exports.getTableOptions = getTableOptions; exports.getTableComponents = getTableComponents; exports.userObjectSchema = userObjectSchema; exports.entityObjectSchema = entityObjectSchema; exports.getInitials = getInitials; exports.BlockNoteDiffUtil = BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = BlockNoteWordDiffRendererUtil; exports.getIconByModule = getIconByModule; exports.getIcon = getIcon; exports.getIconByModuleName = getIconByModuleName; exports.getLucideIcon = getLucideIcon; exports.getLucideIconByModule = getLucideIconByModule; exports.getLucideIconByModuleName = getLucideIconByModuleName; exports.showToast = showToast; exports.showError = showError; exports.dismissToast = dismissToast; exports.showCustomToast = showCustomToast; exports.Action = Action; exports.checkPermissions = checkPermissions; exports.checkPermissionsFromServer = checkPermissionsFromServer; exports.getValueFromPath = getValueFromPath; exports.TotpAuthenticator = TotpAuthenticator; exports.TotpAuthenticatorModule = TotpAuthenticatorModule; exports.TotpSetup = TotpSetup; exports.TotpSetupModule = TotpSetupModule; exports.TotpVerify = TotpVerify; exports.TotpVerifyModule = TotpVerifyModule; exports.TotpVerifyLogin = TotpVerifyLogin; exports.TotpVerifyLoginModule = TotpVerifyLoginModule; exports.Passkey = Passkey; exports.PasskeyModule = PasskeyModule; exports.PasskeyRegistrationOptions = PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = PasskeyRegistrationVerifyModule; exports.PasskeyRename = PasskeyRename; exports.PasskeyRenameModule = PasskeyRenameModule; exports.PasskeyVerifyLogin = PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = PasskeyVerifyLoginModule; exports.PasskeyAuthenticationOptions = PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = PasskeyAuthenticationOptionsModule; exports.TwoFactorEnable = TwoFactorEnable; exports.TwoFactorEnableModule = TwoFactorEnableModule; exports.TwoFactorChallenge = TwoFactorChallenge; exports.TwoFactorChallengeModule = TwoFactorChallengeModule; exports.BackupCodeVerify = BackupCodeVerify; exports.BackupCodeVerifyModule = BackupCodeVerifyModule; exports.configureAuth = configureAuth; exports.getTokenHandler = getTokenHandler; exports.Auth = Auth; exports.AuthService = AuthService; exports.TwoFactorStatus = TwoFactorStatus; exports.TwoFactorService = TwoFactorService; exports.AuthComponent = AuthComponent; exports.AuthModule = AuthModule; exports.TwoFactorStatusModule = TwoFactorStatusModule; exports.BillingService = BillingService; exports.Billing = Billing; exports.BillingModule = BillingModule; exports.PaymentMethod = PaymentMethod; exports.StripeCustomer = StripeCustomer; exports.StripeCustomerService = StripeCustomerService; exports.StripeCustomerModule = StripeCustomerModule; exports.StripePaymentMethodModule = StripePaymentMethodModule; exports.StripeInvoice = StripeInvoice; exports.InvoiceStatus = InvoiceStatus; exports.StripeInvoiceService = StripeInvoiceService; exports.StripeInvoiceModule = StripeInvoiceModule; exports.StripePrice = StripePrice; exports.StripePriceService = StripePriceService; exports.StripePriceModule = StripePriceModule; exports.StripeProduct = StripeProduct; exports.StripeProductService = StripeProductService; exports.StripeProductModule = StripeProductModule; exports.StripeSubscription = StripeSubscription; exports.SubscriptionStatus = SubscriptionStatus; exports.StripeSubscriptionService = StripeSubscriptionService; exports.StripeSubscriptionModule = StripeSubscriptionModule; exports.StripeUsage = StripeUsage; exports.StripeUsageService = StripeUsageService; exports.StripeUsageModule = StripeUsageModule; exports.StripePromotionCodeService = StripePromotionCodeService; exports.StripePromotionCode = StripePromotionCode; exports.StripePromotionCodeModule = StripePromotionCodeModule; exports.Company = Company; exports.CompanyFields = CompanyFields; exports.CompanyService = CompanyService; exports.CompanyModule = CompanyModule; exports.Content = Content; exports.ContentFields = ContentFields; exports.ContentService = ContentService; exports.ContentModule = ContentModule; exports.HowTo = HowTo; exports.HowToModule = HowToModule; exports.HowToFields = HowToFields; exports.HowToService = HowToService; exports.Assistant = Assistant; exports.AssistantModule = AssistantModule; exports.
|
|
7622
|
-
//# sourceMappingURL=chunk-
|
|
7773
|
+
exports.RehydrationFactory = RehydrationFactory; exports.AbstractApiData = AbstractApiData; exports.HttpMethod = HttpMethod; exports.getLastApiTotal = getLastApiTotal; exports.clearLastApiTotal = clearLastApiTotal; exports.setGlobalErrorHandler = setGlobalErrorHandler; exports.getGlobalErrorHandler = getGlobalErrorHandler; exports.AbstractService = AbstractService; exports.configureClientJsonApi = configureClientJsonApi; exports.getClientApiUrl = getClientApiUrl; exports.getClientAppUrl = getClientAppUrl; exports.getClientTrackablePages = getClientTrackablePages; exports.ClientJsonApiGet = ClientJsonApiGet; exports.ClientJsonApiPost = ClientJsonApiPost; exports.ClientJsonApiPut = ClientJsonApiPut; exports.ClientJsonApiPatch = ClientJsonApiPatch; exports.ClientJsonApiDelete = ClientJsonApiDelete; exports.ClientHttpMethod = ClientHttpMethod; exports.setClientGlobalErrorHandler = setClientGlobalErrorHandler; exports.getClientGlobalErrorHandler = getClientGlobalErrorHandler; exports.ClientAbstractService = ClientAbstractService; exports.ModuleRegistrar = ModuleRegistrar; exports.ModuleRegistry = ModuleRegistry; exports.Modules = Modules; exports.EndpointCreator = EndpointCreator; exports.createJsonApiInclusion = createJsonApiInclusion; exports.rehydrate = rehydrate; exports.rehydrateList = rehydrateList; exports.cn = cn; exports.composeRefs = composeRefs; exports.useComposedRefs = useComposedRefs; exports.useIsMobile = useIsMobile; exports.formatLocalDate = formatLocalDate; exports.formatDate = formatDate; exports.exists = exists; exports.TableOptions = TableOptions; exports.getTableOptions = getTableOptions; exports.getTableComponents = getTableComponents; exports.userObjectSchema = userObjectSchema; exports.entityObjectSchema = entityObjectSchema; exports.getInitials = getInitials; exports.BlockNoteDiffUtil = BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = BlockNoteWordDiffRendererUtil; exports.getIconByModule = getIconByModule; exports.getIcon = getIcon; exports.getIconByModuleName = getIconByModuleName; exports.getLucideIcon = getLucideIcon; exports.getLucideIconByModule = getLucideIconByModule; exports.getLucideIconByModuleName = getLucideIconByModuleName; exports.showToast = showToast; exports.showError = showError; exports.dismissToast = dismissToast; exports.showCustomToast = showCustomToast; exports.Action = Action; exports.checkPermissions = checkPermissions; exports.checkPermissionsFromServer = checkPermissionsFromServer; exports.getValueFromPath = getValueFromPath; exports.TotpAuthenticator = TotpAuthenticator; exports.TotpAuthenticatorModule = TotpAuthenticatorModule; exports.TotpSetup = TotpSetup; exports.TotpSetupModule = TotpSetupModule; exports.TotpVerify = TotpVerify; exports.TotpVerifyModule = TotpVerifyModule; exports.TotpVerifyLogin = TotpVerifyLogin; exports.TotpVerifyLoginModule = TotpVerifyLoginModule; exports.Passkey = Passkey; exports.PasskeyModule = PasskeyModule; exports.PasskeyRegistrationOptions = PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = PasskeyRegistrationVerifyModule; exports.PasskeyRename = PasskeyRename; exports.PasskeyRenameModule = PasskeyRenameModule; exports.PasskeyVerifyLogin = PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = PasskeyVerifyLoginModule; exports.PasskeyAuthenticationOptions = PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = PasskeyAuthenticationOptionsModule; exports.TwoFactorEnable = TwoFactorEnable; exports.TwoFactorEnableModule = TwoFactorEnableModule; exports.TwoFactorChallenge = TwoFactorChallenge; exports.TwoFactorChallengeModule = TwoFactorChallengeModule; exports.BackupCodeVerify = BackupCodeVerify; exports.BackupCodeVerifyModule = BackupCodeVerifyModule; exports.configureAuth = configureAuth; exports.getTokenHandler = getTokenHandler; exports.Auth = Auth; exports.AuthService = AuthService; exports.TwoFactorStatus = TwoFactorStatus; exports.TwoFactorService = TwoFactorService; exports.AuthComponent = AuthComponent; exports.AuthModule = AuthModule; exports.TwoFactorStatusModule = TwoFactorStatusModule; exports.BillingService = BillingService; exports.Billing = Billing; exports.BillingModule = BillingModule; exports.PaymentMethod = PaymentMethod; exports.StripeCustomer = StripeCustomer; exports.StripeCustomerService = StripeCustomerService; exports.StripeCustomerModule = StripeCustomerModule; exports.StripePaymentMethodModule = StripePaymentMethodModule; exports.StripeInvoice = StripeInvoice; exports.InvoiceStatus = InvoiceStatus; exports.StripeInvoiceService = StripeInvoiceService; exports.StripeInvoiceModule = StripeInvoiceModule; exports.StripePrice = StripePrice; exports.StripePriceService = StripePriceService; exports.StripePriceModule = StripePriceModule; exports.StripeProduct = StripeProduct; exports.StripeProductService = StripeProductService; exports.StripeProductModule = StripeProductModule; exports.StripeSubscription = StripeSubscription; exports.SubscriptionStatus = SubscriptionStatus; exports.StripeSubscriptionService = StripeSubscriptionService; exports.StripeSubscriptionModule = StripeSubscriptionModule; exports.StripeUsage = StripeUsage; exports.StripeUsageService = StripeUsageService; exports.StripeUsageModule = StripeUsageModule; exports.StripePromotionCodeService = StripePromotionCodeService; exports.StripePromotionCode = StripePromotionCode; exports.StripePromotionCodeModule = StripePromotionCodeModule; exports.Company = Company; exports.CompanyFields = CompanyFields; exports.CompanyService = CompanyService; exports.CompanyModule = CompanyModule; exports.Content = Content; exports.ContentFields = ContentFields; exports.ContentService = ContentService; exports.ContentModule = ContentModule; exports.HowTo = HowTo; exports.HowToModule = HowToModule; exports.HowToFields = HowToFields; exports.HowToService = HowToService; exports.Assistant = Assistant; exports.AssistantModule = AssistantModule; exports.AssistantMessage = AssistantMessage; exports.AssistantService = AssistantService; exports.AssistantMessageModule = AssistantMessageModule; exports.AssistantMessageService = AssistantMessageService; exports.Chunk = Chunk; exports.ChunkModule = ChunkModule; exports.Feature = Feature; exports.FeatureService = FeatureService; exports.FeatureModule = FeatureModule; exports.Module = Module; exports.ModuleModule = ModuleModule; exports.Notification = Notification; exports.NotificationFields = NotificationFields; exports.NotificationService = NotificationService; exports.NotificationModule = NotificationModule; exports.Push = Push; exports.PushService = PushService; exports.PushModule = PushModule; exports.Role = Role; exports.RoleFields = RoleFields; exports.RoleService = RoleService; exports.RoleModule = RoleModule; exports.S3 = S3; exports.S3Module = S3Module; exports.S3Service = S3Service; exports.User = User; exports.UserFields = UserFields; exports.UserService = UserService; exports.AuthorModule = AuthorModule; exports.UserModule = UserModule; exports.OAuthClient = OAuthClient; exports.OAuthModule = OAuthModule; exports.OAuthService = OAuthService; exports.OAUTH_SCOPE_DISPLAY = OAUTH_SCOPE_DISPLAY; exports.AVAILABLE_OAUTH_SCOPES = AVAILABLE_OAUTH_SCOPES; exports.DEFAULT_GRANT_TYPES = DEFAULT_GRANT_TYPES; exports.Waitlist = Waitlist; exports.WaitlistService = WaitlistService; exports.WaitlistStats = WaitlistStats; exports.WaitlistModule = WaitlistModule; exports.WaitlistStatsModule = WaitlistStatsModule; exports.PermissionMapping = PermissionMapping; exports.ModulePaths = ModulePaths; exports.RbacMatrixModel = RbacMatrixModel; exports.PermissionMappingModule = PermissionMappingModule; exports.ModulePathsModule = ModulePathsModule; exports.RbacMatrixModule = RbacMatrixModule; exports.ReferralStats = ReferralStats; exports.ReferralService = ReferralService; exports.ReferralModule = ReferralModule; exports.ReferralStatsModule = ReferralStatsModule; exports.AuditLog = AuditLog; exports.AuditLogService = AuditLogService; exports.AuditLogModule = AuditLogModule;
|
|
7774
|
+
//# sourceMappingURL=chunk-U2HR57MY.js.map
|