Skip to main content

@idpass/data-collect-core / EffectiveScopeBody

Interface: EffectiveScopeBody

Defined in: interfaces/scope.ts:82

Persisted snapshot of the last-applied effective scope. Includes the hash so a stored body can be matched against a fresh /pull response without re-computing the canonical-JSON SHA-256. Stored client-side only — server adapters must not implement persistence for this type.

Properties​

areaIds​

areaIds: string[] | null

Defined in: interfaces/scope.ts:83


entityTypes​

entityTypes: ("individual" | "group")[] | null

Defined in: interfaces/scope.ts:84


timeWindow​

timeWindow: { type: "rolling"; days: number; } | { type: "fixed"; floor: string; } | null

Defined in: interfaces/scope.ts:85


hash​

hash: string

Defined in: interfaces/scope.ts:86