@carlonicora/nextjs-jsonapi 1.67.0 → 1.69.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 (100) hide show
  1. package/dist/{AuthComponent-NwQ_ZXsv.d.mts → AuthComponent-DXe3kPzb.d.mts} +1 -1
  2. package/dist/{AuthComponent-DL1D3y7f.d.ts → AuthComponent-Di8DsZ2I.d.ts} +1 -1
  3. package/dist/{BlockNoteEditor-QHWPE3BJ.js → BlockNoteEditor-CBUEPFA7.js} +14 -14
  4. package/dist/{BlockNoteEditor-QHWPE3BJ.js.map → BlockNoteEditor-CBUEPFA7.js.map} +1 -1
  5. package/dist/{BlockNoteEditor-TIX3GDVZ.mjs → BlockNoteEditor-ON5Q6QWO.mjs} +4 -4
  6. package/dist/HowToInterface-DtVWAE1s.d.mts +17 -0
  7. package/dist/HowToInterface-NaqSG9sE.d.ts +17 -0
  8. package/dist/{auth.interface-BX_1qZZJ.d.ts → auth.interface-BTco8PWs.d.ts} +1 -1
  9. package/dist/{auth.interface-yeLelxdI.d.mts → auth.interface-C4uJzBec.d.mts} +1 -1
  10. package/dist/billing/index.js +346 -346
  11. package/dist/billing/index.mjs +3 -3
  12. package/dist/{chunk-CJY63D6U.js → chunk-56VU7A4I.js} +180 -18
  13. package/dist/chunk-56VU7A4I.js.map +1 -0
  14. package/dist/{chunk-3BWYWS3A.js → chunk-5X4MS55M.js} +1655 -695
  15. package/dist/chunk-5X4MS55M.js.map +1 -0
  16. package/dist/{chunk-KFIQTY4O.js → chunk-6ROMPIIP.js} +11 -11
  17. package/dist/{chunk-KFIQTY4O.js.map → chunk-6ROMPIIP.js.map} +1 -1
  18. package/dist/{chunk-RIG2BEXJ.mjs → chunk-GZNHBAZF.mjs} +163 -1
  19. package/dist/chunk-GZNHBAZF.mjs.map +1 -0
  20. package/dist/{chunk-WWP32QYC.mjs → chunk-NPF7P7MU.mjs} +2562 -1602
  21. package/dist/chunk-NPF7P7MU.mjs.map +1 -0
  22. package/dist/{chunk-ZYAAJMZZ.mjs → chunk-WJYWWOTG.mjs} +2 -2
  23. package/dist/client/index.d.mts +5 -6
  24. package/dist/client/index.d.ts +5 -6
  25. package/dist/client/index.js +4 -4
  26. package/dist/client/index.mjs +3 -3
  27. package/dist/components/index.d.mts +76 -8
  28. package/dist/components/index.d.ts +76 -8
  29. package/dist/components/index.js +26 -4
  30. package/dist/components/index.js.map +1 -1
  31. package/dist/components/index.mjs +25 -3
  32. package/dist/{config-D-mqttuF.d.mts → config-Bmr_0qTn.d.mts} +1 -1
  33. package/dist/{config-CyCAWW-d.d.ts → config-n0lfSf27.d.ts} +1 -1
  34. package/dist/contexts/index.d.mts +16 -4
  35. package/dist/contexts/index.d.ts +16 -4
  36. package/dist/contexts/index.js +8 -4
  37. package/dist/contexts/index.js.map +1 -1
  38. package/dist/contexts/index.mjs +7 -3
  39. package/dist/core/index.d.mts +61 -11
  40. package/dist/core/index.d.ts +61 -11
  41. package/dist/core/index.js +10 -2
  42. package/dist/core/index.js.map +1 -1
  43. package/dist/core/index.mjs +9 -1
  44. package/dist/index.d.mts +9 -10
  45. package/dist/index.d.ts +9 -10
  46. package/dist/index.js +11 -3
  47. package/dist/index.js.map +1 -1
  48. package/dist/index.mjs +10 -2
  49. package/dist/{notification.interface-ItBxq2au.d.ts → notification.interface-DYDZENx2.d.ts} +18 -1
  50. package/dist/{notification.interface-C6UcmJqu.d.mts → notification.interface-DrHu_1MM.d.mts} +18 -1
  51. package/dist/{s3.service-Cg5TmbU_.d.ts → s3.service-DK2KKXbR.d.ts} +6 -3
  52. package/dist/{s3.service-DLf_a0xS.d.mts → s3.service-TsN2unZr.d.mts} +6 -3
  53. package/dist/server/index.d.mts +3 -4
  54. package/dist/server/index.d.ts +3 -4
  55. package/dist/server/index.js +3 -3
  56. package/dist/server/index.mjs +1 -1
  57. package/dist/{useRbacState-CUj0hp8t.d.ts → useRbacState-BYaSdA78.d.ts} +1 -1
  58. package/dist/{useRbacState-Btk1gkQg.d.mts → useRbacState-CQEJ_ysV.d.mts} +1 -1
  59. package/dist/{useSocket-BSUN9s3p.d.ts → useSocket-Cjt_qvkI.d.ts} +1 -1
  60. package/dist/{useSocket-DKI92Fbg.d.mts → useSocket-VAGetcT3.d.mts} +1 -1
  61. package/package.json +1 -1
  62. package/src/components/index.ts +1 -0
  63. package/src/contexts/index.ts +1 -0
  64. package/src/core/index.ts +2 -0
  65. package/src/core/registry/ModuleRegistry.ts +19 -0
  66. package/src/features/how-to/HowToModule.ts +18 -0
  67. package/src/features/how-to/components/containers/HowToCommand.tsx +230 -0
  68. package/src/features/how-to/components/containers/HowToCommandViewer.tsx +76 -0
  69. package/src/features/how-to/components/containers/HowToContainer.tsx +27 -0
  70. package/src/features/how-to/components/containers/HowToListContainer.tsx +17 -0
  71. package/src/features/how-to/components/details/HowToContent.tsx +16 -0
  72. package/src/features/how-to/components/details/HowToDetails.tsx +52 -0
  73. package/src/features/how-to/components/forms/HowToDeleter.tsx +31 -0
  74. package/src/features/how-to/components/forms/HowToEditor.tsx +270 -0
  75. package/src/features/how-to/components/forms/HowToMultiSelector.tsx +152 -0
  76. package/src/features/how-to/components/forms/HowToSelector.tsx +164 -0
  77. package/src/features/how-to/components/index.ts +11 -0
  78. package/src/features/how-to/components/lists/HowToList.tsx +39 -0
  79. package/src/features/how-to/contexts/HowToContext.tsx +101 -0
  80. package/src/features/how-to/data/HowTo.ts +69 -0
  81. package/src/features/how-to/data/HowToFields.ts +10 -0
  82. package/src/features/how-to/data/HowToInterface.ts +11 -0
  83. package/src/features/how-to/data/HowToService.ts +61 -0
  84. package/src/features/how-to/data/index.ts +4 -0
  85. package/src/features/how-to/hooks/useHowToTableStructure.tsx +86 -0
  86. package/src/features/how-to/index.ts +2 -0
  87. package/src/features/how-to/utils/blocknote.ts +108 -0
  88. package/src/features/how-to/utils/index.ts +1 -0
  89. package/src/features/user/components/details/UserContent.tsx +1 -1
  90. package/src/features/user/data/user.service.ts +9 -0
  91. package/dist/breadcrumb.item.data.interface-CgB4_1EE.d.mts +0 -6
  92. package/dist/breadcrumb.item.data.interface-CgB4_1EE.d.ts +0 -6
  93. package/dist/chunk-3BWYWS3A.js.map +0 -1
  94. package/dist/chunk-CJY63D6U.js.map +0 -1
  95. package/dist/chunk-RIG2BEXJ.mjs.map +0 -1
  96. package/dist/chunk-WWP32QYC.mjs.map +0 -1
  97. package/dist/content.interface-8T5-G84c.d.mts +0 -21
  98. package/dist/content.interface-D-xdYxjt.d.ts +0 -21
  99. /package/dist/{BlockNoteEditor-TIX3GDVZ.mjs.map → BlockNoteEditor-ON5Q6QWO.mjs.map} +0 -0
  100. /package/dist/{chunk-ZYAAJMZZ.mjs.map → chunk-WJYWWOTG.mjs.map} +0 -0
