mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-14 16:46:25 +00:00
18 lines
526 B
TypeScript
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(),
|
|
});
|