UNPKG

@battle-racing/br-common-lib

Version:

Common library for all Battle Racing Repositorios

11 lines (10 loc) 788 B
import { z } from 'zod'; import { PurchaseSchema, GameTicketSchema, TicketUserTypeSchema, TicketTypeSchema, GameTicketStatusSchema, CreatePurchasePublicSchema, CreatePurchaseInternalSchema, TicketSummarySchema } from './ticketing.schemas'; export type TicketType = z.infer<typeof TicketTypeSchema>; export type GameTicketStatus = z.infer<typeof GameTicketStatusSchema>; export type TicketUserType = z.infer<typeof TicketUserTypeSchema>; export type TicketSummary = z.infer<typeof TicketSummarySchema>; export type Purchase = z.infer<typeof PurchaseSchema>; export type CreatePurchasePublicInput = z.infer<typeof CreatePurchasePublicSchema>; export type CreatePurchaseInternalInput = z.infer<typeof CreatePurchaseInternalSchema>; export type GameTicket = z.infer<typeof GameTicketSchema>;