@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
@@ -3,24 +3,24 @@ import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from '../Api
3
3
  import { A as ApiRequestDataTypeInterface, F as FieldSelector } from '../ApiRequestDataTypeInterface-CYEcRUrh.js';
4
4
  export { G as GetterKeys, c as createJsonApiInclusion } from '../ApiRequestDataTypeInterface-CYEcRUrh.js';
5
5
  import { A as ApiResponseInterface } from '../ApiResponseInterface-CWLvSCvS.js';
6
- import { b as AbstractService, i as TwoFactorChallengeInterface, c as NextRef, d as PreviousRef, k as S3Interface, j as S3Input } from '../s3.service-DjwEQJPe.js';
7
- export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, N as NotificationService, P as PushService, R as RoleService, S as S3Service, e as SelfRef, T as TotalRef, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from '../s3.service-DjwEQJPe.js';
8
- import { M as ModuleWithPermissions, g as PermissionUser, A as Action, f as PermissionModule, h as ModuleFactory, R as RoleInterface, l as RoleInput, U as UserInterface, j as CompanyInterface, m as UserInput, i as CompanyInput, C as ContentInterface, a as ContentInput, N as NotificationInterface, k as NotificationInput } from '../notification.interface-DcSuc9CL.js';
9
- export { d as ModuleDefinition, c as ModulePermissionDefinition, b as PageUrl, P as PermissionCheck, e as PermissionConfig } from '../notification.interface-DcSuc9CL.js';
10
- import { a as HowToInterface, H as HowToInput, c as AssistantMessageInterface, A as AssistantMessageRole, b as AssistantMessageInput } from '../AssistantMessageInterface-DS_tyJTV.js';
11
- export { B as BreadcrumbItemData } from '../AssistantMessageInterface-DS_tyJTV.js';
6
+ import { b as AbstractService, i as TwoFactorChallengeInterface, c as NextRef, d as PreviousRef, k as S3Interface, j as S3Input } from '../s3.service-SLlX0Zbz.js';
7
+ export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, N as NotificationService, P as PushService, R as RoleService, S as S3Service, e as SelfRef, T as TotalRef, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from '../s3.service-SLlX0Zbz.js';
8
+ import { M as ModuleWithPermissions, g as PermissionUser, A as Action, f as PermissionModule, h as ModuleFactory, l as RoleInterface, R as RoleInput, U as UserInterface, j as CompanyInterface, m as UserInput, i as CompanyInput, C as ContentInterface, a as ContentInput, N as NotificationInterface, k as NotificationInput } from '../notification.interface-aLEJbA_g.js';
9
+ export { d as ModuleDefinition, c as ModulePermissionDefinition, b as PageUrl, P as PermissionCheck, e as PermissionConfig } from '../notification.interface-aLEJbA_g.js';
10
+ import { a as HowToInterface, H as HowToInput, c as AssistantMessageInterface, A as AssistantMessageRole, b as AssistantMessageInput } from '../AssistantMessageInterface-DWnbd6J7.js';
11
+ export { B as BreadcrumbItemData } from '../AssistantMessageInterface-DWnbd6J7.js';
12
12
  export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from '../content.fields-Ck5lkQ5d.js';
13
13
  import { ClassValue } from 'clsx';
14
14
  export { ClassValue } from 'clsx';
15
15
  import * as React from 'react';
16
16
  import { ReactElement, ReactNode, JSXElementConstructor } from 'react';
17
17
  import { z } from 'zod';
