@esri/hub-common 15.36.1 → 15.37.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/ArcGISContext.js +1 -1
- package/dist/esm/ArcGISContext.js.map +1 -1
- package/dist/esm/ArcGISContextManager.js +2 -2
- package/dist/esm/ArcGISContextManager.js.map +1 -1
- package/dist/esm/Hub.js +1 -1
- package/dist/esm/Hub.js.map +1 -1
- package/dist/esm/OperationStack.js +5 -5
- package/dist/esm/OperationStack.js.map +1 -1
- package/dist/esm/core/schemas/shared/CatalogSchema.js +6 -1
- package/dist/esm/core/schemas/shared/CatalogSchema.js.map +1 -1
- package/dist/esm/core/schemas/shared/HubItemEntitySchema.js +1 -1
- package/dist/esm/core/schemas/shared/HubItemEntitySchema.js.map +1 -1
- package/dist/esm/core/types/IHubContent.js.map +1 -1
- package/dist/esm/downloads/_internal/canUseExportImageFlow.js +1 -1
- package/dist/esm/downloads/_internal/canUseExportImageFlow.js.map +1 -1
- package/dist/esm/{types.js → hub-types.js} +1 -1
- package/dist/esm/hub-types.js.map +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/initiative-templates/view.js.map +1 -1
- package/dist/esm/initiatives/_internal/InitiativeSchema.js +1 -1
- package/dist/esm/initiatives/_internal/InitiativeSchema.js.map +1 -1
- package/dist/esm/initiatives/defaults.js +1 -1
- package/dist/esm/initiatives/defaults.js.map +1 -1
- package/dist/esm/initiatives/view.js +1 -1
- package/dist/esm/initiatives/view.js.map +1 -1
- package/dist/esm/items/fetch-all-pages.js +6 -6
- package/dist/esm/items/fetch-all-pages.js.map +1 -1
- package/dist/esm/items/interpolate-item-id.js +1 -1
- package/dist/esm/items/normalize-solution-template-item.js +2 -2
- package/dist/esm/items/normalize-solution-template-item.js.map +1 -1
- package/dist/esm/permissions/HubPermissionPolicies.js +2 -1
- package/dist/esm/permissions/HubPermissionPolicies.js.map +1 -1
- package/dist/esm/projects/_internal/ProjectBusinessRules.js +2 -0
- package/dist/esm/projects/_internal/ProjectBusinessRules.js.map +1 -1
- package/dist/esm/projects/_internal/ProjectSchema.js +1 -1
- package/dist/esm/projects/_internal/ProjectSchema.js.map +1 -1
- package/dist/esm/projects/defaults.js +1 -1
- package/dist/esm/projects/defaults.js.map +1 -1
- package/dist/esm/projects/view.js.map +1 -1
- package/dist/esm/resources/_internal/_validate-url-helpers.js +1 -1
- package/dist/esm/resources/_internal/_validate-url-helpers.js.map +1 -1
- package/dist/esm/resources/add-solution-resource-url-to-assets.js +1 -1
- package/dist/esm/resources/add-solution-resource-url-to-assets.js.map +1 -1
- package/dist/esm/resources/convert-solution-template-resources-to-assets.js +2 -2
- package/dist/esm/resources/convert-solution-template-resources-to-assets.js.map +1 -1
- package/dist/esm/resources/get-item-assets.js +3 -3
- package/dist/esm/resources/get-item-assets.js.map +1 -1
- package/dist/esm/resources/upload-resources-from-url.js +1 -1
- package/dist/esm/resources/validate-url.js +1 -1
- package/dist/esm/resources/validate-url.js.map +1 -1
- package/dist/esm/search/_internal/portalSearchItems.js +1 -1
- package/dist/esm/search/_internal/portalSearchItems.js.map +1 -1
- package/dist/esm/search/wellKnownCatalog.js.map +1 -1
- package/dist/esm/sites/_internal/SiteBusinessRules.js +21 -0
- package/dist/esm/sites/_internal/SiteBusinessRules.js.map +1 -1
- package/dist/esm/sites/_internal/applyDefaultCollectionMigration.js +2 -11
- package/dist/esm/sites/_internal/applyDefaultCollectionMigration.js.map +1 -1
- package/dist/esm/sites/defaultSiteCollectionKeys.js +11 -0
- package/dist/esm/sites/defaultSiteCollectionKeys.js.map +1 -0
- package/dist/esm/sites/index.js +3 -0
- package/dist/esm/sites/index.js.map +1 -1
- package/dist/esm/types/IArcGISContext.js +1 -0
- package/dist/esm/types/IArcGISContext.js.map +1 -0
- package/dist/esm/types/IArcGISContextManagerOptions.js +1 -0
- package/dist/esm/types/IArcGISContextManagerOptions.js.map +1 -0
- package/dist/esm/types/IArcGISContextOptions.js +1 -0
- package/dist/esm/types/IArcGISContextOptions.js.map +1 -0
- package/dist/esm/types/IUserResourceConfig.js +1 -0
- package/dist/esm/types/IUserResourceConfig.js.map +1 -0
- package/dist/esm/types/IUserResourceToken.js +1 -0
- package/dist/esm/types/IUserResourceToken.js.map +1 -0
- package/dist/esm/types/index.js +5 -0
- package/dist/esm/types/index.js.map +1 -1
- package/dist/esm/utils/IUserHubSettings.js +1 -0
- package/dist/esm/utils/IUserHubSettings.js.map +1 -0
- package/dist/esm/utils/IUserSiteSettings.js +4 -0
- package/dist/esm/utils/IUserSiteSettings.js.map +1 -0
- package/dist/esm/utils/batch.js +2 -2
- package/dist/esm/utils/batch.js.map +1 -1
- package/dist/esm/utils/hubUserAppResources.js.map +1 -1
- package/dist/esm/utils/index.js +2 -0
- package/dist/esm/utils/index.js.map +1 -1
- package/dist/esm/utils/internal/siteSettingsMigrations.js.map +1 -1
- package/dist/esm/utils/revertable-tasks.js +5 -5
- package/dist/esm/utils/revertable-tasks.js.map +1 -1
- package/dist/node/ArcGISContext.js.map +1 -1
- package/dist/node/ArcGISContextManager.js.map +1 -1
- package/dist/node/Hub.js.map +1 -1
- package/dist/node/OperationStack.js +5 -5
- package/dist/node/OperationStack.js.map +1 -1
- package/dist/node/core/schemas/shared/CatalogSchema.js +6 -1
- package/dist/node/core/schemas/shared/CatalogSchema.js.map +1 -1
- package/dist/node/core/schemas/shared/HubItemEntitySchema.js +3 -3
- package/dist/node/core/schemas/shared/HubItemEntitySchema.js.map +1 -1
- package/dist/node/core/types/IHubContent.js.map +1 -1
- package/dist/node/downloads/_internal/canUseExportImageFlow.js +2 -2
- package/dist/node/downloads/_internal/canUseExportImageFlow.js.map +1 -1
- package/dist/node/{types.js → hub-types.js} +1 -1
- package/dist/node/hub-types.js.map +1 -0
- package/dist/node/index.js +1 -0
- package/dist/node/index.js.map +1 -1
- package/dist/node/initiative-templates/view.js.map +1 -1
- package/dist/node/initiatives/_internal/InitiativeSchema.js +3 -3
- package/dist/node/initiatives/_internal/InitiativeSchema.js.map +1 -1
- package/dist/node/initiatives/defaults.js +5 -5
- package/dist/node/initiatives/defaults.js.map +1 -1
- package/dist/node/initiatives/view.js +2 -2
- package/dist/node/initiatives/view.js.map +1 -1
- package/dist/node/items/fetch-all-pages.js +6 -6
- package/dist/node/items/fetch-all-pages.js.map +1 -1
- package/dist/node/items/interpolate-item-id.js +1 -1
- package/dist/node/items/normalize-solution-template-item.js +2 -2
- package/dist/node/items/normalize-solution-template-item.js.map +1 -1
- package/dist/node/permissions/HubPermissionPolicies.js +2 -1
- package/dist/node/permissions/HubPermissionPolicies.js.map +1 -1
- package/dist/node/projects/_internal/ProjectBusinessRules.js +2 -0
- package/dist/node/projects/_internal/ProjectBusinessRules.js.map +1 -1
- package/dist/node/projects/_internal/ProjectSchema.js +3 -3
- package/dist/node/projects/_internal/ProjectSchema.js.map +1 -1
- package/dist/node/projects/defaults.js +3 -3
- package/dist/node/projects/defaults.js.map +1 -1
- package/dist/node/projects/view.js.map +1 -1
- package/dist/node/resources/_internal/_validate-url-helpers.js +11 -11
- package/dist/node/resources/_internal/_validate-url-helpers.js.map +1 -1
- package/dist/node/resources/add-solution-resource-url-to-assets.js +1 -1
- package/dist/node/resources/add-solution-resource-url-to-assets.js.map +1 -1
- package/dist/node/resources/convert-solution-template-resources-to-assets.js +2 -2
- package/dist/node/resources/convert-solution-template-resources-to-assets.js.map +1 -1
- package/dist/node/resources/get-item-assets.js +3 -3
- package/dist/node/resources/get-item-assets.js.map +1 -1
- package/dist/node/resources/upload-resources-from-url.js +1 -1
- package/dist/node/resources/validate-url.js +2 -2
- package/dist/node/resources/validate-url.js.map +1 -1
- package/dist/node/search/_internal/portalSearchItems.js +2 -2
- package/dist/node/search/_internal/portalSearchItems.js.map +1 -1
- package/dist/node/search/wellKnownCatalog.js.map +1 -1
- package/dist/node/sites/_internal/SiteBusinessRules.js +21 -0
- package/dist/node/sites/_internal/SiteBusinessRules.js.map +1 -1
- package/dist/node/sites/_internal/applyDefaultCollectionMigration.js +2 -11
- package/dist/node/sites/_internal/applyDefaultCollectionMigration.js.map +1 -1
- package/dist/node/sites/defaultSiteCollectionKeys.js +14 -0
- package/dist/node/sites/defaultSiteCollectionKeys.js.map +1 -0
- package/dist/node/sites/index.js +4 -0
- package/dist/node/sites/index.js.map +1 -1
- package/dist/node/types/IArcGISContext.js +3 -0
- package/dist/node/types/IArcGISContext.js.map +1 -0
- package/dist/node/types/IArcGISContextManagerOptions.js +3 -0
- package/dist/node/types/IArcGISContextManagerOptions.js.map +1 -0
- package/dist/node/types/IArcGISContextOptions.js +3 -0
- package/dist/node/types/IArcGISContextOptions.js.map +1 -0
- package/dist/node/types/IUserResourceConfig.js +3 -0
- package/dist/node/types/IUserResourceConfig.js.map +1 -0
- package/dist/node/types/IUserResourceToken.js +3 -0
- package/dist/node/types/IUserResourceToken.js.map +1 -0
- package/dist/node/types/index.js +5 -0
- package/dist/node/types/index.js.map +1 -1
- package/dist/node/utils/IUserHubSettings.js +3 -0
- package/dist/node/utils/IUserHubSettings.js.map +1 -0
- package/dist/node/utils/IUserSiteSettings.js +6 -0
- package/dist/node/utils/IUserSiteSettings.js.map +1 -0
- package/dist/node/utils/batch.js +2 -2
- package/dist/node/utils/batch.js.map +1 -1
- package/dist/node/utils/hubUserAppResources.js.map +1 -1
- package/dist/node/utils/index.js +2 -0
- package/dist/node/utils/index.js.map +1 -1
- package/dist/node/utils/internal/siteSettingsMigrations.js.map +1 -1
- package/dist/node/utils/revertable-tasks.js +5 -5
- package/dist/node/utils/revertable-tasks.js.map +1 -1
- package/dist/types/ArcGISContext.d.ts +6 -321
- package/dist/types/ArcGISContextManager.d.ts +4 -92
- package/dist/types/Hub.d.ts +3 -2
- package/dist/types/OperationError.d.ts +1 -1
- package/dist/types/OperationStack.d.ts +1 -1
- package/dist/types/access/can-edit-event.d.ts +1 -1
- package/dist/types/api.d.ts +1 -1
- package/dist/types/associations/breakAssociation.d.ts +1 -1
- package/dist/types/associations/getAssociatedEntitiesQuery.d.ts +1 -1
- package/dist/types/associations/getAssociationStats.d.ts +1 -1
- package/dist/types/associations/getPendingEntitiesQuery.d.ts +1 -1
- package/dist/types/associations/getRequestingEntitiesQuery.d.ts +1 -1
- package/dist/types/associations/internal/getIncludesAndReferencesQuery.d.ts +1 -1
- package/dist/types/associations/internal/getIncludesDoesNotReferenceQuery.d.ts +1 -1
- package/dist/types/associations/internal/getReferencesDoesNotIncludeQuery.d.ts +1 -1
- package/dist/types/associations/requestAssociation.d.ts +1 -1
- package/dist/types/associations/setEntityAssociationGroup.d.ts +1 -1
- package/dist/types/associations/wellKnownAssociationCatalogs.d.ts +1 -1
- package/dist/types/content/HubContent.d.ts +1 -1
- package/dist/types/content/_fetch.d.ts +3 -2
- package/dist/types/content/_internal/ContentUiSchemaDiscussions.d.ts +1 -1
- package/dist/types/content/_internal/ContentUiSchemaEdit.d.ts +1 -1
- package/dist/types/content/_internal/ContentUiSchemaSettings.d.ts +1 -1
- package/dist/types/content/_internal/computeProps.d.ts +1 -1
- package/dist/types/content/_internal/internalContentUtils.d.ts +4 -4
- package/dist/types/content/compose.d.ts +1 -1
- package/dist/types/content/composeHubContent.d.ts +1 -1
- package/dist/types/content/contentUtils.d.ts +1 -1
- package/dist/types/content/fetchContent.d.ts +1 -1
- package/dist/types/content/get-family.d.ts +1 -1
- package/dist/types/content/manageSchedule.d.ts +1 -1
- package/dist/types/content/modelToHubEditableContent.d.ts +1 -1
- package/dist/types/content/search.d.ts +1 -1
- package/dist/types/content/types.d.ts +1 -1
- package/dist/types/core/EntityEditor.d.ts +1 -1
- package/dist/types/core/HubItemEntity.d.ts +1 -1
- package/dist/types/core/_internal/deepContains.d.ts +1 -1
- package/dist/types/core/catalogContains.d.ts +1 -1
- package/dist/types/core/deepCatalogContains.d.ts +1 -1
- package/dist/types/core/enrichEntity.d.ts +1 -1
- package/dist/types/core/fetchHubEntity.d.ts +1 -1
- package/dist/types/core/getEntityGroups.d.ts +1 -1
- package/dist/types/core/processActionLinks.d.ts +1 -1
- package/dist/types/core/schemas/getEditorConfig.d.ts +1 -1
- package/dist/types/core/schemas/internal/events/EventGalleryCardUiSchema.d.ts +1 -1
- package/dist/types/core/schemas/internal/fetchCategoriesUiSchemaElement.d.ts +1 -1
- package/dist/types/core/schemas/internal/fetchCategoryItems.d.ts +1 -1
- package/dist/types/core/schemas/internal/follow/FollowCardUiSchema.d.ts +1 -1
- package/dist/types/core/schemas/internal/getCardEditorSchemas.d.ts +1 -1
- package/dist/types/core/schemas/internal/getEditorSchemas.d.ts +1 -1
- package/dist/types/core/schemas/internal/getLocationExtent.d.ts +1 -1
- package/dist/types/core/schemas/internal/getLocationOptions.d.ts +1 -1
- package/dist/types/core/schemas/internal/getTagItems.d.ts +1 -1
- package/dist/types/core/schemas/internal/metrics/InitiativeUiSchemaMetrics.d.ts +1 -1
- package/dist/types/core/schemas/internal/metrics/ProjectUiSchemaMetrics.d.ts +1 -1
- package/dist/types/core/schemas/internal/metrics/StatCardUiSchema.d.ts +1 -1
- package/dist/types/core/schemas/types.d.ts +1 -1
- package/dist/types/core/setEntityAccess.d.ts +1 -1
- package/dist/types/core/shareEntityWithGroups.d.ts +1 -1
- package/dist/types/core/traits/IWithStatus.d.ts +1 -1
- package/dist/types/core/traits/IWithViewSettings.d.ts +1 -1
- package/dist/types/core/types/IHubCardViewModel.d.ts +1 -1
- package/dist/types/core/types/IHubContent.d.ts +1 -1
- package/dist/types/core/types/IHubContentEnrichments.d.ts +1 -1
- package/dist/types/core/types/IHubItemEntity.d.ts +1 -1
- package/dist/types/core/types/IHubUser.d.ts +1 -1
- package/dist/types/core/types/IItemEnrichments.d.ts +1 -1
- package/dist/types/core/unshareEntityWithGroups.d.ts +1 -1
- package/dist/types/core/updateHubEntity.d.ts +1 -1
- package/dist/types/discussions/HubDiscussion.d.ts +1 -1
- package/dist/types/discussions/_internal/DiscussionUiSchemaCreate.d.ts +1 -1
- package/dist/types/discussions/_internal/DiscussionUiSchemaEdit.d.ts +1 -1
- package/dist/types/discussions/_internal/DiscussionUiSchemaSettings.d.ts +1 -1
- package/dist/types/discussions/_internal/computeProps.d.ts +1 -1
- package/dist/types/discussions/api/types.d.ts +1 -1
- package/dist/types/discussions/defaults.d.ts +1 -1
- package/dist/types/discussions/edit.d.ts +1 -1
- package/dist/types/discussions/fetch.d.ts +1 -1
- package/dist/types/downloads/_internal/getExportItemDataUrl.d.ts +1 -1
- package/dist/types/downloads/canUseHubDownloadApi.d.ts +1 -1
- package/dist/types/downloads/types.d.ts +1 -1
- package/dist/types/events/HubEvent.d.ts +1 -1
- package/dist/types/events/_internal/EventUiSchemaAttendeesSettings.d.ts +1 -1
- package/dist/types/events/_internal/EventUiSchemaCreate.d.ts +1 -1
- package/dist/types/events/_internal/EventUiSchemaEdit.d.ts +1 -1
- package/dist/types/events/_internal/buildEventAssociations.d.ts +1 -1
- package/dist/types/events/_internal/buildReferencedContentSchema.d.ts +1 -1
- package/dist/types/events/_internal/shareEventWithGroups.d.ts +1 -1
- package/dist/types/events/_internal/unshareEventWithGroups.d.ts +1 -1
- package/dist/types/events/api/types.d.ts +1 -1
- package/dist/types/events/edit.d.ts +1 -1
- package/dist/types/events/fetch.d.ts +1 -1
- package/dist/types/events/getEventGroups.d.ts +1 -1
- package/dist/types/extent.d.ts +1 -1
- package/dist/types/groups/HubGroup.d.ts +1 -1
- package/dist/types/groups/HubGroups.d.ts +1 -1
- package/dist/types/groups/_internal/GroupUiSchemaCreate.d.ts +1 -1
- package/dist/types/groups/_internal/GroupUiSchemaCreateAssociation.d.ts +1 -1
- package/dist/types/groups/_internal/GroupUiSchemaCreateEdit.d.ts +1 -1
- package/dist/types/groups/_internal/GroupUiSchemaCreateFollowers.d.ts +1 -1
- package/dist/types/groups/_internal/GroupUiSchemaCreateView.d.ts +1 -1
- package/dist/types/groups/_internal/GroupUiSchemaDiscussions.d.ts +1 -1
- package/dist/types/groups/_internal/GroupUiSchemaEdit.d.ts +1 -1
- package/dist/types/groups/_internal/GroupUiSchemaSettings.d.ts +1 -1
- package/dist/types/groups/_internal/convertGroupToHubGroup.d.ts +1 -1
- package/dist/types/groups/_internal/enrichments.d.ts +1 -1
- package/dist/types/groups/add-users-workflow/add-users-to-group.d.ts +1 -1
- package/dist/types/groups/add-users-workflow/interfaces.d.ts +1 -1
- package/dist/types/groups/getWellKnownGroup.d.ts +1 -1
- package/dist/types/{types.d.ts → hub-types.d.ts} +4 -0
- package/dist/types/i18n/get-culture.d.ts +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/initiative-templates/HubInitiativeTemplate.d.ts +1 -1
- package/dist/types/initiative-templates/_internal/InitiativeTemplateUiSchemaEdit.d.ts +1 -1
- package/dist/types/initiative-templates/_internal/computeProps.d.ts +1 -1
- package/dist/types/initiative-templates/defaults.d.ts +1 -1
- package/dist/types/initiative-templates/fetch.d.ts +1 -1
- package/dist/types/initiatives/HubInitiative.d.ts +1 -1
- package/dist/types/initiatives/HubInitiatives.d.ts +1 -1
- package/dist/types/initiatives/_internal/InitiativeUiSchemaAssociations.d.ts +1 -1
- package/dist/types/initiatives/_internal/InitiativeUiSchemaCreate.d.ts +1 -1
- package/dist/types/initiatives/_internal/InitiativeUiSchemaCreate2.d.ts +1 -1
- package/dist/types/initiatives/_internal/InitiativeUiSchemaEdit.d.ts +1 -1
- package/dist/types/initiatives/_internal/InitiativeUiSchemaSettings.d.ts +1 -1
- package/dist/types/initiatives/_internal/applyInitiativeMigrations.d.ts +1 -1
- package/dist/types/initiatives/_internal/computeProps.d.ts +1 -1
- package/dist/types/initiatives/defaults.d.ts +1 -1
- package/dist/types/initiatives/view.d.ts +2 -2
- package/dist/types/items/_enrichments.d.ts +1 -1
- package/dist/types/items/_internal/_prepare-upload-requests.d.ts +1 -1
- package/dist/types/items/_internal/ensureUniqueEntitySlug.d.ts +1 -1
- package/dist/types/items/fail-safe-update.d.ts +1 -1
- package/dist/types/items/fetch-all-pages.d.ts +1 -1
- package/dist/types/items/follow.d.ts +1 -1
- package/dist/types/items/get-model-from-options.d.ts +1 -1
- package/dist/types/items/interpolate-item-id.d.ts +1 -1
- package/dist/types/items/normalize-solution-template-item.d.ts +1 -1
- package/dist/types/items/replace-item-id.d.ts +1 -1
- package/dist/types/items/unprotect-model.d.ts +1 -1
- package/dist/types/metrics/resolveMetric.d.ts +1 -1
- package/dist/types/models/index.d.ts +1 -1
- package/dist/types/models/serializeModel.d.ts +1 -1
- package/dist/types/newsletters/api/types.d.ts +1 -1
- package/dist/types/newsletters-scheduler/api/types.d.ts +1 -1
- package/dist/types/pages/HubPage.d.ts +1 -1
- package/dist/types/pages/HubPages.d.ts +1 -1
- package/dist/types/pages/_internal/PageUiSchemaCreate.d.ts +1 -1
- package/dist/types/pages/_internal/PageUiSchemaEdit.d.ts +1 -1
- package/dist/types/pages/_internal/computeProps.d.ts +1 -1
- package/dist/types/pages/defaults.d.ts +1 -1
- package/dist/types/permissions/_internal/PermissionCheckFunction.d.ts +1 -1
- package/dist/types/permissions/_internal/checkAssertion.d.ts +1 -1
- package/dist/types/permissions/_internal/checkAssertions.d.ts +1 -1
- package/dist/types/permissions/_internal/checkAuthentication.d.ts +1 -1
- package/dist/types/permissions/_internal/checkAvailability.d.ts +1 -1
- package/dist/types/permissions/_internal/checkDelete.d.ts +1 -1
- package/dist/types/permissions/_internal/checkEdit.d.ts +1 -1
- package/dist/types/permissions/_internal/checkEntityFeature.d.ts +1 -1
- package/dist/types/permissions/_internal/checkEntityPolicy.d.ts +1 -1
- package/dist/types/permissions/_internal/checkEnvironment.d.ts +1 -1
- package/dist/types/permissions/_internal/checkLicense.d.ts +1 -1
- package/dist/types/permissions/_internal/checkOwner.d.ts +1 -1
- package/dist/types/permissions/_internal/checkParents.d.ts +1 -1
- package/dist/types/permissions/_internal/checkPrivileges.d.ts +1 -1
- package/dist/types/permissions/_internal/checkServiceStatus.d.ts +1 -1
- package/dist/types/permissions/checkPermission.d.ts +1 -1
- package/dist/types/projects/HubProject.d.ts +1 -1
- package/dist/types/projects/_internal/ProjectUiSchemaCreate.d.ts +1 -1
- package/dist/types/projects/_internal/ProjectUiSchemaCreate2.d.ts +1 -1
- package/dist/types/projects/_internal/ProjectUiSchemaEdit.d.ts +1 -1
- package/dist/types/projects/_internal/ProjectUiSchemaSettings.d.ts +1 -1
- package/dist/types/projects/_internal/computeProps.d.ts +1 -1
- package/dist/types/projects/defaults.d.ts +1 -1
- package/dist/types/projects/fetch.d.ts +1 -1
- package/dist/types/request.d.ts +1 -1
- package/dist/types/resources/_add-token-to-resource-url.d.ts +1 -1
- package/dist/types/resources/_internal/_validate-url-helpers.d.ts +1 -1
- package/dist/types/resources/add-solution-resource-url-to-assets.d.ts +1 -1
- package/dist/types/resources/convert-solution-template-resources-to-assets.d.ts +1 -1
- package/dist/types/resources/get-item-assets.d.ts +1 -1
- package/dist/types/resources/get-item-thumbnail-url.d.ts +1 -1
- package/dist/types/resources/upload-resources-from-url.d.ts +1 -1
- package/dist/types/search/Catalog.d.ts +1 -1
- package/dist/types/search/Collection.d.ts +1 -1
- package/dist/types/search/_internal/getWorkflowForType.d.ts +1 -1
- package/dist/types/search/_internal/hubEventsHelpers/processFilters.d.ts +1 -1
- package/dist/types/search/_internal/hubSearchItemsHelpers/ogcItemToSearchResult.d.ts +1 -1
- package/dist/types/search/_internal/portalSearchItems.d.ts +1 -1
- package/dist/types/search/fetchEntityCatalog.d.ts +1 -1
- package/dist/types/search/getAddContentConfig.d.ts +1 -1
- package/dist/types/search/getCatalogGroups.d.ts +3 -3
- package/dist/types/search/searchCatalogs.d.ts +1 -1
- package/dist/types/search/searchEntityCatalogs.d.ts +1 -1
- package/dist/types/search/types/IHubSearchOptions.d.ts +1 -1
- package/dist/types/search/types/IHubSearchResult.d.ts +1 -1
- package/dist/types/search/utils.d.ts +1 -1
- package/dist/types/search/wellKnownCatalog.d.ts +2 -2
- package/dist/types/sites/HubSite.d.ts +1 -1
- package/dist/types/sites/HubSites.d.ts +1 -1
- package/dist/types/sites/_internal/SiteBusinessRules.d.ts +1 -1
- package/dist/types/sites/_internal/SiteUiSchemaCreate.d.ts +1 -1
- package/dist/types/sites/_internal/SiteUiSchemaDiscussions.d.ts +1 -1
- package/dist/types/sites/_internal/SiteUiSchemaEdit.d.ts +1 -1
- package/dist/types/sites/_internal/SiteUiSchemaFollowers.d.ts +1 -1
- package/dist/types/sites/_internal/SiteUiSchemaSettings.d.ts +1 -1
- package/dist/types/sites/_internal/_apply-site-schema.d.ts +1 -1
- package/dist/types/sites/_internal/_enforce-lowercase-domains.d.ts +1 -1
- package/dist/types/sites/_internal/_ensure-catalog.d.ts +1 -1
- package/dist/types/sites/_internal/_ensure-telemetry.d.ts +1 -1
- package/dist/types/sites/_internal/_migrate-event-list-card-configs.d.ts +1 -1
- package/dist/types/sites/_internal/_migrate-feed-config.d.ts +1 -1
- package/dist/types/sites/_internal/_migrate-link-underlines-capability.d.ts +1 -1
- package/dist/types/sites/_internal/_migrate-telemetry-config.d.ts +1 -1
- package/dist/types/sites/_internal/_purge-non-guids-from-catalog.d.ts +1 -1
- package/dist/types/sites/_internal/applyCatalogStructureMigration.d.ts +1 -1
- package/dist/types/sites/_internal/applyDefaultCollectionMigration.d.ts +1 -1
- package/dist/types/sites/_internal/applyPermissionMigration.d.ts +1 -1
- package/dist/types/sites/_internal/capabilities/convertFeaturesToLegacyCapabilities.d.ts +1 -1
- package/dist/types/sites/_internal/capabilities/migrateLegacyCapabilitiesToFeatures.d.ts +1 -1
- package/dist/types/sites/_internal/computeProps.d.ts +1 -1
- package/dist/types/sites/_internal/convertCatalogToLegacyFormat.d.ts +1 -1
- package/dist/types/sites/_internal/ensureBaseTelemetry.d.ts +1 -1
- package/dist/types/sites/_internal/handleDomainChanges.d.ts +1 -1
- package/dist/types/sites/_internal/migrateBadBasemap.d.ts +1 -1
- package/dist/types/sites/_internal/migrateWebMappingApplicationSites.d.ts +1 -1
- package/dist/types/sites/_internal/reflectCollectionsToSearchCategories.d.ts +1 -1
- package/dist/types/sites/defaultSiteCollectionKeys.d.ts +2 -0
- package/dist/types/sites/defaults.d.ts +1 -1
- package/dist/types/sites/domains/_get-auth-header.d.ts +1 -1
- package/dist/types/sites/domains/add-domain.d.ts +1 -1
- package/dist/types/sites/domains/addSiteDomains.d.ts +1 -1
- package/dist/types/sites/domains/domain-exists-portal.d.ts +1 -1
- package/dist/types/sites/domains/domain-exists.d.ts +1 -1
- package/dist/types/sites/domains/ensure-unique-domain-name.d.ts +1 -1
- package/dist/types/sites/domains/get-domains-for-site.d.ts +1 -1
- package/dist/types/sites/domains/get-unique-domain-name-portal.d.ts +1 -1
- package/dist/types/sites/domains/get-unique-domain-name.d.ts +1 -1
- package/dist/types/sites/domains/is-domain-for-legacy-site.d.ts +1 -1
- package/dist/types/sites/domains/is-domain-used-elsewhere.d.ts +1 -1
- package/dist/types/sites/domains/is-valid-domain.d.ts +1 -1
- package/dist/types/sites/domains/lookup-domain.d.ts +1 -1
- package/dist/types/sites/domains/remove-domain.d.ts +1 -1
- package/dist/types/sites/domains/remove-domains-by-site-id.d.ts +1 -1
- package/dist/types/sites/domains/removeDomainByHostname.d.ts +1 -1
- package/dist/types/sites/domains/update-domain.d.ts +2 -2
- package/dist/types/sites/drafts/build-draft.d.ts +1 -1
- package/dist/types/sites/feed-configuration.d.ts +1 -1
- package/dist/types/sites/feeds/previewFeed.d.ts +1 -1
- package/dist/types/sites/fetchSiteModel.d.ts +2 -2
- package/dist/types/sites/get-catalog-from-site-model.d.ts +1 -1
- package/dist/types/sites/get-site-by-id.d.ts +2 -2
- package/dist/types/sites/index.d.ts +1 -0
- package/dist/types/sites/registerSiteAsApplication.d.ts +1 -1
- package/dist/types/sites/reharvestSiteCatalog.d.ts +1 -1
- package/dist/types/sites/upgrade-site-schema.d.ts +1 -1
- package/dist/types/surveys/HubSurvey.d.ts +1 -1
- package/dist/types/surveys/_internal/SurveyUiSchemaEdit.d.ts +1 -1
- package/dist/types/surveys/_internal/SurveyUiSchemaSettings.d.ts +1 -1
- package/dist/types/surveys/_internal/computeProps.d.ts +1 -1
- package/dist/types/surveys/fetch.d.ts +1 -1
- package/dist/types/surveys/utils/get-input-feature-service-model.d.ts +1 -1
- package/dist/types/surveys/utils/get-s123-edit-url.d.ts +1 -1
- package/dist/types/surveys/utils/get-s123-share-url.d.ts +1 -1
- package/dist/types/surveys/utils/get-source-feature-service-model-from-fieldworker.d.ts +1 -1
- package/dist/types/surveys/utils/get-stakeholder-model.d.ts +1 -1
- package/dist/types/surveys/utils/get-survey-models.d.ts +1 -1
- package/dist/types/templates/HubTemplate.d.ts +1 -1
- package/dist/types/templates/_internal/TemplateUiSchemaEdit.d.ts +1 -1
- package/dist/types/templates/_internal/computeProps.d.ts +1 -1
- package/dist/types/templates/defaults.d.ts +1 -1
- package/dist/types/templates/fetch.d.ts +1 -1
- package/dist/types/types/IArcGISContext.d.ts +258 -0
- package/dist/types/types/IArcGISContextManagerOptions.d.ts +86 -0
- package/dist/types/types/IArcGISContextOptions.d.ts +78 -0
- package/dist/types/types/IUserResourceConfig.d.ts +5 -0
- package/dist/types/types/IUserResourceToken.d.ts +4 -0
- package/dist/types/types/index.d.ts +5 -0
- package/dist/types/urls/get-campaign-url.d.ts +1 -1
- package/dist/types/urls/get-item-api-url.d.ts +1 -1
- package/dist/types/urls/get-item-data-url.d.ts +1 -1
- package/dist/types/urls/get-item-home-url.d.ts +1 -1
- package/dist/types/urls/get-portal-api-url.d.ts +1 -1
- package/dist/types/urls/get-portal-url.d.ts +1 -1
- package/dist/types/urls/getCardModelUrl.d.ts +1 -1
- package/dist/types/urls/getContentHomeUrl.d.ts +1 -1
- package/dist/types/urls/getGroupHomeUrl.d.ts +1 -1
- package/dist/types/urls/getUserHomeUrl.d.ts +1 -1
- package/dist/types/urls/is-safe-redirect-url.d.ts +1 -1
- package/dist/types/users/HubUser.d.ts +1 -1
- package/dist/types/users/HubUsers.d.ts +2 -2
- package/dist/types/users/_internal/UserUiSchemaSettings.d.ts +1 -1
- package/dist/types/users/_internal/computeProps.d.ts +1 -1
- package/dist/types/users/_internal/enrichments.d.ts +1 -1
- package/dist/types/utils/IUserHubSettings.d.ts +32 -0
- package/dist/types/utils/IUserSiteSettings.d.ts +8 -0
- package/dist/types/utils/batch.d.ts +1 -1
- package/dist/types/utils/create-operation-pipeline.d.ts +1 -1
- package/dist/types/utils/fail-safe.d.ts +1 -1
- package/dist/types/utils/hubUserAppResources.d.ts +3 -41
- package/dist/types/utils/index.d.ts +2 -0
- package/dist/types/utils/internal/clearUserHubSettings.d.ts +2 -2
- package/dist/types/utils/internal/clearUserSiteSettings.d.ts +2 -2
- package/dist/types/utils/internal/fetchAndMigrateUserHubSettings.d.ts +1 -1
- package/dist/types/utils/internal/resolveDynamicValue.d.ts +1 -1
- package/dist/types/utils/internal/resolveDynamicValues.d.ts +1 -1
- package/dist/types/utils/internal/resolveItemQueryValues.d.ts +1 -1
- package/dist/types/utils/internal/resolvePortalValues.d.ts +1 -1
- package/dist/types/utils/internal/resolveServiceQueryValues.d.ts +1 -1
- package/dist/types/utils/internal/setEntityStatusKeyword.d.ts +1 -1
- package/dist/types/utils/internal/siteSettingsMigrations.d.ts +2 -1
- package/dist/types/utils/internal/updateCommunityOrgSettings.d.ts +1 -1
- package/dist/types/utils/internal/updatePortalOrgSettings.d.ts +1 -1
- package/dist/types/utils/revertable-tasks.d.ts +1 -1
- package/dist/types/versioning/_internal/getIncludeListFromItemType.d.ts +1 -1
- package/dist/types/versioning/_internal/getVersionData.d.ts +1 -1
- package/dist/types/versioning/createVersion.d.ts +2 -2
- package/dist/types/versioning/deleteVersion.d.ts +1 -1
- package/dist/types/versioning/getVersion.d.ts +1 -1
- package/dist/types/versioning/searchVersions.d.ts +1 -1
- package/dist/types/versioning/updateVersion.d.ts +2 -2
- package/dist/types/versioning/updateVersionMetadata.d.ts +1 -1
- package/dist/types/versioning/utils.d.ts +1 -1
- package/package.json +1 -1
- package/dist/esm/types.js.map +0 -1
- package/dist/node/types.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HubEntity, HubEntityType } from "../../core/types";
|
|
2
2
|
import { IQuery } from "../../search/types";
|
|
3
|
-
import { IArcGISContext } from "../../
|
|
3
|
+
import type { IArcGISContext } from "../../types/IArcGISContext";
|
|
4
4
|
/**
|
|
5
5
|
* builds a query that will return entities that are
|
|
6
6
|
* "included" AND "referenced"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HubEntity, HubEntityType } from "../../core/types";
|
|
2
2
|
import { IQuery } from "../../search/types";
|
|
3
|
-
import { IArcGISContext } from "../../
|
|
3
|
+
import type { IArcGISContext } from "../../types/IArcGISContext";
|
|
4
4
|
/**
|
|
5
5
|
* builds a query that will return entities that are
|
|
6
6
|
* "included" but NOT "referenced"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HubEntity, HubEntityType } from "../../core/types";
|
|
2
2
|
import { IQuery } from "../../search/types";
|
|
3
|
-
import { IArcGISContext } from "../../
|
|
3
|
+
import type { IArcGISContext } from "../../types/IArcGISContext";
|
|
4
4
|
/**
|
|
5
5
|
* builds a query that will return entities that are
|
|
6
6
|
* "referenced" but NOT "included"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IArcGISContext } from "../
|
|
1
|
+
import type { IArcGISContext } from "../types/IArcGISContext";
|
|
2
2
|
import { HubEntity, HubEntityType } from "../core/types";
|
|
3
3
|
import { IHubCatalog } from "../search/types";
|
|
4
4
|
import { WellKnownCatalog } from "../search/wellKnownCatalog";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IArcGISContext } from "../
|
|
1
|
+
import type { IArcGISContext } from "../types/IArcGISContext";
|
|
2
2
|
import { HubItemEntity } from "../core/HubItemEntity";
|
|
3
3
|
import { IEditorConfig } from "../core/schemas/types";
|
|
4
4
|
import { IWithEditorBehavior } from "../core/behaviors/IWithEditorBehavior";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IItem } from "@esri/arcgis-rest-portal";
|
|
2
|
-
import {
|
|
2
|
+
import { ItemOrServerEnrichment } from "../items/_enrichments";
|
|
3
|
+
import { IHubRequestOptions, IHubGeography, IEnrichmentErrorInfo } from "../hub-types";
|
|
3
4
|
import { IHubExtent } from "./compose";
|
|
4
5
|
/**
|
|
5
6
|
* get the default list of enrichments to fetch for content
|
|
@@ -7,7 +8,7 @@ import { IHubExtent } from "./compose";
|
|
|
7
8
|
* @returns the default list of enrichments to fetch for content
|
|
8
9
|
* @private
|
|
9
10
|
*/
|
|
10
|
-
export declare const getContentEnrichments: (item: IItem) =>
|
|
11
|
+
export declare const getContentEnrichments: (item: IItem) => ItemOrServerEnrichment[];
|
|
11
12
|
/**
|
|
12
13
|
* The set of enrichments that we fetch from the Hub API
|
|
13
14
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IRequestOptions } from "@esri/arcgis-rest-request";
|
|
2
|
-
import { IModel } from "../../types";
|
|
2
|
+
import { IModel } from "../../hub-types";
|
|
3
3
|
import { IHubEditableContent } from "../../core/types/IHubEditableContent";
|
|
4
4
|
import { IHubEditableContentEnrichments } from "../../items/_enrichments";
|
|
5
5
|
export declare function computeProps(model: IModel, content: Partial<IHubEditableContent>, requestOptions: IRequestOptions, enrichments?: IHubEditableContentEnrichments): IHubEditableContent;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IItem, IPortal } from "@esri/arcgis-rest-portal";
|
|
2
2
|
import { IExtent, ILayerDefinition, ISpatialReference, IUser } from "@esri/arcgis-rest-types";
|
|
3
3
|
import { IHubContent, IHubLocation, PublisherSource } from "../../core/types";
|
|
4
|
-
import { IHubGeography, GeographyProvenance, IHubRequestOptions } from "../../types";
|
|
4
|
+
import { IHubGeography, GeographyProvenance, IHubRequestOptions } from "../../hub-types";
|
|
5
5
|
import { IHubAdditionalResource } from "../../core/types/IHubAdditionalResource";
|
|
6
6
|
import { IRequestOptions } from "@esri/arcgis-rest-request";
|
|
7
7
|
import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
|
|
@@ -41,7 +41,7 @@ export declare const setContentBoundary: (content: IHubContent, boundary: Geogra
|
|
|
41
41
|
identifier: string;
|
|
42
42
|
permissions: {
|
|
43
43
|
visibility: "private" | "public" | "org";
|
|
44
|
-
control?: import("../../types").AccessControl;
|
|
44
|
+
control?: import("../../hub-types").AccessControl;
|
|
45
45
|
groups?: import("@esri/arcgis-rest-portal").IGroup[];
|
|
46
46
|
};
|
|
47
47
|
family?: "map" | "template" | "document" | "content" | "discussion" | "event" | "initiative" | "organization" | "project" | "site" | "app" | "dataset" | "feedback" | "people" | "team" | "channel" | "eventAttendee";
|
|
@@ -63,7 +63,7 @@ export declare const setContentBoundary: (content: IHubContent, boundary: Geogra
|
|
|
63
63
|
portalHomeUrl?: string;
|
|
64
64
|
portalApiUrl?: string;
|
|
65
65
|
portalDataUrl?: string;
|
|
66
|
-
actionLinks?: import("../../types").IActionLink[];
|
|
66
|
+
actionLinks?: import("../../hub-types").IActionLink[];
|
|
67
67
|
hubActions?: object;
|
|
68
68
|
layer?: Partial<ILayerDefinition>;
|
|
69
69
|
isProxied?: boolean;
|
|
@@ -79,7 +79,7 @@ export declare const setContentBoundary: (content: IHubContent, boundary: Geogra
|
|
|
79
79
|
groupIds?: string[];
|
|
80
80
|
ownerUser?: IUser;
|
|
81
81
|
org?: Partial<IPortal>;
|
|
82
|
-
errors?: import("../../types").IEnrichmentErrorInfo[];
|
|
82
|
+
errors?: import("../../hub-types").IEnrichmentErrorInfo[];
|
|
83
83
|
server?: Partial<import("@esri/arcgis-rest-feature-layer").IFeatureServiceDefinition>;
|
|
84
84
|
layers?: Partial<ILayerDefinition>[];
|
|
85
85
|
recordCount?: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IItem } from "@esri/arcgis-rest-portal";
|
|
2
2
|
import { ILayerDefinition } from "@esri/arcgis-rest-feature-layer";
|
|
3
|
-
import { BBox, IHubRequestOptions } from "../types";
|
|
3
|
+
import { BBox, IHubRequestOptions } from "../hub-types";
|
|
4
4
|
import { IHubContentEnrichments, IHubContent } from "../core";
|
|
5
5
|
/**
|
|
6
6
|
* The extent returned by the Hub API
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IHubEditableContentEnrichments } from "../items/_enrichments";
|
|
2
2
|
import { IHubEditableContent } from "../core/types/IHubEditableContent";
|
|
3
3
|
import { IItem } from "@esri/arcgis-rest-portal";
|
|
4
|
-
import { IHubRequestOptions } from "../types";
|
|
4
|
+
import { IHubRequestOptions } from "../hub-types";
|
|
5
5
|
/**
|
|
6
6
|
* composes a Hub content entity from an item and optional enrichments
|
|
7
7
|
* @param item item to compose content from
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IItem } from "@esri/arcgis-rest-portal";
|
|
2
|
-
import { IModel } from "../types";
|
|
2
|
+
import { IModel } from "../hub-types";
|
|
3
3
|
import { IHubContent, IHubEditableContent } from "../core";
|
|
4
4
|
import { DatasetResource, IHubContentStatus } from "./types";
|
|
5
5
|
import { IGetLayerOptions } from "@esri/arcgis-rest-feature-layer";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IHubSchedule, IHubScheduleResponse } from "../core/types/IHubSchedule";
|
|
2
2
|
import { AccessLevel, IHubEditableContent } from "../core";
|
|
3
3
|
import { IUserRequestOptions } from "@esri/arcgis-rest-auth";
|
|
4
|
-
import { IHubRequestOptions } from "../types";
|
|
4
|
+
import { IHubRequestOptions } from "../hub-types";
|
|
5
5
|
/**
|
|
6
6
|
* Get the schedule for an item. If no schedule is found, returns null.
|
|
7
7
|
* @param itemId The item to get the schedule for
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IRequestOptions } from "@esri/arcgis-rest-request";
|
|
2
|
-
import { IModel } from "../types";
|
|
2
|
+
import { IModel } from "../hub-types";
|
|
3
3
|
import { IItemAndIServerEnrichments } from "../items/_enrichments";
|
|
4
4
|
import { IHubEditableContent } from "../core/types/IHubEditableContent";
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IArcGISContext } from "../
|
|
1
|
+
import type { IArcGISContext } from "../types/IArcGISContext";
|
|
2
2
|
import { IEditorConfig, EntityEditorType } from "./schemas/types";
|
|
3
3
|
import { IWithEditorBehavior } from "./behaviors";
|
|
4
4
|
import { HubEntity } from "./types/HubEntity";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IGroup } from "@esri/arcgis-rest-portal";
|
|
2
|
-
import { IArcGISContext } from "../
|
|
2
|
+
import type { IArcGISContext } from "../types/IArcGISContext";
|
|
3
3
|
import { IPermissionAccessResponse, IEntityPermissionPolicy, Permission } from "../permissions";
|
|
4
4
|
import { IWithSharingBehavior, IWithStoreBehavior, IWithFeaturedImageBehavior, IWithPermissionBehavior } from "./behaviors";
|
|
5
5
|
import { IWithThumbnailBehavior } from "./behaviors/IWithThumbnailBehavior";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IHubCatalog } from "../search/types/IHubCatalog";
|
|
2
2
|
import { IContainsOptions, IContainsResponse } from "../search/types/types";
|
|
3
|
-
import { IArcGISContext } from "../
|
|
3
|
+
import type { IArcGISContext } from "../types/IArcGISContext";
|
|
4
4
|
/**
|
|
5
5
|
* Given an identifier and a catalog, check if the catalog contains the identifier.
|
|
6
6
|
* Optionally, pass in the
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IArcGISContext } from "../
|
|
1
|
+
import type { IArcGISContext } from "../types/IArcGISContext";
|
|
2
2
|
import { IHubCatalog } from "../search/types/IHubCatalog";
|
|
3
3
|
import { IContainsResponse } from "../search/types/types";
|
|
4
4
|
import { HubEntityType } from "./types/HubEntityType";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HubEntity } from "./types/HubEntity";
|
|
2
2
|
import { HubEntityType } from "./types/HubEntityType";
|
|
3
|
-
import { IArcGISContext } from "../
|
|
3
|
+
import type { IArcGISContext } from "../types/IArcGISContext";
|
|
4
4
|
/**
|
|
5
5
|
* Fetch a Hub entity by identifier (id or slug)
|
|
6
6
|
* @param type
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IGroup } from "@esri/arcgis-rest-portal";
|
|
2
|
-
import { IArcGISContext } from "../
|
|
2
|
+
import type { IArcGISContext } from "../types/IArcGISContext";
|
|
3
3
|
import { IHubItemEntity } from "./types/IHubItemEntity";
|
|
4
4
|
/**
|
|
5
5
|
* Fetches an array of groups the entity is shared with
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EntityEditorType, IEditorConfig, StatCardEditorType, FollowCardEditorType, EventGalleryCardEditorType } from "./types";
|
|
2
|
-
import { IArcGISContext } from "../../
|
|
2
|
+
import type { IArcGISContext } from "../../types/IArcGISContext";
|
|
3
3
|
import { EntityEditorOptions, IStatCardEditorOptions, IFollowCardEditorOptions, IEventGalleryCardEditorOptions } from "./internal/EditorOptions";
|
|
4
4
|
/**
|
|
5
5
|
* NOTE: We use the concept of function overloading to write getEditorConfig.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IArcGISContext } from "../../../../
|
|
1
|
+
import type { IArcGISContext } from "../../../../types/IArcGISContext";
|
|
2
2
|
import { IUiSchema } from "../../types";
|
|
3
3
|
import { IEventGalleryCardEditorOptions } from "../EditorOptions";
|
|
4
4
|
export declare function buildUiSchema(i18nScope: string, options: IEventGalleryCardEditorOptions, context: IArcGISContext): Promise<IUiSchema>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IArcGISContext } from "../../../../
|
|
1
|
+
import type { IArcGISContext } from "../../../../types/IArcGISContext";
|
|
2
2
|
import { IFollowCardEditorOptions } from "../EditorOptions";
|
|
3
3
|
import { IUiSchema } from "../../types";
|
|
4
4
|
export declare const buildUiSchema: (i18nScope: string, config: IFollowCardEditorOptions, context: IArcGISContext) => IUiSchema;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CardEditorType, IEditorConfig } from "../types";
|
|
2
2
|
import { CardEditorOptions } from "./EditorOptions";
|
|
3
|
-
import { IArcGISContext } from "../../../
|
|
3
|
+
import type { IArcGISContext } from "../../../types/IArcGISContext";
|
|
4
4
|
/**
|
|
5
5
|
* get the editor schema and uiSchema defined for a layout card.
|
|
6
6
|
* The schema and uiSchema that are returned can be used to
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EditorType, IEditorConfig } from "../types";
|
|
2
2
|
import { EditorOptions } from "./EditorOptions";
|
|
3
|
-
import { IArcGISContext } from "../../../
|
|
3
|
+
import type { IArcGISContext } from "../../../types/IArcGISContext";
|
|
4
4
|
/**
|
|
5
5
|
* get the editor schema and uiSchema defined for an editor (either an entity or a card).
|
|
6
6
|
* The schema and uiSchema that are returned can be used to
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSONSchema } from "json-schema-typed";
|
|
2
2
|
import { CardEditorOptions, EntityEditorOptions } from "./internal/EditorOptions";
|
|
3
|
-
import { IArcGISContext } from "../../
|
|
3
|
+
import type { IArcGISContext } from "../../types/IArcGISContext";
|
|
4
4
|
import { HubActionLink } from "../types";
|
|
5
5
|
export interface IEditorConfig {
|
|
6
6
|
schema: IConfigurationSchema;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IArcGISContext } from "../../
|
|
1
|
+
import type { IArcGISContext } from "../../types/IArcGISContext";
|
|
2
2
|
import { IHubSearchResult } from "../../search/types/IHubSearchResult";
|
|
3
3
|
import { AccessLevel } from "./types";
|
|
4
4
|
export interface IHubCardViewModel {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IItem, IGroup } from "@esri/arcgis-rest-portal";
|
|
2
2
|
import { ILayerDefinition } from "@esri/arcgis-rest-feature-layer";
|
|
3
|
-
import { AccessControl, HubFamily, IActionLink, Visibility } from "../../types";
|
|
3
|
+
import { AccessControl, HubFamily, IActionLink, Visibility } from "../../hub-types";
|
|
4
4
|
import { IStructuredLicense } from "../../items/get-structured-license";
|
|
5
5
|
import { IHubContentEnrichments } from "./IHubContentEnrichments";
|
|
6
6
|
import { IHubAdditionalResource } from "./IHubAdditionalResource";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IHubGeography } from "../../types";
|
|
1
|
+
import { IHubGeography } from "../../hub-types";
|
|
2
2
|
import { IItemEnrichments } from "./IItemEnrichments";
|
|
3
3
|
import { IServerEnrichments } from "./IServerEnrichments";
|
|
4
4
|
export interface IHubContentEnrichments extends IItemEnrichments, IServerEnrichments {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IHubEntityBase } from "./IHubEntityBase";
|
|
2
|
-
import { IHubGeography } from "../../types";
|
|
2
|
+
import { IHubGeography } from "../../hub-types";
|
|
3
3
|
import { AccessLevel, MembershipAccess } from "./types";
|
|
4
4
|
import { IHubLocation } from "./IHubLocation";
|
|
5
5
|
import { IWithFollowers } from "../traits/IWithFollowers";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IUser, IPortal, IItem } from "@esri/arcgis-rest-portal";
|
|
2
|
-
import { IEnrichmentErrorInfo } from "../../types";
|
|
2
|
+
import { IEnrichmentErrorInfo } from "../../hub-types";
|
|
3
3
|
export interface IItemEnrichments {
|
|
4
4
|
/**
|
|
5
5
|
* Enable the item to be re-fetched so we get more props
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IWithSharingBehavior, IWithStoreBehavior } from "../core/behaviors";
|
|
2
|
-
import { IArcGISContext } from "../
|
|
2
|
+
import type { IArcGISContext } from "../types/IArcGISContext";
|
|
3
3
|
import { IEntityEditorContext, IHubDiscussion, IHubDiscussionEditor } from "../core/types";
|
|
4
4
|
import { HubItemEntity } from "../core/HubItemEntity";
|
|
5
5
|
import { IEditorConfig } from "../core/schemas/types";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IRequestOptions } from "@esri/arcgis-rest-request";
|
|
2
|
-
import { IModel } from "../../types";
|
|
2
|
+
import { IModel } from "../../hub-types";
|
|
3
3
|
import { IHubDiscussion } from "../../core";
|
|
4
4
|
/**
|
|
5
5
|
* Given a model and a Discussion, set various computed properties that can't be directly mapped
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IPagingParams, IPagedResponse as IRestPagedResponse, IUser } from "@esri/arcgis-rest-types";
|
|
2
2
|
import { Geometry, Polygon } from "geojson";
|
|
3
|
-
import { IHubRequestOptions } from "../../types";
|
|
3
|
+
import { IHubRequestOptions } from "../../hub-types";
|
|
4
4
|
/**
|
|
5
5
|
* sort orders
|
|
6
6
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IArcGISContext } from "../
|
|
1
|
+
import type { IArcGISContext } from "../types/IArcGISContext";
|
|
2
2
|
import { IHubEditableContent, IGeometryInstance } from "../core/types";
|
|
3
3
|
/**
|
|
4
4
|
* This hash map was defined to support the previous implementation of the export item flow.
|