Added first mm stats
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import z from "zod"
|
||||
import { bedwarsStatsSchema, duelsStatsSchema, skywarsStatsSchema } from "./stats"
|
||||
import { bedwarsStatsSchema, duelsStatsSchema, murderMysteryStatsSchema, skywarsStatsSchema } from "./stats"
|
||||
|
||||
export const playerSchema = z.looseObject({
|
||||
player: z.looseObject({
|
||||
@@ -16,7 +16,8 @@ export const playerSchema = z.looseObject({
|
||||
stats: z.looseObject({
|
||||
Bedwars: bedwarsStatsSchema.optional(),
|
||||
SkyWars: skywarsStatsSchema.optional(),
|
||||
Duels: duelsStatsSchema.optional()
|
||||
Duels: duelsStatsSchema.optional(),
|
||||
MurderMystery: murderMysteryStatsSchema.optional()
|
||||
}).optional(),
|
||||
quests: z.record(
|
||||
z.string(),
|
||||
|
||||
Reference in New Issue
Block a user