VesselDefinition
Defined in: packages/protocol/src/lib/vessel.ts:208
Author-facing shape for a vessel definition. Distinct from Vessel
(the branded post-validation shape): definitions accept raw string IDs
and variant keys; brands appear after VesselSchema.parse(...).
Use this as the parameter type when accepting a developer-authored vessel
(e.g. defineVessel, registerVessel). Use Vessel when working
with a vessel that has already crossed the schema boundary.
Properties
Section titled “Properties”defaultVariant
Section titled “defaultVariant”
readonlydefaultVariant:string
Defined in: packages/protocol/src/lib/vessel.ts:212
description
Section titled “description”
readonlydescription:string
Defined in: packages/protocol/src/lib/vessel.ts:211
readonlyid:string
Defined in: packages/protocol/src/lib/vessel.ts:209
readonlyname:string
Defined in: packages/protocol/src/lib/vessel.ts:210
variants
Section titled “variants”
readonlyvariants:Readonly<Record<string,VesselVariantDefinition>>
Defined in: packages/protocol/src/lib/vessel.ts:213