Skip to content

Type Alias: ViewSnapshot<T, S> ​

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

Defined in: fate/src/types.ts:336

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