@carlonicora/nextjs-jsonapi 1.78.0 → 1.79.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 (96) hide show
  1. package/dist/{AssistantMessageInterface-DS_tyJTV.d.ts → AssistantMessageInterface-DWnbd6J7.d.ts} +1 -1
  2. package/dist/{AssistantMessageInterface-D0Kwf8CR.d.mts → AssistantMessageInterface-Mla6kgPe.d.mts} +1 -1
  3. package/dist/{AuthComponent-Blbs06ud.d.ts → AuthComponent-B6DIk8Vf.d.ts} +1 -1
  4. package/dist/{AuthComponent-huIaK5rm.d.mts → AuthComponent-BKI0ZbtD.d.mts} +1 -1
  5. package/dist/{BlockNoteEditor-JXK3JGKJ.mjs → BlockNoteEditor-6CBDTVKV.mjs} +4 -4
  6. package/dist/{BlockNoteEditor-2G5UYALC.js → BlockNoteEditor-EH4HWI7H.js} +14 -14
  7. package/dist/{BlockNoteEditor-2G5UYALC.js.map → BlockNoteEditor-EH4HWI7H.js.map} +1 -1
  8. package/dist/RbacTypes-BTbr27Ew.d.mts +43 -0
  9. package/dist/RbacTypes-BTbr27Ew.d.ts +43 -0
  10. package/dist/{auth.interface-CQJ6A2Cj.d.ts → auth.interface-BBUgMZzs.d.ts} +1 -1
  11. package/dist/{auth.interface-Bdq7-8iV.d.mts → auth.interface-XYEREOD6.d.mts} +1 -1
  12. package/dist/billing/index.js +346 -346
  13. package/dist/billing/index.mjs +3 -3
  14. package/dist/{chunk-FDJQRIMY.js → chunk-5IEWLLLD.js} +61 -2
  15. package/dist/chunk-5IEWLLLD.js.map +1 -0
  16. package/dist/{chunk-I65SSQ5Z.mjs → chunk-BKM5U3DE.mjs} +60 -1
  17. package/dist/chunk-BKM5U3DE.mjs.map +1 -0
  18. package/dist/{chunk-NB6TIKHK.mjs → chunk-ENRSFVOS.mjs} +2064 -2295
  19. package/dist/chunk-ENRSFVOS.mjs.map +1 -0
  20. package/dist/{chunk-NZOUEN67.mjs → chunk-MEWXQEVE.mjs} +38 -29
  21. package/dist/{chunk-NZOUEN67.mjs.map → chunk-MEWXQEVE.mjs.map} +1 -1
  22. package/dist/{chunk-X4YDETTD.js → chunk-TWDSDTHU.js} +39 -30
  23. package/dist/chunk-TWDSDTHU.js.map +1 -0
  24. package/dist/{chunk-ZEDB6JVB.js → chunk-ZDP3MBUI.js} +1142 -1373
  25. package/dist/chunk-ZDP3MBUI.js.map +1 -0
  26. package/dist/client/index.d.mts +6 -24
  27. package/dist/client/index.d.ts +6 -24
  28. package/dist/client/index.js +4 -10
  29. package/dist/client/index.js.map +1 -1
  30. package/dist/client/index.mjs +3 -9
  31. package/dist/components/index.d.mts +32 -34
  32. package/dist/components/index.d.ts +32 -34
  33. package/dist/components/index.js +4 -10
  34. package/dist/components/index.js.map +1 -1
  35. package/dist/components/index.mjs +3 -9
  36. package/dist/{config-B3jKt9P7.d.ts → config-B5oBQVEA.d.ts} +1 -1
  37. package/dist/{config-DkHF61xA.d.mts → config-Bx_uh22h.d.mts} +1 -1
  38. package/dist/contexts/index.d.mts +41 -4
  39. package/dist/contexts/index.d.ts +41 -4
  40. package/dist/contexts/index.js +8 -4
  41. package/dist/contexts/index.js.map +1 -1
  42. package/dist/contexts/index.mjs +7 -3
  43. package/dist/core/index.d.mts +19 -11
  44. package/dist/core/index.d.ts +19 -11
  45. package/dist/core/index.js +4 -2
  46. package/dist/core/index.js.map +1 -1
  47. package/dist/core/index.mjs +3 -1
  48. package/dist/index.d.mts +117 -20
  49. package/dist/index.d.ts +117 -20
  50. package/dist/index.js +7 -3
  51. package/dist/index.js.map +1 -1
  52. package/dist/index.mjs +6 -2
  53. package/dist/{notification.interface-DG6obXUH.d.mts → notification.interface-DLZGtV7Z.d.mts} +1 -1
  54. package/dist/{notification.interface-DcSuc9CL.d.ts → notification.interface-aLEJbA_g.d.ts} +1 -1
  55. package/dist/{s3.service-DGilbikH.d.mts → s3.service-CVgLWaDc.d.mts} +2 -2
  56. package/dist/{s3.service-DjwEQJPe.d.ts → s3.service-SLlX0Zbz.d.ts} +2 -2
  57. package/dist/server/index.d.mts +3 -3
  58. package/dist/server/index.d.ts +3 -3
  59. package/dist/server/index.js +3 -3
  60. package/dist/server/index.mjs +1 -1
  61. package/dist/useDataListRetriever-BqJSFBck.d.mts +33 -0
  62. package/dist/useDataListRetriever-BqJSFBck.d.ts +33 -0
  63. package/dist/{useSocket-CmzVtg32.d.mts → useSocket-BkxHHujj.d.mts} +1 -1
  64. package/dist/{useSocket-8eUtnL7J.d.ts → useSocket-CMDjWFYm.d.ts} +1 -1
  65. package/package.json +1 -1
  66. package/src/client/index.ts +0 -4
  67. package/src/components/index.ts +0 -3
  68. package/src/contexts/index.ts +1 -0
  69. package/src/core/registry/ModuleRegistry.ts +1 -0
  70. package/src/features/rbac/components/RbacContainer.tsx +318 -49
  71. package/src/features/rbac/components/RbacPermissionPicker.tsx +144 -121
  72. package/src/features/rbac/contexts/RbacContext.tsx +209 -0
  73. package/src/features/rbac/contexts/index.ts +1 -0
  74. package/src/features/rbac/data/RbacMatrixModel.ts +84 -0
  75. package/src/features/rbac/data/RbacService.ts +61 -33
  76. package/src/features/rbac/data/RbacTypes.ts +28 -0
  77. package/src/features/rbac/data/index.ts +1 -0
  78. package/src/features/rbac/index.ts +1 -10
  79. package/src/features/rbac/rbac.module.ts +13 -0
  80. package/dist/ModulePathsInterface-BrdqgteS.d.mts +0 -31
  81. package/dist/ModulePathsInterface-DJKs7s_s.d.ts +0 -31
  82. package/dist/chunk-FDJQRIMY.js.map +0 -1
  83. package/dist/chunk-I65SSQ5Z.mjs.map +0 -1
  84. package/dist/chunk-NB6TIKHK.mjs.map +0 -1
  85. package/dist/chunk-X4YDETTD.js.map +0 -1
  86. package/dist/chunk-ZEDB6JVB.js.map +0 -1
  87. package/dist/useRbacState-C88O-5L8.d.ts +0 -77
  88. package/dist/useRbacState-mqYiRp3J.d.mts +0 -77
  89. package/src/features/rbac/components/RbacFeatureSection.tsx +0 -66
  90. package/src/features/rbac/components/RbacModuleTable.tsx +0 -121
  91. package/src/features/rbac/components/RbacToolbar.tsx +0 -40
  92. package/src/features/rbac/hooks/useRbacState.test.ts +0 -180
  93. package/src/features/rbac/hooks/useRbacState.ts +0 -319
  94. package/src/features/rbac/utils/RbacMigrationGenerator.test.ts +0 -124
  95. package/src/features/rbac/utils/RbacMigrationGenerator.ts +0 -184
  96. /package/dist/{BlockNoteEditor-JXK3JGKJ.mjs.map → BlockNoteEditor-6CBDTVKV.mjs.map} +0 -0
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@
17
17
 
