five-on-it / packages/protocol/src/platform / RunSpec
Variable: RunSpec
constRunSpec:ZodObject<{game:ZodString;id:ZodString;mission:ZodString;playtest:ZodOptional<ZodBoolean>;reportToken:ZodString;reportUrl:ZodURL;seats:ZodArray<ZodObject<{account:ZodString;name:ZodString;party:ZodOptional<ZodString>;team:ZodString;tier:ZodOptional<ZodNumber>; },$strip>>;teams:ZodArray<ZodString>; },$strip>
Defined in: packages/protocol/src/platform.ts:145
A run a room is opened for (TECHNICAL_SPECS §9.5): its id, the game (a published game's id, or a bundled level's name) and the mission, its seats in order, the mission's teams in order (a seat's team index is Character.party in the room), where the game server reports the run's result and the bearer token it reports with, and whether it is a creator's playtest (its minimum of players relaxed, counting for nothing).