@carlonicora/nextjs-jsonapi 1.2.0 → 1.3.1

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 (272) hide show
  1. package/dist/{BlockNoteEditor-CNXQ3WL3.js → BlockNoteEditor-7WYPN34K.js} +17 -17
  2. package/dist/{BlockNoteEditor-CNXQ3WL3.js.map → BlockNoteEditor-7WYPN34K.js.map} +1 -1
  3. package/dist/{BlockNoteEditor-DC33K4IF.mjs → BlockNoteEditor-V625C23O.mjs} +7 -7
  4. package/dist/{JsonApiRequest-O7BGUMFO.mjs → JsonApiRequest-6UR7DIAR.mjs} +4 -2
  5. package/dist/JsonApiRequest-UJ7FGIVI.js +25 -0
  6. package/dist/JsonApiRequest-UJ7FGIVI.js.map +1 -0
  7. package/dist/{chunk-EZK3H6EJ.js → chunk-5IET37O4.js} +206 -206
  8. package/dist/{chunk-EZK3H6EJ.js.map → chunk-5IET37O4.js.map} +1 -1
  9. package/dist/{chunk-Y4XI3AZR.mjs → chunk-5QC7A6BL.mjs} +32 -20
  10. package/dist/chunk-5QC7A6BL.mjs.map +1 -0
  11. package/dist/{chunk-LJRD4SRV.js → chunk-DEYKTLA3.js} +6 -6
  12. package/dist/{chunk-LJRD4SRV.js.map → chunk-DEYKTLA3.js.map} +1 -1
  13. package/dist/{chunk-NPPQNSXN.mjs → chunk-FMBQZAIP.mjs} +3 -3
  14. package/dist/{chunk-MHVXFWZY.mjs → chunk-HTLEKZND.mjs} +3 -3
  15. package/dist/{chunk-74F6BBHH.mjs → chunk-IKBA4AHN.mjs} +2 -1
  16. package/dist/chunk-IKBA4AHN.mjs.map +1 -0
  17. package/dist/{chunk-JLN6UWII.mjs → chunk-JGFWIT2E.mjs} +2 -2
  18. package/dist/{chunk-KDFDGXCX.js → chunk-K2ANOT66.js} +576 -564
  19. package/dist/chunk-K2ANOT66.js.map +1 -0
  20. package/dist/{chunk-X53MF5ZN.mjs → chunk-P2F54I7Q.mjs} +2 -2
  21. package/dist/{chunk-5ZEADNNP.js → chunk-PMXG5WBC.js} +3 -2
  22. package/dist/chunk-PMXG5WBC.js.map +1 -0
  23. package/dist/{chunk-L6LH7WA4.js → chunk-PO5Q3H5I.js} +190 -190
  24. package/dist/{chunk-L6LH7WA4.js.map → chunk-PO5Q3H5I.js.map} +1 -1
  25. package/dist/{chunk-WZJDLITG.js → chunk-Q4FXESVT.js} +3 -3
  26. package/dist/{chunk-WZJDLITG.js.map → chunk-Q4FXESVT.js.map} +1 -1
  27. package/dist/client/index.js +7 -7
  28. package/dist/client/index.mjs +6 -6
  29. package/dist/components/index.js +7 -7
  30. package/dist/components/index.mjs +6 -6
  31. package/dist/contexts/index.js +7 -7
  32. package/dist/contexts/index.mjs +6 -6
  33. package/dist/core/index.js +2 -2
  34. package/dist/core/index.mjs +1 -1
  35. package/dist/features/index.js +4 -4
  36. package/dist/features/index.mjs +3 -3
  37. package/dist/hooks/index.js +7 -7
  38. package/dist/hooks/index.mjs +6 -6
  39. package/dist/index.d.mts +2 -1
  40. package/dist/index.d.ts +2 -1
  41. package/dist/index.js +5 -3
  42. package/dist/index.js.map +1 -1
  43. package/dist/index.mjs +4 -2
  44. package/dist/scripts/generate-web-module/generator.d.ts +15 -0
  45. package/dist/scripts/generate-web-module/generator.d.ts.map +1 -0
  46. package/dist/scripts/generate-web-module/generator.js +320 -0
  47. package/dist/scripts/generate-web-module/generator.js.map +1 -0
  48. package/dist/scripts/generate-web-module/index.d.ts +16 -0
  49. package/dist/scripts/generate-web-module/index.d.ts.map +1 -0
  50. package/dist/scripts/generate-web-module/index.js +80 -0
  51. package/dist/scripts/generate-web-module/index.js.map +1 -0
  52. package/dist/scripts/generate-web-module/templates/components/container.template.d.ts +14 -0
  53. package/dist/scripts/generate-web-module/templates/components/container.template.d.ts.map +1 -0
  54. package/dist/scripts/generate-web-module/templates/components/container.template.js +124 -0
  55. package/dist/scripts/generate-web-module/templates/components/container.template.js.map +1 -0
  56. package/dist/scripts/generate-web-module/templates/components/content.template.d.ts +15 -0
  57. package/dist/scripts/generate-web-module/templates/components/content.template.d.ts.map +1 -0
  58. package/dist/scripts/generate-web-module/templates/components/content.template.js +39 -0
  59. package/dist/scripts/generate-web-module/templates/components/content.template.js.map +1 -0
  60. package/dist/scripts/generate-web-module/templates/components/deleter.template.d.ts +14 -0
  61. package/dist/scripts/generate-web-module/templates/components/deleter.template.d.ts.map +1 -0
  62. package/dist/scripts/generate-web-module/templates/components/deleter.template.js +51 -0
  63. package/dist/scripts/generate-web-module/templates/components/deleter.template.js.map +1 -0
  64. package/dist/scripts/generate-web-module/templates/components/details.template.d.ts +14 -0
  65. package/dist/scripts/generate-web-module/templates/components/details.template.d.ts.map +1 -0
  66. package/dist/scripts/generate-web-module/templates/components/details.template.js +109 -0
  67. package/dist/scripts/generate-web-module/templates/components/details.template.js.map +1 -0
  68. package/dist/scripts/generate-web-module/templates/components/editor.template.d.ts +14 -0
  69. package/dist/scripts/generate-web-module/templates/components/editor.template.d.ts.map +1 -0
  70. package/dist/scripts/generate-web-module/templates/components/editor.template.js +459 -0
  71. package/dist/scripts/generate-web-module/templates/components/editor.template.js.map +1 -0
  72. package/dist/scripts/generate-web-module/templates/components/index.d.ts +15 -0
  73. package/dist/scripts/generate-web-module/templates/components/index.d.ts.map +1 -0
  74. package/dist/scripts/generate-web-module/templates/components/index.js +29 -0
  75. package/dist/scripts/generate-web-module/templates/components/index.js.map +1 -0
  76. package/dist/scripts/generate-web-module/templates/components/list-container.template.d.ts +14 -0
  77. package/dist/scripts/generate-web-module/templates/components/list-container.template.d.ts.map +1 -0
  78. package/dist/scripts/generate-web-module/templates/components/list-container.template.js +30 -0
  79. package/dist/scripts/generate-web-module/templates/components/list-container.template.js.map +1 -0
  80. package/dist/scripts/generate-web-module/templates/components/list.template.d.ts +14 -0
  81. package/dist/scripts/generate-web-module/templates/components/list.template.d.ts.map +1 -0
  82. package/dist/scripts/generate-web-module/templates/components/list.template.js +84 -0
  83. package/dist/scripts/generate-web-module/templates/components/list.template.js.map +1 -0
  84. package/dist/scripts/generate-web-module/templates/components/multi-selector.template.d.ts +14 -0
  85. package/dist/scripts/generate-web-module/templates/components/multi-selector.template.d.ts.map +1 -0
  86. package/dist/scripts/generate-web-module/templates/components/multi-selector.template.js +184 -0
  87. package/dist/scripts/generate-web-module/templates/components/multi-selector.template.js.map +1 -0
  88. package/dist/scripts/generate-web-module/templates/components/selector.template.d.ts +14 -0
  89. package/dist/scripts/generate-web-module/templates/components/selector.template.d.ts.map +1 -0
  90. package/dist/scripts/generate-web-module/templates/components/selector.template.js +199 -0
  91. package/dist/scripts/generate-web-module/templates/components/selector.template.js.map +1 -0
  92. package/dist/scripts/generate-web-module/templates/context.template.d.ts +14 -0
  93. package/dist/scripts/generate-web-module/templates/context.template.d.ts.map +1 -0
  94. package/dist/scripts/generate-web-module/templates/context.template.js +121 -0
  95. package/dist/scripts/generate-web-module/templates/context.template.js.map +1 -0
  96. package/dist/scripts/generate-web-module/templates/data/fields.template.d.ts +14 -0
  97. package/dist/scripts/generate-web-module/templates/data/fields.template.d.ts.map +1 -0
  98. package/dist/scripts/generate-web-module/templates/data/fields.template.js +55 -0
  99. package/dist/scripts/generate-web-module/templates/data/fields.template.js.map +1 -0
  100. package/dist/scripts/generate-web-module/templates/data/index.d.ts +10 -0
  101. package/dist/scripts/generate-web-module/templates/data/index.d.ts.map +1 -0
  102. package/dist/scripts/generate-web-module/templates/data/index.js +26 -0
  103. package/dist/scripts/generate-web-module/templates/data/index.js.map +1 -0
  104. package/dist/scripts/generate-web-module/templates/data/interface.template.d.ts +14 -0
  105. package/dist/scripts/generate-web-module/templates/data/interface.template.d.ts.map +1 -0
  106. package/dist/scripts/generate-web-module/templates/data/interface.template.js +116 -0
  107. package/dist/scripts/generate-web-module/templates/data/interface.template.js.map +1 -0
  108. package/dist/scripts/generate-web-module/templates/data/model.template.d.ts +14 -0
  109. package/dist/scripts/generate-web-module/templates/data/model.template.d.ts.map +1 -0
  110. package/dist/scripts/generate-web-module/templates/data/model.template.js +274 -0
  111. package/dist/scripts/generate-web-module/templates/data/model.template.js.map +1 -0
  112. package/dist/scripts/generate-web-module/templates/data/service.template.d.ts +14 -0
  113. package/dist/scripts/generate-web-module/templates/data/service.template.d.ts.map +1 -0
  114. package/dist/scripts/generate-web-module/templates/data/service.template.js +168 -0
  115. package/dist/scripts/generate-web-module/templates/data/service.template.js.map +1 -0
  116. package/dist/scripts/generate-web-module/templates/index.d.ts +12 -0
  117. package/dist/scripts/generate-web-module/templates/index.d.ts.map +1 -0
  118. package/dist/scripts/generate-web-module/templates/index.js +37 -0
  119. package/dist/scripts/generate-web-module/templates/index.js.map +1 -0
  120. package/dist/scripts/generate-web-module/templates/module.template.d.ts +14 -0
  121. package/dist/scripts/generate-web-module/templates/module.template.d.ts.map +1 -0
  122. package/dist/scripts/generate-web-module/templates/module.template.js +64 -0
  123. package/dist/scripts/generate-web-module/templates/module.template.js.map +1 -0
  124. package/dist/scripts/generate-web-module/templates/pages/detail-page.template.d.ts +14 -0
  125. package/dist/scripts/generate-web-module/templates/pages/detail-page.template.d.ts.map +1 -0
  126. package/dist/scripts/generate-web-module/templates/pages/detail-page.template.js +65 -0
  127. package/dist/scripts/generate-web-module/templates/pages/detail-page.template.js.map +1 -0
  128. package/dist/scripts/generate-web-module/templates/pages/index.d.ts +8 -0
  129. package/dist/scripts/generate-web-module/templates/pages/index.d.ts.map +1 -0
  130. package/dist/scripts/generate-web-module/templates/pages/index.js +13 -0
  131. package/dist/scripts/generate-web-module/templates/pages/index.js.map +1 -0
  132. package/dist/scripts/generate-web-module/templates/pages/list-page.template.d.ts +14 -0
  133. package/dist/scripts/generate-web-module/templates/pages/list-page.template.d.ts.map +1 -0
  134. package/dist/scripts/generate-web-module/templates/pages/list-page.template.js +37 -0
  135. package/dist/scripts/generate-web-module/templates/pages/list-page.template.js.map +1 -0
  136. package/dist/scripts/generate-web-module/templates/table-hook.template.d.ts +14 -0
  137. package/dist/scripts/generate-web-module/templates/table-hook.template.d.ts.map +1 -0
  138. package/dist/scripts/generate-web-module/templates/table-hook.template.js +174 -0
  139. package/dist/scripts/generate-web-module/templates/table-hook.template.js.map +1 -0
  140. package/dist/scripts/generate-web-module/transformers/field-mapper.d.ts +55 -0
  141. package/dist/scripts/generate-web-module/transformers/field-mapper.d.ts.map +1 -0
  142. package/dist/scripts/generate-web-module/transformers/field-mapper.js +179 -0
  143. package/dist/scripts/generate-web-module/transformers/field-mapper.js.map +1 -0
  144. package/dist/scripts/generate-web-module/transformers/i18n-generator.d.ts +78 -0
  145. package/dist/scripts/generate-web-module/transformers/i18n-generator.d.ts.map +1 -0
  146. package/dist/scripts/generate-web-module/transformers/i18n-generator.js +182 -0
  147. package/dist/scripts/generate-web-module/transformers/i18n-generator.js.map +1 -0
  148. package/dist/scripts/generate-web-module/transformers/import-resolver.d.ts +106 -0
  149. package/dist/scripts/generate-web-module/transformers/import-resolver.d.ts.map +1 -0
  150. package/dist/scripts/generate-web-module/transformers/import-resolver.js +193 -0
  151. package/dist/scripts/generate-web-module/transformers/import-resolver.js.map +1 -0
  152. package/dist/scripts/generate-web-module/transformers/index.d.ts +12 -0
  153. package/dist/scripts/generate-web-module/transformers/index.d.ts.map +1 -0
  154. package/dist/scripts/generate-web-module/transformers/index.js +28 -0
  155. package/dist/scripts/generate-web-module/transformers/index.js.map +1 -0
  156. package/dist/scripts/generate-web-module/transformers/name-transformer.d.ts +60 -0
  157. package/dist/scripts/generate-web-module/transformers/name-transformer.d.ts.map +1 -0
  158. package/dist/scripts/generate-web-module/transformers/name-transformer.js +115 -0
  159. package/dist/scripts/generate-web-module/transformers/name-transformer.js.map +1 -0
  160. package/dist/scripts/generate-web-module/transformers/parent-detector.d.ts +57 -0
  161. package/dist/scripts/generate-web-module/transformers/parent-detector.d.ts.map +1 -0
  162. package/dist/scripts/generate-web-module/transformers/parent-detector.js +88 -0
  163. package/dist/scripts/generate-web-module/transformers/parent-detector.js.map +1 -0
  164. package/dist/scripts/generate-web-module/transformers/relationship-resolver.d.ts +68 -0
  165. package/dist/scripts/generate-web-module/transformers/relationship-resolver.d.ts.map +1 -0
  166. package/dist/scripts/generate-web-module/transformers/relationship-resolver.js +219 -0
  167. package/dist/scripts/generate-web-module/transformers/relationship-resolver.js.map +1 -0
  168. package/dist/scripts/generate-web-module/types/field-mapping.types.d.ts +68 -0
  169. package/dist/scripts/generate-web-module/types/field-mapping.types.d.ts.map +1 -0
  170. package/dist/scripts/generate-web-module/types/field-mapping.types.js +129 -0
  171. package/dist/scripts/generate-web-module/types/field-mapping.types.js.map +1 -0
  172. package/dist/scripts/generate-web-module/types/index.d.ts +9 -0
  173. package/dist/scripts/generate-web-module/types/index.d.ts.map +1 -0
  174. package/dist/scripts/generate-web-module/types/index.js +25 -0
  175. package/dist/scripts/generate-web-module/types/index.js.map +1 -0
  176. package/dist/scripts/generate-web-module/types/json-schema.interface.d.ts +40 -0
  177. package/dist/scripts/generate-web-module/types/json-schema.interface.d.ts.map +1 -0
  178. package/dist/scripts/generate-web-module/types/json-schema.interface.js +10 -0
  179. package/dist/scripts/generate-web-module/types/json-schema.interface.js.map +1 -0
  180. package/dist/scripts/generate-web-module/types/template-data.interface.d.ts +128 -0
  181. package/dist/scripts/generate-web-module/types/template-data.interface.d.ts.map +1 -0
  182. package/dist/scripts/generate-web-module/types/template-data.interface.js +9 -0
  183. package/dist/scripts/generate-web-module/types/template-data.interface.js.map +1 -0
  184. package/dist/scripts/generate-web-module/utils/bootstrapper-updater.d.ts +29 -0
  185. package/dist/scripts/generate-web-module/utils/bootstrapper-updater.d.ts.map +1 -0
  186. package/dist/scripts/generate-web-module/utils/bootstrapper-updater.js +153 -0
  187. package/dist/scripts/generate-web-module/utils/bootstrapper-updater.js.map +1 -0
  188. package/dist/scripts/generate-web-module/utils/file-writer.d.ts +38 -0
  189. package/dist/scripts/generate-web-module/utils/file-writer.d.ts.map +1 -0
  190. package/dist/scripts/generate-web-module/utils/file-writer.js +126 -0
  191. package/dist/scripts/generate-web-module/utils/file-writer.js.map +1 -0
  192. package/dist/scripts/generate-web-module/utils/i18n-updater.d.ts +28 -0
  193. package/dist/scripts/generate-web-module/utils/i18n-updater.d.ts.map +1 -0
  194. package/dist/scripts/generate-web-module/utils/i18n-updater.js +122 -0
  195. package/dist/scripts/generate-web-module/utils/i18n-updater.js.map +1 -0
  196. package/dist/scripts/generate-web-module/utils/index.d.ts +9 -0
  197. package/dist/scripts/generate-web-module/utils/index.d.ts.map +1 -0
  198. package/dist/scripts/generate-web-module/utils/index.js +20 -0
  199. package/dist/scripts/generate-web-module/utils/index.js.map +1 -0
  200. package/dist/scripts/generate-web-module/validators/json-schema-validator.d.ts +46 -0
  201. package/dist/scripts/generate-web-module/validators/json-schema-validator.d.ts.map +1 -0
  202. package/dist/scripts/generate-web-module/validators/json-schema-validator.js +265 -0
  203. package/dist/scripts/generate-web-module/validators/json-schema-validator.js.map +1 -0
  204. package/dist/shadcnui/index.js +4 -4
  205. package/dist/shadcnui/index.mjs +3 -3
  206. package/dist/utils/index.js +3 -3
  207. package/dist/utils/index.mjs +2 -2
  208. package/package.json +27 -21
  209. package/scripts/generate-web-module/generator.ts +363 -0
  210. package/scripts/generate-web-module/index.ts +49 -0
  211. package/scripts/generate-web-module/templates/components/container.template.ts +129 -0
  212. package/scripts/generate-web-module/templates/components/content.template.ts +40 -0
  213. package/scripts/generate-web-module/templates/components/deleter.template.ts +51 -0
  214. package/scripts/generate-web-module/templates/components/details.template.ts +115 -0
  215. package/scripts/generate-web-module/templates/components/editor.template.ts +495 -0
  216. package/scripts/generate-web-module/templates/components/index.ts +18 -0
  217. package/scripts/generate-web-module/templates/components/list-container.template.ts +30 -0
  218. package/scripts/generate-web-module/templates/components/list.template.ts +91 -0
  219. package/scripts/generate-web-module/templates/components/multi-selector.template.ts +184 -0
  220. package/scripts/generate-web-module/templates/components/selector.template.ts +199 -0
  221. package/scripts/generate-web-module/templates/context.template.ts +121 -0
  222. package/scripts/generate-web-module/templates/data/fields.template.ts +64 -0
  223. package/scripts/generate-web-module/templates/data/index.ts +10 -0
  224. package/scripts/generate-web-module/templates/data/interface.template.ts +136 -0
  225. package/scripts/generate-web-module/templates/data/model.template.ts +327 -0
  226. package/scripts/generate-web-module/templates/data/service.template.ts +185 -0
  227. package/scripts/generate-web-module/templates/index.ts +34 -0
  228. package/scripts/generate-web-module/templates/module.template.ts +69 -0
  229. package/scripts/generate-web-module/templates/pages/detail-page.template.ts +65 -0
  230. package/scripts/generate-web-module/templates/pages/index.ts +8 -0
  231. package/scripts/generate-web-module/templates/pages/list-page.template.ts +37 -0
  232. package/scripts/generate-web-module/templates/table-hook.template.ts +182 -0
  233. package/scripts/generate-web-module/transformers/field-mapper.ts +201 -0
  234. package/scripts/generate-web-module/transformers/i18n-generator.ts +199 -0
  235. package/scripts/generate-web-module/transformers/import-resolver.ts +250 -0
  236. package/scripts/generate-web-module/transformers/index.ts +12 -0
  237. package/scripts/generate-web-module/transformers/name-transformer.ts +115 -0
  238. package/scripts/generate-web-module/transformers/parent-detector.ts +87 -0
  239. package/scripts/generate-web-module/transformers/relationship-resolver.ts +221 -0
  240. package/scripts/generate-web-module/tsconfig.json +24 -0
  241. package/scripts/generate-web-module/types/field-mapping.types.ts +141 -0
  242. package/scripts/generate-web-module/types/index.ts +9 -0
  243. package/scripts/generate-web-module/types/json-schema.interface.ts +42 -0
  244. package/scripts/generate-web-module/types/template-data.interface.ts +164 -0
  245. package/scripts/generate-web-module/utils/bootstrapper-updater.ts +145 -0
  246. package/scripts/generate-web-module/utils/file-writer.ts +115 -0
  247. package/scripts/generate-web-module/utils/i18n-updater.ts +108 -0
  248. package/scripts/generate-web-module/utils/index.ts +9 -0
  249. package/scripts/generate-web-module/validators/json-schema-validator.ts +306 -0
  250. package/src/components/errors/ErrorDetails.tsx +2 -2
  251. package/src/features/auth/components/containers/AuthContainer.tsx +1 -1
  252. package/src/features/auth/components/details/LandingComponent.tsx +20 -1
  253. package/src/features/auth/components/forms/AcceptInvitation.tsx +1 -1
  254. package/src/features/auth/components/forms/ActivateAccount.tsx +1 -1
  255. package/src/features/auth/components/forms/ForgotPassword.tsx +1 -1
  256. package/src/features/auth/components/forms/Login.tsx +1 -1
  257. package/src/features/auth/components/forms/Register.tsx +1 -1
  258. package/src/features/auth/components/forms/ResetPassword.tsx +1 -1
  259. package/src/features/company/components/forms/CompanyLicense.tsx +1 -8
  260. package/src/unified/JsonApiRequest.ts +2 -2
  261. package/dist/JsonApiRequest-VARLNKAF.js +0 -23
  262. package/dist/JsonApiRequest-VARLNKAF.js.map +0 -1
  263. package/dist/chunk-5ZEADNNP.js.map +0 -1
  264. package/dist/chunk-74F6BBHH.mjs.map +0 -1
  265. package/dist/chunk-KDFDGXCX.js.map +0 -1
  266. package/dist/chunk-Y4XI3AZR.mjs.map +0 -1
  267. /package/dist/{BlockNoteEditor-DC33K4IF.mjs.map → BlockNoteEditor-V625C23O.mjs.map} +0 -0
  268. /package/dist/{JsonApiRequest-O7BGUMFO.mjs.map → JsonApiRequest-6UR7DIAR.mjs.map} +0 -0
  269. /package/dist/{chunk-NPPQNSXN.mjs.map → chunk-FMBQZAIP.mjs.map} +0 -0
  270. /package/dist/{chunk-MHVXFWZY.mjs.map → chunk-HTLEKZND.mjs.map} +0 -0
  271. /package/dist/{chunk-JLN6UWII.mjs.map → chunk-JGFWIT2E.mjs.map} +0 -0
  272. /package/dist/{chunk-X53MF5ZN.mjs.map → chunk-P2F54I7Q.mjs.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/chunk-WZJDLITG.js","../src/core/factories/RehydrationFactory.ts","../src/core/abstracts/AbstractApiData.ts","../src/core/abstracts/AbstractService.ts","../src/core/registry/ModuleRegistrar.ts","../src/core/registry/ModuleRegistry.ts","../src/core/endpoint/EndpointCreator.ts","../src/core/fields/FieldSelector.ts","../src/core/utils/rehydrate.ts"],"names":["includedData","HttpMethod"],"mappings":"AAAA;AACE;AACF,sDAA4B;AAC5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AA;AACG,MAAA;AACI,MAAA;AACzB,IAAA;AAEM,IAAA;AACT,EAAA;AAEmB,EAAA;AACM,IAAA;AACJ,IAAA;AACO,MAAA;AAC1B,IAAA;AAEuB,IAAA;AACA,IAAA;AACJ,IAAA;AAER,MAAA;AAIX,IAAA;AAC4B,IAAA;AACN,IAAA;AAEf,IAAA;AACT,EAAA;AACF;ANsWiC;AACA;AO9bS;AACjC,EAAA;AACC,IAAA;AACN,IAAA;AACF,EAAA;AACF;AALgB;APsciB;AACA;AQtc/B;AAE0B,EAAA;AAC5B;AALgB;AAYd;AAE0B,EAAA;AAC5B;AALgB;ARuciB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/chunk-WZJDLITG.js","sourcesContent":[null,"import { ApiDataInterface } from \"../interfaces/ApiDataInterface\";\nimport { ApiRequestDataTypeInterface } from \"../interfaces/ApiRequestDataTypeInterface\";\nimport { JsonApiHydratedDataInterface } from \"../interfaces/JsonApiHydratedDataInterface\";\nimport { DataClassRegistry } from \"../registry/DataClassRegistry\";\n\nexport class RehydrationFactory {\n public static rehydrate<T extends ApiDataInterface>(\n classKey: ApiRequestDataTypeInterface,\n data: JsonApiHydratedDataInterface,\n ): T {\n const factoryClass = DataClassRegistry.get(classKey);\n\n const instance = new factoryClass();\n return instance.rehydrate(data) as T;\n }\n\n public static rehydrateList<T extends ApiDataInterface>(\n classKey: ApiRequestDataTypeInterface,\n data: JsonApiHydratedDataInterface[],\n ): T[] {\n const factoryClass = DataClassRegistry.get(classKey);\n\n const response = data.map((item: JsonApiHydratedDataInterface) => {\n const instance = new factoryClass();\n return instance.rehydrate(item) as T;\n });\n\n return response;\n }\n}\n","import { ApiDataInterface } from \"../interfaces/ApiDataInterface\";\nimport { ApiRequestDataTypeInterface } from \"../interfaces/ApiRequestDataTypeInterface\";\nimport { JsonApiHydratedDataInterface } from \"../interfaces/JsonApiHydratedDataInterface\";\nimport { RehydrationFactory } from \"../factories/RehydrationFactory\";\n\nexport abstract class AbstractApiData implements ApiDataInterface {\n protected _jsonApi?: any;\n protected _included?: any[];\n\n protected _id?: string;\n protected _type?: string;\n protected _createdAt?: Date;\n protected _updatedAt?: Date;\n\n protected _self?: string;\n\n get type(): string {\n if (!this._type) throw new Error(\"Type is not set.\");\n return this._type;\n }\n\n get id(): string {\n if (!this._id) throw new Error(\"Id is not set.\");\n return this._id;\n }\n\n get self(): string | undefined {\n return this._self;\n }\n\n get createdAt(): Date {\n return this._createdAt ?? new Date();\n }\n\n get updatedAt(): Date {\n return this._updatedAt ?? new Date();\n }\n\n get included(): any[] {\n return this._included ?? [];\n }\n\n get jsonApi(): any {\n return this._jsonApi;\n }\n\n ingestJsonApi(_data: JsonApiHydratedDataInterface): void {}\n\n generateApiUrl(_params?: any): string {\n throw new Error(\"Method not implemented.\");\n }\n\n createJsonApi(_data?: any): any {\n throw new Error(\"Method not implemented.\");\n }\n\n protected _readIncluded<T extends ApiDataInterface>(\n data: JsonApiHydratedDataInterface,\n type: string,\n dataType: ApiRequestDataTypeInterface,\n ): T | T[] | undefined {\n if (\n data.included === undefined ||\n data.included.length === 0 ||\n data.jsonApi.relationships === undefined ||\n data.jsonApi.relationships[type] === undefined ||\n data.jsonApi.relationships[type].data === undefined\n ) {\n return undefined;\n }\n\n if (Array.isArray(data.jsonApi.relationships[type].data)) {\n const response: T[] = data.jsonApi.relationships[type].data.map((jsonApiData: any) => {\n const includedData = data.included.find(\n (includedData: any) => includedData.id === jsonApiData.id && includedData.type === jsonApiData.type,\n );\n\n if (includedData === undefined) return undefined;\n\n return RehydrationFactory.rehydrate(dataType, {\n jsonApi: includedData,\n included: data.included,\n }) as T;\n });\n\n return response.filter((item: T | undefined) => item !== undefined) as T[];\n }\n\n const includedData = data.included.find(\n (includedData: any) =>\n includedData.id === data.jsonApi.relationships[type].data.id &&\n includedData.type === data.jsonApi.relationships[type].data.type,\n );\n\n if (includedData === undefined && data.allData !== undefined) {\n // Try to find in allData as a fallback\n const fallbackData = data.allData.find(\n (includedData: any) =>\n includedData.id === data.jsonApi.relationships[type].data.id &&\n includedData.type === data.jsonApi.relationships[type].data.type,\n );\n if (fallbackData !== undefined) {\n return RehydrationFactory.rehydrate(dataType, {\n jsonApi: fallbackData,\n included: data.included,\n }) as T;\n }\n }\n\n if (includedData === undefined) return undefined;\n\n return RehydrationFactory.rehydrate(dataType, {\n jsonApi: includedData,\n included: data.included,\n }) as T;\n }\n\n dehydrate(): JsonApiHydratedDataInterface {\n return {\n jsonApi: this._jsonApi,\n included: this._included ?? [],\n };\n }\n\n rehydrate(data: JsonApiHydratedDataInterface): this {\n this._jsonApi = data.jsonApi;\n this._included = data.included;\n\n this._type = this._jsonApi.type;\n this._id = this._jsonApi.id;\n this._createdAt = this._jsonApi.meta?.createdAt !== undefined ? new Date(this._jsonApi.meta.createdAt) : undefined;\n this._updatedAt = this._jsonApi.meta?.updatedAt !== undefined ? new Date(this._jsonApi.meta.updatedAt) : undefined;\n\n this._self = this._jsonApi.links?.self ?? undefined;\n\n return this;\n }\n}\n","import { ApiRequestDataTypeInterface } from \"../interfaces/ApiRequestDataTypeInterface\";\nimport { ApiResponseInterface } from \"../interfaces/ApiResponseInterface\";\n\nexport enum HttpMethod {\n GET = \"GET\",\n POST = \"POST\",\n PUT = \"PUT\",\n PATCH = \"PATCH\",\n DELETE = \"DELETE\",\n}\n\nexport interface NextRef {\n next?: string;\n}\n\nexport interface PreviousRef {\n previous?: string;\n}\n\nexport interface SelfRef {\n self?: string;\n}\n\nlet globalErrorHandler: ((status: number, message: string) => void) | null = null;\n\n/**\n * Set a global error handler for API errors (client-side only).\n * This handler will be called instead of throwing errors.\n */\nexport function setGlobalErrorHandler(handler: (status: number, message: string) => void) {\n globalErrorHandler = handler;\n}\n\n/**\n * Get the current global error handler.\n */\nexport function getGlobalErrorHandler(): ((status: number, message: string) => void) | null {\n return globalErrorHandler;\n}\n\n/**\n * Abstract base class for services that interact with the JSON:API.\n * Extend this class to create feature-specific services.\n */\nexport abstract class AbstractService {\n /**\n * Extract locale from client-side URL pathname\n * URL structure: /{locale}/route-path (e.g., /it/accounts)\n * Fallback chain: URL locale → navigator.language → \"en\"\n */\n private static getClientLocale(): string {\n if (typeof window === \"undefined\") {\n return \"en\"; // Server-side fallback\n }\n\n // Extract locale from URL pathname (first segment after leading slash)\n const pathSegments = window.location.pathname.split(\"/\").filter(Boolean);\n const urlLocale = pathSegments[0];\n\n // Validate against supported locales (currently only \"en\")\n const supportedLocales = [\"en\"];\n if (urlLocale && supportedLocales.includes(urlLocale)) {\n return urlLocale;\n }\n\n // Fallback to navigator language\n const navigatorLocale = navigator.language.split(\"-\")[0];\n if (navigatorLocale && supportedLocales.includes(navigatorLocale)) {\n return navigatorLocale;\n }\n\n // Final fallback\n return \"en\";\n }\n\n static async next<T>(params: {\n type: ApiRequestDataTypeInterface;\n endpoint: string;\n next?: NextRef;\n previous?: PreviousRef;\n self?: SelfRef;\n }): Promise<T> {\n return await this.callApi<T>({\n method: HttpMethod.GET,\n type: params.type,\n endpoint: params.endpoint,\n next: params.next,\n previous: params.previous,\n self: params.self,\n });\n }\n\n /**\n * Fetch the previous page of results.\n */\n static async previous<T>(params: {\n type: ApiRequestDataTypeInterface;\n endpoint: string;\n next?: NextRef;\n previous?: PreviousRef;\n self?: SelfRef;\n }): Promise<T> {\n return await this.callApi<T>({\n method: HttpMethod.GET,\n type: params.type,\n endpoint: params.endpoint,\n next: params.next,\n previous: params.previous,\n self: params.self,\n });\n }\n\n /**\n * Make an API call with automatic environment detection and error handling.\n */\n protected static async callApi<T>(params: {\n type: ApiRequestDataTypeInterface;\n method: HttpMethod;\n endpoint: string;\n companyId?: string;\n input?: any;\n overridesJsonApiCreation?: boolean;\n next?: NextRef;\n previous?: PreviousRef;\n self?: SelfRef;\n responseType?: ApiRequestDataTypeInterface;\n files?: { [key: string]: File | Blob } | File | Blob;\n }): Promise<T> {\n // Dynamic import to avoid bundling issues\n const { JsonApiGet, JsonApiPost, JsonApiPut, JsonApiPatch, JsonApiDelete } =\n await import(\"../../unified/JsonApiRequest\");\n\n let apiResponse: ApiResponseInterface;\n\n // Get language based on environment\n let language = \"en\";\n if (typeof window === \"undefined\") {\n const { getLocale } = await import(\"next-intl/server\");\n language = (await getLocale()) ?? \"en\";\n } else {\n // Client-side: extract locale from URL pathname\n language = this.getClientLocale();\n }\n\n switch (params.method) {\n case HttpMethod.GET:\n apiResponse = await JsonApiGet({\n classKey: params.type,\n endpoint: params.endpoint,\n companyId: params.companyId,\n language: language,\n });\n break;\n case HttpMethod.POST:\n apiResponse = await JsonApiPost({\n classKey: params.type,\n endpoint: params.endpoint,\n companyId: params.companyId,\n body: params.input,\n overridesJsonApiCreation: params.overridesJsonApiCreation,\n language: language,\n responseType: params.responseType,\n files: params.files,\n });\n break;\n case HttpMethod.PUT:\n apiResponse = await JsonApiPut({\n classKey: params.type,\n endpoint: params.endpoint,\n companyId: params.companyId,\n body: params.input,\n language: language,\n responseType: params.responseType,\n files: params.files,\n });\n break;\n case HttpMethod.PATCH:\n apiResponse = await JsonApiPatch({\n classKey: params.type,\n endpoint: params.endpoint,\n companyId: params.companyId,\n body: params.input,\n overridesJsonApiCreation: params.overridesJsonApiCreation,\n language: language,\n responseType: params.responseType,\n files: params.files,\n });\n break;\n case HttpMethod.DELETE:\n apiResponse = await JsonApiDelete({\n classKey: params.type,\n endpoint: params.endpoint,\n companyId: params.companyId,\n language: language,\n responseType: params.responseType,\n });\n break;\n default:\n throw new Error(\"Method not found\");\n }\n\n if (!apiResponse.ok) {\n if (globalErrorHandler && typeof window !== \"undefined\") {\n globalErrorHandler(apiResponse.response, apiResponse.error);\n return undefined as any;\n } else {\n const error = new Error(`${apiResponse.response}:${apiResponse.error}`) as any;\n error.status = apiResponse.response;\n error.digest = `HTTP_${apiResponse.response}`;\n throw error;\n }\n }\n\n if (apiResponse.next && params.next) params.next.next = apiResponse.next;\n if (apiResponse.prev && params.previous) params.previous.previous = apiResponse.prev;\n if (apiResponse.self && params.self) params.self.self = apiResponse.self;\n\n return apiResponse.data as T;\n }\n\n /**\n * Get raw JSON:API response data without deserialization.\n */\n protected static async getRawData(params: {\n type: ApiRequestDataTypeInterface;\n method: HttpMethod;\n endpoint: string;\n companyId?: string;\n }): Promise<any> {\n const { JsonApiGet } = await import(\"../../unified/JsonApiRequest\");\n\n let language = \"en\";\n\n if (typeof window === \"undefined\") {\n const { getLocale } = await import(\"next-intl/server\");\n language = (await getLocale()) ?? \"en\";\n } else {\n // Client-side: extract locale from URL pathname\n language = this.getClientLocale();\n }\n\n const apiResponse: ApiResponseInterface = await JsonApiGet({\n classKey: params.type,\n endpoint: params.endpoint,\n companyId: params.companyId,\n language: language,\n });\n\n if (!apiResponse.ok) {\n if (globalErrorHandler && typeof window !== \"undefined\") {\n globalErrorHandler(apiResponse.response, apiResponse.error);\n return undefined as any;\n } else {\n const error = new Error(`${apiResponse.response}:${apiResponse.error}`) as any;\n error.status = apiResponse.response;\n error.digest = `HTTP_${apiResponse.response}`;\n throw error;\n }\n }\n\n return apiResponse.raw;\n }\n}\n","import { ApiRequestDataTypeInterface } from \"../interfaces/ApiRequestDataTypeInterface\";\nimport { DataClassRegistry } from \"./DataClassRegistry\";\n\n/**\n * Helper class to bootstrap the registry from a Modules-style class.\n * This supports the pattern where modules are defined as static getters.\n */\nexport class ModuleRegistrar {\n private static _isBootstrapped = false;\n\n /**\n * Bootstrap the registry from a Modules class.\n * Automatically detects static getters and registers their models.\n *\n * @param modulesClass - The Modules class with static getters\n */\n static bootstrap<T extends object>(modulesClass: T): void {\n if (this._isBootstrapped) return;\n\n const data = Object.getOwnPropertyNames(modulesClass)\n .filter((key) => {\n const descriptor = Object.getOwnPropertyDescriptor(modulesClass, key);\n return descriptor && typeof descriptor.get === \"function\";\n })\n .map((key) => (modulesClass as any)[key] as ApiRequestDataTypeInterface);\n\n data.forEach((item) => {\n if (item && item.model) {\n DataClassRegistry.registerObjectClass(item, item.model);\n }\n });\n\n this._isBootstrapped = true;\n }\n\n /**\n * Reset the bootstrapped state. Useful for testing.\n */\n static reset(): void {\n this._isBootstrapped = false;\n DataClassRegistry.clear();\n }\n}\n","import { ApiRequestDataTypeInterface } from \"../interfaces/ApiRequestDataTypeInterface\";\nimport { ModuleWithPermissions } from \"../../permissions/types\";\n\n// Foundation module types - defined by LIBRARY\nexport interface FoundationModuleDefinitions {\n S3: ModuleWithPermissions;\n Auth: ModuleWithPermissions;\n User: ModuleWithPermissions;\n Author: ModuleWithPermissions;\n Company: ModuleWithPermissions;\n Role: ModuleWithPermissions;\n Notification: ModuleWithPermissions;\n Push: ModuleWithPermissions;\n Feature: ModuleWithPermissions;\n Module: ModuleWithPermissions;\n Content: ModuleWithPermissions;\n UserTopic: ModuleWithPermissions;\n UserExpertise: ModuleWithPermissions;\n}\n\n// App-specific modules - apps will augment this interface ONLY\n\nexport interface AppModuleDefinitions {}\n\n// Combined type for full autocompletion\nexport type ModuleDefinitions = FoundationModuleDefinitions & AppModuleDefinitions;\n\nclass ModuleRegistryClass {\n private _modules: Map<string, ApiRequestDataTypeInterface> = new Map();\n\n register<K extends string>(name: K, module: ApiRequestDataTypeInterface): void {\n this._modules.set(name, module);\n }\n\n get<K extends keyof ModuleDefinitions>(name: K): ModuleDefinitions[K] {\n const module = this._modules.get(name as string);\n if (!module) {\n throw new Error(`Module \"${String(name)}\" not registered. Call bootstrap() first.`);\n }\n return module as ModuleDefinitions[K];\n }\n\n findByName(moduleName: string): ModuleWithPermissions {\n // Search by module's name property (e.g., \"topics\", \"articles\")\n for (const module of this._modules.values()) {\n if ((module as ModuleWithPermissions).name === moduleName) {\n return module as ModuleWithPermissions;\n }\n }\n throw new Error(`Module not found: ${moduleName}`);\n }\n\n findByModelName(modelName: string): ModuleWithPermissions {\n // Direct lookup by registry key (e.g., \"Article\", \"Document\")\n const module = this._modules.get(modelName);\n if (!module) {\n throw new Error(`Module not found for model: ${modelName}`);\n }\n return module as ModuleWithPermissions;\n }\n}\n\nexport const ModuleRegistry = new ModuleRegistryClass();\n\n// Proxy object for Modules.X syntax with autocompletion\nexport const Modules = new Proxy({} as ModuleDefinitions, {\n get(_, prop: string) {\n if (prop === \"findByName\") {\n return (name: string) => ModuleRegistry.findByName(name);\n }\n if (prop === \"findByModelName\") {\n return (name: string) => ModuleRegistry.findByModelName(name);\n }\n return ModuleRegistry.get(prop as keyof ModuleDefinitions);\n },\n}) as ModuleDefinitions & {\n findByName: (name: string) => ModuleWithPermissions;\n findByModelName: (name: string) => ModuleWithPermissions;\n};\n","import { FieldSelector } from \"../fields/FieldSelector\";\nimport { ApiRequestDataTypeInterface } from \"../interfaces/ApiRequestDataTypeInterface\";\n\nexport type EndpointQuery = {\n endpoint: ApiRequestDataTypeInterface;\n id?: string;\n childEndpoint?: ApiRequestDataTypeInterface | string;\n childId?: string;\n additionalParams?: { key: string; value: string | string[] }[];\n};\n\nexport class EndpointCreator {\n private _endpoint: EndpointQuery;\n\n constructor(params: {\n endpoint: ApiRequestDataTypeInterface;\n id?: string;\n childEndpoint?: ApiRequestDataTypeInterface | string;\n childId?: string;\n additionalParams?: { key: string; value: string }[];\n }) {\n this._endpoint = {\n endpoint: params.endpoint,\n id: params.id,\n childEndpoint: params.childEndpoint,\n childId: params.childId,\n additionalParams: params.additionalParams ?? [],\n };\n }\n\n endpoint(value: ApiRequestDataTypeInterface): EndpointCreator {\n this._endpoint.endpoint = value;\n return this;\n }\n\n id(value: string): EndpointCreator {\n this._endpoint.id = value;\n return this;\n }\n\n childEndpoint(value: ApiRequestDataTypeInterface | string): EndpointCreator {\n this._endpoint.childEndpoint = value;\n return this;\n }\n\n childId(value: string): EndpointCreator {\n this._endpoint.childId = value;\n return this;\n }\n\n set additionalParams(value: { key: string; value: string }[]) {\n this._endpoint.additionalParams = value;\n }\n\n addAdditionalParam(key: string, value: string | string[]): EndpointCreator {\n if (!this._endpoint.additionalParams) this._endpoint.additionalParams = [];\n this._endpoint.additionalParams.push({ key, value });\n return this;\n }\n\n limitToType(selectors: string[]): this {\n this.addAdditionalParam(`include`, selectors.join(\",\"));\n return this;\n }\n\n limitToFields(selectors: FieldSelector<any>[]): this {\n if (selectors.length === 0) return this;\n\n selectors.forEach((selector) => {\n const fieldString = selector.fields.join(\",\");\n this.addAdditionalParam(`fields[${selector.type}]`, fieldString);\n });\n\n return this;\n }\n\n generate(): string {\n let additionalParams = \"\";\n if (this._endpoint.additionalParams) {\n additionalParams = this._endpoint.additionalParams.map((param) => `${param.key}=${param.value}`).join(\"&\");\n }\n\n let response = `${this._endpoint.endpoint.name}`;\n if (this._endpoint.id) response += `/${this._endpoint.id}`;\n if (this._endpoint.childEndpoint) {\n response += `/${\n typeof this._endpoint.childEndpoint === \"string\"\n ? this._endpoint.childEndpoint\n : this._endpoint.childEndpoint.name\n }`;\n }\n if (this._endpoint.childId) response += `/${this._endpoint.childId}`;\n if (additionalParams) response += `?${additionalParams}`;\n\n return response;\n }\n}\n","export type GetterKeys<T> = {\n [K in keyof T]: T[K] extends () => any ? never : K;\n}[keyof T];\n\nexport type FieldSelector<T> = {\n type: string;\n fields: ReadonlyArray<GetterKeys<T>>;\n};\n\nexport function createJsonApiInclusion<T>(dataType: string, fields: ReadonlyArray<GetterKeys<T>>): FieldSelector<T> {\n return {\n type: dataType,\n fields,\n };\n}\n","import { ApiDataInterface } from \"../interfaces/ApiDataInterface\";\nimport { ApiRequestDataTypeInterface } from \"../interfaces/ApiRequestDataTypeInterface\";\nimport { JsonApiHydratedDataInterface } from \"../interfaces/JsonApiHydratedDataInterface\";\nimport { RehydrationFactory } from \"../factories/RehydrationFactory\";\n\n/**\n * Rehydrate a single dehydrated object back into its typed class instance.\n */\nexport function rehydrate<T extends ApiDataInterface>(\n classKey: ApiRequestDataTypeInterface,\n data: JsonApiHydratedDataInterface,\n): T {\n return RehydrationFactory.rehydrate(classKey, data) as T;\n}\n\n/**\n * Rehydrate a list of dehydrated objects back into typed class instances.\n */\nexport function rehydrateList<T extends ApiDataInterface>(\n classKey: ApiRequestDataTypeInterface,\n data: JsonApiHydratedDataInterface[],\n): T[] {\n return RehydrationFactory.rehydrateList(classKey, data) as T[];\n}\n"]}
