@carlonicora/nextjs-jsonapi 2.2.0 → 2.2.2

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 (66) hide show
  1. package/dist/{BlockNoteEditor-HAUE4EPR.mjs → BlockNoteEditor-ADT6II2V.mjs} +5 -5
  2. package/dist/{BlockNoteEditor-5TMQ5YCD.js → BlockNoteEditor-QTIDATPF.js} +20 -20
  3. package/dist/{BlockNoteEditor-5TMQ5YCD.js.map → BlockNoteEditor-QTIDATPF.js.map} +1 -1
  4. package/dist/{JsonApiRequest-F5LBESSA.mjs → JsonApiRequest-3UWVIIFL.mjs} +2 -2
  5. package/dist/JsonApiRequest-QRU3IPIU.js +26 -0
  6. package/dist/{JsonApiRequest-YAPUG4ND.js.map → JsonApiRequest-QRU3IPIU.js.map} +1 -1
  7. package/dist/billing/index.js +447 -447
  8. package/dist/billing/index.js.map +1 -1
  9. package/dist/billing/index.mjs +62 -62
  10. package/dist/billing/index.mjs.map +1 -1
  11. package/dist/{chunk-MAWTFEY3.mjs → chunk-7DJOQTNN.mjs} +3 -3
  12. package/dist/{chunk-P5TMD7GK.mjs → chunk-DLTMYGLR.mjs} +13 -5
  13. package/dist/chunk-DLTMYGLR.mjs.map +1 -0
  14. package/dist/{chunk-Z2CB63VG.mjs → chunk-E5YA5Z5X.mjs} +2 -2
  15. package/dist/chunk-E5YA5Z5X.mjs.map +1 -0
  16. package/dist/{chunk-HPKCZMQX.js → chunk-F3BPNQDB.js} +743 -739
  17. package/dist/chunk-F3BPNQDB.js.map +1 -0
  18. package/dist/{chunk-QWCAOLBD.js → chunk-FPO4DLZN.js} +12 -12
  19. package/dist/{chunk-QWCAOLBD.js.map → chunk-FPO4DLZN.js.map} +1 -1
  20. package/dist/{chunk-6YIZX26T.js → chunk-KSU6CCW6.js} +39 -31
  21. package/dist/chunk-KSU6CCW6.js.map +1 -0
  22. package/dist/{chunk-JG7MCYCW.js → chunk-LANOKEFZ.js} +9 -9
  23. package/dist/{chunk-JG7MCYCW.js.map → chunk-LANOKEFZ.js.map} +1 -1
  24. package/dist/{chunk-PGW2OP3L.mjs → chunk-YEPE2HT6.mjs} +13 -9
  25. package/dist/chunk-YEPE2HT6.mjs.map +1 -0
  26. package/dist/client/index.js +5 -5
  27. package/dist/client/index.mjs +4 -4
  28. package/dist/components/index.js +5 -5
  29. package/dist/components/index.mjs +4 -4
  30. package/dist/contexts/index.js +5 -5
  31. package/dist/contexts/index.mjs +4 -4
  32. package/dist/core/index.d.mts +15 -1
  33. package/dist/core/index.d.ts +15 -1
  34. package/dist/core/index.js +5 -3
  35. package/dist/core/index.js.map +1 -1
  36. package/dist/core/index.mjs +4 -2
  37. package/dist/features/help/index.js +38 -38
  38. package/dist/features/help/index.mjs +4 -4
  39. package/dist/features/tokenusage/index.js +72 -72
  40. package/dist/features/tokenusage/index.mjs +4 -4
  41. package/dist/index.d.mts +1 -1
  42. package/dist/index.d.ts +1 -1
  43. package/dist/index.js +6 -4
  44. package/dist/index.js.map +1 -1
  45. package/dist/index.mjs +5 -3
  46. package/dist/server/index.js +12 -12
  47. package/dist/server/index.mjs +2 -2
  48. package/package.json +1 -1
  49. package/src/components/containers/RoundPageContainer.tsx +10 -1
  50. package/src/core/utils/__tests__/translateResponse.test.ts +64 -0
  51. package/src/core/utils/translateResponse.ts +4 -1
  52. package/src/features/billing/components/containers/BillingDashboardContainer.tsx +71 -68
  53. package/src/features/user/components/details/UserStandaloneDetails.tsx +2 -0
  54. package/src/features/user/components/forms/UserAvatarEditor.tsx +5 -1
  55. package/src/utils/index.ts +1 -0
  56. package/src/utils/isRemoteImageSrc.test.ts +29 -0
  57. package/src/utils/isRemoteImageSrc.ts +16 -0
  58. package/dist/JsonApiRequest-YAPUG4ND.js +0 -26
  59. package/dist/chunk-6YIZX26T.js.map +0 -1
  60. package/dist/chunk-HPKCZMQX.js.map +0 -1
  61. package/dist/chunk-P5TMD7GK.mjs.map +0 -1
  62. package/dist/chunk-PGW2OP3L.mjs.map +0 -1
  63. package/dist/chunk-Z2CB63VG.mjs.map +0 -1
  64. /package/dist/{BlockNoteEditor-HAUE4EPR.mjs.map → BlockNoteEditor-ADT6II2V.mjs.map} +0 -0
  65. /package/dist/{JsonApiRequest-F5LBESSA.mjs.map → JsonApiRequest-3UWVIIFL.mjs.map} +0 -0
  66. /package/dist/{chunk-MAWTFEY3.mjs.map → chunk-7DJOQTNN.mjs.map} +0 -0
@@ -26,8 +26,8 @@ import {
26
26
  TableHeader,
27
27
  TableRow,
28
28
  usePageUrlGenerator
29
- } from "../../chunk-PGW2OP3L.mjs";
30
- import "../../chunk-MAWTFEY3.mjs";
29
+ } from "../../chunk-YEPE2HT6.mjs";
30
+ import "../../chunk-7DJOQTNN.mjs";
31
31
  import {
32
32
  AbstractService,
33
33
  EndpointCreator,
@@ -39,10 +39,10 @@ import {
39
39
  TokenUsageAdminTimeline,
40
40
  TokenUsageAdminTimelineModule,
41
41
  cn
42
- } from "../../chunk-P5TMD7GK.mjs";
42
+ } from "../../chunk-DLTMYGLR.mjs";
43
43
  import "../../chunk-AUXK7QSA.mjs";
44
44
  import "../../chunk-C7C7VY4F.mjs";
45
- import "../../chunk-Z2CB63VG.mjs";
45
+ import "../../chunk-E5YA5Z5X.mjs";
46
46
  import "../../chunk-VOXD3ZLY.mjs";
