From 5c95b2ad0682505dda46640a749bd5ab49dc26c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Ga=C5=82ka?= Date: Wed, 4 Dec 2024 10:19:07 +0100 Subject: [PATCH] fix(schema): add `nullable` to `body` in `pullRequestSchema` (#47) fixes #46 --- dist/index.js | 2 +- src/types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 0b7a3b9..eed71ef 100644 --- a/dist/index.js +++ b/dist/index.js @@ -47067,7 +47067,7 @@ var pullRequestSchema = objectType({ ref: stringType() }), state: stringType(), - body: stringType().optional() + body: stringType().optional().nullable() }); // src/inputs.ts diff --git a/src/types.ts b/src/types.ts index 803db4e..048ca5f 100644 --- a/src/types.ts +++ b/src/types.ts @@ -13,7 +13,7 @@ export const pullRequestSchema = object({ ref: string(), }), state: string(), - body: string().optional(), + body: string().optional().nullable(), }) export type PullRequest = InferType