@carlonicora/nextjs-jsonapi 5.4.0 → 5.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/dist/{BlockNoteEditor-YQL2SGFR.mjs → BlockNoteEditor-GVQCKRMU.mjs} +5 -5
  2. package/dist/{BlockNoteEditor-4YCAIEPT.js → BlockNoteEditor-THBJH2UR.js} +20 -20
  3. package/dist/{BlockNoteEditor-4YCAIEPT.js.map → BlockNoteEditor-THBJH2UR.js.map} +1 -1
  4. package/dist/{BlockNoteViewer-AEJKJ27Q.mjs → BlockNoteViewer-U6E3DS4F.mjs} +3 -3
  5. package/dist/{BlockNoteViewer-YL3J7J2Y.js → BlockNoteViewer-VZOVKTFO.js} +4 -4
  6. package/dist/{BlockNoteViewer-YL3J7J2Y.js.map → BlockNoteViewer-VZOVKTFO.js.map} +1 -1
  7. package/dist/billing/index.js +442 -442
  8. package/dist/billing/index.mjs +4 -4
  9. package/dist/{chunk-XCHSX3VC.mjs → chunk-3CGROPF3.mjs} +2 -2
  10. package/dist/{chunk-QMYQRPQC.mjs → chunk-6SQYXUVP.mjs} +2 -2
  11. package/dist/{chunk-NFBOSPNJ.js → chunk-G6UE6MEP.js} +59 -19
  12. package/dist/chunk-G6UE6MEP.js.map +1 -0
  13. package/dist/{chunk-YNCQSWQW.js → chunk-S4YJ5WCW.js} +8 -8
  14. package/dist/{chunk-YNCQSWQW.js.map → chunk-S4YJ5WCW.js.map} +1 -1
  15. package/dist/{chunk-3NLAXVIN.js → chunk-TY5FYP3G.js} +917 -881
  16. package/dist/chunk-TY5FYP3G.js.map +1 -0
  17. package/dist/{chunk-WC63PJSC.mjs → chunk-VC5A3AUZ.mjs} +61 -21
  18. package/dist/chunk-VC5A3AUZ.mjs.map +1 -0
  19. package/dist/{chunk-6DC2WVVB.mjs → chunk-W7F5BDSV.mjs} +2 -2
  20. package/dist/{chunk-5PPG6PL7.js → chunk-WPYT4UKJ.js} +3 -3
  21. package/dist/{chunk-5PPG6PL7.js.map → chunk-WPYT4UKJ.js.map} +1 -1
  22. package/dist/{chunk-EUKTBOI2.mjs → chunk-X5WIUUNG.mjs} +1471 -1435
  23. package/dist/chunk-X5WIUUNG.mjs.map +1 -0
  24. package/dist/{chunk-YW4ZCEWB.js → chunk-YDYVJM4I.js} +4 -4
  25. package/dist/{chunk-YW4ZCEWB.js.map → chunk-YDYVJM4I.js.map} +1 -1
  26. package/dist/client/index.js +5 -5
  27. package/dist/client/index.js.map +1 -1
  28. package/dist/client/index.mjs +4 -4
  29. package/dist/components/editors/server.d.mts +15 -0
  30. package/dist/components/editors/server.d.ts +15 -0
  31. package/dist/components/editors/server.js +38 -0
  32. package/dist/components/editors/server.js.map +1 -0
  33. package/dist/components/editors/server.mjs +38 -0
  34. package/dist/components/editors/server.mjs.map +1 -0
  35. package/dist/components/index.d.mts +33 -10
  36. package/dist/components/index.d.ts +33 -10
  37. package/dist/components/index.js +7 -5
  38. package/dist/components/index.js.map +1 -1
  39. package/dist/components/index.mjs +8 -6
  40. package/dist/contexts/index.d.mts +9 -1
  41. package/dist/contexts/index.d.ts +9 -1
  42. package/dist/contexts/index.js +5 -5
  43. package/dist/contexts/index.mjs +4 -4
  44. package/dist/core/index.js +4 -4
  45. package/dist/core/index.js.map +1 -1
  46. package/dist/core/index.mjs +3 -3
  47. package/dist/email-automations/index.d.mts +3 -0
  48. package/dist/email-automations/index.d.ts +3 -0
  49. package/dist/email-automations/index.js +99 -95
  50. package/dist/email-automations/index.js.map +1 -1
  51. package/dist/email-automations/index.mjs +30 -26
  52. package/dist/email-automations/index.mjs.map +1 -1
  53. package/dist/features/analytics/index.d.mts +11 -4
  54. package/dist/features/analytics/index.d.ts +11 -4
  55. package/dist/features/analytics/index.js +127 -135
  56. package/dist/features/analytics/index.js.map +1 -1
  57. package/dist/features/analytics/index.mjs +16 -24
  58. package/dist/features/analytics/index.mjs.map +1 -1
  59. package/dist/features/analytics/server.d.mts +5 -2
  60. package/dist/features/analytics/server.d.ts +5 -2
  61. package/dist/features/analytics/server.js +7 -7
  62. package/dist/features/analytics/server.js.map +1 -1
  63. package/dist/features/analytics/server.mjs +5 -5
  64. package/dist/features/analytics/server.mjs.map +1 -1
  65. package/dist/features/blog/index.d.mts +12 -2
  66. package/dist/features/blog/index.d.ts +12 -2
  67. package/dist/features/blog/index.js +206 -195
  68. package/dist/features/blog/index.js.map +1 -1
  69. package/dist/features/blog/index.mjs +71 -60
  70. package/dist/features/blog/index.mjs.map +1 -1
  71. package/dist/features/blog/server.d.mts +4 -1
  72. package/dist/features/blog/server.d.ts +4 -1
  73. package/dist/features/blog/server.js +49 -21
  74. package/dist/features/blog/server.js.map +1 -1
  75. package/dist/features/blog/server.mjs +36 -8
  76. package/dist/features/blog/server.mjs.map +1 -1
  77. package/dist/features/help/index.js +38 -38
  78. package/dist/features/help/index.mjs +4 -4
  79. package/dist/features/tokenusage/index.d.mts +1 -3
  80. package/dist/features/tokenusage/index.d.ts +1 -3
  81. package/dist/features/tokenusage/index.js +127 -135
  82. package/dist/features/tokenusage/index.js.map +1 -1
  83. package/dist/features/tokenusage/index.mjs +10 -18
  84. package/dist/features/tokenusage/index.mjs.map +1 -1
  85. package/dist/index.js +5 -5
  86. package/dist/index.js.map +1 -1
  87. package/dist/index.mjs +4 -4
  88. package/dist/server/index.js +4 -4
  89. package/dist/server/index.mjs +3 -3
  90. package/package.json +9 -1
  91. package/src/components/editors/server/BlockNoteServerContent.tsx +28 -0
  92. package/src/components/editors/server/__tests__/renderBlockNoteHTML.spec.ts +44 -0
  93. package/src/components/editors/server/renderBlockNoteHTML.ts +26 -0
  94. package/src/components/editors/server-entry.ts +7 -0
  95. package/src/components/index.ts +1 -0
  96. package/src/components/viewers/BlockNoteStaticViewer.tsx +44 -0
  97. package/src/features/administration/components/AdminIndexContainer.tsx +61 -33
  98. package/src/features/administration/components/__tests__/AdminIndexContainer.spec.tsx +61 -1
  99. package/src/features/administration/components/index.ts +2 -1
  100. package/src/features/administration/contexts/AdministrationContext.tsx +11 -3
  101. package/src/features/administration/contexts/__tests__/AdministrationContext.spec.tsx +40 -0
  102. package/src/features/ai-connection/ai-connection.module.ts +2 -0
  103. package/src/features/ai-connection/contexts/AiConnectionsContext.tsx +3 -16
  104. package/src/features/ai-connection/contexts/__tests__/AiConnectionsContext.spec.tsx +33 -0
  105. package/src/features/analytics/__tests__/server-entry.spec.tsx +2 -1
  106. package/src/features/analytics/analytics.modules.ts +22 -5
  107. package/src/features/analytics/components/AnalyticsAdminContainer.tsx +4 -3
  108. package/src/features/analytics/components/AnalyticsAdminPageContainer.tsx +6 -3
  109. package/src/features/analytics/components/AnalyticsJourneyContainer.tsx +4 -3
  110. package/src/features/analytics/components/__tests__/AnalyticsJourneyContainer.spec.tsx +11 -0
  111. package/src/features/analytics/components/__tests__/AnalyticsPageContainers.spec.tsx +12 -1
  112. package/src/features/analytics/components/server/AnalyticsAdminPage.tsx +6 -3
  113. package/src/features/analytics/contexts/AnalyticsAdminContext.tsx +8 -17
  114. package/src/features/analytics/contexts/__tests__/AnalyticsAdminContext.spec.tsx +17 -0
  115. package/src/features/billing/stripe-price/stripe-price.module.ts +2 -0
  116. package/src/features/billing/stripe-product/stripe-product.module.ts +2 -0
  117. package/src/features/blog/components/admin/BlogAdminContainer.tsx +13 -6
  118. package/src/features/blog/components/admin/BlogCategoriesList.tsx +1 -1
  119. package/src/features/blog/components/admin/BlogCoverImageField.tsx +1 -1
  120. package/src/features/blog/components/admin/BlogPostContainer.tsx +0 -1
  121. package/src/features/blog/components/admin/BlogPostEditor.tsx +42 -33
  122. package/src/features/blog/components/admin/BlogPostTranslationEditor.tsx +12 -4
  123. package/src/features/blog/components/admin/BlogPostsList.tsx +1 -1
  124. package/src/features/blog/components/public/BlogPostCard.tsx +2 -9
  125. package/src/features/blog/components/public/BlogPostMeta.tsx +2 -2
  126. package/src/features/blog/components/public/BlogPostView.tsx +9 -3
  127. package/src/features/blog/components/public/__tests__/BlogList.spec.tsx +2 -0
  128. package/src/features/blog/components/public/__tests__/BlogPostView.spec.tsx +17 -11
  129. package/src/features/blog/server/fetchers.ts +57 -8
  130. package/src/features/email-automation/components/containers/EmailAutomationsListContainer.tsx +12 -3
  131. package/src/features/rbac/contexts/RbacContext.tsx +4 -7
  132. package/src/features/rbac/contexts/__tests__/RbacContext.spec.tsx +42 -0
  133. package/src/features/tokenusage/components/TokenUsageAdminContainer.tsx +4 -3
  134. package/src/features/tokenusage/contexts/TokenUsageAdminContext.tsx +3 -18
  135. package/src/features/tokenusage/contexts/__tests__/TokenUsageAdminContext.spec.tsx +17 -0
  136. package/src/features/tokenusage/tokenusage-admin.module.ts +4 -3
  137. package/src/features/tokenusage/tokenusage.modules.ts +12 -2
  138. package/src/features/user/contexts/UserContext.tsx +18 -3
  139. package/src/features/user/contexts/__tests__/UserContext.spec.tsx +95 -0
  140. package/dist/chunk-3NLAXVIN.js.map +0 -1
  141. package/dist/chunk-EUKTBOI2.mjs.map +0 -1
  142. package/dist/chunk-NFBOSPNJ.js.map +0 -1
  143. package/dist/chunk-WC63PJSC.mjs.map +0 -1
  144. /package/dist/{BlockNoteEditor-YQL2SGFR.mjs.map → BlockNoteEditor-GVQCKRMU.mjs.map} +0 -0
  145. /package/dist/{BlockNoteViewer-AEJKJ27Q.mjs.map → BlockNoteViewer-U6E3DS4F.mjs.map} +0 -0
  146. /package/dist/{chunk-XCHSX3VC.mjs.map → chunk-3CGROPF3.mjs.map} +0 -0
  147. /package/dist/{chunk-QMYQRPQC.mjs.map → chunk-6SQYXUVP.mjs.map} +0 -0
  148. /package/dist/{chunk-6DC2WVVB.mjs.map → chunk-W7F5BDSV.mjs.map} +0 -0
