@carlonicora/nextjs-jsonapi 5.1.0 → 5.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/{BlockNoteEditor-QUQIF3WR.mjs → BlockNoteEditor-AZ627NB7.mjs} +4 -4
  2. package/dist/{BlockNoteEditor-ABPLK4HR.js → BlockNoteEditor-OP7LWYOG.js} +19 -19
  3. package/dist/{BlockNoteEditor-ABPLK4HR.js.map → BlockNoteEditor-OP7LWYOG.js.map} +1 -1
  4. package/dist/{BlockNoteViewer-PHISJQH5.js → BlockNoteViewer-LK22AE7Z.js} +3 -3
  5. package/dist/{BlockNoteViewer-PHISJQH5.js.map → BlockNoteViewer-LK22AE7Z.js.map} +1 -1
  6. package/dist/{BlockNoteViewer-SA24LCOT.mjs → BlockNoteViewer-SUK7OMWH.mjs} +2 -2
  7. package/dist/billing/index.js +441 -441
  8. package/dist/billing/index.mjs +3 -3
  9. package/dist/{chunk-ENEO2JFI.js → chunk-67NJY7SM.js} +3 -3
  10. package/dist/{chunk-ENEO2JFI.js.map → chunk-67NJY7SM.js.map} +1 -1
  11. package/dist/{chunk-O542QOKH.mjs → chunk-DYITOVR5.mjs} +5 -5
  12. package/dist/{chunk-VXOAFEGV.mjs → chunk-KL7CAQP3.mjs} +2 -2
  13. package/dist/{chunk-UY27K26K.mjs → chunk-OCJEXAGE.mjs} +7 -3
  14. package/dist/chunk-OCJEXAGE.mjs.map +1 -0
  15. package/dist/{chunk-ORHUCNDA.mjs → chunk-OKUGTXDN.mjs} +2 -2
  16. package/dist/{chunk-M45T54VI.js → chunk-TO6IYGML.js} +7 -7
  17. package/dist/{chunk-M45T54VI.js.map → chunk-TO6IYGML.js.map} +1 -1
  18. package/dist/{chunk-TZG5PZ2Z.js → chunk-VVJDWQEI.js} +7 -3
  19. package/dist/chunk-VVJDWQEI.js.map +1 -0
  20. package/dist/{chunk-VAFOYV7R.js → chunk-XCHXOCEJ.js} +4 -4
  21. package/dist/{chunk-VAFOYV7R.js.map → chunk-XCHXOCEJ.js.map} +1 -1
  22. package/dist/{chunk-4R6ZRADN.mjs → chunk-XLVRAHUK.mjs} +2 -2
  23. package/dist/{chunk-G662QMA3.js → chunk-YZN2774P.js} +839 -839
  24. package/dist/{chunk-G662QMA3.js.map → chunk-YZN2774P.js.map} +1 -1
  25. package/dist/client/index.js +4 -4
  26. package/dist/client/index.mjs +3 -3
  27. package/dist/components/index.js +4 -4
  28. package/dist/components/index.mjs +3 -3
  29. package/dist/contexts/index.js +4 -4
  30. package/dist/contexts/index.mjs +3 -3
  31. package/dist/core/index.d.mts +5 -4
  32. package/dist/core/index.d.ts +5 -4
  33. package/dist/core/index.js +2 -2
  34. package/dist/core/index.mjs +1 -1
  35. package/dist/features/analytics/index.js +122 -122
  36. package/dist/features/analytics/index.mjs +4 -4
  37. package/dist/features/analytics/server.js +4 -4
  38. package/dist/features/analytics/server.mjs +2 -2
  39. package/dist/features/help/index.js +37 -37
  40. package/dist/features/help/index.mjs +3 -3
  41. package/dist/features/tokenusage/index.js +125 -125
  42. package/dist/features/tokenusage/index.mjs +4 -4
  43. package/dist/index.js +3 -3
  44. package/dist/index.mjs +2 -2
  45. package/dist/server/index.js +3 -3
  46. package/dist/server/index.mjs +2 -2
  47. package/messages/en.json +1 -1
  48. package/messages/it.json +1 -1
  49. package/package.json +1 -1
  50. package/scripts/validate-messages.mjs +2 -0
  51. package/src/core/utils/__tests__/mergeMessages.spec.ts +10 -0
  52. package/src/core/utils/mergeMessages.ts +11 -6
  53. package/dist/chunk-TZG5PZ2Z.js.map +0 -1
  54. package/dist/chunk-UY27K26K.mjs.map +0 -1
  55. /package/dist/{BlockNoteEditor-QUQIF3WR.mjs.map → BlockNoteEditor-AZ627NB7.mjs.map} +0 -0
  56. /package/dist/{BlockNoteViewer-SA24LCOT.mjs.map → BlockNoteViewer-SUK7OMWH.mjs.map} +0 -0
  57. /package/dist/{chunk-O542QOKH.mjs.map → chunk-DYITOVR5.mjs.map} +0 -0
  58. /package/dist/{chunk-VXOAFEGV.mjs.map → chunk-KL7CAQP3.mjs.map} +0 -0
  59. /package/dist/{chunk-ORHUCNDA.mjs.map → chunk-OKUGTXDN.mjs.map} +0 -0
  60. /package/dist/{chunk-4R6ZRADN.mjs.map → chunk-XLVRAHUK.mjs.map} +0 -0
@@ -9,7 +9,7 @@ import {
9
9
  percentageDelta,
10
10
  seriesColor,
11
11
  useUsageFormatters
12
- } from "../../chunk-VXOAFEGV.mjs";
12
+ } from "../../chunk-KL7CAQP3.mjs";
13
13
  import {
14
14
  Button,
15
15
  Card,
@@ -37,8 +37,8 @@ import {
37
37
  TableHeader,
38
38
  TableRow,
39
39
  usePageUrlGenerator
40
- } from "../../chunk-O542QOKH.mjs";
41
- import "../../chunk-ORHUCNDA.mjs";
40
+ } from "../../chunk-DYITOVR5.mjs";
41
+ import "../../chunk-OKUGTXDN.mjs";
42
42
  import "../../chunk-PW42LRSL.mjs";
43
43
  import {
44
44
  AbstractService,
@@ -57,7 +57,7 @@ import {
57
57
  configureTokenUsage,
58
58
  getTokenUsageCurrency,
59
59
  tokenUsageModules
60
- } from "../../chunk-UY27K26K.mjs";
60
+ } from "../../chunk-OCJEXAGE.mjs";
61
61
  import "../../chunk-AUXK7QSA.mjs";
62
62
  import "../../chunk-PI56A4DG.mjs";
63
63
  import "../../chunk-V5MI7RNB.mjs";
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
 
16
16
 
17
- var _chunkM45T54VIjs = require('./chunk-M45T54VI.js');
17
+ var _chunkTO6IYGMLjs = require('./chunk-TO6IYGML.js');
18
18
 
19
19
 
20
20
 
@@ -250,7 +250,7 @@ var _chunkG4JR3SFVjs = require('./chunk-G4JR3SFV.js');
250
250
 
251
251
 
252
252
 
