@carlonicora/nextjs-jsonapi 1.72.0 → 1.73.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 (42) hide show
  1. package/dist/{BlockNoteEditor-LHOIPHHB.js → BlockNoteEditor-ETTYTXDX.js} +14 -14
  2. package/dist/{BlockNoteEditor-LHOIPHHB.js.map → BlockNoteEditor-ETTYTXDX.js.map} +1 -1
  3. package/dist/{BlockNoteEditor-FGZ2MOTZ.mjs → BlockNoteEditor-MZ6G4XN4.mjs} +4 -4
  4. package/dist/billing/index.js +346 -346
  5. package/dist/billing/index.mjs +3 -3
  6. package/dist/{chunk-6ROMPIIP.js → chunk-5QTDS6V7.js} +11 -11
  7. package/dist/{chunk-6ROMPIIP.js.map → chunk-5QTDS6V7.js.map} +1 -1
  8. package/dist/{chunk-ATOD6MGB.mjs → chunk-6O3YOOQM.mjs} +5 -5
  9. package/dist/chunk-6O3YOOQM.mjs.map +1 -0
  10. package/dist/{chunk-GZNHBAZF.mjs → chunk-73ANSE3J.mjs} +14 -1
  11. package/dist/chunk-73ANSE3J.mjs.map +1 -0
  12. package/dist/{chunk-WJYWWOTG.mjs → chunk-HP6AJBWE.mjs} +2 -2
  13. package/dist/{chunk-Y7S56ZT3.js → chunk-OPUWDWFH.js} +650 -650
  14. package/dist/chunk-OPUWDWFH.js.map +1 -0
  15. package/dist/{chunk-56VU7A4I.js → chunk-QLICTZL7.js} +14 -1
  16. package/dist/chunk-QLICTZL7.js.map +1 -0
  17. package/dist/client/index.js +4 -4
  18. package/dist/client/index.mjs +3 -3
  19. package/dist/components/index.js +4 -4
  20. package/dist/components/index.mjs +3 -3
  21. package/dist/contexts/index.d.mts +2 -0
  22. package/dist/contexts/index.d.ts +2 -0
  23. package/dist/contexts/index.js +4 -4
  24. package/dist/contexts/index.mjs +3 -3
  25. package/dist/core/index.d.mts +2 -0
  26. package/dist/core/index.d.ts +2 -0
  27. package/dist/core/index.js +2 -2
  28. package/dist/core/index.mjs +1 -1
  29. package/dist/index.js +3 -3
  30. package/dist/index.mjs +2 -2
  31. package/dist/server/index.js +3 -3
  32. package/dist/server/index.mjs +1 -1
  33. package/package.json +1 -1
  34. package/src/components/containers/RoundPageContainerTitle.tsx +1 -1
  35. package/src/contexts/SharedContext.tsx +2 -0
  36. package/src/core/registry/ModuleRegistry.ts +17 -0
  37. package/dist/chunk-56VU7A4I.js.map +0 -1
  38. package/dist/chunk-ATOD6MGB.mjs.map +0 -1
  39. package/dist/chunk-GZNHBAZF.mjs.map +0 -1
  40. package/dist/chunk-Y7S56ZT3.js.map +0 -1
  41. /package/dist/{BlockNoteEditor-FGZ2MOTZ.mjs.map → BlockNoteEditor-MZ6G4XN4.mjs.map} +0 -0
  42. /package/dist/{chunk-WJYWWOTG.mjs.map → chunk-HP6AJBWE.mjs.map} +0 -0
@@ -982,6 +982,16 @@ var ModuleRegistryClass = class {
982
982
  }
983
983
  return module;
984
984
  }
985
+ findByFeature(feature) {
986
+ const response = [];
987
+ for (const module of this._modules.values()) {
988
+ const m = module;
989
+ if (m.feature === feature) {
990
+ response.push(m);
991
+ }
992
+ }
993
+ return response;
994
+ }
985
995
  };
986
996
  var ModuleRegistry = new ModuleRegistryClass();
987
997
  var Modules = new Proxy({}, {
@@ -992,6 +1002,9 @@ var Modules = new Proxy({}, {
992
1002
  if (prop === "findByModelName") {
993
1003
  return (name) => ModuleRegistry.findByModelName(name);
994
1004
  }
1005
+ if (prop === "findByFeature") {
1006
+ return (feature) => ModuleRegistry.findByFeature(feature);
1007
+ }
995
1008
  return ModuleRegistry.get(prop);
996
1009
  }
997
1010
  });
@@ -7142,4 +7155,4 @@ export {
7142
7155
  AuditLogService,
7143
7156
  AuditLogModule
7144
7157
  };
7145
- //# sourceMappingURL=chunk-GZNHBAZF.mjs.map
7158
+ //# sourceMappingURL=chunk-73ANSE3J.mjs.map