Skip to main content

Type Alias: SiteIdentifierSnapshot

type SiteIdentifierSnapshot = Pick<Site, "identifier">;

Defined in: shared/types/stateSync.ts:30

Minimal site snapshot used for state-sync bookkeeping.

Remarksโ€‹

Some infrastructure layers (e.g. IPC status tracking) only need the site identifiers to compute counts and detect membership changes. Using this lightweight type avoids unsafe casts such as ({ identifier }) as Site.

This type is not a replacement for full Site payloads used by renderer state reconciliation.