package/dist/index.js CHANGED
@@ -19,7 +19,7 @@
19
19
 
20
20
 
21
21
 
22
- var _chunkYNCQSWQWjs = require('./chunk-YNCQSWQW.js');
22
+ var _chunkS4YJ5WCWjs = require('./chunk-S4YJ5WCW.js');
23
23
 
24
24
 
25
25
 
@@ -286,9 +286,7 @@ var _chunkG4JR3SFVjs = require('./chunk-G4JR3SFV.js');
286
286
 
287
287
 
288
288
 
289
- var _chunkNFBOSPNJjs = require('./chunk-NFBOSPNJ.js');
290
- require('./chunk-LXKSUWAV.js');
291
- require('./chunk-JTPRJNT2.js');
289
+ var _chunkG6UE6MEPjs = require('./chunk-G6UE6MEP.js');
292
290
 
293
291
 
294
292
 
@@ -301,6 +299,8 @@ require('./chunk-JTPRJNT2.js');
301
299
 
302
300
 
303
301
  var _chunkGHE4VT2Rjs = require('./chunk-GHE4VT2R.js');
302
+ require('./chunk-LXKSUWAV.js');
303
+ require('./chunk-JTPRJNT2.js');
304
304
  require('./chunk-7QVYU63E.js');
305
305
 
306
306
 
@@ -597,5 +597,5 @@ require('./chunk-7QVYU63E.js');
597
597
 
598
598
 
599
599
 
