@carlonicora/nextjs-jsonapi 1.67.0 → 1.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BlockNoteEditor-TIX3GDVZ.mjs → BlockNoteEditor-6FDECIS2.mjs} +4 -4
- package/dist/{BlockNoteEditor-QHWPE3BJ.js → BlockNoteEditor-DXHROT4C.js} +14 -14
- package/dist/{BlockNoteEditor-QHWPE3BJ.js.map → BlockNoteEditor-DXHROT4C.js.map} +1 -1
- package/dist/billing/index.js +346 -346
- package/dist/billing/index.mjs +3 -3
- package/dist/{chunk-CJY63D6U.js → chunk-37KYO2UD.js} +9 -1
- package/dist/chunk-37KYO2UD.js.map +1 -0
- package/dist/{chunk-3BWYWS3A.js → chunk-ELTHSXBI.js} +622 -622
- package/dist/{chunk-3BWYWS3A.js.map → chunk-ELTHSXBI.js.map} +1 -1
- package/dist/{chunk-WWP32QYC.mjs → chunk-H4ZS3R76.mjs} +5 -5
- package/dist/chunk-H4ZS3R76.mjs.map +1 -0
- package/dist/{chunk-RIG2BEXJ.mjs → chunk-IOMDNRX5.mjs} +9 -1
- package/dist/{chunk-RIG2BEXJ.mjs.map → chunk-IOMDNRX5.mjs.map} +1 -1
- package/dist/{chunk-KFIQTY4O.js → chunk-WOJIRXIP.js} +11 -11
- package/dist/{chunk-KFIQTY4O.js.map → chunk-WOJIRXIP.js.map} +1 -1
- package/dist/{chunk-ZYAAJMZZ.mjs → chunk-WVTBEVAL.mjs} +2 -2
- package/dist/client/index.js +4 -4
- package/dist/client/index.mjs +3 -3
- package/dist/components/index.js +4 -4
- package/dist/components/index.mjs +3 -3
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/index.mjs +3 -3
- package/dist/core/index.d.mts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +2 -2
- package/dist/core/index.mjs +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/index.mjs +2 -2
- package/dist/{s3.service-DLf_a0xS.d.mts → s3.service-CHOTwfWA.d.mts} +4 -0
- package/dist/{s3.service-Cg5TmbU_.d.ts → s3.service-N1g0piXD.d.ts} +4 -0
- package/dist/server/index.d.mts +1 -1
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +1 -1
- package/package.json +1 -1
- package/src/features/user/components/details/UserContent.tsx +1 -1
- package/src/features/user/data/user.service.ts +9 -0
- package/dist/chunk-CJY63D6U.js.map +0 -1
- package/dist/chunk-WWP32QYC.mjs.map +0 -1
- /package/dist/{BlockNoteEditor-TIX3GDVZ.mjs.map → BlockNoteEditor-6FDECIS2.mjs.map} +0 -0
- /package/dist/{chunk-ZYAAJMZZ.mjs.map → chunk-WVTBEVAL.mjs.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkWOJIRXIPjs = require('./chunk-WOJIRXIP.js');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
@@ -183,7 +183,7 @@ var _chunkKFIQTY4Ojs = require('./chunk-KFIQTY4O.js');
|
|
|
183
183
|
|
|
184
184
|
|
|
185
185
|
|
|
186
|
-
var
|
|
186
|
+
var _chunk37KYO2UDjs = require('./chunk-37KYO2UD.js');
|
|
187
187
|
require('./chunk-LXKSUWAV.js');
|
|
188
188
|
require('./chunk-IBS6NI7D.js');
|
|
189
189
|
|
|
@@ -391,5 +391,5 @@ require('./chunk-7QVYU63E.js');
|
|
|
391
391
|
|
|
392
392
|
|
|
393
393
|
|
|
394
|
-
exports.ACTION_TYPES = _chunkKFIQTY4Ojs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunkCJY63D6Ujs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunkCJY63D6Ujs.AbstractApiData; exports.AbstractService = _chunkCJY63D6Ujs.AbstractService; exports.Action = _chunkCJY63D6Ujs.Action; exports.AuditLog = _chunkCJY63D6Ujs.AuditLog; exports.AuditLogModule = _chunkCJY63D6Ujs.AuditLogModule; exports.AuditLogService = _chunkCJY63D6Ujs.AuditLogService; exports.Auth = _chunkCJY63D6Ujs.Auth; exports.AuthComponent = _chunkCJY63D6Ujs.AuthComponent; exports.AuthModule = _chunkCJY63D6Ujs.AuthModule; exports.AuthService = _chunkCJY63D6Ujs.AuthService; exports.AuthorModule = _chunkCJY63D6Ujs.AuthorModule; exports.BackupCodeVerify = _chunkCJY63D6Ujs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunkCJY63D6Ujs.BackupCodeVerifyModule; exports.Billing = _chunkCJY63D6Ujs.Billing; exports.BillingModule = _chunkCJY63D6Ujs.BillingModule; exports.BillingService = _chunkCJY63D6Ujs.BillingService; exports.BlockNoteDiffUtil = _chunkCJY63D6Ujs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunkCJY63D6Ujs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkKFIQTY4Ojs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.ClientAbstractService = _chunkCJY63D6Ujs.ClientAbstractService; exports.ClientHttpMethod = _chunkCJY63D6Ujs.ClientHttpMethod; exports.Company = _chunkCJY63D6Ujs.Company; exports.CompanyFields = _chunkCJY63D6Ujs.CompanyFields; exports.CompanyModule = _chunkCJY63D6Ujs.CompanyModule; exports.CompanyService = _chunkCJY63D6Ujs.CompanyService; exports.Content = _chunkCJY63D6Ujs.Content; exports.ContentFields = _chunkCJY63D6Ujs.ContentFields; exports.ContentModule = _chunkCJY63D6Ujs.ContentModule; exports.ContentService = _chunkCJY63D6Ujs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunkCJY63D6Ujs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunk4MN547K7js.DataClassRegistry; exports.DataClassRegistry = _chunk4MN547K7js.DataClassRegistry; exports.EndpointCreator = _chunkCJY63D6Ujs.EndpointCreator; exports.Feature = _chunkCJY63D6Ujs.Feature; exports.FeatureModule = _chunkCJY63D6Ujs.FeatureModule; exports.FeatureService = _chunkCJY63D6Ujs.FeatureService; exports.HttpMethod = _chunkCJY63D6Ujs.HttpMethod; exports.InvoiceStatus = _chunkCJY63D6Ujs.InvoiceStatus; exports.JsonApiDataFactory = _chunk4MN547K7js.JsonApiDataFactory; exports.Module = _chunkCJY63D6Ujs.Module; exports.ModuleModule = _chunkCJY63D6Ujs.ModuleModule; exports.ModulePaths = _chunkCJY63D6Ujs.ModulePaths; exports.ModulePathsModule = _chunkCJY63D6Ujs.ModulePathsModule; exports.ModuleRegistrar = _chunkCJY63D6Ujs.ModuleRegistrar; exports.ModuleRegistry = _chunkCJY63D6Ujs.ModuleRegistry; exports.Modules = _chunkCJY63D6Ujs.Modules; exports.Notification = _chunkCJY63D6Ujs.Notification; exports.NotificationFields = _chunkCJY63D6Ujs.NotificationFields; exports.NotificationModule = _chunkCJY63D6Ujs.NotificationModule; exports.NotificationService = _chunkCJY63D6Ujs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunkCJY63D6Ujs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunkCJY63D6Ujs.OAuthClient; exports.OAuthModule = _chunkCJY63D6Ujs.OAuthModule; exports.OAuthService = _chunkCJY63D6Ujs.OAuthService; exports.Passkey = _chunkCJY63D6Ujs.Passkey; exports.PasskeyAuthenticationOptions = _chunkCJY63D6Ujs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunkCJY63D6Ujs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunkCJY63D6Ujs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunkCJY63D6Ujs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunkCJY63D6Ujs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunkCJY63D6Ujs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunkCJY63D6Ujs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunkCJY63D6Ujs.PasskeyRename; exports.PasskeyRenameModule = _chunkCJY63D6Ujs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunkCJY63D6Ujs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunkCJY63D6Ujs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunkCJY63D6Ujs.PaymentMethod; exports.PermissionMapping = _chunkCJY63D6Ujs.PermissionMapping; exports.PermissionMappingModule = _chunkCJY63D6Ujs.PermissionMappingModule; exports.Push = _chunkCJY63D6Ujs.Push; exports.PushModule = _chunkCJY63D6Ujs.PushModule; exports.PushService = _chunkCJY63D6Ujs.PushService; exports.RbacService = _chunkKFIQTY4Ojs.RbacService; exports.ReferralModule = _chunkCJY63D6Ujs.ReferralModule; exports.ReferralService = _chunkCJY63D6Ujs.ReferralService; exports.ReferralStats = _chunkCJY63D6Ujs.ReferralStats; exports.ReferralStatsModule = _chunkCJY63D6Ujs.ReferralStatsModule; exports.RehydrationFactory = _chunkCJY63D6Ujs.RehydrationFactory; exports.Role = _chunkCJY63D6Ujs.Role; exports.RoleFields = _chunkCJY63D6Ujs.RoleFields; exports.RoleModule = _chunkCJY63D6Ujs.RoleModule; exports.RoleService = _chunkCJY63D6Ujs.RoleService; exports.S3 = _chunkCJY63D6Ujs.S3; exports.S3Module = _chunkCJY63D6Ujs.S3Module; exports.S3Service = _chunkCJY63D6Ujs.S3Service; exports.StripeCustomer = _chunkCJY63D6Ujs.StripeCustomer; exports.StripeCustomerModule = _chunkCJY63D6Ujs.StripeCustomerModule; exports.StripeCustomerService = _chunkCJY63D6Ujs.StripeCustomerService; exports.StripeInvoice = _chunkCJY63D6Ujs.StripeInvoice; exports.StripeInvoiceModule = _chunkCJY63D6Ujs.StripeInvoiceModule; exports.StripeInvoiceService = _chunkCJY63D6Ujs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunkCJY63D6Ujs.StripePaymentMethodModule; exports.StripePrice = _chunkCJY63D6Ujs.StripePrice; exports.StripePriceModule = _chunkCJY63D6Ujs.StripePriceModule; exports.StripePriceService = _chunkCJY63D6Ujs.StripePriceService; exports.StripeProduct = _chunkCJY63D6Ujs.StripeProduct; exports.StripeProductModule = _chunkCJY63D6Ujs.StripeProductModule; exports.StripeProductService = _chunkCJY63D6Ujs.StripeProductService; exports.StripePromotionCode = _chunkCJY63D6Ujs.StripePromotionCode; exports.StripePromotionCodeModule = _chunkCJY63D6Ujs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunkCJY63D6Ujs.StripePromotionCodeService; exports.StripeSubscription = _chunkCJY63D6Ujs.StripeSubscription; exports.StripeSubscriptionModule = _chunkCJY63D6Ujs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunkCJY63D6Ujs.StripeSubscriptionService; exports.StripeUsage = _chunkCJY63D6Ujs.StripeUsage; exports.StripeUsageModule = _chunkCJY63D6Ujs.StripeUsageModule; exports.StripeUsageService = _chunkCJY63D6Ujs.StripeUsageService; exports.SubscriptionStatus = _chunkCJY63D6Ujs.SubscriptionStatus; exports.TableOptions = _chunkCJY63D6Ujs.TableOptions; exports.TotpAuthenticator = _chunkCJY63D6Ujs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunkCJY63D6Ujs.TotpAuthenticatorModule; exports.TotpSetup = _chunkCJY63D6Ujs.TotpSetup; exports.TotpSetupModule = _chunkCJY63D6Ujs.TotpSetupModule; exports.TotpVerify = _chunkCJY63D6Ujs.TotpVerify; exports.TotpVerifyLogin = _chunkCJY63D6Ujs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunkCJY63D6Ujs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunkCJY63D6Ujs.TotpVerifyModule; exports.TwoFactorChallenge = _chunkCJY63D6Ujs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunkCJY63D6Ujs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunkCJY63D6Ujs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunkCJY63D6Ujs.TwoFactorEnableModule; exports.TwoFactorService = _chunkCJY63D6Ujs.TwoFactorService; exports.TwoFactorStatus = _chunkCJY63D6Ujs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunkCJY63D6Ujs.TwoFactorStatusModule; exports.User = _chunkCJY63D6Ujs.User; exports.UserFields = _chunkCJY63D6Ujs.UserFields; exports.UserModule = _chunkCJY63D6Ujs.UserModule; exports.UserService = _chunkCJY63D6Ujs.UserService; exports.Waitlist = _chunkCJY63D6Ujs.Waitlist; exports.WaitlistModule = _chunkCJY63D6Ujs.WaitlistModule; exports.WaitlistService = _chunkCJY63D6Ujs.WaitlistService; exports.WaitlistStats = _chunkCJY63D6Ujs.WaitlistStats; exports.WaitlistStatsModule = _chunkCJY63D6Ujs.WaitlistStatsModule; exports.checkPermissions = _chunkCJY63D6Ujs.checkPermissions; exports.checkPermissionsFromServer = _chunkCJY63D6Ujs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunkCJY63D6Ujs.clearLastApiTotal; exports.cn = _chunkCJY63D6Ujs.cn; exports.composeRefs = _chunkCJY63D6Ujs.composeRefs; exports.configureAuth = _chunkCJY63D6Ujs.configureAuth; exports.configureI18n = _chunkKFIQTY4Ojs.configureI18n; exports.configureJsonApi = _chunkKFIQTY4Ojs.configureJsonApi; exports.configureLogin = _chunkKFIQTY4Ojs.configureLogin; exports.configureReferral = _chunkKFIQTY4Ojs.configureReferral; exports.configureRoles = _chunkKFIQTY4Ojs.configureRoles; exports.configureWaitlist = _chunkKFIQTY4Ojs.configureWaitlist; exports.createJsonApiInclusion = _chunkCJY63D6Ujs.createJsonApiInclusion; exports.dismissToast = _chunkCJY63D6Ujs.dismissToast; exports.entityObjectSchema = _chunkCJY63D6Ujs.entityObjectSchema; exports.exists = _chunkCJY63D6Ujs.exists; exports.formatDate = _chunkCJY63D6Ujs.formatDate; exports.getApiUrl = _chunkKFIQTY4Ojs.getApiUrl; exports.getAppUrl = _chunkKFIQTY4Ojs.getAppUrl; exports.getBootstrapper = _chunk4MN547K7js.getBootstrapper; exports.getClientGlobalErrorHandler = _chunkCJY63D6Ujs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunkCJY63D6Ujs.getGlobalErrorHandler; exports.getIcon = _chunkCJY63D6Ujs.getIcon; exports.getIconByModule = _chunkCJY63D6Ujs.getIconByModule; exports.getIconByModuleName = _chunkCJY63D6Ujs.getIconByModuleName; exports.getInitials = _chunkCJY63D6Ujs.getInitials; exports.getLastApiTotal = _chunkCJY63D6Ujs.getLastApiTotal; exports.getLucideIcon = _chunkCJY63D6Ujs.getLucideIcon; exports.getLucideIconByModule = _chunkCJY63D6Ujs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunkCJY63D6Ujs.getLucideIconByModuleName; exports.getReferralConfig = _chunkKFIQTY4Ojs.getReferralConfig; exports.getRoleId = _chunkKFIQTY4Ojs.getRoleId; exports.getStripePublishableKey = _chunkKFIQTY4Ojs.getStripePublishableKey; exports.getTableComponents = _chunkCJY63D6Ujs.getTableComponents; exports.getTableOptions = _chunkCJY63D6Ujs.getTableOptions; exports.getTokenHandler = _chunkCJY63D6Ujs.getTokenHandler; exports.getTrackablePages = _chunkKFIQTY4Ojs.getTrackablePages; exports.getValueFromPath = _chunkCJY63D6Ujs.getValueFromPath; exports.getWaitlistConfig = _chunkKFIQTY4Ojs.getWaitlistConfig; exports.hasBootstrapper = _chunk4MN547K7js.hasBootstrapper; exports.isReferralEnabled = _chunkKFIQTY4Ojs.isReferralEnabled; exports.isRolesConfigured = _chunkKFIQTY4Ojs.isRolesConfigured; exports.rehydrate = _chunkCJY63D6Ujs.rehydrate; exports.rehydrateList = _chunkCJY63D6Ujs.rehydrateList; exports.resetBootstrapStore = _chunk4MN547K7js.resetBootstrapStore; exports.setBootstrapper = _chunk4MN547K7js.setBootstrapper; exports.setClientGlobalErrorHandler = _chunkCJY63D6Ujs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunkCJY63D6Ujs.setGlobalErrorHandler; exports.showCustomToast = _chunkCJY63D6Ujs.showCustomToast; exports.showError = _chunkCJY63D6Ujs.showError; exports.showToast = _chunkCJY63D6Ujs.showToast; exports.translateData = _chunk4MN547K7js.translateData; exports.translateResponse = _chunk4MN547K7js.translateResponse; exports.tryBootstrap = _chunk4MN547K7js.tryBootstrap; exports.useComposedRefs = _chunkCJY63D6Ujs.useComposedRefs; exports.useIsMobile = _chunkCJY63D6Ujs.useIsMobile; exports.userObjectSchema = _chunkCJY63D6Ujs.userObjectSchema;
|
|
394
|
+
exports.ACTION_TYPES = _chunkWOJIRXIPjs.ACTION_TYPES; exports.AVAILABLE_OAUTH_SCOPES = _chunk37KYO2UDjs.AVAILABLE_OAUTH_SCOPES; exports.AbstractApiData = _chunk37KYO2UDjs.AbstractApiData; exports.AbstractService = _chunk37KYO2UDjs.AbstractService; exports.Action = _chunk37KYO2UDjs.Action; exports.AuditLog = _chunk37KYO2UDjs.AuditLog; exports.AuditLogModule = _chunk37KYO2UDjs.AuditLogModule; exports.AuditLogService = _chunk37KYO2UDjs.AuditLogService; exports.Auth = _chunk37KYO2UDjs.Auth; exports.AuthComponent = _chunk37KYO2UDjs.AuthComponent; exports.AuthModule = _chunk37KYO2UDjs.AuthModule; exports.AuthService = _chunk37KYO2UDjs.AuthService; exports.AuthorModule = _chunk37KYO2UDjs.AuthorModule; exports.BackupCodeVerify = _chunk37KYO2UDjs.BackupCodeVerify; exports.BackupCodeVerifyModule = _chunk37KYO2UDjs.BackupCodeVerifyModule; exports.Billing = _chunk37KYO2UDjs.Billing; exports.BillingModule = _chunk37KYO2UDjs.BillingModule; exports.BillingService = _chunk37KYO2UDjs.BillingService; exports.BlockNoteDiffUtil = _chunk37KYO2UDjs.BlockNoteDiffUtil; exports.BlockNoteWordDiffRendererUtil = _chunk37KYO2UDjs.BlockNoteWordDiffRendererUtil; exports.COMPANY_ADMINISTRATOR_ROLE_ID = _chunkWOJIRXIPjs.COMPANY_ADMINISTRATOR_ROLE_ID; exports.ClientAbstractService = _chunk37KYO2UDjs.ClientAbstractService; exports.ClientHttpMethod = _chunk37KYO2UDjs.ClientHttpMethod; exports.Company = _chunk37KYO2UDjs.Company; exports.CompanyFields = _chunk37KYO2UDjs.CompanyFields; exports.CompanyModule = _chunk37KYO2UDjs.CompanyModule; exports.CompanyService = _chunk37KYO2UDjs.CompanyService; exports.Content = _chunk37KYO2UDjs.Content; exports.ContentFields = _chunk37KYO2UDjs.ContentFields; exports.ContentModule = _chunk37KYO2UDjs.ContentModule; exports.ContentService = _chunk37KYO2UDjs.ContentService; exports.DEFAULT_GRANT_TYPES = _chunk37KYO2UDjs.DEFAULT_GRANT_TYPES; exports.DataClass = _chunk4MN547K7js.DataClassRegistry; exports.DataClassRegistry = _chunk4MN547K7js.DataClassRegistry; exports.EndpointCreator = _chunk37KYO2UDjs.EndpointCreator; exports.Feature = _chunk37KYO2UDjs.Feature; exports.FeatureModule = _chunk37KYO2UDjs.FeatureModule; exports.FeatureService = _chunk37KYO2UDjs.FeatureService; exports.HttpMethod = _chunk37KYO2UDjs.HttpMethod; exports.InvoiceStatus = _chunk37KYO2UDjs.InvoiceStatus; exports.JsonApiDataFactory = _chunk4MN547K7js.JsonApiDataFactory; exports.Module = _chunk37KYO2UDjs.Module; exports.ModuleModule = _chunk37KYO2UDjs.ModuleModule; exports.ModulePaths = _chunk37KYO2UDjs.ModulePaths; exports.ModulePathsModule = _chunk37KYO2UDjs.ModulePathsModule; exports.ModuleRegistrar = _chunk37KYO2UDjs.ModuleRegistrar; exports.ModuleRegistry = _chunk37KYO2UDjs.ModuleRegistry; exports.Modules = _chunk37KYO2UDjs.Modules; exports.Notification = _chunk37KYO2UDjs.Notification; exports.NotificationFields = _chunk37KYO2UDjs.NotificationFields; exports.NotificationModule = _chunk37KYO2UDjs.NotificationModule; exports.NotificationService = _chunk37KYO2UDjs.NotificationService; exports.OAUTH_SCOPE_DISPLAY = _chunk37KYO2UDjs.OAUTH_SCOPE_DISPLAY; exports.OAuthClient = _chunk37KYO2UDjs.OAuthClient; exports.OAuthModule = _chunk37KYO2UDjs.OAuthModule; exports.OAuthService = _chunk37KYO2UDjs.OAuthService; exports.Passkey = _chunk37KYO2UDjs.Passkey; exports.PasskeyAuthenticationOptions = _chunk37KYO2UDjs.PasskeyAuthenticationOptions; exports.PasskeyAuthenticationOptionsModule = _chunk37KYO2UDjs.PasskeyAuthenticationOptionsModule; exports.PasskeyModule = _chunk37KYO2UDjs.PasskeyModule; exports.PasskeyRegistrationOptions = _chunk37KYO2UDjs.PasskeyRegistrationOptions; exports.PasskeyRegistrationOptionsModule = _chunk37KYO2UDjs.PasskeyRegistrationOptionsModule; exports.PasskeyRegistrationVerify = _chunk37KYO2UDjs.PasskeyRegistrationVerify; exports.PasskeyRegistrationVerifyModule = _chunk37KYO2UDjs.PasskeyRegistrationVerifyModule; exports.PasskeyRename = _chunk37KYO2UDjs.PasskeyRename; exports.PasskeyRenameModule = _chunk37KYO2UDjs.PasskeyRenameModule; exports.PasskeyVerifyLogin = _chunk37KYO2UDjs.PasskeyVerifyLogin; exports.PasskeyVerifyLoginModule = _chunk37KYO2UDjs.PasskeyVerifyLoginModule; exports.PaymentMethod = _chunk37KYO2UDjs.PaymentMethod; exports.PermissionMapping = _chunk37KYO2UDjs.PermissionMapping; exports.PermissionMappingModule = _chunk37KYO2UDjs.PermissionMappingModule; exports.Push = _chunk37KYO2UDjs.Push; exports.PushModule = _chunk37KYO2UDjs.PushModule; exports.PushService = _chunk37KYO2UDjs.PushService; exports.RbacService = _chunkWOJIRXIPjs.RbacService; exports.ReferralModule = _chunk37KYO2UDjs.ReferralModule; exports.ReferralService = _chunk37KYO2UDjs.ReferralService; exports.ReferralStats = _chunk37KYO2UDjs.ReferralStats; exports.ReferralStatsModule = _chunk37KYO2UDjs.ReferralStatsModule; exports.RehydrationFactory = _chunk37KYO2UDjs.RehydrationFactory; exports.Role = _chunk37KYO2UDjs.Role; exports.RoleFields = _chunk37KYO2UDjs.RoleFields; exports.RoleModule = _chunk37KYO2UDjs.RoleModule; exports.RoleService = _chunk37KYO2UDjs.RoleService; exports.S3 = _chunk37KYO2UDjs.S3; exports.S3Module = _chunk37KYO2UDjs.S3Module; exports.S3Service = _chunk37KYO2UDjs.S3Service; exports.StripeCustomer = _chunk37KYO2UDjs.StripeCustomer; exports.StripeCustomerModule = _chunk37KYO2UDjs.StripeCustomerModule; exports.StripeCustomerService = _chunk37KYO2UDjs.StripeCustomerService; exports.StripeInvoice = _chunk37KYO2UDjs.StripeInvoice; exports.StripeInvoiceModule = _chunk37KYO2UDjs.StripeInvoiceModule; exports.StripeInvoiceService = _chunk37KYO2UDjs.StripeInvoiceService; exports.StripePaymentMethodModule = _chunk37KYO2UDjs.StripePaymentMethodModule; exports.StripePrice = _chunk37KYO2UDjs.StripePrice; exports.StripePriceModule = _chunk37KYO2UDjs.StripePriceModule; exports.StripePriceService = _chunk37KYO2UDjs.StripePriceService; exports.StripeProduct = _chunk37KYO2UDjs.StripeProduct; exports.StripeProductModule = _chunk37KYO2UDjs.StripeProductModule; exports.StripeProductService = _chunk37KYO2UDjs.StripeProductService; exports.StripePromotionCode = _chunk37KYO2UDjs.StripePromotionCode; exports.StripePromotionCodeModule = _chunk37KYO2UDjs.StripePromotionCodeModule; exports.StripePromotionCodeService = _chunk37KYO2UDjs.StripePromotionCodeService; exports.StripeSubscription = _chunk37KYO2UDjs.StripeSubscription; exports.StripeSubscriptionModule = _chunk37KYO2UDjs.StripeSubscriptionModule; exports.StripeSubscriptionService = _chunk37KYO2UDjs.StripeSubscriptionService; exports.StripeUsage = _chunk37KYO2UDjs.StripeUsage; exports.StripeUsageModule = _chunk37KYO2UDjs.StripeUsageModule; exports.StripeUsageService = _chunk37KYO2UDjs.StripeUsageService; exports.SubscriptionStatus = _chunk37KYO2UDjs.SubscriptionStatus; exports.TableOptions = _chunk37KYO2UDjs.TableOptions; exports.TotpAuthenticator = _chunk37KYO2UDjs.TotpAuthenticator; exports.TotpAuthenticatorModule = _chunk37KYO2UDjs.TotpAuthenticatorModule; exports.TotpSetup = _chunk37KYO2UDjs.TotpSetup; exports.TotpSetupModule = _chunk37KYO2UDjs.TotpSetupModule; exports.TotpVerify = _chunk37KYO2UDjs.TotpVerify; exports.TotpVerifyLogin = _chunk37KYO2UDjs.TotpVerifyLogin; exports.TotpVerifyLoginModule = _chunk37KYO2UDjs.TotpVerifyLoginModule; exports.TotpVerifyModule = _chunk37KYO2UDjs.TotpVerifyModule; exports.TwoFactorChallenge = _chunk37KYO2UDjs.TwoFactorChallenge; exports.TwoFactorChallengeModule = _chunk37KYO2UDjs.TwoFactorChallengeModule; exports.TwoFactorEnable = _chunk37KYO2UDjs.TwoFactorEnable; exports.TwoFactorEnableModule = _chunk37KYO2UDjs.TwoFactorEnableModule; exports.TwoFactorService = _chunk37KYO2UDjs.TwoFactorService; exports.TwoFactorStatus = _chunk37KYO2UDjs.TwoFactorStatus; exports.TwoFactorStatusModule = _chunk37KYO2UDjs.TwoFactorStatusModule; exports.User = _chunk37KYO2UDjs.User; exports.UserFields = _chunk37KYO2UDjs.UserFields; exports.UserModule = _chunk37KYO2UDjs.UserModule; exports.UserService = _chunk37KYO2UDjs.UserService; exports.Waitlist = _chunk37KYO2UDjs.Waitlist; exports.WaitlistModule = _chunk37KYO2UDjs.WaitlistModule; exports.WaitlistService = _chunk37KYO2UDjs.WaitlistService; exports.WaitlistStats = _chunk37KYO2UDjs.WaitlistStats; exports.WaitlistStatsModule = _chunk37KYO2UDjs.WaitlistStatsModule; exports.checkPermissions = _chunk37KYO2UDjs.checkPermissions; exports.checkPermissionsFromServer = _chunk37KYO2UDjs.checkPermissionsFromServer; exports.clearLastApiTotal = _chunk37KYO2UDjs.clearLastApiTotal; exports.cn = _chunk37KYO2UDjs.cn; exports.composeRefs = _chunk37KYO2UDjs.composeRefs; exports.configureAuth = _chunk37KYO2UDjs.configureAuth; exports.configureI18n = _chunkWOJIRXIPjs.configureI18n; exports.configureJsonApi = _chunkWOJIRXIPjs.configureJsonApi; exports.configureLogin = _chunkWOJIRXIPjs.configureLogin; exports.configureReferral = _chunkWOJIRXIPjs.configureReferral; exports.configureRoles = _chunkWOJIRXIPjs.configureRoles; exports.configureWaitlist = _chunkWOJIRXIPjs.configureWaitlist; exports.createJsonApiInclusion = _chunk37KYO2UDjs.createJsonApiInclusion; exports.dismissToast = _chunk37KYO2UDjs.dismissToast; exports.entityObjectSchema = _chunk37KYO2UDjs.entityObjectSchema; exports.exists = _chunk37KYO2UDjs.exists; exports.formatDate = _chunk37KYO2UDjs.formatDate; exports.getApiUrl = _chunkWOJIRXIPjs.getApiUrl; exports.getAppUrl = _chunkWOJIRXIPjs.getAppUrl; exports.getBootstrapper = _chunk4MN547K7js.getBootstrapper; exports.getClientGlobalErrorHandler = _chunk37KYO2UDjs.getClientGlobalErrorHandler; exports.getGlobalErrorHandler = _chunk37KYO2UDjs.getGlobalErrorHandler; exports.getIcon = _chunk37KYO2UDjs.getIcon; exports.getIconByModule = _chunk37KYO2UDjs.getIconByModule; exports.getIconByModuleName = _chunk37KYO2UDjs.getIconByModuleName; exports.getInitials = _chunk37KYO2UDjs.getInitials; exports.getLastApiTotal = _chunk37KYO2UDjs.getLastApiTotal; exports.getLucideIcon = _chunk37KYO2UDjs.getLucideIcon; exports.getLucideIconByModule = _chunk37KYO2UDjs.getLucideIconByModule; exports.getLucideIconByModuleName = _chunk37KYO2UDjs.getLucideIconByModuleName; exports.getReferralConfig = _chunkWOJIRXIPjs.getReferralConfig; exports.getRoleId = _chunkWOJIRXIPjs.getRoleId; exports.getStripePublishableKey = _chunkWOJIRXIPjs.getStripePublishableKey; exports.getTableComponents = _chunk37KYO2UDjs.getTableComponents; exports.getTableOptions = _chunk37KYO2UDjs.getTableOptions; exports.getTokenHandler = _chunk37KYO2UDjs.getTokenHandler; exports.getTrackablePages = _chunkWOJIRXIPjs.getTrackablePages; exports.getValueFromPath = _chunk37KYO2UDjs.getValueFromPath; exports.getWaitlistConfig = _chunkWOJIRXIPjs.getWaitlistConfig; exports.hasBootstrapper = _chunk4MN547K7js.hasBootstrapper; exports.isReferralEnabled = _chunkWOJIRXIPjs.isReferralEnabled; exports.isRolesConfigured = _chunkWOJIRXIPjs.isRolesConfigured; exports.rehydrate = _chunk37KYO2UDjs.rehydrate; exports.rehydrateList = _chunk37KYO2UDjs.rehydrateList; exports.resetBootstrapStore = _chunk4MN547K7js.resetBootstrapStore; exports.setBootstrapper = _chunk4MN547K7js.setBootstrapper; exports.setClientGlobalErrorHandler = _chunk37KYO2UDjs.setClientGlobalErrorHandler; exports.setGlobalErrorHandler = _chunk37KYO2UDjs.setGlobalErrorHandler; exports.showCustomToast = _chunk37KYO2UDjs.showCustomToast; exports.showError = _chunk37KYO2UDjs.showError; exports.showToast = _chunk37KYO2UDjs.showToast; exports.translateData = _chunk4MN547K7js.translateData; exports.translateResponse = _chunk4MN547K7js.translateResponse; exports.tryBootstrap = _chunk4MN547K7js.tryBootstrap; exports.useComposedRefs = _chunk37KYO2UDjs.useComposedRefs; exports.useIsMobile = _chunk37KYO2UDjs.useIsMobile; exports.userObjectSchema = _chunk37KYO2UDjs.userObjectSchema;
|
|
395
395
|
//# sourceMappingURL=index.js.map
|
package/dist/index.mjs
CHANGED
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
getWaitlistConfig,
|
|
18
18
|
isReferralEnabled,
|
|
19
19
|
isRolesConfigured
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-WVTBEVAL.mjs";
|
|
21
21
|
import {
|
|
22
22
|
AVAILABLE_OAUTH_SCOPES,
|
|
23
23
|
AbstractApiData,
|
|
@@ -183,7 +183,7 @@ import {
|
|
|
183
183
|
useComposedRefs,
|
|
184
184
|
useIsMobile,
|
|
185
185
|
userObjectSchema
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-IOMDNRX5.mjs";
|
|
187
187
|
import "./chunk-AUXK7QSA.mjs";
|
|
188
188
|
import "./chunk-C7C7VY4F.mjs";
|
|
189
189
|
import {
|
|
@@ -230,6 +230,10 @@ declare class UserService extends AbstractService {
|
|
|
230
230
|
static patch(params: {
|
|
231
231
|
id: string;
|
|
232
232
|
} & Partial<Omit<UserInput, "id">>): Promise<UserInterface>;
|
|
233
|
+
static patchAvatar(params: {
|
|
234
|
+
id: string;
|
|
235
|
+
avatar: string;
|
|
236
|
+
}): Promise<UserInterface>;
|
|
233
237
|
static patchRate(params: UserInput): Promise<UserInterface>;
|
|
234
238
|
static delete(params: {
|
|
235
239
|
userId: string;
|
|
@@ -230,6 +230,10 @@ declare class UserService extends AbstractService {
|
|
|
230
230
|
static patch(params: {
|
|
231
231
|
id: string;
|
|
232
232
|
} & Partial<Omit<UserInput, "id">>): Promise<UserInterface>;
|
|
233
|
+
static patchAvatar(params: {
|
|
234
|
+
id: string;
|
|
235
|
+
avatar: string;
|
|
236
|
+
}): Promise<UserInterface>;
|
|
233
237
|
static patchRate(params: UserInput): Promise<UserInterface>;
|
|
234
238
|
static delete(params: {
|
|
235
239
|
userId: string;
|
package/dist/server/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import { A as ApiData } from '../ApiData-DPKNfY-9.mjs';
|
|
|
2
2
|
import { M as ModuleWithPermissions, A as Action } from '../notification.interface-C6UcmJqu.mjs';
|
|
3
3
|
import { A as ApiRequestDataTypeInterface } from '../ApiRequestDataTypeInterface-CYEcRUrh.mjs';
|
|
4
4
|
import { A as ApiResponseInterface } from '../ApiResponseInterface-zeewugD7.mjs';
|
|
5
|
-
export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-
|
|
5
|
+
export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-CHOTwfWA.mjs';
|
|
6
6
|
import 'lucide-react';
|
|
7
7
|
import '../ApiDataInterface-DPP8s46n.mjs';
|
|
8
8
|
import '../feature.interface-BxFFOPNq.mjs';
|
package/dist/server/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { A as ApiData } from '../ApiData-DPKNfY-9.js';
|
|
|
2
2
|
import { M as ModuleWithPermissions, A as Action } from '../notification.interface-ItBxq2au.js';
|
|
3
3
|
import { A as ApiRequestDataTypeInterface } from '../ApiRequestDataTypeInterface-CYEcRUrh.js';
|
|
4
4
|
import { A as ApiResponseInterface } from '../ApiResponseInterface-CAIAeP5d.js';
|
|
5
|
-
export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-
|
|
5
|
+
export { A as ServerAuthService, C as ServerCompanyService, a as ServerContentService, F as ServerFeatureService, N as ServerNotificationService, P as ServerPushService, R as ServerRoleService, S as ServerS3Service, U as ServerUserService } from '../s3.service-N1g0piXD.js';
|
|
6
6
|
import 'lucide-react';
|
|
7
7
|
import '../ApiDataInterface-DPP8s46n.js';
|
|
8
8
|
import '../feature.interface-CIWxo8NP.js';
|
package/dist/server/index.js
CHANGED
|
@@ -15,7 +15,7 @@ var _chunk3ZPK4QOBjs = require('../chunk-3ZPK4QOB.js');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunk37KYO2UDjs = require('../chunk-37KYO2UD.js');
|
|
19
19
|
require('../chunk-LXKSUWAV.js');
|
|
20
20
|
require('../chunk-IBS6NI7D.js');
|
|
21
21
|
|
|
@@ -86,7 +86,7 @@ var ServerSession = class {
|
|
|
86
86
|
if (!rawModules) return false;
|
|
87
87
|
const modules = JSON.parse(_pako2.default.ungzip(Buffer.from(rawModules, "base64"), { to: "string" }));
|
|
88
88
|
const selectedModule = modules.find((module) => module.id === params.module.moduleId);
|
|
89
|
-
return
|
|
89
|
+
return _chunk37KYO2UDjs.checkPermissionsFromServer.call(void 0, {
|
|
90
90
|
module: params.module,
|
|
91
91
|
action: params.action,
|
|
92
92
|
data: params.data,
|
|
@@ -296,5 +296,5 @@ _chunk7QVYU63Ejs.__name.call(void 0, ServerJsonApiDelete, "ServerJsonApiDelete")
|
|
|
296
296
|
|
|
297
297
|
|
|
298
298
|
|
|
299
|
-
exports.ServerAuthService =
|
|
299
|
+
exports.ServerAuthService = _chunk37KYO2UDjs.AuthService; exports.ServerCompanyService = _chunk37KYO2UDjs.CompanyService; exports.ServerContentService = _chunk37KYO2UDjs.ContentService; exports.ServerFeatureService = _chunk37KYO2UDjs.FeatureService; exports.ServerJsonApiDelete = ServerJsonApiDelete; exports.ServerJsonApiGet = ServerJsonApiGet; exports.ServerJsonApiPatch = ServerJsonApiPatch; exports.ServerJsonApiPost = ServerJsonApiPost; exports.ServerJsonApiPut = ServerJsonApiPut; exports.ServerNotificationService = _chunk37KYO2UDjs.NotificationService; exports.ServerPushService = _chunk37KYO2UDjs.PushService; exports.ServerRoleService = _chunk37KYO2UDjs.RoleService; exports.ServerS3Service = _chunk37KYO2UDjs.S3Service; exports.ServerSession = ServerSession; exports.ServerUserService = _chunk37KYO2UDjs.UserService; exports.configureServerJsonApi = configureServerJsonApi; exports.getServerApiUrl = getServerApiUrl; exports.getServerAppUrl = getServerAppUrl; exports.getServerToken = _chunkYUO55Q5Ajs.getServerToken; exports.getServerTrackablePages = getServerTrackablePages; exports.invalidateCacheTag = invalidateCacheTag; exports.invalidateCacheTags = invalidateCacheTags; exports.serverRequest = _chunk3ZPK4QOBjs.serverRequest;
|
|
300
300
|
//# sourceMappingURL=index.js.map
|
package/dist/server/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -35,7 +35,7 @@ export function UserContent({ user }: UserContentProps) {
|
|
|
35
35
|
fallback={getInitials(user.name)}
|
|
36
36
|
alt={user.name}
|
|
37
37
|
patchImage={async (imageKey) => {
|
|
38
|
-
const updated = await UserService.
|
|
38
|
+
const updated = await UserService.patchAvatar({ id: user.id, avatar: imageKey });
|
|
39
39
|
setUser(updated);
|
|
40
40
|
}}
|
|
41
41
|
className="h-24 w-24"
|
|
@@ -234,6 +234,15 @@ export class UserService extends AbstractService {
|
|
|
234
234
|
});
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
+
static async patchAvatar(params: { id: string; avatar: string }): Promise<UserInterface> {
|
|
238
|
+
return this.callApi({
|
|
239
|
+
type: Modules.User,
|
|
240
|
+
method: HttpMethod.PATCH,
|
|
241
|
+
endpoint: new EndpointCreator({ endpoint: Modules.User, id: params.id, childEndpoint: "avatar" }).generate(),
|
|
242
|
+
input: params,
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
|
|
237
246
|
static async patchRate(params: UserInput): Promise<UserInterface> {
|
|
238
247
|
return this.callApi({
|
|
239
248
|
type: Modules.User,
|