computeChangeset
computeChangeset(
current,baseline):Changeset
Defined in: packages/core/src/models/changeset.ts:41
Compare a build’s components with the baseline’s. Components match by story file, or by title
when the index carries no file. With no baseline (null) every component is added.
Parameters
Section titled “Parameters”current
Section titled “current”readonly BuildComponent[]
baseline
Section titled “baseline”readonly BuildComponent[] | null