Skip to main content

Interface: SitesState

Defined in: src/stores/sites/useSitesState.ts:32

Sites state interface for managing site data and selection.

Remarksโ€‹

Defines the core state structure for site management including the sites array, selected site tracking, and UI state for monitor selection.

Propertiesโ€‹

lastSyncDeltaโ€‹

lastSyncDelta: SiteSyncDelta | undefined

Defined in: src/stores/sites/useSitesState.ts:34

Most recent synchronization delta captured from state sync events.


selectedMonitorIdsโ€‹

selectedMonitorIds: Record<string, string>

Defined in: src/stores/sites/useSitesState.ts:36

Selected monitor IDs per site (UI state, not persisted)


selectedSiteIdentifierโ€‹

selectedSiteIdentifier: string | undefined

Defined in: src/stores/sites/useSitesState.ts:38

Currently selected site identifier


sitesโ€‹

sites: Site[]

Defined in: src/stores/sites/useSitesState.ts:40

Array of monitored sites


statusSubscriptionSummaryโ€‹

statusSubscriptionSummary: StatusUpdateSubscriptionSummary | undefined

Defined in: src/stores/sites/useSitesState.ts:42

Latest status update subscription diagnostics.