@esri/hub.js
Guides
API Reference
GitHub
Menu
@esri/hub.js
Packages
annotations
addAnnotations
checkResults
createAnnotationService
deleteAnnotations
getAnnotationServiceUrl
searchAllAnnotationVotes
searchAnnotations
searchSingleAnnotationVotes
updateAnnotations
voteOnAnnotation
AllResultsError
IAddAnnotationsOptions
IAnnoFeature
IAnnoItem
IAnnoSearchResult
ICreateAnnoOptions
IEditFeatureError
IEditFeatureErrorResponse
IResourceObject
ISearchAnnoOptions
IVoteOptions
IVoteResourceObject
common
addContextToSlug
addDays
addDomain
addSolutionResourceUrlToAssets
addUsersToGroup
applyPropertiesToItems
arrayToObject
autoAddUsers
batch
buildDraft
buildExistingExportsPortalQuery
camelize
canEditEvent
canEditItem
canEditSite
canEditSiteContent
capitalize
chunkArray
cloneObject
completeOAuth2
compose
convertSolutionTemplateResourcesToAssets
convertToWellKnownLocale
createExtent
createId
createOperationPipeline
datasetToContent
datasetToItem
deepSet
deepStringReplace
deleteProp
doesItemExistWithTitle
domainExists
domainExistsPortal
emailOrgUsers
ensureProp
ensureUniqueDomainName
ensureUniqueString
extend
extentToBBox
failSafe
failSafeUpdate
fetchAllPages
fetchAndUploadResource
fetchAndUploadThumbnail
fetchHubTranslation
fetchImageAsBlob
fetchSite
filterBy
findBy
flattenArray
generateRandomString
getCategory
getCollection
getContentIdentifier
getCulture
getDomainsForSite
getFamily
getGeographicOrgExtent
getHubApiUrl
getHubApiUrlFromPortal
getHubLocaleAssetUrl
getHubProduct
getHubUrlFromPortal
getItemApiUrl
getItemAssets
getItemDataUrl
getItemHomeUrl
getItemHubId
getItemHubType
getItemLayerId
getItemThumbnailUrl
getLayerIdFromUrl
getModel
getModelFromOptions
getOrgExtentAsBBox
getPortalApiUrl
getPortalUrl
getProp
getProps
getServiceTypeFromUrl
getSiteById
getStructuredLicense
getSubscriptionType
getTypeCategories
getTypes
getUniqueDomainName
getUniqueDomainNamePortal
getUniqueItemTitle
getWithDefault
hasBasePriv
hubApiRequest
hubApiSearch
includes
incrementString
interpolate
interpolateItemId
inviteUsers
isDomainForLegacySite
isDomainUsedElsewhere
isDownloadable
isExtentCoordinateArray
isFeatureService
isGuid
isMapOrFeatureServerUrl
isNil
isSlug
isUpdateGroup
isValidDomain
isValidExtent
itemToContent
last
lookupDomain
mapBy
maybeAdd
maybePush
mergeObjects
normalizeItemType
normalizeSolutionTemplateItem
objectToArray
objectToJsonBlob
parseDatasetId
processRevertableTasks
propifyString
removeContextFromSlug
removeDomain
removeEmptyProps
replaceItemId
runRevertableTask
serializeModel
serializeSpatialReference
setProp
shareItemToGroups
slugify
stringToBlob
stripProtocol
unique
uniqueBy
unprotectModel
unshareItemFromGroups
updateDomain
upgradeSiteSchema
uploadResourcesFromUrl
without
withoutByProp
Logger
OperationError
OperationStack
RemoteServerError
categories
collections
GLOBAL_EXTENT
HUB_CDN_URLMAP
PORTAL_EXPORT_TYPES
HUB_LOCALES
itemPropsNotInTemplates
REQUIRED_PRIVS
SITE_SCHEMA_VERSION
STANDARD_LICENSES
WGS84_WKID
Level
AccessControl
DatasetResource
GenericAsyncFunc
HubFamily
HubProduct
HubType
IBatch
IBatchTransform
IBBox
IItemTemplate
IRevertableTaskResult
PipelineFn
SearchableType
SearchFunction
Visibility
IAddMemberContext
IConsolidatedResult
IDomainEntry
IDraft
IEmail
IEnrichmentErrorInfo
IEventModel
IGetGroupSharingDetailsResults
IGetSurveyModelsResponse
IHubContent
IHubGeography
IHubRequestOptions
IHubResource
IHubTeam
IHubUserRequestOptions
IInitiativeItem
IInitiativeModel
IInitiativeModelTemplate
IItemResource
IModel
IModelTemplate
IOperation
IPipeable
IRevertableTaskFailed
IRevertableTaskSuccess
ISerializedOperationStack
ISimpleResult
ISiteCatalog
ISolutionTemplate
IStructuredLicense
ITemplateAsset
IThumbnailOptions
IUpdatePageOptions
IUpdateSiteOptions
content
enrichContent
fetchEnrichments
getContent
getContentFromHub
getContentFromPortal
getContentMetadata
getLayerContent
getPortalUrls
parseISODateString
withPortalUrls
UpdateFrequency
IEnrichContentOptions
IFetchEnrichmentOptions
IGetContentOptions
discussions
apiRequest
authenticateRequest
canCreateChannel
canCreateReaction
canModifyChannel
canPostToChannel
canReadFromChannel
createChannel
createPost
createReaction
createReply
fetchChannel
fetchPost
isChannelInclusive
isGroupDiscussable
isItemDiscussable
isOrgAdmin
parseDiscussionURI
reduceByGroupMembership
removeChannel
removePost
removeReaction
request
searchChannels
searchPosts
updateChannel
updatePost
updatePostSharing
updatePostStatus
RemoteServerError
ChannelRelation
DiscussionSource
DiscussionType
PostReaction
PostRelation
PostStatus
ReactionRelation
SharingAccess
SortOrder
IChannel
ICreateChannel
ICreateChannelOptions
ICreateChannelPost
ICreatePost
ICreatePostOptions
ICreateReaction
ICreateReactionOptions
ICreateReplyOptions
IDiscussionParams
IFetchChannel
IFetchChannelOptions
IFetchPost
IFetchPostOptions
IHubRequestOptions
IPagedResponse
IPlatformSharing
IPost
IReaction
IRemoveChannelOptions
IRemoveChannelResponse
IRemovePostOptions
IRemovePostResponse
IRemoveReactionOptions
IRemoveReactionResponse
ISearchChannels
ISearchChannelsOptions
ISearchPosts
ISearchPostsOptions
IUpdateChannel
IUpdateChannelOptions
IUpdatePost
IUpdatePostOptions
IUpdatePostSharing
IUpdatePostSharingOptions
IUpdatePostStatus
IUpdatePostStatusOptions
IWithAuthor
IWithSettings
IWithSharing
IWithSorting
IWithTimeQueries
IWithTimestamps
downloads
pollDownloadMetadata
requestDatasetExport
requestDownloadMetadata
DownloadFormats
DownloadStatus
DownloadFormat
DownloadStatuses
DownloadTarget
IDatasetExportRequestParams
IDatasetExportResult
IDownloadMetadataRequestParams
IDownloadMetadataResults
IPollDownloadMetadataRequestParams
IPoller
events
addUsersToEvent
getEventFeatureServiceUrl
getEventQueryFromType
getEventServiceItem
getEventServiceUrl
registerForEvent
searchEvents
unregisterForEvent
IEventRegisterOptions
IEventResourceObject
search
agoSearch
convertHubResponse
convertPortalResponse
convertToHubParams
convertToPortalParams
flattenCategories
isFilterAnArrayWithData
isFilterANonEmptyString
isFilterFieldADateRange
kMerge
mergeAggregations
mergePages
processPage
searchContent
searchDatasets
serialize
BinaryHeap
ContentSearchService
InvalidPaginationInputError
IBooleanOperator
SortDirection
IAggregation
IAggregationResult
IContentAggregations
IContentFieldFilter
IContentSearchFilter
IContentSearchOptions
IContentSearchRequest
IContentSearchResponse
IDateRange
IFieldFilter
IHubResult
IHubResults
ISearchParams
ISearchRequest
ISearchResponse
ISearchService
ISearchServiceParams
sites
applyDraft
convertCard
convertLayoutToTemplate
convertPageToTemplate
convertRow
convertSection
convertSiteToTemplate
createPage
createPageModelFromTemplate
createSite
createSiteModelFromTemplate
deleteDraft
ensureOptionalGroupsTemplating
ensurePageHasSiteEntry
ensureRequiredPageProperties
ensureRequiredSiteProperties
extractAssets
fetchAndApplyDraft
fetchDraft
getCardDependencies
getDataForSiteItem
getDomain
getDomains
getDraftDate
getLayoutDependencies
getMembers
getPageDependencies
getPageEditUrl
getPageItemType
getPortalSiteHostname
getPortalSiteUrl
getRowDependencies
getSectionDependencies
getSiteDependencies
getSiteEditUrl
getSiteItemType
getTheme
hasUnpublishedChanges
isPage
isSite
linkSiteAndPage
markPublished
markUnpublished
registerBrowserApp
registerSiteAsApplication
removePage
removeSite
removeSiteFromPage
removeUnusedResources
saveDraft
savePublishedStatus
shareItemsToSiteGroups
siteSecondPass
unlinkPagesFromSite
unlinkSiteAndPage
updateAppRedirectUris
updatePage
updateSite
updateSiteApplicationUris
upgradeDraftSchema
DEFAULT_THEME
DRAFT_RESOURCE_REGEX
PAGE_DRAFT_INCLUDE_LIST
PAGE_TEMPLATE_KEYWORD
PAGE_TYPE_KEYWORD
SITE_DRAFT_INCLUDE_LIST
SITE_UI_VERSION
UNPUBLISHED_CHANGES_KW
ICard
IEntry
IHubSiteTheme
ILayout
IRow
ISection
ISettings
ITemplatizedCard
ITemplatizedLayout
ITemplatizedRow
ITemplatizedSection
surveys
getDetailedSurveyStatus
getGroupSharingDetails
getInputFeatureServiceModel
getSourceFeatureServiceModelFromFieldworker
getStakeholderModel
getSurveyModels
getSurveyStatus
getSurveyStatusFromSchedule
isDraft
isFieldworkerView
isPublished
migrateFormPropertiesSettings
setAccess
setAccessRevertable
shareWithGroup
shareWithGroupRevertable
shouldDisplayResults
unshareWithGroup
unshareWithGroupRevertable
ISurveyStatus
IFormItem
IFormItemProperties
IStakeholderItem
ISurveyFormJson
ISurveySchedule
teams
addOrInviteUsersToTeam
addOrInviteUsersToTeams
addUsersToTeam
applyPrivPropValuesToTemplate
canEditTeam
canUserCreateTeam
canUserCreateTeamInProduct
createHubTeam
createHubTeams
doesGroupExist
getAllowedGroupAccess
getTeamById
getTeamMembers
getTeamPropertiesMapForProduct
getTeamsAvailableInProduct
getTeamsForProduct
getTeamStatus
getTeamTemplate
getTeamTypesAvailableInProduct
getUniqueGroupTitle
getUserCreatableTeams
hasAllPrivileges
removeInvalidPrivs
removeTeam
removeTeamFromItems
removeUsersFromTeam
removeUsersFromTeams
searchTeamContent
searchTeamMembers
teamsToAddUsersTo
updateTeam
updateUserMembership
GROUP_ACCESS_PRIVS
TYPEMAP
TEAMTYPES
WELLKNOWNTEAMS
AGOAccess
HubProduct
HubTeamType
IAddOrInviteContext
IAddOrInviteEmail
IAddOrInviteResponse
IAddOrInviteToTeamResult
IGroupTemplate
IPrivPropValues
ITeamsStatus
ITeamStatus
IUserOrgRelationship
IUserWithOrgType
IVoteResourceObject
Interface
Properties
Property
Type
Notes
attributes
{
downVotes:
number
upVotes:
number
}
id
number
type
"votes"
Interface defined in
packages/annotations/src/search.ts:129