1
+ {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/chunk-Q4FXESVT.js","../src/core/factories/RehydrationFactory.ts","../src/core/abstracts/AbstractApiData.ts","../src/core/abstracts/AbstractService.ts","../src/core/registry/ModuleRegistrar.ts","../src/core/registry/ModuleRegistry.ts","../src/core/endpoint/EndpointCreator.ts","../src/core/fields/FieldSelector.ts","../src/core/utils/rehydrate.ts"],"names":["includedData","HttpMethod"],"mappings":"AAAA;AACE;AACF,sDAA4B;AAC5B;AACE;AACF,sDAA4B;AAC5B;AACA;ACFO,IAAM,mBAAA,EAAN,MAAyB;AAAA,EALhC,OAKgC;AAAA,IAAA,qCAAA,IAAA,EAAA,oBAAA,CAAA;AAAA,EAAA;AAAA,EAC9B,OAAc,SAAA,CACZ,QAAA,EACA,IAAA,EACG;AACH,IAAA,MAAM,aAAA,EAAe,kCAAA,CAAkB,GAAA,CAAI,QAAQ,CAAA;AAEnD,IAAA,MAAM,SAAA,EAAW,IAAI,YAAA,CAAa,CAAA;AAClC,IAAA,OAAO,QAAA,CAAS,SAAA,CAAU,IAAI,CAAA;AAAA,EAChC;AAAA,EAEA,OAAc,aAAA,CACZ,QAAA,EACA,IAAA,EACK;AACL,IAAA,MAAM,aAAA,EAAe,kCAAA,CAAkB,GAAA,CAAI,QAAQ,CAAA;AAEnD,IAAA,MAAM,SAAA,EAAW,IAAA,CAAK,GAAA,CAAI,CAAC,IAAA,EAAA,GAAuC;AAChE,MAAA,MAAM,SAAA,EAAW,IAAI,YAAA,CAAa,CAAA;AAClC,MAAA,OAAO,QAAA,CAAS,SAAA,CAAU,IAAI,CAAA;AAAA,IAChC,CAAC,CAAA;AAED,IAAA,OAAO,QAAA;AAAA,EACT;AACF,CAAA;ADHA;AACA;AEtBO,IAAe,gBAAA,EAAf,M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AACN,MAAA;AACW,MAAA;AACN,MAAA;AACS,MAAA;AAC3B,IAAA;AACF,EAAA;AAE8D,EAAA;AAClC,IAAA;AACnB,IAAA;AACT,EAAA;AAEmC,EAAA;AACb,IAAA;AACb,IAAA;AACT,EAAA;AAE4E,EAAA;AAC3D,IAAA;AACR,IAAA;AACT,EAAA;AAEwC,EAAA;AACb,IAAA;AAClB,IAAA;AACT,EAAA;AAE8D,EAAA;AAC7C,IAAA;AACjB,EAAA;AAE2E,EAAA;AACrD,IAAA;AACL,IAAA;AACR,IAAA;AACT,EAAA;AAEuC,EAAA;AACb,IAAA;AACjB,IAAA;AACT,EAAA;AAEqD,EAAA;AACvB,IAAA;AAET,IAAA;AACG,MAAA;AACI,MAAA;AACzB,IAAA;AAEM,IAAA;AACT,EAAA;AAEmB,EAAA;AACM,IAAA;AACJ,IAAA;AACO,MAAA;AAC1B,IAAA;AAEuB,IAAA;AACA,IAAA;AACJ,IAAA;AAER,MAAA;AAIX,IAAA;AAC4B,IAAA;AACN,IAAA;AAEf,IAAA;AACT,EAAA;AACF;ANsWiC;AACA;AO9bS;AACjC,EAAA;AACC,IAAA;AACN,IAAA;AACF,EAAA;AACF;AALgB;APsciB;AACA;AQtc/B;AAE0B,EAAA;AAC5B;AALgB;AAYd;AAE0B,EAAA;AAC5B;AALgB;ARuciB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/chunk-Q4FXESVT.js","sourcesContent":[null,"import { ApiDataInterface } from \"../interfaces/ApiDataInterface\";\nimport { ApiRequestDataTypeInterface } from \"../interfaces/ApiRequestDataTypeInterface\";\nimport { JsonApiHydratedDataInterface } from \"../interfaces/JsonApiHydratedDataInterface\";\nimport { DataClassRegistry } from \"../registry/DataClassRegistry\";\n\nexport class RehydrationFactory {\n public static rehydrate<T extends ApiDataInterface>(\n classKey: ApiRequestDataTypeInterface,\n data: JsonApiHydratedDataInterface,\n ): T {\n const factoryClass = DataClassRegistry.get(classKey);\n\n const instance = new factoryClass();\n return instance.rehydrate(data) as T;\n }\n\n public static rehydrateList<T extends ApiDataInterface>(\n classKey: ApiRequestDataTypeInterface,\n data: JsonApiHydratedDataInterface[],\n ): T[] {\n const factoryClass = DataClassRegistry.get(classKey);\n\n const response = data.map((item: JsonApiHydratedDataInterface) => {\n const instance = new factoryClass();\n return instance.rehydrate(item) as T;\n });\n\n return response;\n }\n}\n","import { ApiDataInterface } from \"../interfaces/ApiDataInterface\";\nimport { ApiRequestDataTypeInterface } from \"../interfaces/ApiRequestDataTypeInterface\";\nimport { JsonApiHydratedDataInterface } from \"../interfaces/JsonApiHydratedDataInterface\";\nimport { RehydrationFactory } from \"../factories/RehydrationFactory\";\n\nexport abstract class AbstractApiData implements ApiDataInterface {\n protected _jsonApi?: any;\n protected _included?: any[];\n\n protected _id?: string;\n protected _type?: string;\n protected _createdAt?: Date;\n protected _updatedAt?: Date;\n\n protected _self?: string;\n\n get type(): string {\n if (!this._type) throw new Error(\"Type is not set.\");\n return this._type;\n }\n\n get id(): string {\n if (!this._id) throw new Error(\"Id is not set.\");\n return this._id;\n }\n\n get self(): string | undefined {\n return this._self;\n }\n\n get createdAt(): Date {\n return this._createdAt ?? new Date();\n }\n\n get updatedAt(): Date {\n return this._updatedAt ?? new Date();\n }\n\n get included(): any[] {\n return this._included ?? [];\n }\n\n get jsonApi(): any {\n return this._jsonApi;\n }\n\n ingestJsonApi(_data: JsonApiHydratedDataInterface): void {}\n\n generateApiUrl(_params?: any): string {\n throw new Error(\"Method not implemented.\");\n }\n\n createJsonApi(_data?: any): any {\n throw new Error(\"Method not implemented.\");\n }\n\n protected _readIncluded<T extends ApiDataInterface>(\n data: JsonApiHydratedDataInterface,\n type: string,\n dataType: ApiRequestDataTypeInterface,\n ): T | T[] | undefined {\n if (\n data.included === undefined ||\n data.included.length === 0 ||\n data.jsonApi.relationships === undefined ||\n data.jsonApi.relationships[type] === undefined ||\n data.jsonApi.relationships[type].data === undefined\n ) {\n return undefined;\n }\n\n if (Array.isArray(data.jsonApi.relationships[type].data)) {\n const response: T[] = data.jsonApi.relationships[type].data.map((jsonApiData: any) => {\n const includedData = data.included.find(\n (includedData: any) => includedData.id === jsonApiData.id && includedData.type === jsonApiData.type,\n );\n\n if (includedData === undefined) return undefined;\n\n return RehydrationFactory.rehydrate(dataType, {\n jsonApi: includedData,\n included: data.included,\n }) as T;\n });\n\n return response.filter((item: T | undefined) => item !== undefined) as T[];\n }\n\n const includedData = data.included.find(\n (includedData: any) =>\n includedData.id === data.jsonApi.relationships[type].data.id &&\n includedData.type === data.jsonApi.relationships[type].data.type,\n );\n\n if (includedData === undefined && data.allData !== undefined) {\n // Try to find in allData as a fallback\n const fallbackData = data.allData.find(\n (includedData: any) =>\n includedData.id === data.jsonApi.relationships[type].data.id &&\n includedData.type === data.jsonApi.relationships[type].data.type,\n );\n if (fallbackData !== undefined) {\n return RehydrationFactory.rehydrate(dataType, {\n jsonApi: fallbackData,\n included: data.included,\n }) as T;\n }\n }\n\n if (includedData === undefined) return undefined;\n\n return RehydrationFactory.rehydrate(dataType, {\n jsonApi: includedData,\n included: data.included,\n }) as T;\n }\n\n dehydrate(): JsonApiHydratedDataInterface {\n return {\n jsonApi: this._jsonApi,\n included: this._included ?? [],\n };\n }\n\n rehydrate(data: JsonApiHydratedDataInterface): this {\n this._jsonApi = data.jsonApi;\n this._included = data.included;\n\n this._type = this._jsonApi.type;\n this._id = this._jsonApi.id;\n this._createdAt = this._jsonApi.meta?.createdAt !== undefined ? new Date(this._jsonApi.meta.createdAt) : undefined;\n this._updatedAt = this._jsonApi.meta?.updatedAt !== undefined ? new Date(this._jsonApi.meta.updatedAt) : undefined;\n\n this._self = this._jsonApi.links?.self ?? undefined;\n\n return this;\n }\n}\n","import { ApiRequestDataTypeInterface } from \"../interfaces/ApiRequestDataTypeInterface\";\nimport { ApiResponseInterface } from \"../interfaces/ApiResponseInterface\";\n\nexport enum HttpMethod {\n GET = \"GET\",\n POST = \"POST\",\n PUT = \"PUT\",\n PATCH = \"PATCH\",\n DELETE = \"DELETE\",\n}\n\nexport interface NextRef {\n next?: string;\n}\n\nexport interface PreviousRef {\n previous?: string;\n}\n\nexport interface SelfRef {\n self?: string;\n}\n\nlet globalErrorHandler: ((status: number, message: string) => void) | null = null;\n\n/**\n * Set a global error handler for API errors (client-side only).\n * This handler will be called instead of throwing errors.\n */\nexport function setGlobalErrorHandler(handler: (status: number, message: string) => void) {\n globalErrorHandler = handler;\n}\n\n/**\n * Get the current global error handler.\n */\nexport function getGlobalErrorHandler(): ((status: number, message: string) => void) | null {\n return globalErrorHandler;\n}\n\n/**\n * Abstract base class for services that interact with the JSON:API.\n * Extend this class to create feature-specific services.\n */\nexport abstract class AbstractService {\n /**\n * Extract locale from client-side URL pathname\n * URL structure: /{locale}/route-path (e.g., /it/accounts)\n * Fallback chain: URL locale → navigator.language → \"en\"\n */\n private static getClientLocale(): string {\n if (typeof window === \"undefined\") {\n return \"en\"; // Server-side fallback\n }\n\n // Extract locale from URL pathname (first segment after leading slash)\n const pathSegments = window.location.pathname.split(\"/\").filter(Boolean);\n const urlLocale = pathSegments[0];\n\n // Validate against supported locales (currently only \"en\")\n const supportedLocales = [\"en\"];\n if (urlLocale && supportedLocales.includes(urlLocale)) {\n return urlLocale;\n }\n\n // Fallback to navigator language\n const navigatorLocale = navigator.language.split(\"-\")[0];\n if (navigatorLocale && supportedLocales.includes(navigatorLocale)) {\n return navigatorLocale;\n }\n\n // Final fallback\n return \"en\";\n }\n\n static async next<T>(params: {\n type: ApiRequestDataTypeInterface;\n endpoint: string;\n next?: NextRef;\n previous?: PreviousRef;\n self?: SelfRef;\n }): Promise<T> {\n return await this.callApi<T>({\n method: HttpMethod.GET,\n type: params.type,\n endpoint: params.endpoint,\n next: params.next,\n previous: params.previous,\n self: params.self,\n });\n }\n\n /**\n * Fetch the previous page of results.\n */\n static async previous<T>(params: {\n type: ApiRequestDataTypeInterface;\n endpoint: string;\n next?: NextRef;\n previous?: PreviousRef;\n self?: SelfRef;\n }): Promise<T> {\n return await this.callApi<T>({\n method: HttpMethod.GET,\n type: params.type,\n endpoint: params.endpoint,\n next: params.next,\n previous: params.previous,\n self: params.self,\n });\n }\n\n /**\n * Make an API call with automatic environment detection and error handling.\n */\n protected static async callApi<T>(params: {\n type: ApiRequestDataTypeInterface;\n method: HttpMethod;\n endpoint: string;\n companyId?: string;\n input?: any;\n overridesJsonApiCreation?: boolean;\n next?: NextRef;\n previous?: PreviousRef;\n self?: SelfRef;\n responseType?: ApiRequestDataTypeInterface;\n files?: { [key: string]: File | Blob } | File | Blob;\n }): Promise<T> {\n // Dynamic import to avoid bundling issues\n const { JsonApiGet, JsonApiPost, JsonApiPut, JsonApiPatch, JsonApiDelete } =\n await import(\"../../unified/JsonApiRequest\");\n\n let apiResponse: ApiResponseInterface;\n\n // Get language based on environment\n let language = \"en\";\n if (typeof window === \"undefined\") {\n const { getLocale } = await import(\"next-intl/server\");\n language = (await getLocale()) ?? \"en\";\n } else {\n // Client-side: extract locale from URL pathname\n language = this.getClientLocale();\n }\n\n switch (params.method) {\n case HttpMethod.GET:\n apiResponse = await JsonApiGet({\n classKey: params.type,\n endpoint: params.endpoint,\n companyId: params.companyId,\n language: language,\n });\n break;\n case HttpMethod.POST:\n apiResponse = await JsonApiPost({\n classKey: params.type,\n endpoint: params.endpoint,\n companyId: params.companyId,\n body: params.input,\n overridesJsonApiCreation: params.overridesJsonApiCreation,\n language: language,\n responseType: params.responseType,\n files: params.files,\n });\n break;\n case HttpMethod.PUT:\n apiResponse = await JsonApiPut({\n classKey: params.type,\n endpoint: params.endpoint,\n companyId: params.companyId,\n body: params.input,\n language: language,\n responseType: params.responseType,\n files: params.files,\n });\n break;\n case HttpMethod.PATCH:\n apiResponse = await JsonApiPatch({\n classKey: params.type,\n endpoint: params.endpoint,\n companyId: params.companyId,\n body: params.input,\n overridesJsonApiCreation: params.overridesJsonApiCreation,\n language: language,\n responseType: params.responseType,\n files: params.files,\n });\n break;\n case HttpMethod.DELETE:\n apiResponse = await JsonApiDelete({\n classKey: params.type,\n endpoint: params.endpoint,\n companyId: params.companyId,\n language: language,\n responseType: params.responseType,\n });\n break;\n default:\n throw new Error(\"Method not found\");\n }\n\n if (!apiResponse.ok) {\n if (globalErrorHandler && typeof window !== \"undefined\") {\n globalErrorHandler(apiResponse.response, apiResponse.error);\n return undefined as any;\n } else {\n const error = new Error(`${apiResponse.response}:${apiResponse.error}`) as any;\n error.status = apiResponse.response;\n error.digest = `HTTP_${apiResponse.response}`;\n throw error;\n }\n }\n\n if (apiResponse.next && params.next) params.next.next = apiResponse.next;\n if (apiResponse.prev && params.previous) params.previous.previous = apiResponse.prev;\n if (apiResponse.self && params.self) params.self.self = apiResponse.self;\n\n return apiResponse.data as T;\n }\n\n /**\n * Get raw JSON:API response data without deserialization.\n */\n protected static async getRawData(params: {\n type: ApiRequestDataTypeInterface;\n method: HttpMethod;\n endpoint: string;\n companyId?: string;\n }): Promise<any> {\n const { JsonApiGet } = await import(\"../../unified/JsonApiRequest\");\n\n let language = \"en\";\n\n if (typeof window === \"undefined\") {\n const { getLocale } = await import(\"next-intl/server\");\n language = (await getLocale()) ?? \"en\";\n } else {\n // Client-side: extract locale from URL pathname\n language = this.getClientLocale();\n }\n\n const apiResponse: ApiResponseInterface = await JsonApiGet({\n classKey: params.type,\n endpoint: params.endpoint,\n companyId: params.companyId,\n language: language,\n });\n\n if (!apiResponse.ok) {\n if (globalErrorHandler && typeof window !== \"undefined\") {\n globalErrorHandler(apiResponse.response, apiResponse.error);\n return undefined as any;\n } else {\n const error = new Error(`${apiResponse.response}:${apiResponse.error}`) as any;\n error.status = apiResponse.response;\n error.digest = `HTTP_${apiResponse.response}`;\n throw error;\n }\n }\n\n return apiResponse.raw;\n }\n}\n","import { ApiRequestDataTypeInterface } from \"../interfaces/ApiRequestDataTypeInterface\";\nimport { DataClassRegistry } from \"./DataClassRegistry\";\n\n/**\n * Helper class to bootstrap the registry from a Modules-style class.\n * This supports the pattern where modules are defined as static getters.\n */\nexport class ModuleRegistrar {\n private static _isBootstrapped = false;\n\n /**\n * Bootstrap the registry from a Modules class.\n * Automatically detects static getters and registers their models.\n *\n * @param modulesClass - The Modules class with static getters\n */\n static bootstrap<T extends object>(modulesClass: T): void {\n if (this._isBootstrapped) return;\n\n const data = Object.getOwnPropertyNames(modulesClass)\n .filter((key) => {\n const descriptor = Object.getOwnPropertyDescriptor(modulesClass, key);\n return descriptor && typeof descriptor.get === \"function\";\n })\n .map((key) => (modulesClass as any)[key] as ApiRequestDataTypeInterface);\n\n data.forEach((item) => {\n if (item && item.model) {\n DataClassRegistry.registerObjectClass(item, item.model);\n }\n });\n\n this._isBootstrapped = true;\n }\n\n /**\n * Reset the bootstrapped state. Useful for testing.\n */\n static reset(): void {\n this._isBootstrapped = false;\n DataClassRegistry.clear();\n }\n}\n","import { ApiRequestDataTypeInterface } from \"../interfaces/ApiRequestDataTypeInterface\";\nimport { ModuleWithPermissions } from \"../../permissions/types\";\n\n// Foundation module types - defined by LIBRARY\nexport interface FoundationModuleDefinitions {\n S3: ModuleWithPermissions;\n Auth: ModuleWithPermissions;\n User: ModuleWithPermissions;\n Author: ModuleWithPermissions;\n Company: ModuleWithPermissions;\n Role: ModuleWithPermissions;\n Notification: ModuleWithPermissions;\n Push: ModuleWithPermissions;\n Feature: ModuleWithPermissions;\n Module: ModuleWithPermissions;\n Content: ModuleWithPermissions;\n UserTopic: ModuleWithPermissions;\n UserExpertise: ModuleWithPermissions;\n}\n\n// App-specific modules - apps will augment this interface ONLY\n\nexport interface AppModuleDefinitions {}\n\n// Combined type for full autocompletion\nexport type ModuleDefinitions = FoundationModuleDefinitions & AppModuleDefinitions;\n\nclass ModuleRegistryClass {\n private _modules: Map<string, ApiRequestDataTypeInterface> = new Map();\n\n register<K extends string>(name: K, module: ApiRequestDataTypeInterface): void {\n this._modules.set(name, module);\n }\n\n get<K extends keyof ModuleDefinitions>(name: K): ModuleDefinitions[K] {\n const module = this._modules.get(name as string);\n if (!module) {\n throw new Error(`Module \"${String(name)}\" not registered. Call bootstrap() first.`);\n }\n return module as ModuleDefinitions[K];\n }\n\n findByName(moduleName: string): ModuleWithPermissions {\n // Search by module's name property (e.g., \"topics\", \"articles\")\n for (const module of this._modules.values()) {\n if ((module as ModuleWithPermissions).name === moduleName) {\n return module as ModuleWithPermissions;\n }\n }\n throw new Error(`Module not found: ${moduleName}`);\n }\n\n findByModelName(modelName: string): ModuleWithPermissions {\n // Direct lookup by registry key (e.g., \"Article\", \"Document\")\n const module = this._modules.get(modelName);\n if (!module) {\n throw new Error(`Module not found for model: ${modelName}`);\n }\n return module as ModuleWithPermissions;\n }\n}\n\nexport const ModuleRegistry = new ModuleRegistryClass();\n\n// Proxy object for Modules.X syntax with autocompletion\nexport const Modules = new Proxy({} as ModuleDefinitions, {\n get(_, prop: string) {\n if (prop === \"findByName\") {\n return (name: string) => ModuleRegistry.findByName(name);\n }\n if (prop === \"findByModelName\") {\n return (name: string) => ModuleRegistry.findByModelName(name);\n }\n return ModuleRegistry.get(prop as keyof ModuleDefinitions);\n },\n}) as ModuleDefinitions & {\n findByName: (name: string) => ModuleWithPermissions;\n findByModelName: (name: string) => ModuleWithPermissions;\n};\n","import { FieldSelector } from \"../fields/FieldSelector\";\nimport { ApiRequestDataTypeInterface } from \"../interfaces/ApiRequestDataTypeInterface\";\n\nexport type EndpointQuery = {\n endpoint: ApiRequestDataTypeInterface;\n id?: string;\n childEndpoint?: ApiRequestDataTypeInterface | string;\n childId?: string;\n additionalParams?: { key: string; value: string | string[] }[];\n};\n\nexport class EndpointCreator {\n private _endpoint: EndpointQuery;\n\n constructor(params: {\n endpoint: ApiRequestDataTypeInterface;\n id?: string;\n childEndpoint?: ApiRequestDataTypeInterface | string;\n childId?: string;\n additionalParams?: { key: string; value: string }[];\n }) {\n this._endpoint = {\n endpoint: params.endpoint,\n id: params.id,\n childEndpoint: params.childEndpoint,\n childId: params.childId,\n additionalParams: params.additionalParams ?? [],\n };\n }\n\n endpoint(value: ApiRequestDataTypeInterface): EndpointCreator {\n this._endpoint.endpoint = value;\n return this;\n }\n\n id(value: string): EndpointCreator {\n this._endpoint.id = value;\n return this;\n }\n\n childEndpoint(value: ApiRequestDataTypeInterface | string): EndpointCreator {\n this._endpoint.childEndpoint = value;\n return this;\n }\n\n childId(value: string): EndpointCreator {\n this._endpoint.childId = value;\n return this;\n }\n\n set additionalParams(value: { key: string; value: string }[]) {\n this._endpoint.additionalParams = value;\n }\n\n addAdditionalParam(key: string, value: string | string[]): EndpointCreator {\n if (!this._endpoint.additionalParams) this._endpoint.additionalParams = [];\n this._endpoint.additionalParams.push({ key, value });\n return this;\n }\n\n limitToType(selectors: string[]): this {\n this.addAdditionalParam(`include`, selectors.join(\",\"));\n return this;\n }\n\n limitToFields(selectors: FieldSelector<any>[]): this {\n if (selectors.length === 0) return this;\n\n selectors.forEach((selector) => {\n const fieldString = selector.fields.join(\",\");\n this.addAdditionalParam(`fields[${selector.type}]`, fieldString);\n });\n\n return this;\n }\n\n generate(): string {\n let additionalParams = \"\";\n if (this._endpoint.additionalParams) {\n additionalParams = this._endpoint.additionalParams.map((param) => `${param.key}=${param.value}`).join(\"&\");\n }\n\n let response = `${this._endpoint.endpoint.name}`;\n if (this._endpoint.id) response += `/${this._endpoint.id}`;\n if (this._endpoint.childEndpoint) {\n response += `/${\n typeof this._endpoint.childEndpoint === \"string\"\n ? this._endpoint.childEndpoint\n : this._endpoint.childEndpoint.name\n }`;\n }\n if (this._endpoint.childId) response += `/${this._endpoint.childId}`;\n if (additionalParams) response += `?${additionalParams}`;\n\n return response;\n }\n}\n","export type GetterKeys<T> = {\n [K in keyof T]: T[K] extends () => any ? never : K;\n}[keyof T];\n\nexport type FieldSelector<T> = {\n type: string;\n fields: ReadonlyArray<GetterKeys<T>>;\n};\n\nexport function createJsonApiInclusion<T>(dataType: string, fields: ReadonlyArray<GetterKeys<T>>): FieldSelector<T> {\n return {\n type: dataType,\n fields,\n };\n}\n","import { ApiDataInterface } from \"../interfaces/ApiDataInterface\";\nimport { ApiRequestDataTypeInterface } from \"../interfaces/ApiRequestDataTypeInterface\";\nimport { JsonApiHydratedDataInterface } from \"../interfaces/JsonApiHydratedDataInterface\";\nimport { RehydrationFactory } from \"../factories/RehydrationFactory\";\n\n/**\n * Rehydrate a single dehydrated object back into its typed class instance.\n */\nexport function rehydrate<T extends ApiDataInterface>(\n classKey: ApiRequestDataTypeInterface,\n data: JsonApiHydratedDataInterface,\n): T {\n return RehydrationFactory.rehydrate(classKey, data) as T;\n}\n\n/**\n * Rehydrate a list of dehydrated objects back into typed class instances.\n */\nexport function rehydrateList<T extends ApiDataInterface>(\n classKey: ApiRequestDataTypeInterface,\n data: JsonApiHydratedDataInterface[],\n): T[] {\n return RehydrationFactory.rehydrateList(classKey, data) as T[];\n}\n"]}
@@ -13,21 +13,21 @@
13
13
 
