From 1e9193db2405b7874dec42e120f87545631a23d7 Mon Sep 17 00:00:00 2001 From: Carmi Raz <157008803+crazfb@users.noreply.github.com> Date: Tue, 23 Jul 2024 04:18:06 +0300 Subject: [PATCH] Fix/webhook project schema add (#3612) * fix: add missing id field to WebhookProjectSchema * fix: reviewers type in WebhookMergeRequestEventSchema --- packages/core/src/resources/Webhooks.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/core/src/resources/Webhooks.ts b/packages/core/src/resources/Webhooks.ts index ededbccab..f8efcd0ce 100644 --- a/packages/core/src/resources/Webhooks.ts +++ b/packages/core/src/resources/Webhooks.ts @@ -26,6 +26,7 @@ export interface WebhookLabelSchema { } export interface WebhookProjectSchema { + id: number; name: string; description: string; web_url: string; @@ -378,8 +379,8 @@ export interface WebhookMergeRequestEventSchema extends BaseWebhookEventSchema { current: number | null; }; }; - assignees: Pick[] | null; - reviewers: WebhookLabelSchema[] | null; + assignees: Pick[] | null; + reviewers: Pick[] | null; } export interface WebhookWikiEventSchema extends MappedOmit {