18
18
 
19
19
 
20
- var _chunkX4YDETTDjs = require('./chunk-X4YDETTD.js');
20
+ var _chunkTWDSDTHUjs = require('./chunk-TWDSDTHU.js');
21
21
 
22
22
 
23
23
 
@@ -193,7 +193,9 @@ var _chunkX4YDETTDjs = require('./chunk-X4YDETTD.js');
193
193
 
194
194
 
195
195
 
196
- var _chunkFDJQRIMYjs = require('./chunk-FDJQRIMY.js');
196
+
197
+
198
+ var _chunk5IEWLLLDjs = require('./chunk-5IEWLLLD.js');
197
199
  require('./chunk-LXKSUWAV.js');
198
200
  require('./chunk-IBS6NI7D.js');
199
201
 
@@ -411,5 +413,7 @@ require('./chunk-7QVYU63E.js');
411
413
 
412
414
 
413
415
 
414
- exports.ACTION_TYPES = _chunkX4YDETTDjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkFDJQRIMYjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkFDJQRIMYjs.AbstractApiData; exports.AbstractService = _chunkFDJQRIMYjs.AbstractService; exports.Action = _chunkFDJQRIMYjs.Action; exports.Assistant = _chunkFDJQRIMYjs.Assistant; exports.AssistantMessage = _chunkFDJQRIMYjs.AssistantMessage; exports.AssistantMessageModule = _chunkFDJQRIMYjs.AssistantMessageModule; exports.AssistantMessageService = _chunkFDJQRIMYjs.AssistantMessageService; exports.AssistantModule = _chunkFDJQRIMYjs.AssistantModule; exports.AssistantService = _chunkFDJQRIMYjs.AssistantService; exports.AuditLog = _chunkFDJQRIMYjs.AuditLog; exports.AuditLogModule = _chunkFDJQRIMYjs.AuditLogModule; exports.AuditLogService = _chunkFDJQRIMYjs.AuditLogService; exports.Auth = _chunkFDJQRIMYjs.Auth; exports.AuthComponent = _chunkFDJQRIMYjs.AuthComponent; exports.AuthModule = _chunkFDJQRIMYjs.AuthModule; exports.AuthService = _chunkFDJQRIMYjs.AuthService; exports.AuthorModule = _chunkFDJQRIMYjs.AuthorModule; exports.BackupCodeVerify = _chunkFDJQRIMYjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkFDJQRIMYjs.BackupCodeVerifyModule; exports.Billing = _chunkFDJQRIMYjs.Billing; exports.BillingModule = _chunkFDJQRIMYjs.BillingModule; exports.BillingService = _chunkFDJQRIMYjs.BillingService; exports.BlockNoteDiffUtil = _chunkFDJQRIMYjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkFDJQRIMYjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkX4YDETTDjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.ClientAbstractService = _chunkFDJQRIMYjs.ClientAbstractService; exports.ClientHttpMethod = _chunkFDJQRIMYjs.ClientHttpMethod; exports.Company = _chunkFDJQRIMYjs.Company; exports.CompanyFields = _chunkFDJQRIMYjs.CompanyFields; exports.CompanyModule = _chunkFDJQRIMYjs.CompanyModule; exports.CompanyService = _chunkFDJQRIMYjs.CompanyService; exports.Content = _chunkFDJQRIMYjs.Content; exports.ContentFields = _chunkFDJQRIMYjs.ContentFields; exports.ContentModule = _chunkFDJQRIMYjs.ContentModule; exports.ContentService = _chunkFDJQRIMYjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkFDJQRIMYjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunk4MN547K7js.DataClassRegistry; exports.DataClassRegistry = _chunk4MN547K7js.DataClassRegistry; exports.EndpointCreator = _chunkFDJQRIMYjs.EndpointCreator; exports.Feature = _chunkFDJQRIMYjs.Feature; exports.FeatureModule = _chunkFDJQRIMYjs.FeatureModule; exports.FeatureService = _chunkFDJQRIMYjs.FeatureService; exports.HowTo = _chunkFDJQRIMYjs.HowTo; exports.HowToFields = _chunkFDJQRIMYjs.HowToFields; exports.HowToModule = _chunkFDJQRIMYjs.HowToModule; exports.HowToService = _chunkFDJQRIMYjs.HowToService; exports.HttpMethod = _chunkFDJQRIMYjs.HttpMethod; exports.InvoiceStatus = _chunkFDJQRIMYjs.InvoiceStatus; exports.JsonApiDataFactory = _chunk4MN547K7js.JsonApiDataFactory; exports.Module = _chunkFDJQRIMYjs.Module; exports.ModuleModule = _chunkFDJQRIMYjs.ModuleModule; exports.ModulePaths = _chunkFDJQRIMYjs.ModulePaths; exports.ModulePathsModule = _chunkFDJQRIMYjs.ModulePathsModule; exports.ModuleRegistrar = _chunkFDJQRIMYjs.ModuleRegistrar; exports.ModuleRegistry = _chunkFDJQRIMYjs.ModuleRegistry; exports.Modules = _chunkFDJQRIMYjs.Modules; exports.Notification = _chunkFDJQRIMYjs.Notification; exports.NotificationFields = _chunkFDJQRIMYjs.NotificationFields; exports.NotificationModule = _chunkFDJQRIMYjs.NotificationModule; exports.NotificationService = _chunkFDJQRIMYjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkFDJQRIMYjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkFDJQRIMYjs.OAuthClient; exports.OAuthModule = _chunkFDJQRIMYjs.OAuthModule; exports.OAuthService = _chunkFDJQRIMYjs.OAuthService; exports.Passkey = _chunkFDJQRIMYjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkFDJQRIMYjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkFDJQRIMYjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkFDJQRIMYjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkFDJQRIMYjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkFDJQRIMYjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkFDJQRIMYjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkFDJQRIMYjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkFDJQRIMYjs.PasskeyRename; exports.PasskeyRenameModule = _chunkFDJQRIMYjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkFDJQRIMYjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkFDJQRIMYjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkFDJQRIMYjs.PaymentMethod; exports.PermissionMapping = _chunkFDJQRIMYjs.PermissionMapping; exports.PermissionMappingModule = _chunkFDJQRIMYjs.PermissionMappingModule; exports.Push = _chunkFDJQRIMYjs.Push; exports.PushModule = _chunkFDJQRIMYjs.PushModule; exports.PushService = _chunkFDJQRIMYjs.PushService; exports.RbacService = _chunkX4YDETTDjs.RbacService; exports.ReferralModule = _chunkFDJQRIMYjs.ReferralModule; exports.ReferralService = _chunkFDJQRIMYjs.ReferralService; exports.ReferralStats = _chunkFDJQRIMYjs.ReferralStats; exports.ReferralStatsModule = _chunkFDJQRIMYjs.ReferralStatsModule; exports.RehydrationFactory = _chunkFDJQRIMYjs.RehydrationFactory; exports.Role = _chunkFDJQRIMYjs.Role; exports.RoleFields = _chunkFDJQRIMYjs.RoleFields; exports.RoleModule = _chunkFDJQRIMYjs.RoleModule; exports.RoleService = _chunkFDJQRIMYjs.RoleService; exports.S3 = _chunkFDJQRIMYjs.S3; exports.S3Module = _chunkFDJQRIMYjs.S3Module; exports.S3Service = _chunkFDJQRIMYjs.S3Service; exports.StripeCustomer = _chunkFDJQRIMYjs.StripeCustomer; exports.StripeCustomerModule = _chunkFDJQRIMYjs.StripeCustomerModule; exports.StripeCustomerService = _chunkFDJQRIMYjs.StripeCustomerService; exports.StripeInvoice = _chunkFDJQRIMYjs.StripeInvoice; exports.StripeInvoiceModule = _chunkFDJQRIMYjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkFDJQRIMYjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkFDJQRIMYjs.StripePaymentMethodModule; exports.StripePrice = _chunkFDJQRIMYjs.StripePrice; exports.StripePriceModule = _chunkFDJQRIMYjs.StripePriceModule; exports.StripePriceService = _chunkFDJQRIMYjs.StripePriceService; exports.StripeProduct = _chunkFDJQRIMYjs.StripeProduct; exports.StripeProductModule = _chunkFDJQRIMYjs.StripeProductModule; exports.StripeProductService = _chunkFDJQRIMYjs.StripeProductService; exports.StripePromotionCode = _chunkFDJQRIMYjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkFDJQRIMYjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkFDJQRIMYjs.StripePromotionCodeService; exports.StripeSubscription = _chunkFDJQRIMYjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkFDJQRIMYjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkFDJQRIMYjs.StripeSubscriptionService; exports.StripeUsage = _chunkFDJQRIMYjs.StripeUsage; exports.StripeUsageModule = _chunkFDJQRIMYjs.StripeUsageModule; exports.StripeUsageService = _chunkFDJQRIMYjs.StripeUsageService; exports.SubscriptionStatus = _chunkFDJQRIMYjs.SubscriptionStatus; exports.TableOptions = _chunkFDJQRIMYjs.TableOptions; exports.TotpAuthenticator = _chunkFDJQRIMYjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkFDJQRIMYjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkFDJQRIMYjs.TotpSetup; exports.TotpSetupModule = _chunkFDJQRIMYjs.TotpSetupModule; exports.TotpVerify = _chunkFDJQRIMYjs.TotpVerify; exports.TotpVerifyLogin = _chunkFDJQRIMYjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkFDJQRIMYjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkFDJQRIMYjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkFDJQRIMYjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkFDJQRIMYjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkFDJQRIMYjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkFDJQRIMYjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkFDJQRIMYjs.TwoFactorService; exports.TwoFactorStatus = _chunkFDJQRIMYjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkFDJQRIMYjs.TwoFactorStatusModule; exports.User = _chunkFDJQRIMYjs.User; exports.UserFields = _chunkFDJQRIMYjs.UserFields; exports.UserModule = _chunkFDJQRIMYjs.UserModule; exports.UserService = _chunkFDJQRIMYjs.UserService; exports.Waitlist = _chunkFDJQRIMYjs.Waitlist; exports.WaitlistModule = _chunkFDJQRIMYjs.WaitlistModule; exports.WaitlistService = _chunkFDJQRIMYjs.WaitlistService; exports.WaitlistStats = _chunkFDJQRIMYjs.WaitlistStats; exports.WaitlistStatsModule = _chunkFDJQRIMYjs.WaitlistStatsModule; exports.checkPermissions = _chunkFDJQRIMYjs.checkPermissions; exports.checkPermissionsFromServer = _chunkFDJQRIMYjs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkFDJQRIMYjs.clearLastApiTotal; exports.cn = _chunkFDJQRIMYjs.cn; exports.composeRefs = _chunkFDJQRIMYjs.composeRefs; exports.configureAuth = _chunkFDJQRIMYjs.configureAuth; exports.configureI18n = _chunkX4YDETTDjs.configureI18n; exports.configureJsonApi = _chunkX4YDETTDjs.configureJsonApi; exports.configureLogin = _chunkX4YDETTDjs.configureLogin; exports.configureReferral = _chunkX4YDETTDjs.configureReferral; exports.configureRoles = _chunkX4YDETTDjs.configureRoles; exports.configureWaitlist = _chunkX4YDETTDjs.configureWaitlist; exports.createJsonApiInclusion = _chunkFDJQRIMYjs.createJsonApiInclusion; exports.dismissToast = _chunkFDJQRIMYjs.dismissToast; exports.entityObjectSchema = _chunkFDJQRIMYjs.entityObjectSchema; exports.exists = _chunkFDJQRIMYjs.exists; exports.formatDate = _chunkFDJQRIMYjs.formatDate; exports.getApiUrl = _chunkX4YDETTDjs.getApiUrl; exports.getAppUrl = _chunkX4YDETTDjs.getAppUrl; exports.getBootstrapper = _chunk4MN547K7js.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkFDJQRIMYjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkFDJQRIMYjs.getGlobalErrorHandler; exports.getIcon = _chunkFDJQRIMYjs.getIcon; exports.getIconByModule = _chunkFDJQRIMYjs.getIconByModule; exports.getIconByModuleName = _chunkFDJQRIMYjs.getIconByModuleName; exports.getInitials = _chunkFDJQRIMYjs.getInitials; exports.getLastApiTotal = _chunkFDJQRIMYjs.getLastApiTotal; exports.getLucideIcon = _chunkFDJQRIMYjs.getLucideIcon; exports.getLucideIconByModule = _chunkFDJQRIMYjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkFDJQRIMYjs.getLucideIconByModuleName; exports.getReferralConfig = _chunkX4YDETTDjs.getReferralConfig; exports.getRoleId = _chunkX4YDETTDjs.getRoleId; exports.getStripePublishableKey = _chunkX4YDETTDjs.getStripePublishableKey; exports.getTableComponents = _chunkFDJQRIMYjs.getTableComponents; exports.getTableOptions = _chunkFDJQRIMYjs.getTableOptions; exports.getTokenHandler = _chunkFDJQRIMYjs.getTokenHandler; exports.getTrackablePages = _chunkX4YDETTDjs.getTrackablePages; exports.getValueFromPath = _chunkFDJQRIMYjs.getValueFromPath; exports.getWaitlistConfig = _chunkX4YDETTDjs.getWaitlistConfig; exports.hasBootstrapper = _chunk4MN547K7js.hasBootstrapper; exports.isReferralEnabled = _chunkX4YDETTDjs.isReferralEnabled; exports.isRolesConfigured = _chunkX4YDETTDjs.isRolesConfigured; exports.rehydrate = _chunkFDJQRIMYjs.rehydrate; exports.rehydrateList = _chunkFDJQRIMYjs.rehydrateList; exports.resetBootstrapStore = _chunk4MN547K7js.resetBootstrapStore; exports.setBootstrapper = _chunk4MN547K7js.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkFDJQRIMYjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkFDJQRIMYjs.setGlobalErrorHandler; exports.showCustomToast = _chunkFDJQRIMYjs.showCustomToast; exports.showError = _chunkFDJQRIMYjs.showError; exports.showToast = _chunkFDJQRIMYjs.showToast; exports.translateData = _chunk4MN547K7js.translateData; exports.translateResponse = _chunk4MN547K7js.translateResponse; exports.tryBootstrap = _chunk4MN547K7js.tryBootstrap; exports.useComposedRefs = _chunkFDJQRIMYjs.useComposedRefs; exports.useIsMobile = _chunkFDJQRIMYjs.useIsMobile; exports.userObjectSchema = _chunkFDJQRIMYjs.userObjectSchema;
416
+
417
+
418
+ exports.ACTION_TYPES = _chunkTWDSDTHUjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunk5IEWLLLDjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunk5IEWLLLDjs.AbstractApiData; exports.AbstractService = _chunk5IEWLLLDjs.AbstractService; exports.Action = _chunk5IEWLLLDjs.Action; exports.Assistant = _chunk5IEWLLLDjs.Assistant; exports.AssistantMessage = _chunk5IEWLLLDjs.AssistantMessage; exports.AssistantMessageModule = _chunk5IEWLLLDjs.AssistantMessageModule; exports.AssistantMessageService = _chunk5IEWLLLDjs.AssistantMessageService; exports.AssistantModule = _chunk5IEWLLLDjs.AssistantModule; exports.AssistantService = _chunk5IEWLLLDjs.AssistantService; exports.AuditLog = _chunk5IEWLLLDjs.AuditLog; exports.AuditLogModule = _chunk5IEWLLLDjs.AuditLogModule; exports.AuditLogService = _chunk5IEWLLLDjs.AuditLogService; exports.Auth = _chunk5IEWLLLDjs.Auth; exports.AuthComponent = _chunk5IEWLLLDjs.AuthComponent; exports.AuthModule = _chunk5IEWLLLDjs.AuthModule; exports.AuthService = _chunk5IEWLLLDjs.AuthService; exports.AuthorModule = _chunk5IEWLLLDjs.AuthorModule; exports.BackupCodeVerify = _chunk5IEWLLLDjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunk5IEWLLLDjs.BackupCodeVerifyModule; exports.Billing = _chunk5IEWLLLDjs.Billing; exports.BillingModule = _chunk5IEWLLLDjs.BillingModule; exports.BillingService = _chunk5IEWLLLDjs.BillingService; exports.BlockNoteDiffUtil = _chunk5IEWLLLDjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunk5IEWLLLDjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkTWDSDTHUjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.ClientAbstractService = _chunk5IEWLLLDjs.ClientAbstractService; exports.ClientHttpMethod = _chunk5IEWLLLDjs.ClientHttpMethod; exports.Company = _chunk5IEWLLLDjs.Company; exports.CompanyFields = _chunk5IEWLLLDjs.CompanyFields; exports.CompanyModule = _chunk5IEWLLLDjs.CompanyModule; exports.CompanyService = _chunk5IEWLLLDjs.CompanyService; exports.Content = _chunk5IEWLLLDjs.Content; exports.ContentFields = _chunk5IEWLLLDjs.ContentFields; exports.ContentModule = _chunk5IEWLLLDjs.ContentModule; exports.ContentService = _chunk5IEWLLLDjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunk5IEWLLLDjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunk4MN547K7js.DataClassRegistry; exports.DataClassRegistry = _chunk4MN547K7js.DataClassRegistry; exports.EndpointCreator = _chunk5IEWLLLDjs.EndpointCreator; exports.Feature = _chunk5IEWLLLDjs.Feature; exports.FeatureModule = _chunk5IEWLLLDjs.FeatureModule; exports.FeatureService = _chunk5IEWLLLDjs.FeatureService; exports.HowTo = _chunk5IEWLLLDjs.HowTo; exports.HowToFields = _chunk5IEWLLLDjs.HowToFields; exports.HowToModule = _chunk5IEWLLLDjs.HowToModule; exports.HowToService = _chunk5IEWLLLDjs.HowToService; exports.HttpMethod = _chunk5IEWLLLDjs.HttpMethod; exports.InvoiceStatus = _chunk5IEWLLLDjs.InvoiceStatus; exports.JsonApiDataFactory = _chunk4MN547K7js.JsonApiDataFactory; exports.Module = _chunk5IEWLLLDjs.Module; exports.ModuleModule = _chunk5IEWLLLDjs.ModuleModule; exports.ModulePaths = _chunk5IEWLLLDjs.ModulePaths; exports.ModulePathsModule = _chunk5IEWLLLDjs.ModulePathsModule; exports.ModuleRegistrar = _chunk5IEWLLLDjs.ModuleRegistrar; exports.ModuleRegistry = _chunk5IEWLLLDjs.ModuleRegistry; exports.Modules = _chunk5IEWLLLDjs.Modules; exports.Notification = _chunk5IEWLLLDjs.Notification; exports.NotificationFields = _chunk5IEWLLLDjs.NotificationFields; exports.NotificationModule = _chunk5IEWLLLDjs.NotificationModule; exports.NotificationService = _chunk5IEWLLLDjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunk5IEWLLLDjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunk5IEWLLLDjs.OAuthClient; exports.OAuthModule = _chunk5IEWLLLDjs.OAuthModule; exports.OAuthService = _chunk5IEWLLLDjs.OAuthService; exports.Passkey = _chunk5IEWLLLDjs.Passkey; exports.PasskeyAuthenticationOptions = _chunk5IEWLLLDjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunk5IEWLLLDjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunk5IEWLLLDjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunk5IEWLLLDjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunk5IEWLLLDjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunk5IEWLLLDjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunk5IEWLLLDjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunk5IEWLLLDjs.PasskeyRename; exports.PasskeyRenameModule = _chunk5IEWLLLDjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunk5IEWLLLDjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunk5IEWLLLDjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunk5IEWLLLDjs.PaymentMethod; exports.PermissionMapping = _chunk5IEWLLLDjs.PermissionMapping; exports.PermissionMappingModule = _chunk5IEWLLLDjs.PermissionMappingModule; exports.Push = _chunk5IEWLLLDjs.Push; exports.PushModule = _chunk5IEWLLLDjs.PushModule; exports.PushService = _chunk5IEWLLLDjs.PushService; exports.RbacMatrixModel = _chunk5IEWLLLDjs.RbacMatrixModel; exports.RbacMatrixModule = _chunk5IEWLLLDjs.RbacMatrixModule; exports.RbacService = _chunkTWDSDTHUjs.RbacService; exports.ReferralModule = _chunk5IEWLLLDjs.ReferralModule; exports.ReferralService = _chunk5IEWLLLDjs.ReferralService; exports.ReferralStats = _chunk5IEWLLLDjs.ReferralStats; exports.ReferralStatsModule = _chunk5IEWLLLDjs.ReferralStatsModule; exports.RehydrationFactory = _chunk5IEWLLLDjs.RehydrationFactory; exports.Role = _chunk5IEWLLLDjs.Role; exports.RoleFields = _chunk5IEWLLLDjs.RoleFields; exports.RoleModule = _chunk5IEWLLLDjs.RoleModule; exports.RoleService = _chunk5IEWLLLDjs.RoleService; exports.S3 = _chunk5IEWLLLDjs.S3; exports.S3Module = _chunk5IEWLLLDjs.S3Module; exports.S3Service = _chunk5IEWLLLDjs.S3Service; exports.StripeCustomer = _chunk5IEWLLLDjs.StripeCustomer; exports.StripeCustomerModule = _chunk5IEWLLLDjs.StripeCustomerModule; exports.StripeCustomerService = _chunk5IEWLLLDjs.StripeCustomerService; exports.StripeInvoice = _chunk5IEWLLLDjs.StripeInvoice; exports.StripeInvoiceModule = _chunk5IEWLLLDjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunk5IEWLLLDjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunk5IEWLLLDjs.StripePaymentMethodModule; exports.StripePrice = _chunk5IEWLLLDjs.StripePrice; exports.StripePriceModule = _chunk5IEWLLLDjs.StripePriceModule; exports.StripePriceService = _chunk5IEWLLLDjs.StripePriceService; exports.StripeProduct = _chunk5IEWLLLDjs.StripeProduct; exports.StripeProductModule = _chunk5IEWLLLDjs.StripeProductModule; exports.StripeProductService = _chunk5IEWLLLDjs.StripeProductService; exports.StripePromotionCode = _chunk5IEWLLLDjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunk5IEWLLLDjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunk5IEWLLLDjs.StripePromotionCodeService; exports.StripeSubscription = _chunk5IEWLLLDjs.StripeSubscription; exports.StripeSubscriptionModule = _chunk5IEWLLLDjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunk5IEWLLLDjs.StripeSubscriptionService; exports.StripeUsage = _chunk5IEWLLLDjs.StripeUsage; exports.StripeUsageModule = _chunk5IEWLLLDjs.StripeUsageModule; exports.StripeUsageService = _chunk5IEWLLLDjs.StripeUsageService; exports.SubscriptionStatus = _chunk5IEWLLLDjs.SubscriptionStatus; exports.TableOptions = _chunk5IEWLLLDjs.TableOptions; exports.TotpAuthenticator = _chunk5IEWLLLDjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunk5IEWLLLDjs.TotpAuthenticatorModule; exports.TotpSetup = _chunk5IEWLLLDjs.TotpSetup; exports.TotpSetupModule = _chunk5IEWLLLDjs.TotpSetupModule; exports.TotpVerify = _chunk5IEWLLLDjs.TotpVerify; exports.TotpVerifyLogin = _chunk5IEWLLLDjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunk5IEWLLLDjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunk5IEWLLLDjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunk5IEWLLLDjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunk5IEWLLLDjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunk5IEWLLLDjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunk5IEWLLLDjs.TwoFactorEnableModule; exports.TwoFactorService = _chunk5IEWLLLDjs.TwoFactorService; exports.TwoFactorStatus = _chunk5IEWLLLDjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunk5IEWLLLDjs.TwoFactorStatusModule; exports.User = _chunk5IEWLLLDjs.User; exports.UserFields = _chunk5IEWLLLDjs.UserFields; exports.UserModule = _chunk5IEWLLLDjs.UserModule; exports.UserService = _chunk5IEWLLLDjs.UserService; exports.Waitlist = _chunk5IEWLLLDjs.Waitlist; exports.WaitlistModule = _chunk5IEWLLLDjs.WaitlistModule; exports.WaitlistService = _chunk5IEWLLLDjs.WaitlistService; exports.WaitlistStats = _chunk5IEWLLLDjs.WaitlistStats; exports.WaitlistStatsModule = _chunk5IEWLLLDjs.WaitlistStatsModule; exports.checkPermissions = _chunk5IEWLLLDjs.checkPermissions; exports.checkPermissionsFromServer = _chunk5IEWLLLDjs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunk5IEWLLLDjs.clearLastApiTotal; exports.cn = _chunk5IEWLLLDjs.cn; exports.composeRefs = _chunk5IEWLLLDjs.composeRefs; exports.configureAuth = _chunk5IEWLLLDjs.configureAuth; exports.configureI18n = _chunkTWDSDTHUjs.configureI18n; exports.configureJsonApi = _chunkTWDSDTHUjs.configureJsonApi; exports.configureLogin = _chunkTWDSDTHUjs.configureLogin; exports.configureReferral = _chunkTWDSDTHUjs.configureReferral; exports.configureRoles = _chunkTWDSDTHUjs.configureRoles; exports.configureWaitlist = _chunkTWDSDTHUjs.configureWaitlist; exports.createJsonApiInclusion = _chunk5IEWLLLDjs.createJsonApiInclusion; exports.dismissToast = _chunk5IEWLLLDjs.dismissToast; exports.entityObjectSchema = _chunk5IEWLLLDjs.entityObjectSchema; exports.exists = _chunk5IEWLLLDjs.exists; exports.formatDate = _chunk5IEWLLLDjs.formatDate; exports.getApiUrl = _chunkTWDSDTHUjs.getApiUrl; exports.getAppUrl = _chunkTWDSDTHUjs.getAppUrl; exports.getBootstrapper = _chunk4MN547K7js.getBootstrapper; exports.getClientGlobalErrorHandler = _chunk5IEWLLLDjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunk5IEWLLLDjs.getGlobalErrorHandler; exports.getIcon = _chunk5IEWLLLDjs.getIcon; exports.getIconByModule = _chunk5IEWLLLDjs.getIconByModule; exports.getIconByModuleName = _chunk5IEWLLLDjs.getIconByModuleName; exports.getInitials = _chunk5IEWLLLDjs.getInitials; exports.getLastApiTotal = _chunk5IEWLLLDjs.getLastApiTotal; exports.getLucideIcon = _chunk5IEWLLLDjs.getLucideIcon; exports.getLucideIconByModule = _chunk5IEWLLLDjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunk5IEWLLLDjs.getLucideIconByModuleName; exports.getReferralConfig = _chunkTWDSDTHUjs.getReferralConfig; exports.getRoleId = _chunkTWDSDTHUjs.getRoleId; exports.getStripePublishableKey = _chunkTWDSDTHUjs.getStripePublishableKey; exports.getTableComponents = _chunk5IEWLLLDjs.getTableComponents; exports.getTableOptions = _chunk5IEWLLLDjs.getTableOptions; exports.getTokenHandler = _chunk5IEWLLLDjs.getTokenHandler; exports.getTrackablePages = _chunkTWDSDTHUjs.getTrackablePages; exports.getValueFromPath = _chunk5IEWLLLDjs.getValueFromPath; exports.getWaitlistConfig = _chunkTWDSDTHUjs.getWaitlistConfig; exports.hasBootstrapper = _chunk4MN547K7js.hasBootstrapper; exports.isReferralEnabled = _chunkTWDSDTHUjs.isReferralEnabled; exports.isRolesConfigured = _chunkTWDSDTHUjs.isRolesConfigured; exports.rehydrate = _chunk5IEWLLLDjs.rehydrate; exports.rehydrateList = _chunk5IEWLLLDjs.rehydrateList; exports.resetBootstrapStore = _chunk4MN547K7js.resetBootstrapStore; exports.setBootstrapper = _chunk4MN547K7js.setBootstrapper; exports.setClientGlobalErrorHandler = _chunk5IEWLLLDjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunk5IEWLLLDjs.setGlobalErrorHandler; exports.showCustomToast = _chunk5IEWLLLDjs.showCustomToast; exports.showError = _chunk5IEWLLLDjs.showError; exports.showToast = _chunk5IEWLLLDjs.showToast; exports.translateData = _chunk4MN547K7js.translateData; exports.translateResponse = _chunk4MN547K7js.translateResponse; exports.tryBootstrap = _chunk4MN547K7js.tryBootstrap; exports.useComposedRefs = _chunk5IEWLLLDjs.useComposedRefs; exports.useIsMobile = _chunk5IEWLLLDjs.useIsMobile; exports.userObjectSchema = _chunk5IEWLLLDjs.userObjectSchema;
415
419
  //# 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;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;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B;AACE;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;AACF,y7XAAC","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;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;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B;AACE;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;AACF,mjYAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"}