14
14
 
15
15
 
16
- var _chunkKDFDGXCXjs = require('../chunk-KDFDGXCX.js');
16
+ var _chunkK2ANOT66js = require('../chunk-K2ANOT66.js');
17
17
 
18
18
 
19
19
  var _chunkIBS6NI7Djs = require('../chunk-IBS6NI7D.js');
20
- require('../chunk-EZK3H6EJ.js');
21
- require('../chunk-LJRD4SRV.js');
22
- require('../chunk-L6LH7WA4.js');
20
+ require('../chunk-5IET37O4.js');
21
+ require('../chunk-DEYKTLA3.js');
22
+ require('../chunk-PO5Q3H5I.js');
23
23
 
24
24
 
25
25
  var _chunkLXKSUWAVjs = require('../chunk-LXKSUWAV.js');
26
26
  require('../chunk-AYHKQWHH.js');
27
- require('../chunk-5ZEADNNP.js');
27
+ require('../chunk-PMXG5WBC.js');
28
28
  require('../chunk-4HCRAOS5.js');
29
29
  require('../chunk-3FBCC4G3.js');
30
- require('../chunk-WZJDLITG.js');
30
+ require('../chunk-Q4FXESVT.js');
31
31
  require('../chunk-AGAJMJ4T.js');
32
32
  require('../chunk-32HM6MDD.js');
