Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@adminide-stack/core

Package Overview
Dependencies
Maintainers
0
Versions
801
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adminide-stack/core - npm Package Compare versions

Comparing version 9.2.1-alpha.26 to 9.2.1-alpha.33

lib/utils/generate-uri.test.d.ts

2

lib/index.js

@@ -1,1 +0,1 @@

export{NATS_HEMERA_ADMINIDE_WORKSPACE,NATS_HEMERA_ADMINIDE_WORKSPACE_UPDATER}from'./constants/constants.js';export{DEFAULT_CPU,DEFAULT_HDD,DEFAULT_RAM}from'./constants/default-workspace-config.js';export{GLOBAL_CONFIGURATION_FILE,OVERRIDE_IDENTIFIER_PATTERN,OVERRIDE_PATTERN_WITH_SUBSTITUTION,OVERRIDE_PROPERTY,OVERRIDE_PROPERTY_PATTERN,SETTINGS_OVERRRIDE_NODE_ID,USER_CONFIGURATION_FILE}from'./constants/configuration.js';export{ClientTypes,CommonTypes,ServerTypes}from'./constants/types.js';export{ASANA_WEBHOOK_ENDPOINT,ORG_BASE_PATH,ORG_STD_ROUTES}from'./constants/urls.js';export{IntegrationConfigurationRoute}from'./constants/routes.js';export{BillingPlan}from'./constants/billing-plan.js';export{AcceptOrganizationInvitationDocument,AccountBillingPreferencesFragmentDoc,AccountOnBoardingDocument,AddContributionRoleDocument,AddResourceToContextDocument,AddTeamMembersDocument,AllContextFragmentDoc,ChangeMemberRoleDocument,ChangeOrgMemberRoleDocument,ChangeOrganizationDocument,ConfigurationFragmentDoc,ConfigurationModelFragmentDoc,ConfigurationUpdateEventFragmentDoc,ContextConfigurationFragmentDoc,CreateOrganizationDocument,CreateTeamDocument,DeclineOrganizationInvitationDocument,DecodeOrganizationInvitationDocument,DecodeOrganizationSharedTokenDocument,DefaultContextFragmentDoc,DefaultResolveSettingsDocument,DefaultSettingFragmentDoc,DefaultSettingsDocument,DeleteUserAccountDocument,FilterIntegrationConfigurationDocument,GetAccountsApplicationPoliciesDocument,GetAccountsDocument,GetAccountsViewerSettingsDocument,GetAllCountriesDocument,GetApplicationPolicyDocument,GetApplicationRoleDocument,GetConfigurationDataDocument,GetConfigurationTargetDocument,GetContextDataDocument,GetContextPropertyDocument,GetContributionRolesDocument,GetCurrentPagePermissionsDocument,GetDefaultApplicationPermissionsDocument,GetDefaultPermissionsDocument,GetDefaultPolicySettingsDocument,GetDefaultRoleDocument,GetManageableOrganizationsDocument,GetOrgConfigurationDocument,GetOrgContextDocument,GetOrgInvitationMembersDocument,GetOrgMembersWithRolesDocument,GetOrgMembersWithRolesUnsecuredDocument,GetOrgNameFromContextDocument,GetOrgPolicyDocument,GetOrgRoleDocument,GetOrgTeamInvitationsDocument,GetOrgUserDocument,GetOrgWithResourcesConfigurationDocument,GetOrgWithResourcesPolicyDocument,GetOrgWithResourcesRoleDocument,GetOrganizationInvitationDocument,GetOrganizationMembersDocument,GetOrganizationMembersWithNameDocument,GetOrganizationTeamsDocument,GetPageSettingsDocument,GetResourcesConfigurationDocument,GetRoleDocument,GetTeamByNameDocument,GetTeamDocument,GetUserAccessRoleDocument,GetUserAccountByAuth0IdDocument,GetUserAccountDocument,GetUserConfigurationDocument,GetUserOrganizationsDocument,GetUserOrganizationsListDocument,GetUserOrganizationsWithRoleDocument,GetUserRoleDocument,GetUserTokenDetailsDocument,GetUserWithDefaultConfigurationDocument,GetUsersDocument,GetViewerPermissionsDocument,GetViewerSettingsDocument,IAccountServiceAction,IApplicationBillingPlanPolicy,IApplicationRoles,IAuthErrorCodes,IAuthStrategyEnum,IClientCacheTypeNames,IClientContainerService,IClientTypes,IConfigCollectionName,IConfigFragmentName,IConfigurationContributionNames,IConfigurationServiceAction,IContextServiceAction,IDeviceInfoPlatform,IEditPresentationTypes,IFileRefType,IGlobalCurrencies,IGlobalLanguages,IIntegrationWorkflowServiceAction,IInviteStatus,IMailTemplateId,IMenuPosition,IMoleculerCronServiceName,IMoleculerServiceName,IOrgUserRole,IOrgainizationInvitationRole,IOrganizationContextPubSubEvents,IOrganizationServiceAction,IPermissionAction,IPermissionResource,IPermissionType,IPortalLanguage,IPreDefinedRole,IPreferenceProjectIntegrationStatus,IRegistryExtensions,IResourceAuthority,IRole,IRouteParams,ISettingValueType,ISortEnum,ITeamServiceAction,ITokenTypesEnum,IUserBroadcasterAction,IUserOrderBy,IUserServiceAction,IVisibility,InitializeOrgNameInContextDocument,InitiateConfigurationValueDocument,MachineConfigurationFragmentDoc,OpenPreferencesSettingsDocument,OrgContextFragmentDoc,OrgNameInContextFragmentDoc,OrgResourceContextFragmentDoc,OrgUserFragmentDoc,OrgUserIdContextFragmentDoc,OrganizationDataFragmentDoc,OrganizationResourceContextDocument,OrganizationUserFragmentDoc,OrganizationsDocument,OverWriteRoleValueFragmentDoc,ReassignConfigurationDocument,RegisterAccountUserDocument,RemoveOrgMemberDocument,RemoveOrganizationDocument,RemoveTeamDocument,RemoveTeamMemberDocument,ResendOrganizationInvitationDocument,ResetUserPasswordDocument,ResolveConfigurationDocument,ResourceDataFragmentDoc,ResourceUserRoleFragmentDoc,RoleTargetFragmentDoc,SendEmailVerificationDocument,SendOrganizationInvitationDocument,SendPhoneOtpDocument,SendUserPasswordResetEmailDocument,SubscribeToConfigurationUpdateDocument,SubscribeToOrganizationContextDocument,SubscribeToPermissionUpdateDocument,SubscribeToPolicyUpdateDocument,TeamDocument,TeamsDocument,UpdateConfigurationDocument,UpdateConfigurationValueByUriDocument,UpdateConfigurationValueDocument,UpdateOrgMemberTeamsDocument,UpdateOrganizationContextAddResourcesDocument,UpdateOrganizationContextRemoveResourcesDocument,UpdateOrganizationContextUpdateResourcesDocument,UpdateOrganizationDocument,UpdatePolicyValueDocument,UpdateRoleValueDocument,UpdateTeamConfigurationDocument,UpdateUserAccountAliasesDocument,UpdateUserAccountDocument,UserCreationEventFragmentDoc,UserOrgContextFragmentDoc,ValidatePasswordResetOtpDocument,ValidateUserEmailVerificationDocument,VerifyPhoneOtpDocument,ViewerSettingsDocument,WriteSettingsDocument,useAcceptOrganizationInvitationMutation,useAccountOnBoardingMutation,useAddContributionRoleMutation,useAddResourceToContextMutation,useAddTeamMembersMutation,useChangeMemberRoleMutation,useChangeOrgMemberRoleMutation,useChangeOrganizationMutation,useCreateOrganizationMutation,useCreateTeamMutation,useDeclineOrganizationInvitationMutation,useDecodeOrganizationInvitationLazyQuery,useDecodeOrganizationInvitationQuery,useDecodeOrganizationInvitationSuspenseQuery,useDecodeOrganizationSharedTokenLazyQuery,useDecodeOrganizationSharedTokenQuery,useDecodeOrganizationSharedTokenSuspenseQuery,useDefaultResolveSettingsLazyQuery,useDefaultResolveSettingsQuery,useDefaultResolveSettingsSuspenseQuery,useDefaultSettingsLazyQuery,useDefaultSettingsQuery,useDefaultSettingsSuspenseQuery,useDeleteUserAccountMutation,useFilterIntegrationConfigurationLazyQuery,useFilterIntegrationConfigurationQuery,useFilterIntegrationConfigurationSuspenseQuery,useGetAccountsApplicationPoliciesLazyQuery,useGetAccountsApplicationPoliciesQuery,useGetAccountsApplicationPoliciesSuspenseQuery,useGetAccountsLazyQuery,useGetAccountsQuery,useGetAccountsSuspenseQuery,useGetAccountsViewerSettingsLazyQuery,useGetAccountsViewerSettingsQuery,useGetAccountsViewerSettingsSuspenseQuery,useGetAllCountriesLazyQuery,useGetAllCountriesQuery,useGetAllCountriesSuspenseQuery,useGetApplicationPolicyLazyQuery,useGetApplicationPolicyQuery,useGetApplicationPolicySuspenseQuery,useGetApplicationRoleLazyQuery,useGetApplicationRoleQuery,useGetApplicationRoleSuspenseQuery,useGetConfigurationDataLazyQuery,useGetConfigurationDataQuery,useGetConfigurationDataSuspenseQuery,useGetConfigurationTargetLazyQuery,useGetConfigurationTargetQuery,useGetConfigurationTargetSuspenseQuery,useGetContextDataLazyQuery,useGetContextDataQuery,useGetContextDataSuspenseQuery,useGetContextPropertyLazyQuery,useGetContextPropertyQuery,useGetContextPropertySuspenseQuery,useGetContributionRolesLazyQuery,useGetContributionRolesQuery,useGetContributionRolesSuspenseQuery,useGetCurrentPagePermissionsLazyQuery,useGetCurrentPagePermissionsQuery,useGetCurrentPagePermissionsSuspenseQuery,useGetDefaultApplicationPermissionsLazyQuery,useGetDefaultApplicationPermissionsQuery,useGetDefaultApplicationPermissionsSuspenseQuery,useGetDefaultPermissionsLazyQuery,useGetDefaultPermissionsQuery,useGetDefaultPermissionsSuspenseQuery,useGetDefaultPolicySettingsLazyQuery,useGetDefaultPolicySettingsQuery,useGetDefaultPolicySettingsSuspenseQuery,useGetDefaultRoleLazyQuery,useGetDefaultRoleQuery,useGetDefaultRoleSuspenseQuery,useGetManageableOrganizationsLazyQuery,useGetManageableOrganizationsQuery,useGetManageableOrganizationsSuspenseQuery,useGetOrgConfigurationLazyQuery,useGetOrgConfigurationQuery,useGetOrgConfigurationSuspenseQuery,useGetOrgContextLazyQuery,useGetOrgContextQuery,useGetOrgContextSuspenseQuery,useGetOrgInvitationMembersLazyQuery,useGetOrgInvitationMembersQuery,useGetOrgInvitationMembersSuspenseQuery,useGetOrgMembersWithRolesLazyQuery,useGetOrgMembersWithRolesQuery,useGetOrgMembersWithRolesSuspenseQuery,useGetOrgMembersWithRolesUnsecuredLazyQuery,useGetOrgMembersWithRolesUnsecuredQuery,useGetOrgMembersWithRolesUnsecuredSuspenseQuery,useGetOrgNameFromContextLazyQuery,useGetOrgNameFromContextQuery,useGetOrgNameFromContextSuspenseQuery,useGetOrgPolicyLazyQuery,useGetOrgPolicyQuery,useGetOrgPolicySuspenseQuery,useGetOrgRoleLazyQuery,useGetOrgRoleQuery,useGetOrgRoleSuspenseQuery,useGetOrgTeamInvitationsLazyQuery,useGetOrgTeamInvitationsQuery,useGetOrgTeamInvitationsSuspenseQuery,useGetOrgUserLazyQuery,useGetOrgUserQuery,useGetOrgUserSuspenseQuery,useGetOrgWithResourcesConfigurationLazyQuery,useGetOrgWithResourcesConfigurationQuery,useGetOrgWithResourcesConfigurationSuspenseQuery,useGetOrgWithResourcesPolicyLazyQuery,useGetOrgWithResourcesPolicyQuery,useGetOrgWithResourcesPolicySuspenseQuery,useGetOrgWithResourcesRoleLazyQuery,useGetOrgWithResourcesRoleQuery,useGetOrgWithResourcesRoleSuspenseQuery,useGetOrganizationInvitationLazyQuery,useGetOrganizationInvitationQuery,useGetOrganizationInvitationSuspenseQuery,useGetOrganizationMembersLazyQuery,useGetOrganizationMembersQuery,useGetOrganizationMembersSuspenseQuery,useGetOrganizationMembersWithNameLazyQuery,useGetOrganizationMembersWithNameQuery,useGetOrganizationMembersWithNameSuspenseQuery,useGetOrganizationTeamsLazyQuery,useGetOrganizationTeamsQuery,useGetOrganizationTeamsSuspenseQuery,useGetPageSettingsLazyQuery,useGetPageSettingsQuery,useGetPageSettingsSuspenseQuery,useGetResourcesConfigurationLazyQuery,useGetResourcesConfigurationQuery,useGetResourcesConfigurationSuspenseQuery,useGetRoleLazyQuery,useGetRoleQuery,useGetRoleSuspenseQuery,useGetTeamByNameLazyQuery,useGetTeamByNameQuery,useGetTeamByNameSuspenseQuery,useGetTeamLazyQuery,useGetTeamQuery,useGetTeamSuspenseQuery,useGetUserAccessRoleLazyQuery,useGetUserAccessRoleQuery,useGetUserAccessRoleSuspenseQuery,useGetUserAccountByAuth0IdLazyQuery,useGetUserAccountByAuth0IdQuery,useGetUserAccountByAuth0IdSuspenseQuery,useGetUserAccountLazyQuery,useGetUserAccountQuery,useGetUserAccountSuspenseQuery,useGetUserConfigurationLazyQuery,useGetUserConfigurationQuery,useGetUserConfigurationSuspenseQuery,useGetUserOrganizationsLazyQuery,useGetUserOrganizationsListLazyQuery,useGetUserOrganizationsListQuery,useGetUserOrganizationsListSuspenseQuery,useGetUserOrganizationsQuery,useGetUserOrganizationsSuspenseQuery,useGetUserOrganizationsWithRoleLazyQuery,useGetUserOrganizationsWithRoleQuery,useGetUserOrganizationsWithRoleSuspenseQuery,useGetUserRoleLazyQuery,useGetUserRoleQuery,useGetUserRoleSuspenseQuery,useGetUserTokenDetailsLazyQuery,useGetUserTokenDetailsQuery,useGetUserTokenDetailsSuspenseQuery,useGetUserWithDefaultConfigurationLazyQuery,useGetUserWithDefaultConfigurationQuery,useGetUserWithDefaultConfigurationSuspenseQuery,useGetUsersLazyQuery,useGetUsersQuery,useGetUsersSuspenseQuery,useGetViewerPermissionsLazyQuery,useGetViewerPermissionsQuery,useGetViewerPermissionsSuspenseQuery,useGetViewerSettingsLazyQuery,useGetViewerSettingsQuery,useGetViewerSettingsSuspenseQuery,useInitializeOrgNameInContextMutation,useInitiateConfigurationValueMutation,useOpenPreferencesSettingsLazyQuery,useOpenPreferencesSettingsQuery,useOpenPreferencesSettingsSuspenseQuery,useOrganizationResourceContextLazyQuery,useOrganizationResourceContextQuery,useOrganizationResourceContextSuspenseQuery,useOrganizationsLazyQuery,useOrganizationsQuery,useOrganizationsSuspenseQuery,useReassignConfigurationMutation,useRegisterAccountUserMutation,useRemoveOrgMemberMutation,useRemoveOrganizationMutation,useRemoveTeamMemberMutation,useRemoveTeamMutation,useResendOrganizationInvitationMutation,useResetUserPasswordMutation,useResolveConfigurationLazyQuery,useResolveConfigurationQuery,useResolveConfigurationSuspenseQuery,useSendEmailVerificationMutation,useSendOrganizationInvitationMutation,useSendPhoneOtpMutation,useSendUserPasswordResetEmailMutation,useSubscribeToConfigurationUpdateSubscription,useSubscribeToOrganizationContextSubscription,useSubscribeToPermissionUpdateSubscription,useSubscribeToPolicyUpdateSubscription,useTeamLazyQuery,useTeamQuery,useTeamSuspenseQuery,useTeamsLazyQuery,useTeamsQuery,useTeamsSuspenseQuery,useUpdateConfigurationMutation,useUpdateConfigurationValueByUriMutation,useUpdateConfigurationValueMutation,useUpdateOrgMemberTeamsMutation,useUpdateOrganizationContextAddResourcesMutation,useUpdateOrganizationContextRemoveResourcesMutation,useUpdateOrganizationContextUpdateResourcesMutation,useUpdateOrganizationMutation,useUpdatePolicyValueMutation,useUpdateRoleValueMutation,useUpdateTeamConfigurationMutation,useUpdateUserAccountAliasesMutation,useUpdateUserAccountMutation,useValidatePasswordResetOtpMutation,useValidateUserEmailVerificationMutation,useVerifyPhoneOtpMutation,useViewerSettingsLazyQuery,useViewerSettingsQuery,useViewerSettingsSuspenseQuery,useWriteSettingsMutation}from'./interfaces/generated/generated-models.js';export{ConfigurationTarget,LOCAL_MACHINE_SCOPES,ORGANIZATION_SCOPES,REMOTE_MACHINE_SCOPES,RESOURCE_SCOPES,USER_SCOPES}from'./interfaces/configuration/configuration.js';export{ApplicationState,IOrganizationContext,IOrganizationResource}from'./interfaces/organization/organization-context.js';export{Extensions}from'@workbench-stack/core/lib/constants/extensions.js';export{LifecyclePhase,ShutdownReason,StartupKind}from'@workbench-stack/core/lib/interfaces/lifecycle/lifecycle.js';export{IPermissionBehavior}from'./interfaces/permissions.js';export{getFilteredRoutes,getFilteredTabs,getTtl}from'./utils/utils.js';export{convertToResourceUri,resourcePath}from'./utils/resourceUriConversion.js';export{generateApplicationUri,generateMachineUri,generateOrgUri,generateProxyUserUri,generateResourceUri,generateUri,generateUserUri}from'./utils/generate-uri.js';export{generateCdecodeUri,parseCdecodeUri}from'./utils/cdecodeUri.js';export{generateApplicationRoleResource,generateRegisteredRoleURI}from'./utils/roles-utils.js';export{getScopes}from'./utils/configuration-utils.js';export{omitDeep}from'./utils/omit-deep.js';export{generateSettingsId}from'./utils/generated-settings-id.js';export{validateEmail}from'./utils/validations.js';export{toMilliSeconds}from'./utils/date-utils.js';export{expand,flatten}from'./utils/flatten-utils.js';export{generateUserAlias}from'./utils/generateUserAlias.js';export{getLogger}from'./utils/getLogger.js';export{Disposable,DisposableCollection}from'./core/disposable.js';export{Emitter,Event,WaitUntilEvent}from'./core/event.js';export{Path}from'./core/path.js';export{OrganizationContext,OrganizationResource,toOrganizationResource,toOrganizationResources,toUri}from'./core/organization/organization.js';export{OrganizationConfiguration}from'./core/organization/configuration.js';export{isOrganizationIdentifier,isRawFileOrganizationResource,isRawUriOrganizationResource,isSingleResourceOrganizationIdentifier,isSingleResourceOrganizationInitializationPayload}from'./core/organization/helpers/organization-helpers.js';export{ConfigurationTargetConfigurationMapper,ConfigurationTargetToString,SettingsTypeToConfiguraitonTarget,addToValueTree,getConfigurationValue,getMigratedSettingValue,isConfigurationOverrides,keyFromOverrideIdentifier,merge,overrideIdentifierFromKey,removeFromValueTree,toValuesTree}from'./core/configurations/helpers/configuration.js';export{ConfigurationModel}from'./core/configurations/models/ConfigurationModel.js';export{Configuration,OVERRIDE_PROPERTY_REGEX,compare,overrideIdentifiersFromKey}from'./core/configurations/configuration.js';export{ConfigurationChangeEvent}from'./core/configurations/events/ConfigurationChangeEvent.js';export{CdeCodeProvider}from'./core/in-memory-providers/cde-code-provider.js';export{AuthErrors,AuthErrorsMessage}from'./errors/auth-error-messages.js';export{AuthError}from'./errors/auth-error.js';export{AbstractOrganizationContextService}from'./services/abstract-organization-context-service.js';export{AbstractOrganizationConfigurationClientService}from'./services/abstract-configuration.js';export{IPreDefineAccountPermissions}from'./modules/account-api/enums/index.js';export{IBillingModules,IPreDefineBillingPermissions}from'./modules/billing-api/enums/index.js';export{IPreDefineInboxPermissions}from'./modules/inbox/enums/index.js';export{IPermissionTypes}from'./enums/permissions.js';export{IntegrationConnections}from'./enums/integrations-connection-names.js';export{ConnectionStatus}from'./enums/connection-status.js';export{IntegrationsConfigSteps}from'./enums/integrations-configuration-steps.js';export{IntegrationConfigStatus}from'./enums/integration-configuration-status.js';export{Integrations}from'./enums/integrations.js';export{TeamMemberStatus}from'./enums/team-member-status.js';export{URI,uriToFsPath}from'@vscode-alt/monaco-editor/esm/vs/base/common/uri.js';export{ConfigurationScope}from'@workbench-stack/core/lib/interfaces/configuration/configuration.js';//# sourceMappingURL=index.js.map
export{NATS_HEMERA_ADMINIDE_WORKSPACE,NATS_HEMERA_ADMINIDE_WORKSPACE_UPDATER}from'./constants/constants.js';export{DEFAULT_CPU,DEFAULT_HDD,DEFAULT_RAM}from'./constants/default-workspace-config.js';export{GLOBAL_CONFIGURATION_FILE,OVERRIDE_IDENTIFIER_PATTERN,OVERRIDE_PATTERN_WITH_SUBSTITUTION,OVERRIDE_PROPERTY,OVERRIDE_PROPERTY_PATTERN,SETTINGS_OVERRRIDE_NODE_ID,USER_CONFIGURATION_FILE}from'./constants/configuration.js';export{ClientTypes,CommonTypes,ServerTypes}from'./constants/types.js';export{ASANA_WEBHOOK_ENDPOINT,ORG_BASE_PATH,ORG_STD_ROUTES}from'./constants/urls.js';export{IntegrationConfigurationRoute}from'./constants/routes.js';export{BillingPlan}from'./constants/billing-plan.js';export{AcceptOrganizationInvitationDocument,AccountBillingPreferencesFragmentDoc,AccountOnBoardingDocument,AddContributionRoleDocument,AddResourceToContextDocument,AddTeamMembersDocument,AllContextFragmentDoc,ChangeMemberRoleDocument,ChangeOrgMemberRoleDocument,ChangeOrganizationDocument,ConfigurationFragmentDoc,ConfigurationModelFragmentDoc,ConfigurationUpdateEventFragmentDoc,ContextConfigurationFragmentDoc,CreateOrganizationDocument,CreateTeamDocument,DeclineOrganizationInvitationDocument,DecodeOrganizationInvitationDocument,DecodeOrganizationSharedTokenDocument,DefaultContextFragmentDoc,DefaultResolveSettingsDocument,DefaultSettingFragmentDoc,DefaultSettingsDocument,DeleteUserAccountDocument,FilterIntegrationConfigurationDocument,GetAccountsApplicationPoliciesDocument,GetAccountsDocument,GetAccountsViewerSettingsDocument,GetAllCountriesDocument,GetApplicationPolicyDocument,GetApplicationRoleDocument,GetConfigurationDataDocument,GetConfigurationTargetDocument,GetContextDataDocument,GetContextPropertyDocument,GetContributionRolesDocument,GetCurrentPagePermissionsDocument,GetDefaultApplicationPermissionsDocument,GetDefaultPermissionsDocument,GetDefaultPolicySettingsDocument,GetDefaultRoleDocument,GetManageableOrganizationsDocument,GetOrgConfigurationDocument,GetOrgContextDocument,GetOrgInvitationMembersDocument,GetOrgMembersWithRolesDocument,GetOrgMembersWithRolesUnsecuredDocument,GetOrgNameFromContextDocument,GetOrgPolicyDocument,GetOrgRoleDocument,GetOrgTeamInvitationsDocument,GetOrgUserDocument,GetOrgWithResourcesConfigurationDocument,GetOrgWithResourcesPolicyDocument,GetOrgWithResourcesRoleDocument,GetOrganizationInvitationDocument,GetOrganizationMembersDocument,GetOrganizationMembersWithNameDocument,GetOrganizationTeamsDocument,GetPageSettingsDocument,GetResourcesConfigurationDocument,GetRoleDocument,GetTeamByNameDocument,GetTeamDocument,GetUserAccessRoleDocument,GetUserAccountByAuth0IdDocument,GetUserAccountDocument,GetUserConfigurationDocument,GetUserOrganizationsDocument,GetUserOrganizationsListDocument,GetUserOrganizationsWithRoleDocument,GetUserRoleDocument,GetUserTokenDetailsDocument,GetUserWithDefaultConfigurationDocument,GetUsersDocument,GetViewerPermissionsDocument,GetViewerSettingsDocument,IAccountServiceAction,IApplicationBillingPlanPolicy,IApplicationRoles,IAuthErrorCodes,IAuthStrategyEnum,IClientCacheTypeNames,IClientContainerService,IClientTypes,IConfigCollectionName,IConfigFragmentName,IConfigurationContributionNames,IConfigurationServiceAction,IContextServiceAction,IDeviceInfoPlatform,IEditPresentationTypes,IFileRefType,IGlobalCurrencies,IGlobalLanguages,IIntegrationWorkflowServiceAction,IInviteStatus,IMailTemplateId,IMenuPosition,IMoleculerCronServiceName,IMoleculerServiceName,IOrgUserRole,IOrgainizationInvitationRole,IOrganizationContextPubSubEvents,IOrganizationServiceAction,IPermissionAction,IPermissionResource,IPermissionType,IPortalLanguage,IPreDefinedRole,IPreferenceProjectIntegrationStatus,IRegistryExtensions,IResourceAuthority,IRole,IRouteParams,ISettingValueType,ISortEnum,ITeamServiceAction,ITokenTypesEnum,IUserBroadcasterAction,IUserOrderBy,IUserServiceAction,IVisibility,InitializeOrgNameInContextDocument,InitiateConfigurationValueDocument,MachineConfigurationFragmentDoc,OpenPreferencesSettingsDocument,OrgContextFragmentDoc,OrgNameInContextFragmentDoc,OrgResourceContextFragmentDoc,OrgUserFragmentDoc,OrgUserIdContextFragmentDoc,OrganizationDataFragmentDoc,OrganizationResourceContextDocument,OrganizationUserFragmentDoc,OrganizationsDocument,OverWriteRoleValueFragmentDoc,ReassignConfigurationDocument,RegisterAccountUserDocument,RemoveOrgMemberDocument,RemoveOrganizationDocument,RemoveTeamDocument,RemoveTeamMemberDocument,ResendOrganizationInvitationDocument,ResetUserPasswordDocument,ResolveConfigurationDocument,ResourceDataFragmentDoc,ResourceUserRoleFragmentDoc,RoleTargetFragmentDoc,SendEmailVerificationDocument,SendOrganizationInvitationDocument,SendPhoneOtpDocument,SendUserPasswordResetEmailDocument,SubscribeToConfigurationUpdateDocument,SubscribeToOrganizationContextDocument,SubscribeToPermissionUpdateDocument,SubscribeToPolicyUpdateDocument,TeamDocument,TeamsDocument,UpdateConfigurationDocument,UpdateConfigurationValueByUriDocument,UpdateConfigurationValueDocument,UpdateOrgMemberTeamsDocument,UpdateOrganizationContextAddResourcesDocument,UpdateOrganizationContextRemoveResourcesDocument,UpdateOrganizationContextUpdateResourcesDocument,UpdateOrganizationDocument,UpdatePolicyValueDocument,UpdateRoleValueDocument,UpdateTeamConfigurationDocument,UpdateUserAccountAliasesDocument,UpdateUserAccountDocument,UserCreationEventFragmentDoc,UserOrgContextFragmentDoc,ValidatePasswordResetOtpDocument,ValidateUserEmailVerificationDocument,VerifyPhoneOtpDocument,ViewerSettingsDocument,WriteSettingsDocument,useAcceptOrganizationInvitationMutation,useAccountOnBoardingMutation,useAddContributionRoleMutation,useAddResourceToContextMutation,useAddTeamMembersMutation,useChangeMemberRoleMutation,useChangeOrgMemberRoleMutation,useChangeOrganizationMutation,useCreateOrganizationMutation,useCreateTeamMutation,useDeclineOrganizationInvitationMutation,useDecodeOrganizationInvitationLazyQuery,useDecodeOrganizationInvitationQuery,useDecodeOrganizationInvitationSuspenseQuery,useDecodeOrganizationSharedTokenLazyQuery,useDecodeOrganizationSharedTokenQuery,useDecodeOrganizationSharedTokenSuspenseQuery,useDefaultResolveSettingsLazyQuery,useDefaultResolveSettingsQuery,useDefaultResolveSettingsSuspenseQuery,useDefaultSettingsLazyQuery,useDefaultSettingsQuery,useDefaultSettingsSuspenseQuery,useDeleteUserAccountMutation,useFilterIntegrationConfigurationLazyQuery,useFilterIntegrationConfigurationQuery,useFilterIntegrationConfigurationSuspenseQuery,useGetAccountsApplicationPoliciesLazyQuery,useGetAccountsApplicationPoliciesQuery,useGetAccountsApplicationPoliciesSuspenseQuery,useGetAccountsLazyQuery,useGetAccountsQuery,useGetAccountsSuspenseQuery,useGetAccountsViewerSettingsLazyQuery,useGetAccountsViewerSettingsQuery,useGetAccountsViewerSettingsSuspenseQuery,useGetAllCountriesLazyQuery,useGetAllCountriesQuery,useGetAllCountriesSuspenseQuery,useGetApplicationPolicyLazyQuery,useGetApplicationPolicyQuery,useGetApplicationPolicySuspenseQuery,useGetApplicationRoleLazyQuery,useGetApplicationRoleQuery,useGetApplicationRoleSuspenseQuery,useGetConfigurationDataLazyQuery,useGetConfigurationDataQuery,useGetConfigurationDataSuspenseQuery,useGetConfigurationTargetLazyQuery,useGetConfigurationTargetQuery,useGetConfigurationTargetSuspenseQuery,useGetContextDataLazyQuery,useGetContextDataQuery,useGetContextDataSuspenseQuery,useGetContextPropertyLazyQuery,useGetContextPropertyQuery,useGetContextPropertySuspenseQuery,useGetContributionRolesLazyQuery,useGetContributionRolesQuery,useGetContributionRolesSuspenseQuery,useGetCurrentPagePermissionsLazyQuery,useGetCurrentPagePermissionsQuery,useGetCurrentPagePermissionsSuspenseQuery,useGetDefaultApplicationPermissionsLazyQuery,useGetDefaultApplicationPermissionsQuery,useGetDefaultApplicationPermissionsSuspenseQuery,useGetDefaultPermissionsLazyQuery,useGetDefaultPermissionsQuery,useGetDefaultPermissionsSuspenseQuery,useGetDefaultPolicySettingsLazyQuery,useGetDefaultPolicySettingsQuery,useGetDefaultPolicySettingsSuspenseQuery,useGetDefaultRoleLazyQuery,useGetDefaultRoleQuery,useGetDefaultRoleSuspenseQuery,useGetManageableOrganizationsLazyQuery,useGetManageableOrganizationsQuery,useGetManageableOrganizationsSuspenseQuery,useGetOrgConfigurationLazyQuery,useGetOrgConfigurationQuery,useGetOrgConfigurationSuspenseQuery,useGetOrgContextLazyQuery,useGetOrgContextQuery,useGetOrgContextSuspenseQuery,useGetOrgInvitationMembersLazyQuery,useGetOrgInvitationMembersQuery,useGetOrgInvitationMembersSuspenseQuery,useGetOrgMembersWithRolesLazyQuery,useGetOrgMembersWithRolesQuery,useGetOrgMembersWithRolesSuspenseQuery,useGetOrgMembersWithRolesUnsecuredLazyQuery,useGetOrgMembersWithRolesUnsecuredQuery,useGetOrgMembersWithRolesUnsecuredSuspenseQuery,useGetOrgNameFromContextLazyQuery,useGetOrgNameFromContextQuery,useGetOrgNameFromContextSuspenseQuery,useGetOrgPolicyLazyQuery,useGetOrgPolicyQuery,useGetOrgPolicySuspenseQuery,useGetOrgRoleLazyQuery,useGetOrgRoleQuery,useGetOrgRoleSuspenseQuery,useGetOrgTeamInvitationsLazyQuery,useGetOrgTeamInvitationsQuery,useGetOrgTeamInvitationsSuspenseQuery,useGetOrgUserLazyQuery,useGetOrgUserQuery,useGetOrgUserSuspenseQuery,useGetOrgWithResourcesConfigurationLazyQuery,useGetOrgWithResourcesConfigurationQuery,useGetOrgWithResourcesConfigurationSuspenseQuery,useGetOrgWithResourcesPolicyLazyQuery,useGetOrgWithResourcesPolicyQuery,useGetOrgWithResourcesPolicySuspenseQuery,useGetOrgWithResourcesRoleLazyQuery,useGetOrgWithResourcesRoleQuery,useGetOrgWithResourcesRoleSuspenseQuery,useGetOrganizationInvitationLazyQuery,useGetOrganizationInvitationQuery,useGetOrganizationInvitationSuspenseQuery,useGetOrganizationMembersLazyQuery,useGetOrganizationMembersQuery,useGetOrganizationMembersSuspenseQuery,useGetOrganizationMembersWithNameLazyQuery,useGetOrganizationMembersWithNameQuery,useGetOrganizationMembersWithNameSuspenseQuery,useGetOrganizationTeamsLazyQuery,useGetOrganizationTeamsQuery,useGetOrganizationTeamsSuspenseQuery,useGetPageSettingsLazyQuery,useGetPageSettingsQuery,useGetPageSettingsSuspenseQuery,useGetResourcesConfigurationLazyQuery,useGetResourcesConfigurationQuery,useGetResourcesConfigurationSuspenseQuery,useGetRoleLazyQuery,useGetRoleQuery,useGetRoleSuspenseQuery,useGetTeamByNameLazyQuery,useGetTeamByNameQuery,useGetTeamByNameSuspenseQuery,useGetTeamLazyQuery,useGetTeamQuery,useGetTeamSuspenseQuery,useGetUserAccessRoleLazyQuery,useGetUserAccessRoleQuery,useGetUserAccessRoleSuspenseQuery,useGetUserAccountByAuth0IdLazyQuery,useGetUserAccountByAuth0IdQuery,useGetUserAccountByAuth0IdSuspenseQuery,useGetUserAccountLazyQuery,useGetUserAccountQuery,useGetUserAccountSuspenseQuery,useGetUserConfigurationLazyQuery,useGetUserConfigurationQuery,useGetUserConfigurationSuspenseQuery,useGetUserOrganizationsLazyQuery,useGetUserOrganizationsListLazyQuery,useGetUserOrganizationsListQuery,useGetUserOrganizationsListSuspenseQuery,useGetUserOrganizationsQuery,useGetUserOrganizationsSuspenseQuery,useGetUserOrganizationsWithRoleLazyQuery,useGetUserOrganizationsWithRoleQuery,useGetUserOrganizationsWithRoleSuspenseQuery,useGetUserRoleLazyQuery,useGetUserRoleQuery,useGetUserRoleSuspenseQuery,useGetUserTokenDetailsLazyQuery,useGetUserTokenDetailsQuery,useGetUserTokenDetailsSuspenseQuery,useGetUserWithDefaultConfigurationLazyQuery,useGetUserWithDefaultConfigurationQuery,useGetUserWithDefaultConfigurationSuspenseQuery,useGetUsersLazyQuery,useGetUsersQuery,useGetUsersSuspenseQuery,useGetViewerPermissionsLazyQuery,useGetViewerPermissionsQuery,useGetViewerPermissionsSuspenseQuery,useGetViewerSettingsLazyQuery,useGetViewerSettingsQuery,useGetViewerSettingsSuspenseQuery,useInitializeOrgNameInContextMutation,useInitiateConfigurationValueMutation,useOpenPreferencesSettingsLazyQuery,useOpenPreferencesSettingsQuery,useOpenPreferencesSettingsSuspenseQuery,useOrganizationResourceContextLazyQuery,useOrganizationResourceContextQuery,useOrganizationResourceContextSuspenseQuery,useOrganizationsLazyQuery,useOrganizationsQuery,useOrganizationsSuspenseQuery,useReassignConfigurationMutation,useRegisterAccountUserMutation,useRemoveOrgMemberMutation,useRemoveOrganizationMutation,useRemoveTeamMemberMutation,useRemoveTeamMutation,useResendOrganizationInvitationMutation,useResetUserPasswordMutation,useResolveConfigurationLazyQuery,useResolveConfigurationQuery,useResolveConfigurationSuspenseQuery,useSendEmailVerificationMutation,useSendOrganizationInvitationMutation,useSendPhoneOtpMutation,useSendUserPasswordResetEmailMutation,useSubscribeToConfigurationUpdateSubscription,useSubscribeToOrganizationContextSubscription,useSubscribeToPermissionUpdateSubscription,useSubscribeToPolicyUpdateSubscription,useTeamLazyQuery,useTeamQuery,useTeamSuspenseQuery,useTeamsLazyQuery,useTeamsQuery,useTeamsSuspenseQuery,useUpdateConfigurationMutation,useUpdateConfigurationValueByUriMutation,useUpdateConfigurationValueMutation,useUpdateOrgMemberTeamsMutation,useUpdateOrganizationContextAddResourcesMutation,useUpdateOrganizationContextRemoveResourcesMutation,useUpdateOrganizationContextUpdateResourcesMutation,useUpdateOrganizationMutation,useUpdatePolicyValueMutation,useUpdateRoleValueMutation,useUpdateTeamConfigurationMutation,useUpdateUserAccountAliasesMutation,useUpdateUserAccountMutation,useValidatePasswordResetOtpMutation,useValidateUserEmailVerificationMutation,useVerifyPhoneOtpMutation,useViewerSettingsLazyQuery,useViewerSettingsQuery,useViewerSettingsSuspenseQuery,useWriteSettingsMutation}from'./interfaces/generated/generated-models.js';export{ConfigurationTarget,LOCAL_MACHINE_SCOPES,ORGANIZATION_SCOPES,REMOTE_MACHINE_SCOPES,RESOURCE_SCOPES,USER_SCOPES}from'./interfaces/configuration/configuration.js';export{ApplicationState,IOrganizationContext,IOrganizationResource}from'./interfaces/organization/organization-context.js';export{Extensions}from'@workbench-stack/core/lib/constants/extensions.js';export{LifecyclePhase,ShutdownReason,StartupKind}from'@workbench-stack/core/lib/interfaces/lifecycle/lifecycle.js';export{IPermissionBehavior}from'./interfaces/permissions.js';export{getFilteredRoutes,getFilteredTabs,getTtl}from'./utils/utils.js';export{convertToResourceUri,resourcePath}from'./utils/resourceUriConversion.js';export{generateApplicationUri,generateMachineUri,generateOrgUri,generateProxyUserUri,generateResourceUri,generateUri,generateUserUri}from'./utils/generate-uri.js';export{determineConfigurationTarget,generateCdecodeUri,parseCdecodeUri}from'./utils/cdecodeUri.js';export{generateApplicationRoleResource,generateRegisteredRoleURI}from'./utils/roles-utils.js';export{getScopes}from'./utils/configuration-utils.js';export{omitDeep}from'./utils/omit-deep.js';export{generateSettingsId}from'./utils/generated-settings-id.js';export{validateEmail}from'./utils/validations.js';export{toMilliSeconds}from'./utils/date-utils.js';export{expand,flatten}from'./utils/flatten-utils.js';export{generateUserAlias}from'./utils/generateUserAlias.js';export{getLogger}from'./utils/getLogger.js';export{getDefaultSettingsURI,getEditableSettingsURI,getOpenSettings,parseExtensionFromDefaultSettingsUri}from'./utils/preferenceUri.js';export{reviveUri}from'./utils/reviveUri.js';export{Disposable,DisposableCollection}from'./core/disposable.js';export{Emitter,Event,WaitUntilEvent}from'./core/event.js';export{Path}from'./core/path.js';export{OrganizationContext,OrganizationResource,toOrganizationResource,toOrganizationResources,toUri}from'./core/organization/organization.js';export{OrganizationConfiguration}from'./core/organization/configuration.js';export{isOrganizationIdentifier,isRawFileOrganizationResource,isRawUriOrganizationResource,isSingleResourceOrganizationIdentifier,isSingleResourceOrganizationInitializationPayload}from'./core/organization/helpers/organization-helpers.js';export{ConfigurationTargetConfigurationMapper,ConfigurationTargetToString,SettingsTypeToConfiguraitonTarget,addToValueTree,getConfigurationValue,getMigratedSettingValue,isConfigurationOverrides,keyFromOverrideIdentifier,merge,overrideIdentifierFromKey,removeFromValueTree,toValuesTree}from'./core/configurations/helpers/configuration.js';export{ConfigurationModel}from'./core/configurations/models/ConfigurationModel.js';export{Configuration,OVERRIDE_PROPERTY_REGEX,compare,overrideIdentifiersFromKey}from'./core/configurations/configuration.js';export{ConfigurationChangeEvent}from'./core/configurations/events/ConfigurationChangeEvent.js';export{CdeCodeProvider}from'./core/in-memory-providers/cde-code-provider.js';export{AuthErrors,AuthErrorsMessage}from'./errors/auth-error-messages.js';export{AuthError}from'./errors/auth-error.js';export{AbstractOrganizationContextService}from'./services/abstract-organization-context-service.js';export{AbstractOrganizationConfigurationClientService}from'./services/abstract-configuration.js';export{IPreDefineAccountPermissions}from'./modules/account-api/enums/index.js';export{IBillingModules,IPreDefineBillingPermissions}from'./modules/billing-api/enums/index.js';export{IPreDefineInboxPermissions}from'./modules/inbox/enums/index.js';export{IPermissionTypes}from'./enums/permissions.js';export{IntegrationConnections}from'./enums/integrations-connection-names.js';export{ConnectionStatus}from'./enums/connection-status.js';export{IntegrationsConfigSteps}from'./enums/integrations-configuration-steps.js';export{IntegrationConfigStatus}from'./enums/integration-configuration-status.js';export{Integrations}from'./enums/integrations.js';export{TeamMemberStatus}from'./enums/team-member-status.js';export{URI,uriToFsPath}from'@vscode-alt/monaco-editor/esm/vs/base/common/uri.js';export{ConfigurationScope}from'@workbench-stack/core/lib/interfaces/configuration/configuration.js';//# sourceMappingURL=index.js.map

