Skip to main content

Interface: CoreFieldValues

Defined in: model/field-key.ts:23

What each shipped Field reads as: the Entry keys (minus props, ADR 0011's one reserved key), plus duration and hierarchyParentId — the computed core Fields that own no StoredEntry key (data/fields/core-fields.ts). The typed way to a consumer's own props is entries.get(id)?.props.

Extends​

Properties​

duration​

duration: Duration

Defined in: model/field-key.ts:26

This row's own span, end - start, in milliseconds — the core duration Field computes it on read (CORE_FIELDS). undefined until the row spans.


end?​

optional end?: Instant

Defined in: model/stored-entry.ts:41

Exclusive — see plans/01 §5. Omitted iff this Entry does not span (ADR 0012); see start.

Inherited from​

StoredEntry.end


hierarchyParentId​

hierarchyParentId: EntryId | undefined

Defined in: model/field-key.ts:30

The tree's answer to "who is this row's parent", by key (ADR 0024) — the same answer parent()?.id gives, computed on read, never stored. parentId stays the authored value; a plugin-owned hierarchy source can make the two disagree, on purpose (ADR 0020).


locked?​

optional locked?: boolean

Defined in: model/stored-entry.ts:36

A locked Entry refuses a gesture on every cell but this one (ADR 0038). undefined and false both read as unlocked; a user sets it through the locked grid column, and app code sets it too.

Inherited from​

StoredEntry.locked


name?​

optional name?: string

Defined in: model/stored-entry.ts:33

What this row is called, or undefined when no author gave it one (#421 C5). Not a required field: a row with no name still stores, still spans, still draws — core defaults nothing off it beyond the Grid's name column and the default bar label reading the same Field.

Inherited from​

StoredEntry.name


parentId?​

optional parentId?: EntryId

Defined in: model/stored-entry.ts:22

Hierarchy; roots have none. An Entry has no stored classification (ADR 0013): it derives when it has children, and Entry.hasChildren is what answers that.

Inherited from​

StoredEntry.parentId


siblingIndex​

siblingIndex: number

Defined in: model/stored-entry.ts:29

This Entry's rank among its siblings — an ordinary integer index, always present, never negative (ADR 0034). List position carries the value at construction and at load; after that, an explicit write moves an entry and the write's own group renumbers around it. Read it with entry.read('siblingIndex'), the same way parentId has no dedicated Entry member either. HierarchySource never reads this key — a source answers before an entry's index exists (UnplacedEntry, data/hierarchy-source.ts).

Inherited from​

StoredEntry.siblingIndex


start?​

optional start?: Instant

Defined in: model/stored-entry.ts:39

Omitted iff this Entry does not span (ADR 0012). Present with end if and only if this Entry draws a bar.

Inherited from​

StoredEntry.start