VesselId
VesselId: (
value) =>VesselId
Defined in: packages/protocol/src/lib/vessel-id.ts:10
Brands a string as a VesselId without changing its value.
No auto-gen path — VesselIds always originate from a vessel definition (developer-authored) or from LLM output that references one.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Example
Section titled “Example”const id = VesselId('calendar');const registry = new Map<VesselId, Vessel>();