47
47
  import {
48
48
  __name
package/dist/index.d.mts CHANGED
@@ -6,7 +6,7 @@ import { A as AbstractApiData } from './tokenusage-admin.module-DQVT4O4j.mjs';
6
6
  export { b as TokenUsageAdminBreakdownModule, T as TokenUsageAdminSummaryModule, a as TokenUsageAdminTimelineModule } from './tokenusage-admin.module-DQVT4O4j.mjs';
7
7
  import { A as AbstractService } from './AbstractService-B0T7h8fX.mjs';
8
8
  export { H as HttpMethod, N as NextRef, P as PreviousRef, S as SelfRef, T as TotalRef, b as clearLastApiMeta, c as clearLastApiTotal, d as getGlobalErrorHandler, a as getLastApiMeta, g as getLastApiTotal, s as setGlobalErrorHandler } from './AbstractService-B0T7h8fX.mjs';
9
- export { AppModuleDefinitions, Assistant, AssistantAction, AssistantActionInput, AssistantActionInterface, AssistantActionModule, AssistantActionService, AssistantActionStatus, AssistantMessage, AssistantMessageModule, AssistantMessageService, AssistantModule, AssistantService, AuditLog, AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthModule, AuthorModule, BackupCodeVerify, BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, Chunk, ChunkInput, ChunkModule, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, CodiceFiscaleValidationOptions, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EndpointCreator, EndpointQuery, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, HowTo, HowToFields, HowToModule, HowToService, InviteValidation, JsonApiDataFactory, MOBILE_BREAKPOINT, Module, ModuleDefinitions, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, PasskeyAuthenticationOptionsInput, PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyModule, PasskeyRegistrationOptions, PasskeyRegistrationOptionsInput, PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PermissionMappingModule, Push, PushInput, PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceModule, StripePriceService, StripeProduct, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, TotpAuthenticator, TotpAuthenticatorModule, TotpSetup, TotpSetupInput, TotpSetupInterface, TotpSetupModule, TotpVerify, TotpVerifyInput, TotpVerifyLogin, TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, TwoFactorChallengeInput, TwoFactorChallengeModule, TwoFactorEnable, TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, TwoFactorStatusInterface, TwoFactorStatusModule, User, UserModule, UserObject, VIEWPORT_COOKIE_NAME, Waitlist, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatCodiceFiscale, formatDate, formatLocalDate, formatPartitaIva, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema, validateCodiceFiscale, validateItalianTaxCode, validatePartitaIva } from './core/index.mjs';
9
+ export { AppModuleDefinitions, Assistant, AssistantAction, AssistantActionInput, AssistantActionInterface, AssistantActionModule, AssistantActionService, AssistantActionStatus, AssistantMessage, AssistantMessageModule, AssistantMessageService, AssistantModule, AssistantService, AuditLog, AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthModule, AuthorModule, BackupCodeVerify, BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, Chunk, ChunkInput, ChunkModule, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, CodiceFiscaleValidationOptions, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EndpointCreator, EndpointQuery, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, HowTo, HowToFields, HowToModule, HowToService, InviteValidation, JsonApiDataFactory, MOBILE_BREAKPOINT, Module, ModuleDefinitions, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, PasskeyAuthenticationOptionsInput, PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyModule, PasskeyRegistrationOptions, PasskeyRegistrationOptionsInput, PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PermissionMappingModule, Push, PushInput, PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceModule, StripePriceService, StripeProduct, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, TotpAuthenticator, TotpAuthenticatorModule, TotpSetup, TotpSetupInput, TotpSetupInterface, TotpSetupModule, TotpVerify, TotpVerifyInput, TotpVerifyLogin, TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, TwoFactorChallengeInput, TwoFactorChallengeModule, TwoFactorEnable, TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, TwoFactorStatusInterface, TwoFactorStatusModule, User, UserModule, UserObject, VIEWPORT_COOKIE_NAME, Waitlist, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatCodiceFiscale, formatDate, formatLocalDate, formatPartitaIva, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, isRemoteImageSrc, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema, validateCodiceFiscale, validateItalianTaxCode, validatePartitaIva } from './core/index.mjs';
10
10
  export { c as AssistantMessageInput, d as AssistantMessageInterface, A as AssistantMessageRole, b as AssistantMessageType, B as BreadcrumbItemData, e as ChunkInterface, C as ChunkRelationshipMeta, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-Ce8FcllX.mjs';
11
11
  export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from './content.fields-xH3TGvVk.mjs';
12
12
  export { ClassValue } from 'clsx';
package/dist/index.d.ts CHANGED
@@ -6,7 +6,7 @@ import { A as AbstractApiData } from './tokenusage-admin.module-5wJ_tZTj.js';
6
6
  export { b as TokenUsageAdminBreakdownModule, T as TokenUsageAdminSummaryModule, a as TokenUsageAdminTimelineModule } from './tokenusage-admin.module-5wJ_tZTj.js';
7
7
  import { A as AbstractService } from './AbstractService-Cew0PD0L.js';
8
8
  export { H as HttpMethod, N as NextRef, P as PreviousRef, S as SelfRef, T as TotalRef, b as clearLastApiMeta, c as clearLastApiTotal, d as getGlobalErrorHandler, a as getLastApiMeta, g as getLastApiTotal, s as setGlobalErrorHandler } from './AbstractService-Cew0PD0L.js';
9
- export { AppModuleDefinitions, Assistant, AssistantAction, AssistantActionInput, AssistantActionInterface, AssistantActionModule, AssistantActionService, AssistantActionStatus, AssistantMessage, AssistantMessageModule, AssistantMessageService, AssistantModule, AssistantService, AuditLog, AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthModule, AuthorModule, BackupCodeVerify, BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, Chunk, ChunkInput, ChunkModule, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, CodiceFiscaleValidationOptions, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EndpointCreator, EndpointQuery, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, HowTo, HowToFields, HowToModule, HowToService, InviteValidation, JsonApiDataFactory, MOBILE_BREAKPOINT, Module, ModuleDefinitions, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, PasskeyAuthenticationOptionsInput, PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyModule, PasskeyRegistrationOptions, PasskeyRegistrationOptionsInput, PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PermissionMappingModule, Push, PushInput, PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceModule, StripePriceService, StripeProduct, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, TotpAuthenticator, TotpAuthenticatorModule, TotpSetup, TotpSetupInput, TotpSetupInterface, TotpSetupModule, TotpVerify, TotpVerifyInput, TotpVerifyLogin, TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, TwoFactorChallengeInput, TwoFactorChallengeModule, TwoFactorEnable, TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, TwoFactorStatusInterface, TwoFactorStatusModule, User, UserModule, UserObject, VIEWPORT_COOKIE_NAME, Waitlist, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatCodiceFiscale, formatDate, formatLocalDate, formatPartitaIva, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema, validateCodiceFiscale, validateItalianTaxCode, validatePartitaIva } from './core/index.js';
9
+ export { AppModuleDefinitions, Assistant, AssistantAction, AssistantActionInput, AssistantActionInterface, AssistantActionModule, AssistantActionService, AssistantActionStatus, AssistantMessage, AssistantMessageModule, AssistantMessageService, AssistantModule, AssistantService, AuditLog, AuditLogInterface, AuditLogModule, AuditLogService, Auth, AuthModule, AuthorModule, BackupCodeVerify, BackupCodeVerifyInput, BackupCodeVerifyModule, Billing, BillingModule, BillingService, BlockDiffOptions, BlockNoteDiffUtil, BlockNoteWordDiffRendererUtil, Chunk, ChunkInput, ChunkModule, ClientAbstractService, ClientHttpMethod, ClientNextRef, ClientPreviousRef, ClientSelfRef, ClientTotalRef, CodiceFiscaleValidationOptions, Company, CompanyFields, CompanyModule, Content, ContentModule, DataClass, DataClass as DataClassRegistry, DiffBlock, DiffResult, EndpointCreator, EndpointQuery, EntityObject, Feature, FeatureModule, FormatOption, FoundationModuleDefinitions, HowTo, HowToFields, HowToModule, HowToService, InviteValidation, JsonApiDataFactory, MOBILE_BREAKPOINT, Module, ModuleDefinitions, ModuleModule, ModulePathsModule, ModuleRegistrar, ModuleRegistry, Modules, Notification, NotificationFields, NotificationModule, OAuthClient, OAuthModule, OAuthService, Passkey, PasskeyAuthenticationOptions, PasskeyAuthenticationOptionsInput, PasskeyAuthenticationOptionsInterface, PasskeyAuthenticationOptionsModule, PasskeyModule, PasskeyRegistrationOptions, PasskeyRegistrationOptionsInput, PasskeyRegistrationOptionsInterface, PasskeyRegistrationOptionsModule, PasskeyRegistrationVerify, PasskeyRegistrationVerifyInput, PasskeyRegistrationVerifyModule, PasskeyRename, PasskeyRenameInput, PasskeyRenameModule, PasskeyVerifyLogin, PasskeyVerifyLoginInput, PasskeyVerifyLoginModule, PaymentMethod, PermissionMappingModule, Push, PushInput, PushInterface, PushModule, RbacMatrixModule, ReferralModule, ReferralService, ReferralStats, ReferralStatsModule, RehydrationFactory, Role, RoleModule, S3, S3Module, SearchResultInterface, StripeCustomer, StripeCustomerModule, StripeCustomerService, StripeInvoice, StripeInvoiceModule, StripeInvoiceService, StripePaymentMethodModule, StripePrice, StripePriceModule, StripePriceService, StripeProduct, StripeProductModule, StripeProductService, StripePromotionCode, StripePromotionCodeModule, StripePromotionCodeService, StripeSubscription, StripeSubscriptionModule, StripeSubscriptionService, StripeUsage, StripeUsageModule, StripeUsageService, TableOptions, ToastOptions, TotpAuthenticator, TotpAuthenticatorModule, TotpSetup, TotpSetupInput, TotpSetupInterface, TotpSetupModule, TotpVerify, TotpVerifyInput, TotpVerifyLogin, TotpVerifyLoginInput, TotpVerifyLoginModule, TotpVerifyModule, TwoFactorChallenge, TwoFactorChallengeInput, TwoFactorChallengeModule, TwoFactorEnable, TwoFactorEnableInput, TwoFactorEnableModule, TwoFactorService, TwoFactorStatus, TwoFactorStatusInterface, TwoFactorStatusModule, User, UserModule, UserObject, VIEWPORT_COOKIE_NAME, Waitlist, WaitlistInput, WaitlistInterface, WaitlistModule, WaitlistService, WaitlistStats, WaitlistStatsInterface, WaitlistStatsModule, WaitlistStatus, WordDiff, checkPermissions, checkPermissionsFromServer, cn, composeRefs, dismissToast, entityObjectSchema, exists, formatCodiceFiscale, formatDate, formatLocalDate, formatPartitaIva, getBootstrapper, getClientGlobalErrorHandler, getTableComponents, getTableOptions, getValueFromPath, hasBootstrapper, isRemoteImageSrc, rehydrate, rehydrateList, resetBootstrapStore, setBootstrapper, setClientGlobalErrorHandler, showCustomToast, showError, showToast, translateData, translateResponse, tryBootstrap, useComposedRefs, useIsMobile, userObjectSchema, validateCodiceFiscale, validateItalianTaxCode, validatePartitaIva } from './core/index.js';
10
10
  export { c as AssistantMessageInput, d as AssistantMessageInterface, A as AssistantMessageRole, b as AssistantMessageType, B as BreadcrumbItemData, e as ChunkInterface, C as ChunkRelationshipMeta, H as HowToInput, a as HowToInterface } from './AssistantMessageInterface-Dh0BpbP2.js';
11
11
  export { C as ContentFields, D as D3Link, a as D3Node, R as RoleFields, U as UserFields } from './content.fields-xH3TGvVk.js';
12
12
  export { ClassValue } from 'clsx';
package/dist/index.js CHANGED
@@ -18,7 +18,7 @@
18
18
 
19
19
 
20
20
 
21
- var _chunkJG7MCYCWjs = require('./chunk-JG7MCYCW.js');
21
+ var _chunkLANOKEFZjs = require('./chunk-LANOKEFZ.js');
22
22
 
23
23
 
24
24
 
@@ -214,7 +214,8 @@ var _chunkJG7MCYCWjs = require('./chunk-JG7MCYCW.js');
214
214
 
215
215
 
216
216
 
217
- var _chunk6YIZX26Tjs = require('./chunk-6YIZX26T.js');
217
+
218
+ var _chunkKSU6CCW6js = require('./chunk-KSU6CCW6.js');
218
219
  require('./chunk-LXKSUWAV.js');
219
220
  require('./chunk-IBS6NI7D.js');
220
221
 
@@ -227,7 +228,7 @@ require('./chunk-IBS6NI7D.js');
227
228
 
228
229
 
229
230
 
230
- var _chunkQWCAOLBDjs = require('./chunk-QWCAOLBD.js');
231
+ var _chunkFPO4DLZNjs = require('./chunk-FPO4DLZN.js');
231
232
  require('./chunk-7QVYU63E.js');
232
233
 
233
234
 
@@ -453,5 +454,6 @@ require('./chunk-7QVYU63E.js');
453
454
 
454
455
 
455
456
 
456
- exports.ACTION_TYPES = _chunkJG7MCYCWjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunk6YIZX26Tjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunk6YIZX26Tjs.AbstractApiData; exports.AbstractService = _chunk6YIZX26Tjs.AbstractService; exports.Action = _chunk6YIZX26Tjs.Action; exports.Assistant = _chunk6YIZX26Tjs.Assistant; exports.AssistantAction = _chunk6YIZX26Tjs.AssistantAction; exports.AssistantActionModule = _chunk6YIZX26Tjs.AssistantActionModule; exports.AssistantActionService = _chunk6YIZX26Tjs.AssistantActionService; exports.AssistantMessage = _chunk6YIZX26Tjs.AssistantMessage; exports.AssistantMessageModule = _chunk6YIZX26Tjs.AssistantMessageModule; exports.AssistantMessageService = _chunk6YIZX26Tjs.AssistantMessageService; exports.AssistantModule = _chunk6YIZX26Tjs.AssistantModule; exports.AssistantService = _chunk6YIZX26Tjs.AssistantService; exports.AuditLog = _chunk6YIZX26Tjs.AuditLog; exports.AuditLogModule = _chunk6YIZX26Tjs.AuditLogModule; exports.AuditLogService = _chunk6YIZX26Tjs.AuditLogService; exports.Auth = _chunk6YIZX26Tjs.Auth; exports.AuthComponent = _chunk6YIZX26Tjs.AuthComponent; exports.AuthModule = _chunk6YIZX26Tjs.AuthModule; exports.AuthService = _chunk6YIZX26Tjs.AuthService; exports.AuthorModule = _chunk6YIZX26Tjs.AuthorModule; exports.BackupCodeVerify = _chunk6YIZX26Tjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunk6YIZX26Tjs.BackupCodeVerifyModule; exports.Billing = _chunk6YIZX26Tjs.Billing; exports.BillingModule = _chunk6YIZX26Tjs.BillingModule; exports.BillingService = _chunk6YIZX26Tjs.BillingService; exports.BlockNoteDiffUtil = _chunk6YIZX26Tjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunk6YIZX26Tjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkJG7MCYCWjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.Chunk = _chunk6YIZX26Tjs.Chunk; exports.ChunkModule = _chunk6YIZX26Tjs.ChunkModule; exports.ClientAbstractService = _chunk6YIZX26Tjs.ClientAbstractService; exports.ClientHttpMethod = _chunk6YIZX26Tjs.ClientHttpMethod; exports.Company = _chunk6YIZX26Tjs.Company; exports.CompanyFields = _chunk6YIZX26Tjs.CompanyFields; exports.CompanyModule = _chunk6YIZX26Tjs.CompanyModule; exports.CompanyService = _chunk6YIZX26Tjs.CompanyService; exports.Content = _chunk6YIZX26Tjs.Content; exports.ContentFields = _chunk6YIZX26Tjs.ContentFields; exports.ContentModule = _chunk6YIZX26Tjs.ContentModule; exports.ContentService = _chunk6YIZX26Tjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunk6YIZX26Tjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkQWCAOLBDjs.DataClassRegistry; exports.DataClassRegistry = _chunkQWCAOLBDjs.DataClassRegistry; exports.EndpointCreator = _chunk6YIZX26Tjs.EndpointCreator; exports.Feature = _chunk6YIZX26Tjs.Feature; exports.FeatureModule = _chunk6YIZX26Tjs.FeatureModule; exports.FeatureService = _chunk6YIZX26Tjs.FeatureService; exports.HowTo = _chunk6YIZX26Tjs.HowTo; exports.HowToFields = _chunk6YIZX26Tjs.HowToFields; exports.HowToModule = _chunk6YIZX26Tjs.HowToModule; exports.HowToService = _chunk6YIZX26Tjs.HowToService; exports.HttpMethod = _chunk6YIZX26Tjs.HttpMethod; exports.InvoiceStatus = _chunk6YIZX26Tjs.InvoiceStatus; exports.JsonApiDataFactory = _chunkQWCAOLBDjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunk6YIZX26Tjs.MOBILE_BREAKPOINT; exports.Module = _chunk6YIZX26Tjs.Module; exports.ModuleModule = _chunk6YIZX26Tjs.ModuleModule; exports.ModulePaths = _chunk6YIZX26Tjs.ModulePaths; exports.ModulePathsModule = _chunk6YIZX26Tjs.ModulePathsModule; exports.ModuleRegistrar = _chunk6YIZX26Tjs.ModuleRegistrar; exports.ModuleRegistry = _chunk6YIZX26Tjs.ModuleRegistry; exports.Modules = _chunk6YIZX26Tjs.Modules; exports.Notification = _chunk6YIZX26Tjs.Notification; exports.NotificationFields = _chunk6YIZX26Tjs.NotificationFields; exports.NotificationModule = _chunk6YIZX26Tjs.NotificationModule; exports.NotificationService = _chunk6YIZX26Tjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunk6YIZX26Tjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunk6YIZX26Tjs.OAuthClient; exports.OAuthModule = _chunk6YIZX26Tjs.OAuthModule; exports.OAuthService = _chunk6YIZX26Tjs.OAuthService; exports.Passkey = _chunk6YIZX26Tjs.Passkey; exports.PasskeyAuthenticationOptions = _chunk6YIZX26Tjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunk6YIZX26Tjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunk6YIZX26Tjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunk6YIZX26Tjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunk6YIZX26Tjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunk6YIZX26Tjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunk6YIZX26Tjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunk6YIZX26Tjs.PasskeyRename; exports.PasskeyRenameModule = _chunk6YIZX26Tjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunk6YIZX26Tjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunk6YIZX26Tjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunk6YIZX26Tjs.PaymentMethod; exports.PermissionMapping = _chunk6YIZX26Tjs.PermissionMapping; exports.PermissionMappingModule = _chunk6YIZX26Tjs.PermissionMappingModule; exports.Push = _chunk6YIZX26Tjs.Push; exports.PushModule = _chunk6YIZX26Tjs.PushModule; exports.PushService = _chunk6YIZX26Tjs.PushService; exports.RbacMatrixModel = _chunk6YIZX26Tjs.RbacMatrixModel; exports.RbacMatrixModule = _chunk6YIZX26Tjs.RbacMatrixModule; exports.RbacService = _chunkJG7MCYCWjs.RbacService; exports.ReferralModule = _chunk6YIZX26Tjs.ReferralModule; exports.ReferralService = _chunk6YIZX26Tjs.ReferralService; exports.ReferralStats = _chunk6YIZX26Tjs.ReferralStats; exports.ReferralStatsModule = _chunk6YIZX26Tjs.ReferralStatsModule; exports.RehydrationFactory = _chunk6YIZX26Tjs.RehydrationFactory; exports.Role = _chunk6YIZX26Tjs.Role; exports.RoleFields = _chunk6YIZX26Tjs.RoleFields; exports.RoleModule = _chunk6YIZX26Tjs.RoleModule; exports.RoleService = _chunk6YIZX26Tjs.RoleService; exports.S3 = _chunk6YIZX26Tjs.S3; exports.S3Module = _chunk6YIZX26Tjs.S3Module; exports.S3Service = _chunk6YIZX26Tjs.S3Service; exports.StripeCustomer = _chunk6YIZX26Tjs.StripeCustomer; exports.StripeCustomerModule = _chunk6YIZX26Tjs.StripeCustomerModule; exports.StripeCustomerService = _chunk6YIZX26Tjs.StripeCustomerService; exports.StripeInvoice = _chunk6YIZX26Tjs.StripeInvoice; exports.StripeInvoiceModule = _chunk6YIZX26Tjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunk6YIZX26Tjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunk6YIZX26Tjs.StripePaymentMethodModule; exports.StripePrice = _chunk6YIZX26Tjs.StripePrice; exports.StripePriceModule = _chunk6YIZX26Tjs.StripePriceModule; exports.StripePriceService = _chunk6YIZX26Tjs.StripePriceService; exports.StripeProduct = _chunk6YIZX26Tjs.StripeProduct; exports.StripeProductModule = _chunk6YIZX26Tjs.StripeProductModule; exports.StripeProductService = _chunk6YIZX26Tjs.StripeProductService; exports.StripePromotionCode = _chunk6YIZX26Tjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunk6YIZX26Tjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunk6YIZX26Tjs.StripePromotionCodeService; exports.StripeSubscription = _chunk6YIZX26Tjs.StripeSubscription; exports.StripeSubscriptionModule = _chunk6YIZX26Tjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunk6YIZX26Tjs.StripeSubscriptionService; exports.StripeUsage = _chunk6YIZX26Tjs.StripeUsage; exports.StripeUsageModule = _chunk6YIZX26Tjs.StripeUsageModule; exports.StripeUsageService = _chunk6YIZX26Tjs.StripeUsageService; exports.SubscriptionStatus = _chunk6YIZX26Tjs.SubscriptionStatus; exports.TableOptions = _chunk6YIZX26Tjs.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunk6YIZX26Tjs.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunk6YIZX26Tjs.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunk6YIZX26Tjs.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunk6YIZX26Tjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunk6YIZX26Tjs.TotpAuthenticatorModule; exports.TotpSetup = _chunk6YIZX26Tjs.TotpSetup; exports.TotpSetupModule = _chunk6YIZX26Tjs.TotpSetupModule; exports.TotpVerify = _chunk6YIZX26Tjs.TotpVerify; exports.TotpVerifyLogin = _chunk6YIZX26Tjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunk6YIZX26Tjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunk6YIZX26Tjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunk6YIZX26Tjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunk6YIZX26Tjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunk6YIZX26Tjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunk6YIZX26Tjs.TwoFactorEnableModule; exports.TwoFactorService = _chunk6YIZX26Tjs.TwoFactorService; exports.TwoFactorStatus = _chunk6YIZX26Tjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunk6YIZX26Tjs.TwoFactorStatusModule; exports.User = _chunk6YIZX26Tjs.User; exports.UserFields = _chunk6YIZX26Tjs.UserFields; exports.UserModule = _chunk6YIZX26Tjs.UserModule; exports.UserService = _chunk6YIZX26Tjs.UserService; exports.VIEWPORT_COOKIE_NAME = _chunk6YIZX26Tjs.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunk6YIZX26Tjs.Waitlist; exports.WaitlistModule = _chunk6YIZX26Tjs.WaitlistModule; exports.WaitlistService = _chunk6YIZX26Tjs.WaitlistService; exports.WaitlistStats = _chunk6YIZX26Tjs.WaitlistStats; exports.WaitlistStatsModule = _chunk6YIZX26Tjs.WaitlistStatsModule; exports.checkPermissions = _chunk6YIZX26Tjs.checkPermissions; exports.checkPermissionsFromServer = _chunk6YIZX26Tjs.checkPermissionsFromServer; exports.clearLastApiMeta = _chunk6YIZX26Tjs.clearLastApiMeta; exports.clearLastApiTotal = _chunk6YIZX26Tjs.clearLastApiTotal; exports.cn = _chunk6YIZX26Tjs.cn; exports.composeRefs = _chunk6YIZX26Tjs.composeRefs; exports.configureAuth = _chunk6YIZX26Tjs.configureAuth; exports.configureI18n = _chunkJG7MCYCWjs.configureI18n; exports.configureJsonApi = _chunkJG7MCYCWjs.configureJsonApi; exports.configureLogin = _chunkJG7MCYCWjs.configureLogin; exports.configureReferral = _chunkJG7MCYCWjs.configureReferral; exports.configureRoles = _chunkJG7MCYCWjs.configureRoles; exports.configureWaitlist = _chunkJG7MCYCWjs.configureWaitlist; exports.createJsonApiInclusion = _chunk6YIZX26Tjs.createJsonApiInclusion; exports.dismissToast = _chunk6YIZX26Tjs.dismissToast; exports.entityObjectSchema = _chunk6YIZX26Tjs.entityObjectSchema; exports.exists = _chunk6YIZX26Tjs.exists; exports.formatCodiceFiscale = _chunk6YIZX26Tjs.formatCodiceFiscale; exports.formatDate = _chunk6YIZX26Tjs.formatDate; exports.formatLocalDate = _chunk6YIZX26Tjs.formatLocalDate; exports.formatPartitaIva = _chunk6YIZX26Tjs.formatPartitaIva; exports.getApiUrl = _chunkJG7MCYCWjs.getApiUrl; exports.getAppUrl = _chunkJG7MCYCWjs.getAppUrl; exports.getBootstrapper = _chunkQWCAOLBDjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunk6YIZX26Tjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunk6YIZX26Tjs.getGlobalErrorHandler; exports.getIcon = _chunk6YIZX26Tjs.getIcon; exports.getIconByModule = _chunk6YIZX26Tjs.getIconByModule; exports.getIconByModuleName = _chunk6YIZX26Tjs.getIconByModuleName; exports.getInitials = _chunk6YIZX26Tjs.getInitials; exports.getLastApiMeta = _chunk6YIZX26Tjs.getLastApiMeta; exports.getLastApiTotal = _chunk6YIZX26Tjs.getLastApiTotal; exports.getLucideIcon = _chunk6YIZX26Tjs.getLucideIcon; exports.getLucideIconByModule = _chunk6YIZX26Tjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunk6YIZX26Tjs.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkJG7MCYCWjs.getPublicApiUrl; exports.getReferralConfig = _chunkJG7MCYCWjs.getReferralConfig; exports.getRoleId = _chunkJG7MCYCWjs.getRoleId; exports.getStripePublishableKey = _chunkJG7MCYCWjs.getStripePublishableKey; exports.getTableComponents = _chunk6YIZX26Tjs.getTableComponents; exports.getTableOptions = _chunk6YIZX26Tjs.getTableOptions; exports.getTokenHandler = _chunk6YIZX26Tjs.getTokenHandler; exports.getTrackablePages = _chunkJG7MCYCWjs.getTrackablePages; exports.getValueFromPath = _chunk6YIZX26Tjs.getValueFromPath; exports.getWaitlistConfig = _chunkJG7MCYCWjs.getWaitlistConfig; exports.hasBootstrapper = _chunkQWCAOLBDjs.hasBootstrapper; exports.isReferralEnabled = _chunkJG7MCYCWjs.isReferralEnabled; exports.isRolesConfigured = _chunkJG7MCYCWjs.isRolesConfigured; exports.rehydrate = _chunk6YIZX26Tjs.rehydrate; exports.rehydrateList = _chunk6YIZX26Tjs.rehydrateList; exports.resetBootstrapStore = _chunkQWCAOLBDjs.resetBootstrapStore; exports.setBootstrapper = _chunkQWCAOLBDjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunk6YIZX26Tjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunk6YIZX26Tjs.setGlobalErrorHandler; exports.showCustomToast = _chunk6YIZX26Tjs.showCustomToast; exports.showError = _chunk6YIZX26Tjs.showError; exports.showToast = _chunk6YIZX26Tjs.showToast; exports.translateData = _chunkQWCAOLBDjs.translateData; exports.translateResponse = _chunkQWCAOLBDjs.translateResponse; exports.tryBootstrap = _chunkQWCAOLBDjs.tryBootstrap; exports.useComposedRefs = _chunk6YIZX26Tjs.useComposedRefs; exports.useIsMobile = _chunk6YIZX26Tjs.useIsMobile; exports.userObjectSchema = _chunk6YIZX26Tjs.userObjectSchema; exports.validateCodiceFiscale = _chunk6YIZX26Tjs.validateCodiceFiscale; exports.validateItalianTaxCode = _chunk6YIZX26Tjs.validateItalianTaxCode; exports.validatePartitaIva = _chunk6YIZX26Tjs.validatePartitaIva;
457
+
458
+ exports.ACTION_TYPES = _chunkLANOKEFZjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkKSU6CCW6js.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkKSU6CCW6js.AbstractApiData; exports.AbstractService = _chunkKSU6CCW6js.AbstractService; exports.Action = _chunkKSU6CCW6js.Action; exports.Assistant = _chunkKSU6CCW6js.Assistant; exports.AssistantAction = _chunkKSU6CCW6js.AssistantAction; exports.AssistantActionModule = _chunkKSU6CCW6js.AssistantActionModule; exports.AssistantActionService = _chunkKSU6CCW6js.AssistantActionService; exports.AssistantMessage = _chunkKSU6CCW6js.AssistantMessage; exports.AssistantMessageModule = _chunkKSU6CCW6js.AssistantMessageModule; exports.AssistantMessageService = _chunkKSU6CCW6js.AssistantMessageService; exports.AssistantModule = _chunkKSU6CCW6js.AssistantModule; exports.AssistantService = _chunkKSU6CCW6js.AssistantService; exports.AuditLog = _chunkKSU6CCW6js.AuditLog; exports.AuditLogModule = _chunkKSU6CCW6js.AuditLogModule; exports.AuditLogService = _chunkKSU6CCW6js.AuditLogService; exports.Auth = _chunkKSU6CCW6js.Auth; exports.AuthComponent = _chunkKSU6CCW6js.AuthComponent; exports.AuthModule = _chunkKSU6CCW6js.AuthModule; exports.AuthService = _chunkKSU6CCW6js.AuthService; exports.AuthorModule = _chunkKSU6CCW6js.AuthorModule; exports.BackupCodeVerify = _chunkKSU6CCW6js.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkKSU6CCW6js.BackupCodeVerifyModule; exports.Billing = _chunkKSU6CCW6js.Billing; exports.BillingModule = _chunkKSU6CCW6js.BillingModule; exports.BillingService = _chunkKSU6CCW6js.BillingService; exports.BlockNoteDiffUtil = _chunkKSU6CCW6js.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkKSU6CCW6js.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkLANOKEFZjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.Chunk = _chunkKSU6CCW6js.Chunk; exports.ChunkModule = _chunkKSU6CCW6js.ChunkModule; exports.ClientAbstractService = _chunkKSU6CCW6js.ClientAbstractService; exports.ClientHttpMethod = _chunkKSU6CCW6js.ClientHttpMethod; exports.Company = _chunkKSU6CCW6js.Company; exports.CompanyFields = _chunkKSU6CCW6js.CompanyFields; exports.CompanyModule = _chunkKSU6CCW6js.CompanyModule; exports.CompanyService = _chunkKSU6CCW6js.CompanyService; exports.Content = _chunkKSU6CCW6js.Content; exports.ContentFields = _chunkKSU6CCW6js.ContentFields; exports.ContentModule = _chunkKSU6CCW6js.ContentModule; exports.ContentService = _chunkKSU6CCW6js.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkKSU6CCW6js.DEFAULT_GRANT_TYPES; exports.DataClass = _chunkFPO4DLZNjs.DataClassRegistry; exports.DataClassRegistry = _chunkFPO4DLZNjs.DataClassRegistry; exports.EndpointCreator = _chunkKSU6CCW6js.EndpointCreator; exports.Feature = _chunkKSU6CCW6js.Feature; exports.FeatureModule = _chunkKSU6CCW6js.FeatureModule; exports.FeatureService = _chunkKSU6CCW6js.FeatureService; exports.HowTo = _chunkKSU6CCW6js.HowTo; exports.HowToFields = _chunkKSU6CCW6js.HowToFields; exports.HowToModule = _chunkKSU6CCW6js.HowToModule; exports.HowToService = _chunkKSU6CCW6js.HowToService; exports.HttpMethod = _chunkKSU6CCW6js.HttpMethod; exports.InvoiceStatus = _chunkKSU6CCW6js.InvoiceStatus; exports.JsonApiDataFactory = _chunkFPO4DLZNjs.JsonApiDataFactory; exports.MOBILE_BREAKPOINT = _chunkKSU6CCW6js.MOBILE_BREAKPOINT; exports.Module = _chunkKSU6CCW6js.Module; exports.ModuleModule = _chunkKSU6CCW6js.ModuleModule; exports.ModulePaths = _chunkKSU6CCW6js.ModulePaths; exports.ModulePathsModule = _chunkKSU6CCW6js.ModulePathsModule; exports.ModuleRegistrar = _chunkKSU6CCW6js.ModuleRegistrar; exports.ModuleRegistry = _chunkKSU6CCW6js.ModuleRegistry; exports.Modules = _chunkKSU6CCW6js.Modules; exports.Notification = _chunkKSU6CCW6js.Notification; exports.NotificationFields = _chunkKSU6CCW6js.NotificationFields; exports.NotificationModule = _chunkKSU6CCW6js.NotificationModule; exports.NotificationService = _chunkKSU6CCW6js.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkKSU6CCW6js.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkKSU6CCW6js.OAuthClient; exports.OAuthModule = _chunkKSU6CCW6js.OAuthModule; exports.OAuthService = _chunkKSU6CCW6js.OAuthService; exports.Passkey = _chunkKSU6CCW6js.Passkey; exports.PasskeyAuthenticationOptions = _chunkKSU6CCW6js.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkKSU6CCW6js.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkKSU6CCW6js.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkKSU6CCW6js.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkKSU6CCW6js.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkKSU6CCW6js.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkKSU6CCW6js.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkKSU6CCW6js.PasskeyRename; exports.PasskeyRenameModule = _chunkKSU6CCW6js.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkKSU6CCW6js.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkKSU6CCW6js.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkKSU6CCW6js.PaymentMethod; exports.PermissionMapping = _chunkKSU6CCW6js.PermissionMapping; exports.PermissionMappingModule = _chunkKSU6CCW6js.PermissionMappingModule; exports.Push = _chunkKSU6CCW6js.Push; exports.PushModule = _chunkKSU6CCW6js.PushModule; exports.PushService = _chunkKSU6CCW6js.PushService; exports.RbacMatrixModel = _chunkKSU6CCW6js.RbacMatrixModel; exports.RbacMatrixModule = _chunkKSU6CCW6js.RbacMatrixModule; exports.RbacService = _chunkLANOKEFZjs.RbacService; exports.ReferralModule = _chunkKSU6CCW6js.ReferralModule; exports.ReferralService = _chunkKSU6CCW6js.ReferralService; exports.ReferralStats = _chunkKSU6CCW6js.ReferralStats; exports.ReferralStatsModule = _chunkKSU6CCW6js.ReferralStatsModule; exports.RehydrationFactory = _chunkKSU6CCW6js.RehydrationFactory; exports.Role = _chunkKSU6CCW6js.Role; exports.RoleFields = _chunkKSU6CCW6js.RoleFields; exports.RoleModule = _chunkKSU6CCW6js.RoleModule; exports.RoleService = _chunkKSU6CCW6js.RoleService; exports.S3 = _chunkKSU6CCW6js.S3; exports.S3Module = _chunkKSU6CCW6js.S3Module; exports.S3Service = _chunkKSU6CCW6js.S3Service; exports.StripeCustomer = _chunkKSU6CCW6js.StripeCustomer; exports.StripeCustomerModule = _chunkKSU6CCW6js.StripeCustomerModule; exports.StripeCustomerService = _chunkKSU6CCW6js.StripeCustomerService; exports.StripeInvoice = _chunkKSU6CCW6js.StripeInvoice; exports.StripeInvoiceModule = _chunkKSU6CCW6js.StripeInvoiceModule; exports.StripeInvoiceService = _chunkKSU6CCW6js.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkKSU6CCW6js.StripePaymentMethodModule; exports.StripePrice = _chunkKSU6CCW6js.StripePrice; exports.StripePriceModule = _chunkKSU6CCW6js.StripePriceModule; exports.StripePriceService = _chunkKSU6CCW6js.StripePriceService; exports.StripeProduct = _chunkKSU6CCW6js.StripeProduct; exports.StripeProductModule = _chunkKSU6CCW6js.StripeProductModule; exports.StripeProductService = _chunkKSU6CCW6js.StripeProductService; exports.StripePromotionCode = _chunkKSU6CCW6js.StripePromotionCode; exports.StripePromotionCodeModule = _chunkKSU6CCW6js.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkKSU6CCW6js.StripePromotionCodeService; exports.StripeSubscription = _chunkKSU6CCW6js.StripeSubscription; exports.StripeSubscriptionModule = _chunkKSU6CCW6js.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkKSU6CCW6js.StripeSubscriptionService; exports.StripeUsage = _chunkKSU6CCW6js.StripeUsage; exports.StripeUsageModule = _chunkKSU6CCW6js.StripeUsageModule; exports.StripeUsageService = _chunkKSU6CCW6js.StripeUsageService; exports.SubscriptionStatus = _chunkKSU6CCW6js.SubscriptionStatus; exports.TableOptions = _chunkKSU6CCW6js.TableOptions; exports.TokenUsageAdminBreakdownModule = _chunkKSU6CCW6js.TokenUsageAdminBreakdownModule; exports.TokenUsageAdminSummaryModule = _chunkKSU6CCW6js.TokenUsageAdminSummaryModule; exports.TokenUsageAdminTimelineModule = _chunkKSU6CCW6js.TokenUsageAdminTimelineModule; exports.TotpAuthenticator = _chunkKSU6CCW6js.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkKSU6CCW6js.TotpAuthenticatorModule; exports.TotpSetup = _chunkKSU6CCW6js.TotpSetup; exports.TotpSetupModule = _chunkKSU6CCW6js.TotpSetupModule; exports.TotpVerify = _chunkKSU6CCW6js.TotpVerify; exports.TotpVerifyLogin = _chunkKSU6CCW6js.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkKSU6CCW6js.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkKSU6CCW6js.TotpVerifyModule; exports.TwoFactorChallenge = _chunkKSU6CCW6js.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkKSU6CCW6js.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkKSU6CCW6js.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkKSU6CCW6js.TwoFactorEnableModule; exports.TwoFactorService = _chunkKSU6CCW6js.TwoFactorService; exports.TwoFactorStatus = _chunkKSU6CCW6js.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkKSU6CCW6js.TwoFactorStatusModule; exports.User = _chunkKSU6CCW6js.User; exports.UserFields = _chunkKSU6CCW6js.UserFields; exports.UserModule = _chunkKSU6CCW6js.UserModule; exports.UserService = _chunkKSU6CCW6js.UserService; exports.VIEWPORT_COOKIE_NAME = _chunkKSU6CCW6js.VIEWPORT_COOKIE_NAME; exports.Waitlist = _chunkKSU6CCW6js.Waitlist; exports.WaitlistModule = _chunkKSU6CCW6js.WaitlistModule; exports.WaitlistService = _chunkKSU6CCW6js.WaitlistService; exports.WaitlistStats = _chunkKSU6CCW6js.WaitlistStats; exports.WaitlistStatsModule = _chunkKSU6CCW6js.WaitlistStatsModule; exports.checkPermissions = _chunkKSU6CCW6js.checkPermissions; exports.checkPermissionsFromServer = _chunkKSU6CCW6js.checkPermissionsFromServer; exports.clearLastApiMeta = _chunkKSU6CCW6js.clearLastApiMeta; exports.clearLastApiTotal = _chunkKSU6CCW6js.clearLastApiTotal; exports.cn = _chunkKSU6CCW6js.cn; exports.composeRefs = _chunkKSU6CCW6js.composeRefs; exports.configureAuth = _chunkKSU6CCW6js.configureAuth; exports.configureI18n = _chunkLANOKEFZjs.configureI18n; exports.configureJsonApi = _chunkLANOKEFZjs.configureJsonApi; exports.configureLogin = _chunkLANOKEFZjs.configureLogin; exports.configureReferral = _chunkLANOKEFZjs.configureReferral; exports.configureRoles = _chunkLANOKEFZjs.configureRoles; exports.configureWaitlist = _chunkLANOKEFZjs.configureWaitlist; exports.createJsonApiInclusion = _chunkKSU6CCW6js.createJsonApiInclusion; exports.dismissToast = _chunkKSU6CCW6js.dismissToast; exports.entityObjectSchema = _chunkKSU6CCW6js.entityObjectSchema; exports.exists = _chunkKSU6CCW6js.exists; exports.formatCodiceFiscale = _chunkKSU6CCW6js.formatCodiceFiscale; exports.formatDate = _chunkKSU6CCW6js.formatDate; exports.formatLocalDate = _chunkKSU6CCW6js.formatLocalDate; exports.formatPartitaIva = _chunkKSU6CCW6js.formatPartitaIva; exports.getApiUrl = _chunkLANOKEFZjs.getApiUrl; exports.getAppUrl = _chunkLANOKEFZjs.getAppUrl; exports.getBootstrapper = _chunkFPO4DLZNjs.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkKSU6CCW6js.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkKSU6CCW6js.getGlobalErrorHandler; exports.getIcon = _chunkKSU6CCW6js.getIcon; exports.getIconByModule = _chunkKSU6CCW6js.getIconByModule; exports.getIconByModuleName = _chunkKSU6CCW6js.getIconByModuleName; exports.getInitials = _chunkKSU6CCW6js.getInitials; exports.getLastApiMeta = _chunkKSU6CCW6js.getLastApiMeta; exports.getLastApiTotal = _chunkKSU6CCW6js.getLastApiTotal; exports.getLucideIcon = _chunkKSU6CCW6js.getLucideIcon; exports.getLucideIconByModule = _chunkKSU6CCW6js.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkKSU6CCW6js.getLucideIconByModuleName; exports.getPublicApiUrl = _chunkLANOKEFZjs.getPublicApiUrl; exports.getReferralConfig = _chunkLANOKEFZjs.getReferralConfig; exports.getRoleId = _chunkLANOKEFZjs.getRoleId; exports.getStripePublishableKey = _chunkLANOKEFZjs.getStripePublishableKey; exports.getTableComponents = _chunkKSU6CCW6js.getTableComponents; exports.getTableOptions = _chunkKSU6CCW6js.getTableOptions; exports.getTokenHandler = _chunkKSU6CCW6js.getTokenHandler; exports.getTrackablePages = _chunkLANOKEFZjs.getTrackablePages; exports.getValueFromPath = _chunkKSU6CCW6js.getValueFromPath; exports.getWaitlistConfig = _chunkLANOKEFZjs.getWaitlistConfig; exports.hasBootstrapper = _chunkFPO4DLZNjs.hasBootstrapper; exports.isReferralEnabled = _chunkLANOKEFZjs.isReferralEnabled; exports.isRemoteImageSrc = _chunkKSU6CCW6js.isRemoteImageSrc; exports.isRolesConfigured = _chunkLANOKEFZjs.isRolesConfigured; exports.rehydrate = _chunkKSU6CCW6js.rehydrate; exports.rehydrateList = _chunkKSU6CCW6js.rehydrateList; exports.resetBootstrapStore = _chunkFPO4DLZNjs.resetBootstrapStore; exports.setBootstrapper = _chunkFPO4DLZNjs.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkKSU6CCW6js.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkKSU6CCW6js.setGlobalErrorHandler; exports.showCustomToast = _chunkKSU6CCW6js.showCustomToast; exports.showError = _chunkKSU6CCW6js.showError; exports.showToast = _chunkKSU6CCW6js.showToast; exports.translateData = _chunkFPO4DLZNjs.translateData; exports.translateResponse = _chunkFPO4DLZNjs.translateResponse; exports.tryBootstrap = _chunkFPO4DLZNjs.tryBootstrap; exports.useComposedRefs = _chunkKSU6CCW6js.useComposedRefs; exports.useIsMobile = _chunkKSU6CCW6js.useIsMobile; exports.userObjectSchema = _chunkKSU6CCW6js.userObjectSchema; exports.validateCodiceFiscale = _chunkKSU6CCW6js.validateCodiceFiscale; exports.validateItalianTaxCode = _chunkKSU6CCW6js.validateItalianTaxCode; exports.validatePartitaIva = _chunkKSU6CCW6js.validatePartitaIva;
457
459
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,izaAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"}
1
+ {"version":3,"sources":["/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,+2aAAC","file":"/home/runner/work/nextjs-jsonapi/nextjs-jsonapi/dist/index.js"}
package/dist/index.mjs CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  getWaitlistConfig,
19
19
  isReferralEnabled,
20
20
  isRolesConfigured
21
- } from "./chunk-MAWTFEY3.mjs";
21
+ } from "./chunk-7DJOQTNN.mjs";
22
22
  import {
23
23
  AVAILABLE_OAUTH_SCOPES,
24
24
  AbstractApiData,
@@ -201,6 +201,7 @@ import {
201
201
  getTableOptions,
202
202
  getTokenHandler,
203
203
  getValueFromPath,
204
+ isRemoteImageSrc,
204
205
  rehydrate,
205
206
  rehydrateList,
206
207
  setClientGlobalErrorHandler,
@@ -214,7 +215,7 @@ import {
214
215
  validateCodiceFiscale,
215
216
  validateItalianTaxCode,
216
217
  validatePartitaIva
217
- } from "./chunk-P5TMD7GK.mjs";
218
+ } from "./chunk-DLTMYGLR.mjs";
218
219
  import "./chunk-AUXK7QSA.mjs";
219
220
  import "./chunk-C7C7VY4F.mjs";
220
221
  import {
@@ -227,7 +228,7 @@ import {
227
228
  translateData,
228
229
  translateResponse,
229
230
  tryBootstrap
230
- } from "./chunk-Z2CB63VG.mjs";
231
+ } from "./chunk-E5YA5Z5X.mjs";
231
232
  import "./chunk-PAWJFY3S.mjs";
232
233
  export {
233
234
  ACTION_TYPES,
@@ -434,6 +435,7 @@ export {
434
435
  getWaitlistConfig,
435
436
  hasBootstrapper,
436
437
  isReferralEnabled,
438
+ isRemoteImageSrc,
437
439
  isRolesConfigured,
438
440
  rehydrate,
439
441
  rehydrateList,
@@ -15,13 +15,13 @@ var _chunkIOLU4ASDjs = require('../chunk-IOLU4ASD.js');
15
15
 
16
16
 
17
17
 
18
- var _chunk6YIZX26Tjs = require('../chunk-6YIZX26T.js');
18
+ var _chunkKSU6CCW6js = require('../chunk-KSU6CCW6.js');
19
19
  require('../chunk-LXKSUWAV.js');
20
20
  require('../chunk-IBS6NI7D.js');
21
21
 
22
22
 
23
23
 
24
- var _chunkQWCAOLBDjs = require('../chunk-QWCAOLBD.js');
24
+ var _chunkFPO4DLZNjs = require('../chunk-FPO4DLZN.js');
25
25
 
26
26
 
27
27
  var _chunk7QVYU63Ejs = require('../chunk-7QVYU63E.js');
@@ -86,7 +86,7 @@ var ServerSession = class {
86
86
  if (!rawModules) return false;
87
87
  const modules = JSON.parse(_pako.ungzip.call(void 0, Buffer.from(rawModules, "base64"), { toText: true }));
88
88
  const selectedModule = modules.find((module) => module.id === params.module.moduleId);
89
- return _chunk6YIZX26Tjs.checkPermissionsFromServer.call(void 0, {
89
+ return _chunkKSU6CCW6js.checkPermissionsFromServer.call(void 0, {
90
90
  module: params.module,
91
91
  action: params.action,
92
92
  data: params.data,
@@ -158,7 +158,7 @@ async function ServerJsonApiGet(params) {
158
158
  language: params.language,
159
159
  additionalHeaders: _optionalChain([_serverConfig, 'optionalAccess', _23 => _23.additionalHeaders])
160
160
  });
161
- return _chunkQWCAOLBDjs.translateResponse.call(void 0, {
161
+ return _chunkFPO4DLZNjs.translateResponse.call(void 0, {
162
162
  classKey: params.classKey,
163
163
  apiResponse,
164
164
  companyId: params.companyId,
@@ -179,7 +179,7 @@ async function ServerJsonApiPost(params) {
179
179
  if (!body) {
180
180
  body = {};
181
181
  } else if (params.overridesJsonApiCreation !== true) {
182
- body = _chunkQWCAOLBDjs.JsonApiDataFactory.create(params.classKey, body);
182
+ body = _chunkFPO4DLZNjs.JsonApiDataFactory.create(params.classKey, body);
183
183
  }
184
184
  const apiResponse = await _chunkIOLU4ASDjs.serverRequest.call(void 0, {
185
185
  method: "POST",
@@ -191,7 +191,7 @@ async function ServerJsonApiPost(params) {
191
191
  language: params.language,
192
192
  additionalHeaders: _optionalChain([_serverConfig, 'optionalAccess', _24 => _24.additionalHeaders])
193
193
  });
194
- return _chunkQWCAOLBDjs.translateResponse.call(void 0, {
194
+ return _chunkFPO4DLZNjs.translateResponse.call(void 0, {
195
195
  classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
196
196
  apiResponse,
197
197
  companyId: params.companyId,
@@ -206,7 +206,7 @@ async function ServerJsonApiPut(params) {
206
206
  if (!body) {
207
207
  body = {};
208
208
  } else {
209
- body = _chunkQWCAOLBDjs.JsonApiDataFactory.create(params.classKey, body);
209
+ body = _chunkFPO4DLZNjs.JsonApiDataFactory.create(params.classKey, body);
210
210
  }
211
211
  const apiResponse = await _chunkIOLU4ASDjs.serverRequest.call(void 0, {
212
212
  method: "PUT",
@@ -218,7 +218,7 @@ async function ServerJsonApiPut(params) {
218
218
  language: params.language,
219
219
  additionalHeaders: _optionalChain([_serverConfig, 'optionalAccess', _25 => _25.additionalHeaders])
220
220
  });
221
- return _chunkQWCAOLBDjs.translateResponse.call(void 0, {
221
+ return _chunkFPO4DLZNjs.translateResponse.call(void 0, {
222
222
  classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
223
223
  apiResponse,
224
224
  companyId: params.companyId,
@@ -233,7 +233,7 @@ async function ServerJsonApiPatch(params) {
233
233
  if (!body) {
234
234
  body = {};
235
235
  } else if (params.overridesJsonApiCreation !== true) {
236
- body = _chunkQWCAOLBDjs.JsonApiDataFactory.create(params.classKey, body);
236
+ body = _chunkFPO4DLZNjs.JsonApiDataFactory.create(params.classKey, body);
237
237
  }
238
238
  const apiResponse = await _chunkIOLU4ASDjs.serverRequest.call(void 0, {
239
239
  method: "PATCH",
@@ -245,7 +245,7 @@ async function ServerJsonApiPatch(params) {
245
245
  language: params.language,
246
246
  additionalHeaders: _optionalChain([_serverConfig, 'optionalAccess', _26 => _26.additionalHeaders])
247
247
  });
248
- return _chunkQWCAOLBDjs.translateResponse.call(void 0, {
248
+ return _chunkFPO4DLZNjs.translateResponse.call(void 0, {
249
249
  classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
250
250
  apiResponse,
251
251
  companyId: params.companyId,
@@ -264,7 +264,7 @@ async function ServerJsonApiDelete(params) {
264
264
  language: params.language,
265
265
  additionalHeaders: _optionalChain([_serverConfig, 'optionalAccess', _27 => _27.additionalHeaders])
266
266
  });
267
- return _chunkQWCAOLBDjs.translateResponse.call(void 0, {
267
+ return _chunkFPO4DLZNjs.translateResponse.call(void 0, {
268
268
  classKey: _nullishCoalesce(params.responseType, () => ( params.classKey)),
269
269
  apiResponse,
270
270
  companyId: params.companyId,
@@ -296,5 +296,5 @@ _chunk7QVYU63Ejs.__name.call(void 0, ServerJsonApiDelete, "ServerJsonApiDelete")
296
296
 
297
297
 
298
298
 
299
- exports.ServerAuthService = _chunk6YIZX26Tjs.AuthService; exports.ServerCompanyService = _chunk6YIZX26Tjs.CompanyService; exports.ServerContentService = _chunk6YIZX26Tjs.ContentService; exports.ServerFeatureService = _chunk6YIZX26Tjs.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunk6YIZX26Tjs.NotificationService; exports.ServerPushService = _chunk6YIZX26Tjs.PushService; exports.ServerRoleService = _chunk6YIZX26Tjs.RoleService; exports.ServerS3Service = _chunk6YIZX26Tjs.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunk6YIZX26Tjs.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 = _chunkIOLU4ASDjs.serverRequest;
299
+ exports.ServerAuthService = _chunkKSU6CCW6js.AuthService; exports.ServerCompanyService = _chunkKSU6CCW6js.CompanyService; exports.ServerContentService = _chunkKSU6CCW6js.ContentService; exports.ServerFeatureService = _chunkKSU6CCW6js.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunkKSU6CCW6js.NotificationService; exports.ServerPushService = _chunkKSU6CCW6js.PushService; exports.ServerRoleService = _chunkKSU6CCW6js.RoleService; exports.ServerS3Service = _chunkKSU6CCW6js.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunkKSU6CCW6js.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 = _chunkIOLU4ASDjs.serverRequest;
300
300
  //# sourceMappingURL=index.js.map
@@ -15,13 +15,13 @@ import {
15
15
  S3Service,
16
16
  UserService,
17
17
  checkPermissionsFromServer
18
- } from "../chunk-P5TMD7GK.mjs";
18
+ } from "../chunk-DLTMYGLR.mjs";
19
19
  import "../chunk-AUXK7QSA.mjs";
20
20
  import "../chunk-C7C7VY4F.mjs";
21
21
  import {
22
22
  JsonApiDataFactory,
23
23
  translateResponse
24
- } from "../chunk-Z2CB63VG.mjs";
24
+ } from "../chunk-E5YA5Z5X.mjs";
25
25
  import {
26
26
  __name
27
27
  } from "../chunk-PAWJFY3S.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlonicora/nextjs-jsonapi",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
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",
@@ -325,7 +325,16 @@ export function RoundPageContainer({
325
325
  data-testid="round-page-rail"
326
326
  className="hidden shrink-0 border-r p-4 md:flex md:w-56 md:flex-col md:overflow-y-auto"
327
327
  >
328
- <TabsList className="flex h-auto flex-col items-stretch gap-0.5 bg-transparent p-0">
328
+ {/* `w-full` is load-bearing: TabsList's base variant carries
329
+ `w-fit`, which shrinks the rail list to its widest label.
330
+ The active section's background and border then hug the
331
+ text instead of spanning the rail, so a short label like
332
+ "My Profile" renders as a button rather than a selected
333
+ row — visible only in dark mode, where those defaults
334
+ actually have contrast. Apps with long section labels
335
+ happen to look correct under `w-fit` purely by accident
336
+ of label length. */}
337
+ <TabsList className="flex h-auto w-full flex-col items-stretch gap-0.5 bg-transparent p-0">
329
338
  {ungrouped.map((tab) => (
330
339
  <TabsTrigger key={tab.label} value={tabValue(tab)} className={railTriggerClass}>
331
340
  {tab.contentLabel ?? tab.label}
@@ -0,0 +1,64 @@
1
+ import { beforeEach, describe, expect, it } from "vitest";
2
+ import { ApiData } from "../../interfaces/ApiData";
3
+ import { ApiDataInterface } from "../../interfaces/ApiDataInterface";
4
+ import { ApiRequestDataTypeInterface } from "../../interfaces/ApiRequestDataTypeInterface";
5
+ import { DataClassRegistry } from "../../registry/DataClassRegistry";
6
+ import { translateResponse } from "../translateResponse";
7
+
8
+ class StubData implements Partial<ApiDataInterface> {
9
+ id = "";
10
+ rehydrate(): void {}
11
+ }
12
+
13
+ const stubModule = {
14
+ name: "stub-module",
15
+ model: StubData as unknown as { new (): ApiDataInterface },
16
+ } as unknown as ApiRequestDataTypeInterface;
17
+
18
+ const errorResponse = (params: { status: number; statusText: string; data: unknown }): ApiData =>
19
+ ({
20
+ ok: false,
21
+ status: params.status,
22
+ statusText: params.statusText,
23
+ data: params.data,
24
+ }) as ApiData;
25
+
26
+ describe("translateResponse error extraction", () => {
27
+ beforeEach(() => {
28
+ DataClassRegistry.clear();
29
+ DataClassRegistry.registerObjectClass(stubModule, StubData as unknown as { new (): ApiDataInterface });
30
+ });
31
+
32
+ it("reads the `error` key used by API error bodies", async () => {
33
+ const response = await translateResponse({
34
+ classKey: stubModule,
35
+ // HTTP/2 drops the reason phrase, so statusText is empty in the browser.
36
+ apiResponse: errorResponse({ status: 404, statusText: "", data: { error: "Customer not found" } }),
37
+ language: "en",
38
+ });
39
+
40
+ expect(response.ok).toBe(false);
41
+ expect(response.response).toBe(404);
42
+ expect(response.error).toBe("Customer not found");
43
+ });
44
+
45
+ it("still prefers the `message` key when present", async () => {
46
+ const response = await translateResponse({
47
+ classKey: stubModule,
48
+ apiResponse: errorResponse({ status: 400, statusText: "", data: { message: "Validation failed" } }),
49
+ language: "en",
50
+ });
51
+
52
+ expect(response.error).toBe("Validation failed");
53
+ });
54
+
55
+ it("falls back to statusText when the body carries no error text", async () => {
56
+ const response = await translateResponse({
57
+ classKey: stubModule,
58
+ apiResponse: errorResponse({ status: 500, statusText: "Internal Server Error", data: undefined }),
59
+ language: "en",
60
+ });
61
+
62
+ expect(response.error).toBe("Internal Server Error");
63
+ });
64
+ });
@@ -73,7 +73,10 @@ export async function translateResponse<T extends ApiDataInterface>(params: {
73
73
  response.response = params.apiResponse.status;
74
74
 
75
75
  if (!params.apiResponse.ok) {
76
- response.error = params.apiResponse?.data?.message ?? params.apiResponse.statusText;
76
+ // `statusText` is empty over HTTP/2 (the reason phrase was removed from the protocol), so the
77
+ // body is the only reliable source of error text. APIs in this stack use either key.
78
+ response.error =
79
+ params.apiResponse?.data?.message ?? params.apiResponse?.data?.error ?? params.apiResponse.statusText;
77
80
  response.raw = params.apiResponse.data;
78
81
  return response;
79
82
  }
@@ -112,84 +112,87 @@ export function BillingDashboardContainer() {
112
112
  setNoCustomerExists(false);
113
113
  } catch (error: unknown) {
114
114
  console.error("[BillingDashboard] Failed to load customer:", error);
115
- // Check if this is a "not found" error indicating no customer exists
116
- const errorMessage = error instanceof Error ? error.message : String(error);
117
- if (errorMessage.includes("Not Found") || errorMessage.includes("not found")) {
115
+ // A 404 means the company has no billing customer yet - a setup prompt, not an error.
116
+ // Match on the status, never on the message: `statusText` is empty over HTTP/2, so the
117
+ // error text carries no reason phrase to match against.
118
+ if ((error as { status?: number })?.status === 404) {
118
119
  setNoCustomerExists(true);
119
- // Stop loading all sections since no customer exists
120
- setLoading({
121
- customer: false,
122
- subscriptions: false,
123
- paymentMethods: false,
124
- invoices: false,
125
- usage: false,
126
- });
127
- return; // Don't try to fetch other data
120
+ } else {
121
+ setErrors((prev) => ({ ...prev, customer: "Failed to load billing account" }));
128
122
  }
129
- setErrors((prev) => ({ ...prev, customer: "Failed to load billing account" }));
130
123
  } finally {
131
124
  setLoading((prev) => ({ ...prev, customer: false }));
132
125
  }
133
126
 
134
- // If we have a customer, fetch the rest of the data
135
- if (customer) {
136
- // Fetch subscriptions
137
- const fetchSubscriptions = async () => {
138
- try {
139
- const subscriptions = await StripeSubscriptionService.listSubscriptions();
140
- setData((prev) => ({ ...prev, subscriptions }));
141
- setErrors((prev) => ({ ...prev, subscriptions: null }));
142
- return subscriptions;
143
- } catch (error) {
144
- console.error("[BillingDashboard] Failed to load subscriptions:", error);
145
- setErrors((prev) => ({ ...prev, subscriptions: "Failed to load subscriptions" }));
146
- return [];
147
- } finally {
148
- setLoading((prev) => ({ ...prev, subscriptions: false }));
149
- }
150
- };
151
-
152
- // Fetch payment methods
153
- const fetchPaymentMethods = async () => {
154
- try {
155
- const paymentMethods = await StripeCustomerService.listPaymentMethods();
156
- setData((prev) => ({ ...prev, paymentMethods }));
157
- setErrors((prev) => ({ ...prev, paymentMethods: null }));
158
- } catch (error) {
159
- console.error("[BillingDashboard] Failed to load payment methods:", error);
160
- setErrors((prev) => ({ ...prev, paymentMethods: "Failed to load payment methods" }));
161
- } finally {
162
- setLoading((prev) => ({ ...prev, paymentMethods: false }));
163
- }
164
- };
127
+ // Without a customer there is nothing downstream to fetch. Release every section here, or the
128
+ // cards that are only cleared inside their own fetchers stay skeletons forever.
129
+ if (!customer) {
130
+ setLoading({
131
+ customer: false,
132
+ subscriptions: false,
133
+ paymentMethods: false,
134
+ invoices: false,
135
+ usage: false,
136
+ });
137
+ return;
138
+ }
165
139
 
166
- // Fetch invoices
167
- const fetchInvoices = async () => {
168
- try {
169
- const invoices = await StripeInvoiceService.listInvoices();
170
- setData((prev) => ({ ...prev, invoices }));
171
- setErrors((prev) => ({ ...prev, invoices: null }));
172
- } catch (error) {
173
- console.error("[BillingDashboard] Failed to load invoices:", error);
174
- setErrors((prev) => ({ ...prev, invoices: "Failed to load invoices" }));
175
- } finally {
176
- setLoading((prev) => ({ ...prev, invoices: false }));
177
- }
178
- };
140
+ // Fetch subscriptions
141
+ const fetchSubscriptions = async () => {
142
+ try {
143
+ const subscriptions = await StripeSubscriptionService.listSubscriptions();
144
+ setData((prev) => ({ ...prev, subscriptions }));
145
+ setErrors((prev) => ({ ...prev, subscriptions: null }));
146
+ return subscriptions;
147
+ } catch (error) {
148
+ console.error("[BillingDashboard] Failed to load subscriptions:", error);
149
+ setErrors((prev) => ({ ...prev, subscriptions: "Failed to load subscriptions" }));
150
+ return [];
151
+ } finally {
152
+ setLoading((prev) => ({ ...prev, subscriptions: false }));
153
+ }
154
+ };
155
+
156
+ // Fetch payment methods
157
+ const fetchPaymentMethods = async () => {
158
+ try {
159
+ const paymentMethods = await StripeCustomerService.listPaymentMethods();
160
+ setData((prev) => ({ ...prev, paymentMethods }));
161
+ setErrors((prev) => ({ ...prev, paymentMethods: null }));
162
+ } catch (error) {
163
+ console.error("[BillingDashboard] Failed to load payment methods:", error);
164
+ setErrors((prev) => ({ ...prev, paymentMethods: "Failed to load payment methods" }));
165
+ } finally {
166
+ setLoading((prev) => ({ ...prev, paymentMethods: false }));
167
+ }
168
+ };
169
+
170
+ // Fetch invoices
171
+ const fetchInvoices = async () => {
172
+ try {
173
+ const invoices = await StripeInvoiceService.listInvoices();
174
+ setData((prev) => ({ ...prev, invoices }));
175
+ setErrors((prev) => ({ ...prev, invoices: null }));
176
+ } catch (error) {
177
+ console.error("[BillingDashboard] Failed to load invoices:", error);
178
+ setErrors((prev) => ({ ...prev, invoices: "Failed to load invoices" }));
179
+ } finally {
180
+ setLoading((prev) => ({ ...prev, invoices: false }));
181
+ }
182
+ };
179
183
 
180
- // Execute all in parallel
181
- const [subscriptions] = await Promise.all([fetchSubscriptions(), fetchPaymentMethods(), fetchInvoices()]);
184
+ // Execute all in parallel
185
+ const [subscriptions] = await Promise.all([fetchSubscriptions(), fetchPaymentMethods(), fetchInvoices()]);
182
186
 
183
- // Check if there are metered subscriptions and fetch usage data
184
- const hasMetered = subscriptions.some(
185
- (sub: StripeSubscriptionInterface) => sub.price?.recurring?.usageType === "metered",
186
- );
187
+ // Check if there are metered subscriptions and fetch usage data
188
+ const hasMetered = subscriptions.some(
189
+ (sub: StripeSubscriptionInterface) => sub.price?.recurring?.usageType === "metered",
190
+ );
187
191
 
188
- if (hasMetered) {
189
- await fetchUsageData();
190
- } else {
191
- setLoading((prev) => ({ ...prev, usage: false }));
192
- }
192
+ if (hasMetered) {
193
+ await fetchUsageData();
194
+ } else {
195
+ setLoading((prev) => ({ ...prev, usage: false }));
193
196
  }
194
197
  }, []);
195
198
 
@@ -8,6 +8,7 @@ import { useSharedContext } from "../../../../contexts";
8
8
  import { Modules } from "../../../../core";
9
9
  import { usePageUrlGenerator } from "../../../../hooks";
10
10
  import { Badge, Link } from "../../../../shadcnui";
11
+ import { isRemoteImageSrc } from "../../../../utils";
11
12
  import { RoleInterface } from "../../../role";
12
13
  import { UserInterface } from "../../data";
13
14
 
@@ -48,6 +49,7 @@ export function UserStanadaloneDetails({ user }: UserDetailsProps) {
48
49
  alt={user.name}
49
50
  width={800}
50
51
  height={600}
52
+ unoptimized={isRemoteImageSrc(user.avatar)}
51
53
  className="h-auto w-full rounded-lg object-contain"
52
54
  />
53
55
  </div>