123456789101112131415161718 |
- import { z } from "zod";
- class prepareGamesShema {
- public ZSigameSettings = z.object({
- categoryIds: z.array(z.number()),
- });
- public ZMafiaSettings = z.object({
- test: z.string(),
- });
- public ZAllGamesSettings = z.union([
- this.ZSigameSettings,
- this.ZMafiaSettings,
- ]);
- }
- export const PrepareGamesShema = new prepareGamesShema();
|