Refactor event handling and introduce TeamSelector component for improved fight management
All checks were successful
SteamWarCI Build successful
All checks were successful
SteamWarCI Build successful
This commit is contained in:
@@ -60,10 +60,11 @@ export type ResponseGroups = z.infer<typeof ResponseGroupsSchema>;
|
||||
|
||||
export const ResponseRelationSchema = z.object({
|
||||
id: z.number(),
|
||||
fight: EventFightSchema,
|
||||
fight: z.number(),
|
||||
team: z.enum(["RED", "BLUE"]),
|
||||
type: z.enum(["FIGHT", "GROUP"]),
|
||||
fromFight: EventFightSchema.nullable(),
|
||||
fromGroup: ResponseGroupsSchema.nullable(),
|
||||
fromFight: EventFightSchema.optional(),
|
||||
fromGroup: ResponseGroupsSchema.optional(),
|
||||
fromPlace: z.number(),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user