package/dist/index.d.mts CHANGED
@@ -4,22 +4,21 @@ export { A as ApiDataInterface } from './ApiDataInterface-DPP8s46n.mjs';
4
4
  export { A as ApiRequestDataTypeInterface, F as FieldSelector, G as GetterKeys, c as createJsonApiInclusion } from './ApiRequestDataTypeInterface-CYEcRUrh.mjs';
5
5
  export { A as ApiResponseInterface } from './ApiResponseInterface-zeewugD7.mjs';
6
6
  import { AbstractApiData } from './core/index.mjs';
7
- export { AppModuleDefinitions, 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, 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-DLf_a0xS.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-DLf_a0xS.mjs';
10
- export { B as BreadcrumbItemData } from './breadcrumb.item.data.interface-CgB4_1EE.mjs';
7
+ export { AppModuleDefinitions, 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-TsN2unZr.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-TsN2unZr.mjs';
10
+ export { B as BreadcrumbItemData, H as HowToInput, a as HowToInterface } from './HowToInterface-DtVWAE1s.mjs';
11
11
  export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from './content.fields-Ck5lkQ5d.mjs';
12
12
  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-NwQ_ZXsv.mjs';
14
- import { R as RoleInterface } from './notification.interface-C6UcmJqu.mjs';
15
- export { A as Action, C as CompanyInput, h as CompanyInterface, c as ModuleDefinition, g as ModuleFactory, b as ModulePermissionDefinition, M as ModuleWithPermissions, i as NotificationInput, N as NotificationInterface, a as PageUrl, P as PermissionCheck, d as PermissionConfig, e as PermissionModule, f as PermissionUser, j as RoleInput, k as UserInput, U as UserInterface } from './notification.interface-C6UcmJqu.mjs';
16
- export { A as AuthInput, b as AuthInterface, a as AuthQuery } from './auth.interface-yeLelxdI.mjs';
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-DXe3kPzb.mjs';
14
+ import { R as RoleInterface } from './notification.interface-DrHu_1MM.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-DrHu_1MM.mjs';
16
+ export { A as AuthInput, b as AuthInterface, a as AuthQuery } from './auth.interface-C4uJzBec.mjs';
17
17
  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-Dnm2DJKQ.mjs';
18
- export { C as ContentInput, a as ContentInterface } from './content.interface-8T5-G84c.mjs';
19
18
  import { F as FeatureInterface } from './feature.interface-BxFFOPNq.mjs';
20
19
  export { M as ModuleInterface } from './feature.interface-BxFFOPNq.mjs';
21
20
  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-DsZ5ecSX.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-D-mqttuF.mjs';
21
+ export { I as I18nConfig, e as configureI18n, c as configureJsonApi, g as getApiUrl, a as getAppUrl, d as getStripePublishableKey, b as getTrackablePages } from './config-Bmr_0qTn.mjs';
23
22
  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
23
  import { P as PermissionMappingInterface, M as ModulePathsInterface } from './ModulePathsInterface-49EWvbWy.mjs';
25
24
  export { c as ACTION_TYPES, A as ActionType, C as COMPANY_ADMINISTRATOR_ROLE_ID, a as PermissionValue, b as PermissionsMap } from './ModulePathsInterface-49EWvbWy.mjs';
package/dist/index.d.ts CHANGED
@@ -4,22 +4,21 @@ export { A as ApiDataInterface } from './ApiDataInterface-DPP8s46n.js';
4
4
  export { A as ApiRequestDataTypeInterface, F as FieldSelector, G as GetterKeys, c as createJsonApiInclusion } from './ApiRequestDataTypeInterface-CYEcRUrh.js';
5
5
  export { A as ApiResponseInterface } from './ApiResponseInterface-CAIAeP5d.js';
6
6
  import { AbstractApiData } from './core/index.js';
7
- export { AppModuleDefinitions, 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, 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-Cg5TmbU_.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-Cg5TmbU_.js';
10
- export { B as BreadcrumbItemData } from './breadcrumb.item.data.interface-CgB4_1EE.js';
7
+ export { AppModuleDefinitions, 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-DK2KKXbR.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-DK2KKXbR.js';
10
+ export { B as BreadcrumbItemData, H as HowToInput, a as HowToInterface } from './HowToInterface-NaqSG9sE.js';
11
11
  export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from './content.fields-Ck5lkQ5d.js';
12
12
  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-DL1D3y7f.js';
14
- import { R as RoleInterface } from './notification.interface-ItBxq2au.js';
15
- export { A as Action, C as CompanyInput, h as CompanyInterface, c as ModuleDefinition, g as ModuleFactory, b as ModulePermissionDefinition, M as ModuleWithPermissions, i as NotificationInput, N as NotificationInterface, a as PageUrl, P as PermissionCheck, d as PermissionConfig, e as PermissionModule, f as PermissionUser, j as RoleInput, k as UserInput, U as UserInterface } from './notification.interface-ItBxq2au.js';
16
- export { A as AuthInput, b as AuthInterface, a as AuthQuery } from './auth.interface-BX_1qZZJ.js';
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-Di8DsZ2I.js';
14
+ import { R as RoleInterface } from './notification.interface-DYDZENx2.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-DYDZENx2.js';
16
+ export { A as AuthInput, b as AuthInterface, a as AuthQuery } from './auth.interface-BTco8PWs.js';
17
17
  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-BcJty0rv.js';
18
- export { C as ContentInput, a as ContentInterface } from './content.interface-D-xdYxjt.js';
19
18
  import { F as FeatureInterface } from './feature.interface-CIWxo8NP.js';
20
19
  export { M as ModuleInterface } from './feature.interface-CIWxo8NP.js';
21
20
  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-vL7za9Bz.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-CyCAWW-d.js';
21
+ export { I as I18nConfig, e as configureI18n, c as configureJsonApi, g as getApiUrl, a as getAppUrl, d as getStripePublishableKey, b as getTrackablePages } from './config-n0lfSf27.js';
23
22
  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
23
  import { P as PermissionMappingInterface, M as ModulePathsInterface } from './ModulePathsInterface-wVS5Raa4.js';
25
24
  export { c as ACTION_TYPES, A as ActionType, C as COMPANY_ADMINISTRATOR_ROLE_ID, a as PermissionValue, b as PermissionsMap } from './ModulePathsInterface-wVS5Raa4.js';
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@
17
17
 
18
18
 
19
19
 
20
- var _chunkKFIQTY4Ojs = require('./chunk-KFIQTY4O.js');
20
+ var _chunk6ROMPIIPjs = require('./chunk-6ROMPIIP.js');
21
21
 
22
22
 
23
23
 
@@ -183,7 +183,11 @@ var _chunkKFIQTY4Ojs = require('./chunk-KFIQTY4O.js');
183
183
 
184
184
 
185
185
 
186
- var _chunkCJY63D6Ujs = require('./chunk-CJY63D6U.js');
186
+
187
+
188
+
189
+
190
+ var _chunk56VU7A4Ijs = require('./chunk-56VU7A4I.js');
187
191
  require('./chunk-LXKSUWAV.js');
188
192
  require('./chunk-IBS6NI7D.js');
189
193
 
@@ -391,5 +395,9 @@ require('./chunk-7QVYU63E.js');
391
395
 
392
396
 
393
397
 
394
- exports.ACTION_TYPES = _chunkKFIQTY4Ojs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkCJY63D6Ujs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkCJY63D6Ujs.AbstractApiData; exports.AbstractService = _chunkCJY63D6Ujs.AbstractService; exports.Action = _chunkCJY63D6Ujs.Action; exports.AuditLog = _chunkCJY63D6Ujs.AuditLog; exports.AuditLogModule = _chunkCJY63D6Ujs.AuditLogModule; exports.AuditLogService = _chunkCJY63D6Ujs.AuditLogService; exports.Auth = _chunkCJY63D6Ujs.Auth; exports.AuthComponent = _chunkCJY63D6Ujs.AuthComponent; exports.AuthModule = _chunkCJY63D6Ujs.AuthModule; exports.AuthService = _chunkCJY63D6Ujs.AuthService; exports.AuthorModule = _chunkCJY63D6Ujs.AuthorModule; exports.BackupCodeVerify = _chunkCJY63D6Ujs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkCJY63D6Ujs.BackupCodeVerifyModule; exports.Billing = _chunkCJY63D6Ujs.Billing; exports.BillingModule = _chunkCJY63D6Ujs.BillingModule; exports.BillingService = _chunkCJY63D6Ujs.BillingService; exports.BlockNoteDiffUtil = _chunkCJY63D6Ujs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkCJY63D6Ujs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkKFIQTY4Ojs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.ClientAbstractService = _chunkCJY63D6Ujs.ClientAbstractService; exports.ClientHttpMethod = _chunkCJY63D6Ujs.ClientHttpMethod; exports.Company = _chunkCJY63D6Ujs.Company; exports.CompanyFields = _chunkCJY63D6Ujs.CompanyFields; exports.CompanyModule = _chunkCJY63D6Ujs.CompanyModule; exports.CompanyService = _chunkCJY63D6Ujs.CompanyService; exports.Content = _chunkCJY63D6Ujs.Content; exports.ContentFields = _chunkCJY63D6Ujs.ContentFields; exports.ContentModule = _chunkCJY63D6Ujs.ContentModule; exports.ContentService = _chunkCJY63D6Ujs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkCJY63D6Ujs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunk4MN547K7js.DataClassRegistry; exports.DataClassRegistry = _chunk4MN547K7js.DataClassRegistry; exports.EndpointCreator = _chunkCJY63D6Ujs.EndpointCreator; exports.Feature = _chunkCJY63D6Ujs.Feature; exports.FeatureModule = _chunkCJY63D6Ujs.FeatureModule; exports.FeatureService = _chunkCJY63D6Ujs.FeatureService; exports.HttpMethod = _chunkCJY63D6Ujs.HttpMethod; exports.InvoiceStatus = _chunkCJY63D6Ujs.InvoiceStatus; exports.JsonApiDataFactory = _chunk4MN547K7js.JsonApiDataFactory; exports.Module = _chunkCJY63D6Ujs.Module; exports.ModuleModule = _chunkCJY63D6Ujs.ModuleModule; exports.ModulePaths = _chunkCJY63D6Ujs.ModulePaths; exports.ModulePathsModule = _chunkCJY63D6Ujs.ModulePathsModule; exports.ModuleRegistrar = _chunkCJY63D6Ujs.ModuleRegistrar; exports.ModuleRegistry = _chunkCJY63D6Ujs.ModuleRegistry; exports.Modules = _chunkCJY63D6Ujs.Modules; exports.Notification = _chunkCJY63D6Ujs.Notification; exports.NotificationFields = _chunkCJY63D6Ujs.NotificationFields; exports.NotificationModule = _chunkCJY63D6Ujs.NotificationModule; exports.NotificationService = _chunkCJY63D6Ujs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkCJY63D6Ujs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkCJY63D6Ujs.OAuthClient; exports.OAuthModule = _chunkCJY63D6Ujs.OAuthModule; exports.OAuthService = _chunkCJY63D6Ujs.OAuthService; exports.Passkey = _chunkCJY63D6Ujs.Passkey; exports.PasskeyAuthenticationOptions = _chunkCJY63D6Ujs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkCJY63D6Ujs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkCJY63D6Ujs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkCJY63D6Ujs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkCJY63D6Ujs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkCJY63D6Ujs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkCJY63D6Ujs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkCJY63D6Ujs.PasskeyRename; exports.PasskeyRenameModule = _chunkCJY63D6Ujs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkCJY63D6Ujs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkCJY63D6Ujs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkCJY63D6Ujs.PaymentMethod; exports.PermissionMapping = _chunkCJY63D6Ujs.PermissionMapping; exports.PermissionMappingModule = _chunkCJY63D6Ujs.PermissionMappingModule; exports.Push = _chunkCJY63D6Ujs.Push; exports.PushModule = _chunkCJY63D6Ujs.PushModule; exports.PushService = _chunkCJY63D6Ujs.PushService; exports.RbacService = _chunkKFIQTY4Ojs.RbacService; exports.ReferralModule = _chunkCJY63D6Ujs.ReferralModule; exports.ReferralService = _chunkCJY63D6Ujs.ReferralService; exports.ReferralStats = _chunkCJY63D6Ujs.ReferralStats; exports.ReferralStatsModule = _chunkCJY63D6Ujs.ReferralStatsModule; exports.RehydrationFactory = _chunkCJY63D6Ujs.RehydrationFactory; exports.Role = _chunkCJY63D6Ujs.Role; exports.RoleFields = _chunkCJY63D6Ujs.RoleFields; exports.RoleModule = _chunkCJY63D6Ujs.RoleModule; exports.RoleService = _chunkCJY63D6Ujs.RoleService; exports.S3 = _chunkCJY63D6Ujs.S3; exports.S3Module = _chunkCJY63D6Ujs.S3Module; exports.S3Service = _chunkCJY63D6Ujs.S3Service; exports.StripeCustomer = _chunkCJY63D6Ujs.StripeCustomer; exports.StripeCustomerModule = _chunkCJY63D6Ujs.StripeCustomerModule; exports.StripeCustomerService = _chunkCJY63D6Ujs.StripeCustomerService; exports.StripeInvoice = _chunkCJY63D6Ujs.StripeInvoice; exports.StripeInvoiceModule = _chunkCJY63D6Ujs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkCJY63D6Ujs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkCJY63D6Ujs.StripePaymentMethodModule; exports.StripePrice = _chunkCJY63D6Ujs.StripePrice; exports.StripePriceModule = _chunkCJY63D6Ujs.StripePriceModule; exports.StripePriceService = _chunkCJY63D6Ujs.StripePriceService; exports.StripeProduct = _chunkCJY63D6Ujs.StripeProduct; exports.StripeProductModule = _chunkCJY63D6Ujs.StripeProductModule; exports.StripeProductService = _chunkCJY63D6Ujs.StripeProductService; exports.StripePromotionCode = _chunkCJY63D6Ujs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkCJY63D6Ujs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkCJY63D6Ujs.StripePromotionCodeService; exports.StripeSubscription = _chunkCJY63D6Ujs.StripeSubscription; exports.StripeSubscriptionModule = _chunkCJY63D6Ujs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkCJY63D6Ujs.StripeSubscriptionService; exports.StripeUsage = _chunkCJY63D6Ujs.StripeUsage; exports.StripeUsageModule = _chunkCJY63D6Ujs.StripeUsageModule; exports.StripeUsageService = _chunkCJY63D6Ujs.StripeUsageService; exports.SubscriptionStatus = _chunkCJY63D6Ujs.SubscriptionStatus; exports.TableOptions = _chunkCJY63D6Ujs.TableOptions; exports.TotpAuthenticator = _chunkCJY63D6Ujs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkCJY63D6Ujs.TotpAuthenticatorModule; exports.TotpSetup = _chunkCJY63D6Ujs.TotpSetup; exports.TotpSetupModule = _chunkCJY63D6Ujs.TotpSetupModule; exports.TotpVerify = _chunkCJY63D6Ujs.TotpVerify; exports.TotpVerifyLogin = _chunkCJY63D6Ujs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkCJY63D6Ujs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkCJY63D6Ujs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkCJY63D6Ujs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkCJY63D6Ujs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkCJY63D6Ujs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkCJY63D6Ujs.TwoFactorEnableModule; exports.TwoFactorService = _chunkCJY63D6Ujs.TwoFactorService; exports.TwoFactorStatus = _chunkCJY63D6Ujs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkCJY63D6Ujs.TwoFactorStatusModule; exports.User = _chunkCJY63D6Ujs.User; exports.UserFields = _chunkCJY63D6Ujs.UserFields; exports.UserModule = _chunkCJY63D6Ujs.UserModule; exports.UserService = _chunkCJY63D6Ujs.UserService; exports.Waitlist = _chunkCJY63D6Ujs.Waitlist; exports.WaitlistModule = _chunkCJY63D6Ujs.WaitlistModule; exports.WaitlistService = _chunkCJY63D6Ujs.WaitlistService; exports.WaitlistStats = _chunkCJY63D6Ujs.WaitlistStats; exports.WaitlistStatsModule = _chunkCJY63D6Ujs.WaitlistStatsModule; exports.checkPermissions = _chunkCJY63D6Ujs.checkPermissions; exports.checkPermissionsFromServer = _chunkCJY63D6Ujs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkCJY63D6Ujs.clearLastApiTotal; exports.cn = _chunkCJY63D6Ujs.cn; exports.composeRefs = _chunkCJY63D6Ujs.composeRefs; exports.configureAuth = _chunkCJY63D6Ujs.configureAuth; exports.configureI18n = _chunkKFIQTY4Ojs.configureI18n; exports.configureJsonApi = _chunkKFIQTY4Ojs.configureJsonApi; exports.configureLogin = _chunkKFIQTY4Ojs.configureLogin; exports.configureReferral = _chunkKFIQTY4Ojs.configureReferral; exports.configureRoles = _chunkKFIQTY4Ojs.configureRoles; exports.configureWaitlist = _chunkKFIQTY4Ojs.configureWaitlist; exports.createJsonApiInclusion = _chunkCJY63D6Ujs.createJsonApiInclusion; exports.dismissToast = _chunkCJY63D6Ujs.dismissToast; exports.entityObjectSchema = _chunkCJY63D6Ujs.entityObjectSchema; exports.exists = _chunkCJY63D6Ujs.exists; exports.formatDate = _chunkCJY63D6Ujs.formatDate; exports.getApiUrl = _chunkKFIQTY4Ojs.getApiUrl; exports.getAppUrl = _chunkKFIQTY4Ojs.getAppUrl; exports.getBootstrapper = _chunk4MN547K7js.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkCJY63D6Ujs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkCJY63D6Ujs.getGlobalErrorHandler; exports.getIcon = _chunkCJY63D6Ujs.getIcon; exports.getIconByModule = _chunkCJY63D6Ujs.getIconByModule; exports.getIconByModuleName = _chunkCJY63D6Ujs.getIconByModuleName; exports.getInitials = _chunkCJY63D6Ujs.getInitials; exports.getLastApiTotal = _chunkCJY63D6Ujs.getLastApiTotal; exports.getLucideIcon = _chunkCJY63D6Ujs.getLucideIcon; exports.getLucideIconByModule = _chunkCJY63D6Ujs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkCJY63D6Ujs.getLucideIconByModuleName; exports.getReferralConfig = _chunkKFIQTY4Ojs.getReferralConfig; exports.getRoleId = _chunkKFIQTY4Ojs.getRoleId; exports.getStripePublishableKey = _chunkKFIQTY4Ojs.getStripePublishableKey; exports.getTableComponents = _chunkCJY63D6Ujs.getTableComponents; exports.getTableOptions = _chunkCJY63D6Ujs.getTableOptions; exports.getTokenHandler = _chunkCJY63D6Ujs.getTokenHandler; exports.getTrackablePages = _chunkKFIQTY4Ojs.getTrackablePages; exports.getValueFromPath = _chunkCJY63D6Ujs.getValueFromPath; exports.getWaitlistConfig = _chunkKFIQTY4Ojs.getWaitlistConfig; exports.hasBootstrapper = _chunk4MN547K7js.hasBootstrapper; exports.isReferralEnabled = _chunkKFIQTY4Ojs.isReferralEnabled; exports.isRolesConfigured = _chunkKFIQTY4Ojs.isRolesConfigured; exports.rehydrate = _chunkCJY63D6Ujs.rehydrate; exports.rehydrateList = _chunkCJY63D6Ujs.rehydrateList; exports.resetBootstrapStore = _chunk4MN547K7js.resetBootstrapStore; exports.setBootstrapper = _chunk4MN547K7js.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkCJY63D6Ujs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkCJY63D6Ujs.setGlobalErrorHandler; exports.showCustomToast = _chunkCJY63D6Ujs.showCustomToast; exports.showError = _chunkCJY63D6Ujs.showError; exports.showToast = _chunkCJY63D6Ujs.showToast; exports.translateData = _chunk4MN547K7js.translateData; exports.translateResponse = _chunk4MN547K7js.translateResponse; exports.tryBootstrap = _chunk4MN547K7js.tryBootstrap; exports.useComposedRefs = _chunkCJY63D6Ujs.useComposedRefs; exports.useIsMobile = _chunkCJY63D6Ujs.useIsMobile; exports.userObjectSchema = _chunkCJY63D6Ujs.userObjectSchema;
398
+
399
+
400
+
401
+
402
+ exports.ACTION_TYPES = _chunk6ROMPIIPjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunk56VU7A4Ijs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunk56VU7A4Ijs.AbstractApiData; exports.AbstractService = _chunk56VU7A4Ijs.AbstractService; exports.Action = _chunk56VU7A4Ijs.Action; exports.AuditLog = _chunk56VU7A4Ijs.AuditLog; exports.AuditLogModule = _chunk56VU7A4Ijs.AuditLogModule; exports.AuditLogService = _chunk56VU7A4Ijs.AuditLogService; exports.Auth = _chunk56VU7A4Ijs.Auth; exports.AuthComponent = _chunk56VU7A4Ijs.AuthComponent; exports.AuthModule = _chunk56VU7A4Ijs.AuthModule; exports.AuthService = _chunk56VU7A4Ijs.AuthService; exports.AuthorModule = _chunk56VU7A4Ijs.AuthorModule; exports.BackupCodeVerify = _chunk56VU7A4Ijs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunk56VU7A4Ijs.BackupCodeVerifyModule; exports.Billing = _chunk56VU7A4Ijs.Billing; exports.BillingModule = _chunk56VU7A4Ijs.BillingModule; exports.BillingService = _chunk56VU7A4Ijs.BillingService; exports.BlockNoteDiffUtil = _chunk56VU7A4Ijs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunk56VU7A4Ijs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunk6ROMPIIPjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.ClientAbstractService = _chunk56VU7A4Ijs.ClientAbstractService; exports.ClientHttpMethod = _chunk56VU7A4Ijs.ClientHttpMethod; exports.Company = _chunk56VU7A4Ijs.Company; exports.CompanyFields = _chunk56VU7A4Ijs.CompanyFields; exports.CompanyModule = _chunk56VU7A4Ijs.CompanyModule; exports.CompanyService = _chunk56VU7A4Ijs.CompanyService; exports.Content = _chunk56VU7A4Ijs.Content; exports.ContentFields = _chunk56VU7A4Ijs.ContentFields; exports.ContentModule = _chunk56VU7A4Ijs.ContentModule; exports.ContentService = _chunk56VU7A4Ijs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunk56VU7A4Ijs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunk4MN547K7js.DataClassRegistry; exports.DataClassRegistry = _chunk4MN547K7js.DataClassRegistry; exports.EndpointCreator = _chunk56VU7A4Ijs.EndpointCreator; exports.Feature = _chunk56VU7A4Ijs.Feature; exports.FeatureModule = _chunk56VU7A4Ijs.FeatureModule; exports.FeatureService = _chunk56VU7A4Ijs.FeatureService; exports.HowTo = _chunk56VU7A4Ijs.HowTo; exports.HowToFields = _chunk56VU7A4Ijs.HowToFields; exports.HowToModule = _chunk56VU7A4Ijs.HowToModule; exports.HowToService = _chunk56VU7A4Ijs.HowToService; exports.HttpMethod = _chunk56VU7A4Ijs.HttpMethod; exports.InvoiceStatus = _chunk56VU7A4Ijs.InvoiceStatus; exports.JsonApiDataFactory = _chunk4MN547K7js.JsonApiDataFactory; exports.Module = _chunk56VU7A4Ijs.Module; exports.ModuleModule = _chunk56VU7A4Ijs.ModuleModule; exports.ModulePaths = _chunk56VU7A4Ijs.ModulePaths; exports.ModulePathsModule = _chunk56VU7A4Ijs.ModulePathsModule; exports.ModuleRegistrar = _chunk56VU7A4Ijs.ModuleRegistrar; exports.ModuleRegistry = _chunk56VU7A4Ijs.ModuleRegistry; exports.Modules = _chunk56VU7A4Ijs.Modules; exports.Notification = _chunk56VU7A4Ijs.Notification; exports.NotificationFields = _chunk56VU7A4Ijs.NotificationFields; exports.NotificationModule = _chunk56VU7A4Ijs.NotificationModule; exports.NotificationService = _chunk56VU7A4Ijs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunk56VU7A4Ijs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunk56VU7A4Ijs.OAuthClient; exports.OAuthModule = _chunk56VU7A4Ijs.OAuthModule; exports.OAuthService = _chunk56VU7A4Ijs.OAuthService; exports.Passkey = _chunk56VU7A4Ijs.Passkey; exports.PasskeyAuthenticationOptions = _chunk56VU7A4Ijs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunk56VU7A4Ijs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunk56VU7A4Ijs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunk56VU7A4Ijs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunk56VU7A4Ijs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunk56VU7A4Ijs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunk56VU7A4Ijs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunk56VU7A4Ijs.PasskeyRename; exports.PasskeyRenameModule = _chunk56VU7A4Ijs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunk56VU7A4Ijs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunk56VU7A4Ijs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunk56VU7A4Ijs.PaymentMethod; exports.PermissionMapping = _chunk56VU7A4Ijs.PermissionMapping; exports.PermissionMappingModule = _chunk56VU7A4Ijs.PermissionMappingModule; exports.Push = _chunk56VU7A4Ijs.Push; exports.PushModule = _chunk56VU7A4Ijs.PushModule; exports.PushService = _chunk56VU7A4Ijs.PushService; exports.RbacService = _chunk6ROMPIIPjs.RbacService; exports.ReferralModule = _chunk56VU7A4Ijs.ReferralModule; exports.ReferralService = _chunk56VU7A4Ijs.ReferralService; exports.ReferralStats = _chunk56VU7A4Ijs.ReferralStats; exports.ReferralStatsModule = _chunk56VU7A4Ijs.ReferralStatsModule; exports.RehydrationFactory = _chunk56VU7A4Ijs.RehydrationFactory; exports.Role = _chunk56VU7A4Ijs.Role; exports.RoleFields = _chunk56VU7A4Ijs.RoleFields; exports.RoleModule = _chunk56VU7A4Ijs.RoleModule; exports.RoleService = _chunk56VU7A4Ijs.RoleService; exports.S3 = _chunk56VU7A4Ijs.S3; exports.S3Module = _chunk56VU7A4Ijs.S3Module; exports.S3Service = _chunk56VU7A4Ijs.S3Service; exports.StripeCustomer = _chunk56VU7A4Ijs.StripeCustomer; exports.StripeCustomerModule = _chunk56VU7A4Ijs.StripeCustomerModule; exports.StripeCustomerService = _chunk56VU7A4Ijs.StripeCustomerService; exports.StripeInvoice = _chunk56VU7A4Ijs.StripeInvoice; exports.StripeInvoiceModule = _chunk56VU7A4Ijs.StripeInvoiceModule; exports.StripeInvoiceService = _chunk56VU7A4Ijs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunk56VU7A4Ijs.StripePaymentMethodModule; exports.StripePrice = _chunk56VU7A4Ijs.StripePrice; exports.StripePriceModule = _chunk56VU7A4Ijs.StripePriceModule; exports.StripePriceService = _chunk56VU7A4Ijs.StripePriceService; exports.StripeProduct = _chunk56VU7A4Ijs.StripeProduct; exports.StripeProductModule = _chunk56VU7A4Ijs.StripeProductModule; exports.StripeProductService = _chunk56VU7A4Ijs.StripeProductService; exports.StripePromotionCode = _chunk56VU7A4Ijs.StripePromotionCode; exports.StripePromotionCodeModule = _chunk56VU7A4Ijs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunk56VU7A4Ijs.StripePromotionCodeService; exports.StripeSubscription = _chunk56VU7A4Ijs.StripeSubscription; exports.StripeSubscriptionModule = _chunk56VU7A4Ijs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunk56VU7A4Ijs.StripeSubscriptionService; exports.StripeUsage = _chunk56VU7A4Ijs.StripeUsage; exports.StripeUsageModule = _chunk56VU7A4Ijs.StripeUsageModule; exports.StripeUsageService = _chunk56VU7A4Ijs.StripeUsageService; exports.SubscriptionStatus = _chunk56VU7A4Ijs.SubscriptionStatus; exports.TableOptions = _chunk56VU7A4Ijs.TableOptions; exports.TotpAuthenticator = _chunk56VU7A4Ijs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunk56VU7A4Ijs.TotpAuthenticatorModule; exports.TotpSetup = _chunk56VU7A4Ijs.TotpSetup; exports.TotpSetupModule = _chunk56VU7A4Ijs.TotpSetupModule; exports.TotpVerify = _chunk56VU7A4Ijs.TotpVerify; exports.TotpVerifyLogin = _chunk56VU7A4Ijs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunk56VU7A4Ijs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunk56VU7A4Ijs.TotpVerifyModule; exports.TwoFactorChallenge = _chunk56VU7A4Ijs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunk56VU7A4Ijs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunk56VU7A4Ijs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunk56VU7A4Ijs.TwoFactorEnableModule; exports.TwoFactorService = _chunk56VU7A4Ijs.TwoFactorService; exports.TwoFactorStatus = _chunk56VU7A4Ijs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunk56VU7A4Ijs.TwoFactorStatusModule; exports.User = _chunk56VU7A4Ijs.User; exports.UserFields = _chunk56VU7A4Ijs.UserFields; exports.UserModule = _chunk56VU7A4Ijs.UserModule; exports.UserService = _chunk56VU7A4Ijs.UserService; exports.Waitlist = _chunk56VU7A4Ijs.Waitlist; exports.WaitlistModule = _chunk56VU7A4Ijs.WaitlistModule; exports.WaitlistService = _chunk56VU7A4Ijs.WaitlistService; exports.WaitlistStats = _chunk56VU7A4Ijs.WaitlistStats; exports.WaitlistStatsModule = _chunk56VU7A4Ijs.WaitlistStatsModule; exports.checkPermissions = _chunk56VU7A4Ijs.checkPermissions; exports.checkPermissionsFromServer = _chunk56VU7A4Ijs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunk56VU7A4Ijs.clearLastApiTotal; exports.cn = _chunk56VU7A4Ijs.cn; exports.composeRefs = _chunk56VU7A4Ijs.composeRefs; exports.configureAuth = _chunk56VU7A4Ijs.configureAuth; exports.configureI18n = _chunk6ROMPIIPjs.configureI18n; exports.configureJsonApi = _chunk6ROMPIIPjs.configureJsonApi; exports.configureLogin = _chunk6ROMPIIPjs.configureLogin; exports.configureReferral = _chunk6ROMPIIPjs.configureReferral; exports.configureRoles = _chunk6ROMPIIPjs.configureRoles; exports.configureWaitlist = _chunk6ROMPIIPjs.configureWaitlist; exports.createJsonApiInclusion = _chunk56VU7A4Ijs.createJsonApiInclusion; exports.dismissToast = _chunk56VU7A4Ijs.dismissToast; exports.entityObjectSchema = _chunk56VU7A4Ijs.entityObjectSchema; exports.exists = _chunk56VU7A4Ijs.exists; exports.formatDate = _chunk56VU7A4Ijs.formatDate; exports.getApiUrl = _chunk6ROMPIIPjs.getApiUrl; exports.getAppUrl = _chunk6ROMPIIPjs.getAppUrl; exports.getBootstrapper = _chunk4MN547K7js.getBootstrapper; exports.getClientGlobalErrorHandler = _chunk56VU7A4Ijs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunk56VU7A4Ijs.getGlobalErrorHandler; exports.getIcon = _chunk56VU7A4Ijs.getIcon; exports.getIconByModule = _chunk56VU7A4Ijs.getIconByModule; exports.getIconByModuleName = _chunk56VU7A4Ijs.getIconByModuleName; exports.getInitials = _chunk56VU7A4Ijs.getInitials; exports.getLastApiTotal = _chunk56VU7A4Ijs.getLastApiTotal; exports.getLucideIcon = _chunk56VU7A4Ijs.getLucideIcon; exports.getLucideIconByModule = _chunk56VU7A4Ijs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunk56VU7A4Ijs.getLucideIconByModuleName; exports.getReferralConfig = _chunk6ROMPIIPjs.getReferralConfig; exports.getRoleId = _chunk6ROMPIIPjs.getRoleId; exports.getStripePublishableKey = _chunk6ROMPIIPjs.getStripePublishableKey; exports.getTableComponents = _chunk56VU7A4Ijs.getTableComponents; exports.getTableOptions = _chunk56VU7A4Ijs.getTableOptions; exports.getTokenHandler = _chunk56VU7A4Ijs.getTokenHandler; exports.getTrackablePages = _chunk6ROMPIIPjs.getTrackablePages; exports.getValueFromPath = _chunk56VU7A4Ijs.getValueFromPath; exports.getWaitlistConfig = _chunk6ROMPIIPjs.getWaitlistConfig; exports.hasBootstrapper = _chunk4MN547K7js.hasBootstrapper; exports.isReferralEnabled = _chunk6ROMPIIPjs.isReferralEnabled; exports.isRolesConfigured = _chunk6ROMPIIPjs.isRolesConfigured; exports.rehydrate = _chunk56VU7A4Ijs.rehydrate; exports.rehydrateList = _chunk56VU7A4Ijs.rehydrateList; exports.resetBootstrapStore = _chunk4MN547K7js.resetBootstrapStore; exports.setBootstrapper = _chunk4MN547K7js.setBootstrapper; exports.setClientGlobalErrorHandler = _chunk56VU7A4Ijs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunk56VU7A4Ijs.setGlobalErrorHandler; exports.showCustomToast = _chunk56VU7A4Ijs.showCustomToast; exports.showError = _chunk56VU7A4Ijs.showError; exports.showToast = _chunk56VU7A4Ijs.showToast; exports.translateData = _chunk4MN547K7js.translateData; exports.translateResponse = _chunk4MN547K7js.translateResponse; exports.tryBootstrap = _chunk4MN547K7js.tryBootstrap; exports.useComposedRefs = _chunk56VU7A4Ijs.useComposedRefs; exports.useIsMobile = _chunk56VU7A4Ijs.useIsMobile; exports.userObjectSchema = _chunk56VU7A4Ijs.userObjectSchema;
395
403
  //# 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;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;AACF,q3WAAC","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;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;AACF,2jXAAC","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-ZYAAJMZZ.mjs";
20
+ } from "./chunk-WJYWWOTG.mjs";
21
21
  import {
22
22
  AVAILABLE_OAUTH_SCOPES,
23
23
  AbstractApiData,
@@ -53,6 +53,10 @@ import {
53
53
  Feature,
54
54
  FeatureModule,
55
55
  FeatureService,
56
+ HowTo,
57
+ HowToFields,
58
+ HowToModule,
59
+ HowToService,
56
60
  HttpMethod,
57
61
  InvoiceStatus,
58
62
  Module,
@@ -183,7 +187,7 @@ import {
183
187
  useComposedRefs,
184
188
  useIsMobile,
185
189
  userObjectSchema
186
- } from "./chunk-RIG2BEXJ.mjs";
190
+ } from "./chunk-GZNHBAZF.mjs";
187
191
  import "./chunk-AUXK7QSA.mjs";
188
192
  import "./chunk-C7C7VY4F.mjs";
189
193
  import {
@@ -237,6 +241,10 @@ export {
237
241
  Feature,
238
242
  FeatureModule,
239
243
  FeatureService,
244
+ HowTo,
245
+ HowToFields,
246
+ HowToModule,
247
+ HowToService,
240
248
  HttpMethod,
241
249
  InvoiceStatus,
242
250
  JsonApiDataFactory,
@@ -189,6 +189,23 @@ interface UserInterface extends ApiDataInterface {
189
189
  get modules(): ModuleInterface[];
190
190
  }
191
191
 
192
+ type ContentInput = {
193
+ id: string;
194
+ name?: string;
195
+ authorId: string;
196
+ editorIds?: string[];
197
+ };
198
+ interface ContentInterface extends ApiDataInterface {
199
+ get contentType(): string | undefined;
200
+ get name(): string;
201
+ get abstract(): string | undefined;
202
+ get tldr(): string | undefined;
203
+ get aiStatus(): string;
204
+ get relevance(): number | undefined;
205
+ get author(): UserInterface;
206
+ get editors(): UserInterface[];
207
+ }
208
+
192
209
  type NotificationInput = {
193
210
  id: string;
194
211
  isRead: boolean;
@@ -201,4 +218,4 @@ interface NotificationInterface extends ApiDataInterface {
201
218
  get actor(): UserInterface | undefined;
202
219
  }
203
220
 
204
- export { Action as A, type CompanyInput as C, type ModuleWithPermissions as M, type NotificationInterface as N, type PermissionCheck as P, type RoleInterface as R, type UserInterface as U, type PageUrl as a, type ModulePermissionDefinition as b, type ModuleDefinition as c, type PermissionConfig as d, type PermissionModule as e, type PermissionUser as f, type ModuleFactory as g, type CompanyInterface as h, type NotificationInput as i, type RoleInput as j, type UserInput as k };
221
+ 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 };
@@ -189,6 +189,23 @@ interface UserInterface extends ApiDataInterface {
189
189
  get modules(): ModuleInterface[];
190
190
  }
191
191
 
192
+ type ContentInput = {
193
+ id: string;
194
+ name?: string;
195
+ authorId: string;
196
+ editorIds?: string[];
197
+ };
198
+ interface ContentInterface extends ApiDataInterface {
199
+ get contentType(): string | undefined;
200
+ get name(): string;
201
+ get abstract(): string | undefined;
202
+ get tldr(): string | undefined;
203
+ get aiStatus(): string;
204
+ get relevance(): number | undefined;
205
+ get author(): UserInterface;
206
+ get editors(): UserInterface[];
207
+ }
208
+
192
209
  type NotificationInput = {
193
210
  id: string;
194
211
  isRead: boolean;
@@ -201,4 +218,4 @@ interface NotificationInterface extends ApiDataInterface {
201
218
  get actor(): UserInterface | undefined;
202
219
  }
203
220
 
204
- export { Action as A, type CompanyInput as C, type ModuleWithPermissions as M, type NotificationInterface as N, type PermissionCheck as P, type RoleInterface as R, type UserInterface as U, type PageUrl as a, type ModulePermissionDefinition as b, type ModuleDefinition as c, type PermissionConfig as d, type PermissionModule as e, type PermissionUser as f, type ModuleFactory as g, type CompanyInterface as h, type NotificationInput as i, type RoleInput as j, type UserInput as k };
221
+ 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 };
@@ -1,8 +1,7 @@
1
1
  import { F as FeatureInterface } from './feature.interface-CIWxo8NP.js';
2
- import { R as RoleInterface, U as UserInterface, k as UserInput, h as CompanyInterface, C as CompanyInput, N as NotificationInterface } from './notification.interface-ItBxq2au.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-DYDZENx2.js';
3
3
  import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from './ApiDataInterface-DPP8s46n.js';
4
- import { A as AuthInput, b as AuthInterface } from './auth.interface-BX_1qZZJ.js';
5
- import { a as ContentInterface } from './content.interface-D-xdYxjt.js';
4
+ import { A as AuthInput, b as AuthInterface } from './auth.interface-BTco8PWs.js';
6
5
  import { A as ApiRequestDataTypeInterface } from './ApiRequestDataTypeInterface-CYEcRUrh.js';
7
6
 
8
7
  declare enum HttpMethod {
@@ -230,6 +229,10 @@ declare class UserService extends AbstractService {
230
229
  static patch(params: {
231
230
  id: string;
232
231
  } & Partial<Omit<UserInput, "id">>): Promise<UserInterface>;
232
+ static patchAvatar(params: {
233
+ id: string;
234
+ avatar: string;
235
+ }): Promise<UserInterface>;
233
236
  static patchRate(params: UserInput): Promise<UserInterface>;
234
237
  static delete(params: {
235
238
  userId: string;
@@ -1,8 +1,7 @@
1
1
  import { F as FeatureInterface } from './feature.interface-BxFFOPNq.mjs';
2
- import { R as RoleInterface, U as UserInterface, k as UserInput, h as CompanyInterface, C as CompanyInput, N as NotificationInterface } from './notification.interface-C6UcmJqu.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-DrHu_1MM.mjs';
3
3
  import { A as ApiDataInterface, J as JsonApiHydratedDataInterface } from './ApiDataInterface-DPP8s46n.mjs';
4
- import { A as AuthInput, b as AuthInterface } from './auth.interface-yeLelxdI.mjs';
5
- import { a as ContentInterface } from './content.interface-8T5-G84c.mjs';
4
+ import { A as AuthInput, b as AuthInterface } from './auth.interface-C4uJzBec.mjs';
6
5
  import { A as ApiRequestDataTypeInterface } from './ApiRequestDataTypeInterface-CYEcRUrh.mjs';
7
6
 
8
7
  declare enum HttpMethod {
@@ -230,6 +229,10 @@ declare class UserService extends AbstractService {
230
229
  static patch(params: {
231
230
  id: string;
232
231
  } & Partial<Omit<UserInput, "id">>): Promise<UserInterface>;
232
+ static patchAvatar(params: {
233
+ id: string;
234
+ avatar: string;
235
+ }): Promise<UserInterface>;
233
236
  static patchRate(params: UserInput): Promise<UserInterface>;
234
237
  static delete(params: {
235
238
  userId: string;
@@ -1,13 +1,12 @@
1
1
  import { A as ApiData } from '../ApiData-DPKNfY-9.mjs';
2
- import { M as ModuleWithPermissions, A as Action } from '../notification.interface-C6UcmJqu.mjs';
2
+ import { M as ModuleWithPermissions, A as Action } from '../notification.interface-DrHu_1MM.mjs';
3
3
  import { A as ApiRequestDataTypeInterface } from '../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
4
4
  import { A as ApiResponseInterface } from '../ApiResponseInterface-zeewugD7.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-DLf_a0xS.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-TsN2unZr.mjs';
6
6
  import 'lucide-react';
7
7
  import '../ApiDataInterface-DPP8s46n.mjs';
8
8
  import '../feature.interface-BxFFOPNq.mjs';
9
- import '../auth.interface-yeLelxdI.mjs';
10
- import '../content.interface-8T5-G84c.mjs';
9
+ import '../auth.interface-C4uJzBec.mjs';
11
10
 
12
11
  type CacheProfile = "seconds" | "minutes" | "hours" | "days" | "weeks" | "max" | "default";
13
12
  /**
@@ -1,13 +1,12 @@
1
1
  import { A as ApiData } from '../ApiData-DPKNfY-9.js';
2
- import { M as ModuleWithPermissions, A as Action } from '../notification.interface-ItBxq2au.js';
2
+ import { M as ModuleWithPermissions, A as Action } from '../notification.interface-DYDZENx2.js';
3
3
  import { A as ApiRequestDataTypeInterface } from '../ApiRequestDataTypeInterface-CYEcRUrh.js';
4
4
  import { A as ApiResponseInterface } from '../ApiResponseInterface-CAIAeP5d.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-Cg5TmbU_.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-DK2KKXbR.js';
6
6
  import 'lucide-react';
7
7
  import '../ApiDataInterface-DPP8s46n.js';
8
8
  import '../feature.interface-CIWxo8NP.js';
9
- import '../auth.interface-BX_1qZZJ.js';
10
- import '../content.interface-D-xdYxjt.js';
9
+ import '../auth.interface-BTco8PWs.js';
11
10
 
12
11
  type CacheProfile = "seconds" | "minutes" | "hours" | "days" | "weeks" | "max" | "default";
13
12
  /**
@@ -15,7 +15,7 @@ var _chunk3ZPK4QOBjs = require('../chunk-3ZPK4QOB.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkCJY63D6Ujs = require('../chunk-CJY63D6U.js');
18
+ var _chunk56VU7A4Ijs = require('../chunk-56VU7A4I.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 _chunkCJY63D6Ujs.checkPermissionsFromServer.call(void 0, {
89
+ return _chunk56VU7A4Ijs.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 = _chunkCJY63D6Ujs.AuthService; exports.ServerCompanyService = _chunkCJY63D6Ujs.CompanyService; exports.ServerContentService = _chunkCJY63D6Ujs.ContentService; exports.ServerFeatureService = _chunkCJY63D6Ujs.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunkCJY63D6Ujs.NotificationService; exports.ServerPushService = _chunkCJY63D6Ujs.PushService; exports.ServerRoleService = _chunkCJY63D6Ujs.RoleService; exports.ServerS3Service = _chunkCJY63D6Ujs.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunkCJY63D6Ujs.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 = _chunk56VU7A4Ijs.AuthService; exports.ServerCompanyService = _chunk56VU7A4Ijs.CompanyService; exports.ServerContentService = _chunk56VU7A4Ijs.ContentService; exports.ServerFeatureService = _chunk56VU7A4Ijs.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunk56VU7A4Ijs.NotificationService; exports.ServerPushService = _chunk56VU7A4Ijs.PushService; exports.ServerRoleService = _chunk56VU7A4Ijs.RoleService; exports.ServerS3Service = _chunk56VU7A4Ijs.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunk56VU7A4Ijs.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-RIG2BEXJ.mjs";
18
+ } from "../chunk-GZNHBAZF.mjs";
19
19
  import "../chunk-AUXK7QSA.mjs";
20
20
  import "../chunk-C7C7VY4F.mjs";
21
21
  import {
@@ -1,5 +1,5 @@
1
1
  import { F as FeatureInterface } from './feature.interface-CIWxo8NP.js';
2
- import { R as RoleInterface } from './notification.interface-ItBxq2au.js';
2
+ import { R as RoleInterface } from './notification.interface-DYDZENx2.js';
3
3
  import { P as PermissionMappingInterface, M as ModulePathsInterface, A as ActionType, a as PermissionValue, b as PermissionsMap } from './ModulePathsInterface-wVS5Raa4.js';
4
4
 
5
5
  type PageInfo = {
@@ -1,5 +1,5 @@
1
1
  import { F as FeatureInterface } from './feature.interface-BxFFOPNq.mjs';
2
- import { R as RoleInterface } from './notification.interface-C6UcmJqu.mjs';
2
+ import { R as RoleInterface } from './notification.interface-DrHu_1MM.mjs';
3
3
  import { P as PermissionMappingInterface, M as ModulePathsInterface, A as ActionType, a as PermissionValue, b as PermissionsMap } from './ModulePathsInterface-49EWvbWy.mjs';
4
4
 
5
5
  type PageInfo = {
@@ -1,4 +1,4 @@
1
- import { N as NotificationInterface } from './notification.interface-ItBxq2au.js';
1
+ import { N as NotificationInterface } from './notification.interface-DYDZENx2.js';
2
2
 
3
3
  interface UseSocketOptions {
4
4
  token: string;
@@ -1,4 +1,4 @@
1
- import { N as NotificationInterface } from './notification.interface-C6UcmJqu.mjs';
1
+ import { N as NotificationInterface } from './notification.interface-DrHu_1MM.mjs';
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.67.0",
3
+ "version": "1.69.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",
@@ -19,6 +19,7 @@ export * from "../features/auth/components";
19
19
  // Billing components moved to separate entry point: @carlonicora/nextjs-jsonapi/billing
20
20
  export * from "../features/company/components";
21
21
  export * from "../features/content/components";
22
+ export * from "../features/how-to/components";
22
23
  export * from "../features/feature/components";
23
24
  export * from "../features/notification/components";
24
25
  export * from "../features/onboarding/components";
@@ -3,6 +3,7 @@ export * from "../features/notification/contexts/NotificationContext";
3
3
  export * from "../features/onboarding/contexts";
4
4
  export * from "../features/role/contexts/RoleContext";
5
5
  export * from "../features/user/contexts";
6
+ export * from "../features/how-to/contexts/HowToContext";
6
7
  export * from "./CommonContext";
7
8
  export * from "./HeaderChildrenContext";
8
9
  export * from "./SharedContext";
package/src/core/index.ts CHANGED
@@ -59,6 +59,8 @@ export * from "../features/company/company.module";
59
59
  export * from "../features/company/data";
60
60
  export * from "../features/content/content.module";
61
61
  export * from "../features/content/data";
62
+ export * from "../features/how-to/HowToModule";
63
+ export * from "../features/how-to/data";
62
64
  export * from "../features/feature/data";
63
65
  export * from "../features/feature/feature.module";
64
66
  export * from "../features/module";
@@ -15,6 +15,7 @@ export interface FoundationModuleDefinitions {
15
15
  Feature: ModuleWithPermissions;
16
16
  Module: ModuleWithPermissions;
17
17
  Content: ModuleWithPermissions;
18
+ HowTo: ModuleWithPermissions;
18
19
  // Billing modules - READ: all users, UPDATE: CompanyAdministrator, ADMIN: Administrator
19
20
  Billing: ModuleWithPermissions;
20
21
  StripeCustomer: ModuleWithPermissions;
@@ -122,6 +123,24 @@ class ModuleRegistryClass {
122
123
  throw new Error(`Module not found: ${moduleName}`);
123
124
  }
124
125
 
126
+ getAllPageUrls(): { id: string; text: string }[] {
127
+ if (this._modules.size === 0) {
128
+ tryBootstrap();
129
+ }
130
+
131
+ const seen = new Set<string>();
132
+ const result: { id: string; text: string }[] = [];
133
+ for (const [key, module] of this._modules.entries()) {
134
+ const m = module as ModuleWithPermissions;
135
+ if (m.pageUrl && !seen.has(m.pageUrl)) {
136
+ seen.add(m.pageUrl);
137
+ result.push({ id: m.pageUrl, text: key });
138
+ result.push({ id: `${m.pageUrl}/:id`, text: `${key} (detail)` });
139
+ }
140
+ }
141
+ return result.sort((a, b) => a.text.localeCompare(b.text));
142
+ }
143
+
125
144
  findByModelName(modelName: string): ModuleWithPermissions {
126
145
  // Direct lookup by registry key (e.g., "Article", "Document")
127
146
  let module = this._modules.get(modelName);
@@ -0,0 +1,18 @@
1
+ import { LifeBuoyIcon } from "lucide-react";
2
+ import { createJsonApiInclusion } from "../../core";
3
+ import { ModuleFactory } from "../../permissions";
4
+ import { HowTo } from "./data/HowTo";
5
+
6
+ export const HowToModule = (factory: ModuleFactory) =>
7
+ factory({
8
+ moduleId: "6f975207-0df3-4c0d-b541-ed5dc04487b2",
9
+ pageUrl: "/administration/howtos",
10
+ name: "howtos",
11
+ model: HowTo,
12
+ icon: LifeBuoyIcon,
13
+ inclusions: {
14
+ lists: {
15
+ fields: [createJsonApiInclusion("howtos", [`name`, `description`, `pages`])],
16
+ },
17
+ },
18
+ });