Skip to content

@eightkk/vue-weave / core / TimelineRowsInput

Interface: TimelineRowsInput<R> ​

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

The input of projectTimelineRows: a row tree with optional columns, compare rules and bars.

Type Parameters ​

R ​

R extends TimelineRow = TimelineRow

Properties ​

bars? ​

optional bars?: readonly TimelineBar<unknown>[]

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

Optional bars. The unrestricted search also matches their labels, and columns receive the row summaries (summarizeTimelineRows) as their second argument. Without bars, columns receive no summary.


columns? ​

optional columns?: readonly TimelineColumn<R>[]

Defined in: src/core/timelineView.ts:126

Needed to resolve the column IDs of the search, the filters and the sort.


rows ​

rows: readonly R[]

Defined in: src/core/timelineView.ts:124


sortRules? ​

optional sortRules?: Readonly<Record<string, TimelineRowCompare<R>>>

Defined in: src/core/timelineView.ts:128

Registered compare rules by ID.

Released under the MIT License.