Skip to main content

@idpass/data-collect-core / EffectiveScope

Interface: EffectiveScope

Defined in: interfaces/scope.ts:68

Resolved scope used at request time. Always concrete: null for any dimension means unbounded. Constants for that dimension cannot be widened by query parameters.

Properties

areaIds

areaIds: string[] | null

Defined in: interfaces/scope.ts:69


entityTypes

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

Defined in: interfaces/scope.ts:70


timeWindow

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

Defined in: interfaces/scope.ts:71


schemaVersion

schemaVersion: 1

Defined in: interfaces/scope.ts:73

Increment when the scope shape changes; informs scope_hash collisions.