600
- exports.ACTION_TYPES = _chunkYNCQSWQWjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkNFBOSPNJjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkNFBOSPNJjs.AbstractApiData; exports.AbstractService = _chunkNFBOSPNJjs.AbstractService; exports.Action = _chunkNFBOSPNJjs.Action; exports.AiConnection = _chunkNFBOSPNJjs.AiConnection; exports.AiConnectionFields = _chunkNFBOSPNJjs.AiConnectionFields; exports.AiConnectionModule = _chunkNFBOSPNJjs.AiConnectionModule; exports.AiConnectionService = _chunkNFBOSPNJjs.AiConnectionService; exports.Assistant = _chunkNFBOSPNJjs.Assistant; exports.AssistantAction = _chunkNFBOSPNJjs.AssistantAction; exports.AssistantActionModule = _chunkNFBOSPNJjs.AssistantActionModule; exports.AssistantActionService = _chunkNFBOSPNJjs.AssistantActionService; exports.AssistantMessage = _chunkNFBOSPNJjs.AssistantMessage; exports.AssistantMessageModule = _chunkNFBOSPNJjs.AssistantMessageModule; exports.AssistantMessageService = _chunkNFBOSPNJjs.AssistantMessageService; exports.AssistantModule = _chunkNFBOSPNJjs.AssistantModule; exports.AssistantService = _chunkNFBOSPNJjs.AssistantService; exports.AuditLog = _chunkNFBOSPNJjs.AuditLog; exports.AuditLogModule = _chunkNFBOSPNJjs.AuditLogModule; exports.AuditLogService = _chunkNFBOSPNJjs.AuditLogService; exports.Auth = _chunkNFBOSPNJjs.Auth; exports.AuthComponent = _chunkNFBOSPNJjs.AuthComponent; exports.AuthModule = _chunkNFBOSPNJjs.AuthModule; exports.AuthService = _chunkNFBOSPNJjs.AuthService; exports.AuthorModule = _chunkNFBOSPNJjs.AuthorModule; exports.BackupCodeVerify = _chunkNFBOSPNJjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkNFBOSPNJjs.BackupCodeVerifyModule; exports.Billing = _chunkNFBOSPNJjs.Billing; exports.BillingModule = _chunkNFBOSPNJjs.BillingModule; exports.BillingService = _chunkNFBOSPNJjs.BillingService; exports.BlockNoteDiffUtil = _chunkNFBOSPNJjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkNFBOSPNJjs.BlockNoteWordDiffRendererUtil; exports.BlogCategory = _chunkNFBOSPNJjs.BlogCategory; exports.BlogCategoryFields = _chunkNFBOSPNJjs.BlogCategoryFields; exports.BlogCategoryModule = _chunkNFBOSPNJjs.BlogCategoryModule; exports.BlogCategoryService = _chunkNFBOSPNJjs.BlogCategoryService; exports.BlogCategoryTranslation = _chunkNFBOSPNJjs.BlogCategoryTranslation; exports.BlogCategoryTranslationModule = _chunkNFBOSPNJjs.BlogCategoryTranslationModule; exports.BlogCategoryTranslationService = _chunkNFBOSPNJjs.BlogCategoryTranslationService; exports.BlogPost = _chunkNFBOSPNJjs.BlogPost; exports.BlogPostFields = _chunkNFBOSPNJjs.BlogPostFields; exports.BlogPostModule = _chunkNFBOSPNJjs.BlogPostModule; exports.BlogPostService = _chunkNFBOSPNJjs.BlogPostService; exports.BlogPostTranslation = _chunkNFBOSPNJjs.BlogPostTranslation; exports.BlogPostTranslationModule = _chunkNFBOSPNJjs.BlogPostTranslationModule; exports.BlogPostTranslationService = _chunkNFBOSPNJjs.BlogPostTranslationService; exports.BlogSettings = _chunkNFBOSPNJjs.BlogSettings; exports.BlogSettingsModule = _chunkNFBOSPNJjs.BlogSettingsModule; exports.BlogSettingsService = _chunkNFBOSPNJjs.BlogSettingsService; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkYNCQSWQWjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.CURRENT_USER_STORAGE_KEY = _chunkNFBOSPNJjs.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunkNFBOSPNJjs.Chunk; exports.ChunkModule = _chunkNFBOSPNJjs.ChunkModule; exports.ClientAbstractService = _chunkNFBOSPNJjs.ClientAbstractService; exports.ClientHttpMethod = _chunkNFBOSPNJjs.ClientHttpMethod; exports.Company = _chunkNFBOSPNJjs.Company; exports.CompanyFields = _chunkNFBOSPNJjs.CompanyFields; exports.CompanyModule = _chunkNFBOSPNJjs.CompanyModule; exports.CompanyService = _chunkNFBOSPNJjs.CompanyService; exports.Content = _chunkNFBOSPNJjs.Content; exports.ContentFields = _chunkNFBOSPNJjs.ContentFields; exports.ContentModule = _chunkNFBOSPNJjs.ContentModule; exports.ContentService = _chunkNFBOSPNJjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkNFBOSPNJjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkGHE4VT2Rjs.DataClassRegistry; exports.DataClassRegistry = _chunkGHE4VT2Rjs.DataClassRegistry; exports.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE = _chunkNFBOSPNJjs.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE; exports.ENV = _chunkGHE4VT2Rjs.ENV; exports.EmailAutomation = _chunkNFBOSPNJjs.EmailAutomation; exports.EmailAutomationEnrollment = _chunkNFBOSPNJjs.EmailAutomationEnrollment; exports.EmailAutomationEnrollmentFields = _chunkNFBOSPNJjs.EmailAutomationEnrollmentFields; exports.EmailAutomationEnrollmentModule = _chunkNFBOSPNJjs.EmailAutomationEnrollmentModule; exports.EmailAutomationEnrollmentService = _chunkNFBOSPNJjs.EmailAutomationEnrollmentService; exports.EmailAutomationFields = _chunkNFBOSPNJjs.EmailAutomationFields; exports.EmailAutomationModule = _chunkNFBOSPNJjs.EmailAutomationModule; exports.EmailAutomationService = _chunkNFBOSPNJjs.EmailAutomationService; exports.EmailAutomationStep = _chunkNFBOSPNJjs.EmailAutomationStep; exports.EmailAutomationStepModule = _chunkNFBOSPNJjs.EmailAutomationStepModule; exports.EmailAutomationStepService = _chunkNFBOSPNJjs.EmailAutomationStepService; exports.EmailAutomationTrigger = _chunkNFBOSPNJjs.EmailAutomationTrigger; exports.EmailAutomationTriggerModule = _chunkNFBOSPNJjs.EmailAutomationTriggerModule; exports.EndpointCreator = _chunkNFBOSPNJjs.EndpointCreator; exports.EntityAiStatus = _chunkNFBOSPNJjs.EntityAiStatus; exports.Feature = _chunkNFBOSPNJjs.Feature; exports.FeatureModule = _chunkNFBOSPNJjs.FeatureModule; exports.FeatureService = _chunkNFBOSPNJjs.FeatureService; exports.HandbookPage = _chunkNFBOSPNJjs.HandbookPage; exports.HandbookPageFields = _chunkNFBOSPNJjs.HandbookPageFields; exports.HandbookPageModule = _chunkNFBOSPNJjs.HandbookPageModule; exports.HandbookPageService = _chunkNFBOSPNJjs.HandbookPageService; exports.HandbookSection = _chunkNFBOSPNJjs.HandbookSection; exports.HandbookSectionModule = _chunkNFBOSPNJjs.HandbookSectionModule; exports.HandbookSectionService = _chunkNFBOSPNJjs.HandbookSectionService; exports.HandbookThread = _chunkNFBOSPNJjs.HandbookThread; exports.HandbookThreadMessage = _chunkNFBOSPNJjs.HandbookThreadMessage; exports.HandbookThreadMessageModule = _chunkNFBOSPNJjs.HandbookThreadMessageModule; exports.HandbookThreadMessageService = _chunkNFBOSPNJjs.HandbookThreadMessageService; exports.HandbookThreadModule = _chunkNFBOSPNJjs.HandbookThreadModule; exports.HandbookThreadService = _chunkNFBOSPNJjs.HandbookThreadService; exports.HowTo = _chunkNFBOSPNJjs.HowTo; exports.HowToFields = _chunkNFBOSPNJjs.HowToFields; exports.HowToModule = _chunkNFBOSPNJjs.HowToModule; exports.HowToService = _chunkNFBOSPNJjs.HowToService; exports.HttpMethod = _chunkNFBOSPNJjs.HttpMethod; exports.InvoiceStatus = _chunkNFBOSPNJjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkGHE4VT2Rjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkNFBOSPNJjs.MOBILE_BREAKPOINT; exports.Module = _chunkNFBOSPNJjs.Module; exports.ModuleModule = _chunkNFBOSPNJjs.ModuleModule; exports.ModulePaths = _chunkNFBOSPNJjs.ModulePaths; exports.ModulePathsModule = _chunkNFBOSPNJjs.ModulePathsModule; exports.ModuleRegistrar = _chunkNFBOSPNJjs.ModuleRegistrar; exports.ModuleRegistry = _chunkNFBOSPNJjs.ModuleRegistry; exports.Modules = _chunkNFBOSPNJjs.Modules; exports.Notification = _chunkNFBOSPNJjs.Notification; exports.NotificationFields = _chunkNFBOSPNJjs.NotificationFields; exports.NotificationModule = _chunkNFBOSPNJjs.NotificationModule; exports.NotificationService = _chunkNFBOSPNJjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkNFBOSPNJjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkNFBOSPNJjs.OAuthClient; exports.OAuthModule = _chunkNFBOSPNJjs.OAuthModule; exports.OAuthService = _chunkNFBOSPNJjs.OAuthService; exports.Passkey = _chunkNFBOSPNJjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkNFBOSPNJjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkNFBOSPNJjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkNFBOSPNJjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkNFBOSPNJjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkNFBOSPNJjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkNFBOSPNJjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkNFBOSPNJjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkNFBOSPNJjs.PasskeyRename; exports.PasskeyRenameModule = _chunkNFBOSPNJjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkNFBOSPNJjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkNFBOSPNJjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkNFBOSPNJjs.PaymentMethod; exports.PermissionMapping = _chunkNFBOSPNJjs.PermissionMapping; exports.PermissionMappingModule = _chunkNFBOSPNJjs.PermissionMappingModule; exports.Push = _chunkNFBOSPNJjs.Push; exports.PushModule = _chunkNFBOSPNJjs.PushModule; exports.PushService = _chunkNFBOSPNJjs.PushService; exports.RbacMatrixModel = _chunkNFBOSPNJjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkNFBOSPNJjs.RbacMatrixModule; exports.RbacService = _chunkYNCQSWQWjs.RbacService; exports.ReferralModule = _chunkNFBOSPNJjs.ReferralModule; exports.ReferralService = _chunkNFBOSPNJjs.ReferralService; exports.ReferralStats = _chunkNFBOSPNJjs.ReferralStats; exports.ReferralStatsModule = _chunkNFBOSPNJjs.ReferralStatsModule; exports.RehydrationFactory = _chunkNFBOSPNJjs.RehydrationFactory; exports.Role = _chunkNFBOSPNJjs.Role; exports.RoleFields = _chunkNFBOSPNJjs.RoleFields; exports.RoleModule = _chunkNFBOSPNJjs.RoleModule; exports.RoleService = _chunkNFBOSPNJjs.RoleService; exports.S3 = _chunkNFBOSPNJjs.S3; exports.S3Module = _chunkNFBOSPNJjs.S3Module; exports.S3Service = _chunkNFBOSPNJjs.S3Service; exports.SIGNUP_SOURCE_COOKIE = _chunkYNCQSWQWjs.SIGNUP_SOURCE_COOKIE; exports.SIGNUP_SOURCE_COOKIE_MAX_AGE = _chunkYNCQSWQWjs.SIGNUP_SOURCE_COOKIE_MAX_AGE; exports.StripeCustomer = _chunkNFBOSPNJjs.StripeCustomer; exports.StripeCustomerModule = _chunkNFBOSPNJjs.StripeCustomerModule; exports.StripeCustomerService = _chunkNFBOSPNJjs.StripeCustomerService; exports.StripeInvoice = _chunkNFBOSPNJjs.StripeInvoice; exports.StripeInvoiceModule = _chunkNFBOSPNJjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkNFBOSPNJjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkNFBOSPNJjs.StripePaymentMethodModule; exports.StripePrice = _chunkNFBOSPNJjs.StripePrice; exports.StripePriceFields = _chunkNFBOSPNJjs.StripePriceFields; exports.StripePriceModule = _chunkNFBOSPNJjs.StripePriceModule; exports.StripePriceService = _chunkNFBOSPNJjs.StripePriceService; exports.StripeProduct = _chunkNFBOSPNJjs.StripeProduct; exports.StripeProductFields = _chunkNFBOSPNJjs.StripeProductFields; exports.StripeProductModule = _chunkNFBOSPNJjs.StripeProductModule; exports.StripeProductService = _chunkNFBOSPNJjs.StripeProductService; exports.StripePromotionCode = _chunkNFBOSPNJjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkNFBOSPNJjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkNFBOSPNJjs.StripePromotionCodeService; exports.StripeSubscription = _chunkNFBOSPNJjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkNFBOSPNJjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkNFBOSPNJjs.StripeSubscriptionService; exports.StripeUsage = _chunkNFBOSPNJjs.StripeUsage; exports.StripeUsageModule = _chunkNFBOSPNJjs.StripeUsageModule; exports.StripeUsageService = _chunkNFBOSPNJjs.StripeUsageService; exports.SubscriptionStatus = _chunkNFBOSPNJjs.SubscriptionStatus; exports.TableOptions = _chunkNFBOSPNJjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkNFBOSPNJjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkNFBOSPNJjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkNFBOSPNJjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkNFBOSPNJjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkNFBOSPNJjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkNFBOSPNJjs.TotpSetup; exports.TotpSetupModule = _chunkNFBOSPNJjs.TotpSetupModule; exports.TotpVerify = _chunkNFBOSPNJjs.TotpVerify; exports.TotpVerifyLogin = _chunkNFBOSPNJjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkNFBOSPNJjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkNFBOSPNJjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkNFBOSPNJjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkNFBOSPNJjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkNFBOSPNJjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkNFBOSPNJjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkNFBOSPNJjs.TwoFactorService; exports.TwoFactorStatus = _chunkNFBOSPNJjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkNFBOSPNJjs.TwoFactorStatusModule; exports.User = _chunkNFBOSPNJjs.User; exports.UserFields = _chunkNFBOSPNJjs.UserFields; exports.UserModule = _chunkNFBOSPNJjs.UserModule; exports.UserService = _chunkNFBOSPNJjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkNFBOSPNJjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkNFBOSPNJjs.Waitlist; exports.WaitlistFields = _chunkNFBOSPNJjs.WaitlistFields; exports.WaitlistModule = _chunkNFBOSPNJjs.WaitlistModule; exports.WaitlistService = _chunkNFBOSPNJjs.WaitlistService; exports.WaitlistStats = _chunkNFBOSPNJjs.WaitlistStats; exports.WaitlistStatsModule = _chunkNFBOSPNJjs.WaitlistStatsModule; exports.analyticsModules = _chunkNFBOSPNJjs.analyticsModules; exports.captureSignupSource = _chunkYNCQSWQWjs.captureSignupSource; exports.checkPermissions = _chunkNFBOSPNJjs.checkPermissions; exports.checkPermissionsFromServer = _chunkNFBOSPNJjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkNFBOSPNJjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkNFBOSPNJjs.clearLastApiTotal; exports.cn = _chunkNFBOSPNJjs.cn; exports.composeRefs = _chunkNFBOSPNJjs.composeRefs; exports.configureAuth = _chunkNFBOSPNJjs.configureAuth; exports.configureI18n = _chunkNFBOSPNJjs.configureI18n; exports.configureJsonApi = _chunkYNCQSWQWjs.configureJsonApi; exports.configureLogin = _chunkYNCQSWQWjs.configureLogin; exports.configureReferral = _chunkYNCQSWQWjs.configureReferral; exports.configureRoles = _chunkG4JR3SFVjs.configureRoles; exports.configureTokenUsage = _chunkNFBOSPNJjs.configureTokenUsage; exports.configureWaitlist = _chunkYNCQSWQWjs.configureWaitlist; exports.createJsonApiInclusion = _chunkNFBOSPNJjs.createJsonApiInclusion; exports.dateFormatLocale = _chunkNFBOSPNJjs.dateFormatLocale; exports.dismissToast = _chunkNFBOSPNJjs.dismissToast; exports.entityObjectSchema = _chunkNFBOSPNJjs.entityObjectSchema; exports.exists = _chunkNFBOSPNJjs.exists; exports.formatCodiceFiscale = _chunkNFBOSPNJjs.formatCodiceFiscale; exports.formatDate = _chunkNFBOSPNJjs.formatDate; exports.formatLocalDate = _chunkNFBOSPNJjs.formatLocalDate; exports.formatPartitaIva = _chunkNFBOSPNJjs.formatPartitaIva; exports.getApiUrl = _chunkYNCQSWQWjs.getApiUrl; exports.getAppUrl = _chunkYNCQSWQWjs.getAppUrl; exports.getBootstrapper = _chunkGHE4VT2Rjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkNFBOSPNJjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkNFBOSPNJjs.getGlobalErrorHandler; exports.getIcon = _chunkNFBOSPNJjs.getIcon; exports.getIconByModule = _chunkNFBOSPNJjs.getIconByModule; exports.getIconByModuleName = _chunkNFBOSPNJjs.getIconByModuleName; exports.getInitials = _chunkNFBOSPNJjs.getInitials; exports.getLastApiMeta = _chunkNFBOSPNJjs.getLastApiMeta; exports.getLastApiTotal = _chunkNFBOSPNJjs.getLastApiTotal; exports.getLucideIcon = _chunkNFBOSPNJjs.getLucideIcon; exports.getLucideIconByModule = _chunkNFBOSPNJjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkNFBOSPNJjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkYNCQSWQWjs.getPublicApiUrl; exports.getReferralConfig = _chunkYNCQSWQWjs.getReferralConfig; exports.getRoleId = _chunkG4JR3SFVjs.getRoleId; exports.getSignupSource = _chunkYNCQSWQWjs.getSignupSource; exports.getStripePublishableKey = _chunkYNCQSWQWjs.getStripePublishableKey; exports.getTableComponents = _chunkNFBOSPNJjs.getTableComponents; exports.getTableOptions = _chunkNFBOSPNJjs.getTableOptions; exports.getTokenHandler = _chunkNFBOSPNJjs.getTokenHandler; exports.getTokenUsageCurrency = _chunkNFBOSPNJjs.getTokenUsageCurrency; exports.getTrackablePages = _chunkYNCQSWQWjs.getTrackablePages; exports.getValueFromPath = _chunkNFBOSPNJjs.getValueFromPath; exports.getWaitlistConfig = _chunkYNCQSWQWjs.getWaitlistConfig; exports.handbookPageContent = _chunkNFBOSPNJjs.handbookPageContent; exports.handbookPageSummary = _chunkNFBOSPNJjs.handbookPageSummary; exports.handbookPageTitle = _chunkNFBOSPNJjs.handbookPageTitle; exports.handbookSectionSummary = _chunkNFBOSPNJjs.handbookSectionSummary; exports.handbookSectionTitle = _chunkNFBOSPNJjs.handbookSectionTitle; exports.hasBootstrapper = _chunkGHE4VT2Rjs.hasBootstrapper; exports.isReferralEnabled = _chunkYNCQSWQWjs.isReferralEnabled; exports.isRemoteImageSrc = _chunkNFBOSPNJjs.isRemoteImageSrc; exports.isRolesConfigured = _chunkG4JR3SFVjs.isRolesConfigured; exports.mergeMessages = _chunkNFBOSPNJjs.mergeMessages; exports.readSignupSourceFromLocation = _chunkYNCQSWQWjs.readSignupSourceFromLocation; exports.rehydrate = _chunkNFBOSPNJjs.rehydrate; exports.rehydrateList = _chunkNFBOSPNJjs.rehydrateList; exports.resetBootstrapStore = _chunkGHE4VT2Rjs.resetBootstrapStore; exports.setBootstrapper = _chunkGHE4VT2Rjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkNFBOSPNJjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkNFBOSPNJjs.setGlobalErrorHandler; exports.showCustomToast = _chunkNFBOSPNJjs.showCustomToast; exports.showError = _chunkNFBOSPNJjs.showError; exports.showToast = _chunkNFBOSPNJjs.showToast; exports.tokenUsageModules = _chunkNFBOSPNJjs.tokenUsageModules; exports.translateData = _chunkGHE4VT2Rjs.translateData; exports.translateResponse = _chunkGHE4VT2Rjs.translateResponse; exports.tryBootstrap = _chunkGHE4VT2Rjs.tryBootstrap; exports.useComposedRefs = _chunkNFBOSPNJjs.useComposedRefs; exports.useIsMobile = _chunkNFBOSPNJjs.useIsMobile; exports.userObjectSchema = _chunkNFBOSPNJjs.userObjectSchema; exports.validateCodiceFiscale = _chunkNFBOSPNJjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkNFBOSPNJjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkNFBOSPNJjs.validatePartitaIva;
600
+ exports.ACTION_TYPES = _chunkS4YJ5WCWjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkG6UE6MEPjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkG6UE6MEPjs.AbstractApiData; exports.AbstractService = _chunkG6UE6MEPjs.AbstractService; exports.Action = _chunkG6UE6MEPjs.Action; exports.AiConnection = _chunkG6UE6MEPjs.AiConnection; exports.AiConnectionFields = _chunkG6UE6MEPjs.AiConnectionFields; exports.AiConnectionModule = _chunkG6UE6MEPjs.AiConnectionModule; exports.AiConnectionService = _chunkG6UE6MEPjs.AiConnectionService; exports.Assistant = _chunkG6UE6MEPjs.Assistant; exports.AssistantAction = _chunkG6UE6MEPjs.AssistantAction; exports.AssistantActionModule = _chunkG6UE6MEPjs.AssistantActionModule; exports.AssistantActionService = _chunkG6UE6MEPjs.AssistantActionService; exports.AssistantMessage = _chunkG6UE6MEPjs.AssistantMessage; exports.AssistantMessageModule = _chunkG6UE6MEPjs.AssistantMessageModule; exports.AssistantMessageService = _chunkG6UE6MEPjs.AssistantMessageService; exports.AssistantModule = _chunkG6UE6MEPjs.AssistantModule; exports.AssistantService = _chunkG6UE6MEPjs.AssistantService; exports.AuditLog = _chunkG6UE6MEPjs.AuditLog; exports.AuditLogModule = _chunkG6UE6MEPjs.AuditLogModule; exports.AuditLogService = _chunkG6UE6MEPjs.AuditLogService; exports.Auth = _chunkG6UE6MEPjs.Auth; exports.AuthComponent = _chunkG6UE6MEPjs.AuthComponent; exports.AuthModule = _chunkG6UE6MEPjs.AuthModule; exports.AuthService = _chunkG6UE6MEPjs.AuthService; exports.AuthorModule = _chunkG6UE6MEPjs.AuthorModule; exports.BackupCodeVerify = _chunkG6UE6MEPjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkG6UE6MEPjs.BackupCodeVerifyModule; exports.Billing = _chunkG6UE6MEPjs.Billing; exports.BillingModule = _chunkG6UE6MEPjs.BillingModule; exports.BillingService = _chunkG6UE6MEPjs.BillingService; exports.BlockNoteDiffUtil = _chunkG6UE6MEPjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkG6UE6MEPjs.BlockNoteWordDiffRendererUtil; exports.BlogCategory = _chunkG6UE6MEPjs.BlogCategory; exports.BlogCategoryFields = _chunkG6UE6MEPjs.BlogCategoryFields; exports.BlogCategoryModule = _chunkG6UE6MEPjs.BlogCategoryModule; exports.BlogCategoryService = _chunkG6UE6MEPjs.BlogCategoryService; exports.BlogCategoryTranslation = _chunkG6UE6MEPjs.BlogCategoryTranslation; exports.BlogCategoryTranslationModule = _chunkG6UE6MEPjs.BlogCategoryTranslationModule; exports.BlogCategoryTranslationService = _chunkG6UE6MEPjs.BlogCategoryTranslationService; exports.BlogPost = _chunkG6UE6MEPjs.BlogPost; exports.BlogPostFields = _chunkG6UE6MEPjs.BlogPostFields; exports.BlogPostModule = _chunkG6UE6MEPjs.BlogPostModule; exports.BlogPostService = _chunkG6UE6MEPjs.BlogPostService; exports.BlogPostTranslation = _chunkG6UE6MEPjs.BlogPostTranslation; exports.BlogPostTranslationModule = _chunkG6UE6MEPjs.BlogPostTranslationModule; exports.BlogPostTranslationService = _chunkG6UE6MEPjs.BlogPostTranslationService; exports.BlogSettings = _chunkG6UE6MEPjs.BlogSettings; exports.BlogSettingsModule = _chunkG6UE6MEPjs.BlogSettingsModule; exports.BlogSettingsService = _chunkG6UE6MEPjs.BlogSettingsService; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkS4YJ5WCWjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.CURRENT_USER_STORAGE_KEY = _chunkG6UE6MEPjs.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunkG6UE6MEPjs.Chunk; exports.ChunkModule = _chunkG6UE6MEPjs.ChunkModule; exports.ClientAbstractService = _chunkG6UE6MEPjs.ClientAbstractService; exports.ClientHttpMethod = _chunkG6UE6MEPjs.ClientHttpMethod; exports.Company = _chunkG6UE6MEPjs.Company; exports.CompanyFields = _chunkG6UE6MEPjs.CompanyFields; exports.CompanyModule = _chunkG6UE6MEPjs.CompanyModule; exports.CompanyService = _chunkG6UE6MEPjs.CompanyService; exports.Content = _chunkG6UE6MEPjs.Content; exports.ContentFields = _chunkG6UE6MEPjs.ContentFields; exports.ContentModule = _chunkG6UE6MEPjs.ContentModule; exports.ContentService = _chunkG6UE6MEPjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkG6UE6MEPjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkGHE4VT2Rjs.DataClassRegistry; exports.DataClassRegistry = _chunkGHE4VT2Rjs.DataClassRegistry; exports.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE = _chunkG6UE6MEPjs.EMAIL_AUTOMATION_UNSUBSCRIBE_TYPE; exports.ENV = _chunkGHE4VT2Rjs.ENV; exports.EmailAutomation = _chunkG6UE6MEPjs.EmailAutomation; exports.EmailAutomationEnrollment = _chunkG6UE6MEPjs.EmailAutomationEnrollment; exports.EmailAutomationEnrollmentFields = _chunkG6UE6MEPjs.EmailAutomationEnrollmentFields; exports.EmailAutomationEnrollmentModule = _chunkG6UE6MEPjs.EmailAutomationEnrollmentModule; exports.EmailAutomationEnrollmentService = _chunkG6UE6MEPjs.EmailAutomationEnrollmentService; exports.EmailAutomationFields = _chunkG6UE6MEPjs.EmailAutomationFields; exports.EmailAutomationModule = _chunkG6UE6MEPjs.EmailAutomationModule; exports.EmailAutomationService = _chunkG6UE6MEPjs.EmailAutomationService; exports.EmailAutomationStep = _chunkG6UE6MEPjs.EmailAutomationStep; exports.EmailAutomationStepModule = _chunkG6UE6MEPjs.EmailAutomationStepModule; exports.EmailAutomationStepService = _chunkG6UE6MEPjs.EmailAutomationStepService; exports.EmailAutomationTrigger = _chunkG6UE6MEPjs.EmailAutomationTrigger; exports.EmailAutomationTriggerModule = _chunkG6UE6MEPjs.EmailAutomationTriggerModule; exports.EndpointCreator = _chunkG6UE6MEPjs.EndpointCreator; exports.EntityAiStatus = _chunkG6UE6MEPjs.EntityAiStatus; exports.Feature = _chunkG6UE6MEPjs.Feature; exports.FeatureModule = _chunkG6UE6MEPjs.FeatureModule; exports.FeatureService = _chunkG6UE6MEPjs.FeatureService; exports.HandbookPage = _chunkG6UE6MEPjs.HandbookPage; exports.HandbookPageFields = _chunkG6UE6MEPjs.HandbookPageFields; exports.HandbookPageModule = _chunkG6UE6MEPjs.HandbookPageModule; exports.HandbookPageService = _chunkG6UE6MEPjs.HandbookPageService; exports.HandbookSection = _chunkG6UE6MEPjs.HandbookSection; exports.HandbookSectionModule = _chunkG6UE6MEPjs.HandbookSectionModule; exports.HandbookSectionService = _chunkG6UE6MEPjs.HandbookSectionService; exports.HandbookThread = _chunkG6UE6MEPjs.HandbookThread; exports.HandbookThreadMessage = _chunkG6UE6MEPjs.HandbookThreadMessage; exports.HandbookThreadMessageModule = _chunkG6UE6MEPjs.HandbookThreadMessageModule; exports.HandbookThreadMessageService = _chunkG6UE6MEPjs.HandbookThreadMessageService; exports.HandbookThreadModule = _chunkG6UE6MEPjs.HandbookThreadModule; exports.HandbookThreadService = _chunkG6UE6MEPjs.HandbookThreadService; exports.HowTo = _chunkG6UE6MEPjs.HowTo; exports.HowToFields = _chunkG6UE6MEPjs.HowToFields; exports.HowToModule = _chunkG6UE6MEPjs.HowToModule; exports.HowToService = _chunkG6UE6MEPjs.HowToService; exports.HttpMethod = _chunkG6UE6MEPjs.HttpMethod; exports.InvoiceStatus = _chunkG6UE6MEPjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkGHE4VT2Rjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkG6UE6MEPjs.MOBILE_BREAKPOINT; exports.Module = _chunkG6UE6MEPjs.Module; exports.ModuleModule = _chunkG6UE6MEPjs.ModuleModule; exports.ModulePaths = _chunkG6UE6MEPjs.ModulePaths; exports.ModulePathsModule = _chunkG6UE6MEPjs.ModulePathsModule; exports.ModuleRegistrar = _chunkG6UE6MEPjs.ModuleRegistrar; exports.ModuleRegistry = _chunkG6UE6MEPjs.ModuleRegistry; exports.Modules = _chunkG6UE6MEPjs.Modules; exports.Notification = _chunkG6UE6MEPjs.Notification; exports.NotificationFields = _chunkG6UE6MEPjs.NotificationFields; exports.NotificationModule = _chunkG6UE6MEPjs.NotificationModule; exports.NotificationService = _chunkG6UE6MEPjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkG6UE6MEPjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkG6UE6MEPjs.OAuthClient; exports.OAuthModule = _chunkG6UE6MEPjs.OAuthModule; exports.OAuthService = _chunkG6UE6MEPjs.OAuthService; exports.Passkey = _chunkG6UE6MEPjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkG6UE6MEPjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkG6UE6MEPjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkG6UE6MEPjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkG6UE6MEPjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkG6UE6MEPjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkG6UE6MEPjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkG6UE6MEPjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkG6UE6MEPjs.PasskeyRename; exports.PasskeyRenameModule = _chunkG6UE6MEPjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkG6UE6MEPjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkG6UE6MEPjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkG6UE6MEPjs.PaymentMethod; exports.PermissionMapping = _chunkG6UE6MEPjs.PermissionMapping; exports.PermissionMappingModule = _chunkG6UE6MEPjs.PermissionMappingModule; exports.Push = _chunkG6UE6MEPjs.Push; exports.PushModule = _chunkG6UE6MEPjs.PushModule; exports.PushService = _chunkG6UE6MEPjs.PushService; exports.RbacMatrixModel = _chunkG6UE6MEPjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkG6UE6MEPjs.RbacMatrixModule; exports.RbacService = _chunkS4YJ5WCWjs.RbacService; exports.ReferralModule = _chunkG6UE6MEPjs.ReferralModule; exports.ReferralService = _chunkG6UE6MEPjs.ReferralService; exports.ReferralStats = _chunkG6UE6MEPjs.ReferralStats; exports.ReferralStatsModule = _chunkG6UE6MEPjs.ReferralStatsModule; exports.RehydrationFactory = _chunkG6UE6MEPjs.RehydrationFactory; exports.Role = _chunkG6UE6MEPjs.Role; exports.RoleFields = _chunkG6UE6MEPjs.RoleFields; exports.RoleModule = _chunkG6UE6MEPjs.RoleModule; exports.RoleService = _chunkG6UE6MEPjs.RoleService; exports.S3 = _chunkG6UE6MEPjs.S3; exports.S3Module = _chunkG6UE6MEPjs.S3Module; exports.S3Service = _chunkG6UE6MEPjs.S3Service; exports.SIGNUP_SOURCE_COOKIE = _chunkS4YJ5WCWjs.SIGNUP_SOURCE_COOKIE; exports.SIGNUP_SOURCE_COOKIE_MAX_AGE = _chunkS4YJ5WCWjs.SIGNUP_SOURCE_COOKIE_MAX_AGE; exports.StripeCustomer = _chunkG6UE6MEPjs.StripeCustomer; exports.StripeCustomerModule = _chunkG6UE6MEPjs.StripeCustomerModule; exports.StripeCustomerService = _chunkG6UE6MEPjs.StripeCustomerService; exports.StripeInvoice = _chunkG6UE6MEPjs.StripeInvoice; exports.StripeInvoiceModule = _chunkG6UE6MEPjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkG6UE6MEPjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkG6UE6MEPjs.StripePaymentMethodModule; exports.StripePrice = _chunkG6UE6MEPjs.StripePrice; exports.StripePriceFields = _chunkG6UE6MEPjs.StripePriceFields; exports.StripePriceModule = _chunkG6UE6MEPjs.StripePriceModule; exports.StripePriceService = _chunkG6UE6MEPjs.StripePriceService; exports.StripeProduct = _chunkG6UE6MEPjs.StripeProduct; exports.StripeProductFields = _chunkG6UE6MEPjs.StripeProductFields; exports.StripeProductModule = _chunkG6UE6MEPjs.StripeProductModule; exports.StripeProductService = _chunkG6UE6MEPjs.StripeProductService; exports.StripePromotionCode = _chunkG6UE6MEPjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkG6UE6MEPjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkG6UE6MEPjs.StripePromotionCodeService; exports.StripeSubscription = _chunkG6UE6MEPjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkG6UE6MEPjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkG6UE6MEPjs.StripeSubscriptionService; exports.StripeUsage = _chunkG6UE6MEPjs.StripeUsage; exports.StripeUsageModule = _chunkG6UE6MEPjs.StripeUsageModule; exports.StripeUsageService = _chunkG6UE6MEPjs.StripeUsageService; exports.SubscriptionStatus = _chunkG6UE6MEPjs.SubscriptionStatus; exports.TableOptions = _chunkG6UE6MEPjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkG6UE6MEPjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkG6UE6MEPjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkG6UE6MEPjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkG6UE6MEPjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkG6UE6MEPjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkG6UE6MEPjs.TotpSetup; exports.TotpSetupModule = _chunkG6UE6MEPjs.TotpSetupModule; exports.TotpVerify = _chunkG6UE6MEPjs.TotpVerify; exports.TotpVerifyLogin = _chunkG6UE6MEPjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkG6UE6MEPjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkG6UE6MEPjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkG6UE6MEPjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkG6UE6MEPjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkG6UE6MEPjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkG6UE6MEPjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkG6UE6MEPjs.TwoFactorService; exports.TwoFactorStatus = _chunkG6UE6MEPjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkG6UE6MEPjs.TwoFactorStatusModule; exports.User = _chunkG6UE6MEPjs.User; exports.UserFields = _chunkG6UE6MEPjs.UserFields; exports.UserModule = _chunkG6UE6MEPjs.UserModule; exports.UserService = _chunkG6UE6MEPjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkG6UE6MEPjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkG6UE6MEPjs.Waitlist; exports.WaitlistFields = _chunkG6UE6MEPjs.WaitlistFields; exports.WaitlistModule = _chunkG6UE6MEPjs.WaitlistModule; exports.WaitlistService = _chunkG6UE6MEPjs.WaitlistService; exports.WaitlistStats = _chunkG6UE6MEPjs.WaitlistStats; exports.WaitlistStatsModule = _chunkG6UE6MEPjs.WaitlistStatsModule; exports.analyticsModules = _chunkG6UE6MEPjs.analyticsModules; exports.captureSignupSource = _chunkS4YJ5WCWjs.captureSignupSource; exports.checkPermissions = _chunkG6UE6MEPjs.checkPermissions; exports.checkPermissionsFromServer = _chunkG6UE6MEPjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkG6UE6MEPjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkG6UE6MEPjs.clearLastApiTotal; exports.cn = _chunkG6UE6MEPjs.cn; exports.composeRefs = _chunkG6UE6MEPjs.composeRefs; exports.configureAuth = _chunkG6UE6MEPjs.configureAuth; exports.configureI18n = _chunkG6UE6MEPjs.configureI18n; exports.configureJsonApi = _chunkS4YJ5WCWjs.configureJsonApi; exports.configureLogin = _chunkS4YJ5WCWjs.configureLogin; exports.configureReferral = _chunkS4YJ5WCWjs.configureReferral; exports.configureRoles = _chunkG4JR3SFVjs.configureRoles; exports.configureTokenUsage = _chunkG6UE6MEPjs.configureTokenUsage; exports.configureWaitlist = _chunkS4YJ5WCWjs.configureWaitlist; exports.createJsonApiInclusion = _chunkG6UE6MEPjs.createJsonApiInclusion; exports.dateFormatLocale = _chunkG6UE6MEPjs.dateFormatLocale; exports.dismissToast = _chunkG6UE6MEPjs.dismissToast; exports.entityObjectSchema = _chunkG6UE6MEPjs.entityObjectSchema; exports.exists = _chunkG6UE6MEPjs.exists; exports.formatCodiceFiscale = _chunkG6UE6MEPjs.formatCodiceFiscale; exports.formatDate = _chunkG6UE6MEPjs.formatDate; exports.formatLocalDate = _chunkG6UE6MEPjs.formatLocalDate; exports.formatPartitaIva = _chunkG6UE6MEPjs.formatPartitaIva; exports.getApiUrl = _chunkS4YJ5WCWjs.getApiUrl; exports.getAppUrl = _chunkS4YJ5WCWjs.getAppUrl; exports.getBootstrapper = _chunkGHE4VT2Rjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkG6UE6MEPjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkG6UE6MEPjs.getGlobalErrorHandler; exports.getIcon = _chunkG6UE6MEPjs.getIcon; exports.getIconByModule = _chunkG6UE6MEPjs.getIconByModule; exports.getIconByModuleName = _chunkG6UE6MEPjs.getIconByModuleName; exports.getInitials = _chunkG6UE6MEPjs.getInitials; exports.getLastApiMeta = _chunkG6UE6MEPjs.getLastApiMeta; exports.getLastApiTotal = _chunkG6UE6MEPjs.getLastApiTotal; exports.getLucideIcon = _chunkG6UE6MEPjs.getLucideIcon; exports.getLucideIconByModule = _chunkG6UE6MEPjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkG6UE6MEPjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkS4YJ5WCWjs.getPublicApiUrl; exports.getReferralConfig = _chunkS4YJ5WCWjs.getReferralConfig; exports.getRoleId = _chunkG4JR3SFVjs.getRoleId; exports.getSignupSource = _chunkS4YJ5WCWjs.getSignupSource; exports.getStripePublishableKey = _chunkS4YJ5WCWjs.getStripePublishableKey; exports.getTableComponents = _chunkG6UE6MEPjs.getTableComponents; exports.getTableOptions = _chunkG6UE6MEPjs.getTableOptions; exports.getTokenHandler = _chunkG6UE6MEPjs.getTokenHandler; exports.getTokenUsageCurrency = _chunkG6UE6MEPjs.getTokenUsageCurrency; exports.getTrackablePages = _chunkS4YJ5WCWjs.getTrackablePages; exports.getValueFromPath = _chunkG6UE6MEPjs.getValueFromPath; exports.getWaitlistConfig = _chunkS4YJ5WCWjs.getWaitlistConfig; exports.handbookPageContent = _chunkG6UE6MEPjs.handbookPageContent; exports.handbookPageSummary = _chunkG6UE6MEPjs.handbookPageSummary; exports.handbookPageTitle = _chunkG6UE6MEPjs.handbookPageTitle; exports.handbookSectionSummary = _chunkG6UE6MEPjs.handbookSectionSummary; exports.handbookSectionTitle = _chunkG6UE6MEPjs.handbookSectionTitle; exports.hasBootstrapper = _chunkGHE4VT2Rjs.hasBootstrapper; exports.isReferralEnabled = _chunkS4YJ5WCWjs.isReferralEnabled; exports.isRemoteImageSrc = _chunkG6UE6MEPjs.isRemoteImageSrc; exports.isRolesConfigured = _chunkG4JR3SFVjs.isRolesConfigured; exports.mergeMessages = _chunkG6UE6MEPjs.mergeMessages; exports.readSignupSourceFromLocation = _chunkS4YJ5WCWjs.readSignupSourceFromLocation; exports.rehydrate = _chunkG6UE6MEPjs.rehydrate; exports.rehydrateList = _chunkG6UE6MEPjs.rehydrateList; exports.resetBootstrapStore = _chunkGHE4VT2Rjs.resetBootstrapStore; exports.setBootstrapper = _chunkGHE4VT2Rjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkG6UE6MEPjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkG6UE6MEPjs.setGlobalErrorHandler; exports.showCustomToast = _chunkG6UE6MEPjs.showCustomToast; exports.showError = _chunkG6UE6MEPjs.showError; exports.showToast = _chunkG6UE6MEPjs.showToast; exports.tokenUsageModules = _chunkG6UE6MEPjs.tokenUsageModules; exports.translateData = _chunkGHE4VT2Rjs.translateData; exports.translateResponse = _chunkGHE4VT2Rjs.translateResponse; exports.tryBootstrap = _chunkGHE4VT2Rjs.tryBootstrap; exports.useComposedRefs = _chunkG6UE6MEPjs.useComposedRefs; exports.useIsMobile = _chunkG6UE6MEPjs.useIsMobile; exports.userObjectSchema = _chunkG6UE6MEPjs.userObjectSchema; exports.validateCodiceFiscale = _chunkG6UE6MEPjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkG6UE6MEPjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkG6UE6MEPjs.validatePartitaIva;
601
601
  //# 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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;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;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;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;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;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;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,sDAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;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;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;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;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;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;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;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;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;AACA;AACA;AACA;AACA;AACA;AACF,qokBAAC","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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;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;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;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;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;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;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,sDAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;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;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;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;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;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;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;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;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;AACA;AACA;AACA;AACA;AACA;AACF,qokBAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"}
