blob: f54d4824773cc28ea94702279187a7e8e3c82b68 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import { z } from "zod";
export const zBackupSchema = z.object({
id: z.string(),
userId: z.string(),
assetId: z.string().nullable(),
createdAt: z.date(),
size: z.number(),
bookmarkCount: z.number(),
status: z.enum(["pending", "success", "failure"]),
errorMessage: z.string().nullable().optional(),
});
export type ZBackup = z.infer<typeof zBackupSchema>;
|