@structured-world/gitlab-mcp 6.2.2 → 6.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/entities/core/registry.js +51 -47
- package/dist/src/entities/core/registry.js.map +1 -1
- package/dist/src/entities/core/schema-readonly.d.ts +38 -93
- package/dist/src/entities/core/schema-readonly.js +69 -70
- package/dist/src/entities/core/schema-readonly.js.map +1 -1
- package/dist/src/entities/core/schema.d.ts +17 -27
- package/dist/src/entities/core/schema.js +44 -31
- package/dist/src/entities/core/schema.js.map +1 -1
- package/dist/src/entities/files/registry.js +25 -15
- package/dist/src/entities/files/registry.js.map +1 -1
- package/dist/src/entities/files/schema-readonly.d.ts +7 -23
- package/dist/src/entities/files/schema-readonly.js +24 -30
- package/dist/src/entities/files/schema-readonly.js.map +1 -1
- package/dist/src/entities/files/schema.d.ts +14 -62
- package/dist/src/entities/files/schema.js +73 -63
- package/dist/src/entities/files/schema.js.map +1 -1
- package/dist/src/entities/milestones/registry.js +77 -125
- package/dist/src/entities/milestones/registry.js.map +1 -1
- package/dist/src/entities/milestones/schema-readonly.d.ts +11 -27
- package/dist/src/entities/milestones/schema-readonly.js +22 -18
- package/dist/src/entities/milestones/schema-readonly.js.map +1 -1
- package/dist/src/entities/milestones/schema.d.ts +9 -21
- package/dist/src/entities/milestones/schema.js +21 -21
- package/dist/src/entities/milestones/schema.js.map +1 -1
- package/dist/src/entities/mrs/registry.js +58 -32
- package/dist/src/entities/mrs/registry.js.map +1 -1
- package/dist/src/entities/mrs/schema-readonly.d.ts +21 -160
- package/dist/src/entities/mrs/schema-readonly.js +306 -197
- package/dist/src/entities/mrs/schema-readonly.js.map +1 -1
- package/dist/src/entities/mrs/schema.d.ts +34 -394
- package/dist/src/entities/mrs/schema.js +234 -227
- package/dist/src/entities/mrs/schema.js.map +1 -1
- package/dist/src/entities/pipelines/registry.js +30 -14
- package/dist/src/entities/pipelines/registry.js.map +1 -1
- package/dist/src/entities/pipelines/schema-readonly.d.ts +16 -32
- package/dist/src/entities/pipelines/schema-readonly.js +54 -52
- package/dist/src/entities/pipelines/schema-readonly.js.map +1 -1
- package/dist/src/entities/pipelines/schema.d.ts +16 -23
- package/dist/src/entities/pipelines/schema.js +24 -37
- package/dist/src/entities/pipelines/schema.js.map +1 -1
- package/dist/src/entities/utils.d.ts +1 -0
- package/dist/src/entities/utils.js +6 -0
- package/dist/src/entities/utils.js.map +1 -1
- package/dist/src/entities/workitems/registry.js +30 -21
- package/dist/src/entities/workitems/registry.js.map +1 -1
- package/dist/src/entities/workitems/schema-readonly.d.ts +7 -35
- package/dist/src/entities/workitems/schema-readonly.js +15 -41
- package/dist/src/entities/workitems/schema-readonly.js.map +1 -1
- package/dist/src/entities/workitems/schema.d.ts +10 -52
- package/dist/src/entities/workitems/schema.js +26 -48
- package/dist/src/entities/workitems/schema.js.map +1 -1
- package/dist/structured-world-gitlab-mcp-6.3.0.tgz +0 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/structured-world-gitlab-mcp-6.2.2.tgz +0 -0
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const BrowseMergeRequestsSchema: z.
|
|
3
|
-
action: z.
|
|
2
|
+
export declare const BrowseMergeRequestsSchema: z.ZodObject<{
|
|
3
|
+
action: z.ZodEnum<{
|
|
4
|
+
diffs: "diffs";
|
|
5
|
+
list: "list";
|
|
6
|
+
get: "get";
|
|
7
|
+
compare: "compare";
|
|
8
|
+
}>;
|
|
4
9
|
project_id: z.ZodOptional<z.ZodCoercedString<unknown>>;
|
|
10
|
+
merge_request_iid: z.ZodOptional<z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>>;
|
|
11
|
+
include_diverged_commits_count: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
12
|
+
include_rebase_in_progress: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
13
|
+
branch_name: z.ZodOptional<z.ZodString>;
|
|
14
|
+
from: z.ZodOptional<z.ZodString>;
|
|
15
|
+
to: z.ZodOptional<z.ZodString>;
|
|
16
|
+
straight: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
5
17
|
state: z.ZodOptional<z.ZodEnum<{
|
|
6
18
|
all: "all";
|
|
7
19
|
closed: "closed";
|
|
@@ -71,171 +83,20 @@ export declare const BrowseMergeRequestsSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
71
83
|
reviewer_username: z.ZodOptional<z.ZodString>;
|
|
72
84
|
with_api_entity_associations: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
73
85
|
min_access_level: z.ZodOptional<z.ZodNumber>;
|
|
74
|
-
page: z.ZodOptional<z.ZodNumber>;
|
|
75
|
-
per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
76
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
77
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
78
|
-
action: z.ZodLiteral<"get">;
|
|
79
|
-
merge_request_iid: z.ZodOptional<z.ZodCoercedString<unknown>>;
|
|
80
|
-
branch_name: z.ZodOptional<z.ZodString>;
|
|
81
|
-
include_diverged_commits_count: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
82
|
-
include_rebase_in_progress: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
83
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
84
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
85
|
-
action: z.ZodLiteral<"diffs">;
|
|
86
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
87
|
-
include_diverged_commits_count: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
88
|
-
include_rebase_in_progress: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
89
|
-
page: z.ZodOptional<z.ZodNumber>;
|
|
90
86
|
per_page: z.ZodOptional<z.ZodNumber>;
|
|
91
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
92
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
93
|
-
action: z.ZodLiteral<"compare">;
|
|
94
|
-
from: z.ZodString;
|
|
95
|
-
to: z.ZodString;
|
|
96
|
-
straight: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
97
|
-
}, z.core.$strip>], "action">;
|
|
98
|
-
export declare const BrowseMrDiscussionsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
99
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
100
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
101
|
-
action: z.ZodLiteral<"list">;
|
|
102
87
|
page: z.ZodOptional<z.ZodNumber>;
|
|
103
|
-
per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
104
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
105
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
106
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
107
|
-
action: z.ZodLiteral<"drafts">;
|
|
108
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
109
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
110
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
111
|
-
action: z.ZodLiteral<"draft">;
|
|
112
|
-
draft_note_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
113
|
-
}, z.core.$strip>], "action">;
|
|
114
|
-
export declare const GetBranchDiffsSchema: z.ZodObject<{
|
|
115
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
116
|
-
from: z.ZodString;
|
|
117
|
-
to: z.ZodString;
|
|
118
|
-
straight: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
119
88
|
}, z.core.$strip>;
|
|
120
|
-
export declare const
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
}, z.core.$strip>;
|
|
127
|
-
export declare const GetMergeRequestDiffsSchema: z.ZodObject<{
|
|
89
|
+
export declare const BrowseMrDiscussionsSchema: z.ZodObject<{
|
|
90
|
+
action: z.ZodEnum<{
|
|
91
|
+
list: "list";
|
|
92
|
+
drafts: "drafts";
|
|
93
|
+
draft: "draft";
|
|
94
|
+
}>;
|
|
128
95
|
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
129
96
|
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
130
|
-
|
|
131
|
-
include_rebase_in_progress: z.ZodOptional<z.ZodBoolean>;
|
|
132
|
-
page: z.ZodOptional<z.ZodNumber>;
|
|
97
|
+
draft_note_id: z.ZodOptional<z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>>;
|
|
133
98
|
per_page: z.ZodOptional<z.ZodNumber>;
|
|
134
|
-
}, z.core.$strip>;
|
|
135
|
-
export declare const ListMergeRequestDiffsSchema: z.ZodObject<{
|
|
136
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
137
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
138
|
-
include_diverged_commits_count: z.ZodOptional<z.ZodBoolean>;
|
|
139
|
-
include_rebase_in_progress: z.ZodOptional<z.ZodBoolean>;
|
|
140
|
-
page: z.ZodOptional<z.ZodNumber>;
|
|
141
|
-
per_page: z.ZodOptional<z.ZodNumber>;
|
|
142
|
-
}, z.core.$strip>;
|
|
143
|
-
export declare const ListMergeRequestDiscussionsSchema: z.ZodObject<{
|
|
144
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
145
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
146
|
-
page: z.ZodOptional<z.ZodNumber>;
|
|
147
|
-
per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
148
|
-
}, z.core.$strip>;
|
|
149
|
-
export declare const GetDraftNoteSchema: z.ZodObject<{
|
|
150
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
151
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
152
|
-
draft_note_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
153
|
-
}, z.core.$strip>;
|
|
154
|
-
export declare const ListDraftNotesSchema: z.ZodObject<{
|
|
155
|
-
project_id: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
156
|
-
merge_request_iid: z.ZodPipe<z.ZodTransform<{}, unknown>, z.ZodCoercedString<unknown>>;
|
|
157
|
-
}, z.core.$strip>;
|
|
158
|
-
export declare const ListMergeRequestsSchema: z.ZodObject<{
|
|
159
|
-
project_id: z.ZodOptional<z.ZodCoercedString<unknown>>;
|
|
160
|
-
state: z.ZodOptional<z.ZodEnum<{
|
|
161
|
-
all: "all";
|
|
162
|
-
closed: "closed";
|
|
163
|
-
merged: "merged";
|
|
164
|
-
opened: "opened";
|
|
165
|
-
locked: "locked";
|
|
166
|
-
}>>;
|
|
167
|
-
order_by: z.ZodOptional<z.ZodEnum<{
|
|
168
|
-
priority: "priority";
|
|
169
|
-
title: "title";
|
|
170
|
-
created_at: "created_at";
|
|
171
|
-
updated_at: "updated_at";
|
|
172
|
-
}>>;
|
|
173
|
-
sort: z.ZodOptional<z.ZodEnum<{
|
|
174
|
-
asc: "asc";
|
|
175
|
-
desc: "desc";
|
|
176
|
-
}>>;
|
|
177
|
-
milestone: z.ZodOptional<z.ZodString>;
|
|
178
|
-
view: z.ZodOptional<z.ZodEnum<{
|
|
179
|
-
simple: "simple";
|
|
180
|
-
full: "full";
|
|
181
|
-
}>>;
|
|
182
|
-
labels: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
183
|
-
with_labels_details: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
184
|
-
with_merge_status_recheck: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
185
|
-
created_after: z.ZodOptional<z.ZodString>;
|
|
186
|
-
created_before: z.ZodOptional<z.ZodString>;
|
|
187
|
-
updated_after: z.ZodOptional<z.ZodString>;
|
|
188
|
-
updated_before: z.ZodOptional<z.ZodString>;
|
|
189
|
-
scope: z.ZodOptional<z.ZodEnum<{
|
|
190
|
-
all: "all";
|
|
191
|
-
created_by_me: "created_by_me";
|
|
192
|
-
assigned_to_me: "assigned_to_me";
|
|
193
|
-
}>>;
|
|
194
|
-
author_id: z.ZodOptional<z.ZodNumber>;
|
|
195
|
-
author_username: z.ZodOptional<z.ZodString>;
|
|
196
|
-
assignee_id: z.ZodOptional<z.ZodNumber>;
|
|
197
|
-
assignee_username: z.ZodOptional<z.ZodString>;
|
|
198
|
-
my_reaction_emoji: z.ZodOptional<z.ZodString>;
|
|
199
|
-
source_branch: z.ZodOptional<z.ZodString>;
|
|
200
|
-
target_branch: z.ZodOptional<z.ZodString>;
|
|
201
|
-
search: z.ZodOptional<z.ZodString>;
|
|
202
|
-
in: z.ZodOptional<z.ZodEnum<{
|
|
203
|
-
title: "title";
|
|
204
|
-
description: "description";
|
|
205
|
-
"title,description": "title,description";
|
|
206
|
-
}>>;
|
|
207
|
-
wip: z.ZodOptional<z.ZodEnum<{
|
|
208
|
-
yes: "yes";
|
|
209
|
-
no: "no";
|
|
210
|
-
}>>;
|
|
211
|
-
not: z.ZodOptional<z.ZodObject<{
|
|
212
|
-
labels: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
213
|
-
milestone: z.ZodOptional<z.ZodString>;
|
|
214
|
-
author_id: z.ZodOptional<z.ZodNumber>;
|
|
215
|
-
author_username: z.ZodOptional<z.ZodString>;
|
|
216
|
-
assignee_id: z.ZodOptional<z.ZodNumber>;
|
|
217
|
-
assignee_username: z.ZodOptional<z.ZodString>;
|
|
218
|
-
my_reaction_emoji: z.ZodOptional<z.ZodString>;
|
|
219
|
-
}, z.core.$strip>>;
|
|
220
|
-
environment: z.ZodOptional<z.ZodString>;
|
|
221
|
-
deployed_before: z.ZodOptional<z.ZodString>;
|
|
222
|
-
deployed_after: z.ZodOptional<z.ZodString>;
|
|
223
|
-
approved_by_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
224
|
-
approved_by_usernames: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
225
|
-
reviewer_id: z.ZodOptional<z.ZodNumber>;
|
|
226
|
-
reviewer_username: z.ZodOptional<z.ZodString>;
|
|
227
|
-
with_api_entity_associations: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
228
|
-
min_access_level: z.ZodOptional<z.ZodNumber>;
|
|
229
99
|
page: z.ZodOptional<z.ZodNumber>;
|
|
230
|
-
per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
231
100
|
}, z.core.$strip>;
|
|
232
101
|
export type BrowseMergeRequestsInput = z.infer<typeof BrowseMergeRequestsSchema>;
|
|
233
102
|
export type BrowseMrDiscussionsInput = z.infer<typeof BrowseMrDiscussionsSchema>;
|
|
234
|
-
export type GetBranchDiffsOptions = z.infer<typeof GetBranchDiffsSchema>;
|
|
235
|
-
export type GetMergeRequestOptions = z.infer<typeof GetMergeRequestSchema>;
|
|
236
|
-
export type GetMergeRequestDiffsOptions = z.infer<typeof GetMergeRequestDiffsSchema>;
|
|
237
|
-
export type ListMergeRequestDiffsOptions = z.infer<typeof ListMergeRequestDiffsSchema>;
|
|
238
|
-
export type ListMergeRequestDiscussionsOptions = z.infer<typeof ListMergeRequestDiscussionsSchema>;
|
|
239
|
-
export type GetDraftNoteOptions = z.infer<typeof GetDraftNoteSchema>;
|
|
240
|
-
export type ListDraftNotesOptions = z.infer<typeof ListDraftNotesSchema>;
|
|
241
|
-
export type ListMergeRequestsOptions = z.infer<typeof ListMergeRequestsSchema>;
|