package/dist/index.mjs CHANGED
@@ -19,7 +19,7 @@ import {
19
19
  getWaitlistConfig,
20
20
  isReferralEnabled,
21
21
  readSignupSourceFromLocation
22
- } from "./chunk-QMYQRPQC.mjs";
22
+ } from "./chunk-6SQYXUVP.mjs";
23
23
  import {
24
24
  configureRoles,
25
25
  getRoleId,
@@ -286,9 +286,7 @@ import {
286
286
  validateCodiceFiscale,
287
287
  validateItalianTaxCode,
288
288
  validatePartitaIva
289
- } from "./chunk-WC63PJSC.mjs";
290
- import "./chunk-AUXK7QSA.mjs";
291
- import "./chunk-PI56A4DG.mjs";
289
+ } from "./chunk-VC5A3AUZ.mjs";
292
290
  import {
293
291
  DataClassRegistry,
294
292
  ENV,
@@ -301,6 +299,8 @@ import {
301
299
  translateResponse,
302
300
  tryBootstrap
303
301
  } from "./chunk-V5MI7RNB.mjs";
302
+ import "./chunk-AUXK7QSA.mjs";
303
+ import "./chunk-PI56A4DG.mjs";
304
304
  import "./chunk-PAWJFY3S.mjs";
305
305
  export {
306
306
  ACTION_TYPES,
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkYW4ZCEWBjs = require('../chunk-YW4ZCEWB.js');
6
+ var _chunkYDYVJM4Ijs = require('../chunk-YDYVJM4I.js');
7
7
 
8
8
 
9
9
  var _chunkIK65TDQHjs = require('../chunk-IK65TDQH.js');
@@ -35,10 +35,10 @@ require('../chunk-G4JR3SFV.js');
35
35
 
36
36
 
37
37
 
38
- var _chunkNFBOSPNJjs = require('../chunk-NFBOSPNJ.js');
38
+ var _chunkG6UE6MEPjs = require('../chunk-G6UE6MEP.js');
39
+ require('../chunk-GHE4VT2R.js');
39
40
  require('../chunk-LXKSUWAV.js');
40
41
  require('../chunk-JTPRJNT2.js');
41
- require('../chunk-GHE4VT2R.js');
42
42
  require('../chunk-7QVYU63E.js');
43
43
 
44
44
 
@@ -66,5 +66,5 @@ require('../chunk-7QVYU63E.js');
66
66
 
67
67
 
68
68
 
69
- exports.CACHE_PROFILES = _chunkIK65TDQHjs.CACHE_PROFILES; exports.ServerAuthService = _chunkNFBOSPNJjs.AuthService; exports.ServerCompanyService = _chunkNFBOSPNJjs.CompanyService; exports.ServerContentService = _chunkNFBOSPNJjs.ContentService; exports.ServerFeatureService = _chunkNFBOSPNJjs.FeatureService; exports.ServerJsonApiDelete = _chunkKSYQEKJXjs.ServerJsonApiDelete; exports.ServerJsonApiGet = _chunkKSYQEKJXjs.ServerJsonApiGet; exports.ServerJsonApiPatch = _chunkKSYQEKJXjs.ServerJsonApiPatch; exports.ServerJsonApiPost = _chunkKSYQEKJXjs.ServerJsonApiPost; exports.ServerJsonApiPut = _chunkKSYQEKJXjs.ServerJsonApiPut; exports.ServerNotificationService = _chunkNFBOSPNJjs.NotificationService; exports.ServerPushService = _chunkNFBOSPNJjs.PushService; exports.ServerRoleService = _chunkNFBOSPNJjs.RoleService; exports.ServerS3Service = _chunkNFBOSPNJjs.S3Service; exports.ServerSession = _chunkYW4ZCEWBjs.ServerSession; exports.ServerUserService = _chunkNFBOSPNJjs.UserService; exports.configureServerJsonApi = _chunkKSYQEKJXjs.configureServerJsonApi; exports.getServerApiUrl = _chunkKSYQEKJXjs.getServerApiUrl; exports.getServerAppUrl = _chunkKSYQEKJXjs.getServerAppUrl; exports.getServerToken = _chunkYUO55Q5Ajs.getServerToken; exports.getServerTrackablePages = _chunkKSYQEKJXjs.getServerTrackablePages; exports.invalidateCacheTag = _chunkYW4ZCEWBjs.invalidateCacheTag; exports.invalidateCacheTags = _chunkYW4ZCEWBjs.invalidateCacheTags; exports.serverRequest = _chunk6TUB7Y6Tjs.serverRequest; exports.updateCacheTag = _chunkYW4ZCEWBjs.updateCacheTag;
69
+ exports.CACHE_PROFILES = _chunkIK65TDQHjs.CACHE_PROFILES; exports.ServerAuthService = _chunkG6UE6MEPjs.AuthService; exports.ServerCompanyService = _chunkG6UE6MEPjs.CompanyService; exports.ServerContentService = _chunkG6UE6MEPjs.ContentService; exports.ServerFeatureService = _chunkG6UE6MEPjs.FeatureService; exports.ServerJsonApiDelete = _chunkKSYQEKJXjs.ServerJsonApiDelete; exports.ServerJsonApiGet = _chunkKSYQEKJXjs.ServerJsonApiGet; exports.ServerJsonApiPatch = _chunkKSYQEKJXjs.ServerJsonApiPatch; exports.ServerJsonApiPost = _chunkKSYQEKJXjs.ServerJsonApiPost; exports.ServerJsonApiPut = _chunkKSYQEKJXjs.ServerJsonApiPut; exports.ServerNotificationService = _chunkG6UE6MEPjs.NotificationService; exports.ServerPushService = _chunkG6UE6MEPjs.PushService; exports.ServerRoleService = _chunkG6UE6MEPjs.RoleService; exports.ServerS3Service = _chunkG6UE6MEPjs.S3Service; exports.ServerSession = _chunkYDYVJM4Ijs.ServerSession; exports.ServerUserService = _chunkG6UE6MEPjs.UserService; exports.configureServerJsonApi = _chunkKSYQEKJXjs.configureServerJsonApi; exports.getServerApiUrl = _chunkKSYQEKJXjs.getServerApiUrl; exports.getServerAppUrl = _chunkKSYQEKJXjs.getServerAppUrl; exports.getServerToken = _chunkYUO55Q5Ajs.getServerToken; exports.getServerTrackablePages = _chunkKSYQEKJXjs.getServerTrackablePages; exports.invalidateCacheTag = _chunkYDYVJM4Ijs.invalidateCacheTag; exports.invalidateCacheTags = _chunkYDYVJM4Ijs.invalidateCacheTags; exports.serverRequest = _chunk6TUB7Y6Tjs.serverRequest; exports.updateCacheTag = _chunkYDYVJM4Ijs.updateCacheTag;
70
70
  //# sourceMappingURL=index.js.map
@@ -3,7 +3,7 @@ import {
3
3
  invalidateCacheTag,
4
4
  invalidateCacheTags,
5
5
  updateCacheTag
6
- } from "../chunk-XCHSX3VC.mjs";
6
+ } from "../chunk-3CGROPF3.mjs";
7
7
  import {
8
8
  CACHE_PROFILES
9
9
  } from "../chunk-T7SAW3UW.mjs";
@@ -35,10 +35,10 @@ import {
35
35
  RoleService,
36
36
  S3Service,
37
37
  UserService
38
- } from "../chunk-WC63PJSC.mjs";
38
+ } from "../chunk-VC5A3AUZ.mjs";
39
+ import "../chunk-V5MI7RNB.mjs";
39
40
  import "../chunk-AUXK7QSA.mjs";