33
33
  require('../chunk-7QVYU63E.js');
@@ -46,5 +46,5 @@ require('../chunk-7QVYU63E.js');
46
46
 
47
47
 
48
48
 
49
- exports.JsonApiContext = _chunkKDFDGXCXjs.JsonApiContext; exports.JsonApiProvider = _chunkKDFDGXCXjs.JsonApiProvider; exports.directFetch = _chunkIBS6NI7Djs.directFetch; exports.getClientToken = _chunkLXKSUWAVjs.getClientToken; exports.useContentTableStructure = _chunkKDFDGXCXjs.useContentTableStructure; exports.useJsonApiConfig = _chunkKDFDGXCXjs.useJsonApiConfig; exports.useJsonApiConfigOptional = _chunkKDFDGXCXjs.useJsonApiConfigOptional; exports.useJsonApiGet = _chunkKDFDGXCXjs.useJsonApiGet; exports.useJsonApiMutation = _chunkKDFDGXCXjs.useJsonApiMutation; exports.useRehydration = _chunkKDFDGXCXjs.useRehydration; exports.useRehydrationList = _chunkKDFDGXCXjs.useRehydrationList; exports.useRoleTableStructure = _chunkKDFDGXCXjs.useRoleTableStructure; exports.useUserSearch = _chunkKDFDGXCXjs.useUserSearch; exports.useUserTableStructure = _chunkKDFDGXCXjs.useUserTableStructure;
49
+ exports.JsonApiContext = _chunkK2ANOT66js.JsonApiContext; exports.JsonApiProvider = _chunkK2ANOT66js.JsonApiProvider; exports.directFetch = _chunkIBS6NI7Djs.directFetch; exports.getClientToken = _chunkLXKSUWAVjs.getClientToken; exports.useContentTableStructure = _chunkK2ANOT66js.useContentTableStructure; exports.useJsonApiConfig = _chunkK2ANOT66js.useJsonApiConfig; exports.useJsonApiConfigOptional = _chunkK2ANOT66js.useJsonApiConfigOptional; exports.useJsonApiGet = _chunkK2ANOT66js.useJsonApiGet; exports.useJsonApiMutation = _chunkK2ANOT66js.useJsonApiMutation; exports.useRehydration = _chunkK2ANOT66js.useRehydration; exports.useRehydrationList = _chunkK2ANOT66js.useRehydrationList; exports.useRoleTableStructure = _chunkK2ANOT66js.useRoleTableStructure; exports.useUserSearch = _chunkK2ANOT66js.useUserSearch; exports.useUserTableStructure = _chunkK2ANOT66js.useUserTableStructure;
50
50
  //# sourceMappingURL=index.js.map
