Types - ObjectBase
API reference for ./model/objectBase on @huukhanhnguyen/types.
See the Guide for the package's role.
API reference
Signatures are generated from the live package .d.ts - not hand-written.
BaseObjectJSON
type
The two data shapes at the base of the model runtime's object graph. The live pieces (Notifier, BaseCollection, the pull-cell bookkeeping) stay in @huukhanhnguyen/model — they describe behavior, not a record.
type BaseObjectJSON
// = {
id: string;
attributes: Record<string, unknown>;
}UnitType
type
Unit dimension keys (matches RawData in core/UnitSymbols).
type UnitType
// = "length" | "area" | "volume" | "mass"