Interface LocalFirstRegionSummary

Secret-safe projection of one region diagnostic.

interface LocalFirstRegionSummary {
    ageMs: number;
    authorizationScopeDigest: `sha256:${string}`;
    completeness: LocalFirstCompleteness;
    expiresAt?: string;
    freshness: LocalFirstFreshness;
    observedAt: string;
    pinned: boolean;
    readable: boolean;
    reason:
        | "stale-entry"
        | "cache-miss"
        | "offline-entry"
        | "expired-entry"
        | "partial-entry";
    regionId: string;
    sourceId: string;
    state: "offline" | "missing";
}

Properties

ageMs: number
authorizationScopeDigest: `sha256:${string}`

Safe to expose; the originating scope fingerprint is never persisted or returned.

expiresAt?: string
observedAt: string
pinned: boolean
readable: boolean
reason:
    | "stale-entry"
    | "cache-miss"
    | "offline-entry"
    | "expired-entry"
    | "partial-entry"
regionId: string
sourceId: string
state: "offline" | "missing"