Added first mm stats

This commit is contained in:
2025-09-02 20:17:26 +02:00
parent e949738ade
commit d3b04eec9a
6 changed files with 101 additions and 4 deletions

View File

@@ -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(),