Reference · Rockets, variants, parts and the fit check
BuilderStatetype
What the builder shows for a set of picks: its rows, the description they make and the fit report for it.
Import it
import type { BuilderState } from "@johnmorrisdotca/uchusen-rockets";
Definition
interface BuilderState {
rows: readonly BuilderRow[];
description: Description;
report: FitReport;
}
Members
| Name | Type | Description |
|---|---|---|
rows | readonly BuilderRow[] | |
description | Description | |
report | FitReport |
Examples
import { builderState, type BuilderState } from "@johnmorrisdotca/uchusen-rockets";
const state: BuilderState = builderState();
console.log(state.rows.length, state.report.ok);2 trueWhat it prints (run when this page was built)