manifest/files#
Interfaces#
Ancestor#
Defined in: manifest/files.ts:86
An ancestor of a member that is a child timeline.
Properties#
offset#
readonlyoffset:JsonNumber| readonly [JsonNumber,JsonNumber]
Defined in: manifest/files.ts:89
A bare value on this ancestor’s axis.
timeline#
readonlytimeline:object
Defined in: manifest/files.ts:87
AncestorCard#
Defined in: manifest/files.ts:103
The ancestor card of a root behind a group’s frame (section 8.8): the root of a member that is a child timeline, drawn whole and aligned to that member.
Properties#
group#
readonlygroup:object
Defined in: manifest/files.ts:104
member#
readonlymember:MemberDrawing
Defined in: manifest/files.ts:106
The member it is aligned to: the first in display order below the root.
root#
readonlyroot:MemberDrawing
Defined in: manifest/files.ts:108
The root, drawn as a root: it has no ancestors.
EntryList#
Defined in: manifest/files.ts:35
One list of a timeline: where it lies, how to read it and how to replace it.
Type Parameters#
E#
E
Properties#
path#
readonlypath: readonlystring[]
Defined in: manifest/files.ts:37
The members leading from a timeline to the list.
Methods#
get()#
get(
timeline): readonlyE[]
Defined in: manifest/files.ts:38
Parameters#
timeline#
{ }
Returns#
readonly E[]
replace()#
replace(
timeline,list):object
Defined in: manifest/files.ts:39
Parameters#
timeline#
{ }
list#
readonly E[]
Returns#
object
EntryTypes#
Defined in: manifest/files.ts:22
Each kind of element a timeline holds in a list, and the type of its entries.
Properties#
flow_control#
readonlyflow_control:object
Defined in: manifest/files.ts:25
map#
readonlymap: { } | { } | { } | { } | { } | { } | { } | { } | { } | { }
Defined in: manifest/files.ts:23
region#
readonlyregion:object
Defined in: manifest/files.ts:24
GroupFrame#
Defined in: manifest/files.ts:93
A group’s frame: the group and its member drawings in display order.
Properties#
group#
readonlygroup:object
Defined in: manifest/files.ts:94
members#
readonlymembers: readonlyMemberDrawing[]
Defined in: manifest/files.ts:95
MemberDrawing#
Defined in: manifest/files.ts:75
A timeline drawn as a root: a group’s member or an ungrouped root.
Properties#
ancestors#
readonlyancestors: readonlyAncestor[]
Defined in: manifest/files.ts:82
Its ancestors from its root down to its parent, each with the offset, on that ancestor’s axis, of the next timeline down: the next ancestor, or the member itself for its parent.
timeline#
readonlytimeline:object
Defined in: manifest/files.ts:76
MemberDrawings#
Defined in: manifest/files.ts:112
What the drawing of a manifest draws as roots (section 8.1).
Properties#
ancestorCards#
readonlyancestorCards: readonlyAncestorCard[]
Defined in: manifest/files.ts:121
The ancestor cards, frame by frame in the order of frames, then by their members’ display
order: one per root of a member that is a child timeline, aligned to its first such member.
frames#
readonlyframes: readonlyGroupFrame[]
Defined in: manifest/files.ts:114
The frames, in canonical order of their groups.
ungrouped#
readonlyungrouped: readonlyMemberDrawing[]
Defined in: manifest/files.ts:116
The roots drawn without a frame (no group names them and they contain no member), by id.
Type Aliases#
EntryKind#
EntryKind = keyof
EntryTypes
Defined in: manifest/files.ts:29
The kind of an element a timeline holds in a list.
ListedElement#
ListedElement =
EntryTypes[EntryKind]
Defined in: manifest/files.ts:32
An element a timeline holds in a list: a conversion map, a region or a flow-control element.
Variables#
ENTRY_KINDS#
constENTRY_KINDS: readonlyEntryKind[]
Defined in: manifest/files.ts:62
The kinds of listed elements, in the order a timeline’s entries are visited.
ENTRY_LISTS#
constENTRY_LISTS:{ readonly [kind in EntryKind]: EntryList<EntryTypes[kind]> }
Defined in: manifest/files.ts:43
Where each kind of entry lies in a timeline: the one table of the three lists.
Functions#
entriesOf()#
entriesOf(
timeline,kind): readonlyListedElement[]
Defined in: manifest/files.ts:65
The list of entries of one kind in a timeline.
Parameters#
timeline#
{ }
kind#
keyof EntryTypes
Returns#
readonly ListedElement[]
isNamed()#
isNamed(
manifest):boolean
Defined in: manifest/files.ts:70
Whether a manifest is named: it has an id or a name, and so a title.
Parameters#
manifest#
Returns#
boolean
locateVirtual()#
locateVirtual(
manifest,id):Located|undefined
Defined in: manifest/files.ts:199
The virtual timeline id of manifest located as the timeline its axis
is (virtualDrawing, section 8.10): a root holding nothing, at its own
place in the manifest’s virtual_timelines, from which what lies on it (a
named timestamp, a coordinate of an alignment anchor) reads its axis;
undefined for an ID no virtual timeline carries.
Parameters#
manifest#
id#
string
Returns#
Located | undefined
memberDrawings()#
memberDrawings(
manifest):MemberDrawings
Defined in: manifest/files.ts:130
The member drawings of a manifest in canonical order: every group’s
members in their display order (displayOrder), each with its ancestors,
then the ungrouped roots, and the ancestor cards behind the frames. A
member id no timeline carries, which the schema refuses, is passed over.
Parameters#
manifest#
Returns#
virtualDrawing()#
virtualDrawing(
manifest,id):MemberDrawing|undefined
Defined in: manifest/files.ts:177
The member drawing of the virtual timeline id of manifest (section
8.10), which is drawn as a root holding nothing: a timeline of its ID,
name, unit, number type and length, locked (its end is fixed by its map),
without children, conversion maps, regions or flow control, and without
ancestors; one object per manifest and ID, so every reader keyed by a
member drawing reads the same. undefined for an ID no virtual timeline
carries.
Parameters#
manifest#
id#
string
Returns#
MemberDrawing | undefined
withVirtualMembers()#
withVirtualMembers(
manifest,frame):GroupFrame
Defined in: manifest/files.ts:233
The frame frame with its virtual members (section 8.10): every member
of its group’s display order that is a timeline or a virtual timeline,
in that order, a virtual one by its member drawing (virtualDrawing);
frame itself where its group has no virtual member.