Skip to content

Type Alias: ViewSnapshot<T, S>

ViewSnapshot<T, S> = Readonly<{ coverage: ReadonlyArray<readonly [EntityId, ReadonlySet<string>]>; data: ViewData<T, S>; }>

Defined in: packages/fate/src/types.ts:229

Snapshot returned by the cache for a view, including the masked data and all referenced entity IDs.

Type Parameters

T

T extends Entity

S

S extends Selection<T>

Released under the MIT License