@@ -12,21 +12,21 @@ import {
12
12
  useRoleTableStructure,
13
13
  useUserSearch,
14
14
  useUserTableStructure
15
- } from "../chunk-Y4XI3AZR.mjs";
15
+ } from "../chunk-5QC7A6BL.mjs";
16
16
  import {
17
17
  directFetch
18
18
  } from "../chunk-C7C7VY4F.mjs";
19
- import "../chunk-X53MF5ZN.mjs";
20
- import "../chunk-JLN6UWII.mjs";
21
- import "../chunk-MHVXFWZY.mjs";
19
+ import "../chunk-P2F54I7Q.mjs";
20
+ import "../chunk-JGFWIT2E.mjs";
21
+ import "../chunk-HTLEKZND.mjs";
22
22
  import {
23
23
  getClientToken
24
24
  } from "../chunk-AUXK7QSA.mjs";
25
25
  import "../chunk-SM63SZCP.mjs";
26
- import "../chunk-74F6BBHH.mjs";
26
+ import "../chunk-IKBA4AHN.mjs";
27
27
  import "../chunk-BLWVZK6J.mjs";
28
28
  import "../chunk-Q2N6SQYW.mjs";
29
- import "../chunk-NPPQNSXN.mjs";
29
+ import "../chunk-FMBQZAIP.mjs";
30
30
  import "../chunk-RBIVEH2K.mjs";
31
31
  import "../chunk-HAG77QBV.mjs";
32
32
  import "../chunk-PAWJFY3S.mjs";
@@ -108,17 +108,17 @@
108
108
 
109
109
 
110
110
 
111
- var _chunkKDFDGXCXjs = require('../chunk-KDFDGXCX.js');
111
+ var _chunkK2ANOT66js = require('../chunk-K2ANOT66.js');
112
112
  require('../chunk-IBS6NI7D.js');
113
- require('../chunk-EZK3H6EJ.js');
114
- require('../chunk-LJRD4SRV.js');
115
- require('../chunk-L6LH7WA4.js');
113
+ require('../chunk-5IET37O4.js');
114
+ require('../chunk-DEYKTLA3.js');
115
+ require('../chunk-PO5Q3H5I.js');
116
116
  require('../chunk-LXKSUWAV.js');
117
117
  require('../chunk-AYHKQWHH.js');
118
- require('../chunk-5ZEADNNP.js');
118
+ require('../chunk-PMXG5WBC.js');
119
119
  require('../chunk-4HCRAOS5.js');
120
120
  require('../chunk-3FBCC4G3.js');
121
- require('../chunk-WZJDLITG.js');
121
+ require('../chunk-Q4FXESVT.js');
122
122
  require('../chunk-AGAJMJ4T.js');
123
123
  require('../chunk-32HM6MDD.js');
124
124
  require('../chunk-7QVYU63E.js');
@@ -231,5 +231,5 @@ require('../chunk-7QVYU63E.js');
231
231
 
232
232
 
233
233
 
