Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SiteDataService

Index

Properties

PUBSUB_TOPIC_SITES_UPDATED

PUBSUB_TOPIC_SITES_UPDATED: string

PUBSUB_TOPIC_SITE_UPDATED

PUBSUB_TOPIC_SITE_UPDATED: string

Methods

addSite

  • addSite(siteID: Site["id"], site: SiteJSON): void

deleteSite

  • deleteSite(siteID: Site["id"]): void
  • Parameters

    • siteID: Site["id"]

    Returns void

emitSiteUpdate

emitSitesUpdate

  • emitSitesUpdate(sites?: Local.SitesJSON): void
  • Parameters

    • Optional sites: Local.SitesJSON

    Returns void

getSite

  • getSite(siteID: Site["id"]): Site | null

getSiteByProperty

  • getSiteByProperty(property: string, value: any): Site | null

getSites

  • getSites(): Local.Sites

getWorkspaceSites

  • getWorkspaceSites(workspace?: string): Local.Sites
  • Parameters

    • Optional workspace: string

    Returns Local.Sites

reformatSites

  • reformatSites(): void

removeHostConnections

  • removeHostConnections(host: string): void

updateSite

  • updateSite(siteID: Site["id"], site: Partial<SiteJSON>): void

upgradeServices

  • upgradeServices(site: SiteJSON): Local.SiteServices

Generated using TypeDoc