renovate/lib/modules/datasource/custom/schema.ts
2023-07-10 18:22:35 +00:00

18 lines
526 B
TypeScript

import { z } from 'zod';
export const ReleaseResultZodSchema = z.object({
releases: z.array(
z.object({
version: z.string(),
isDeprecated: z.boolean().optional(),
releaseTimestamp: z.string().optional(),
sourceUrl: z.string().optional(),
sourceDirectory: z.string().optional(),
changelogUrl: z.string().optional(),
})
),
sourceUrl: z.string().optional(),
sourceDirectory: z.string().optional(),
changelogUrl: z.string().optional(),
homepage: z.string().optional(),
});