@@ -10,3 +10,3 @@ import { URI } from '@vscode-alt/monaco-editor/esm/vs/base/common/uri';

initiateSettingsFile(resource: URI): Promise<any>;
defaultViewerSettingsSubject(target: ConfigurationTarget): ISettingsSubject;
defaultViewerSettingsSubject(target: ConfigurationTarget, options: IPreferencesOpenOptions): ISettingsSubject;
/**

@@ -13,0 +13,0 @@ * Viewer Settings for an Organization and its resources.

import { URI } from '@vscode-alt/monaco-editor/esm/vs/base/common/uri';
import { ICdecodeUriPathSegment, IAuthorityComponent } from '../interfaces/generated';
import { ICdecodeUriPathSegment, IAuthorityComponent, ConfigurationTarget } from '../interfaces/generated';
import { ICdecodeParsedUri } from '../interfaces/generated';

@@ -27,1 +27,6 @@ export declare const generateCdecodeUri: (authority: string | IAuthorityComponent, params: ICdecodeUriPathSegment, query?: {

export declare function parseCdecodeUri(uriString: string | URI): ICdecodeParsedUri;
/**
* Decide a ConfigurationTarget based on whether the cdecode URI
* includes an organization name, resourceGroup/resourceType, etc.
*/
export declare function determineConfigurationTarget(parsedUri: ICdecodeParsedUri): ConfigurationTarget;
import {URI}from'@vscode-alt/monaco-editor/esm/vs/base/common/uri.js';import {Schemas}from'@workbench-stack/core/lib/core/network.js';import sortKeys from'sort-keys';import queryString from'query-string';import {IConfigCollectionName}from'../interfaces/generated/generated-models.js';/* eslint-disable prefer-destructuring */
/* eslint-disable default-param-last */
/**
* Extracts tenantId from the authority string.
* Adjust this function based on how tenantId is represented in the authority.
* For example, if authority is 'myApp.us-west-2.cdecode.com', tenantId could be 'myApp'.
* @param authority - The authority part of the URI.
* @returns The extracted tenantId.
*/
function extractTenantId(authority) {
// Example extraction logic: assuming tenantId is the first subdomain
const parts = authority.split('.');
return parts[0]; // 'myApp' from 'myApp.us-west-2.cdecode.com'
}
const generateCdecodeUri = (authority, params, query = {}, fragment) => {

@@ -83,2 +95,3 @@ let authorityString;

scheme: uri.scheme,
tenantId: extractTenantId(uri.authority),
authority: uri.authority,

@@ -136,2 +149,3 @@ pathSegments,

authority: uri.authority,
tenantId: extractTenantId(uri.authority),
pathSegments,

@@ -141,2 +155,25 @@ queryData,

};
}export{generateCdecodeUri,parseCdecodeUri};//# sourceMappingURL=cdecodeUri.js.map
}
/**
* Decide a ConfigurationTarget based on whether the cdecode URI
* includes an organization name, resourceGroup/resourceType, etc.
*/
function determineConfigurationTarget(parsedUri) {
const {
organization,
resourceType
} = parsedUri.pathSegments;
// If resourceType is present, it implies ORGANIZATION_RESOURCE
if (resourceType) {
return 5 /* ConfigurationTarget.ORGANIZATION_RESOURCE */;
}
// If there's an organization but no resourceType, treat it as ORGANIZATION
if (organization) {
return 4 /* ConfigurationTarget.ORGANIZATION */;
}
// Otherwise, no organization => fallback to USER or APPLICATION
// You can add logic here to differentiate user vs. application
// For example, if you have a special authority or naming convention for applications
// For now, default to USER
return 1 /* ConfigurationTarget.USER */;
}export{determineConfigurationTarget,generateCdecodeUri,parseCdecodeUri};//# sourceMappingURL=cdecodeUri.js.map