253
- var _chunkTZG5PZ2Zjs = require('./chunk-TZG5PZ2Z.js');
253
+ var _chunkVVJDWQEIjs = require('./chunk-VVJDWQEI.js');
254
254
  require('./chunk-LXKSUWAV.js');
255
255
  require('./chunk-JTPRJNT2.js');
256
256
 
@@ -525,5 +525,5 @@ require('./chunk-7QVYU63E.js');
525
525
 
526
526
 
527
527
 
528
- exports.ACTION_TYPES = _chunkM45T54VIjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkTZG5PZ2Zjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkTZG5PZ2Zjs.AbstractApiData; exports.AbstractService = _chunkTZG5PZ2Zjs.AbstractService; exports.Action = _chunkTZG5PZ2Zjs.Action; exports.AiConnection = _chunkTZG5PZ2Zjs.AiConnection; exports.AiConnectionFields = _chunkTZG5PZ2Zjs.AiConnectionFields; exports.AiConnectionModule = _chunkTZG5PZ2Zjs.AiConnectionModule; exports.AiConnectionService = _chunkTZG5PZ2Zjs.AiConnectionService; exports.Assistant = _chunkTZG5PZ2Zjs.Assistant; exports.AssistantAction = _chunkTZG5PZ2Zjs.AssistantAction; exports.AssistantActionModule = _chunkTZG5PZ2Zjs.AssistantActionModule; exports.AssistantActionService = _chunkTZG5PZ2Zjs.AssistantActionService; exports.AssistantMessage = _chunkTZG5PZ2Zjs.AssistantMessage; exports.AssistantMessageModule = _chunkTZG5PZ2Zjs.AssistantMessageModule; exports.AssistantMessageService = _chunkTZG5PZ2Zjs.AssistantMessageService; exports.AssistantModule = _chunkTZG5PZ2Zjs.AssistantModule; exports.AssistantService = _chunkTZG5PZ2Zjs.AssistantService; exports.AuditLog = _chunkTZG5PZ2Zjs.AuditLog; exports.AuditLogModule = _chunkTZG5PZ2Zjs.AuditLogModule; exports.AuditLogService = _chunkTZG5PZ2Zjs.AuditLogService; exports.Auth = _chunkTZG5PZ2Zjs.Auth; exports.AuthComponent = _chunkTZG5PZ2Zjs.AuthComponent; exports.AuthModule = _chunkTZG5PZ2Zjs.AuthModule; exports.AuthService = _chunkTZG5PZ2Zjs.AuthService; exports.AuthorModule = _chunkTZG5PZ2Zjs.AuthorModule; exports.BackupCodeVerify = _chunkTZG5PZ2Zjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkTZG5PZ2Zjs.BackupCodeVerifyModule; exports.Billing = _chunkTZG5PZ2Zjs.Billing; exports.BillingModule = _chunkTZG5PZ2Zjs.BillingModule; exports.BillingService = _chunkTZG5PZ2Zjs.BillingService; exports.BlockNoteDiffUtil = _chunkTZG5PZ2Zjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkTZG5PZ2Zjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkM45T54VIjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.CURRENT_USER_STORAGE_KEY = _chunkTZG5PZ2Zjs.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunkTZG5PZ2Zjs.Chunk; exports.ChunkModule = _chunkTZG5PZ2Zjs.ChunkModule; exports.ClientAbstractService = _chunkTZG5PZ2Zjs.ClientAbstractService; exports.ClientHttpMethod = _chunkTZG5PZ2Zjs.ClientHttpMethod; exports.Company = _chunkTZG5PZ2Zjs.Company; exports.CompanyFields = _chunkTZG5PZ2Zjs.CompanyFields; exports.CompanyModule = _chunkTZG5PZ2Zjs.CompanyModule; exports.CompanyService = _chunkTZG5PZ2Zjs.CompanyService; exports.Content = _chunkTZG5PZ2Zjs.Content; exports.ContentFields = _chunkTZG5PZ2Zjs.ContentFields; exports.ContentModule = _chunkTZG5PZ2Zjs.ContentModule; exports.ContentService = _chunkTZG5PZ2Zjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkTZG5PZ2Zjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkGHE4VT2Rjs.DataClassRegistry; exports.DataClassRegistry = _chunkGHE4VT2Rjs.DataClassRegistry; exports.ENV = _chunkGHE4VT2Rjs.ENV; exports.EndpointCreator = _chunkTZG5PZ2Zjs.EndpointCreator; exports.EntityAiStatus = _chunkTZG5PZ2Zjs.EntityAiStatus; exports.Feature = _chunkTZG5PZ2Zjs.Feature; exports.FeatureModule = _chunkTZG5PZ2Zjs.FeatureModule; exports.FeatureService = _chunkTZG5PZ2Zjs.FeatureService; exports.HandbookPage = _chunkTZG5PZ2Zjs.HandbookPage; exports.HandbookPageFields = _chunkTZG5PZ2Zjs.HandbookPageFields; exports.HandbookPageModule = _chunkTZG5PZ2Zjs.HandbookPageModule; exports.HandbookPageService = _chunkTZG5PZ2Zjs.HandbookPageService; exports.HandbookSection = _chunkTZG5PZ2Zjs.HandbookSection; exports.HandbookSectionModule = _chunkTZG5PZ2Zjs.HandbookSectionModule; exports.HandbookSectionService = _chunkTZG5PZ2Zjs.HandbookSectionService; exports.HandbookThread = _chunkTZG5PZ2Zjs.HandbookThread; exports.HandbookThreadMessage = _chunkTZG5PZ2Zjs.HandbookThreadMessage; exports.HandbookThreadMessageModule = _chunkTZG5PZ2Zjs.HandbookThreadMessageModule; exports.HandbookThreadMessageService = _chunkTZG5PZ2Zjs.HandbookThreadMessageService; exports.HandbookThreadModule = _chunkTZG5PZ2Zjs.HandbookThreadModule; exports.HandbookThreadService = _chunkTZG5PZ2Zjs.HandbookThreadService; exports.HowTo = _chunkTZG5PZ2Zjs.HowTo; exports.HowToFields = _chunkTZG5PZ2Zjs.HowToFields; exports.HowToModule = _chunkTZG5PZ2Zjs.HowToModule; exports.HowToService = _chunkTZG5PZ2Zjs.HowToService; exports.HttpMethod = _chunkTZG5PZ2Zjs.HttpMethod; exports.InvoiceStatus = _chunkTZG5PZ2Zjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkGHE4VT2Rjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkTZG5PZ2Zjs.MOBILE_BREAKPOINT; exports.Module = _chunkTZG5PZ2Zjs.Module; exports.ModuleModule = _chunkTZG5PZ2Zjs.ModuleModule; exports.ModulePaths = _chunkTZG5PZ2Zjs.ModulePaths; exports.ModulePathsModule = _chunkTZG5PZ2Zjs.ModulePathsModule; exports.ModuleRegistrar = _chunkTZG5PZ2Zjs.ModuleRegistrar; exports.ModuleRegistry = _chunkTZG5PZ2Zjs.ModuleRegistry; exports.Modules = _chunkTZG5PZ2Zjs.Modules; exports.Notification = _chunkTZG5PZ2Zjs.Notification; exports.NotificationFields = _chunkTZG5PZ2Zjs.NotificationFields; exports.NotificationModule = _chunkTZG5PZ2Zjs.NotificationModule; exports.NotificationService = _chunkTZG5PZ2Zjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkTZG5PZ2Zjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkTZG5PZ2Zjs.OAuthClient; exports.OAuthModule = _chunkTZG5PZ2Zjs.OAuthModule; exports.OAuthService = _chunkTZG5PZ2Zjs.OAuthService; exports.Passkey = _chunkTZG5PZ2Zjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkTZG5PZ2Zjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkTZG5PZ2Zjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkTZG5PZ2Zjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkTZG5PZ2Zjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkTZG5PZ2Zjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkTZG5PZ2Zjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkTZG5PZ2Zjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkTZG5PZ2Zjs.PasskeyRename; exports.PasskeyRenameModule = _chunkTZG5PZ2Zjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkTZG5PZ2Zjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkTZG5PZ2Zjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkTZG5PZ2Zjs.PaymentMethod; exports.PermissionMapping = _chunkTZG5PZ2Zjs.PermissionMapping; exports.PermissionMappingModule = _chunkTZG5PZ2Zjs.PermissionMappingModule; exports.Push = _chunkTZG5PZ2Zjs.Push; exports.PushModule = _chunkTZG5PZ2Zjs.PushModule; exports.PushService = _chunkTZG5PZ2Zjs.PushService; exports.RbacMatrixModel = _chunkTZG5PZ2Zjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkTZG5PZ2Zjs.RbacMatrixModule; exports.RbacService = _chunkM45T54VIjs.RbacService; exports.ReferralModule = _chunkTZG5PZ2Zjs.ReferralModule; exports.ReferralService = _chunkTZG5PZ2Zjs.ReferralService; exports.ReferralStats = _chunkTZG5PZ2Zjs.ReferralStats; exports.ReferralStatsModule = _chunkTZG5PZ2Zjs.ReferralStatsModule; exports.RehydrationFactory = _chunkTZG5PZ2Zjs.RehydrationFactory; exports.Role = _chunkTZG5PZ2Zjs.Role; exports.RoleFields = _chunkTZG5PZ2Zjs.RoleFields; exports.RoleModule = _chunkTZG5PZ2Zjs.RoleModule; exports.RoleService = _chunkTZG5PZ2Zjs.RoleService; exports.S3 = _chunkTZG5PZ2Zjs.S3; exports.S3Module = _chunkTZG5PZ2Zjs.S3Module; exports.S3Service = _chunkTZG5PZ2Zjs.S3Service; exports.StripeCustomer = _chunkTZG5PZ2Zjs.StripeCustomer; exports.StripeCustomerModule = _chunkTZG5PZ2Zjs.StripeCustomerModule; exports.StripeCustomerService = _chunkTZG5PZ2Zjs.StripeCustomerService; exports.StripeInvoice = _chunkTZG5PZ2Zjs.StripeInvoice; exports.StripeInvoiceModule = _chunkTZG5PZ2Zjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkTZG5PZ2Zjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkTZG5PZ2Zjs.StripePaymentMethodModule; exports.StripePrice = _chunkTZG5PZ2Zjs.StripePrice; exports.StripePriceFields = _chunkTZG5PZ2Zjs.StripePriceFields; exports.StripePriceModule = _chunkTZG5PZ2Zjs.StripePriceModule; exports.StripePriceService = _chunkTZG5PZ2Zjs.StripePriceService; exports.StripeProduct = _chunkTZG5PZ2Zjs.StripeProduct; exports.StripeProductFields = _chunkTZG5PZ2Zjs.StripeProductFields; exports.StripeProductModule = _chunkTZG5PZ2Zjs.StripeProductModule; exports.StripeProductService = _chunkTZG5PZ2Zjs.StripeProductService; exports.StripePromotionCode = _chunkTZG5PZ2Zjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkTZG5PZ2Zjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkTZG5PZ2Zjs.StripePromotionCodeService; exports.StripeSubscription = _chunkTZG5PZ2Zjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkTZG5PZ2Zjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkTZG5PZ2Zjs.StripeSubscriptionService; exports.StripeUsage = _chunkTZG5PZ2Zjs.StripeUsage; exports.StripeUsageModule = _chunkTZG5PZ2Zjs.StripeUsageModule; exports.StripeUsageService = _chunkTZG5PZ2Zjs.StripeUsageService; exports.SubscriptionStatus = _chunkTZG5PZ2Zjs.SubscriptionStatus; exports.TableOptions = _chunkTZG5PZ2Zjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkTZG5PZ2Zjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkTZG5PZ2Zjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkTZG5PZ2Zjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkTZG5PZ2Zjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkTZG5PZ2Zjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkTZG5PZ2Zjs.TotpSetup; exports.TotpSetupModule = _chunkTZG5PZ2Zjs.TotpSetupModule; exports.TotpVerify = _chunkTZG5PZ2Zjs.TotpVerify; exports.TotpVerifyLogin = _chunkTZG5PZ2Zjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkTZG5PZ2Zjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkTZG5PZ2Zjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkTZG5PZ2Zjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkTZG5PZ2Zjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkTZG5PZ2Zjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkTZG5PZ2Zjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkTZG5PZ2Zjs.TwoFactorService; exports.TwoFactorStatus = _chunkTZG5PZ2Zjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkTZG5PZ2Zjs.TwoFactorStatusModule; exports.User = _chunkTZG5PZ2Zjs.User; exports.UserFields = _chunkTZG5PZ2Zjs.UserFields; exports.UserModule = _chunkTZG5PZ2Zjs.UserModule; exports.UserService = _chunkTZG5PZ2Zjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkTZG5PZ2Zjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkTZG5PZ2Zjs.Waitlist; exports.WaitlistFields = _chunkTZG5PZ2Zjs.WaitlistFields; exports.WaitlistModule = _chunkTZG5PZ2Zjs.WaitlistModule; exports.WaitlistService = _chunkTZG5PZ2Zjs.WaitlistService; exports.WaitlistStats = _chunkTZG5PZ2Zjs.WaitlistStats; exports.WaitlistStatsModule = _chunkTZG5PZ2Zjs.WaitlistStatsModule; exports.analyticsModules = _chunkTZG5PZ2Zjs.analyticsModules; exports.checkPermissions = _chunkTZG5PZ2Zjs.checkPermissions; exports.checkPermissionsFromServer = _chunkTZG5PZ2Zjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkTZG5PZ2Zjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkTZG5PZ2Zjs.clearLastApiTotal; exports.cn = _chunkTZG5PZ2Zjs.cn; exports.composeRefs = _chunkTZG5PZ2Zjs.composeRefs; exports.configureAuth = _chunkTZG5PZ2Zjs.configureAuth; exports.configureI18n = _chunkTZG5PZ2Zjs.configureI18n; exports.configureJsonApi = _chunkM45T54VIjs.configureJsonApi; exports.configureLogin = _chunkM45T54VIjs.configureLogin; exports.configureReferral = _chunkM45T54VIjs.configureReferral; exports.configureRoles = _chunkG4JR3SFVjs.configureRoles; exports.configureTokenUsage = _chunkTZG5PZ2Zjs.configureTokenUsage; exports.configureWaitlist = _chunkM45T54VIjs.configureWaitlist; exports.createJsonApiInclusion = _chunkTZG5PZ2Zjs.createJsonApiInclusion; exports.dateFormatLocale = _chunkTZG5PZ2Zjs.dateFormatLocale; exports.dismissToast = _chunkTZG5PZ2Zjs.dismissToast; exports.entityObjectSchema = _chunkTZG5PZ2Zjs.entityObjectSchema; exports.exists = _chunkTZG5PZ2Zjs.exists; exports.formatCodiceFiscale = _chunkTZG5PZ2Zjs.formatCodiceFiscale; exports.formatDate = _chunkTZG5PZ2Zjs.formatDate; exports.formatLocalDate = _chunkTZG5PZ2Zjs.formatLocalDate; exports.formatPartitaIva = _chunkTZG5PZ2Zjs.formatPartitaIva; exports.getApiUrl = _chunkM45T54VIjs.getApiUrl; exports.getAppUrl = _chunkM45T54VIjs.getAppUrl; exports.getBootstrapper = _chunkGHE4VT2Rjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkTZG5PZ2Zjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkTZG5PZ2Zjs.getGlobalErrorHandler; exports.getIcon = _chunkTZG5PZ2Zjs.getIcon; exports.getIconByModule = _chunkTZG5PZ2Zjs.getIconByModule; exports.getIconByModuleName = _chunkTZG5PZ2Zjs.getIconByModuleName; exports.getInitials = _chunkTZG5PZ2Zjs.getInitials; exports.getLastApiMeta = _chunkTZG5PZ2Zjs.getLastApiMeta; exports.getLastApiTotal = _chunkTZG5PZ2Zjs.getLastApiTotal; exports.getLucideIcon = _chunkTZG5PZ2Zjs.getLucideIcon; exports.getLucideIconByModule = _chunkTZG5PZ2Zjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkTZG5PZ2Zjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkM45T54VIjs.getPublicApiUrl; exports.getReferralConfig = _chunkM45T54VIjs.getReferralConfig; exports.getRoleId = _chunkG4JR3SFVjs.getRoleId; exports.getStripePublishableKey = _chunkM45T54VIjs.getStripePublishableKey; exports.getTableComponents = _chunkTZG5PZ2Zjs.getTableComponents; exports.getTableOptions = _chunkTZG5PZ2Zjs.getTableOptions; exports.getTokenHandler = _chunkTZG5PZ2Zjs.getTokenHandler; exports.getTokenUsageCurrency = _chunkTZG5PZ2Zjs.getTokenUsageCurrency; exports.getTrackablePages = _chunkM45T54VIjs.getTrackablePages; exports.getValueFromPath = _chunkTZG5PZ2Zjs.getValueFromPath; exports.getWaitlistConfig = _chunkM45T54VIjs.getWaitlistConfig; exports.handbookPageContent = _chunkTZG5PZ2Zjs.handbookPageContent; exports.handbookPageSummary = _chunkTZG5PZ2Zjs.handbookPageSummary; exports.handbookPageTitle = _chunkTZG5PZ2Zjs.handbookPageTitle; exports.handbookSectionSummary = _chunkTZG5PZ2Zjs.handbookSectionSummary; exports.handbookSectionTitle = _chunkTZG5PZ2Zjs.handbookSectionTitle; exports.hasBootstrapper = _chunkGHE4VT2Rjs.hasBootstrapper; exports.isReferralEnabled = _chunkM45T54VIjs.isReferralEnabled; exports.isRemoteImageSrc = _chunkTZG5PZ2Zjs.isRemoteImageSrc; exports.isRolesConfigured = _chunkG4JR3SFVjs.isRolesConfigured; exports.mergeMessages = _chunkTZG5PZ2Zjs.mergeMessages; exports.rehydrate = _chunkTZG5PZ2Zjs.rehydrate; exports.rehydrateList = _chunkTZG5PZ2Zjs.rehydrateList; exports.resetBootstrapStore = _chunkGHE4VT2Rjs.resetBootstrapStore; exports.setBootstrapper = _chunkGHE4VT2Rjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkTZG5PZ2Zjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkTZG5PZ2Zjs.setGlobalErrorHandler; exports.showCustomToast = _chunkTZG5PZ2Zjs.showCustomToast; exports.showError = _chunkTZG5PZ2Zjs.showError; exports.showToast = _chunkTZG5PZ2Zjs.showToast; exports.tokenUsageModules = _chunkTZG5PZ2Zjs.tokenUsageModules; exports.translateData = _chunkGHE4VT2Rjs.translateData; exports.translateResponse = _chunkGHE4VT2Rjs.translateResponse; exports.tryBootstrap = _chunkGHE4VT2Rjs.tryBootstrap; exports.useComposedRefs = _chunkTZG5PZ2Zjs.useComposedRefs; exports.useIsMobile = _chunkTZG5PZ2Zjs.useIsMobile; exports.userObjectSchema = _chunkTZG5PZ2Zjs.userObjectSchema; exports.validateCodiceFiscale = _chunkTZG5PZ2Zjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkTZG5PZ2Zjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkTZG5PZ2Zjs.validatePartitaIva;
528
+ exports.ACTION_TYPES = _chunkTO6IYGMLjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkVVJDWQEIjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkVVJDWQEIjs.AbstractApiData; exports.AbstractService = _chunkVVJDWQEIjs.AbstractService; exports.Action = _chunkVVJDWQEIjs.Action; exports.AiConnection = _chunkVVJDWQEIjs.AiConnection; exports.AiConnectionFields = _chunkVVJDWQEIjs.AiConnectionFields; exports.AiConnectionModule = _chunkVVJDWQEIjs.AiConnectionModule; exports.AiConnectionService = _chunkVVJDWQEIjs.AiConnectionService; exports.Assistant = _chunkVVJDWQEIjs.Assistant; exports.AssistantAction = _chunkVVJDWQEIjs.AssistantAction; exports.AssistantActionModule = _chunkVVJDWQEIjs.AssistantActionModule; exports.AssistantActionService = _chunkVVJDWQEIjs.AssistantActionService; exports.AssistantMessage = _chunkVVJDWQEIjs.AssistantMessage; exports.AssistantMessageModule = _chunkVVJDWQEIjs.AssistantMessageModule; exports.AssistantMessageService = _chunkVVJDWQEIjs.AssistantMessageService; exports.AssistantModule = _chunkVVJDWQEIjs.AssistantModule; exports.AssistantService = _chunkVVJDWQEIjs.AssistantService; exports.AuditLog = _chunkVVJDWQEIjs.AuditLog; exports.AuditLogModule = _chunkVVJDWQEIjs.AuditLogModule; exports.AuditLogService = _chunkVVJDWQEIjs.AuditLogService; exports.Auth = _chunkVVJDWQEIjs.Auth; exports.AuthComponent = _chunkVVJDWQEIjs.AuthComponent; exports.AuthModule = _chunkVVJDWQEIjs.AuthModule; exports.AuthService = _chunkVVJDWQEIjs.AuthService; exports.AuthorModule = _chunkVVJDWQEIjs.AuthorModule; exports.BackupCodeVerify = _chunkVVJDWQEIjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkVVJDWQEIjs.BackupCodeVerifyModule; exports.Billing = _chunkVVJDWQEIjs.Billing; exports.BillingModule = _chunkVVJDWQEIjs.BillingModule; exports.BillingService = _chunkVVJDWQEIjs.BillingService; exports.BlockNoteDiffUtil = _chunkVVJDWQEIjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkVVJDWQEIjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkTO6IYGMLjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.CURRENT_USER_STORAGE_KEY = _chunkVVJDWQEIjs.CURRENT_USER_STORAGE_KEY; exports.Chunk = _chunkVVJDWQEIjs.Chunk; exports.ChunkModule = _chunkVVJDWQEIjs.ChunkModule; exports.ClientAbstractService = _chunkVVJDWQEIjs.ClientAbstractService; exports.ClientHttpMethod = _chunkVVJDWQEIjs.ClientHttpMethod; exports.Company = _chunkVVJDWQEIjs.Company; exports.CompanyFields = _chunkVVJDWQEIjs.CompanyFields; exports.CompanyModule = _chunkVVJDWQEIjs.CompanyModule; exports.CompanyService = _chunkVVJDWQEIjs.CompanyService; exports.Content = _chunkVVJDWQEIjs.Content; exports.ContentFields = _chunkVVJDWQEIjs.ContentFields; exports.ContentModule = _chunkVVJDWQEIjs.ContentModule; exports.ContentService = _chunkVVJDWQEIjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkVVJDWQEIjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkGHE4VT2Rjs.DataClassRegistry; exports.DataClassRegistry = _chunkGHE4VT2Rjs.DataClassRegistry; exports.ENV = _chunkGHE4VT2Rjs.ENV; exports.EndpointCreator = _chunkVVJDWQEIjs.EndpointCreator; exports.EntityAiStatus = _chunkVVJDWQEIjs.EntityAiStatus; exports.Feature = _chunkVVJDWQEIjs.Feature; exports.FeatureModule = _chunkVVJDWQEIjs.FeatureModule; exports.FeatureService = _chunkVVJDWQEIjs.FeatureService; exports.HandbookPage = _chunkVVJDWQEIjs.HandbookPage; exports.HandbookPageFields = _chunkVVJDWQEIjs.HandbookPageFields; exports.HandbookPageModule = _chunkVVJDWQEIjs.HandbookPageModule; exports.HandbookPageService = _chunkVVJDWQEIjs.HandbookPageService; exports.HandbookSection = _chunkVVJDWQEIjs.HandbookSection; exports.HandbookSectionModule = _chunkVVJDWQEIjs.HandbookSectionModule; exports.HandbookSectionService = _chunkVVJDWQEIjs.HandbookSectionService; exports.HandbookThread = _chunkVVJDWQEIjs.HandbookThread; exports.HandbookThreadMessage = _chunkVVJDWQEIjs.HandbookThreadMessage; exports.HandbookThreadMessageModule = _chunkVVJDWQEIjs.HandbookThreadMessageModule; exports.HandbookThreadMessageService = _chunkVVJDWQEIjs.HandbookThreadMessageService; exports.HandbookThreadModule = _chunkVVJDWQEIjs.HandbookThreadModule; exports.HandbookThreadService = _chunkVVJDWQEIjs.HandbookThreadService; exports.HowTo = _chunkVVJDWQEIjs.HowTo; exports.HowToFields = _chunkVVJDWQEIjs.HowToFields; exports.HowToModule = _chunkVVJDWQEIjs.HowToModule; exports.HowToService = _chunkVVJDWQEIjs.HowToService; exports.HttpMethod = _chunkVVJDWQEIjs.HttpMethod; exports.InvoiceStatus = _chunkVVJDWQEIjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkGHE4VT2Rjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkVVJDWQEIjs.MOBILE_BREAKPOINT; exports.Module = _chunkVVJDWQEIjs.Module; exports.ModuleModule = _chunkVVJDWQEIjs.ModuleModule; exports.ModulePaths = _chunkVVJDWQEIjs.ModulePaths; exports.ModulePathsModule = _chunkVVJDWQEIjs.ModulePathsModule; exports.ModuleRegistrar = _chunkVVJDWQEIjs.ModuleRegistrar; exports.ModuleRegistry = _chunkVVJDWQEIjs.ModuleRegistry; exports.Modules = _chunkVVJDWQEIjs.Modules; exports.Notification = _chunkVVJDWQEIjs.Notification; exports.NotificationFields = _chunkVVJDWQEIjs.NotificationFields; exports.NotificationModule = _chunkVVJDWQEIjs.NotificationModule; exports.NotificationService = _chunkVVJDWQEIjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkVVJDWQEIjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkVVJDWQEIjs.OAuthClient; exports.OAuthModule = _chunkVVJDWQEIjs.OAuthModule; exports.OAuthService = _chunkVVJDWQEIjs.OAuthService; exports.Passkey = _chunkVVJDWQEIjs.Passkey; exports.PasskeyAuthenticationOptions = _chunkVVJDWQEIjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkVVJDWQEIjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkVVJDWQEIjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkVVJDWQEIjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkVVJDWQEIjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkVVJDWQEIjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkVVJDWQEIjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkVVJDWQEIjs.PasskeyRename; exports.PasskeyRenameModule = _chunkVVJDWQEIjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkVVJDWQEIjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkVVJDWQEIjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkVVJDWQEIjs.PaymentMethod; exports.PermissionMapping = _chunkVVJDWQEIjs.PermissionMapping; exports.PermissionMappingModule = _chunkVVJDWQEIjs.PermissionMappingModule; exports.Push = _chunkVVJDWQEIjs.Push; exports.PushModule = _chunkVVJDWQEIjs.PushModule; exports.PushService = _chunkVVJDWQEIjs.PushService; exports.RbacMatrixModel = _chunkVVJDWQEIjs.RbacMatrixModel; exports.RbacMatrixModule = _chunkVVJDWQEIjs.RbacMatrixModule; exports.RbacService = _chunkTO6IYGMLjs.RbacService; exports.ReferralModule = _chunkVVJDWQEIjs.ReferralModule; exports.ReferralService = _chunkVVJDWQEIjs.ReferralService; exports.ReferralStats = _chunkVVJDWQEIjs.ReferralStats; exports.ReferralStatsModule = _chunkVVJDWQEIjs.ReferralStatsModule; exports.RehydrationFactory = _chunkVVJDWQEIjs.RehydrationFactory; exports.Role = _chunkVVJDWQEIjs.Role; exports.RoleFields = _chunkVVJDWQEIjs.RoleFields; exports.RoleModule = _chunkVVJDWQEIjs.RoleModule; exports.RoleService = _chunkVVJDWQEIjs.RoleService; exports.S3 = _chunkVVJDWQEIjs.S3; exports.S3Module = _chunkVVJDWQEIjs.S3Module; exports.S3Service = _chunkVVJDWQEIjs.S3Service; exports.StripeCustomer = _chunkVVJDWQEIjs.StripeCustomer; exports.StripeCustomerModule = _chunkVVJDWQEIjs.StripeCustomerModule; exports.StripeCustomerService = _chunkVVJDWQEIjs.StripeCustomerService; exports.StripeInvoice = _chunkVVJDWQEIjs.StripeInvoice; exports.StripeInvoiceModule = _chunkVVJDWQEIjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkVVJDWQEIjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkVVJDWQEIjs.StripePaymentMethodModule; exports.StripePrice = _chunkVVJDWQEIjs.StripePrice; exports.StripePriceFields = _chunkVVJDWQEIjs.StripePriceFields; exports.StripePriceModule = _chunkVVJDWQEIjs.StripePriceModule; exports.StripePriceService = _chunkVVJDWQEIjs.StripePriceService; exports.StripeProduct = _chunkVVJDWQEIjs.StripeProduct; exports.StripeProductFields = _chunkVVJDWQEIjs.StripeProductFields; exports.StripeProductModule = _chunkVVJDWQEIjs.StripeProductModule; exports.StripeProductService = _chunkVVJDWQEIjs.StripeProductService; exports.StripePromotionCode = _chunkVVJDWQEIjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkVVJDWQEIjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkVVJDWQEIjs.StripePromotionCodeService; exports.StripeSubscription = _chunkVVJDWQEIjs.StripeSubscription; exports.StripeSubscriptionModule = _chunkVVJDWQEIjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkVVJDWQEIjs.StripeSubscriptionService; exports.StripeUsage = _chunkVVJDWQEIjs.StripeUsage; exports.StripeUsageModule = _chunkVVJDWQEIjs.StripeUsageModule; exports.StripeUsageService = _chunkVVJDWQEIjs.StripeUsageService; exports.SubscriptionStatus = _chunkVVJDWQEIjs.SubscriptionStatus; exports.TableOptions = _chunkVVJDWQEIjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkVVJDWQEIjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkVVJDWQEIjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkVVJDWQEIjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkVVJDWQEIjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkVVJDWQEIjs.TotpAuthenticatorModule; exports.TotpSetup = _chunkVVJDWQEIjs.TotpSetup; exports.TotpSetupModule = _chunkVVJDWQEIjs.TotpSetupModule; exports.TotpVerify = _chunkVVJDWQEIjs.TotpVerify; exports.TotpVerifyLogin = _chunkVVJDWQEIjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkVVJDWQEIjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkVVJDWQEIjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkVVJDWQEIjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkVVJDWQEIjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkVVJDWQEIjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkVVJDWQEIjs.TwoFactorEnableModule; exports.TwoFactorService = _chunkVVJDWQEIjs.TwoFactorService; exports.TwoFactorStatus = _chunkVVJDWQEIjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkVVJDWQEIjs.TwoFactorStatusModule; exports.User = _chunkVVJDWQEIjs.User; exports.UserFields = _chunkVVJDWQEIjs.UserFields; exports.UserModule = _chunkVVJDWQEIjs.UserModule; exports.UserService = _chunkVVJDWQEIjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkVVJDWQEIjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkVVJDWQEIjs.Waitlist; exports.WaitlistFields = _chunkVVJDWQEIjs.WaitlistFields; exports.WaitlistModule = _chunkVVJDWQEIjs.WaitlistModule; exports.WaitlistService = _chunkVVJDWQEIjs.WaitlistService; exports.WaitlistStats = _chunkVVJDWQEIjs.WaitlistStats; exports.WaitlistStatsModule = _chunkVVJDWQEIjs.WaitlistStatsModule; exports.analyticsModules = _chunkVVJDWQEIjs.analyticsModules; exports.checkPermissions = _chunkVVJDWQEIjs.checkPermissions; exports.checkPermissionsFromServer = _chunkVVJDWQEIjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkVVJDWQEIjs.clearLastApiMeta; exports.clearLastApiTotal = _chunkVVJDWQEIjs.clearLastApiTotal; exports.cn = _chunkVVJDWQEIjs.cn; exports.composeRefs = _chunkVVJDWQEIjs.composeRefs; exports.configureAuth = _chunkVVJDWQEIjs.configureAuth; exports.configureI18n = _chunkVVJDWQEIjs.configureI18n; exports.configureJsonApi = _chunkTO6IYGMLjs.configureJsonApi; exports.configureLogin = _chunkTO6IYGMLjs.configureLogin; exports.configureReferral = _chunkTO6IYGMLjs.configureReferral; exports.configureRoles = _chunkG4JR3SFVjs.configureRoles; exports.configureTokenUsage = _chunkVVJDWQEIjs.configureTokenUsage; exports.configureWaitlist = _chunkTO6IYGMLjs.configureWaitlist; exports.createJsonApiInclusion = _chunkVVJDWQEIjs.createJsonApiInclusion; exports.dateFormatLocale = _chunkVVJDWQEIjs.dateFormatLocale; exports.dismissToast = _chunkVVJDWQEIjs.dismissToast; exports.entityObjectSchema = _chunkVVJDWQEIjs.entityObjectSchema; exports.exists = _chunkVVJDWQEIjs.exists; exports.formatCodiceFiscale = _chunkVVJDWQEIjs.formatCodiceFiscale; exports.formatDate = _chunkVVJDWQEIjs.formatDate; exports.formatLocalDate = _chunkVVJDWQEIjs.formatLocalDate; exports.formatPartitaIva = _chunkVVJDWQEIjs.formatPartitaIva; exports.getApiUrl = _chunkTO6IYGMLjs.getApiUrl; exports.getAppUrl = _chunkTO6IYGMLjs.getAppUrl; exports.getBootstrapper = _chunkGHE4VT2Rjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkVVJDWQEIjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkVVJDWQEIjs.getGlobalErrorHandler; exports.getIcon = _chunkVVJDWQEIjs.getIcon; exports.getIconByModule = _chunkVVJDWQEIjs.getIconByModule; exports.getIconByModuleName = _chunkVVJDWQEIjs.getIconByModuleName; exports.getInitials = _chunkVVJDWQEIjs.getInitials; exports.getLastApiMeta = _chunkVVJDWQEIjs.getLastApiMeta; exports.getLastApiTotal = _chunkVVJDWQEIjs.getLastApiTotal; exports.getLucideIcon = _chunkVVJDWQEIjs.getLucideIcon; exports.getLucideIconByModule = _chunkVVJDWQEIjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkVVJDWQEIjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkTO6IYGMLjs.getPublicApiUrl; exports.getReferralConfig = _chunkTO6IYGMLjs.getReferralConfig; exports.getRoleId = _chunkG4JR3SFVjs.getRoleId; exports.getStripePublishableKey = _chunkTO6IYGMLjs.getStripePublishableKey; exports.getTableComponents = _chunkVVJDWQEIjs.getTableComponents; exports.getTableOptions = _chunkVVJDWQEIjs.getTableOptions; exports.getTokenHandler = _chunkVVJDWQEIjs.getTokenHandler; exports.getTokenUsageCurrency = _chunkVVJDWQEIjs.getTokenUsageCurrency; exports.getTrackablePages = _chunkTO6IYGMLjs.getTrackablePages; exports.getValueFromPath = _chunkVVJDWQEIjs.getValueFromPath; exports.getWaitlistConfig = _chunkTO6IYGMLjs.getWaitlistConfig; exports.handbookPageContent = _chunkVVJDWQEIjs.handbookPageContent; exports.handbookPageSummary = _chunkVVJDWQEIjs.handbookPageSummary; exports.handbookPageTitle = _chunkVVJDWQEIjs.handbookPageTitle; exports.handbookSectionSummary = _chunkVVJDWQEIjs.handbookSectionSummary; exports.handbookSectionTitle = _chunkVVJDWQEIjs.handbookSectionTitle; exports.hasBootstrapper = _chunkGHE4VT2Rjs.hasBootstrapper; exports.isReferralEnabled = _chunkTO6IYGMLjs.isReferralEnabled; exports.isRemoteImageSrc = _chunkVVJDWQEIjs.isRemoteImageSrc; exports.isRolesConfigured = _chunkG4JR3SFVjs.isRolesConfigured; exports.mergeMessages = _chunkVVJDWQEIjs.mergeMessages; exports.rehydrate = _chunkVVJDWQEIjs.rehydrate; exports.rehydrateList = _chunkVVJDWQEIjs.rehydrateList; exports.resetBootstrapStore = _chunkGHE4VT2Rjs.resetBootstrapStore; exports.setBootstrapper = _chunkGHE4VT2Rjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkVVJDWQEIjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkVVJDWQEIjs.setGlobalErrorHandler; exports.showCustomToast = _chunkVVJDWQEIjs.showCustomToast; exports.showError = _chunkVVJDWQEIjs.showError; exports.showToast = _chunkVVJDWQEIjs.showToast; exports.tokenUsageModules = _chunkVVJDWQEIjs.tokenUsageModules; exports.translateData = _chunkGHE4VT2Rjs.translateData; exports.translateResponse = _chunkGHE4VT2Rjs.translateResponse; exports.tryBootstrap = _chunkGHE4VT2Rjs.tryBootstrap; exports.useComposedRefs = _chunkVVJDWQEIjs.useComposedRefs; exports.useIsMobile = _chunkVVJDWQEIjs.useIsMobile; exports.userObjectSchema = _chunkVVJDWQEIjs.userObjectSchema; exports.validateCodiceFiscale = _chunkVVJDWQEIjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkVVJDWQEIjs.validateItalianTaxCode; exports.validatePartitaIva = _chunkVVJDWQEIjs.validatePartitaIva;
529
529
  //# sourceMappingURL=index.js.map
package/dist/index.mjs CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  getTrackablePages,
15
15
  getWaitlistConfig,
16
16
  isReferralEnabled
17
- } from "./chunk-ORHUCNDA.mjs";
17
+ } from "./chunk-OKUGTXDN.mjs";
18
18
  import {
19
19
  configureRoles,
20
20
  getRoleId,
@@ -250,7 +250,7 @@ import {
250
250
  validateCodiceFiscale,
251
251
  validateItalianTaxCode,
252
252
  validatePartitaIva
253
- } from "./chunk-UY27K26K.mjs";
253
+ } from "./chunk-OCJEXAGE.mjs";
254
254
  import "./chunk-AUXK7QSA.mjs";
255
255
  import "./chunk-PI56A4DG.mjs";
256
256
  import {
@@ -12,7 +12,7 @@
12
12
 
13
13
 
14
14
 
15
- var _chunkVAFOYV7Rjs = require('../chunk-VAFOYV7R.js');
15
+ var _chunkXCHXOCEJjs = require('../chunk-XCHXOCEJ.js');
16
16
 
17
17
 
18
18
  var _chunkYUO55Q5Ajs = require('../chunk-YUO55Q5A.js');
@@ -33,7 +33,7 @@ require('../chunk-G4JR3SFV.js');
33
33
 
34
34
 
35
35
 
36
- var _chunkTZG5PZ2Zjs = require('../chunk-TZG5PZ2Z.js');
36
+ var _chunkVVJDWQEIjs = require('../chunk-VVJDWQEI.js');
37
37
  require('../chunk-LXKSUWAV.js');
38
38
  require('../chunk-JTPRJNT2.js');
39
39
  require('../chunk-GHE4VT2R.js');
@@ -64,5 +64,5 @@ require('../chunk-7QVYU63E.js');
64
64
 
65
65
 
66
66
 
67
- exports.CACHE_PROFILES = _chunkIK65TDQHjs.CACHE_PROFILES; exports.ServerAuthService = _chunkTZG5PZ2Zjs.AuthService; exports.ServerCompanyService = _chunkTZG5PZ2Zjs.CompanyService; exports.ServerContentService = _chunkTZG5PZ2Zjs.ContentService; exports.ServerFeatureService = _chunkTZG5PZ2Zjs.FeatureService; exports.ServerJsonApiDelete = _chunkVAFOYV7Rjs.ServerJsonApiDelete; exports.ServerJsonApiGet = _chunkVAFOYV7Rjs.ServerJsonApiGet; exports.ServerJsonApiPatch = _chunkVAFOYV7Rjs.ServerJsonApiPatch; exports.ServerJsonApiPost = _chunkVAFOYV7Rjs.ServerJsonApiPost; exports.ServerJsonApiPut = _chunkVAFOYV7Rjs.ServerJsonApiPut; exports.ServerNotificationService = _chunkTZG5PZ2Zjs.NotificationService; exports.ServerPushService = _chunkTZG5PZ2Zjs.PushService; exports.ServerRoleService = _chunkTZG5PZ2Zjs.RoleService; exports.ServerS3Service = _chunkTZG5PZ2Zjs.S3Service; exports.ServerSession = _chunkVAFOYV7Rjs.ServerSession; exports.ServerUserService = _chunkTZG5PZ2Zjs.UserService; exports.configureServerJsonApi = _chunkVAFOYV7Rjs.configureServerJsonApi; exports.getServerApiUrl = _chunkVAFOYV7Rjs.getServerApiUrl; exports.getServerAppUrl = _chunkVAFOYV7Rjs.getServerAppUrl; exports.getServerToken = _chunkYUO55Q5Ajs.getServerToken; exports.getServerTrackablePages = _chunkVAFOYV7Rjs.getServerTrackablePages; exports.invalidateCacheTag = _chunkVAFOYV7Rjs.invalidateCacheTag; exports.invalidateCacheTags = _chunkVAFOYV7Rjs.invalidateCacheTags; exports.serverRequest = _chunk6TUB7Y6Tjs.serverRequest; exports.updateCacheTag = _chunkVAFOYV7Rjs.updateCacheTag;
67
+ exports.CACHE_PROFILES = _chunkIK65TDQHjs.CACHE_PROFILES; exports.ServerAuthService = _chunkVVJDWQEIjs.AuthService; exports.ServerCompanyService = _chunkVVJDWQEIjs.CompanyService; exports.ServerContentService = _chunkVVJDWQEIjs.ContentService; exports.ServerFeatureService = _chunkVVJDWQEIjs.FeatureService; exports.ServerJsonApiDelete = _chunkXCHXOCEJjs.ServerJsonApiDelete; exports.ServerJsonApiGet = _chunkXCHXOCEJjs.ServerJsonApiGet; exports.ServerJsonApiPatch = _chunkXCHXOCEJjs.ServerJsonApiPatch; exports.ServerJsonApiPost = _chunkXCHXOCEJjs.ServerJsonApiPost; exports.ServerJsonApiPut = _chunkXCHXOCEJjs.ServerJsonApiPut; exports.ServerNotificationService = _chunkVVJDWQEIjs.NotificationService; exports.ServerPushService = _chunkVVJDWQEIjs.PushService; exports.ServerRoleService = _chunkVVJDWQEIjs.RoleService; exports.ServerS3Service = _chunkVVJDWQEIjs.S3Service; exports.ServerSession = _chunkXCHXOCEJjs.ServerSession; exports.ServerUserService = _chunkVVJDWQEIjs.UserService; exports.configureServerJsonApi = _chunkXCHXOCEJjs.configureServerJsonApi; exports.getServerApiUrl = _chunkXCHXOCEJjs.getServerApiUrl; exports.getServerAppUrl = _chunkXCHXOCEJjs.getServerAppUrl; exports.getServerToken = _chunkYUO55Q5Ajs.getServerToken; exports.getServerTrackablePages = _chunkXCHXOCEJjs.getServerTrackablePages; exports.invalidateCacheTag = _chunkXCHXOCEJjs.invalidateCacheTag; exports.invalidateCacheTags = _chunkXCHXOCEJjs.invalidateCacheTags; exports.serverRequest = _chunk6TUB7Y6Tjs.serverRequest; exports.updateCacheTag = _chunkXCHXOCEJjs.updateCacheTag;
68
68
  //# sourceMappingURL=index.js.map
@@ -12,7 +12,7 @@ import {
12
12
  invalidateCacheTag,
13
13
  invalidateCacheTags,
14
14
  updateCacheTag
15
- } from "../chunk-4R6ZRADN.mjs";
15
+ } from "../chunk-XLVRAHUK.mjs";
16
16
  import {
17
17
  getServerToken
18
18
  } from "../chunk-F5UNXZ3J.mjs";
@@ -33,7 +33,7 @@ import {
33
33
  RoleService,
34
34
  S3Service,
35
35
  UserService
36
- } from "../chunk-UY27K26K.mjs";
36
+ } from "../chunk-OCJEXAGE.mjs";
37
37
  import "../chunk-AUXK7QSA.mjs";
38
38
  import "../chunk-PI56A4DG.mjs";
39
39
  import "../chunk-V5MI7RNB.mjs";
package/messages/en.json CHANGED
@@ -418,7 +418,7 @@
418
418
  },
419
419
  "placeholders": {
420
420
  "description": "What this product gives a subscriber",
421
- "name": "e.g. Storyteller"
421
+ "name": "e.g. Pro plan"
422
422
  },
423
423
  "restore": {
424
424
  "confirm": "Restore",
package/messages/it.json CHANGED
@@ -418,7 +418,7 @@
418
418
  },
419
419
  "placeholders": {
420
420
  "description": "Cosa ottiene chi si abbona a questo prodotto",
421
- "name": "es. Narratore"
421
+ "name": "es. Piano Pro"
422
422
  },
423
423
  "restore": {
424
424
  "confirm": "Ripristina",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlonicora/nextjs-jsonapi",
3
- "version": "5.1.0",
3
+ "version": "5.1.1",
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",
@@ -71,6 +71,8 @@ const APP_WORDS = [
71
71
  /\bscen[ae]\b/i,
72
72
  /\bnpcs?\b/i,
73
73
  /\bpratich?[ae]\b/i,
74
+ /\bstorytellers?\b/i,
75
+ /\bnarrator[ei]\b/i,
74
76
  ];
75
77
 
76
78
  const isAppProvided = (key) => APP_PROVIDED_KEYS.some((p) => p.test(key));
@@ -22,6 +22,16 @@ describe("mergeMessages", () => {
22
22
  expect(mergeMessages({ a: "s" }, { a: { b: "t" } })).toEqual({ a: { b: "t" } });
23
23
  expect(mergeMessages({ a: { b: "t" } }, { a: "s" })).toEqual({ a: "s" });
24
24
  });
25
+ it("replaces arrays, never merges them, and copies them", () => {
26
+ const b: MessageTree = { title: { options: ["Mr", "Mrs", "Dr"] }, keep: ["a"] };
27
+ const o: MessageTree = { title: { options: ["Sig.", "Sig.ra"] } };
28
+ const merged = mergeMessages(b, o);
29
+ expect(merged).toEqual({ title: { options: ["Sig.", "Sig.ra"] }, keep: ["a"] });
30
+ expect((merged.title as MessageTree).options).not.toBe((o.title as MessageTree).options);
31
+ expect(merged.keep).not.toBe(b.keep);
32
+ expect(mergeMessages({ a: ["x"] }, { a: { b: "t" } })).toEqual({ a: { b: "t" } });
33
+ expect(mergeMessages({ a: { b: "t" } }, { a: ["x"] })).toEqual({ a: ["x"] });
34
+ });
25
35
  it("inputs untouched, result is a new object", () => {
26
36
  const b = { a: { x: "1" } };
27
37
  const o = { a: { y: "2" } };
@@ -1,28 +1,33 @@
1
1
  /**
2
- * A next-intl message file: nested objects whose leaves are strings.
2
+ * A next-intl message file: nested objects whose leaves are strings or arrays of
3
+ * strings (read with `t.raw()`).
3
4
  */
4
- export type MessageTree = { [key: string]: string | MessageTree };
5
+ export type MessageTree = { [key: string]: string | string[] | MessageTree };
5
6
 
6
7
  function isMessageTree(value: unknown): value is MessageTree {
7
8
  return value !== null && typeof value === "object" && !Array.isArray(value);
8
9
  }
9
10
 
11
+ function copyLeaf(value: string | string[]): string | string[] {
12
+ return Array.isArray(value) ? [...value] : value;
13
+ }
14
+
10
15
  /**
11
16
  * Deep-merges two message trees. At every path the override's leaf wins; a path
12
17
  * only in the base stays; a path only in the override is added. A non-object
13
- * value replaces, never merges. Neither input is mutated; the result is a new
14
- * object at every level.
18
+ * value (a string or an array) replaces, never merges. Neither input is mutated;
19
+ * the result is a new object, and a new array, at every level.
15
20
  */
16
21
  export function mergeMessages(base: MessageTree, override: MessageTree): MessageTree {
17
22
  const merged: MessageTree = {};
18
23
 
19
24
  for (const [key, value] of Object.entries(base)) {
20
- merged[key] = isMessageTree(value) ? mergeMessages(value, {}) : value;
25
+ merged[key] = isMessageTree(value) ? mergeMessages(value, {}) : copyLeaf(value);
21
26
  }
22
27
 
23
28
  for (const [key, value] of Object.entries(override)) {
24
29
  const current = merged[key];
25
- merged[key] = isMessageTree(value) ? mergeMessages(isMessageTree(current) ? current : {}, value) : value;
30
+ merged[key] = isMessageTree(value) ? mergeMessages(isMessageTree(current) ? current : {}, value) : copyLeaf(value);
26
31
  }
27
32
 
28
33
  return merged;