1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
import { z } from "zod";
export const VercelConfig = z.object({
limit: z.number().int().min(1).max(20).default(8),
});
export type VercelConfig = z.infer<typeof VercelConfig>;
export const VercelPayload = z.object({
deployments: z.array(
z.object({
name: z.string(),
state: z.string(),
url: z.string().nullable(),
target: z.string().nullable(),
createdAt: z.string(),
}),
),
});
export type VercelPayload = z.infer<typeof VercelPayload>;
|