package/dist/index.mjs CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  getWaitlistConfig,
18
18
  isReferralEnabled,
19
19
  isRolesConfigured
20
- } from "./chunk-NZOUEN67.mjs";
20
+ } from "./chunk-MEWXQEVE.mjs";
21
21
  import {
22
22
  AVAILABLE_OAUTH_SCOPES,
23
23
  AbstractApiData,
@@ -98,6 +98,8 @@ import {
98
98
  Push,
99
99
  PushModule,
100
100
  PushService,
101
+ RbacMatrixModel,
102
+ RbacMatrixModule,
101
103
  ReferralModule,
102
104
  ReferralService,
103
105
  ReferralStats,
@@ -193,7 +195,7 @@ import {
193
195
  useComposedRefs,
194
196
  useIsMobile,
195
197
  userObjectSchema
196
- } from "./chunk-I65SSQ5Z.mjs";
198
+ } from "./chunk-BKM5U3DE.mjs";
197
199
  import "./chunk-AUXK7QSA.mjs";
198
200
  import "./chunk-C7C7VY4F.mjs";
199
201
  import {
@@ -293,6 +295,8 @@ export {
293
295
  Push,
294
296
  PushModule,
295
297
  PushService,
298
+ RbacMatrixModel,
299
+ RbacMatrixModule,
296
300
  RbacService,
297
301
  ReferralModule,
298
302
  ReferralService,
@@ -219,4 +219,4 @@ interface NotificationInterface extends ApiDataInterface {
219
219
  get actor(): UserInterface | undefined;
220
220
  }
221
221
 
222
- export { Action as A, type ContentInterface as C, type ModuleWithPermissions as M, type NotificationInterface as N, type PermissionCheck as P, type RoleInterface as R, type UserInterface as U, type ContentInput as a, type PageUrl as b, type ModulePermissionDefinition as c, type ModuleDefinition as d, type PermissionConfig as e, type PermissionModule as f, type PermissionUser as g, type ModuleFactory as h, type CompanyInput as i, type CompanyInterface as j, type NotificationInput as k, type RoleInput as l, type UserInput as m };
222
+ export { Action as A, type ContentInterface as C, type ModuleWithPermissions as M, type NotificationInterface as N, type PermissionCheck as P, type RoleInput as R, type UserInterface as U, type ContentInput as a, type PageUrl as b, type ModulePermissionDefinition as c, type ModuleDefinition as d, type PermissionConfig as e, type PermissionModule as f, type PermissionUser as g, type ModuleFactory as h, type CompanyInput as i, type CompanyInterface as j, type NotificationInput as k, type RoleInterface as l, type UserInput as m };
@@ -219,4 +219,4 @@ interface NotificationInterface extends ApiDataInterface {
219
219
  get actor(): UserInterface | undefined;
220
220
  }
221
221
 
222
- export { Action as A, type ContentInterface as C, type ModuleWithPermissions as M, type NotificationInterface as N, type PermissionCheck as P, type RoleInterface as R, type UserInterface as U, type ContentInput as a, type PageUrl as b, type ModulePermissionDefinition as c, type ModuleDefinition as d, type PermissionConfig as e, type PermissionModule as f, type PermissionUser as g, type ModuleFactory as h, type CompanyInput as i, type CompanyInterface as j, type NotificationInput as k, type RoleInput as l, type UserInput as m };
222
+ export { Action as A, type ContentInterface as C, type ModuleWithPermissions as M, type NotificationInterface as N, type PermissionCheck as P, type RoleInput as R, type UserInterface as U, type ContentInput as a, type PageUrl as b, type ModulePermissionDefinition as c, type ModuleDefinition as d, type PermissionConfig as e, type PermissionModule as f, type PermissionUser as g, type ModuleFactory as h, type CompanyInput as i, type CompanyInterface as j, type NotificationInput as k, type RoleInterface as l, type UserInput as m };
@@ -1,7 +1,7 @@
1
1
  import { F as FeatureInterface } from './feature.interface-CXb1-vNq.mjs';
2
- import { R as RoleInterface, U as UserInterface, m as UserInput, j as CompanyInterface, i as CompanyInput, C as ContentInterface, N as NotificationInterface } from './notification.interface-DG6obXUH.mjs';
2
+ import { l as RoleInterface, U as UserInterface, m as UserInput, j as CompanyInterface, i as CompanyInput, C as ContentInterface, N as NotificationInterface } from './notification.interface-DLZGtV7Z.mjs';
3
3
  import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from './ApiDataInterface-BcZeXy5X.mjs';
4
- import { A as AuthInput, b as AuthInterface } from './auth.interface-Bdq7-8iV.mjs';
4
+ import { A as AuthInput, b as AuthInterface } from './auth.interface-XYEREOD6.mjs';
5
5
  import { A as ApiRequestDataTypeInterface } from './ApiRequestDataTypeInterface-CYEcRUrh.mjs';
6
6
 
7
7
  declare enum HttpMethod {
@@ -1,7 +1,7 @@
1
1
  import { F as FeatureInterface } from './feature.interface-BO25VLlx.js';
2
- import { R as RoleInterface, U as UserInterface, m as UserInput, j as CompanyInterface, i as CompanyInput, C as ContentInterface, N as NotificationInterface } from './notification.interface-DcSuc9CL.js';
2
+ import { l as RoleInterface, U as UserInterface, m as UserInput, j as CompanyInterface, i as CompanyInput, C as ContentInterface, N as NotificationInterface } from './notification.interface-aLEJbA_g.js';
3
3
  import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from './ApiDataInterface-BcZeXy5X.js';
4
- import { A as AuthInput, b as AuthInterface } from './auth.interface-CQJ6A2Cj.js';
4
+ import { A as AuthInput, b as AuthInterface } from './auth.interface-BBUgMZzs.js';
5
5
  import { A as ApiRequestDataTypeInterface } from './ApiRequestDataTypeInterface-CYEcRUrh.js';
6
6
 
7
7
  declare enum HttpMethod {
@@ -1,12 +1,12 @@
1
1
  import { A as ApiData } from '../ApiData-DPKNfY-9.mjs';
2
- import { M as ModuleWithPermissions, A as Action } from '../notification.interface-DG6obXUH.mjs';
2
+ import { M as ModuleWithPermissions, A as Action } from '../notification.interface-DLZGtV7Z.mjs';
3
3
  import { A as ApiRequestDataTypeInterface } from '../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
4
4
  import { A as ApiResponseInterface } from '../ApiResponseInterface-rsXRL_Hn.mjs';
5
- export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-DGilbikH.mjs';
5
+ export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-CVgLWaDc.mjs';
6
6
  import 'lucide-react';
7
7
  import '../ApiDataInterface-BcZeXy5X.mjs';
8
8
  import '../feature.interface-CXb1-vNq.mjs';
9
- import '../auth.interface-Bdq7-8iV.mjs';
9
+ import '../auth.interface-XYEREOD6.mjs';
10
10
 
11
11
  type CacheProfile = "seconds" | "minutes" | "hours" | "days" | "weeks" | "max" | "default";
12
12
  /**
@@ -1,12 +1,12 @@
1
1
  import { A as ApiData } from '../ApiData-DPKNfY-9.js';
2
- import { M as ModuleWithPermissions, A as Action } from '../notification.interface-DcSuc9CL.js';
2
+ import { M as ModuleWithPermissions, A as Action } from '../notification.interface-aLEJbA_g.js';
3
3
  import { A as ApiRequestDataTypeInterface } from '../ApiRequestDataTypeInterface-CYEcRUrh.js';
4
4
  import { A as ApiResponseInterface } from '../ApiResponseInterface-CWLvSCvS.js';
5
- export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-DjwEQJPe.js';
5
+ export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-SLlX0Zbz.js';
6
6
  import 'lucide-react';
7
7
  import '../ApiDataInterface-BcZeXy5X.js';
8
8
  import '../feature.interface-BO25VLlx.js';
9
- import '../auth.interface-CQJ6A2Cj.js';
9
+ import '../auth.interface-BBUgMZzs.js';
10
10
 
11
11
  type CacheProfile = "seconds" | "minutes" | "hours" | "days" | "weeks" | "max" | "default";
12
12
  /**
@@ -15,7 +15,7 @@ var _chunk3ZPK4QOBjs = require('../chunk-3ZPK4QOB.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkFDJQRIMYjs = require('../chunk-FDJQRIMY.js');
18
+ var _chunk5IEWLLLDjs = require('../chunk-5IEWLLLD.js');
19
19
  require('../chunk-LXKSUWAV.js');
20
20
  require('../chunk-IBS6NI7D.js');
21
21
 
@@ -86,7 +86,7 @@ var ServerSession = class {
86
86
  if (!rawModules) return false;
87
87
  const modules = JSON.parse(_pako2.default.ungzip(Buffer.from(rawModules, "base64"), { to: "string" }));
88
88
  const selectedModule = modules.find((module) => module.id === params.module.moduleId);
89
- return _chunkFDJQRIMYjs.checkPermissionsFromServer.call(void 0, {
89
+ return _chunk5IEWLLLDjs.checkPermissionsFromServer.call(void 0, {
90
90
  module: params.module,
91
91
  action: params.action,
92
92
  data: params.data,
@@ -296,5 +296,5 @@ _chunk7QVYU63Ejs.__name.call(void 0, ServerJsonApiDelete, "ServerJsonApiDelete")
296
296
 
297
297
 
298
298
 
299
- exports.ServerAuthService = _chunkFDJQRIMYjs.AuthService; exports.ServerCompanyService = _chunkFDJQRIMYjs.CompanyService; exports.ServerContentService = _chunkFDJQRIMYjs.ContentService; exports.ServerFeatureService = _chunkFDJQRIMYjs.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunkFDJQRIMYjs.NotificationService; exports.ServerPushService = _chunkFDJQRIMYjs.PushService; exports.ServerRoleService = _chunkFDJQRIMYjs.RoleService; exports.ServerS3Service = _chunkFDJQRIMYjs.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunkFDJQRIMYjs.UserService; exports.configureServerJsonApi = configureServerJsonApi; exports.getServerApiUrl = getServerApiUrl; exports.getServerAppUrl = getServerAppUrl; exports.getServerToken = _chunkYUO55Q5Ajs.getServerToken; exports.getServerTrackablePages = getServerTrackablePages; exports.invalidateCacheTag = invalidateCacheTag; exports.invalidateCacheTags = invalidateCacheTags; exports.serverRequest = _chunk3ZPK4QOBjs.serverRequest;
299
+ exports.ServerAuthService = _chunk5IEWLLLDjs.AuthService; exports.ServerCompanyService = _chunk5IEWLLLDjs.CompanyService; exports.ServerContentService = _chunk5IEWLLLDjs.ContentService; exports.ServerFeatureService = _chunk5IEWLLLDjs.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunk5IEWLLLDjs.NotificationService; exports.ServerPushService = _chunk5IEWLLLDjs.PushService; exports.ServerRoleService = _chunk5IEWLLLDjs.RoleService; exports.ServerS3Service = _chunk5IEWLLLDjs.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunk5IEWLLLDjs.UserService; exports.configureServerJsonApi = configureServerJsonApi; exports.getServerApiUrl = getServerApiUrl; exports.getServerAppUrl = getServerAppUrl; exports.getServerToken = _chunkYUO55Q5Ajs.getServerToken; exports.getServerTrackablePages = getServerTrackablePages; exports.invalidateCacheTag = invalidateCacheTag; exports.invalidateCacheTags = invalidateCacheTags; exports.serverRequest = _chunk3ZPK4QOBjs.serverRequest;
300
300
  //# sourceMappingURL=index.js.map
@@ -15,7 +15,7 @@ import {
15
15
  S3Service,
16
16
  UserService,
17
17
  checkPermissionsFromServer
18
- } from "../chunk-I65SSQ5Z.mjs";
18
+ } from "../chunk-BKM5U3DE.mjs";
19
19
  import "../chunk-AUXK7QSA.mjs";
20
20
  import "../chunk-C7C7VY4F.mjs";
21
21
  import {
@@ -0,0 +1,33 @@
1
+ type PageInfo = {
2
+ startItem: number;
3
+ endItem: number;
4
+ pageSize: number;
5
+ };
6
+ type DataListRetriever<T> = {
7
+ ready?: boolean;
8
+ setReady: (state: boolean) => void;
9
+ isLoaded: boolean;
10
+ data: T[] | undefined;
11
+ total?: number;
12
+ next?: (onlyNewRecords?: boolean) => Promise<void>;
13
+ previous?: (onlyNewRecords?: boolean) => Promise<void>;
14
+ search: (search: string) => Promise<void>;
15
+ refresh: () => Promise<void>;
16
+ addAdditionalParameter: (key: string, value: any | null) => void;
17
+ removeAdditionalParameter: (key: string) => void;
18
+ setRefreshedElement: (element: T) => void;
19
+ removeElement: (element: T) => void;
20
+ isSearch: boolean;
21
+ pageInfo?: PageInfo;
22
+ };
23
+ declare function useDataListRetriever<T>(params: {
24
+ ready?: boolean;
25
+ retriever: (params: any) => Promise<T[]>;
26
+ retrieverParams?: any;
27
+ search?: string;
28
+ addAdditionalParameter?: (key: string, value: any | null) => void;
29
+ requiresSearch?: boolean;
30
+ module: any;
31
+ }): DataListRetriever<T>;
32
+
33
+ export { type DataListRetriever as D, useDataListRetriever as u };
@@ -0,0 +1,33 @@
1
+ type PageInfo = {
2
+ startItem: number;
3
+ endItem: number;
4
+ pageSize: number;
5
+ };
6
+ type DataListRetriever<T> = {
7
+ ready?: boolean;
8
+ setReady: (state: boolean) => void;
9
+ isLoaded: boolean;
10
+ data: T[] | undefined;
11
+ total?: number;
12
+ next?: (onlyNewRecords?: boolean) => Promise<void>;
13
+ previous?: (onlyNewRecords?: boolean) => Promise<void>;
14
+ search: (search: string) => Promise<void>;
15
+ refresh: () => Promise<void>;
16
+ addAdditionalParameter: (key: string, value: any | null) => void;
17
+ removeAdditionalParameter: (key: string) => void;
18
+ setRefreshedElement: (element: T) => void;
19
+ removeElement: (element: T) => void;
20
+ isSearch: boolean;
21
+ pageInfo?: PageInfo;
22
+ };
23
+ declare function useDataListRetriever<T>(params: {
24
+ ready?: boolean;
25
+ retriever: (params: any) => Promise<T[]>;
26
+ retrieverParams?: any;
27
+ search?: string;
28
+ addAdditionalParameter?: (key: string, value: any | null) => void;
29
+ requiresSearch?: boolean;
30
+ module: any;
31
+ }): DataListRetriever<T>;
32
+
33
+ export { type DataListRetriever as D, useDataListRetriever as u };
@@ -1,4 +1,4 @@
1
- import { N as NotificationInterface } from './notification.interface-DG6obXUH.mjs';
1
+ import { N as NotificationInterface } from './notification.interface-DLZGtV7Z.mjs';
2
2
 
3
3
  interface UseSocketOptions {
4
4
  token: string;
@@ -1,4 +1,4 @@
1
- import { N as NotificationInterface } from './notification.interface-DcSuc9CL.js';
1
+ import { N as NotificationInterface } from './notification.interface-aLEJbA_g.js';
2
2
 
3
3
  interface UseSocketOptions {
4
4
  token: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlonicora/nextjs-jsonapi",
3
- "version": "1.78.0",
3
+ "version": "1.79.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",
@@ -27,10 +27,6 @@ export * from "../features/user/hooks";
27
27
  export * from "../features/oauth/hooks";
28
28
  export * from "../features/company/hooks/useSubscriptionStatus";
29
29
 
30
- // RBAC hooks and utils
31
- export { useRbacState } from "../features/rbac/hooks/useRbacState";
32
- export { generateMigrationFile, downloadMigrationFile } from "../features/rbac/utils/RbacMigrationGenerator";
33
-
34
30
  registerTableGenerator("roles", useRoleTableStructure);
35
31
  registerTableGenerator("users", useUserTableStructure);
36
32
  registerTableGenerator("companies", useCompanyTableStructure);
@@ -31,9 +31,6 @@ export * from "../features/user/components";
31
31
  export * from "../features/oauth/components";
32
32
  export * from "../features/waitlist/components";
33
33
  export { RbacContainer } from "../features/rbac/components/RbacContainer";
34
- export { RbacToolbar } from "../features/rbac/components/RbacToolbar";
35
- export { RbacFeatureSection } from "../features/rbac/components/RbacFeatureSection";
36
- export { RbacModuleTable } from "../features/rbac/components/RbacModuleTable";
37
34
  export { RbacPermissionCell } from "../features/rbac/components/RbacPermissionCell";
38
35
  export { RbacPermissionPicker } from "../features/rbac/components/RbacPermissionPicker";
39
36
 
@@ -4,6 +4,7 @@ export * from "../features/onboarding/contexts";
4
4
  export * from "../features/role/contexts/RoleContext";
5
5
  export * from "../features/user/contexts";
6
6
  export * from "../features/how-to/contexts/HowToContext";
7
+ export * from "../features/rbac/contexts/RbacContext";
7
8
  export * from "../features/assistant/contexts/AssistantContext";
8
9
  export * from "./CommonContext";
9
10
  export * from "./HeaderChildrenContext";
@@ -54,6 +54,7 @@ export interface FoundationModuleDefinitions {
54
54
  // RBAC modules
55
55
  PermissionMapping: ModuleWithPermissions;
56
56
  ModulePaths: ModuleWithPermissions;
57
+ RbacMatrix: ModuleWithPermissions;
57
58
  // Audit modules
58
59
  AuditLog: ModuleWithPermissions;
59
60
  }