234
- exports.AcceptInvitation = _chunkKDFDGXCXjs.AcceptInvitation; exports.ActivateAccount = _chunkKDFDGXCXjs.ActivateAccount; exports.AddUserToRole = _chunkKDFDGXCXjs.AddUserToRole; exports.AdminCompanyContainer = _chunkKDFDGXCXjs.AdminCompanyContainer; exports.AdminUsersList = _chunkKDFDGXCXjs.AdminUsersList; exports.AllowedUsersDetails = _chunkKDFDGXCXjs.AllowedUsersDetails; exports.AttributeElement = _chunkKDFDGXCXjs.AttributeElement; exports.AuthContainer = _chunkKDFDGXCXjs.AuthContainer; exports.BlockNoteEditorContainer = _chunkKDFDGXCXjs.BlockNoteEditorContainer; exports.Breadcrumb = _chunkKDFDGXCXjs.Breadcrumb; exports.CommonAssociationCommandDialog = _chunkKDFDGXCXjs.CommonAssociationCommandDialog; exports.CommonAssociationTrigger = _chunkKDFDGXCXjs.CommonAssociationTrigger; exports.CommonDeleter = _chunkKDFDGXCXjs.CommonDeleter; exports.CommonEditorButtons = _chunkKDFDGXCXjs.CommonEditorButtons; exports.CommonEditorHeader = _chunkKDFDGXCXjs.CommonEditorHeader; exports.CommonEditorTrigger = _chunkKDFDGXCXjs.CommonEditorTrigger; exports.CompaniesList = _chunkKDFDGXCXjs.CompaniesList; exports.CompanyConfigurationEditor = _chunkKDFDGXCXjs.CompanyConfigurationEditor; exports.CompanyConfigurationSecurityForm = _chunkKDFDGXCXjs.CompanyConfigurationSecurityForm; exports.CompanyContainer = _chunkKDFDGXCXjs.CompanyContainer; exports.CompanyDeleter = _chunkKDFDGXCXjs.CompanyDeleter; exports.CompanyDetails = _chunkKDFDGXCXjs.CompanyDetails; exports.CompanyEditor = _chunkKDFDGXCXjs.CompanyEditor; exports.CompanyUsersList = _chunkKDFDGXCXjs.CompanyUsersList; exports.ContentListTable = _chunkKDFDGXCXjs.ContentListTable; exports.ContentTableSearch = _chunkKDFDGXCXjs.ContentTableSearch; exports.ContentTitle = _chunkKDFDGXCXjs.ContentTitle; exports.ContentsList = _chunkKDFDGXCXjs.ContentsList; exports.ContentsListById = _chunkKDFDGXCXjs.ContentsListById; exports.ContributorsList = _chunkKDFDGXCXjs.ContributorsList; exports.Cookies = _chunkKDFDGXCXjs.Cookies; exports.DatePickerPopover = _chunkKDFDGXCXjs.DatePickerPopover; exports.DateRangeSelector = _chunkKDFDGXCXjs.DateRangeSelector; exports.ErrorDetails = _chunkKDFDGXCXjs.ErrorDetails; exports.FileInput = _chunkKDFDGXCXjs.FileInput; exports.FileUploader = _chunkKDFDGXCXjs.FileUploader; exports.FileUploaderContent = _chunkKDFDGXCXjs.FileUploaderContent; exports.FileUploaderItem = _chunkKDFDGXCXjs.FileUploaderItem; exports.ForgotPassword = _chunkKDFDGXCXjs.ForgotPassword; exports.FormCheckbox = _chunkKDFDGXCXjs.FormCheckbox; exports.FormContainerGeneric = _chunkKDFDGXCXjs.FormContainerGeneric; exports.FormDate = _chunkKDFDGXCXjs.FormDate; exports.FormDateTime = _chunkKDFDGXCXjs.FormDateTime; exports.FormFeatures = _chunkKDFDGXCXjs.FormFeatures; exports.FormInput = _chunkKDFDGXCXjs.FormInput; exports.FormPassword = _chunkKDFDGXCXjs.FormPassword; exports.FormPlaceAutocomplete = _chunkKDFDGXCXjs.FormPlaceAutocomplete; exports.FormRoles = _chunkKDFDGXCXjs.FormRoles; exports.FormSelect = _chunkKDFDGXCXjs.FormSelect; exports.FormSlider = _chunkKDFDGXCXjs.FormSlider; exports.FormSwitch = _chunkKDFDGXCXjs.FormSwitch; exports.FormTextarea = _chunkKDFDGXCXjs.FormTextarea; exports.Header = _chunkKDFDGXCXjs.Header; exports.LandingComponent = _chunkKDFDGXCXjs.LandingComponent; exports.Login = _chunkKDFDGXCXjs.Login; exports.Logout = _chunkKDFDGXCXjs.Logout; exports.ModeToggleSwitch = _chunkKDFDGXCXjs.ModeToggleSwitch; exports.NotificationErrorBoundary = _chunkKDFDGXCXjs.NotificationErrorBoundary; exports.NotificationMenuItem = _chunkKDFDGXCXjs.NotificationMenuItem; exports.NotificationModal = _chunkKDFDGXCXjs.NotificationModal; exports.NotificationToast = _chunkKDFDGXCXjs.NotificationToast; exports.NotificationsList = _chunkKDFDGXCXjs.NotificationsList; exports.NotificationsListContainer = _chunkKDFDGXCXjs.NotificationsListContainer; exports.PageContainer = _chunkKDFDGXCXjs.PageContainer; exports.PageContainerContentDetails = _chunkKDFDGXCXjs.PageContainerContentDetails; exports.PageContentContainer = _chunkKDFDGXCXjs.PageContentContainer; exports.PageSection = _chunkKDFDGXCXjs.PageSection; exports.PasswordInput = _chunkKDFDGXCXjs.PasswordInput; exports.PushNotificationProvider = _chunkKDFDGXCXjs.PushNotificationProvider; exports.ReactMarkdownContainer = _chunkKDFDGXCXjs.ReactMarkdownContainer; exports.RecentPagesNavigator = _chunkKDFDGXCXjs.RecentPagesNavigator; exports.RefreshUser = _chunkKDFDGXCXjs.RefreshUser; exports.RelevantContentsList = _chunkKDFDGXCXjs.RelevantContentsList; exports.RelevantUsersList = _chunkKDFDGXCXjs.RelevantUsersList; exports.RemoveUserFromRole = _chunkKDFDGXCXjs.RemoveUserFromRole; exports.ResetPassword = _chunkKDFDGXCXjs.ResetPassword; exports.RoleContainer = _chunkKDFDGXCXjs.RoleContainer; exports.RoleDetails = _chunkKDFDGXCXjs.RoleDetails; exports.RoleUsersList = _chunkKDFDGXCXjs.RoleUsersList; exports.RolesList = _chunkKDFDGXCXjs.RolesList; exports.TabsContainer = _chunkKDFDGXCXjs.TabsContainer; exports.UserAvatar = _chunkKDFDGXCXjs.UserAvatar; exports.UserAvatarEditor = _chunkKDFDGXCXjs.UserAvatarEditor; exports.UserContainer = _chunkKDFDGXCXjs.UserContainer; exports.UserDeleter = _chunkKDFDGXCXjs.UserDeleter; exports.UserDetails = _chunkKDFDGXCXjs.UserDetails; exports.UserEditor = _chunkKDFDGXCXjs.UserEditor; exports.UserIndexContainer = _chunkKDFDGXCXjs.UserIndexContainer; exports.UserIndexDetails = _chunkKDFDGXCXjs.UserIndexDetails; exports.UserListInAdd = _chunkKDFDGXCXjs.UserListInAdd; exports.UserMultiSelect = _chunkKDFDGXCXjs.UserMultiSelect; exports.UserReactivator = _chunkKDFDGXCXjs.UserReactivator; exports.UserResentInvitationEmail = _chunkKDFDGXCXjs.UserResentInvitationEmail; exports.UserRoleAdd = _chunkKDFDGXCXjs.UserRoleAdd; exports.UserRolesList = _chunkKDFDGXCXjs.UserRolesList; exports.UserSelector = _chunkKDFDGXCXjs.UserSelector; exports.UsersList = _chunkKDFDGXCXjs.UsersList; exports.UsersListByContentIds = _chunkKDFDGXCXjs.UsersListByContentIds; exports.UsersListContainer = _chunkKDFDGXCXjs.UsersListContainer; exports.cellComponent = _chunkKDFDGXCXjs.cellComponent; exports.cellDate = _chunkKDFDGXCXjs.cellDate; exports.cellId = _chunkKDFDGXCXjs.cellId; exports.cellLink = _chunkKDFDGXCXjs.cellLink; exports.cellUrl = _chunkKDFDGXCXjs.cellUrl; exports.errorToast = _chunkKDFDGXCXjs.errorToast; exports.generateNotificationData = _chunkKDFDGXCXjs.generateNotificationData; exports.triggerAssociationToast = _chunkKDFDGXCXjs.triggerAssociationToast; exports.useFileUpload = _chunkKDFDGXCXjs.useFileUpload;
234
+ exports.AcceptInvitation = _chunkK2ANOT66js.AcceptInvitation; exports.ActivateAccount = _chunkK2ANOT66js.ActivateAccount; exports.AddUserToRole = _chunkK2ANOT66js.AddUserToRole; exports.AdminCompanyContainer = _chunkK2ANOT66js.AdminCompanyContainer; exports.AdminUsersList = _chunkK2ANOT66js.AdminUsersList; exports.AllowedUsersDetails = _chunkK2ANOT66js.AllowedUsersDetails; exports.AttributeElement = _chunkK2ANOT66js.AttributeElement; exports.AuthContainer = _chunkK2ANOT66js.AuthContainer; exports.BlockNoteEditorContainer = _chunkK2ANOT66js.BlockNoteEditorContainer; exports.Breadcrumb = _chunkK2ANOT66js.Breadcrumb; exports.CommonAssociationCommandDialog = _chunkK2ANOT66js.CommonAssociationCommandDialog; exports.CommonAssociationTrigger = _chunkK2ANOT66js.CommonAssociationTrigger; exports.CommonDeleter = _chunkK2ANOT66js.CommonDeleter; exports.CommonEditorButtons = _chunkK2ANOT66js.CommonEditorButtons; exports.CommonEditorHeader = _chunkK2ANOT66js.CommonEditorHeader; exports.CommonEditorTrigger = _chunkK2ANOT66js.CommonEditorTrigger; exports.CompaniesList = _chunkK2ANOT66js.CompaniesList; exports.CompanyConfigurationEditor = _chunkK2ANOT66js.CompanyConfigurationEditor; exports.CompanyConfigurationSecurityForm = _chunkK2ANOT66js.CompanyConfigurationSecurityForm; exports.CompanyContainer = _chunkK2ANOT66js.CompanyContainer; exports.CompanyDeleter = _chunkK2ANOT66js.CompanyDeleter; exports.CompanyDetails = _chunkK2ANOT66js.CompanyDetails; exports.CompanyEditor = _chunkK2ANOT66js.CompanyEditor; exports.CompanyUsersList = _chunkK2ANOT66js.CompanyUsersList; exports.ContentListTable = _chunkK2ANOT66js.ContentListTable; exports.ContentTableSearch = _chunkK2ANOT66js.ContentTableSearch; exports.ContentTitle = _chunkK2ANOT66js.ContentTitle; exports.ContentsList = _chunkK2ANOT66js.ContentsList; exports.ContentsListById = _chunkK2ANOT66js.ContentsListById; exports.ContributorsList = _chunkK2ANOT66js.ContributorsList; exports.Cookies = _chunkK2ANOT66js.Cookies; exports.DatePickerPopover = _chunkK2ANOT66js.DatePickerPopover; exports.DateRangeSelector = _chunkK2ANOT66js.DateRangeSelector; exports.ErrorDetails = _chunkK2ANOT66js.ErrorDetails; exports.FileInput = _chunkK2ANOT66js.FileInput; exports.FileUploader = _chunkK2ANOT66js.FileUploader; exports.FileUploaderContent = _chunkK2ANOT66js.FileUploaderContent; exports.FileUploaderItem = _chunkK2ANOT66js.FileUploaderItem; exports.ForgotPassword = _chunkK2ANOT66js.ForgotPassword; exports.FormCheckbox = _chunkK2ANOT66js.FormCheckbox; exports.FormContainerGeneric = _chunkK2ANOT66js.FormContainerGeneric; exports.FormDate = _chunkK2ANOT66js.FormDate; exports.FormDateTime = _chunkK2ANOT66js.FormDateTime; exports.FormFeatures = _chunkK2ANOT66js.FormFeatures; exports.FormInput = _chunkK2ANOT66js.FormInput; exports.FormPassword = _chunkK2ANOT66js.FormPassword; exports.FormPlaceAutocomplete = _chunkK2ANOT66js.FormPlaceAutocomplete; exports.FormRoles = _chunkK2ANOT66js.FormRoles; exports.FormSelect = _chunkK2ANOT66js.FormSelect; exports.FormSlider = _chunkK2ANOT66js.FormSlider; exports.FormSwitch = _chunkK2ANOT66js.FormSwitch; exports.FormTextarea = _chunkK2ANOT66js.FormTextarea; exports.Header = _chunkK2ANOT66js.Header; exports.LandingComponent = _chunkK2ANOT66js.LandingComponent; exports.Login = _chunkK2ANOT66js.Login; exports.Logout = _chunkK2ANOT66js.Logout; exports.ModeToggleSwitch = _chunkK2ANOT66js.ModeToggleSwitch; exports.NotificationErrorBoundary = _chunkK2ANOT66js.NotificationErrorBoundary; exports.NotificationMenuItem = _chunkK2ANOT66js.NotificationMenuItem; exports.NotificationModal = _chunkK2ANOT66js.NotificationModal; exports.NotificationToast = _chunkK2ANOT66js.NotificationToast; exports.NotificationsList = _chunkK2ANOT66js.NotificationsList; exports.NotificationsListContainer = _chunkK2ANOT66js.NotificationsListContainer; exports.PageContainer = _chunkK2ANOT66js.PageContainer; exports.PageContainerContentDetails = _chunkK2ANOT66js.PageContainerContentDetails; exports.PageContentContainer = _chunkK2ANOT66js.PageContentContainer; exports.PageSection = _chunkK2ANOT66js.PageSection; exports.PasswordInput = _chunkK2ANOT66js.PasswordInput; exports.PushNotificationProvider = _chunkK2ANOT66js.PushNotificationProvider; exports.ReactMarkdownContainer = _chunkK2ANOT66js.ReactMarkdownContainer; exports.RecentPagesNavigator = _chunkK2ANOT66js.RecentPagesNavigator; exports.RefreshUser = _chunkK2ANOT66js.RefreshUser; exports.RelevantContentsList = _chunkK2ANOT66js.RelevantContentsList; exports.RelevantUsersList = _chunkK2ANOT66js.RelevantUsersList; exports.RemoveUserFromRole = _chunkK2ANOT66js.RemoveUserFromRole; exports.ResetPassword = _chunkK2ANOT66js.ResetPassword; exports.RoleContainer = _chunkK2ANOT66js.RoleContainer; exports.RoleDetails = _chunkK2ANOT66js.RoleDetails; exports.RoleUsersList = _chunkK2ANOT66js.RoleUsersList; exports.RolesList = _chunkK2ANOT66js.RolesList; exports.TabsContainer = _chunkK2ANOT66js.TabsContainer; exports.UserAvatar = _chunkK2ANOT66js.UserAvatar; exports.UserAvatarEditor = _chunkK2ANOT66js.UserAvatarEditor; exports.UserContainer = _chunkK2ANOT66js.UserContainer; exports.UserDeleter = _chunkK2ANOT66js.UserDeleter; exports.UserDetails = _chunkK2ANOT66js.UserDetails; exports.UserEditor = _chunkK2ANOT66js.UserEditor; exports.UserIndexContainer = _chunkK2ANOT66js.UserIndexContainer; exports.UserIndexDetails = _chunkK2ANOT66js.UserIndexDetails; exports.UserListInAdd = _chunkK2ANOT66js.UserListInAdd; exports.UserMultiSelect = _chunkK2ANOT66js.UserMultiSelect; exports.UserReactivator = _chunkK2ANOT66js.UserReactivator; exports.UserResentInvitationEmail = _chunkK2ANOT66js.UserResentInvitationEmail; exports.UserRoleAdd = _chunkK2ANOT66js.UserRoleAdd; exports.UserRolesList = _chunkK2ANOT66js.UserRolesList; exports.UserSelector = _chunkK2ANOT66js.UserSelector; exports.UsersList = _chunkK2ANOT66js.UsersList; exports.UsersListByContentIds = _chunkK2ANOT66js.UsersListByContentIds; exports.UsersListContainer = _chunkK2ANOT66js.UsersListContainer; exports.cellComponent = _chunkK2ANOT66js.cellComponent; exports.cellDate = _chunkK2ANOT66js.cellDate; exports.cellId = _chunkK2ANOT66js.cellId; exports.cellLink = _chunkK2ANOT66js.cellLink; exports.cellUrl = _chunkK2ANOT66js.cellUrl; exports.errorToast = _chunkK2ANOT66js.errorToast; exports.generateNotificationData = _chunkK2ANOT66js.generateNotificationData; exports.triggerAssociationToast = _chunkK2ANOT66js.triggerAssociationToast; exports.useFileUpload = _chunkK2ANOT66js.useFileUpload;
235
235
  //# sourceMappingURL=index.js.map
@@ -108,17 +108,17 @@ import {
108
108
  generateNotificationData,
109
109
  triggerAssociationToast,
110
110
  useFileUpload
111
- } from "../chunk-Y4XI3AZR.mjs";
111
+ } from "../chunk-5QC7A6BL.mjs";
112
112
  import "../chunk-C7C7VY4F.mjs";
113
- import "../chunk-X53MF5ZN.mjs";
114
- import "../chunk-JLN6UWII.mjs";
115
- import "../chunk-MHVXFWZY.mjs";
113
+ import "../chunk-P2F54I7Q.mjs";
114
+ import "../chunk-JGFWIT2E.mjs";
115
+ import "../chunk-HTLEKZND.mjs";
116
116
  import "../chunk-AUXK7QSA.mjs";
117
117
  import "../chunk-SM63SZCP.mjs";
118
- import "../chunk-74F6BBHH.mjs";
118
+ import "../chunk-IKBA4AHN.mjs";
119
119
  import "../chunk-BLWVZK6J.mjs";
