Skip to content

five-on-it / packages/missions/src/schema / Ref

Variable: Ref ​

const Ref: ZodUnion<readonly [ZodLiteral<"player">, ZodObject<{ actor: ZodString; }, $strict>, ZodObject<{ place: ZodString; }, $strict>, ZodObject<{ team: ZodString; }, $strict>]>

Defined in: packages/missions/src/schema.ts:569

Something a distance or a health is measured on: the player, a mission's actor (a vehicle, or a group's nearest member), a place, or in a run of teams a team (its members standing: a distance is to the nearest of them, a health their mean).