From 5024a2a5afb138b2fcd76407edf414bdec6a76f2 Mon Sep 17 00:00:00 2001 From: Simon Huerlimann Date: Fri, 16 May 2025 21:35:03 +0200 Subject: [PATCH] fix: add `expanded` to `start` and `end` for GitLabDiscussionNoteSchema --- schemas.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schemas.ts b/schemas.ts index 40f77f3..88daebb 100644 --- a/schemas.ts +++ b/schemas.ts @@ -436,13 +436,13 @@ export const GitLabDiscussionNoteSchema = z.object({ .object({ start: z.object({ line_code: z.string(), - type: z.enum(["new", "old"]), + type: z.enum(["new", "old", "expanded"]), old_line: z.number().nullable(), new_line: z.number().nullable(), }), end: z.object({ line_code: z.string(), - type: z.enum(["new", "old"]), + type: z.enum(["new", "old", "expanded"]), old_line: z.number().nullable(), new_line: z.number().nullable(), }),