Merge pull request #40 from huerlisi/fix/discussion-enum
fix: add `expanded` to `start` and `end` for GitLabDiscussionNoteSchema
This commit is contained in:
@ -436,13 +436,13 @@ export const GitLabDiscussionNoteSchema = z.object({
|
|||||||
.object({
|
.object({
|
||||||
start: z.object({
|
start: z.object({
|
||||||
line_code: z.string(),
|
line_code: z.string(),
|
||||||
type: z.enum(["new", "old"]),
|
type: z.enum(["new", "old", "expanded"]),
|
||||||
old_line: z.number().nullable(),
|
old_line: z.number().nullable(),
|
||||||
new_line: z.number().nullable(),
|
new_line: z.number().nullable(),
|
||||||
}),
|
}),
|
||||||
end: z.object({
|
end: z.object({
|
||||||
line_code: z.string(),
|
line_code: z.string(),
|
||||||
type: z.enum(["new", "old"]),
|
type: z.enum(["new", "old", "expanded"]),
|
||||||
old_line: z.number().nullable(),
|
old_line: z.number().nullable(),
|
||||||
new_line: z.number().nullable(),
|
new_line: z.number().nullable(),
|
||||||
}),
|
}),
|
||||||
|
Reference in New Issue
Block a user