本文へ移動

@eightkk/vue-weave / core / WindowedDataState

Interface: WindowedDataState<T, L> ​

Defined in: src/core/windowedData.ts:118

Type Parameters ​

T ​

T

L ​

L = never

Properties ​

cells ​

readonly cells: ReadonlyMap<string, Readonly<WindowedCell>>

Defined in: src/core/windowedData.ts:125

Cells that are not unloaded, by cell key.


condition ​

readonly condition: string

Defined in: src/core/windowedData.ts:121

The condition or version token of the current data.


items ​

readonly items: ReadonlyMap<string, T>

Defined in: src/core/windowedData.ts:129

Every loaded item of the current condition, deduplicated by ID (the latest response wins), in first-arrival order.


readonly links: ReadonlyMap<string, L>

Defined in: src/core/windowedData.ts:131

Every loaded link of the current condition, deduplicated by ID.


options ​

readonly options: Readonly<WindowedDataNormalizedOptions<T, L>>

Defined in: src/core/windowedData.ts:119


requests ​

readonly requests: ReadonlyMap<string, Readonly<WindowedDataRequest>>

Defined in: src/core/windowedData.ts:127

Requests in flight, by request ID.


sequence ​

readonly sequence: number

Defined in: src/core/windowedData.ts:133

Requests issued so far; the next request ID is String(sequence + 1).


view? ​

readonly optional view?: Readonly<{ end: number; rowIds?: readonly string[]; start: number; }>

Defined in: src/core/windowedData.ts:123

The current view, normalized; undefined before the first setWindowedView.

MIT ライセンスで公開しています。