diff --git a/src/v2/pages/tetrio/record/40l/index.vue b/src/v2/pages/tetrio/record/40l/index.vue index 3cef260..0958e5c 100644 --- a/src/v2/pages/tetrio/record/40l/index.vue +++ b/src/v2/pages/tetrio/record/40l/index.vue @@ -3,7 +3,7 @@ import { z } from 'zod' import Data from '../schemas/data' import Type from '../schemas/type' -const SprintData = Data.strict().readonly() +const SprintData = Data.extend({ time: z.string() }).strict().readonly() export type SprintData = z.infer; const data = SprintData.parse( @@ -112,4 +112,4 @@ const type = computed(() => { + \ No newline at end of file diff --git a/src/v2/pages/tetrio/record/schemas/data.ts b/src/v2/pages/tetrio/record/schemas/data.ts index a2fdc77..e9ab3a4 100644 --- a/src/v2/pages/tetrio/record/schemas/data.ts +++ b/src/v2/pages/tetrio/record/schemas/data.ts @@ -7,7 +7,7 @@ const Data = z.object({ type: z.nativeEnum(Type).nullable(), user: User.extend({ id: z.string() }), - time: z.string(), + replay_id: z.string(), rank: z.number().nullable(), personal_rank: z.number().nullable(),