@structured-world/gitlab-mcp 5.6.1 → 5.8.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/README.md +236 -1
- package/dist/config.d.ts +5 -0
- package/dist/config.js +6 -1
- package/dist/config.js.map +1 -1
- package/dist/entities/core/registry.js +53 -20
- package/dist/entities/core/registry.js.map +1 -1
- package/dist/entities/core/schema-readonly.d.ts +172 -442
- package/dist/entities/core/schema.d.ts +65 -173
- package/dist/entities/files/registry.js +51 -22
- package/dist/entities/files/registry.js.map +1 -1
- package/dist/entities/files/schema-readonly.d.ts +24 -124
- package/dist/entities/files/schema.d.ts +17 -82
- package/dist/entities/labels/registry.js +39 -6
- package/dist/entities/labels/registry.js.map +1 -1
- package/dist/entities/labels/schema-readonly.d.ts +6 -24
- package/dist/entities/labels/schema.d.ts +5 -37
- package/dist/entities/milestones/registry.js +44 -11
- package/dist/entities/milestones/registry.js.map +1 -1
- package/dist/entities/milestones/schema-readonly.d.ts +20 -100
- package/dist/entities/milestones/schema.d.ts +11 -48
- package/dist/entities/mrs/registry.js +56 -23
- package/dist/entities/mrs/registry.js.map +1 -1
- package/dist/entities/mrs/schema-readonly.d.ts +68 -243
- package/dist/entities/mrs/schema.d.ts +142 -885
- package/dist/entities/pipelines/registry.js +46 -13
- package/dist/entities/pipelines/registry.js.map +1 -1
- package/dist/entities/pipelines/schema-readonly.d.ts +115 -525
- package/dist/entities/pipelines/schema.d.ts +30 -104
- package/dist/entities/shared.d.ts +110 -787
- package/dist/entities/utils.d.ts +2 -2
- package/dist/entities/variables/registry.js +40 -7
- package/dist/entities/variables/registry.js.map +1 -1
- package/dist/entities/variables/schema-readonly.d.ts +3 -28
- package/dist/entities/variables/schema.d.ts +20 -80
- package/dist/entities/wiki/registry.js +40 -13
- package/dist/entities/wiki/registry.js.map +1 -1
- package/dist/entities/wiki/schema-readonly.d.ts +4 -35
- package/dist/entities/wiki/schema.d.ts +3 -31
- package/dist/entities/workitems/registry.js +40 -7
- package/dist/entities/workitems/registry.js.map +1 -1
- package/dist/entities/workitems/schema-readonly.d.ts +35 -32
- package/dist/entities/workitems/schema-readonly.js +1 -1
- package/dist/entities/workitems/schema-readonly.js.map +1 -1
- package/dist/entities/workitems/schema.d.ts +21 -45
- package/dist/middleware/index.d.ts +1 -0
- package/dist/middleware/index.js +8 -0
- package/dist/middleware/index.js.map +1 -0
- package/dist/middleware/oauth-auth.d.ts +4 -0
- package/dist/middleware/oauth-auth.js +135 -0
- package/dist/middleware/oauth-auth.js.map +1 -0
- package/dist/oauth/config.d.ts +19 -0
- package/dist/oauth/config.js +70 -0
- package/dist/oauth/config.js.map +1 -0
- package/dist/oauth/endpoints/authorize.d.ts +3 -0
- package/dist/oauth/endpoints/authorize.js +414 -0
- package/dist/oauth/endpoints/authorize.js.map +1 -0
- package/dist/oauth/endpoints/index.d.ts +3 -0
- package/dist/oauth/endpoints/index.js +13 -0
- package/dist/oauth/endpoints/index.js.map +1 -0
- package/dist/oauth/endpoints/metadata.d.ts +4 -0
- package/dist/oauth/endpoints/metadata.js +36 -0
- package/dist/oauth/endpoints/metadata.js.map +1 -0
- package/dist/oauth/endpoints/token.d.ts +2 -0
- package/dist/oauth/endpoints/token.js +159 -0
- package/dist/oauth/endpoints/token.js.map +1 -0
- package/dist/oauth/gitlab-device-flow.d.ts +8 -0
- package/dist/oauth/gitlab-device-flow.js +172 -0
- package/dist/oauth/gitlab-device-flow.js.map +1 -0
- package/dist/oauth/index.d.ts +8 -0
- package/dist/oauth/index.js +48 -0
- package/dist/oauth/index.js.map +1 -0
- package/dist/oauth/session-store.d.ts +37 -0
- package/dist/oauth/session-store.js +182 -0
- package/dist/oauth/session-store.js.map +1 -0
- package/dist/oauth/token-context.d.ts +8 -0
- package/dist/oauth/token-context.js +40 -0
- package/dist/oauth/token-context.js.map +1 -0
- package/dist/oauth/token-utils.d.ts +14 -0
- package/dist/oauth/token-utils.js +148 -0
- package/dist/oauth/token-utils.js.map +1 -0
- package/dist/oauth/types.d.ts +94 -0
- package/dist/oauth/types.js +3 -0
- package/dist/oauth/types.js.map +1 -0
- package/dist/server.js +147 -9
- package/dist/server.js.map +1 -1
- package/dist/structured-world-gitlab-mcp-5.8.0.tgz +0 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/utils/fetch.d.ts +3 -7
- package/dist/utils/fetch.js +82 -54
- package/dist/utils/fetch.js.map +1 -1
- package/dist/utils/workItemTypes.d.ts +1 -1
- package/dist/utils/workItemTypes.js +2 -2
- package/dist/utils/workItemTypes.js.map +1 -1
- package/package.json +23 -23
- package/dist/structured-world-gitlab-mcp-5.6.1.tgz +0 -0
|
@@ -1,123 +1,49 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const CreatePipelineSchema: z.ZodObject<{
|
|
3
|
-
project_id: z.
|
|
3
|
+
project_id: z.ZodCoercedString<unknown>;
|
|
4
4
|
ref: z.ZodString;
|
|
5
5
|
variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6
6
|
key: z.ZodString;
|
|
7
7
|
value: z.ZodString;
|
|
8
|
-
variable_type: z.ZodOptional<z.ZodEnum<
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
key: string;
|
|
15
|
-
value: string;
|
|
16
|
-
variable_type?: "file" | "env_var" | undefined;
|
|
17
|
-
}>, "many">>;
|
|
18
|
-
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
project_id: string;
|
|
20
|
-
ref: string;
|
|
21
|
-
variables?: {
|
|
22
|
-
key: string;
|
|
23
|
-
value: string;
|
|
24
|
-
variable_type?: "file" | "env_var" | undefined;
|
|
25
|
-
}[] | undefined;
|
|
26
|
-
}, {
|
|
27
|
-
project_id: string;
|
|
28
|
-
ref: string;
|
|
29
|
-
variables?: {
|
|
30
|
-
key: string;
|
|
31
|
-
value: string;
|
|
32
|
-
variable_type?: "file" | "env_var" | undefined;
|
|
33
|
-
}[] | undefined;
|
|
34
|
-
}>;
|
|
8
|
+
variable_type: z.ZodOptional<z.ZodEnum<{
|
|
9
|
+
file: "file";
|
|
10
|
+
env_var: "env_var";
|
|
11
|
+
}>>;
|
|
12
|
+
}, z.core.$strip>>>;
|
|
13
|
+
}, z.core.$strip>;
|
|
35
14
|
export declare const RetryPipelineSchema: z.ZodObject<{
|
|
36
|
-
project_id: z.
|
|
37
|
-
pipeline_id: z.
|
|
38
|
-
},
|
|
39
|
-
project_id: string;
|
|
40
|
-
pipeline_id: string;
|
|
41
|
-
}, {
|
|
42
|
-
project_id: string;
|
|
43
|
-
pipeline_id: string;
|
|
44
|
-
}>;
|
|
15
|
+
project_id: z.ZodCoercedString<unknown>;
|
|
16
|
+
pipeline_id: z.ZodCoercedString<unknown>;
|
|
17
|
+
}, z.core.$strip>;
|
|
45
18
|
export declare const CancelPipelineSchema: z.ZodObject<{
|
|
46
|
-
project_id: z.
|
|
47
|
-
pipeline_id: z.
|
|
48
|
-
},
|
|
49
|
-
project_id: string;
|
|
50
|
-
pipeline_id: string;
|
|
51
|
-
}, {
|
|
52
|
-
project_id: string;
|
|
53
|
-
pipeline_id: string;
|
|
54
|
-
}>;
|
|
19
|
+
project_id: z.ZodCoercedString<unknown>;
|
|
20
|
+
pipeline_id: z.ZodCoercedString<unknown>;
|
|
21
|
+
}, z.core.$strip>;
|
|
55
22
|
export declare const PlayPipelineJobSchema: z.ZodObject<{
|
|
56
|
-
project_id: z.
|
|
57
|
-
job_id: z.
|
|
23
|
+
project_id: z.ZodCoercedString<unknown>;
|
|
24
|
+
job_id: z.ZodCoercedString<unknown>;
|
|
58
25
|
job_variables_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
59
26
|
key: z.ZodString;
|
|
60
27
|
value: z.ZodString;
|
|
61
|
-
variable_type: z.ZodOptional<z.ZodEnum<
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
key: string;
|
|
68
|
-
value: string;
|
|
69
|
-
variable_type?: "file" | "env_var" | undefined;
|
|
70
|
-
}>, "many">>;
|
|
71
|
-
}, "strip", z.ZodTypeAny, {
|
|
72
|
-
project_id: string;
|
|
73
|
-
job_id: string;
|
|
74
|
-
job_variables_attributes?: {
|
|
75
|
-
key: string;
|
|
76
|
-
value: string;
|
|
77
|
-
variable_type?: "file" | "env_var" | undefined;
|
|
78
|
-
}[] | undefined;
|
|
79
|
-
}, {
|
|
80
|
-
project_id: string;
|
|
81
|
-
job_id: string;
|
|
82
|
-
job_variables_attributes?: {
|
|
83
|
-
key: string;
|
|
84
|
-
value: string;
|
|
85
|
-
variable_type?: "file" | "env_var" | undefined;
|
|
86
|
-
}[] | undefined;
|
|
87
|
-
}>;
|
|
28
|
+
variable_type: z.ZodOptional<z.ZodEnum<{
|
|
29
|
+
file: "file";
|
|
30
|
+
env_var: "env_var";
|
|
31
|
+
}>>;
|
|
32
|
+
}, z.core.$strip>>>;
|
|
33
|
+
}, z.core.$strip>;
|
|
88
34
|
export declare const PipelineJobControlSchema: z.ZodObject<{
|
|
89
|
-
project_id: z.
|
|
90
|
-
job_id: z.
|
|
91
|
-
},
|
|
92
|
-
project_id: string;
|
|
93
|
-
job_id: string;
|
|
94
|
-
}, {
|
|
95
|
-
project_id: string;
|
|
96
|
-
job_id: string;
|
|
97
|
-
}>;
|
|
35
|
+
project_id: z.ZodCoercedString<unknown>;
|
|
36
|
+
job_id: z.ZodCoercedString<unknown>;
|
|
37
|
+
}, z.core.$strip>;
|
|
98
38
|
export declare const RetryPipelineJobSchema: z.ZodObject<{
|
|
99
|
-
project_id: z.
|
|
100
|
-
job_id: z.
|
|
101
|
-
},
|
|
102
|
-
project_id: string;
|
|
103
|
-
job_id: string;
|
|
104
|
-
}, {
|
|
105
|
-
project_id: string;
|
|
106
|
-
job_id: string;
|
|
107
|
-
}>;
|
|
39
|
+
project_id: z.ZodCoercedString<unknown>;
|
|
40
|
+
job_id: z.ZodCoercedString<unknown>;
|
|
41
|
+
}, z.core.$strip>;
|
|
108
42
|
export declare const CancelPipelineJobSchema: z.ZodObject<{
|
|
109
|
-
project_id: z.
|
|
110
|
-
job_id: z.
|
|
43
|
+
project_id: z.ZodCoercedString<unknown>;
|
|
44
|
+
job_id: z.ZodCoercedString<unknown>;
|
|
111
45
|
force: z.ZodOptional<z.ZodBoolean>;
|
|
112
|
-
},
|
|
113
|
-
project_id: string;
|
|
114
|
-
job_id: string;
|
|
115
|
-
force?: boolean | undefined;
|
|
116
|
-
}, {
|
|
117
|
-
project_id: string;
|
|
118
|
-
job_id: string;
|
|
119
|
-
force?: boolean | undefined;
|
|
120
|
-
}>;
|
|
46
|
+
}, z.core.$strip>;
|
|
121
47
|
export type CreatePipelineOptions = z.infer<typeof CreatePipelineSchema>;
|
|
122
48
|
export type RetryPipelineOptions = z.infer<typeof RetryPipelineSchema>;
|
|
123
49
|
export type CancelPipelineOptions = z.infer<typeof CancelPipelineSchema>;
|