@carlonicora/nextjs-jsonapi 1.127.0 → 1.129.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-PGTAPCQF.js → BlockNoteEditor-RG2YQDMQ.js} +20 -20
- package/dist/{BlockNoteEditor-PGTAPCQF.js.map → BlockNoteEditor-RG2YQDMQ.js.map} +1 -1
- package/dist/{BlockNoteEditor-SMZNQ4CX.mjs → BlockNoteEditor-WIAQJ5HM.mjs} +5 -5
- package/dist/{JsonApiRequest-4ISXX7PC.mjs → JsonApiRequest-F5LBESSA.mjs} +2 -2
- package/dist/JsonApiRequest-YAPUG4ND.js +26 -0
- package/dist/{JsonApiRequest-P3VQ2WIS.js.map → JsonApiRequest-YAPUG4ND.js.map} +1 -1
- package/dist/billing/index.js +347 -347
- package/dist/billing/index.mjs +4 -4
- package/dist/{chunk-T2FFT7JT.mjs → chunk-5MNE72ZE.mjs} +9 -5
- package/dist/{chunk-T2FFT7JT.mjs.map → chunk-5MNE72ZE.mjs.map} +1 -1
- package/dist/{chunk-JGVMZYAO.mjs → chunk-F54XZKPY.mjs} +149 -130
- package/dist/chunk-F54XZKPY.mjs.map +1 -0
- package/dist/{chunk-PQBKPWBY.js → chunk-LBMNRFCY.js} +34 -30
- package/dist/chunk-LBMNRFCY.js.map +1 -0
- package/dist/{chunk-6VNRUTZR.mjs → chunk-NATPK5ME.mjs} +3 -3
- package/dist/{chunk-EIOEYXY3.js → chunk-QWCAOLBD.js} +6 -5
- package/dist/chunk-QWCAOLBD.js.map +1 -0
- package/dist/{chunk-JO5BLONK.js → chunk-XTLTQQ7X.js} +9 -9
- package/dist/{chunk-JO5BLONK.js.map → chunk-XTLTQQ7X.js.map} +1 -1
- package/dist/{chunk-24RSNGD2.js → chunk-YQTMNZQB.js} +808 -789
- package/dist/chunk-YQTMNZQB.js.map +1 -0
- package/dist/{chunk-DKFXGCG2.mjs → chunk-Z2CB63VG.mjs} +6 -5
- package/dist/{chunk-DKFXGCG2.mjs.map → chunk-Z2CB63VG.mjs.map} +1 -1
- package/dist/client/index.js +5 -5
- package/dist/client/index.mjs +4 -4
- package/dist/components/index.d.mts +2 -0
- package/dist/components/index.d.ts +2 -0
- 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 +2 -2
- package/src/components/tables/ContentListTable.tsx +18 -4
- package/src/components/tables/__tests__/ContentListTable.test.tsx +38 -2
- package/src/core/abstracts/AbstractService.ts +4 -0
- package/src/features/company/components/lists/CompaniesList.tsx +1 -1
- package/src/features/content/components/lists/ContentsListById.tsx +1 -1
- package/src/features/content/components/lists/RelevantContentsList.tsx +1 -1
- package/src/features/user/components/lists/AdminUsersList.tsx +1 -1
- package/src/unified/JsonApiRequest.ts +9 -4
- package/dist/JsonApiRequest-P3VQ2WIS.js +0 -26
- package/dist/chunk-24RSNGD2.js.map +0 -1
- package/dist/chunk-EIOEYXY3.js.map +0 -1
- package/dist/chunk-JGVMZYAO.mjs.map +0 -1
- package/dist/chunk-PQBKPWBY.js.map +0 -1
- /package/dist/{BlockNoteEditor-SMZNQ4CX.mjs.map → BlockNoteEditor-WIAQJ5HM.mjs.map} +0 -0
- /package/dist/{JsonApiRequest-4ISXX7PC.mjs.map → JsonApiRequest-F5LBESSA.mjs.map} +0 -0
- /package/dist/{chunk-6VNRUTZR.mjs.map → chunk-NATPK5ME.mjs.map} +0 -0
package/dist/billing/index.mjs
CHANGED
|
@@ -47,11 +47,11 @@ import {
|
|
|
47
47
|
TabsList,
|
|
48
48
|
TabsTrigger,
|
|
49
49
|
useCurrentUserContext
|
|
50
|
-
} from "../chunk-
|
|
50
|
+
} from "../chunk-F54XZKPY.mjs";
|
|
51
51
|
import {
|
|
52
52
|
getRoleId,
|
|
53
53
|
getStripePublishableKey
|
|
54
|
-
} from "../chunk-
|
|
54
|
+
} from "../chunk-NATPK5ME.mjs";
|
|
55
55
|
import {
|
|
56
56
|
FeatureService,
|
|
57
57
|
StripeCustomerService,
|
|
@@ -62,10 +62,10 @@ import {
|
|
|
62
62
|
StripeSubscriptionService,
|
|
63
63
|
StripeUsageService,
|
|
64
64
|
cn
|
|
65
|
-
} from "../chunk-
|
|
65
|
+
} from "../chunk-5MNE72ZE.mjs";
|
|
66
66
|
import "../chunk-AUXK7QSA.mjs";
|
|
67
67
|
import "../chunk-C7C7VY4F.mjs";
|
|
68
|
-
import "../chunk-
|
|
68
|
+
import "../chunk-Z2CB63VG.mjs";
|
|
69
69
|
import "../chunk-VOXD3ZLY.mjs";
|
|
70
70
|
import {
|
|
71
71
|
__name
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
setBootstrapper,
|
|
15
15
|
translateResponse,
|
|
16
16
|
tryBootstrap
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-Z2CB63VG.mjs";
|
|
18
18
|
import {
|
|
19
19
|
__name
|
|
20
20
|
} from "./chunk-PAWJFY3S.mjs";
|
|
@@ -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 import("./JsonApiRequest-
|
|
329
|
+
const { JsonApiGet: JsonApiGet2, JsonApiPost: JsonApiPost2, JsonApiPut, JsonApiPatch, JsonApiDelete: JsonApiDelete2 } = await import("./JsonApiRequest-F5LBESSA.mjs");
|
|
330
330
|
let apiResponse;
|
|
331
331
|
let language = "en";
|
|
332
332
|
if (typeof window === "undefined") {
|
|
@@ -342,6 +342,7 @@ var AbstractService = class {
|
|
|
342
342
|
endpoint: params.endpoint,
|
|
343
343
|
companyId: params.companyId,
|
|
344
344
|
language,
|
|
345
|
+
token: params.token,
|
|
345
346
|
baseUrl: params.baseUrl
|
|
346
347
|
});
|
|
347
348
|
break;
|
|
@@ -368,6 +369,7 @@ var AbstractService = class {
|
|
|
368
369
|
language,
|
|
369
370
|
responseType: params.responseType,
|
|
370
371
|
files: params.files,
|
|
372
|
+
token: params.token,
|
|
371
373
|
baseUrl: params.baseUrl
|
|
372
374
|
});
|
|
373
375
|
break;
|
|
@@ -381,6 +383,7 @@ var AbstractService = class {
|
|
|
381
383
|
language,
|
|
382
384
|
responseType: params.responseType,
|
|
383
385
|
files: params.files,
|
|
386
|
+
token: params.token,
|
|
384
387
|
baseUrl: params.baseUrl
|
|
385
388
|
});
|
|
386
389
|
break;
|
|
@@ -391,6 +394,7 @@ var AbstractService = class {
|
|
|
391
394
|
companyId: params.companyId,
|
|
392
395
|
language,
|
|
393
396
|
responseType: params.responseType,
|
|
397
|
+
token: params.token,
|
|
394
398
|
baseUrl: params.baseUrl
|
|
395
399
|
});
|
|
396
400
|
break;
|
|
@@ -422,7 +426,7 @@ var AbstractService = class {
|
|
|
422
426
|
* Make an API call and return both data and meta from the response.
|
|
423
427
|
*/
|
|
424
428
|
static async callApiWithMeta(params) {
|
|
425
|
-
const { JsonApiGet: JsonApiGet2, JsonApiPost: JsonApiPost2, JsonApiPut, JsonApiPatch, JsonApiDelete: JsonApiDelete2 } = await import("./JsonApiRequest-
|
|
429
|
+
const { JsonApiGet: JsonApiGet2, JsonApiPost: JsonApiPost2, JsonApiPut, JsonApiPatch, JsonApiDelete: JsonApiDelete2 } = await import("./JsonApiRequest-F5LBESSA.mjs");
|
|
426
430
|
let apiResponse;
|
|
427
431
|
let language = "en";
|
|
428
432
|
if (typeof window === "undefined") {
|
|
@@ -508,7 +512,7 @@ var AbstractService = class {
|
|
|
508
512
|
* Get raw JSON:API response data without deserialization.
|
|
509
513
|
*/
|
|
510
514
|
static async getRawData(params) {
|
|
511
|
-
const { JsonApiGet: JsonApiGet2 } = await import("./JsonApiRequest-
|
|
515
|
+
const { JsonApiGet: JsonApiGet2 } = await import("./JsonApiRequest-F5LBESSA.mjs");
|
|
512
516
|
let language = "en";
|
|
513
517
|
if (typeof window === "undefined") {
|
|
514
518
|
const { getLocale } = await import("next-intl/server");
|
|
@@ -7850,4 +7854,4 @@ export {
|
|
|
7850
7854
|
AuditLogService,
|
|
7851
7855
|
AuditLogModule
|
|
7852
7856
|
};
|
|
7853
|
-
//# sourceMappingURL=chunk-
|
|
7857
|
+
//# sourceMappingURL=chunk-5MNE72ZE.mjs.map
|