120
120
  import "../chunk-Q2N6SQYW.mjs";
121
- import "../chunk-NPPQNSXN.mjs";
121
+ import "../chunk-FMBQZAIP.mjs";
122
122
  import "../chunk-RBIVEH2K.mjs";
123
123
  import "../chunk-HAG77QBV.mjs";
124
124
  import "../chunk-PAWJFY3S.mjs";
@@ -17,17 +17,17 @@
17
17
 
18
18
 
19
19
 
20
- var _chunkKDFDGXCXjs = require('../chunk-KDFDGXCX.js');
20
+ var _chunkK2ANOT66js = require('../chunk-K2ANOT66.js');
21
21
  require('../chunk-IBS6NI7D.js');
22
- require('../chunk-EZK3H6EJ.js');
23
- require('../chunk-LJRD4SRV.js');
24
- require('../chunk-L6LH7WA4.js');
22
+ require('../chunk-5IET37O4.js');
23
+ require('../chunk-DEYKTLA3.js');
24
+ require('../chunk-PO5Q3H5I.js');
25
25
  require('../chunk-LXKSUWAV.js');
26
26
  require('../chunk-AYHKQWHH.js');
27
- require('../chunk-5ZEADNNP.js');
27
+ require('../chunk-PMXG5WBC.js');
28
28
  require('../chunk-4HCRAOS5.js');
29
29
  require('../chunk-3FBCC4G3.js');
30
- require('../chunk-WZJDLITG.js');
30
+ require('../chunk-Q4FXESVT.js');
31
31
  require('../chunk-AGAJMJ4T.js');
32
32
  require('../chunk-32HM6MDD.js');
33
33
  require('../chunk-7QVYU63E.js');
@@ -49,5 +49,5 @@ require('../chunk-7QVYU63E.js');
49
49
 
50
50
 
51
51
 
52
- exports.CommonProvider = _chunkKDFDGXCXjs.CommonProvider; exports.CompanyProvider = _chunkKDFDGXCXjs.CompanyProvider; exports.CurrentUserProvider = _chunkKDFDGXCXjs.CurrentUserProvider; exports.NotificationContextProvider = _chunkKDFDGXCXjs.NotificationContextProvider; exports.RoleProvider = _chunkKDFDGXCXjs.RoleProvider; exports.SharedProvider = _chunkKDFDGXCXjs.SharedProvider; exports.SocketContext = _chunkKDFDGXCXjs.SocketContext; exports.SocketProvider = _chunkKDFDGXCXjs.SocketProvider; exports.UserProvider = _chunkKDFDGXCXjs.UserProvider; exports.useCommonContext = _chunkKDFDGXCXjs.useCommonContext; exports.useCompanyContext = _chunkKDFDGXCXjs.useCompanyContext; exports.useCurrentUserContext = _chunkKDFDGXCXjs.useCurrentUserContext; exports.useNotificationContext = _chunkKDFDGXCXjs.useNotificationContext; exports.useRoleContext = _chunkKDFDGXCXjs.useRoleContext; exports.useSharedContext = _chunkKDFDGXCXjs.useSharedContext; exports.useSocketContext = _chunkKDFDGXCXjs.useSocketContext; exports.useUserContext = _chunkKDFDGXCXjs.useUserContext;
52
+ exports.CommonProvider = _chunkK2ANOT66js.CommonProvider; exports.CompanyProvider = _chunkK2ANOT66js.CompanyProvider; exports.CurrentUserProvider = _chunkK2ANOT66js.CurrentUserProvider; exports.NotificationContextProvider = _chunkK2ANOT66js.NotificationContextProvider; exports.RoleProvider = _chunkK2ANOT66js.RoleProvider; exports.SharedProvider = _chunkK2ANOT66js.SharedProvider; exports.SocketContext = _chunkK2ANOT66js.SocketContext; exports.SocketProvider = _chunkK2ANOT66js.SocketProvider; exports.UserProvider = _chunkK2ANOT66js.UserProvider; exports.useCommonContext = _chunkK2ANOT66js.useCommonContext; exports.useCompanyContext = _chunkK2ANOT66js.useCompanyContext; exports.useCurrentUserContext = _chunkK2ANOT66js.useCurrentUserContext; exports.useNotificationContext = _chunkK2ANOT66js.useNotificationContext; exports.useRoleContext = _chunkK2ANOT66js.useRoleContext; exports.useSharedContext = _chunkK2ANOT66js.useSharedContext; exports.useSocketContext = _chunkK2ANOT66js.useSocketContext; exports.useUserContext = _chunkK2ANOT66js.useUserContext;
53
53
  //# sourceMappingURL=index.js.map
@@ -17,17 +17,17 @@ import {
17
17
  useSharedContext,
18
18
  useSocketContext,
19
19
  useUserContext
20
- } from "../chunk-Y4XI3AZR.mjs";
20
+ } from "../chunk-5QC7A6BL.mjs";
21
21
  import "../chunk-C7C7VY4F.mjs";
22
- import "../chunk-X53MF5ZN.mjs";
23
- import "../chunk-JLN6UWII.mjs";
24
- import "../chunk-MHVXFWZY.mjs";
22
+ import "../chunk-P2F54I7Q.mjs";
23
+ import "../chunk-JGFWIT2E.mjs";
24
+ import "../chunk-HTLEKZND.mjs";
25
25
  import "../chunk-AUXK7QSA.mjs";
26
26
  import "../chunk-SM63SZCP.mjs";
27
- import "../chunk-74F6BBHH.mjs";
27
+ import "../chunk-IKBA4AHN.mjs";
28
28
  import "../chunk-BLWVZK6J.mjs";
29
29
  import "../chunk-Q2N6SQYW.mjs";
30
- import "../chunk-NPPQNSXN.mjs";
30
+ import "../chunk-FMBQZAIP.mjs";
31
31
  import "../chunk-RBIVEH2K.mjs";
32
32
  import "../chunk-HAG77QBV.mjs";
33
33
  import "../chunk-PAWJFY3S.mjs";
@@ -12,7 +12,7 @@
12
12
 
13
13
 
14
14
 
15
- var _chunkWZJDLITGjs = require('../chunk-WZJDLITG.js');
15
+ var _chunkQ4FXESVTjs = require('../chunk-Q4FXESVT.js');
16
16
 
17
17
 
18
18
 
@@ -39,5 +39,5 @@ require('../chunk-7QVYU63E.js');
39
39
 
40
40
 
41
41
 
42
- exports.AbstractApiData = _chunkWZJDLITGjs.AbstractApiData; exports.AbstractService = _chunkWZJDLITGjs.AbstractService; exports.DataClass = _chunkAGAJMJ4Tjs.DataClassRegistry; exports.DataClassRegistry = _chunkAGAJMJ4Tjs.DataClassRegistry; exports.EndpointCreator = _chunkWZJDLITGjs.EndpointCreator; exports.HttpMethod = _chunkWZJDLITGjs.HttpMethod; exports.JsonApiDataFactory = _chunkAGAJMJ4Tjs.JsonApiDataFactory; exports.ModuleRegistrar = _chunkWZJDLITGjs.ModuleRegistrar; exports.ModuleRegistry = _chunkWZJDLITGjs.ModuleRegistry; exports.Modules = _chunkWZJDLITGjs.Modules; exports.RehydrationFactory = _chunkWZJDLITGjs.RehydrationFactory; exports.createJsonApiInclusion = _chunkWZJDLITGjs.createJsonApiInclusion; exports.getGlobalErrorHandler = _chunkWZJDLITGjs.getGlobalErrorHandler; exports.rehydrate = _chunkWZJDLITGjs.rehydrate; exports.rehydrateList = _chunkWZJDLITGjs.rehydrateList; exports.setGlobalErrorHandler = _chunkWZJDLITGjs.setGlobalErrorHandler; exports.translateData = _chunkAGAJMJ4Tjs.translateData; exports.translateResponse = _chunkAGAJMJ4Tjs.translateResponse;
42
+ exports.AbstractApiData = _chunkQ4FXESVTjs.AbstractApiData; exports.AbstractService = _chunkQ4FXESVTjs.AbstractService; exports.DataClass = _chunkAGAJMJ4Tjs.DataClassRegistry; exports.DataClassRegistry = _chunkAGAJMJ4Tjs.DataClassRegistry; exports.EndpointCreator = _chunkQ4FXESVTjs.EndpointCreator; exports.HttpMethod = _chunkQ4FXESVTjs.HttpMethod; exports.JsonApiDataFactory = _chunkAGAJMJ4Tjs.JsonApiDataFactory; exports.ModuleRegistrar = _chunkQ4FXESVTjs.ModuleRegistrar; exports.ModuleRegistry = _chunkQ4FXESVTjs.ModuleRegistry; exports.Modules = _chunkQ4FXESVTjs.Modules; exports.RehydrationFactory = _chunkQ4FXESVTjs.RehydrationFactory; exports.createJsonApiInclusion = _chunkQ4FXESVTjs.createJsonApiInclusion; exports.getGlobalErrorHandler = _chunkQ4FXESVTjs.getGlobalErrorHandler; exports.rehydrate = _chunkQ4FXESVTjs.rehydrate; exports.rehydrateList = _chunkQ4FXESVTjs.rehydrateList; exports.setGlobalErrorHandler = _chunkQ4FXESVTjs.setGlobalErrorHandler; exports.translateData = _chunkAGAJMJ4Tjs.translateData; exports.translateResponse = _chunkAGAJMJ4Tjs.translateResponse;
43
43
  //# sourceMappingURL=index.js.map
@@ -12,7 +12,7 @@ import {
12
12
  rehydrate,
13
13
  rehydrateList,
14
14
  setGlobalErrorHandler
15
- } from "../chunk-NPPQNSXN.mjs";
15
+ } from "../chunk-FMBQZAIP.mjs";
16
16
  import {
17
17
  DataClassRegistry,
18
18
  JsonApiDataFactory,
@@ -35,13 +35,13 @@
35
35
 
36
36
 
37
37
 
38
- var _chunkL6LH7WA4js = require('../chunk-L6LH7WA4.js');
38
+ var _chunkPO5Q3H5Ijs = require('../chunk-PO5Q3H5I.js');
39
39
 
40
40
 
41
41
  var _chunkAYHKQWHHjs = require('../chunk-AYHKQWHH.js');
42
- require('../chunk-5ZEADNNP.js');
42
+ require('../chunk-PMXG5WBC.js');
43
43
  require('../chunk-4HCRAOS5.js');
44
- require('../chunk-WZJDLITG.js');
44
+ require('../chunk-Q4FXESVT.js');
45
45
  require('../chunk-AGAJMJ4T.js');
46
46
  require('../chunk-32HM6MDD.js');
47
47
  require('../chunk-7QVYU63E.js');
@@ -83,5 +83,5 @@ require('../chunk-7QVYU63E.js');
83
83
 
84
84
 
85
85
 
86
- exports.Auth = _chunkL6LH7WA4js.Auth; exports.AuthComponent = _chunkL6LH7WA4js.AuthComponent; exports.AuthModule = _chunkL6LH7WA4js.AuthModule; exports.AuthService = _chunkL6LH7WA4js.AuthService; exports.AuthorModule = _chunkL6LH7WA4js.AuthorModule; exports.Company = _chunkL6LH7WA4js.Company; exports.CompanyFields = _chunkL6LH7WA4js.CompanyFields; exports.CompanyModule = _chunkL6LH7WA4js.CompanyModule; exports.CompanyService = _chunkL6LH7WA4js.CompanyService; exports.Content = _chunkL6LH7WA4js.Content; exports.ContentFields = _chunkL6LH7WA4js.ContentFields; exports.ContentModule = _chunkL6LH7WA4js.ContentModule; exports.ContentService = _chunkL6LH7WA4js.ContentService; exports.Feature = _chunkL6LH7WA4js.Feature; exports.FeatureModule = _chunkL6LH7WA4js.FeatureModule; exports.FeatureService = _chunkL6LH7WA4js.FeatureService; exports.Module = _chunkL6LH7WA4js.Module; exports.ModuleModule = _chunkL6LH7WA4js.ModuleModule; exports.Notification = _chunkL6LH7WA4js.Notification; exports.NotificationFields = _chunkL6LH7WA4js.NotificationFields; exports.NotificationModule = _chunkL6LH7WA4js.NotificationModule; exports.NotificationService = _chunkL6LH7WA4js.NotificationService; exports.Push = _chunkL6LH7WA4js.Push; exports.PushModule = _chunkL6LH7WA4js.PushModule; exports.PushService = _chunkL6LH7WA4js.PushService; exports.Role = _chunkL6LH7WA4js.Role; exports.RoleFields = _chunkL6LH7WA4js.RoleFields; exports.RoleModule = _chunkL6LH7WA4js.RoleModule; exports.RoleService = _chunkL6LH7WA4js.RoleService; exports.S3 = _chunkL6LH7WA4js.S3; exports.S3Module = _chunkL6LH7WA4js.S3Module; exports.S3Service = _chunkL6LH7WA4js.S3Service; exports.User = _chunkL6LH7WA4js.User; exports.UserFields = _chunkL6LH7WA4js.UserFields; exports.UserModule = _chunkL6LH7WA4js.UserModule; exports.UserService = _chunkL6LH7WA4js.UserService; exports.configureAuth = _chunkAYHKQWHHjs.configureAuth;
86
+ exports.Auth = _chunkPO5Q3H5Ijs.Auth; exports.AuthComponent = _chunkPO5Q3H5Ijs.AuthComponent; exports.AuthModule = _chunkPO5Q3H5Ijs.AuthModule; exports.AuthService = _chunkPO5Q3H5Ijs.AuthService; exports.AuthorModule = _chunkPO5Q3H5Ijs.AuthorModule; exports.Company = _chunkPO5Q3H5Ijs.Company; exports.CompanyFields = _chunkPO5Q3H5Ijs.CompanyFields; exports.CompanyModule = _chunkPO5Q3H5Ijs.CompanyModule; exports.CompanyService = _chunkPO5Q3H5Ijs.CompanyService; exports.Content = _chunkPO5Q3H5Ijs.Content; exports.ContentFields = _chunkPO5Q3H5Ijs.ContentFields; exports.ContentModule = _chunkPO5Q3H5Ijs.ContentModule; exports.ContentService = _chunkPO5Q3H5Ijs.ContentService; exports.Feature = _chunkPO5Q3H5Ijs.Feature; exports.FeatureModule = _chunkPO5Q3H5Ijs.FeatureModule; exports.FeatureService = _chunkPO5Q3H5Ijs.FeatureService; exports.Module = _chunkPO5Q3H5Ijs.Module; exports.ModuleModule = _chunkPO5Q3H5Ijs.ModuleModule; exports.Notification = _chunkPO5Q3H5Ijs.Notification; exports.NotificationFields = _chunkPO5Q3H5Ijs.NotificationFields; exports.NotificationModule = _chunkPO5Q3H5Ijs.NotificationModule; exports.NotificationService = _chunkPO5Q3H5Ijs.NotificationService; exports.Push = _chunkPO5Q3H5Ijs.Push; exports.PushModule = _chunkPO5Q3H5Ijs.PushModule; exports.PushService = _chunkPO5Q3H5Ijs.PushService; exports.Role = _chunkPO5Q3H5Ijs.Role; exports.RoleFields = _chunkPO5Q3H5Ijs.RoleFields; exports.RoleModule = _chunkPO5Q3H5Ijs.RoleModule; exports.RoleService = _chunkPO5Q3H5Ijs.RoleService; exports.S3 = _chunkPO5Q3H5Ijs.S3; exports.S3Module = _chunkPO5Q3H5Ijs.S3Module; exports.S3Service = _chunkPO5Q3H5Ijs.S3Service; exports.User = _chunkPO5Q3H5Ijs.User; exports.UserFields = _chunkPO5Q3H5Ijs.UserFields; exports.UserModule = _chunkPO5Q3H5Ijs.UserModule; exports.UserService = _chunkPO5Q3H5Ijs.UserService; exports.configureAuth = _chunkAYHKQWHHjs.configureAuth;
87
87
  //# sourceMappingURL=index.js.map
@@ -35,13 +35,13 @@ import {
35
35
  UserFields,
36
36
  UserModule,
37
37
  UserService
38
- } from "../chunk-MHVXFWZY.mjs";
38
+ } from "../chunk-HTLEKZND.mjs";
39
39
  import {
40
40
  configureAuth
41
41
  } from "../chunk-SM63SZCP.mjs";