40
41
  import "../chunk-PI56A4DG.mjs";
41
- import "../chunk-V5MI7RNB.mjs";
42
42
  import "../chunk-PAWJFY3S.mjs";
43
43
  export {
44
44
  CACHE_PROFILES,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlonicora/nextjs-jsonapi",
3
- "version": "5.4.0",
3
+ "version": "5.5.0",
4
4
  "description": "Next.js JSON:API client with server/client support and caching",
5
5
  "author": "Carlo Nicora",
6
6
  "license": "GPL-3.0-or-later",
@@ -49,6 +49,11 @@
49
49
  "require": "./dist/contexts/index.js"
50
50
  },
51
51
  "./contexts/styles.css": "./dist/contexts/index.css",
52
+ "./blocknote/server": {
53
+ "types": "./dist/components/editors/server.d.ts",
54
+ "import": "./dist/components/editors/server.mjs",
55
+ "require": "./dist/components/editors/server.js"
56
+ },
52
57
  "./testing": {
53
58
  "types": "./dist/testing/index.d.ts",
54
59
  "import": "./dist/testing/index.mjs",
@@ -164,6 +169,7 @@
164
169
  "@base-ui/react": "1.8.0",
165
170
  "@blocknote/core": "^0.55.0",
166
171
  "@blocknote/react": "^0.55.0",
172
+ "@blocknote/server-util": "^0.55.0",
167
173
  "@blocknote/shadcn": "^0.55.0",
168
174
  "@blocknote/xl-ai": "^0.55.0",
169
175
  "@dnd-kit/core": "^6.3.1",
@@ -213,6 +219,8 @@
213
219
  "tw-animate-css": "^1.4.0",
214
220
  "uuid": "^14.0.2",
215
221
  "vaul": "^1.1.2",
222
+ "y-prosemirror": "^1.3.7",
223
+ "y-protocols": "^1.0.6",
216
224
  "zod": "^4.6.5"
217
225
  },
