Added more pit stats
This commit is contained in:
@@ -449,7 +449,8 @@ export const uhcSchema = z.looseObject({
|
||||
export const pitStats = z.looseObject({
|
||||
pit_stats_ptl: z.looseObject({
|
||||
kills: z.number().default(0),
|
||||
deaths: z.number().default(0)
|
||||
deaths: z.number().default(0),
|
||||
cash_earned: z.number().default(0)
|
||||
}),
|
||||
profile: z.looseObject({
|
||||
prestiges: z.array(z.looseObject({
|
||||
@@ -457,7 +458,9 @@ export const pitStats = z.looseObject({
|
||||
xp_on_prestige: z.number(),
|
||||
timestamp: z.number()
|
||||
})),
|
||||
xp: z.number().default(0)
|
||||
xp: z.number().default(0),
|
||||
cash: z.number().default(0),
|
||||
renown: z.number().default(0)
|
||||
})
|
||||
}).transform(({ profile, pit_stats_ptl, ...rest }) => ({
|
||||
profile,
|
||||
|
||||
Reference in New Issue
Block a user