mirror of https://github.com/renovatebot/renovate
20 lines
436 B
TypeScript
20 lines
436 B
TypeScript
import { z } from 'zod';
|
|
|
|
export type GalaxyV1 = z.infer<typeof GalaxyV1>;
|
|
export const GalaxyV1 = z.object({
|
|
results: z.array(
|
|
z.object({
|
|
summary_fields: z.object({
|
|
versions: z.array(
|
|
z.object({
|
|
name: z.string(),
|
|
created: z.string().optional(),
|
|
}),
|
|
),
|
|
}),
|
|
github_user: z.string().optional(),
|
|
github_repo: z.string().optional(),
|
|
}),
|
|
),
|
|
});
|