We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42c7367 commit f44626aCopy full SHA for f44626a
apps/backend/src/schema/timestamp.schema.ts
@@ -1,8 +1,8 @@
1
import { z } from "zod";
2
3
export const timestampSchema = z.object({
4
- predicted: z.string(),
5
- scheduled: z.string(),
+ predicted: z.coerce.string(),
+ scheduled: z.coerce.string(),
6
});
7
8
export type TimestampSchema = z.infer<typeof timestampSchema>;
0 commit comments