@carlonicora/nextjs-jsonapi 1.119.0 → 1.121.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-BPACLNMB.js → BlockNoteEditor-OVL376NQ.js} +20 -20
- package/dist/{BlockNoteEditor-BPACLNMB.js.map → BlockNoteEditor-OVL376NQ.js.map} +1 -1
- package/dist/{BlockNoteEditor-CEDKBT67.mjs → BlockNoteEditor-ZDSKVOWD.mjs} +5 -5
- package/dist/{JsonApiRequest-SN3DNFDR.mjs → JsonApiRequest-4ISXX7PC.mjs} +2 -2
- package/dist/JsonApiRequest-P3VQ2WIS.js +26 -0
- package/dist/{JsonApiRequest-HE5LTEYK.js.map → JsonApiRequest-P3VQ2WIS.js.map} +1 -1
- package/dist/billing/index.js +347 -347
- package/dist/billing/index.mjs +4 -4
- package/dist/{chunk-5U7QDGDQ.mjs → chunk-6VNRUTZR.mjs} +3 -3
- package/dist/{chunk-DXTOA7OO.js → chunk-BOECS3K2.js} +701 -701
- package/dist/{chunk-DXTOA7OO.js.map → chunk-BOECS3K2.js.map} +1 -1
- package/dist/{chunk-WC2BTKJP.mjs → chunk-DKFXGCG2.mjs} +2 -1
- package/dist/chunk-DKFXGCG2.mjs.map +1 -0
- package/dist/{chunk-4SPL6QH3.mjs → chunk-DMG6R3Y4.mjs} +6 -6
- package/dist/{chunk-RCMIVTVL.js → chunk-EIOEYXY3.js} +2 -1
- package/dist/chunk-EIOEYXY3.js.map +1 -0
- package/dist/{chunk-55Q43DI5.js → chunk-JO5BLONK.js} +9 -9
- package/dist/{chunk-55Q43DI5.js.map → chunk-JO5BLONK.js.map} +1 -1
- package/dist/{chunk-6P7MEU7Q.js → chunk-PQBKPWBY.js} +35 -30
- package/dist/chunk-PQBKPWBY.js.map +1 -0
- package/dist/{chunk-FWOS6PC5.mjs → chunk-T2FFT7JT.mjs} +10 -5
- package/dist/chunk-T2FFT7JT.mjs.map +1 -0
- package/dist/client/index.js +5 -5
- package/dist/client/index.mjs +4 -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.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.js +4 -4
- package/dist/index.mjs +3 -3
- package/dist/server/index.js +12 -12
- package/dist/server/index.mjs +2 -2
- package/package.json +1 -1
- package/src/core/abstracts/AbstractService.ts +3 -0
- package/src/core/abstracts/ClientAbstractService.ts +2 -0
- package/src/core/utils/translateResponse.ts +1 -0
- package/dist/JsonApiRequest-HE5LTEYK.js +0 -26
- package/dist/chunk-6P7MEU7Q.js.map +0 -1
- package/dist/chunk-FWOS6PC5.mjs.map +0 -1
- package/dist/chunk-RCMIVTVL.js.map +0 -1
- package/dist/chunk-WC2BTKJP.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-CEDKBT67.mjs.map → BlockNoteEditor-ZDSKVOWD.mjs.map} +0 -0
- /package/dist/{JsonApiRequest-SN3DNFDR.mjs.map → JsonApiRequest-4ISXX7PC.mjs.map} +0 -0
- /package/dist/{chunk-5U7QDGDQ.mjs.map → chunk-6VNRUTZR.mjs.map} +0 -0
- /package/dist/{chunk-4SPL6QH3.mjs.map → chunk-DMG6R3Y4.mjs.map} +0 -0
|
@@ -14,7 +14,7 @@ var _chunkIBS6NI7Djs = require('./chunk-IBS6NI7D.js');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkEIOEYXY3js = require('./chunk-EIOEYXY3.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunk7QVYU63Ejs = require('./chunk-7QVYU63E.js');
|
|
@@ -25,12 +25,12 @@ var RehydrationFactory = class {
|
|
|
25
25
|
_chunk7QVYU63Ejs.__name.call(void 0, this, "RehydrationFactory");
|
|
26
26
|
}
|
|
27
27
|
static rehydrate(classKey, data) {
|
|
28
|
-
const factoryClass =
|
|
28
|
+
const factoryClass = _chunkEIOEYXY3js.DataClassRegistry.get(classKey);
|
|
29
29
|
const instance = new factoryClass();
|
|
30
30
|
return instance.rehydrate(data);
|
|
31
31
|
}
|
|
32
32
|
static rehydrateList(classKey, data) {
|
|
33
|
-
const factoryClass =
|
|
33
|
+
const factoryClass = _chunkEIOEYXY3js.DataClassRegistry.get(classKey);
|
|
34
34
|
const response = data.map((item) => {
|
|
35
35
|
const instance = new factoryClass();
|
|
36
36
|
return instance.rehydrate(item);
|
|
@@ -326,7 +326,7 @@ var AbstractService = class {
|
|
|
326
326
|
* Make an API call with automatic environment detection and error handling.
|
|
327
327
|
*/
|
|
328
328
|
static async callApi(params) {
|
|
329
|
-
const { JsonApiGet: JsonApiGet2, JsonApiPost: JsonApiPost2, JsonApiPut, JsonApiPatch, JsonApiDelete: JsonApiDelete2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-
|
|
329
|
+
const { JsonApiGet: JsonApiGet2, JsonApiPost: JsonApiPost2, JsonApiPut, JsonApiPatch, JsonApiDelete: JsonApiDelete2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-P3VQ2WIS.js")));
|
|
330
330
|
let apiResponse;
|
|
331
331
|
let language = "en";
|
|
332
332
|
if (typeof window === "undefined") {
|
|
@@ -405,6 +405,7 @@ var AbstractService = class {
|
|
|
405
405
|
const error = new Error(`${apiResponse.response}:${apiResponse.error}`);
|
|
406
406
|
error.status = apiResponse.response;
|
|
407
407
|
error.digest = `HTTP_${apiResponse.response}`;
|
|
408
|
+
error.body = apiResponse.raw;
|
|
408
409
|
throw error;
|
|
409
410
|
}
|
|
410
411
|
}
|
|
@@ -421,7 +422,7 @@ var AbstractService = class {
|
|
|
421
422
|
* Make an API call and return both data and meta from the response.
|
|
422
423
|
*/
|
|
423
424
|
static async callApiWithMeta(params) {
|
|
424
|
-
const { JsonApiGet: JsonApiGet2, JsonApiPost: JsonApiPost2, JsonApiPut, JsonApiPatch, JsonApiDelete: JsonApiDelete2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-
|
|
425
|
+
const { JsonApiGet: JsonApiGet2, JsonApiPost: JsonApiPost2, JsonApiPut, JsonApiPatch, JsonApiDelete: JsonApiDelete2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-P3VQ2WIS.js")));
|
|
425
426
|
let apiResponse;
|
|
426
427
|
let language = "en";
|
|
427
428
|
if (typeof window === "undefined") {
|
|
@@ -494,6 +495,7 @@ var AbstractService = class {
|
|
|
494
495
|
const error = new Error(`${apiResponse.response}:${apiResponse.error}`);
|
|
495
496
|
error.status = apiResponse.response;
|
|
496
497
|
error.digest = `HTTP_${apiResponse.response}`;
|
|
498
|
+
error.body = apiResponse.raw;
|
|
497
499
|
throw error;
|
|
498
500
|
}
|
|
499
501
|
}
|
|
@@ -506,7 +508,7 @@ var AbstractService = class {
|
|
|
506
508
|
* Get raw JSON:API response data without deserialization.
|
|
507
509
|
*/
|
|
508
510
|
static async getRawData(params) {
|
|
509
|
-
const { JsonApiGet: JsonApiGet2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-
|
|
511
|
+
const { JsonApiGet: JsonApiGet2 } = await Promise.resolve().then(() => _interopRequireWildcard(require("./JsonApiRequest-P3VQ2WIS.js")));
|
|
510
512
|
let language = "en";
|
|
511
513
|
if (typeof window === "undefined") {
|
|
512
514
|
const { getLocale } = await Promise.resolve().then(() => _interopRequireWildcard(require("next-intl/server")));
|
|
@@ -529,6 +531,7 @@ var AbstractService = class {
|
|
|
529
531
|
const error = new Error(`${apiResponse.response}:${apiResponse.error}`);
|
|
530
532
|
error.status = apiResponse.response;
|
|
531
533
|
error.digest = `HTTP_${apiResponse.response}`;
|
|
534
|
+
error.body = apiResponse.raw;
|
|
532
535
|
throw error;
|
|
533
536
|
}
|
|
534
537
|
}
|
|
@@ -541,7 +544,7 @@ var _clientConfig = null;
|
|
|
541
544
|
function configureClientJsonApi(config) {
|
|
542
545
|
_clientConfig = config;
|
|
543
546
|
if (config.bootstrapper) {
|
|
544
|
-
|
|
547
|
+
_chunkEIOEYXY3js.setBootstrapper.call(void 0, config.bootstrapper);
|
|
545
548
|
config.bootstrapper();
|
|
546
549
|
}
|
|
547
550
|
}
|
|
@@ -599,7 +602,7 @@ async function ClientJsonApiGet(params) {
|
|
|
599
602
|
language: params.language,
|
|
600
603
|
additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _26 => _26.additionalHeaders])
|
|
601
604
|
});
|
|
602
|
-
return
|
|
605
|
+
return _chunkEIOEYXY3js.translateResponse.call(void 0, {
|
|
603
606
|
classKey: params.classKey,
|
|
604
607
|
apiResponse,
|
|
605
608
|
companyId: params.companyId,
|
|
@@ -621,7 +624,7 @@ async function ClientJsonApiPost(params) {
|
|
|
621
624
|
if (!body) {
|
|
622
625
|
body = {};
|
|
623
626
|
} else if (params.overridesJsonApiCreation !== true) {
|
|
624
|
-
body =
|
|
627
|
+
body = _chunkEIOEYXY3js.JsonApiDataFactory.create(params.classKey, body);
|
|
625
628
|
}
|
|
626
629
|
const apiResponse = await _chunkIBS6NI7Djs.directFetch.call(void 0, {
|
|
627
630
|
method: "POST",
|
|
@@ -633,7 +636,7 @@ async function ClientJsonApiPost(params) {
|
|
|
633
636
|
language: params.language,
|
|
634
637
|
additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _27 => _27.additionalHeaders])
|
|
635
638
|
});
|
|
636
|
-
return
|
|
639
|
+
return _chunkEIOEYXY3js.translateResponse.call(void 0, {
|
|
637
640
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
638
641
|
apiResponse,
|
|
639
642
|
companyId: params.companyId,
|
|
@@ -648,7 +651,7 @@ async function ClientJsonApiPut(params) {
|
|
|
648
651
|
if (!body) {
|
|
649
652
|
body = {};
|
|
650
653
|
} else {
|
|
651
|
-
body =
|
|
654
|
+
body = _chunkEIOEYXY3js.JsonApiDataFactory.create(params.classKey, body);
|
|
652
655
|
}
|
|
653
656
|
const apiResponse = await _chunkIBS6NI7Djs.directFetch.call(void 0, {
|
|
654
657
|
method: "PUT",
|
|
@@ -660,7 +663,7 @@ async function ClientJsonApiPut(params) {
|
|
|
660
663
|
language: params.language,
|
|
661
664
|
additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _28 => _28.additionalHeaders])
|
|
662
665
|
});
|
|
663
|
-
return
|
|
666
|
+
return _chunkEIOEYXY3js.translateResponse.call(void 0, {
|
|
664
667
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
665
668
|
apiResponse,
|
|
666
669
|
companyId: params.companyId,
|
|
@@ -675,7 +678,7 @@ async function ClientJsonApiPatch(params) {
|
|
|
675
678
|
if (!body) {
|
|
676
679
|
body = {};
|
|
677
680
|
} else if (params.overridesJsonApiCreation !== true) {
|
|
678
|
-
body =
|
|
681
|
+
body = _chunkEIOEYXY3js.JsonApiDataFactory.create(params.classKey, body);
|
|
679
682
|
}
|
|
680
683
|
const apiResponse = await _chunkIBS6NI7Djs.directFetch.call(void 0, {
|
|
681
684
|
method: "PATCH",
|
|
@@ -687,7 +690,7 @@ async function ClientJsonApiPatch(params) {
|
|
|
687
690
|
language: params.language,
|
|
688
691
|
additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _29 => _29.additionalHeaders])
|
|
689
692
|
});
|
|
690
|
-
return
|
|
693
|
+
return _chunkEIOEYXY3js.translateResponse.call(void 0, {
|
|
691
694
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
692
695
|
apiResponse,
|
|
693
696
|
companyId: params.companyId,
|
|
@@ -706,7 +709,7 @@ async function ClientJsonApiDelete(params) {
|
|
|
706
709
|
language: params.language,
|
|
707
710
|
additionalHeaders: _optionalChain([_clientConfig, 'optionalAccess', _30 => _30.additionalHeaders])
|
|
708
711
|
});
|
|
709
|
-
return
|
|
712
|
+
return _chunkEIOEYXY3js.translateResponse.call(void 0, {
|
|
710
713
|
classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
|
|
711
714
|
apiResponse,
|
|
712
715
|
companyId: params.companyId,
|
|
@@ -861,6 +864,7 @@ var ClientAbstractService = class {
|
|
|
861
864
|
const error = new Error(`${apiResponse.response}:${apiResponse.error}`);
|
|
862
865
|
error.status = apiResponse.response;
|
|
863
866
|
error.digest = `HTTP_${apiResponse.response}`;
|
|
867
|
+
error.body = apiResponse.raw;
|
|
864
868
|
throw error;
|
|
865
869
|
}
|
|
866
870
|
}
|
|
@@ -889,6 +893,7 @@ var ClientAbstractService = class {
|
|
|
889
893
|
const error = new Error(`${apiResponse.response}:${apiResponse.error}`);
|
|
890
894
|
error.status = apiResponse.response;
|
|
891
895
|
error.digest = `HTTP_${apiResponse.response}`;
|
|
896
|
+
error.body = apiResponse.raw;
|
|
892
897
|
throw error;
|
|
893
898
|
}
|
|
894
899
|
}
|
|
@@ -916,7 +921,7 @@ var ModuleRegistrar = (_class2 = class {
|
|
|
916
921
|
}).map((key) => modulesClass[key]);
|
|
917
922
|
data.forEach((item) => {
|
|
918
923
|
if (item && item.model) {
|
|
919
|
-
|
|
924
|
+
_chunkEIOEYXY3js.DataClassRegistry.registerObjectClass(item, item.model);
|
|
920
925
|
}
|
|
921
926
|
});
|
|
922
927
|
this._isBootstrapped = true;
|
|
@@ -926,7 +931,7 @@ var ModuleRegistrar = (_class2 = class {
|
|
|
926
931
|
*/
|
|
927
932
|
static reset() {
|
|
928
933
|
this._isBootstrapped = false;
|
|
929
|
-
|
|
934
|
+
_chunkEIOEYXY3js.DataClassRegistry.clear();
|
|
930
935
|
}
|
|
931
936
|
}, _class2.__initStatic2(), _class2);
|
|
932
937
|
|
|
@@ -949,20 +954,20 @@ var ModuleRegistryClass = class {
|
|
|
949
954
|
get(name) {
|
|
950
955
|
let module = this._modules.get(name);
|
|
951
956
|
if (!module) {
|
|
952
|
-
const didBootstrap =
|
|
957
|
+
const didBootstrap = _chunkEIOEYXY3js.tryBootstrap.call(void 0, );
|
|
953
958
|
if (didBootstrap) {
|
|
954
959
|
module = this._modules.get(name);
|
|
955
960
|
}
|
|
956
961
|
}
|
|
957
962
|
if (!module) {
|
|
958
|
-
const hint =
|
|
963
|
+
const hint = _chunkEIOEYXY3js.hasBootstrapper.call(void 0, ) ? "Bootstrap was called but module still not found. Check module registration." : "No bootstrapper registered. Ensure configureJsonApi({ bootstrapper }) is called before accessing modules.";
|
|
959
964
|
throw new Error(`Module "${String(name)}" not registered. ${hint}`);
|
|
960
965
|
}
|
|
961
966
|
return module;
|
|
962
967
|
}
|
|
963
968
|
findByName(moduleName) {
|
|
964
969
|
if (this._modules.size === 0) {
|
|
965
|
-
|
|
970
|
+
_chunkEIOEYXY3js.tryBootstrap.call(void 0, );
|
|
966
971
|
}
|
|
967
972
|
for (const module of this._modules.values()) {
|
|
968
973
|
if (module.name === moduleName) {
|
|
@@ -973,7 +978,7 @@ var ModuleRegistryClass = class {
|
|
|
973
978
|
}
|
|
974
979
|
getAllPageUrls() {
|
|
975
980
|
if (this._modules.size === 0) {
|
|
976
|
-
|
|
981
|
+
_chunkEIOEYXY3js.tryBootstrap.call(void 0, );
|
|
977
982
|
}
|
|
978
983
|
const seen = /* @__PURE__ */ new Set();
|
|
979
984
|
const result = [];
|
|
@@ -990,7 +995,7 @@ var ModuleRegistryClass = class {
|
|
|
990
995
|
findByModelName(modelName) {
|
|
991
996
|
let module = this._modules.get(modelName);
|
|
992
997
|
if (!module) {
|
|
993
|
-
const didBootstrap =
|
|
998
|
+
const didBootstrap = _chunkEIOEYXY3js.tryBootstrap.call(void 0, );
|
|
994
999
|
if (didBootstrap) {
|
|
995
1000
|
module = this._modules.get(modelName);
|
|
996
1001
|
}
|
|
@@ -1012,7 +1017,7 @@ var ModuleRegistryClass = class {
|
|
|
1012
1017
|
}
|
|
1013
1018
|
getAll() {
|
|
1014
1019
|
if (this._modules.size === 0) {
|
|
1015
|
-
|
|
1020
|
+
_chunkEIOEYXY3js.tryBootstrap.call(void 0, );
|
|
1016
1021
|
}
|
|
1017
1022
|
return Array.from(this._modules.values());
|
|
1018
1023
|
}
|
|
@@ -2866,7 +2871,7 @@ var AuthService = class extends AbstractService {
|
|
|
2866
2871
|
}
|
|
2867
2872
|
static async login(params) {
|
|
2868
2873
|
const language = params.language || "en-US";
|
|
2869
|
-
const apiResponse = await
|
|
2874
|
+
const apiResponse = await _chunkEIOEYXY3js.JsonApiPost.call(void 0, {
|
|
2870
2875
|
classKey: Modules.Auth,
|
|
2871
2876
|
endpoint: new EndpointCreator({ endpoint: Modules.Auth, id: "login" }).generate(),
|
|
2872
2877
|
body: { email: params.email, password: params.password },
|
|
@@ -2900,7 +2905,7 @@ var AuthService = class extends AbstractService {
|
|
|
2900
2905
|
}
|
|
2901
2906
|
static async logout(params) {
|
|
2902
2907
|
const language = _optionalChain([params, 'optionalAccess', _70 => _70.language]) || "en-US";
|
|
2903
|
-
await
|
|
2908
|
+
await _chunkEIOEYXY3js.JsonApiDelete.call(void 0, {
|
|
2904
2909
|
classKey: Modules.Auth,
|
|
2905
2910
|
endpoint: new EndpointCreator({ endpoint: Modules.Auth }).generate(),
|
|
2906
2911
|
language
|
|
@@ -2912,7 +2917,7 @@ var AuthService = class extends AbstractService {
|
|
|
2912
2917
|
}
|
|
2913
2918
|
static async initialiseForgotPassword(params) {
|
|
2914
2919
|
const language = params.language || "en-US";
|
|
2915
|
-
const response = await
|
|
2920
|
+
const response = await _chunkEIOEYXY3js.JsonApiPost.call(void 0, {
|
|
2916
2921
|
classKey: Modules.Auth,
|
|
2917
2922
|
endpoint: new EndpointCreator({ endpoint: Modules.Auth, id: "forgot" }).generate(),
|
|
2918
2923
|
body: { email: params.email },
|
|
@@ -2941,7 +2946,7 @@ var AuthService = class extends AbstractService {
|
|
|
2941
2946
|
}
|
|
2942
2947
|
static async validateCode(params) {
|
|
2943
2948
|
const language = params.language || "en-US";
|
|
2944
|
-
const apiResponse = await
|
|
2949
|
+
const apiResponse = await _chunkEIOEYXY3js.JsonApiGet.call(void 0, {
|
|
2945
2950
|
classKey: Modules.Auth,
|
|
2946
2951
|
endpoint: new EndpointCreator({ endpoint: Modules.Auth, id: "validate", childEndpoint: params.code }).generate(),
|
|
2947
2952
|
language
|
|
@@ -2985,7 +2990,7 @@ var AuthService = class extends AbstractService {
|
|
|
2985
2990
|
}
|
|
2986
2991
|
static async completeOAuthRegistration(params) {
|
|
2987
2992
|
const endpoint = new EndpointCreator({ endpoint: Modules.Auth, id: "oauth", childEndpoint: "complete" });
|
|
2988
|
-
const response = await
|
|
2993
|
+
const response = await _chunkEIOEYXY3js.JsonApiPost.call(void 0, {
|
|
2989
2994
|
classKey: Modules.Auth,
|
|
2990
2995
|
endpoint: endpoint.generate(),
|
|
2991
2996
|
body: params,
|
|
@@ -4748,7 +4753,7 @@ var StripePromotionCodeService = class {
|
|
|
4748
4753
|
* @returns Validation result with discount details if valid
|
|
4749
4754
|
*/
|
|
4750
4755
|
static async validatePromotionCode(params) {
|
|
4751
|
-
const response = await
|
|
4756
|
+
const response = await _chunkEIOEYXY3js.JsonApiPost.call(void 0, {
|
|
4752
4757
|
classKey: Modules.StripePromotionCode,
|
|
4753
4758
|
endpoint: `${STRIPE_PROMOTION_CODE_ENDPOINT}/validate`,
|
|
4754
4759
|
body: {
|
|
@@ -7845,4 +7850,4 @@ var AuditLogModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (facto
|
|
|
7845
7850
|
|
|
7846
7851
|
|
|
7847
7852
|
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.buildClientUrl = buildClientUrl; 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;
|
|
7848
|
-
//# sourceMappingURL=chunk-
|
|
7853
|
+
//# sourceMappingURL=chunk-PQBKPWBY.js.map
|