@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.
Files changed (56) hide show
  1. package/dist/{BlockNoteEditor-PGTAPCQF.js → BlockNoteEditor-RG2YQDMQ.js} +20 -20
  2. package/dist/{BlockNoteEditor-PGTAPCQF.js.map → BlockNoteEditor-RG2YQDMQ.js.map} +1 -1
  3. package/dist/{BlockNoteEditor-SMZNQ4CX.mjs → BlockNoteEditor-WIAQJ5HM.mjs} +5 -5
  4. package/dist/{JsonApiRequest-4ISXX7PC.mjs → JsonApiRequest-F5LBESSA.mjs} +2 -2
  5. package/dist/JsonApiRequest-YAPUG4ND.js +26 -0
  6. package/dist/{JsonApiRequest-P3VQ2WIS.js.map → JsonApiRequest-YAPUG4ND.js.map} +1 -1
  7. package/dist/billing/index.js +347 -347
  8. package/dist/billing/index.mjs +4 -4
  9. package/dist/{chunk-T2FFT7JT.mjs → chunk-5MNE72ZE.mjs} +9 -5
  10. package/dist/{chunk-T2FFT7JT.mjs.map → chunk-5MNE72ZE.mjs.map} +1 -1
  11. package/dist/{chunk-JGVMZYAO.mjs → chunk-F54XZKPY.mjs} +149 -130
  12. package/dist/chunk-F54XZKPY.mjs.map +1 -0
  13. package/dist/{chunk-PQBKPWBY.js → chunk-LBMNRFCY.js} +34 -30
  14. package/dist/chunk-LBMNRFCY.js.map +1 -0
  15. package/dist/{chunk-6VNRUTZR.mjs → chunk-NATPK5ME.mjs} +3 -3
  16. package/dist/{chunk-EIOEYXY3.js → chunk-QWCAOLBD.js} +6 -5
  17. package/dist/chunk-QWCAOLBD.js.map +1 -0
  18. package/dist/{chunk-JO5BLONK.js → chunk-XTLTQQ7X.js} +9 -9
  19. package/dist/{chunk-JO5BLONK.js.map → chunk-XTLTQQ7X.js.map} +1 -1
  20. package/dist/{chunk-24RSNGD2.js → chunk-YQTMNZQB.js} +808 -789
  21. package/dist/chunk-YQTMNZQB.js.map +1 -0
  22. package/dist/{chunk-DKFXGCG2.mjs → chunk-Z2CB63VG.mjs} +6 -5
  23. package/dist/{chunk-DKFXGCG2.mjs.map → chunk-Z2CB63VG.mjs.map} +1 -1
  24. package/dist/client/index.js +5 -5
  25. package/dist/client/index.mjs +4 -4
  26. package/dist/components/index.d.mts +2 -0
  27. package/dist/components/index.d.ts +2 -0
  28. package/dist/components/index.js +5 -5
  29. package/dist/components/index.mjs +4 -4
  30. package/dist/contexts/index.js +5 -5
  31. package/dist/contexts/index.mjs +4 -4
  32. package/dist/core/index.js +3 -3
  33. package/dist/core/index.mjs +2 -2
  34. package/dist/features/help/index.js +37 -37
  35. package/dist/features/help/index.mjs +4 -4
  36. package/dist/index.js +4 -4
  37. package/dist/index.mjs +3 -3
  38. package/dist/server/index.js +12 -12
  39. package/dist/server/index.mjs +2 -2
  40. package/package.json +2 -2
  41. package/src/components/tables/ContentListTable.tsx +18 -4
  42. package/src/components/tables/__tests__/ContentListTable.test.tsx +38 -2
  43. package/src/core/abstracts/AbstractService.ts +4 -0
  44. package/src/features/company/components/lists/CompaniesList.tsx +1 -1
  45. package/src/features/content/components/lists/ContentsListById.tsx +1 -1
  46. package/src/features/content/components/lists/RelevantContentsList.tsx +1 -1
  47. package/src/features/user/components/lists/AdminUsersList.tsx +1 -1
  48. package/src/unified/JsonApiRequest.ts +9 -4
  49. package/dist/JsonApiRequest-P3VQ2WIS.js +0 -26
  50. package/dist/chunk-24RSNGD2.js.map +0 -1
  51. package/dist/chunk-EIOEYXY3.js.map +0 -1
  52. package/dist/chunk-JGVMZYAO.mjs.map +0 -1
  53. package/dist/chunk-PQBKPWBY.js.map +0 -1
  54. /package/dist/{BlockNoteEditor-SMZNQ4CX.mjs.map → BlockNoteEditor-WIAQJ5HM.mjs.map} +0 -0
  55. /package/dist/{JsonApiRequest-4ISXX7PC.mjs.map → JsonApiRequest-F5LBESSA.mjs.map} +0 -0
  56. /package/dist/{chunk-6VNRUTZR.mjs.map → chunk-NATPK5ME.mjs.map} +0 -0
@@ -47,11 +47,11 @@ import {
47
47
  TabsList,
48
48
  TabsTrigger,
49
49
  useCurrentUserContext
50
- } from "../chunk-JGVMZYAO.mjs";
50
+ } from "../chunk-F54XZKPY.mjs";
51
51
  import {
52
52
  getRoleId,
53
53
  getStripePublishableKey
54
- } from "../chunk-6VNRUTZR.mjs";
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-T2FFT7JT.mjs";
65
+ } from "../chunk-5MNE72ZE.mjs";
66
66
  import "../chunk-AUXK7QSA.mjs";
67
67
  import "../chunk-C7C7VY4F.mjs";
68
- import "../chunk-DKFXGCG2.mjs";
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-DKFXGCG2.mjs";
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-4ISXX7PC.mjs");
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-4ISXX7PC.mjs");
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-4ISXX7PC.mjs");
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-T2FFT7JT.mjs.map
7857
+ //# sourceMappingURL=chunk-5MNE72ZE.mjs.map