42
- import "../chunk-74F6BBHH.mjs";
42
+ import "../chunk-IKBA4AHN.mjs";
43
43
  import "../chunk-BLWVZK6J.mjs";
44
- import "../chunk-NPPQNSXN.mjs";
44
+ import "../chunk-FMBQZAIP.mjs";
45
45
  import "../chunk-RBIVEH2K.mjs";
46
46
  import "../chunk-HAG77QBV.mjs";
47
47
  import "../chunk-PAWJFY3S.mjs";
@@ -12,11 +12,11 @@
12
12
 
13
13
 
14
14
 
15
- var _chunkKDFDGXCXjs = require('../chunk-KDFDGXCX.js');
15
+ var _chunkK2ANOT66js = require('../chunk-K2ANOT66.js');
16
16
  require('../chunk-IBS6NI7D.js');
17
- require('../chunk-EZK3H6EJ.js');
18
- require('../chunk-LJRD4SRV.js');
19
- require('../chunk-L6LH7WA4.js');
17
+ require('../chunk-5IET37O4.js');
18
+ require('../chunk-DEYKTLA3.js');
19
+ require('../chunk-PO5Q3H5I.js');
20
20
  require('../chunk-LXKSUWAV.js');
21
21
 
22
22
 
@@ -26,10 +26,10 @@ require('../chunk-LXKSUWAV.js');
26
26
 
27
27
 
28
28
  var _chunkAYHKQWHHjs = require('../chunk-AYHKQWHH.js');
29
- require('../chunk-5ZEADNNP.js');
29
+ require('../chunk-PMXG5WBC.js');
30
30
  require('../chunk-4HCRAOS5.js');
31
31
  require('../chunk-3FBCC4G3.js');
32
- require('../chunk-WZJDLITG.js');
32
+ require('../chunk-Q4FXESVT.js');
33
33
  require('../chunk-AGAJMJ4T.js');
34
34
  require('../chunk-32HM6MDD.js');
35
35
  require('../chunk-7QVYU63E.js');
@@ -52,5 +52,5 @@ require('../chunk-7QVYU63E.js');
52
52
 
53
53
 
54
54
 
55
- exports.TableGeneratorRegistry = _chunkKDFDGXCXjs.TableGeneratorRegistry; exports.configureI18n = _chunkAYHKQWHHjs.configureI18n; exports.getI18nLink = _chunkAYHKQWHHjs.getI18nLink; exports.registerTableGenerator = _chunkKDFDGXCXjs.registerTableGenerator; exports.tableGeneratorRegistry = _chunkKDFDGXCXjs.tableGeneratorRegistry; exports.useCustomD3Graph = _chunkKDFDGXCXjs.useCustomD3Graph; exports.useDataListRetriever = _chunkKDFDGXCXjs.useDataListRetriever; exports.useDebounce = _chunkKDFDGXCXjs.useDebounce; exports.useI18nDateFnsLocale = _chunkAYHKQWHHjs.useI18nDateFnsLocale; exports.useI18nLocale = _chunkAYHKQWHHjs.useI18nLocale; exports.useI18nRouter = _chunkAYHKQWHHjs.useI18nRouter; exports.useI18nTranslations = _chunkAYHKQWHHjs.useI18nTranslations; exports.useNotificationSync = _chunkKDFDGXCXjs.useNotificationSync; exports.usePageTracker = _chunkKDFDGXCXjs.usePageTracker; exports.usePageUrlGenerator = _chunkKDFDGXCXjs.usePageUrlGenerator; exports.useSocket = _chunkKDFDGXCXjs.useSocket; exports.useTableGenerator = _chunkKDFDGXCXjs.useTableGenerator; exports.useUrlRewriter = _chunkKDFDGXCXjs.useUrlRewriter;
55
+ exports.TableGeneratorRegistry = _chunkK2ANOT66js.TableGeneratorRegistry; exports.configureI18n = _chunkAYHKQWHHjs.configureI18n; exports.getI18nLink = _chunkAYHKQWHHjs.getI18nLink; exports.registerTableGenerator = _chunkK2ANOT66js.registerTableGenerator; exports.tableGeneratorRegistry = _chunkK2ANOT66js.tableGeneratorRegistry; exports.useCustomD3Graph = _chunkK2ANOT66js.useCustomD3Graph; exports.useDataListRetriever = _chunkK2ANOT66js.useDataListRetriever; exports.useDebounce = _chunkK2ANOT66js.useDebounce; exports.useI18nDateFnsLocale = _chunkAYHKQWHHjs.useI18nDateFnsLocale; exports.useI18nLocale = _chunkAYHKQWHHjs.useI18nLocale; exports.useI18nRouter = _chunkAYHKQWHHjs.useI18nRouter; exports.useI18nTranslations = _chunkAYHKQWHHjs.useI18nTranslations; exports.useNotificationSync = _chunkK2ANOT66js.useNotificationSync; exports.usePageTracker = _chunkK2ANOT66js.usePageTracker; exports.usePageUrlGenerator = _chunkK2ANOT66js.usePageUrlGenerator; exports.useSocket = _chunkK2ANOT66js.useSocket; exports.useTableGenerator = _chunkK2ANOT66js.useTableGenerator; exports.useUrlRewriter = _chunkK2ANOT66js.useUrlRewriter;
56
56
  //# sourceMappingURL=index.js.map
@@ -12,11 +12,11 @@ import {
12
12
  useSocket,
13
13
  useTableGenerator,
14
14
  useUrlRewriter
15
- } from "../chunk-Y4XI3AZR.mjs";
15
+ } from "../chunk-5QC7A6BL.mjs";
16
16
  import "../chunk-C7C7VY4F.mjs";
17
- import "../chunk-X53MF5ZN.mjs";
18
- import "../chunk-JLN6UWII.mjs";
19
- import "../chunk-MHVXFWZY.mjs";
17
+ import "../chunk-P2F54I7Q.mjs";
18
+ import "../chunk-JGFWIT2E.mjs";
19
+ import "../chunk-HTLEKZND.mjs";
20
20
  import "../chunk-AUXK7QSA.mjs";
21
21
  import {
22
22
  configureI18n,
@@ -26,10 +26,10 @@ import {
26
26
  useI18nRouter,
27
27
  useI18nTranslations
28
28
  } from "../chunk-SM63SZCP.mjs";
29
- import "../chunk-74F6BBHH.mjs";
29
+ import "../chunk-IKBA4AHN.mjs";
30
30
  import "../chunk-BLWVZK6J.mjs";
31
31
  import "../chunk-Q2N6SQYW.mjs";
32
- import "../chunk-NPPQNSXN.mjs";
32
+ import "../chunk-FMBQZAIP.mjs";
33
33
  import "../chunk-RBIVEH2K.mjs";
34
34
  import "../chunk-HAG77QBV.mjs";
35
35
  import "../chunk-PAWJFY3S.mjs";
package/dist/index.d.mts CHANGED
@@ -23,6 +23,7 @@ declare function configureJsonApi(config: {
23
23
  bootstrapper?: () => void;
24
24
  additionalHeaders?: Record<string, string>;
25
25
  }): void;
26
+ declare function getApiUrl(): string;
26
27
  declare function getAppUrl(): string;
27
28
  declare function getTrackablePages(): ModuleWithPermissions[];
28
29
  declare function JsonApiGet(params: {
@@ -74,4 +75,4 @@ declare function JsonApiDelete(params: {
74
75
  responseType?: ApiRequestDataTypeInterface;
75
76
  }): Promise<ApiResponseInterface>;
76
77
 
77
- export { ApiRequestDataTypeInterface, ApiResponseInterface, JsonApiDelete, JsonApiGet, JsonApiPatch, JsonApiPost, JsonApiPut, ModuleWithPermissions, configureJsonApi, getAppUrl, getTrackablePages };
78
+ export { ApiRequestDataTypeInterface, ApiResponseInterface, JsonApiDelete, JsonApiGet, JsonApiPatch, JsonApiPost, JsonApiPut, ModuleWithPermissions, configureJsonApi, getApiUrl, getAppUrl, getTrackablePages };
package/dist/index.d.ts CHANGED
@@ -23,6 +23,7 @@ declare function configureJsonApi(config: {
23
23
  bootstrapper?: () => void;
24
24
  additionalHeaders?: Record<string, string>;
25
25
  }): void;
26
+ declare function getApiUrl(): string;
26
27
  declare function getAppUrl(): string;
27
28
  declare function getTrackablePages(): ModuleWithPermissions[];
28
29
  declare function JsonApiGet(params: {
@@ -74,4 +75,4 @@ declare function JsonApiDelete(params: {
74
75
  responseType?: ApiRequestDataTypeInterface;
75
76
  }): Promise<ApiResponseInterface>;
76
77
 
77
- export { ApiRequestDataTypeInterface, ApiResponseInterface, JsonApiDelete, JsonApiGet, JsonApiPatch, JsonApiPost, JsonApiPut, ModuleWithPermissions, configureJsonApi, getAppUrl, getTrackablePages };
78
+ export { ApiRequestDataTypeInterface, ApiResponseInterface, JsonApiDelete, JsonApiGet, JsonApiPatch, JsonApiPost, JsonApiPut, ModuleWithPermissions, configureJsonApi, getApiUrl, getAppUrl, getTrackablePages };
package/dist/index.js CHANGED
@@ -12,7 +12,8 @@ var _chunkAYHKQWHHjs = require('./chunk-AYHKQWHH.js');
12
12
 
13
13
 
14
14
 
15
- var _chunk5ZEADNNPjs = require('./chunk-5ZEADNNP.js');
15
+
16
+ var _chunkPMXG5WBCjs = require('./chunk-PMXG5WBC.js');
16
17
 
17
18
 
18
19
 
@@ -32,7 +33,7 @@ var _chunk4HCRAOS5js = require('./chunk-4HCRAOS5.js');
32
33
 
33
34
 
34
35
 
35
- var _chunkWZJDLITGjs = require('./chunk-WZJDLITG.js');
36
+ var _chunkQ4FXESVTjs = require('./chunk-Q4FXESVT.js');
36
37
 
37
38
 
38
39
 
@@ -83,5 +84,6 @@ require('./chunk-7QVYU63E.js');
83
84
 
84
85
 
85
86
 
86
- exports.AbstractApiData = _chunkWZJDLITGjs.AbstractApiData; exports.AbstractService = _chunkWZJDLITGjs.AbstractService; exports.Action = _chunk32HM6MDDjs.Action; exports.DataClass = _chunkAGAJMJ4Tjs.DataClassRegistry; exports.DataClassRegistry = _chunkAGAJMJ4Tjs.DataClassRegistry; exports.EndpointCreator = _chunkWZJDLITGjs.EndpointCreator; exports.HttpMethod = _chunkWZJDLITGjs.HttpMethod; exports.JsonApiDataFactory = _chunkAGAJMJ4Tjs.JsonApiDataFactory; exports.JsonApiDelete = _chunk5ZEADNNPjs.JsonApiDelete; exports.JsonApiGet = _chunk5ZEADNNPjs.JsonApiGet; exports.JsonApiPatch = _chunk5ZEADNNPjs.JsonApiPatch; exports.JsonApiPost = _chunk5ZEADNNPjs.JsonApiPost; exports.JsonApiPut = _chunk5ZEADNNPjs.JsonApiPut; exports.ModuleRegistrar = _chunkWZJDLITGjs.ModuleRegistrar; exports.ModuleRegistry = _chunkWZJDLITGjs.ModuleRegistry; exports.Modules = _chunkWZJDLITGjs.Modules; exports.RehydrationFactory = _chunkWZJDLITGjs.RehydrationFactory; exports.checkPermissions = _chunk32HM6MDDjs.checkPermissions; exports.checkPermissionsFromServer = _chunk32HM6MDDjs.checkPermissionsFromServer; exports.configureAuth = _chunkAYHKQWHHjs.configureAuth; exports.configureI18n = _chunkAYHKQWHHjs.configureI18n; exports.configureJsonApi = _chunk5ZEADNNPjs.configureJsonApi; exports.configureRoles = _chunk4HCRAOS5js.configureRoles; exports.createJsonApiInclusion = _chunkWZJDLITGjs.createJsonApiInclusion; exports.getAppUrl = _chunk5ZEADNNPjs.getAppUrl; exports.getGlobalErrorHandler = _chunkWZJDLITGjs.getGlobalErrorHandler; exports.getRoleId = _chunk4HCRAOS5js.getRoleId; exports.getTokenHandler = _chunkAYHKQWHHjs.getTokenHandler; exports.getTrackablePages = _chunk5ZEADNNPjs.getTrackablePages; exports.getValueFromPath = _chunk32HM6MDDjs.getValueFromPath; exports.isRolesConfigured = _chunk4HCRAOS5js.isRolesConfigured; exports.rehydrate = _chunkWZJDLITGjs.rehydrate; exports.rehydrateList = _chunkWZJDLITGjs.rehydrateList; exports.setGlobalErrorHandler = _chunkWZJDLITGjs.setGlobalErrorHandler; exports.translateData = _chunkAGAJMJ4Tjs.translateData; exports.translateResponse = _chunkAGAJMJ4Tjs.translateResponse;
87
+
88
+ exports.AbstractApiData = _chunkQ4FXESVTjs.AbstractApiData; exports.AbstractService = _chunkQ4FXESVTjs.AbstractService; exports.Action = _chunk32HM6MDDjs.Action; exports.DataClass = _chunkAGAJMJ4Tjs.DataClassRegistry; exports.DataClassRegistry = _chunkAGAJMJ4Tjs.DataClassRegistry; exports.EndpointCreator = _chunkQ4FXESVTjs.EndpointCreator; exports.HttpMethod = _chunkQ4FXESVTjs.HttpMethod; exports.JsonApiDataFactory = _chunkAGAJMJ4Tjs.JsonApiDataFactory; exports.JsonApiDelete = _chunkPMXG5WBCjs.JsonApiDelete; exports.JsonApiGet = _chunkPMXG5WBCjs.JsonApiGet; exports.JsonApiPatch = _chunkPMXG5WBCjs.JsonApiPatch; exports.JsonApiPost = _chunkPMXG5WBCjs.JsonApiPost; exports.JsonApiPut = _chunkPMXG5WBCjs.JsonApiPut; exports.ModuleRegistrar = _chunkQ4FXESVTjs.ModuleRegistrar; exports.ModuleRegistry = _chunkQ4FXESVTjs.ModuleRegistry; exports.Modules = _chunkQ4FXESVTjs.Modules; exports.RehydrationFactory = _chunkQ4FXESVTjs.RehydrationFactory; exports.checkPermissions = _chunk32HM6MDDjs.checkPermissions; exports.checkPermissionsFromServer = _chunk32HM6MDDjs.checkPermissionsFromServer; exports.configureAuth = _chunkAYHKQWHHjs.configureAuth; exports.configureI18n = _chunkAYHKQWHHjs.configureI18n; exports.configureJsonApi = _chunkPMXG5WBCjs.configureJsonApi; exports.configureRoles = _chunk4HCRAOS5js.configureRoles; exports.createJsonApiInclusion = _chunkQ4FXESVTjs.createJsonApiInclusion; exports.getApiUrl = _chunkPMXG5WBCjs.getApiUrl; exports.getAppUrl = _chunkPMXG5WBCjs.getAppUrl; exports.getGlobalErrorHandler = _chunkQ4FXESVTjs.getGlobalErrorHandler; exports.getRoleId = _chunk4HCRAOS5js.getRoleId; exports.getTokenHandler = _chunkAYHKQWHHjs.getTokenHandler; exports.getTrackablePages = _chunkPMXG5WBCjs.getTrackablePages; exports.getValueFromPath = _chunk32HM6MDDjs.getValueFromPath; exports.isRolesConfigured = _chunk4HCRAOS5js.isRolesConfigured; exports.rehydrate = _chunkQ4FXESVTjs.rehydrate; exports.rehydrateList = _chunkQ4FXESVTjs.rehydrateList; exports.setGlobalErrorHandler = _chunkQ4FXESVTjs.setGlobalErrorHandler; exports.translateData = _chunkAGAJMJ4Tjs.translateData; exports.translateResponse = _chunkAGAJMJ4Tjs.translateResponse;
87
89
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,+jEAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"}
1
+ {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,+mEAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"}