mirror of
https://github.com/renovatebot/renovate.git
synced 2025-05-12 23:51:55 +00:00
12 lines
306 B
TypeScript
12 lines
306 B
TypeScript
import { z } from 'zod';
|
|
import { MaybeTimestamp } from '../../../util/timestamp';
|
|
|
|
export const ReleaseSchema = z.object({
|
|
name: z.string(),
|
|
tag_name: z.string(),
|
|
body: z.string(),
|
|
prerelease: z.boolean(),
|
|
published_at: MaybeTimestamp,
|
|
});
|
|
|
|
export const ReleasesSchema = z.array(ReleaseSchema);
|