0
0
mirror of https://github.com/renovatebot/renovate.git synced 2024-12-22 13:38:32 +00:00
renovatebot_renovate/lib/modules/datasource/galaxy/schema.ts
2023-11-13 03:38:14 +00:00

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(),
}),
),
});