Skip to content
Shapemetry

Model - Command registry

API reference for src/schema/commandRegistry on @huukhanhnguyen/model, reachable from ..

See the Guide for the ModelJSON / evaluate pipeline.

API reference

Signatures are generated from the live package .d.ts - not hand-written.

LaneEditCall

type

A serializable description of a lane edit — the inverse every function below returns, and the unit applyLaneEdit replays (S2 D2's command log).

type LaneEditCall
// = {
    fn: "laneInsert";
    args: [LaneName, LaneEntry, number];
}
Last updated: 📖 1 min readEdit on GitHub