renovate/lib/modules/platform/schemas.ts
2022-09-27 12:00:35 +02:00

13 lines
228 B
TypeScript

import { z } from 'zod';
export const Pr = z.object(
{
sourceBranch: z.string().min(1),
number: z.number(),
state: z.string().min(1),
title: z.string().min(1),
},
{
description: 'Pull Request',
}
);