@@ -34,4 +34,6 @@ import { URI } from '@vscode-alt/monaco-editor/esm/vs/base/common/uri';

orgName: string;
}, fragment: string, authority?: string) => URI;
export declare const generateOrgUri: (name: any, fragment: string, authority?: string) => URI;
export declare const generateMachineUri: (name: any, fragment: string, authority?: string) => URI;
}, fragment: string, authority?: string, options?: {
flatten: boolean;
}) => URI;
export declare const generateOrgUri: (name: string, fragment: string, authority?: string) => URI;
export declare const generateMachineUri: (name: string, fragment: string, authority?: string) => URI;

@@ -1,2 +0,16 @@

import {Schemas}from'@workbench-stack/core/lib/core/network.js';import {URI}from'@vscode-alt/monaco-editor/esm/vs/base/common/uri.js';import sortKeys from'sort-keys';import queryString from'query-string';import {IConfigCollectionName,IConfigFragmentName}from'../interfaces/generated/generated-models.js';import'../interfaces/configuration/configuration.js';import'../interfaces/organization/organization-context.js';import'@workbench-stack/core/lib/constants/extensions.js';import'@workbench-stack/core/lib/interfaces/lifecycle/lifecycle.js';import'../interfaces/permissions.js';import {flatten}from'./flatten-utils.js';/**
import {Schemas}from'@workbench-stack/core/lib/core/network.js';import {URI}from'@vscode-alt/monaco-editor/esm/vs/base/common/uri.js';import sortKeys from'sort-keys';import queryString from'query-string';import {IConfigCollectionName,IConfigFragmentName}from'../interfaces/generated/generated-models.js';import'../interfaces/configuration/configuration.js';import'../interfaces/organization/organization-context.js';import'@workbench-stack/core/lib/constants/extensions.js';import'@workbench-stack/core/lib/interfaces/lifecycle/lifecycle.js';import'../interfaces/permissions.js';import {flatten}from'./flatten-utils.js';function hasNestedObject(obj) {
// Not an object or null? No nesting to worry about.
if (typeof obj !== 'object' || obj === null) {
return false;
}
// Treat arrays as acceptable—e.g., { alias: ["some"] } is fine.
if (Array.isArray(obj)) {
return false;
}
// If any direct property is itself an object (and not an array), we have nesting.
// For deeper checks, this could recurse further, but for now we only forbid
// direct child objects. E.g. { name: { name: 'tet' } } triggers an error.
return Object.values(obj).some(val => typeof val === 'object' && val !== null && !Array.isArray(val));
}
/**
* Generate URI, it sorts the params in order to generate URI.

@@ -11,2 +25,6 @@ * @param collectionName Schema Name to be used

}) => {
// If we are NOT flattening, but detect nested objects, throw an error
if (!options.flatten && hasNestedObject(params)) {
throw new Error(`generateUri: "params: ${JSON.stringify(params)}" contains nested object(s), but "options.flatten" is false. Please flatten your data or enable flatten.`);
}
params = options.flatten ? flatten(params) : params;

@@ -44,3 +62,5 @@ const orderedParams = sortKeys(params);

}, fragment, authority);
const generateResourceUri = (collectionName, params, fragment, authority = '') => generateUri(collectionName, params, fragment, authority);
const generateResourceUri = (collectionName, params, fragment, authority = '', options = {
flatten: false
}) => generateUri(collectionName, params, fragment, authority, options);
const generateOrgUri = (name, fragment, authority = '') => generateUri(IConfigCollectionName.Organizations, {

@@ -47,0 +67,0 @@ name

import {IConfigurationContributionNames}from'../interfaces/generated/generated-models.js';import'../interfaces/configuration/configuration.js';import'../interfaces/organization/organization-context.js';import'@workbench-stack/core/lib/constants/extensions.js';import'@workbench-stack/core/lib/interfaces/lifecycle/lifecycle.js';import'../interfaces/permissions.js';// not used anymore
const generateSettingsId = (target, nativeId = IConfigurationContributionNames.DefaultSettings) => {
const generateSettingsId = (target, nativeId = IConfigurationContributionNames.Settings) => {
if (!nativeId) {
nativeId = IConfigurationContributionNames.DefaultSettings;
nativeId = IConfigurationContributionNames.Settings;
}
return `${nativeId}_${target}`;
};export{generateSettingsId};//# sourceMappingURL=generated-settings-id.js.map

@@ -14,1 +14,3 @@ export * from './utils';

export * from './getLogger';
export * from './preferenceUri';
export * from './reviveUri';
{
"name": "@adminide-stack/core",
"version": "9.2.1-alpha.26",
"version": "9.2.1-alpha.33",
"description": "AdminIDE core for higher packages to depend on",

@@ -37,3 +37,3 @@ "license": "ISC",

},
"gitHead": "ec9acaa9f2f5cfc7fceee2cf93598b8822039905",
"gitHead": "6de0ec0442362d49adf1ff406f9b14f9d4f7480a",
"typescript": {

@@ -40,0 +40,0 @@ "definition": "lib/index.d.ts"

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc