@battle-racing/br-common-lib
Version:
Common library for all Battle Racing Repositorios
10 lines (9 loc) • 638 B
TypeScript
import { z } from 'zod';
import { gameFinishedReasonSchema, gameKartStateSchema, gameSchema, gameStatusSchema, gameTypeSchema, gameWarningEventSchema, kartRankingItemSchema } from './Game.schema';
export type GameType = z.infer<typeof gameTypeSchema>;
export type GameStatus = z.infer<typeof gameStatusSchema>;
export type GameFinishedReason = z.infer<typeof gameFinishedReasonSchema>;
export type GameWarningEvent = z.infer<typeof gameWarningEventSchema>;
export type GameKartState = z.infer<typeof gameKartStateSchema>;
export type KartRankingItem = z.infer<typeof kartRankingItemSchema>;
export type Game = z.infer<typeof gameSchema>;