@battle-racing/br-common-lib
Version:
Common library for all Battle Racing Repositorios
19 lines (17 loc) • 654 B
text/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>;