Neues Referee zeug

This commit is contained in:
2024-03-15 22:41:44 +01:00
parent b52b2bcfe1
commit 49fe9728e5
12 changed files with 163 additions and 47 deletions

View File

@@ -35,7 +35,7 @@ export const SWEventSchema = ShortEventSchema.extend({
maxTeamMembers: z.number(),
schemType: z.string().nullable(),
publicSchemsOnly: z.boolean(),
spectateSystem: z.boolean(),
referees: z.array(PlayerSchema),
});
export type SWEvent = z.infer<typeof SWEventSchema>;
@@ -46,9 +46,9 @@ export const EventFightSchema = z.object({
map: z.string(),
blueTeam: TeamSchema,
redTeam: TeamSchema,
kampfleiter: PlayerSchema.nullable(),
start: z.number(),
ergebnis: z.number(),
spectatePort: z.number().nullable(),
group: z.string().nullable(),
});