218
226
  "devDependencies": {
@@ -0,0 +1,28 @@
1
+ import type { PartialBlock } from "@blocknote/core";
2
+ import "@blocknote/shadcn/style.css";
3
+ // Imported through the package's own client subpath, like the analytics server
4
+ // pages: the built server entry must reach the viewer through the "use client"
5
+ // bundle, not inline it.
6
+ import { BlockNoteStaticViewer } from "@carlonicora/nextjs-jsonapi/components";
7
+ import { renderBlockNoteHTML } from "./renderBlockNoteHTML";
8
+
9
+ /**
10
+ * Read-only rich text rendered on the server, so the text is in the HTML that
11
+ * crawlers read. For public read-only pages only: everywhere else, display goes
12
+ * through BlockNoteEditorContainer.
13
+ */
14
+ export async function BlockNoteServerContent({
15
+ content,
16
+ size,
17
+ className,
18
+ }: {
19
+ content?: PartialBlock[];
20
+ size?: "default" | "sm";
21
+ className?: string;
22
+ }) {
23
+ if (!Array.isArray(content) || content.length === 0) return null;
24
+
25
+ const html = await renderBlockNoteHTML(content);
26
+
27
+ return <BlockNoteStaticViewer html={html} size={size} className={className} />;
28
+ }
@@ -0,0 +1,44 @@
1
+ // @vitest-environment node
2
+ // The server render runs in Node, where there is no window or document of our own:
3
+ // BlockNote's ServerBlockNoteEditor brings its JSDOM.
4
+ import type { PartialBlock } from "@blocknote/core";
5
+ import { describe, expect, it } from "vitest";
6
+ import { renderBlockNoteHTML } from "../renderBlockNoteHTML";
7
+
8
+ const blocks: PartialBlock[] = [
9
+ { type: "heading", props: { level: 2 }, content: "Prep situations" },
10
+ {
11
+ type: "paragraph",
12
+ content: [
13
+ { type: "text", text: "A scene that can go ", styles: {} },
14
+ { type: "text", text: "three ways", styles: { bold: true } },
15
+ ],
16
+ },
17
+ { type: "bulletListItem", content: "First clue" },
18
+ { type: "bulletListItem", content: "Second clue" },
19
+ {
20
+ type: "paragraph",
21
+ content: [{ type: "link", href: "https://example.com/guide", content: "Read the guide" }],
22
+ },
23
+ ];
24
+
25
+ describe("renderBlockNoteHTML", () => {
26
+ it("renders the blocks' text into HTML on the server", async () => {
27
+ const html = await renderBlockNoteHTML(blocks);
28
+
29
+ expect(html).toContain("Prep situations");
30
+ expect(html).toMatch(/<h2[^>]*>.*Prep situations.*<\/h2>/s);
31
+ expect(html).toMatch(/<strong[^>]*>three ways<\/strong>/);
32
+ expect(html).toContain("First clue");
33
+ expect(html).toContain("Second clue");
34
+ expect(html).toContain('href="https://example.com/guide"');
35
+ expect(html).toContain("Read the guide");
36
+ });
37
+
38
+ it("leaves the server globals as they were", async () => {
39
+ await Promise.all([renderBlockNoteHTML(blocks), renderBlockNoteHTML(blocks)]);
40
+
41
+ expect(typeof (globalThis as { window?: unknown }).window).toBe("undefined");
42
+ expect(typeof (globalThis as { document?: unknown }).document).toBe("undefined");
43
+ });
44
+ });
@@ -0,0 +1,26 @@
1
+ import type { PartialBlock } from "@blocknote/core";
2
+ import { ServerBlockNoteEditor } from "@blocknote/server-util";
3
+
4
+ // Default schema only, the same one BlockNoteViewer uses: the editor's mention
5
+ // and diff inline specs are React specs from "use client" modules (next/link,
6
+ // hover cards), so they cannot run here.
7
+ let editor: ServerBlockNoteEditor | undefined;
8
+
9
+ // ServerBlockNoteEditor swaps globalThis.window/document for its JSDOM around
10
+ // each call and restores them after an await. Two overlapping calls would
11
+ // restore each other's values and could leave the JSDOM window on the server's
12
+ // globals, so calls run one at a time.
13
+ let queue: Promise<unknown> = Promise.resolve();
14
+
15
+ /**
16
+ * Renders a BlockNote blocks array to the HTML the editor itself would render,
17
+ * through BlockNote's own server editor (`blocksToFullHTML`). Server only.
18
+ */
19
+ export function renderBlockNoteHTML(blocks: PartialBlock[]): Promise<string> {
20
+ const run = queue.then(() => {
21
+ editor ??= ServerBlockNoteEditor.create();
22
+ return editor.blocksToFullHTML(blocks);
23
+ });
24
+ queue = run.catch(() => undefined);
25
+ return run;
26
+ }
@@ -0,0 +1,7 @@
1
+ // Server-only barrel for BlockNote rendering.
2
+ // Consumed via `@carlonicora/nextjs-jsonapi/blocknote/server`. Must NOT receive a
3
+ // "use client" directive: it loads @blocknote/server-util (and its JSDOM), which
4
+ // must never reach a client bundle. The app lists @blocknote/server-util in
5
+ // `serverExternalPackages` so Node loads it instead of the bundler.
6
+
7
+ export { BlockNoteServerContent } from "./server/BlockNoteServerContent";
@@ -7,6 +7,7 @@ export * from "./contents";
7
7
  export * from "./details";
8
8
  export * from "./editors";
9
9
  export { BlockNoteViewerContainer } from "./viewers/BlockNoteViewerContainer";
10
+ export { BlockNoteStaticViewer } from "./viewers/BlockNoteStaticViewer";
10
11
  export * from "./errors";
11
12
  export * from "./forms";
12
13
  export * from "./navigations";
@@ -0,0 +1,44 @@
1
+ "use client";
2
+
3
+ import { useTheme } from "next-themes";
4
+ import { useEffect, useState } from "react";
5
+ import { cn } from "../../utils";
6
+
7
+ /**
8
+ * Shows HTML produced by BlockNoteServerContent inside the same container
9
+ * markup BlockNoteView renders, so BlockNote's stylesheet and the app's
10
+ * `.BlockNoteView` rules apply as they do to BlockNoteViewer.
11
+ */
12
+ export function BlockNoteStaticViewer({
13
+ html,
14
+ size,
15
+ className,
16
+ }: {
17
+ html: string;
18
+ size?: "default" | "sm";
19
+ className?: string;
20
+ }) {
21
+ // The server cannot know the theme: render light until mounted, then follow
22
+ // the app theme like BlockNoteViewer, so hydration never mismatches.
23
+ const [mounted, setMounted] = useState(false);
24
+ const { resolvedTheme } = useTheme();
25
+
26
+ useEffect(() => {
27
+ setMounted(true);
28
+ }, []);
29
+
30
+ const theme = mounted && resolvedTheme === "dark" ? "dark" : "light";
31
+
32
+ return (
33
+ <div
34
+ className={cn("bn-root bn-container", theme, "bn-shadcn BlockNoteView", size === "sm" && "small", className)}
35
+ data-color-scheme={theme}
36
+ >
37
+ <div
38
+ className="bn-editor bn-default-styles ProseMirror"
39
+ contentEditable={false}
40
+ dangerouslySetInnerHTML={{ __html: html }}
41
+ />
42
+ </div>
43
+ );
44
+ }
@@ -8,14 +8,21 @@ import { Link } from "../../../shadcnui";
8
8
  import { AdministrationProvider } from "../contexts/AdministrationContext";
9
9
  import type { AdminGroup, AdminSection } from "../data/admin-section.types";
10
10
 
11
+ /** Keys of the built-in platform sections, for `hiddenSections`. */
12
+ export type PlatformSectionKey = "companies" | "users" | "token-usage" | "ai-connections" | "rbac" | "billing";
13
+
11
14
  /**
12
- * The sections every NJA project has. Hrefs are constants rather than props:
13
- * the path convention IS the contract that makes this component reusable, and
14
- * it already exists in the package (see TOKEN_USAGE_ADMIN_PAGE_URL in
15
- * features/tokenusage/contexts/TokenUsageAdminContext.tsx).
15
+ * The sections every NJA project has, by key. Hrefs are constants rather than
16
+ * props: the path convention IS the contract that makes this component
17
+ * reusable. Exported so an app that passes its own `groups` places these
18
+ * entries without retyping their keys, icons and copy.
19
+ *
20
+ * `billing` is the only conditional entry: the default platform group shows it
21
+ * only when Stripe is configured (see AdminIndexGrid). An app that places it in
22
+ * its own `groups` applies the same check itself.
16
23
  */
17
- const PLATFORM_SECTIONS: AdminSection[] = [
18
- {
24
+ export const ADMIN_PLATFORM_SECTIONS: Record<PlatformSectionKey, AdminSection> = {
25
+ companies: {
19
26
  key: "companies",
20
27
  icon: Building2Icon,
21
28
  labelKey: "entities.companies",
@@ -23,7 +30,7 @@ const PLATFORM_SECTIONS: AdminSection[] = [
23
30
  descriptionKey: "administration.companies.description",
24
31
  href: "/administration/companies",
25
32
  },
26
- {
33
+ users: {
27
34
  key: "users",
28
35
  icon: UsersIcon,
29
36
  labelKey: "entities.users",
@@ -31,21 +38,21 @@ const PLATFORM_SECTIONS: AdminSection[] = [
31
38
  descriptionKey: "administration.users.description",
32
39
  href: "/administration/users",
33
40
  },
34
- {
41
+ "token-usage": {
35
42
  key: "token-usage",
36
43
  icon: CoinsIcon,
37
44
  labelKey: "token_usage.admin.title",
38
45
  descriptionKey: "administration.token_usage.description",
39
46
  href: "/administration/token-usage",
40
47
  },
41
- {
48
+ "ai-connections": {
42
49
  key: "ai-connections",
43
50
  icon: PlugZapIcon,
44
51
  labelKey: "ai_connections.admin.title",
45
52
  descriptionKey: "administration.ai_connections.description",
46
53
  href: "/administration/ai-connections",
47
54
  },
48
- {
55
+ rbac: {
49
56
  key: "rbac",
50
57
  icon: ShieldCheckIcon,
51
58
  labelKey: "entities.rbac",
@@ -53,27 +60,33 @@ const PLATFORM_SECTIONS: AdminSection[] = [
53
60
  descriptionKey: "administration.rbac.description",
54
61
  href: "/administration/rbac",
55
62
  },
56
- ];
57
-
58
- /**
59
- * The only conditional entry. getStripePublishableKey comes from /client rather
60
- * than isStripeConfigured() from /billing on purpose: /billing exists to keep
61
- * Stripe.js out of the global bundle, and isStripeConfigured lives in
62
- * StripeProvider.tsx, which imports @stripe/stripe-js at module scope. The two
63
- * are the same check — isStripeConfigured is a one-line wrapper over this call.
64
- */
65
- const BILLING_SECTION: AdminSection = {
66
- key: "billing",
67
- icon: CreditCardIcon,
68
- labelKey: "billing.admin.products.title",
69
- descriptionKey: "administration.billing.description",
70
- href: "/administration/products",
63
+ billing: {
64
+ key: "billing",
65
+ icon: CreditCardIcon,
66
+ labelKey: "billing.admin.products.title",
67
+ descriptionKey: "administration.billing.description",
68
+ href: "/administration/products",
69
+ },
71
70
  };
72
71
 
73
- /** Keys of the built-in platform sections, for `hiddenSections`. */
74
- export type PlatformSectionKey = "companies" | "users" | "token-usage" | "ai-connections" | "rbac" | "billing";
72
+ /** The unconditional platform entries, in the default group's order. */
73
+ const PLATFORM_SECTIONS: AdminSection[] = [
74
+ ADMIN_PLATFORM_SECTIONS.companies,
75
+ ADMIN_PLATFORM_SECTIONS.users,
76
+ ADMIN_PLATFORM_SECTIONS["token-usage"],
77
+ ADMIN_PLATFORM_SECTIONS["ai-connections"],
78
+ ADMIN_PLATFORM_SECTIONS.rbac,
79
+ ];
75
80
 
76
81
  type AdminIndexProps = {
82
+ /**
83
+ * Replaces the default groups (the built-in platform group plus
84
+ * `additionalGroups`) with exactly these, in this order. For an app that
85
+ * arranges its administration by its own headings; it places the platform
86
+ * entries it wants from ADMIN_PLATFORM_SECTIONS. When set, `additionalGroups`
87
+ * is ignored and the Stripe check on `billing` is the app's to apply.
88
+ */
89
+ groups?: AdminGroup[];
77
90
  /** Project-specific groups, appended after the built-in platform group. */
78
91
  additionalGroups?: AdminGroup[];
79
92
  /**
@@ -90,10 +103,12 @@ type AdminIndexProps = {
90
103
  * The grid itself, with no page shell — this is what the specs render, because
91
104
  * RoundPageContainer pulls in the app Header and its four header contexts.
92
105
  */
93
- export function AdminIndexGrid({ additionalGroups = [], hiddenSections = [] }: AdminIndexProps) {
106
+ export function AdminIndexGrid({ groups: customGroups, additionalGroups = [], hiddenSections = [] }: AdminIndexProps) {
94
107
  const t = useTranslations();
95
108
 
96
- const available = getStripePublishableKey() ? [...PLATFORM_SECTIONS, BILLING_SECTION] : PLATFORM_SECTIONS;
109
+ const available = getStripePublishableKey()
110
+ ? [...PLATFORM_SECTIONS, ADMIN_PLATFORM_SECTIONS.billing]
111
+ : PLATFORM_SECTIONS;
97
112
 
98
113
  const platformGroup: AdminGroup = {
99
114
  key: "platform",
@@ -101,7 +116,16 @@ export function AdminIndexGrid({ additionalGroups = [], hiddenSections = [] }: A
101
116
  sections: available.filter((section) => !hiddenSections.includes(section.key as PlatformSectionKey)),
102
117
  };
103
118
 
104
- const groups = [platformGroup, ...additionalGroups].filter((group) => group.sections.length > 0);
119
+ // Custom groups still honour hiddenSections, so a project that cannot serve
120
+ // a platform route drops it the same way in either mode.
121
+ const groups = (
122
+ customGroups
123
+ ? customGroups.map((group) => ({
124
+ ...group,
125
+ sections: group.sections.filter((section) => !hiddenSections.includes(section.key as PlatformSectionKey)),
126
+ }))
127
+ : [platformGroup, ...additionalGroups]
128
+ ).filter((group) => group.sections.length > 0);
105
129
 
106
130
  return (
107
131
  <div className="mx-auto flex w-full max-w-5xl flex-1 flex-col gap-8 py-8">
@@ -146,11 +170,15 @@ export function AdminIndexGrid({ additionalGroups = [], hiddenSections = [] }: A
146
170
  * and its own page chrome (AdministrationProvider), so it does not inherit the
147
171
  * title and breadcrumb of whatever page rendered before it.
148
172
  */
149
- export function AdminIndexContainer({ additionalGroups, hiddenSections }: AdminIndexProps) {
173
+ export function AdminIndexContainer({ groups, additionalGroups, hiddenSections }: AdminIndexProps) {
174
+ const t = useTranslations();
175
+
176
+ // The index is the "Administration" page itself, so it names itself in the
177
+ // breadcrumb like every administration page does ("Home > Companies").
150
178
  return (
151
- <AdministrationProvider>
179
+ <AdministrationProvider section={t("administration.title")}>
152
180
  <RoundPageContainer>
153
- <AdminIndexGrid additionalGroups={additionalGroups} hiddenSections={hiddenSections} />
181
+ <AdminIndexGrid groups={groups} additionalGroups={additionalGroups} hiddenSections={hiddenSections} />
154
182
  </RoundPageContainer>
155
183
  </AdministrationProvider>
156
184
  );