18
- import { T as TotpAuthenticatorInterface, P as PasskeyInterface } from '../AuthComponent-Blbs06ud.js';
19
- export { A as AuthComponent, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from '../AuthComponent-Blbs06ud.js';
18
+ import { T as TotpAuthenticatorInterface, P as PasskeyInterface } from '../AuthComponent-B6DIk8Vf.js';
19
+ export { A as AuthComponent, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from '../AuthComponent-B6DIk8Vf.js';
20
20
  import { PartialBlock } from '@blocknote/core';
21
21
  import { ExternalToast } from 'sonner';
22
- import { b as AuthInterface, A as AuthInput } from '../auth.interface-CQJ6A2Cj.js';
23
- export { a as AuthQuery } from '../auth.interface-CQJ6A2Cj.js';
22
+ import { b as AuthInterface, A as AuthInput } from '../auth.interface-BBUgMZzs.js';
23
+ export { a as AuthQuery } from '../auth.interface-BBUgMZzs.js';
24
24
  import { PublicKeyCredentialCreationOptionsJSON, RegistrationResponseJSON, PublicKeyCredentialRequestOptionsJSON, AuthenticationResponseJSON } from '@simplewebauthn/browser';
25
25
  import { M as MeterInterface, o as MeterSummaryInterface, P as PaymentMethodInterface, S as StripeCustomerInterface, a as StripeInvoiceInterface, j as StripeSubscriptionInterface, I as InvoiceStatus, g as StripeProductInterface, d as StripePriceInterface, h as StripeProductInput, e as PriceRecurring, f as StripePriceInput, i as SubscriptionStatus, k as StripeSubscriptionInput, m as StripeSubscriptionCreateResponse, b as ProrationPreviewInterface, n as StripeUsageInterface, R as ReportUsageInput, U as UsageSummaryInterface, q as PromotionCodeValidationResult } from '../stripe-promotion-code.interface-C3qqh3mi.js';
26
26
  export { c as ProrationLineItem, l as StripeSubscriptionCreateMeta, p as UsageRecordInterface } from '../stripe-promotion-code.interface-C3qqh3mi.js';
@@ -266,6 +266,7 @@ interface FoundationModuleDefinitions {
266
266
  BackupCodeVerify: ModuleWithPermissions;
267
267
  PermissionMapping: ModuleWithPermissions;
268
268
  ModulePaths: ModuleWithPermissions;
269
+ RbacMatrix: ModuleWithPermissions;
269
270
  AuditLog: ModuleWithPermissions;
270
271
  }
271
272
  interface AppModuleDefinitions {
@@ -2175,6 +2176,13 @@ declare const WaitlistStatsModule: (factory: ModuleFactory) => ModuleWithPermiss
2175
2176
 
2176
2177
  declare const PermissionMappingModule: (factory: ModuleFactory) => ModuleWithPermissions;
2177
2178
  declare const ModulePathsModule: (factory: ModuleFactory) => ModuleWithPermissions;
2179
+ /**
2180
+ * Dev-only matrix module. The `name` is the URL path of the dev singleton
2181
+ * endpoint (`GET|PUT _dev/rbac/matrix`), NOT a plural resource collection.
2182
+ * This module is only useful when the backend is running with `devMode: true`
2183
+ * on `RbacModule.register`.
2184
+ */
2185
+ declare const RbacMatrixModule: (factory: ModuleFactory) => ModuleWithPermissions;
2178
2186
 
2179
2187
  interface ReferralStatsInterface {
2180
2188
  referralCode: string;
@@ -2253,4 +2261,4 @@ declare class AuditLogService extends AbstractService {
2253
2261
 
2254
2262
  declare const AuditLogModule: (factory: ModuleFactory) => ModuleWithPermissions;
2255
2263
 
2256
- export { AbstractApiData, AbstractService, Action, ApiData, ApiDataInterface, ApiRequestDataTypeInterface, ApiResponseInterface, type AppModuleDefinitions, Assistant, AssistantInput, AssistantInterface, AssistantMessage, AssistantMessageInput, AssistantMessageInterface, AssistantMessageModule, AssistantMessageRole, AssistantMessageService, AssistantModule, AssistantService, AuditLog, type AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthInput, AuthInterface, AuthModule, AuthorModule, BackupCodeVerify, type BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, type BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, ClientAbstractService, ClientHttpMethod, type ClientNextRef, type ClientPreviousRef, type ClientSelfRef, type ClientTotalRef, Company, CompanyFields, CompanyInput, CompanyInterface, CompanyModule, Content, ContentInput, ContentInterface, ContentModule, DataClassRegistry as DataClass, DataClassRegistry, type DiffBlock, type DiffResult, EndpointCreator, type EndpointQuery, type EntityObject, Feature, FeatureInterface, FeatureModule, FieldSelector, type FormatOption, type FoundationModuleDefinitions, HowTo, HowToFields, HowToInput, HowToInterface, HowToModule, HowToService, type InviteValidation, InvoiceStatus, JsonApiDataFactory, JsonApiHydratedDataInterface, MeterInterface, MeterSummaryInterface, Module, type ModuleDefinitions, ModuleFactory, ModuleInterface, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, ModuleWithPermissions, Modules, NextRef, Notification, NotificationFields, NotificationInput, NotificationInterface, NotificationModule, OAuthClient, OAuthClientCreateRequest, OAuthClientCreateResponse, OAuthClientInput, OAuthClientInterface, OAuthConsentInfo, OAuthConsentRequest, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, type PasskeyAuthenticationOptionsInput, type PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyInterface, PasskeyModule, PasskeyRegistrationOptions, type PasskeyRegistrationOptionsInput, type PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, type PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, type PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, type PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PaymentMethodInterface, PermissionMappingModule, PermissionModule, PermissionUser, PreviousRef, PriceRecurring, PromotionCodeValidationResult, ProrationPreviewInterface, Push, type PushInput, type PushInterface, PushModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, ReportUsageInput, Role, RoleInput, RoleInterface, RoleModule, S3, S3Input, S3Interface, S3Module, type SearchResultInterface, StripeCustomer, StripeCustomerInterface, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceInterface, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceInput, StripePriceInterface, StripePriceModule, StripePriceService, StripeProduct, StripeProductInput, StripeProductInterface, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionCreateResponse, StripeSubscriptionInput, StripeSubscriptionInterface, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageInterface, StripeUsageModule, StripeUsageService, SubscriptionStatus, TableOptions, type ToastOptions, TotpAuthenticator, TotpAuthenticatorInterface, TotpAuthenticatorModule, TotpSetup, type TotpSetupInput, type TotpSetupInterface, TotpSetupModule, TotpVerify, type TotpVerifyInput, TotpVerifyLogin, type TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, type TwoFactorChallengeInput, TwoFactorChallengeInterface, TwoFactorChallengeModule, TwoFactorEnable, type TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, type TwoFactorStatusInterface, TwoFactorStatusModule, UsageSummaryInterface, User, UserInput, UserInterface, UserModule, type UserObject, Waitlist, type WaitlistInput, type WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, type WaitlistStatsInterface, WaitlistStatsModule, type WaitlistStatus, type WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatDate, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema };
2264
+ export { AbstractApiData, AbstractService, Action, ApiData, ApiDataInterface, ApiRequestDataTypeInterface, ApiResponseInterface, type AppModuleDefinitions, Assistant, AssistantInput, AssistantInterface, AssistantMessage, AssistantMessageInput, AssistantMessageInterface, AssistantMessageModule, AssistantMessageRole, AssistantMessageService, AssistantModule, AssistantService, AuditLog, type AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthInput, AuthInterface, AuthModule, AuthorModule, BackupCodeVerify, type BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, type BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, ClientAbstractService, ClientHttpMethod, type ClientNextRef, type ClientPreviousRef, type ClientSelfRef, type ClientTotalRef, Company, CompanyFields, CompanyInput, CompanyInterface, CompanyModule, Content, ContentInput, ContentInterface, ContentModule, DataClassRegistry as DataClass, DataClassRegistry, type DiffBlock, type DiffResult, EndpointCreator, type EndpointQuery, type EntityObject, Feature, FeatureInterface, FeatureModule, FieldSelector, type FormatOption, type FoundationModuleDefinitions, HowTo, HowToFields, HowToInput, HowToInterface, HowToModule, HowToService, type InviteValidation, InvoiceStatus, JsonApiDataFactory, JsonApiHydratedDataInterface, MeterInterface, MeterSummaryInterface, Module, type ModuleDefinitions, ModuleFactory, ModuleInterface, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, ModuleWithPermissions, Modules, NextRef, Notification, NotificationFields, NotificationInput, NotificationInterface, NotificationModule, OAuthClient, OAuthClientCreateRequest, OAuthClientCreateResponse, OAuthClientInput, OAuthClientInterface, OAuthConsentInfo, OAuthConsentRequest, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, type PasskeyAuthenticationOptionsInput, type PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyInterface, PasskeyModule, PasskeyRegistrationOptions, type PasskeyRegistrationOptionsInput, type PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, type PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, type PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, type PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PaymentMethodInterface, PermissionMappingModule, PermissionModule, PermissionUser, PreviousRef, PriceRecurring, PromotionCodeValidationResult, ProrationPreviewInterface, Push, type PushInput, type PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, ReportUsageInput, Role, RoleInput, RoleInterface, RoleModule, S3, S3Input, S3Interface, S3Module, type SearchResultInterface, StripeCustomer, StripeCustomerInterface, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceInterface, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceInput, StripePriceInterface, StripePriceModule, StripePriceService, StripeProduct, StripeProductInput, StripeProductInterface, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionCreateResponse, StripeSubscriptionInput, StripeSubscriptionInterface, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageInterface, StripeUsageModule, StripeUsageService, SubscriptionStatus, TableOptions, type ToastOptions, TotpAuthenticator, TotpAuthenticatorInterface, TotpAuthenticatorModule, TotpSetup, type TotpSetupInput, type TotpSetupInterface, TotpSetupModule, TotpVerify, type TotpVerifyInput, TotpVerifyLogin, type TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, type TwoFactorChallengeInput, TwoFactorChallengeInterface, TwoFactorChallengeModule, TwoFactorEnable, type TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, type TwoFactorStatusInterface, TwoFactorStatusModule, UsageSummaryInterface, User, UserInput, UserInterface, UserModule, type UserObject, Waitlist, type WaitlistInput, type WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, type WaitlistStatsInterface, WaitlistStatsModule, type WaitlistStatus, type WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatDate, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema };
@@ -169,7 +169,8 @@
169
169
 
170
170
 
171
171
 
172
- var _chunkFDJQRIMYjs = require('../chunk-FDJQRIMY.js');
172
+
173
+ var _chunk5IEWLLLDjs = require('../chunk-5IEWLLLD.js');
173
174
  require('../chunk-LXKSUWAV.js');
174
175
  require('../chunk-IBS6NI7D.js');
175
176
 
@@ -365,5 +366,6 @@ require('../chunk-7QVYU63E.js');
365
366
 
366
367
 
367
368
 
368
- 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.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.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.PermissionMappingModule = _chunkFDJQRIMYjs.PermissionMappingModule; exports.Push = _chunkFDJQRIMYjs.Push; exports.PushModule = _chunkFDJQRIMYjs.PushModule; exports.PushService = _chunkFDJQRIMYjs.PushService; 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.createJsonApiInclusion = _chunkFDJQRIMYjs.createJsonApiInclusion; exports.dismissToast = _chunkFDJQRIMYjs.dismissToast; exports.entityObjectSchema = _chunkFDJQRIMYjs.entityObjectSchema; exports.exists = _chunkFDJQRIMYjs.exists; exports.formatDate = _chunkFDJQRIMYjs.formatDate; 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.getTableComponents = _chunkFDJQRIMYjs.getTableComponents; exports.getTableOptions = _chunkFDJQRIMYjs.getTableOptions; exports.getValueFromPath = _chunkFDJQRIMYjs.getValueFromPath; exports.hasBootstrapper = _chunk4MN547K7js.hasBootstrapper; 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;
369
+
370
+ 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.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.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.PermissionMappingModule = _chunk5IEWLLLDjs.PermissionMappingModule; exports.Push = _chunk5IEWLLLDjs.Push; exports.PushModule = _chunk5IEWLLLDjs.PushModule; exports.PushService = _chunk5IEWLLLDjs.PushService; exports.RbacMatrixModule = _chunk5IEWLLLDjs.RbacMatrixModule; 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.createJsonApiInclusion = _chunk5IEWLLLDjs.createJsonApiInclusion; exports.dismissToast = _chunk5IEWLLLDjs.dismissToast; exports.entityObjectSchema = _chunk5IEWLLLDjs.entityObjectSchema; exports.exists = _chunk5IEWLLLDjs.exists; exports.formatDate = _chunk5IEWLLLDjs.formatDate; 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.getTableComponents = _chunk5IEWLLLDjs.getTableComponents; exports.getTableOptions = _chunk5IEWLLLDjs.getTableOptions; exports.getValueFromPath = _chunk5IEWLLLDjs.getValueFromPath; exports.hasBootstrapper = _chunk4MN547K7js.hasBootstrapper; 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;
369
371
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B;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;AACF,yoVAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"}
1
+ {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,uDAA6B;AAC7B,gCAA6B;AAC7B,gCAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uDAA6B;AAC7B,gCAA6B;AAC7B;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;AACF,usVAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/core/index.js"}
@@ -76,6 +76,7 @@ import {
76
76
  Push,
77
77
  PushModule,
78
78
  PushService,
79
+ RbacMatrixModule,
79
80
  ReferralModule,
80
81
  ReferralService,
81
82
  ReferralStats,
@@ -169,7 +170,7 @@ import {
169
170
  useComposedRefs,
170
171
  useIsMobile,
171
172
  userObjectSchema
172
- } from "../chunk-I65SSQ5Z.mjs";
173
+ } from "../chunk-BKM5U3DE.mjs";
173
174
  import "../chunk-AUXK7QSA.mjs";
174
175
  import "../chunk-C7C7VY4F.mjs";
175
176
  import {
@@ -265,6 +266,7 @@ export {
265
266
  Push,
266
267
  PushModule,
267
268
  PushService,
269
+ RbacMatrixModule,
268
270
  ReferralModule,
269
271
  ReferralService,
270
272
  ReferralStats,
package/dist/index.d.mts CHANGED
@@ -1,28 +1,25 @@
1
1
  export { A as ApiData } from './ApiData-DPKNfY-9.mjs';
2
- import { J as JsonApiHydratedDataInterface } from './ApiDataInterface-BcZeXy5X.mjs';
3
- export { A as ApiDataInterface } from './ApiDataInterface-BcZeXy5X.mjs';
2
+ import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from './ApiDataInterface-BcZeXy5X.mjs';
4
3
  export { A as ApiRequestDataTypeInterface, F as FieldSelector, G as GetterKeys, c as createJsonApiInclusion } from './ApiRequestDataTypeInterface-CYEcRUrh.mjs';
5
4
  export { A as ApiResponseInterface } from './ApiResponseInterface-rsXRL_Hn.mjs';
6
5
  import { AbstractApiData } from './core/index.mjs';
7
- export { AppModuleDefinitions, Assistant, AssistantMessage, AssistantMessageModule, AssistantMessageService, AssistantModule, AssistantService, AuditLog, AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthModule, AuthorModule, BackupCodeVerify, BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EndpointCreator, EndpointQuery, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, HowTo, HowToFields, HowToModule, HowToService, InviteValidation, JsonApiDataFactory, Module, ModuleDefinitions, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, PasskeyAuthenticationOptionsInput, PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyModule, PasskeyRegistrationOptions, PasskeyRegistrationOptionsInput, PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PermissionMappingModule, Push, PushInput, PushInterface, PushModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceModule, StripePriceService, StripeProduct, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, TotpAuthenticator, TotpAuthenticatorModule, TotpSetup, TotpSetupInput, TotpSetupInterface, TotpSetupModule, TotpVerify, TotpVerifyInput, TotpVerifyLogin, TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, TwoFactorChallengeInput, TwoFactorChallengeModule, TwoFactorEnable, TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, TwoFactorStatusInterface, TwoFactorStatusModule, User, UserModule, UserObject, Waitlist, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatDate, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema } from './core/index.mjs';
8
- import { b as AbstractService } from './s3.service-DGilbikH.mjs';
9
- export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, c as NextRef, N as NotificationService, d as PreviousRef, P as PushService, R as RoleService, j as S3Input, k as S3Interface, S as S3Service, e as SelfRef, T as TotalRef, i as TwoFactorChallengeInterface, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from './s3.service-DGilbikH.mjs';
10
- export { b as AssistantMessageInput, c as AssistantMessageInterface, A as AssistantMessageRole, B as BreadcrumbItemData, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-D0Kwf8CR.mjs';
6
+ export { AppModuleDefinitions, Assistant, AssistantMessage, AssistantMessageModule, AssistantMessageService, AssistantModule, AssistantService, AuditLog, AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthModule, AuthorModule, BackupCodeVerify, BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EndpointCreator, EndpointQuery, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, HowTo, HowToFields, HowToModule, HowToService, InviteValidation, JsonApiDataFactory, Module, ModuleDefinitions, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, PasskeyAuthenticationOptionsInput, PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyModule, PasskeyRegistrationOptions, PasskeyRegistrationOptionsInput, PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PermissionMappingModule, Push, PushInput, PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceModule, StripePriceService, StripeProduct, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, TotpAuthenticator, TotpAuthenticatorModule, TotpSetup, TotpSetupInput, TotpSetupInterface, TotpSetupModule, TotpVerify, TotpVerifyInput, TotpVerifyLogin, TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, TwoFactorChallengeInput, TwoFactorChallengeModule, TwoFactorEnable, TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, TwoFactorStatusInterface, TwoFactorStatusModule, User, UserModule, UserObject, Waitlist, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatDate, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema } from './core/index.mjs';
7
+ import { b as AbstractService } from './s3.service-CVgLWaDc.mjs';
8
+ export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, c as NextRef, N as NotificationService, d as PreviousRef, P as PushService, R as RoleService, j as S3Input, k as S3Interface, S as S3Service, e as SelfRef, T as TotalRef, i as TwoFactorChallengeInterface, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from './s3.service-CVgLWaDc.mjs';
9
+ export { b as AssistantMessageInput, c as AssistantMessageInterface, A as AssistantMessageRole, B as BreadcrumbItemData, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-Mla6kgPe.mjs';
11
10
  export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from './content.fields-Ck5lkQ5d.mjs';
12
11
  export { ClassValue } from 'clsx';
13
- export { A as AuthComponent, P as PasskeyInterface, T as TotpAuthenticatorInterface, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from './AuthComponent-huIaK5rm.mjs';
14
- import { R as RoleInterface } from './notification.interface-DG6obXUH.mjs';
15
- export { A as Action, i as CompanyInput, j as CompanyInterface, a as ContentInput, C as ContentInterface, d as ModuleDefinition, h as ModuleFactory, c as ModulePermissionDefinition, M as ModuleWithPermissions, k as NotificationInput, N as NotificationInterface, b as PageUrl, P as PermissionCheck, e as PermissionConfig, f as PermissionModule, g as PermissionUser, l as RoleInput, m as UserInput, U as UserInterface } from './notification.interface-DG6obXUH.mjs';
16
- export { A as AuthInput, b as AuthInterface, a as AuthQuery } from './auth.interface-Bdq7-8iV.mjs';
12
+ export { A as AuthComponent, P as PasskeyInterface, T as TotpAuthenticatorInterface, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from './AuthComponent-BKI0ZbtD.mjs';
13
+ export { A as Action, i as CompanyInput, j as CompanyInterface, a as ContentInput, C as ContentInterface, d as ModuleDefinition, h as ModuleFactory, c as ModulePermissionDefinition, M as ModuleWithPermissions, k as NotificationInput, N as NotificationInterface, b as PageUrl, P as PermissionCheck, e as PermissionConfig, f as PermissionModule, g as PermissionUser, R as RoleInput, l as RoleInterface, m as UserInput, U as UserInterface } from './notification.interface-DLZGtV7Z.mjs';
14
+ export { A as AuthInput, b as AuthInterface, a as AuthQuery } from './auth.interface-XYEREOD6.mjs';
17
15
  export { I as InvoiceStatus, M as MeterInterface, o as MeterSummaryInterface, P as PaymentMethodInterface, e as PriceRecurring, q as PromotionCodeValidationResult, c as ProrationLineItem, b as ProrationPreviewInterface, R as ReportUsageInput, S as StripeCustomerInterface, a as StripeInvoiceInterface, f as StripePriceInput, d as StripePriceInterface, h as StripeProductInput, g as StripeProductInterface, l as StripeSubscriptionCreateMeta, m as StripeSubscriptionCreateResponse, k as StripeSubscriptionInput, j as StripeSubscriptionInterface, n as StripeUsageInterface, i as SubscriptionStatus, p as UsageRecordInterface, U as UsageSummaryInterface } from './stripe-promotion-code.interface-ClZ7DxS9.mjs';
18
16
  export { A as AssistantInput, a as AssistantInterface } from './AssistantInterface-BYgI5z1-.mjs';
19
- import { F as FeatureInterface } from './feature.interface-CXb1-vNq.mjs';
20
- export { M as ModuleInterface } from './feature.interface-CXb1-vNq.mjs';
17
+ export { F as FeatureInterface, M as ModuleInterface } from './feature.interface-CXb1-vNq.mjs';
21
18
  export { A as AVAILABLE_OAUTH_SCOPES, D as DEFAULT_GRANT_TYPES, g as OAUTH_SCOPE_DISPLAY, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, a as OAuthClientInput, O as OAuthClientInterface, f as OAuthConsentInfo, d as OAuthConsentRequest, e as OAuthScopeInfo } from './oauth.interface-o5FLpiN7.mjs';
22
- export { I as I18nConfig, e as configureI18n, c as configureJsonApi, g as getApiUrl, a as getAppUrl, d as getStripePublishableKey, b as getTrackablePages } from './config-DkHF61xA.mjs';
19
+ export { I as I18nConfig, e as configureI18n, c as configureJsonApi, g as getApiUrl, a as getAppUrl, d as getStripePublishableKey, b as getTrackablePages } from './config-Bx_uh22h.mjs';
23
20
  export { Q as QuestionnaireField, a as QuestionnaireFieldType, b as QuestionnaireOption, W as WaitlistConfig, c as configureWaitlist, g as getWaitlistConfig } from './waitlist.config-kPfjImle.mjs';
24
- import { P as PermissionMappingInterface, M as ModulePathsInterface } from './ModulePathsInterface-BrdqgteS.mjs';
25
- export { c as ACTION_TYPES, A as ActionType, C as COMPANY_ADMINISTRATOR_ROLE_ID, a as PermissionValue, b as PermissionsMap } from './ModulePathsInterface-BrdqgteS.mjs';
21
+ import { R as RbacMatrix } from './RbacTypes-BTbr27Ew.mjs';
22
+ export { a as ACTION_TYPES, A as ActionType, C as COMPANY_ADMINISTRATOR_ROLE_ID, c as PermToken, P as PermissionValue, b as PermissionsMap, d as RbacModuleBlock } from './RbacTypes-BTbr27Ew.mjs';
26
23
  import 'react';
27
24
  import 'zod';
28
25
  import '@blocknote/core';
@@ -181,6 +178,17 @@ declare function getReferralConfig(): Required<ReferralConfig>;
181
178
  */
182
179
  declare function isReferralEnabled(): boolean;
183
180
 
181
+ interface PermissionMappingInterface extends ApiDataInterface {
182
+ get roleId(): string;
183
+ get moduleId(): string;
184
+ get permissions(): {
185
+ create?: boolean | string;
186
+ read?: boolean | string;
187
+ update?: boolean | string;
188
+ delete?: boolean | string;
189
+ };
190
+ }
191
+
184
192
  declare class PermissionMapping extends AbstractApiData implements PermissionMappingInterface {
185
193
  private _roleId?;
186
194
  private _moduleId?;
@@ -196,6 +204,11 @@ declare class PermissionMapping extends AbstractApiData implements PermissionMap
196
204
  rehydrate(data: JsonApiHydratedDataInterface): this;
197
205
  }
198
206
 
207
+ interface ModulePathsInterface extends ApiDataInterface {
208
+ get moduleId(): string;
209
+ get paths(): string[];
210
+ }
211
+
199
212
  declare class ModulePaths extends AbstractApiData implements ModulePathsInterface {
200
213
  private _moduleId?;
201
214
  private _paths?;
@@ -204,11 +217,95 @@ declare class ModulePaths extends AbstractApiData implements ModulePathsInterfac
204
217
  rehydrate(data: JsonApiHydratedDataInterface): this;
205
218
  }
206
219
 
220
+ /**
221
+ * Input shape accepted by `RbacMatrixModel.createJsonApi()` for a PUT request
222
+ * to the dev matrix endpoint.
223
+ */
224
+ interface RbacMatrixInput {
225
+ matrix: RbacMatrix;
226
+ roleNames: Record<string, string>;
227
+ moduleNames: Record<string, string>;
228
+ outputPath: string;
229
+ }
230
+ /**
231
+ * Frontend model for the dev-only `rbac-matrix` JSON:API resource.
232
+ *
233
+ * Backend contract (see `rbac-dev.controller.ts`):
234
+ * - `GET /_dev/rbac/matrix` → `{ data: { type: "rbac-matrix", id: "singleton",
235
+ * attributes: { matrix } } }`
236
+ * - `PUT /_dev/rbac/matrix` body: `{ data: { type: "rbac-matrix", attributes:
237
+ * { matrix, roleNames, moduleNames, outputPath } } }`
238
+ * → `{ data: { type: "rbac-matrix", id: "singleton", attributes: { bytesWritten, path } } }`
239
+ *
240
+ * The resource is a singleton (`id: "singleton"`) so there is no collection
241
+ * listing; the "read" and "write" shapes share a single model with optional
242
+ * fields populated depending on which endpoint produced the response.
243
+ */
244
+ declare class RbacMatrixModel extends AbstractApiData {
245
+ private _matrix?;
246
+ private _modulePaths?;
247
+ private _bytesWritten?;
248
+ private _path?;
249
+ /** The RBAC matrix object (populated after a GET). */
250
+ get matrix(): RbacMatrix | undefined;
251
+ /**
252
+ * UUID-keyed map of each module's known BFS relationship paths (populated
253
+ * after a GET). Fed to the permission picker as scope suggestions.
254
+ */
255
+ get modulePaths(): Record<string, readonly string[]> | undefined;
256
+ /** Bytes written to the permissions.ts file (populated after a PUT). */
257
+ get bytesWritten(): number | undefined;
258
+ /** Resolved absolute output path (populated after a PUT). */
259
+ get path(): string | undefined;
260
+ rehydrate(data: JsonApiHydratedDataInterface): this;
261
+ createJsonApi(data: RbacMatrixInput): any;
262
+ }
263
+
264
+ /**
265
+ * RbacService — fetches RBAC configuration for the admin UI.
266
+ *
267
+ * Declarative-matrix methods (`fetchMatrix`, `saveMatrix`) talk to the
268
+ * dev-only endpoints added in
269
+ * `packages/nestjs-neo4jsonapi/.../rbac-dev.controller.ts`. The controller
270
+ * speaks JSON:API (singleton resource with `type: "rbac-matrix"`, `id:
271
+ * "singleton"`), so these methods go through the standard `callApi()`
272
+ * pipeline like every other service in the codebase.
273
+ *
274
+ * The backend only registers these routes when `devMode` is enabled on
275
+ * `RbacModule.register` (see `apps/api/src/features/features.modules.ts`).
276
+ * In production the routes return 404; callers should guard with a dev-mode
277
+ * check.
278
+ */
207
279
  declare class RbacService extends AbstractService {
208
- static getFeatures(): Promise<FeatureInterface[]>;
209
- static getRoles(): Promise<RoleInterface[]>;
210
- static getPermissionMappings(): Promise<PermissionMappingInterface[]>;
211
- static getModuleRelationshipPaths(): Promise<ModulePathsInterface[]>;
280
+ /**
281
+ * Fetch the current RBAC matrix plus each module's known BFS relationship
282
+ * paths (used by the permission picker as scope suggestions).
283
+ *
284
+ * Dev-only endpoint — see class header.
285
+ */
286
+ static fetchMatrix(): Promise<{
287
+ matrix: RbacMatrix;
288
+ modulePaths: Record<string, readonly string[]>;
289
+ }>;
290
+ /**
291
+ * Persist a matrix back to the declarative `permissions.ts` file.
292
+ *
293
+ * The backend serializes the matrix to formatted TypeScript using the
294
+ * provided `roleNames` / `moduleNames` lookup tables (so the emitted file
295
+ * references `RoleId.X` / `ModuleId.X` rather than raw UUIDs) and writes
296
+ * it to `outputPath` (absolute, or relative to the repo root).
297
+ *
298
+ * Dev-only endpoint — see class header.
299
+ */
300
+ static saveMatrix(args: {
301
+ matrix: RbacMatrix;
302
+ roleNames: Record<string, string>;
303
+ moduleNames: Record<string, string>;
304
+ outputPath: string;
305
+ }): Promise<{
306
+ bytesWritten: number;
307
+ path: string;
308
+ }>;
212
309
  }
213
310
 
214
- export { AbstractApiData, AbstractService, FeatureInterface, JsonApiHydratedDataInterface, type LoginConfig, ModulePaths, ModulePathsInterface, PermissionMapping, PermissionMappingInterface, RbacService, type ReferralConfig, type RoleIdConfig, RoleInterface, type TokenHandler, type TokenParams, configureAuth, configureLogin, configureReferral, configureRoles, getReferralConfig, getRoleId, getTokenHandler, isReferralEnabled, isRolesConfigured };
311
+ export { AbstractApiData, AbstractService, ApiDataInterface, JsonApiHydratedDataInterface, type LoginConfig, ModulePaths, type ModulePathsInterface, PermissionMapping, type PermissionMappingInterface, RbacMatrix, type RbacMatrixInput, RbacMatrixModel, RbacService, type ReferralConfig, type RoleIdConfig, type TokenHandler, type TokenParams, configureAuth, configureLogin, configureReferral, configureRoles, getReferralConfig, getRoleId, getTokenHandler, isReferralEnabled, isRolesConfigured };
package/dist/index.d.ts CHANGED
@@ -1,28 +1,25 @@
1
1
  export { A as ApiData } from './ApiData-DPKNfY-9.js';
2
- import { J as JsonApiHydratedDataInterface } from './ApiDataInterface-BcZeXy5X.js';
3
- export { A as ApiDataInterface } from './ApiDataInterface-BcZeXy5X.js';
2
+ import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from './ApiDataInterface-BcZeXy5X.js';
4
3
  export { A as ApiRequestDataTypeInterface, F as FieldSelector, G as GetterKeys, c as createJsonApiInclusion } from './ApiRequestDataTypeInterface-CYEcRUrh.js';
5
4
  export { A as ApiResponseInterface } from './ApiResponseInterface-CWLvSCvS.js';
6
5
  import { AbstractApiData } from './core/index.js';
7
- export { AppModuleDefinitions, Assistant, AssistantMessage, AssistantMessageModule, AssistantMessageService, AssistantModule, AssistantService, AuditLog, AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthModule, AuthorModule, BackupCodeVerify, BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EndpointCreator, EndpointQuery, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, HowTo, HowToFields, HowToModule, HowToService, InviteValidation, JsonApiDataFactory, Module, ModuleDefinitions, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, PasskeyAuthenticationOptionsInput, PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyModule, PasskeyRegistrationOptions, PasskeyRegistrationOptionsInput, PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PermissionMappingModule, Push, PushInput, PushInterface, PushModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceModule, StripePriceService, StripeProduct, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, TotpAuthenticator, TotpAuthenticatorModule, TotpSetup, TotpSetupInput, TotpSetupInterface, TotpSetupModule, TotpVerify, TotpVerifyInput, TotpVerifyLogin, TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, TwoFactorChallengeInput, TwoFactorChallengeModule, TwoFactorEnable, TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, TwoFactorStatusInterface, TwoFactorStatusModule, User, UserModule, UserObject, Waitlist, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatDate, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema } from './core/index.js';
8
- import { b as AbstractService } from './s3.service-DjwEQJPe.js';
9
- export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, c as NextRef, N as NotificationService, d as PreviousRef, P as PushService, R as RoleService, j as S3Input, k as S3Interface, S as S3Service, e as SelfRef, T as TotalRef, i as TwoFactorChallengeInterface, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from './s3.service-DjwEQJPe.js';
10
- export { b as AssistantMessageInput, c as AssistantMessageInterface, A as AssistantMessageRole, B as BreadcrumbItemData, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-DS_tyJTV.js';
6
+ export { AppModuleDefinitions, Assistant, AssistantMessage, AssistantMessageModule, AssistantMessageService, AssistantModule, AssistantService, AuditLog, AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthModule, AuthorModule, BackupCodeVerify, BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EndpointCreator, EndpointQuery, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, HowTo, HowToFields, HowToModule, HowToService, InviteValidation, JsonApiDataFactory, Module, ModuleDefinitions, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, PasskeyAuthenticationOptionsInput, PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyModule, PasskeyRegistrationOptions, PasskeyRegistrationOptionsInput, PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PermissionMappingModule, Push, PushInput, PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceModule, StripePriceService, StripeProduct, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, TotpAuthenticator, TotpAuthenticatorModule, TotpSetup, TotpSetupInput, TotpSetupInterface, TotpSetupModule, TotpVerify, TotpVerifyInput, TotpVerifyLogin, TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, TwoFactorChallengeInput, TwoFactorChallengeModule, TwoFactorEnable, TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, TwoFactorStatusInterface, TwoFactorStatusModule, User, UserModule, UserObject, Waitlist, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatDate, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema } from './core/index.js';
7
+ import { b as AbstractService } from './s3.service-SLlX0Zbz.js';
8
+ export { A as AuthService, C as CompanyService, a as ContentService, F as FeatureService, H as HttpMethod, c as NextRef, N as NotificationService, d as PreviousRef, P as PushService, R as RoleService, j as S3Input, k as S3Interface, S as S3Service, e as SelfRef, T as TotalRef, i as TwoFactorChallengeInterface, U as UserService, f as clearLastApiTotal, h as getGlobalErrorHandler, g as getLastApiTotal, s as setGlobalErrorHandler } from './s3.service-SLlX0Zbz.js';
9
+ export { b as AssistantMessageInput, c as AssistantMessageInterface, A as AssistantMessageRole, B as BreadcrumbItemData, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-DWnbd6J7.js';
11
10
  export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from './content.fields-Ck5lkQ5d.js';
12
11
  export { ClassValue } from 'clsx';
13
- export { A as AuthComponent, P as PasskeyInterface, T as TotpAuthenticatorInterface, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from './AuthComponent-Blbs06ud.js';
14
- import { R as RoleInterface } from './notification.interface-DcSuc9CL.js';
15
- export { A as Action, i as CompanyInput, j as CompanyInterface, a as ContentInput, C as ContentInterface, d as ModuleDefinition, h as ModuleFactory, c as ModulePermissionDefinition, M as ModuleWithPermissions, k as NotificationInput, N as NotificationInterface, b as PageUrl, P as PermissionCheck, e as PermissionConfig, f as PermissionModule, g as PermissionUser, l as RoleInput, m as UserInput, U as UserInterface } from './notification.interface-DcSuc9CL.js';
16
- export { A as AuthInput, b as AuthInterface, a as AuthQuery } from './auth.interface-CQJ6A2Cj.js';
12
+ export { A as AuthComponent, P as PasskeyInterface, T as TotpAuthenticatorInterface, b as getIcon, a as getIconByModule, c as getIconByModuleName, g as getInitials, d as getLucideIcon, e as getLucideIconByModule, f as getLucideIconByModuleName } from './AuthComponent-B6DIk8Vf.js';
13
+ export { A as Action, i as CompanyInput, j as CompanyInterface, a as ContentInput, C as ContentInterface, d as ModuleDefinition, h as ModuleFactory, c as ModulePermissionDefinition, M as ModuleWithPermissions, k as NotificationInput, N as NotificationInterface, b as PageUrl, P as PermissionCheck, e as PermissionConfig, f as PermissionModule, g as PermissionUser, R as RoleInput, l as RoleInterface, m as UserInput, U as UserInterface } from './notification.interface-aLEJbA_g.js';
14
+ export { A as AuthInput, b as AuthInterface, a as AuthQuery } from './auth.interface-BBUgMZzs.js';
17
15
  export { I as InvoiceStatus, M as MeterInterface, o as MeterSummaryInterface, P as PaymentMethodInterface, e as PriceRecurring, q as PromotionCodeValidationResult, c as ProrationLineItem, b as ProrationPreviewInterface, R as ReportUsageInput, S as StripeCustomerInterface, a as StripeInvoiceInterface, f as StripePriceInput, d as StripePriceInterface, h as StripeProductInput, g as StripeProductInterface, l as StripeSubscriptionCreateMeta, m as StripeSubscriptionCreateResponse, k as StripeSubscriptionInput, j as StripeSubscriptionInterface, n as StripeUsageInterface, i as SubscriptionStatus, p as UsageRecordInterface, U as UsageSummaryInterface } from './stripe-promotion-code.interface-C3qqh3mi.js';
18
16
  export { A as AssistantInput, a as AssistantInterface } from './AssistantInterface-DfDcz0gJ.js';
19
- import { F as FeatureInterface } from './feature.interface-BO25VLlx.js';
20
- export { M as ModuleInterface } from './feature.interface-BO25VLlx.js';
17
+ export { F as FeatureInterface, M as ModuleInterface } from './feature.interface-BO25VLlx.js';
21
18
  export { A as AVAILABLE_OAUTH_SCOPES, D as DEFAULT_GRANT_TYPES, g as OAUTH_SCOPE_DISPLAY, b as OAuthClientCreateRequest, c as OAuthClientCreateResponse, a as OAuthClientInput, O as OAuthClientInterface, f as OAuthConsentInfo, d as OAuthConsentRequest, e as OAuthScopeInfo } from './oauth.interface-B6xmfDzK.js';
22
- export { I as I18nConfig, e as configureI18n, c as configureJsonApi, g as getApiUrl, a as getAppUrl, d as getStripePublishableKey, b as getTrackablePages } from './config-B3jKt9P7.js';
19
+ export { I as I18nConfig, e as configureI18n, c as configureJsonApi, g as getApiUrl, a as getAppUrl, d as getStripePublishableKey, b as getTrackablePages } from './config-B5oBQVEA.js';
23
20
  export { Q as QuestionnaireField, a as QuestionnaireFieldType, b as QuestionnaireOption, W as WaitlistConfig, c as configureWaitlist, g as getWaitlistConfig } from './waitlist.config-kPfjImle.js';
24
- import { P as PermissionMappingInterface, M as ModulePathsInterface } from './ModulePathsInterface-DJKs7s_s.js';
25
- export { c as ACTION_TYPES, A as ActionType, C as COMPANY_ADMINISTRATOR_ROLE_ID, a as PermissionValue, b as PermissionsMap } from './ModulePathsInterface-DJKs7s_s.js';
21
+ import { R as RbacMatrix } from './RbacTypes-BTbr27Ew.js';
22
+ export { a as ACTION_TYPES, A as ActionType, C as COMPANY_ADMINISTRATOR_ROLE_ID, c as PermToken, P as PermissionValue, b as PermissionsMap, d as RbacModuleBlock } from './RbacTypes-BTbr27Ew.js';
26
23
  import 'react';
27
24
  import 'zod';
28
25
  import '@blocknote/core';
@@ -181,6 +178,17 @@ declare function getReferralConfig(): Required<ReferralConfig>;
181
178
  */
182
179
  declare function isReferralEnabled(): boolean;
183
180
 
181
+ interface PermissionMappingInterface extends ApiDataInterface {
182
+ get roleId(): string;
183
+ get moduleId(): string;
184
+ get permissions(): {
185
+ create?: boolean | string;
186
+ read?: boolean | string;
187
+ update?: boolean | string;
188
+ delete?: boolean | string;
189
+ };
190
+ }
191
+
184
192
  declare class PermissionMapping extends AbstractApiData implements PermissionMappingInterface {
185
193
  private _roleId?;
186
194
  private _moduleId?;
@@ -196,6 +204,11 @@ declare class PermissionMapping extends AbstractApiData implements PermissionMap
196
204
  rehydrate(data: JsonApiHydratedDataInterface): this;
197
205
  }
198
206
 
207
+ interface ModulePathsInterface extends ApiDataInterface {
208
+ get moduleId(): string;
209
+ get paths(): string[];
210
+ }
211
+
199
212
  declare class ModulePaths extends AbstractApiData implements ModulePathsInterface {
200
213
  private _moduleId?;
201
214
  private _paths?;
@@ -204,11 +217,95 @@ declare class ModulePaths extends AbstractApiData implements ModulePathsInterfac
204
217
  rehydrate(data: JsonApiHydratedDataInterface): this;
205
218
  }
206
219
 
220
+ /**
221
+ * Input shape accepted by `RbacMatrixModel.createJsonApi()` for a PUT request
222
+ * to the dev matrix endpoint.
223
+ */
224
+ interface RbacMatrixInput {
225
+ matrix: RbacMatrix;
226
+ roleNames: Record<string, string>;
227
+ moduleNames: Record<string, string>;
228
+ outputPath: string;
229
+ }
230
+ /**
231
+ * Frontend model for the dev-only `rbac-matrix` JSON:API resource.
232
+ *
233
+ * Backend contract (see `rbac-dev.controller.ts`):
234
+ * - `GET /_dev/rbac/matrix` → `{ data: { type: "rbac-matrix", id: "singleton",
235
+ * attributes: { matrix } } }`
236
+ * - `PUT /_dev/rbac/matrix` body: `{ data: { type: "rbac-matrix", attributes:
237
+ * { matrix, roleNames, moduleNames, outputPath } } }`
238
+ * → `{ data: { type: "rbac-matrix", id: "singleton", attributes: { bytesWritten, path } } }`
239
+ *
240
+ * The resource is a singleton (`id: "singleton"`) so there is no collection
241
+ * listing; the "read" and "write" shapes share a single model with optional
242
+ * fields populated depending on which endpoint produced the response.
243
+ */
244
+ declare class RbacMatrixModel extends AbstractApiData {
245
+ private _matrix?;
246
+ private _modulePaths?;
247
+ private _bytesWritten?;
248
+ private _path?;
249
+ /** The RBAC matrix object (populated after a GET). */
250
+ get matrix(): RbacMatrix | undefined;
251
+ /**
252
+ * UUID-keyed map of each module's known BFS relationship paths (populated
253
+ * after a GET). Fed to the permission picker as scope suggestions.
254
+ */
255
+ get modulePaths(): Record<string, readonly string[]> | undefined;
256
+ /** Bytes written to the permissions.ts file (populated after a PUT). */
257
+ get bytesWritten(): number | undefined;
258
+ /** Resolved absolute output path (populated after a PUT). */
259
+ get path(): string | undefined;
260
+ rehydrate(data: JsonApiHydratedDataInterface): this;
261
+ createJsonApi(data: RbacMatrixInput): any;
262
+ }
263
+
264
+ /**
265
+ * RbacService — fetches RBAC configuration for the admin UI.
266
+ *
267
+ * Declarative-matrix methods (`fetchMatrix`, `saveMatrix`) talk to the
268
+ * dev-only endpoints added in
269
+ * `packages/nestjs-neo4jsonapi/.../rbac-dev.controller.ts`. The controller
270
+ * speaks JSON:API (singleton resource with `type: "rbac-matrix"`, `id:
271
+ * "singleton"`), so these methods go through the standard `callApi()`
272
+ * pipeline like every other service in the codebase.
273
+ *
274
+ * The backend only registers these routes when `devMode` is enabled on
275
+ * `RbacModule.register` (see `apps/api/src/features/features.modules.ts`).
276
+ * In production the routes return 404; callers should guard with a dev-mode
277
+ * check.
278
+ */
207
279
  declare class RbacService extends AbstractService {
208
- static getFeatures(): Promise<FeatureInterface[]>;
209
- static getRoles(): Promise<RoleInterface[]>;
210
- static getPermissionMappings(): Promise<PermissionMappingInterface[]>;
211
- static getModuleRelationshipPaths(): Promise<ModulePathsInterface[]>;
280
+ /**
281
+ * Fetch the current RBAC matrix plus each module's known BFS relationship
282
+ * paths (used by the permission picker as scope suggestions).
283
+ *
284
+ * Dev-only endpoint — see class header.
285
+ */
286
+ static fetchMatrix(): Promise<{
287
+ matrix: RbacMatrix;
288
+ modulePaths: Record<string, readonly string[]>;
289
+ }>;
290
+ /**
291
+ * Persist a matrix back to the declarative `permissions.ts` file.
292
+ *
293
+ * The backend serializes the matrix to formatted TypeScript using the
294
+ * provided `roleNames` / `moduleNames` lookup tables (so the emitted file
295
+ * references `RoleId.X` / `ModuleId.X` rather than raw UUIDs) and writes
296
+ * it to `outputPath` (absolute, or relative to the repo root).
297
+ *
298
+ * Dev-only endpoint — see class header.
299
+ */
300
+ static saveMatrix(args: {
301
+ matrix: RbacMatrix;
302
+ roleNames: Record<string, string>;
303
+ moduleNames: Record<string, string>;
304
+ outputPath: string;
305
+ }): Promise<{
306
+ bytesWritten: number;
307
+ path: string;
308
+ }>;
212
309
  }
213
310
 
214
- export { AbstractApiData, AbstractService, FeatureInterface, JsonApiHydratedDataInterface, type LoginConfig, ModulePaths, ModulePathsInterface, PermissionMapping, PermissionMappingInterface, RbacService, type ReferralConfig, type RoleIdConfig, RoleInterface, type TokenHandler, type TokenParams, configureAuth, configureLogin, configureReferral, configureRoles, getReferralConfig, getRoleId, getTokenHandler, isReferralEnabled, isRolesConfigured };
311
+ export { AbstractApiData, AbstractService, ApiDataInterface, JsonApiHydratedDataInterface, type LoginConfig, ModulePaths, type ModulePathsInterface, PermissionMapping, type PermissionMappingInterface, RbacMatrix, type RbacMatrixInput, RbacMatrixModel, RbacService, type ReferralConfig, type RoleIdConfig, type TokenHandler, type TokenParams, configureAuth, configureLogin, configureReferral, configureRoles, getReferralConfig, getRoleId, getTokenHandler, isReferralEnabled, isRolesConfigured };