@carlonicora/nextjs-jsonapi 1.46.1 → 1.47.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 (50) hide show
  1. package/dist/{BlockNoteEditor-UOY5GSMU.mjs → BlockNoteEditor-J7R24CYB.mjs} +5 -5
  2. package/dist/{BlockNoteEditor-H6KXV3VK.js → BlockNoteEditor-XMBFXTHB.js} +15 -15
  3. package/dist/{BlockNoteEditor-H6KXV3VK.js.map → BlockNoteEditor-XMBFXTHB.js.map} +1 -1
  4. package/dist/JsonApiRequest-CRRH5B5V.js +24 -0
  5. package/dist/{JsonApiRequest-MUPAO7DI.js.map → JsonApiRequest-CRRH5B5V.js.map} +1 -1
  6. package/dist/{JsonApiRequest-XCQHVVYD.mjs → JsonApiRequest-I2S75QTJ.mjs} +2 -2
  7. package/dist/billing/index.js +347 -347
  8. package/dist/billing/index.mjs +4 -4
  9. package/dist/{chunk-WLS4D6VG.js → chunk-4MN547K7.js} +8 -1
  10. package/dist/chunk-4MN547K7.js.map +1 -0
  11. package/dist/{chunk-GCQUTWZ2.mjs → chunk-BTKJFMFL.mjs} +8 -1
  12. package/dist/chunk-BTKJFMFL.mjs.map +1 -0
  13. package/dist/{chunk-4HMQNMP6.mjs → chunk-BUCV5VFT.mjs} +2 -2
  14. package/dist/{chunk-2OJWO6QV.js → chunk-HY357JCN.js} +565 -565
  15. package/dist/{chunk-2OJWO6QV.js.map → chunk-HY357JCN.js.map} +1 -1
  16. package/dist/{chunk-LM4SDN4Y.mjs → chunk-IPVXH3VC.mjs} +43 -5
  17. package/dist/chunk-IPVXH3VC.mjs.map +1 -0
  18. package/dist/{chunk-5AYSTQBI.mjs → chunk-LYQMDZO7.mjs} +6 -6
  19. package/dist/{chunk-5PUPWZB4.js → chunk-ULHMVHDS.js} +137 -99
  20. package/dist/chunk-ULHMVHDS.js.map +1 -0
  21. package/dist/{chunk-GP3MDKGE.js → chunk-V63TFESU.js} +3 -3
  22. package/dist/{chunk-GP3MDKGE.js.map → chunk-V63TFESU.js.map} +1 -1
  23. package/dist/client/index.js +5 -5
  24. package/dist/client/index.mjs +4 -4
  25. package/dist/components/index.js +5 -5
  26. package/dist/components/index.mjs +4 -4
  27. package/dist/contexts/index.js +5 -5
  28. package/dist/contexts/index.mjs +4 -4
  29. package/dist/core/index.d.mts +12 -0
  30. package/dist/core/index.d.ts +12 -0
  31. package/dist/core/index.js +3 -3
  32. package/dist/core/index.mjs +2 -2
  33. package/dist/index.js +4 -4
  34. package/dist/index.mjs +3 -3
  35. package/dist/server/index.js +12 -12
  36. package/dist/server/index.mjs +2 -2
  37. package/package.json +1 -1
  38. package/src/core/abstracts/AbstractApiData.ts +56 -0
  39. package/src/core/abstracts/__tests__/readIncludedPolymorphic.spec.ts +195 -0
  40. package/src/core/registry/DataClassRegistry.ts +8 -0
  41. package/src/core/registry/__tests__/DataClassRegistry.getByJsonApiType.spec.ts +138 -0
  42. package/dist/JsonApiRequest-MUPAO7DI.js +0 -24
  43. package/dist/chunk-5PUPWZB4.js.map +0 -1
  44. package/dist/chunk-GCQUTWZ2.mjs.map +0 -1
  45. package/dist/chunk-LM4SDN4Y.mjs.map +0 -1
  46. package/dist/chunk-WLS4D6VG.js.map +0 -1
  47. /package/dist/{BlockNoteEditor-UOY5GSMU.mjs.map → BlockNoteEditor-J7R24CYB.mjs.map} +0 -0
  48. /package/dist/{JsonApiRequest-XCQHVVYD.mjs.map → JsonApiRequest-I2S75QTJ.mjs.map} +0 -0
  49. /package/dist/{chunk-4HMQNMP6.mjs.map → chunk-BUCV5VFT.mjs.map} +0 -0
  50. /package/dist/{chunk-5AYSTQBI.mjs.map → chunk-LYQMDZO7.mjs.map} +0 -0
@@ -17,7 +17,7 @@ import {
17
17
  useI18nLocale,
18
18
  useI18nRouter,
19
19
  useI18nTranslations
20
- } from "./chunk-4HMQNMP6.mjs";
20
+ } from "./chunk-BUCV5VFT.mjs";
21
21
  import {
22
22
  AVAILABLE_OAUTH_SCOPES,
23
23
  AuthService,
@@ -48,7 +48,7 @@ import {
48
48
  showToast,
49
49
  useComposedRefs,
50
50
  useIsMobile
51
- } from "./chunk-LM4SDN4Y.mjs";
51
+ } from "./chunk-IPVXH3VC.mjs";
52
52
  import {
53
53
  JsonApiContext
54
54
  } from "./chunk-VOXD3ZLY.mjs";
@@ -10925,7 +10925,7 @@ __name(AllowedUsersDetails, "AllowedUsersDetails");
10925
10925
  import dynamic from "next/dynamic";
10926
10926
  import React15 from "react";
10927
10927
  import { jsx as jsx126 } from "react/jsx-runtime";
10928
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-UOY5GSMU.mjs"), {
10928
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-J7R24CYB.mjs"), {
10929
10929
  ssr: false
10930
10930
  });
10931
10931
  var BlockNoteEditorContainer = React15.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -11140,7 +11140,7 @@ function useJsonApiGet(params) {
11140
11140
  setLoading(true);
11141
11141
  setError(null);
11142
11142
  try {
11143
- const { JsonApiGet } = await import("./JsonApiRequest-XCQHVVYD.mjs");
11143
+ const { JsonApiGet } = await import("./JsonApiRequest-I2S75QTJ.mjs");
11144
11144
  const language = navigator.language.split("-")[0] || "en";
11145
11145
  const apiResponse = await JsonApiGet({
11146
11146
  classKey: params.classKey,
@@ -11245,7 +11245,7 @@ function useJsonApiMutation(config) {
11245
11245
  setLoading(true);
11246
11246
  setError(null);
11247
11247
  try {
11248
- const { JsonApiPost, JsonApiPut, JsonApiPatch, JsonApiDelete } = await import("./JsonApiRequest-XCQHVVYD.mjs");
11248
+ const { JsonApiPost, JsonApiPut, JsonApiPatch, JsonApiDelete } = await import("./JsonApiRequest-I2S75QTJ.mjs");
11249
11249
  const language = navigator.language.split("-")[0] || "en";
11250
11250
  let apiResponse;
11251
11251
  switch (config.method) {
@@ -16894,4 +16894,4 @@ export {
16894
16894
  useOAuthClients,
16895
16895
  useOAuthClient
16896
16896
  };
16897
- //# sourceMappingURL=chunk-5AYSTQBI.mjs.map
16897
+ //# sourceMappingURL=chunk-LYQMDZO7.mjs.map