componentPresence
componentPresence(
history,latestBuildId,latest,lastTitle):ComponentPresence
Defined in: packages/core/src/models/component.ts:74
Classify a component against the latest build. history is the component’s
past builds (newest first); latest holds the latest build’s snapshots of
every file, used to find a moved file by its last-seen title.
Parameters
Section titled “Parameters”history
Section titled “history”readonly ComponentHistoryRow[]
latestBuildId
Section titled “latestBuildId”string | null
latest
Section titled “latest”readonly Pick<Snapshot, "storyTitle" | "storyImportPath">[]
lastTitle
Section titled “lastTitle”string | null