Skip to content

five-on-it / packages/protocol/src/standing / RunStandingView

Variable: RunStandingView ​

const RunStandingView: ZodObject<{ award: ZodNullable<ZodObject<{ breakdown: ZodObject<{ band: ZodEnum<{ good: "good"; low: "low"; warning: "warning"; }>; base: ZodNumber; bonus: ZodNumber; conduct: ZodNumber; contribution: ZodOptional<ZodNumber>; difficulty: ZodNumber; outcome: ZodNumber; present: ZodBoolean; qualified: ZodBoolean; repeat: ZodNumber; repeatIndex: ZodNumber; share: ZodNumber; short: ZodOptional<ZodBoolean>; span: ZodOptional<ZodNumber>; total: ZodNumber; }, $strip>; respect: ZodNumber; }, $strip>>; counts: ZodBoolean; endorsable: ZodArray<ZodObject<{ account: ZodString; name: ZodString; team: ZodString; }, $strip>>; endorsements: ZodObject<{ given: ZodArray<ZodString>; left: ZodNumber; received: ZodArray<ZodObject<{ counted: ZodBoolean; name: ZodString; respect: ZodNumber; }, $strip>>; }, $strip>; mission: ZodString; paid: ZodOptional<ZodBoolean>; rating: ZodObject<{ may: ZodBoolean; mine: ZodNullable<ZodNumber>; }, $strip>; run: ZodString; standing: ZodNullable<ZodObject<{ respect: ZodNumber; tier: ZodObject<{ key: ZodString; min: ZodNumber; name: ZodString; tier: ZodNumber; }, $strip>; }, $strip>>; title: ZodString; }, $strip>

Defined in: packages/protocol/src/standing.ts:122

What a run did for the reader (GET /runs/:id/standing, a seat of it): whether it counts at all (settled, not a playtest) and whether it was paid yet (paid: its Respect counted), the Respect it paid them (its breakdown; none for a guest, or before it was paid), the endorsements they got (each giver's name and what it added) and the ones they gave, how many they may still give and to whom, their rating of the mission and whether they may rate it, and their Respect and tier now.