node-cnb 1.21.0 → 1.23.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/index.cjs +8568 -0
- package/dist/{index.d.ts → index.d.cts} +607 -1992
- package/dist/index.d.mts +607 -1992
- package/dist/index.mjs +7779 -7999
- package/package.json +13 -6
- package/dist/index.js +0 -8782
|
@@ -1,1150 +1,505 @@
|
|
|
1
1
|
//#region src/types.d.ts
|
|
2
|
-
|
|
3
2
|
type ApiBranch = {
|
|
4
|
-
/**分支指向的最新提交信息。*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
/**分支是否被锁定。*/
|
|
11
|
-
locked: boolean;
|
|
12
|
-
|
|
13
|
-
/**分支名称。*/
|
|
14
|
-
name: string;
|
|
15
|
-
|
|
16
|
-
/**分支是否是保护分支。*/
|
|
3
|
+
/**分支指向的最新提交信息。*/commit: {
|
|
4
|
+
/**最新提交的哈希值。*/sha: string;
|
|
5
|
+
}; /**分支是否被锁定。*/
|
|
6
|
+
locked: boolean; /**分支名称。*/
|
|
7
|
+
name: string; /**分支是否是保护分支。*/
|
|
17
8
|
protected: boolean;
|
|
18
9
|
};
|
|
19
10
|
type ApiBranchDetail = {
|
|
20
|
-
/**分支指向的最新提交信息。*/
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
/**分支是否被锁定。*/
|
|
24
|
-
locked: boolean;
|
|
25
|
-
|
|
26
|
-
/**分支名称。*/
|
|
27
|
-
name: string;
|
|
28
|
-
|
|
29
|
-
/**分支是否是保护分支。*/
|
|
11
|
+
/**分支指向的最新提交信息。*/commit: any; /**分支是否被锁定。*/
|
|
12
|
+
locked: boolean; /**分支名称。*/
|
|
13
|
+
name: string; /**分支是否是保护分支。*/
|
|
30
14
|
protected: boolean;
|
|
31
15
|
};
|
|
32
16
|
type ApiBranchProtection = {
|
|
33
|
-
/**是否允许所有人创建保护分支。*/
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
/**是否允许仓库管理员及负责人手动合并到目标分支。*/
|
|
52
|
-
allow_master_manual_merge: boolean;
|
|
53
|
-
|
|
54
|
-
/**是否仅允许仓库管理员及负责人推送代码到保护分支中。*/
|
|
55
|
-
allow_master_pushes: boolean;
|
|
56
|
-
|
|
57
|
-
/**是否允许所有人推送代码到保护分支中。*/
|
|
58
|
-
allow_pushes: boolean;
|
|
59
|
-
|
|
60
|
-
/**保护分支规则唯一标识符。*/
|
|
61
|
-
id: string;
|
|
62
|
-
|
|
63
|
-
/**需要的代码评审者数量。格式:`评审者数量 ∈ [1,5]`*/
|
|
64
|
-
required_approved_review_count: number;
|
|
65
|
-
|
|
66
|
-
/**需要的评审通过率。格式:`通过率 ∈ [1, 100]`*/
|
|
67
|
-
required_approved_review_ratio: number;
|
|
68
|
-
|
|
69
|
-
/**是否仅允许线性提交。*/
|
|
70
|
-
required_linear_history: boolean;
|
|
71
|
-
|
|
72
|
-
/**是否需至少一个仓库管理员批准。*/
|
|
73
|
-
required_master_approve: boolean;
|
|
74
|
-
|
|
75
|
-
/**是否仅允许自动合并。*/
|
|
76
|
-
required_must_auto_merge: boolean;
|
|
77
|
-
|
|
78
|
-
/**是否必须通过合并请求推送代码到此规则匹配分支中。*/
|
|
79
|
-
required_must_push_via_pull_request: boolean;
|
|
80
|
-
|
|
81
|
-
/**保护分支的合并请求是否需要代码评审。*/
|
|
82
|
-
required_pull_request_reviews: boolean;
|
|
83
|
-
|
|
84
|
-
/**是否需要通过状态检查。*/
|
|
85
|
-
required_status_checks: boolean;
|
|
86
|
-
|
|
87
|
-
/**保护分支规则名称,支持通配符。*/
|
|
17
|
+
/**是否允许所有人创建保护分支。*/allow_creation: boolean; /**是否允许所有人删除保护分支。*/
|
|
18
|
+
allow_deletions: boolean; /**是否允许所有人强制推送。*/
|
|
19
|
+
allow_force_pushes: boolean; /**是否仅允许仓库管理员及负责人创建保护分支。*/
|
|
20
|
+
allow_master_creation: boolean; /**是否仅允许仓库管理员及负责人删除保护分支。*/
|
|
21
|
+
allow_master_deletions: boolean; /**是否仅允许仓库管理员及负责人强制推送。*/
|
|
22
|
+
allow_master_force_pushes: boolean; /**是否允许仓库管理员及负责人手动合并到目标分支。*/
|
|
23
|
+
allow_master_manual_merge: boolean; /**是否仅允许仓库管理员及负责人推送代码到保护分支中。*/
|
|
24
|
+
allow_master_pushes: boolean; /**是否允许所有人推送代码到保护分支中。*/
|
|
25
|
+
allow_pushes: boolean; /**保护分支规则唯一标识符。*/
|
|
26
|
+
id: string; /**需要的代码评审者数量。格式:`评审者数量 ∈ [1,5]`*/
|
|
27
|
+
required_approved_review_count: number; /**需要的评审通过率。格式:`通过率 ∈ [1, 100]`*/
|
|
28
|
+
required_approved_review_ratio: number; /**是否仅允许线性提交。*/
|
|
29
|
+
required_linear_history: boolean; /**是否需至少一个仓库管理员批准。*/
|
|
30
|
+
required_master_approve: boolean; /**是否仅允许自动合并。*/
|
|
31
|
+
required_must_auto_merge: boolean; /**是否必须通过合并请求推送代码到此规则匹配分支中。*/
|
|
32
|
+
required_must_push_via_pull_request: boolean; /**保护分支的合并请求是否需要代码评审。*/
|
|
33
|
+
required_pull_request_reviews: boolean; /**是否需要通过状态检查。*/
|
|
34
|
+
required_status_checks: boolean; /**保护分支规则名称,支持通配符。*/
|
|
88
35
|
rule: string;
|
|
89
36
|
};
|
|
90
37
|
type ApiCommit = {
|
|
91
|
-
/**提交的作者信息。*/
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
commit: any;
|
|
96
|
-
|
|
97
|
-
/**提交的提交者信息。*/
|
|
98
|
-
committer: any;
|
|
99
|
-
|
|
100
|
-
/**父提交列表。*/
|
|
101
|
-
parents: ApiCommitParent[];
|
|
102
|
-
|
|
103
|
-
/**提交的哈希值。*/
|
|
38
|
+
/**提交的作者信息。*/author: any; /**提交的详细信息。*/
|
|
39
|
+
commit: any; /**提交的提交者信息。*/
|
|
40
|
+
committer: any; /**父提交列表。*/
|
|
41
|
+
parents: ApiCommitParent[]; /**提交的哈希值。*/
|
|
104
42
|
sha: string;
|
|
105
43
|
};
|
|
106
44
|
type ApiCommitAsset = {
|
|
107
|
-
/**提交附件作者信息。*/
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
/**下载次数。*/
|
|
117
|
-
download_count: number;
|
|
118
|
-
|
|
119
|
-
/**附件唯一标识符。*/
|
|
120
|
-
id: string;
|
|
121
|
-
|
|
122
|
-
/**附件名称。*/
|
|
123
|
-
name: string;
|
|
124
|
-
|
|
125
|
-
/**附件路径。*/
|
|
126
|
-
path: string;
|
|
127
|
-
|
|
128
|
-
/**附件大小(字节)。*/
|
|
129
|
-
size_in_byte: number;
|
|
130
|
-
|
|
131
|
-
/**附件更新时间。*/
|
|
45
|
+
/**提交附件作者信息。*/author: any; /**附件内容类型。*/
|
|
46
|
+
content_type: string; /**附件创建时间。*/
|
|
47
|
+
created_at: string; /**下载次数。*/
|
|
48
|
+
download_count: number; /**附件唯一标识符。*/
|
|
49
|
+
id: string; /**附件名称。*/
|
|
50
|
+
name: string; /**附件路径。*/
|
|
51
|
+
path: string; /**附件大小(字节)。*/
|
|
52
|
+
size_in_byte: number; /**附件更新时间。*/
|
|
132
53
|
updated_at: string;
|
|
133
54
|
};
|
|
134
55
|
type ApiCommitDiffFilePatch = {
|
|
135
|
-
/**新增行数。*/
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
/**文件名。*/
|
|
145
|
-
name: string;
|
|
146
|
-
|
|
147
|
-
/**Git差异补丁内容。*/
|
|
148
|
-
patch: string;
|
|
149
|
-
|
|
150
|
-
/**文件路径。*/
|
|
151
|
-
path: string;
|
|
152
|
-
|
|
153
|
-
/**重命名前的原文件名。*/
|
|
154
|
-
previous_filename: string;
|
|
155
|
-
|
|
156
|
-
/**重命名前的文件权限模式。*/
|
|
157
|
-
previous_mode: string;
|
|
158
|
-
|
|
159
|
-
/**文件变更状态。枚举值:`added`,`modified`,`deleted`,`renamed`,`copied`*/
|
|
56
|
+
/**新增行数。*/additions: number; /**删除行数。*/
|
|
57
|
+
deletions: number; /**文件权限模式。*/
|
|
58
|
+
mode: string; /**文件名。*/
|
|
59
|
+
name: string; /**Git差异补丁内容。*/
|
|
60
|
+
patch: string; /**文件路径。*/
|
|
61
|
+
path: string; /**重命名前的原文件名。*/
|
|
62
|
+
previous_filename: string; /**重命名前的文件权限模式。*/
|
|
63
|
+
previous_mode: string; /**文件变更状态。枚举值:`added`,`modified`,`deleted`,`renamed`,`copied`*/
|
|
160
64
|
status: string;
|
|
161
65
|
};
|
|
162
66
|
type ApiCommitParent = {
|
|
163
|
-
/**父提交的哈希值。*/
|
|
164
|
-
sha: string;
|
|
67
|
+
/**父提交的哈希值。*/sha: string;
|
|
165
68
|
};
|
|
166
69
|
type ApiCommitStatuses = {
|
|
167
|
-
/**提交的哈希值。*/
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
/**整体提交状态。*/
|
|
171
|
-
state: string;
|
|
172
|
-
|
|
173
|
-
/**具体的提交状态检查列表。*/
|
|
70
|
+
/**提交的哈希值。*/sha: string; /**整体提交状态。*/
|
|
71
|
+
state: string; /**具体的提交状态检查列表。*/
|
|
174
72
|
statuses: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiCommitStatus[];
|
|
175
73
|
};
|
|
176
74
|
type ApiCompareResponse = {
|
|
177
|
-
/**基准对比提交。*/
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
/**文件差异列表。*/
|
|
184
|
-
files: ApiCommitDiffFilePatch[];
|
|
185
|
-
|
|
186
|
-
/**源分支最新提交。*/
|
|
187
|
-
head_commit: any;
|
|
188
|
-
|
|
189
|
-
/**共同祖先提交。*/
|
|
190
|
-
merge_base_commit: any;
|
|
191
|
-
|
|
192
|
-
/**总提交数。*/
|
|
75
|
+
/**基准对比提交。*/base_commit: any; /**提交列表。*/
|
|
76
|
+
commits: ApiCommit[]; /**文件差异列表。*/
|
|
77
|
+
files: ApiCommitDiffFilePatch[]; /**源分支最新提交。*/
|
|
78
|
+
head_commit: any; /**共同祖先提交。*/
|
|
79
|
+
merge_base_commit: any; /**总提交数。*/
|
|
193
80
|
total_commits: number;
|
|
194
81
|
};
|
|
195
82
|
type ApiContent = {
|
|
196
|
-
/**当内容为text时的实际内容(base64编码)。*/
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
lfs_download_url: string;
|
|
207
|
-
|
|
208
|
-
/**LFS对象的唯一标识符,仅当内容类型为lfs时有效。*/
|
|
209
|
-
lfs_oid: string;
|
|
210
|
-
|
|
211
|
-
/**LFS对象的大小(字节),仅当内容类型为lfs时有效。*/
|
|
212
|
-
lfs_size: number;
|
|
213
|
-
|
|
214
|
-
/**内容名称(文件名或目录名)。*/
|
|
215
|
-
name: string;
|
|
216
|
-
|
|
217
|
-
/**内容在仓库中的完整路径。*/
|
|
218
|
-
path: string;
|
|
219
|
-
|
|
220
|
-
/**Git对象的哈希值。*/
|
|
221
|
-
sha: string;
|
|
222
|
-
|
|
223
|
-
/**内容大小(字节)。*/
|
|
224
|
-
size: number;
|
|
225
|
-
|
|
226
|
-
/**内容类型。枚举值:`tree`、`blob`、`lfs`、`empty`*/
|
|
83
|
+
/**当内容为text时的实际内容(base64编码)。*/content: string; /**内容编码方式,仅当内容类型为blob时有效。枚举值:`base64`*/
|
|
84
|
+
encoding: string; /**子项列表,当内容类型为tree时返回,否则为空。*/
|
|
85
|
+
entries: ApiTreeEntry[]; /**LFS对象的下载URL,仅当内容类型为lfs时有效。*/
|
|
86
|
+
lfs_download_url: string; /**LFS对象的唯一标识符,仅当内容类型为lfs时有效。*/
|
|
87
|
+
lfs_oid: string; /**LFS对象的大小(字节),仅当内容类型为lfs时有效。*/
|
|
88
|
+
lfs_size: number; /**内容名称(文件名或目录名)。*/
|
|
89
|
+
name: string; /**内容在仓库中的完整路径。*/
|
|
90
|
+
path: string; /**Git对象的哈希值。*/
|
|
91
|
+
sha: string; /**内容大小(字节)。*/
|
|
92
|
+
size: number; /**内容类型。枚举值:`tree`、`blob`、`lfs`、`empty`*/
|
|
227
93
|
type: string;
|
|
228
94
|
};
|
|
229
95
|
type ApiDeleteIssueAssigneesForm = {
|
|
230
|
-
/**Issue处理人用户名列表,最大限制为8。示例:`["zhangsan", "lisi"]`*/
|
|
231
|
-
assignees: string[];
|
|
96
|
+
/**Issue处理人用户名列表,最大限制为8。示例:`["zhangsan", "lisi"]`*/assignees: string[];
|
|
232
97
|
};
|
|
233
98
|
type ApiDeletePullAssigneesForm = {
|
|
234
|
-
/**合并请求的处理人用户列表。*/
|
|
235
|
-
assignees: string[];
|
|
99
|
+
/**合并请求的处理人用户列表。*/assignees: string[];
|
|
236
100
|
};
|
|
237
101
|
type ApiDiffLine = {
|
|
238
|
-
/**实际内容文本。*/
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
left_line_number: number;
|
|
243
|
-
|
|
244
|
-
/**差异行的前缀符号。*/
|
|
245
|
-
prefix: string;
|
|
246
|
-
|
|
247
|
-
/**右侧(新版本)的行号。*/
|
|
248
|
-
right_line_number: number;
|
|
249
|
-
|
|
250
|
-
/**枚举值:`context`,`addition`,`deletion`,`context_eofnl`,`add_eofnl`,`del_eofnl`,`file_header`,`hunk_header`,`binary`*/
|
|
102
|
+
/**实际内容文本。*/content: string; /**左侧(原版本)的行号。*/
|
|
103
|
+
left_line_number: number; /**差异行的前缀符号。*/
|
|
104
|
+
prefix: string; /**右侧(新版本)的行号。*/
|
|
105
|
+
right_line_number: number; /**枚举值:`context`,`addition`,`deletion`,`context_eofnl`,`add_eofnl`,`del_eofnl`,`file_header`,`hunk_header`,`binary`*/
|
|
251
106
|
type: string;
|
|
252
107
|
};
|
|
253
108
|
type ApiIssue = {
|
|
254
|
-
/**Issue处理人列表,最多支持8个处理人。*/
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
/**Issue
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
/**Issue
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
/**Issue
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
/**Issue
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
/**Issue是否可见。*/
|
|
270
|
-
invisible: boolean;
|
|
271
|
-
|
|
272
|
-
/**Issue标签列表,最多支持10个标签。*/
|
|
273
|
-
labels: ApiLabel[];
|
|
274
|
-
|
|
275
|
-
/**Issue最后活动时间。*/
|
|
276
|
-
last_acted_at: string;
|
|
277
|
-
|
|
278
|
-
/**Issue的唯一标识编号。*/
|
|
279
|
-
number: string;
|
|
280
|
-
|
|
281
|
-
/**Issue优先级。枚举值:`-2P`,`-1P`,`P0`,`P1`,`P2`,`P3`*/
|
|
282
|
-
priority: string;
|
|
283
|
-
|
|
284
|
-
/**Issue开始日期。*/
|
|
285
|
-
started_at: string;
|
|
286
|
-
|
|
287
|
-
/**Issue状态。枚举值:`open`,`closed`*/
|
|
288
|
-
state: string;
|
|
289
|
-
|
|
290
|
-
/**状态变更原因。枚举值:`open`,`completed`,`not_planned`,`reopened`*/
|
|
291
|
-
state_reason: string;
|
|
292
|
-
|
|
293
|
-
/**Issue标题,长度限制2-255字符。*/
|
|
294
|
-
title: string;
|
|
295
|
-
|
|
296
|
-
/**Issue最后更新时间。*/
|
|
109
|
+
/**Issue处理人列表,最多支持8个处理人。*/assignees: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[]; /**Issue创建者信息。*/
|
|
110
|
+
author: any; /**Issue评论数量。*/
|
|
111
|
+
comment_count: number; /**Issue创建时间。*/
|
|
112
|
+
created_at: string; /**Issue结束日期。*/
|
|
113
|
+
ended_at: string; /**Issue是否可见。*/
|
|
114
|
+
invisible: boolean; /**Issue标签列表,最多支持10个标签。*/
|
|
115
|
+
labels: ApiLabel[]; /**Issue最后活动时间。*/
|
|
116
|
+
last_acted_at: string; /**Issue的唯一标识编号。*/
|
|
117
|
+
number: string; /**Issue优先级。枚举值:`-2P`,`-1P`,`P0`,`P1`,`P2`,`P3`*/
|
|
118
|
+
priority: string; /**Issue开始日期。*/
|
|
119
|
+
started_at: string; /**Issue状态。枚举值:`open`,`closed`*/
|
|
120
|
+
state: string; /**状态变更原因。枚举值:`open`,`completed`,`not_planned`,`reopened`*/
|
|
121
|
+
state_reason: string; /**Issue标题,长度限制2-255字符。*/
|
|
122
|
+
title: string; /**Issue最后更新时间。*/
|
|
297
123
|
updated_at: string;
|
|
298
124
|
};
|
|
299
125
|
type ApiIssueComment = {
|
|
300
|
-
/**发表评论的用户信息。*/
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
/**评论的创建时间。*/
|
|
307
|
-
created_at: string;
|
|
308
|
-
|
|
309
|
-
/**评论的唯一标识符。*/
|
|
310
|
-
id: string;
|
|
311
|
-
|
|
312
|
-
/**Reaction 数量列表。*/
|
|
313
|
-
reactions: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiSceneReaction[];
|
|
314
|
-
|
|
315
|
-
/**评论的更新时间。*/
|
|
126
|
+
/**发表评论的用户信息。*/author: any; /**评论的内容。*/
|
|
127
|
+
body: string; /**评论的创建时间。*/
|
|
128
|
+
created_at: string; /**评论的唯一标识符。*/
|
|
129
|
+
id: string; /**Reaction 数量列表。*/
|
|
130
|
+
reactions: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiSceneReaction[]; /**评论的更新时间。*/
|
|
316
131
|
updated_at: string;
|
|
317
132
|
};
|
|
318
133
|
type ApiIssueDetail = {
|
|
319
|
-
/**Issue处理人列表,最多支持8个处理人。*/
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
/**Issue
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
/**Issue
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
/**Issue
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
/**Issue结束日期。*/
|
|
335
|
-
ended_at: string;
|
|
336
|
-
|
|
337
|
-
/**Issue是否可见。*/
|
|
338
|
-
invisible: boolean;
|
|
339
|
-
|
|
340
|
-
/**Issue标签列表,最多支持10个标签。*/
|
|
341
|
-
labels: ApiLabel[];
|
|
342
|
-
|
|
343
|
-
/**Issue最后活动时间。*/
|
|
344
|
-
last_acted_at: string;
|
|
345
|
-
|
|
346
|
-
/**Issue的唯一标识编号。*/
|
|
347
|
-
number: string;
|
|
348
|
-
|
|
349
|
-
/**Issue优先级。枚举值:`-2P`,`-1P`,`P0`,`P1`,`P2`,`P3`*/
|
|
350
|
-
priority: string;
|
|
351
|
-
|
|
352
|
-
/**Issue开始日期。*/
|
|
353
|
-
started_at: string;
|
|
354
|
-
|
|
355
|
-
/**Issue状态。枚举值:`open`,`closed`*/
|
|
356
|
-
state: string;
|
|
357
|
-
|
|
358
|
-
/**状态变更原因。枚举值:`open`,`completed`,`not_planned`,`reopened`*/
|
|
359
|
-
state_reason: string;
|
|
360
|
-
|
|
361
|
-
/**Issue标题,长度限制2-255字符。*/
|
|
362
|
-
title: string;
|
|
363
|
-
|
|
364
|
-
/**Issue最后更新时间。*/
|
|
134
|
+
/**Issue处理人列表,最多支持8个处理人。*/assignees: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[]; /**Issue创建者信息。*/
|
|
135
|
+
author: any; /**Issue内容正文。*/
|
|
136
|
+
body: string; /**Issue评论数量。*/
|
|
137
|
+
comment_count: number; /**Issue创建时间。*/
|
|
138
|
+
created_at: string; /**Issue结束日期。*/
|
|
139
|
+
ended_at: string; /**Issue是否可见。*/
|
|
140
|
+
invisible: boolean; /**Issue标签列表,最多支持10个标签。*/
|
|
141
|
+
labels: ApiLabel[]; /**Issue最后活动时间。*/
|
|
142
|
+
last_acted_at: string; /**Issue的唯一标识编号。*/
|
|
143
|
+
number: string; /**Issue优先级。枚举值:`-2P`,`-1P`,`P0`,`P1`,`P2`,`P3`*/
|
|
144
|
+
priority: string; /**Issue开始日期。*/
|
|
145
|
+
started_at: string; /**Issue状态。枚举值:`open`,`closed`*/
|
|
146
|
+
state: string; /**状态变更原因。枚举值:`open`,`completed`,`not_planned`,`reopened`*/
|
|
147
|
+
state_reason: string; /**Issue标题,长度限制2-255字符。*/
|
|
148
|
+
title: string; /**Issue最后更新时间。*/
|
|
365
149
|
updated_at: string;
|
|
366
150
|
};
|
|
367
151
|
type ApiIssuePropertyUpdateResult = {
|
|
368
|
-
/**更新失败的属性数量*/
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
/**更新失败的属性key列表,仅当存在失败时返回*/
|
|
372
|
-
failed_keys: string[];
|
|
373
|
-
|
|
374
|
-
/**更新成功的属性数量*/
|
|
152
|
+
/**更新失败的属性数量*/failed_count: number; /**更新失败的属性key列表,仅当存在失败时返回*/
|
|
153
|
+
failed_keys: string[]; /**更新成功的属性数量*/
|
|
375
154
|
success_count: number;
|
|
376
155
|
};
|
|
377
156
|
type ApiLabel = {
|
|
378
|
-
/**标签颜色。*/
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
/**标签描述。*/
|
|
382
|
-
description: string;
|
|
383
|
-
|
|
384
|
-
/**标签ID。*/
|
|
385
|
-
id: string;
|
|
386
|
-
|
|
387
|
-
/**标签名称。*/
|
|
157
|
+
/**标签颜色。*/color: string; /**标签描述。*/
|
|
158
|
+
description: string; /**标签ID。*/
|
|
159
|
+
id: string; /**标签名称。*/
|
|
388
160
|
name: string;
|
|
389
161
|
};
|
|
390
162
|
type ApiMergePullRequest = {
|
|
391
|
-
/**合并提交的详细描述信息。*/
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
/**合并提交的标题。*/
|
|
395
|
-
commit_title: string;
|
|
396
|
-
|
|
397
|
-
/**合并提交方式。可选值:`merge`,`squash`,`rebase`*/
|
|
163
|
+
/**合并提交的详细描述信息。*/commit_message: string; /**合并提交的标题。*/
|
|
164
|
+
commit_title: string; /**合并提交方式。可选值:`merge`,`squash`,`rebase`*/
|
|
398
165
|
merge_style: string;
|
|
399
166
|
};
|
|
400
167
|
type ApiMergePullResponse = {
|
|
401
|
-
/**是否成功合并。*/
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
/**合并操作的响应消息。*/
|
|
405
|
-
message: string;
|
|
406
|
-
|
|
407
|
-
/**合并提交的哈希值。*/
|
|
168
|
+
/**是否成功合并。*/merged: boolean; /**合并操作的响应消息。*/
|
|
169
|
+
message: string; /**合并提交的哈希值。*/
|
|
408
170
|
sha: string;
|
|
409
171
|
};
|
|
410
172
|
type ApiPatchIssueAssigneesForm = {
|
|
411
|
-
/**Issue处理人用户名列表,最大限制为8。示例:`["zhangsan", "lisi"]`*/
|
|
412
|
-
assignees: string[];
|
|
173
|
+
/**Issue处理人用户名列表,最大限制为8。示例:`["zhangsan", "lisi"]`*/assignees: string[];
|
|
413
174
|
};
|
|
414
175
|
type ApiPatchIssueCommentForm = {
|
|
415
|
-
/**Issue评论内容。*/
|
|
416
|
-
body: string;
|
|
176
|
+
/**Issue评论内容。*/body: string;
|
|
417
177
|
};
|
|
418
178
|
type ApiPatchIssueForm = {
|
|
419
|
-
/**Issue内容。*/
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
/**Issue
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
/**Issue优先级。可选值:`-2P`,`-1P`,`P0`,`P1`,`P2`,`P3`*/
|
|
426
|
-
priority: string;
|
|
427
|
-
|
|
428
|
-
/**Issue开始日期。示例:`2026-01-01`*/
|
|
429
|
-
start_date: string;
|
|
430
|
-
|
|
431
|
-
/**Issue状态。可选值:`open`,`closed`*/
|
|
432
|
-
state: string;
|
|
433
|
-
|
|
434
|
-
/**ISSUE状态变更原因。可选值:`completed`,`not_planned`,`reopened`*/
|
|
435
|
-
state_reason: string;
|
|
436
|
-
|
|
437
|
-
/**Issue标题。*/
|
|
179
|
+
/**Issue内容。*/body: string; /**Issue结束日期。示例:`2026-12-30`*/
|
|
180
|
+
end_date: string; /**Issue优先级。可选值:`-2P`,`-1P`,`P0`,`P1`,`P2`,`P3`*/
|
|
181
|
+
priority: string; /**Issue开始日期。示例:`2026-01-01`*/
|
|
182
|
+
start_date: string; /**Issue状态。可选值:`open`,`closed`*/
|
|
183
|
+
state: string; /**ISSUE状态变更原因。可选值:`completed`,`not_planned`,`reopened`*/
|
|
184
|
+
state_reason: string; /**Issue标题。*/
|
|
438
185
|
title: string;
|
|
439
186
|
};
|
|
440
187
|
type ApiPatchLabelForm = {
|
|
441
|
-
/**The hexadecimal color code for the label, without the leading `#`.*/
|
|
442
|
-
color: string;
|
|
188
|
+
/**The hexadecimal color code for the label, without the leading `#`.*/color: string;
|
|
443
189
|
description: string;
|
|
444
190
|
new_name: string;
|
|
445
191
|
};
|
|
446
192
|
type ApiPatchPullCommentForm = {
|
|
447
|
-
/**评论内容。*/
|
|
448
|
-
body: string;
|
|
193
|
+
/**评论内容。*/body: string;
|
|
449
194
|
};
|
|
450
195
|
type ApiPatchPullRequest = {
|
|
451
|
-
/**合并请求的更新内容。*/
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
/**合并请求的更新状态。可选值:`open`,`closed`*/
|
|
455
|
-
state: string;
|
|
456
|
-
|
|
457
|
-
/**合并请求的更新标题。*/
|
|
196
|
+
/**合并请求的更新内容。*/body: string; /**合并请求的更新状态。可选值:`open`,`closed`*/
|
|
197
|
+
state: string; /**合并请求的更新标题。*/
|
|
458
198
|
title: string;
|
|
459
199
|
};
|
|
460
200
|
type ApiPipelineSettings = {
|
|
461
|
-
/**是否允许仓库按照.cnb.yml配置自动触发云原生构建。*/
|
|
462
|
-
auto_trigger: boolean;
|
|
463
|
-
|
|
464
|
-
/**是否允许本仓Fork出来的仓库按照.cnb.yml配置自动触发云原生构建。*/
|
|
201
|
+
/**是否允许仓库按照.cnb.yml配置自动触发云原生构建。*/auto_trigger: boolean; /**是否允许本仓Fork出来的仓库按照.cnb.yml配置自动触发云原生构建。*/
|
|
465
202
|
forked_repo_auto_trigger: boolean;
|
|
466
203
|
};
|
|
467
204
|
type ApiPostBlobForm = {
|
|
468
|
-
/**Blob的内容。*/
|
|
469
|
-
content: string;
|
|
470
|
-
|
|
471
|
-
/**内容的编码格式。可选值:`utf-8`,`base64`*/
|
|
205
|
+
/**Blob的内容。*/content: string; /**内容的编码格式。可选值:`utf-8`,`base64`*/
|
|
472
206
|
encoding: string;
|
|
473
207
|
};
|
|
474
208
|
type ApiPostIssueAssigneesForm = {
|
|
475
|
-
/**Issue处理人用户名列表,最大限制为8。示例:`["zhangsan", "lisi"]`*/
|
|
476
|
-
assignees: string[];
|
|
209
|
+
/**Issue处理人用户名列表,最大限制为8。示例:`["zhangsan", "lisi"]`*/assignees: string[];
|
|
477
210
|
};
|
|
478
211
|
type ApiPostIssueCommentForm = {
|
|
479
|
-
/**Issue评论内容。*/
|
|
480
|
-
body: string;
|
|
212
|
+
/**Issue评论内容。*/body: string;
|
|
481
213
|
};
|
|
482
214
|
type ApiPostIssueForm = {
|
|
483
|
-
/**Issue处理人列表,最大限制为8。示例:`["处理人1","处理人2"]`*/
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
/**Issue
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
/**Issue
|
|
490
|
-
end_date: string;
|
|
491
|
-
|
|
492
|
-
/**是否可见。*/
|
|
493
|
-
invisible: boolean;
|
|
494
|
-
|
|
495
|
-
/**Issue标签列表,最大限制为10。示例:`["标签1","标签2"]`*/
|
|
496
|
-
labels: string[];
|
|
497
|
-
|
|
498
|
-
/**Issue优先级。可选值:`-2P`,`-1P`,`P0`,`P1`,`P2`,`P3`*/
|
|
499
|
-
priority: string;
|
|
500
|
-
|
|
501
|
-
/**Issue开始日期。示例:`2026-01-01`*/
|
|
502
|
-
start_date: string;
|
|
503
|
-
|
|
504
|
-
/**Issue标题。*/
|
|
215
|
+
/**Issue处理人列表,最大限制为8。示例:`["处理人1","处理人2"]`*/assignees: string[]; /**Issue内容。*/
|
|
216
|
+
body: string; /**Issue结束日期。示例:`2026-12-30`*/
|
|
217
|
+
end_date: string; /**是否可见。*/
|
|
218
|
+
invisible: boolean; /**Issue标签列表,最大限制为10。示例:`["标签1","标签2"]`*/
|
|
219
|
+
labels: string[]; /**Issue优先级。可选值:`-2P`,`-1P`,`P0`,`P1`,`P2`,`P3`*/
|
|
220
|
+
priority: string; /**Issue开始日期。示例:`2026-01-01`*/
|
|
221
|
+
start_date: string; /**Issue标题。*/
|
|
505
222
|
title: string;
|
|
506
223
|
};
|
|
507
224
|
type ApiPostIssueLabelsForm = {
|
|
508
|
-
/**Issue标签列表,最大限制为10。示例:`["标签1","标签2"]`*/
|
|
509
|
-
labels: string[];
|
|
225
|
+
/**Issue标签列表,最大限制为10。示例:`["标签1","标签2"]`*/labels: string[];
|
|
510
226
|
};
|
|
511
227
|
type ApiPostLabelForm = {
|
|
512
|
-
/**The hexadecimal color code for the label, without the leading `#`.*/
|
|
513
|
-
color: string;
|
|
228
|
+
/**The hexadecimal color code for the label, without the leading `#`.*/color: string;
|
|
514
229
|
description: string;
|
|
515
230
|
name: string;
|
|
516
231
|
};
|
|
517
232
|
type ApiPostPullAssigneesForm = {
|
|
518
|
-
/**合并请求的处理人用户列表。*/
|
|
519
|
-
assignees: string[];
|
|
233
|
+
/**合并请求的处理人用户列表。*/assignees: string[];
|
|
520
234
|
};
|
|
521
235
|
type ApiPostPullLabelsForm = {
|
|
522
|
-
/**合并请求的标签列表。*/
|
|
523
|
-
labels: string[];
|
|
236
|
+
/**合并请求的标签列表。*/labels: string[];
|
|
524
237
|
};
|
|
525
238
|
type ApiPostPullRequestReviewReplyForm = {
|
|
526
|
-
/**回复的评论内容。*/
|
|
527
|
-
body: string;
|
|
528
|
-
|
|
529
|
-
/**父评论ID。*/
|
|
239
|
+
/**回复的评论内容。*/body: string; /**父评论ID。*/
|
|
530
240
|
reply_to_comment_id: string;
|
|
531
241
|
};
|
|
532
242
|
type ApiPostTagFrom = {
|
|
533
|
-
/**标签的描述信息。*/
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
/**标签名称。*/
|
|
537
|
-
name: string;
|
|
538
|
-
|
|
539
|
-
/**标签指向的目标对象。格式:`分支名称`,`标签名称`,`提交哈希`*/
|
|
243
|
+
/**标签的描述信息。*/message: string; /**标签名称。*/
|
|
244
|
+
name: string; /**标签指向的目标对象。格式:`分支名称`,`标签名称`,`提交哈希`*/
|
|
540
245
|
target: string;
|
|
541
246
|
};
|
|
542
247
|
type ApiPull = {
|
|
543
|
-
/**作者信息。*/
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
/**源分支信息。*/
|
|
556
|
-
head: any;
|
|
557
|
-
|
|
558
|
-
/**是否为WIP状态,WIP状态表示合并请求是否是草稿阶段。*/
|
|
559
|
-
is_wip: boolean;
|
|
560
|
-
|
|
561
|
-
/**关联的标签列表。*/
|
|
562
|
-
labels: ApiLabel[];
|
|
563
|
-
|
|
564
|
-
/**合并者信息。*/
|
|
565
|
-
merged_by: any;
|
|
566
|
-
|
|
567
|
-
/**合并请求唯一标识符编号。*/
|
|
568
|
-
number: string;
|
|
569
|
-
|
|
570
|
-
/**评审人列表,包含评审状态信息。*/
|
|
571
|
-
reviewers: ApiPullReviewer[];
|
|
572
|
-
|
|
573
|
-
/**合并请求状态。枚举值:`open`,`closed`,`merged`*/
|
|
574
|
-
state: string;
|
|
575
|
-
|
|
576
|
-
/**合并请求标题。*/
|
|
248
|
+
/**作者信息。*/author: any; /**目标分支信息。*/
|
|
249
|
+
base: any; /**阻塞原因。*/
|
|
250
|
+
blocked_on: string; /**合并请求内容。*/
|
|
251
|
+
body: string; /**源分支信息。*/
|
|
252
|
+
head: any; /**是否为WIP状态,WIP状态表示合并请求是否是草稿阶段。*/
|
|
253
|
+
is_wip: boolean; /**关联的标签列表。*/
|
|
254
|
+
labels: ApiLabel[]; /**合并者信息。*/
|
|
255
|
+
merged_by: any; /**合并请求唯一标识符编号。*/
|
|
256
|
+
number: string; /**评审人列表,包含评审状态信息。*/
|
|
257
|
+
reviewers: ApiPullReviewer[]; /**合并请求状态。枚举值:`open`,`closed`,`merged`*/
|
|
258
|
+
state: string; /**合并请求标题。*/
|
|
577
259
|
title: string;
|
|
578
260
|
};
|
|
579
261
|
type ApiPullCommentCreationForm = {
|
|
580
|
-
/**评论内容。*/
|
|
581
|
-
body: string;
|
|
262
|
+
/**评论内容。*/body: string;
|
|
582
263
|
};
|
|
583
264
|
type ApiPullCreationForm = {
|
|
584
|
-
/**目标分支名称。*/
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
body: string;
|
|
589
|
-
|
|
590
|
-
/**源分支名称。*/
|
|
591
|
-
head: string;
|
|
592
|
-
|
|
593
|
-
/**源分支所在的仓库标识。示例值:`owner/repo`*/
|
|
594
|
-
head_repo: string;
|
|
595
|
-
|
|
596
|
-
/**合并请求标题。*/
|
|
265
|
+
/**目标分支名称。*/base: string; /**合并请求内容。*/
|
|
266
|
+
body: string; /**源分支名称。*/
|
|
267
|
+
head: string; /**源分支所在的仓库标识。示例值:`owner/repo`*/
|
|
268
|
+
head_repo: string; /**合并请求标题。*/
|
|
597
269
|
title: string;
|
|
598
270
|
};
|
|
599
271
|
type ApiPullFile = {
|
|
600
|
-
/**新增行数。*/
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
/**删除行数。*/
|
|
610
|
-
deletions: number;
|
|
611
|
-
|
|
612
|
-
/**文件名称。*/
|
|
613
|
-
filename: string;
|
|
614
|
-
|
|
615
|
-
/**文件的差异补丁内容。*/
|
|
616
|
-
patch: string;
|
|
617
|
-
|
|
618
|
-
/**文件的原始内容访问地址。*/
|
|
619
|
-
raw_url: string;
|
|
620
|
-
|
|
621
|
-
/**文件的提交哈希值。*/
|
|
622
|
-
sha: string;
|
|
623
|
-
|
|
624
|
-
/**文件更改状态。枚举值:`add`,`modify`,`delete`,`rename`,`copy`*/
|
|
272
|
+
/**新增行数。*/additions: number; /**文件的Blob对象访问地址。*/
|
|
273
|
+
blob_url: string; /**文件内容访问地址。*/
|
|
274
|
+
contents_url: string; /**删除行数。*/
|
|
275
|
+
deletions: number; /**文件名称。*/
|
|
276
|
+
filename: string; /**文件的差异补丁内容。*/
|
|
277
|
+
patch: string; /**文件的原始内容访问地址。*/
|
|
278
|
+
raw_url: string; /**文件的提交哈希值。*/
|
|
279
|
+
sha: string; /**文件更改状态。枚举值:`add`,`modify`,`delete`,`rename`,`copy`*/
|
|
625
280
|
status: string;
|
|
626
281
|
};
|
|
627
282
|
type ApiPullRequest = {
|
|
628
|
-
/**处理人列表。*/
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
/**创建时间。*/
|
|
647
|
-
created_at: string;
|
|
648
|
-
|
|
649
|
-
/**源分支信息。*/
|
|
650
|
-
head: any;
|
|
651
|
-
|
|
652
|
-
/**是否为WIP状态,WIP状态表示合并请求是否是草稿阶段。*/
|
|
653
|
-
is_wip: boolean;
|
|
654
|
-
|
|
655
|
-
/**标签列表。*/
|
|
656
|
-
labels: ApiLabel[];
|
|
657
|
-
|
|
658
|
-
/**最后更新时间。*/
|
|
659
|
-
last_acted_at: string;
|
|
660
|
-
|
|
661
|
-
/**可合并状态。枚举值:`mergeable`,`merging`,`merged`,`conflict`,`no-merge-base`*/
|
|
662
|
-
mergeable_state: string;
|
|
663
|
-
|
|
664
|
-
/**合并者信息。*/
|
|
665
|
-
merged_by: any;
|
|
666
|
-
|
|
667
|
-
/**Pulls唯一标识编号。*/
|
|
668
|
-
number: string;
|
|
669
|
-
|
|
670
|
-
/**仓库信息。*/
|
|
671
|
-
repo: any;
|
|
672
|
-
|
|
673
|
-
/**评审数量。*/
|
|
674
|
-
review_count: number;
|
|
675
|
-
|
|
676
|
-
/**合并请求状态。枚举值:`open`,`closed`,`merged`*/
|
|
677
|
-
state: string;
|
|
678
|
-
|
|
679
|
-
/**合并请求标题。*/
|
|
680
|
-
title: string;
|
|
681
|
-
|
|
682
|
-
/**更新时间。*/
|
|
283
|
+
/**处理人列表。*/assignees: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo[]; /**作者信息。*/
|
|
284
|
+
author: any; /**目标分支信息。*/
|
|
285
|
+
base: any; /**阻塞原因。*/
|
|
286
|
+
blocked_on: string; /**合并请求内容。*/
|
|
287
|
+
body: string; /**评论数量。*/
|
|
288
|
+
comment_count: number; /**创建时间。*/
|
|
289
|
+
created_at: string; /**源分支信息。*/
|
|
290
|
+
head: any; /**是否为WIP状态,WIP状态表示合并请求是否是草稿阶段。*/
|
|
291
|
+
is_wip: boolean; /**标签列表。*/
|
|
292
|
+
labels: ApiLabel[]; /**最后更新时间。*/
|
|
293
|
+
last_acted_at: string; /**可合并状态。枚举值:`mergeable`,`merging`,`merged`,`conflict`,`no-merge-base`*/
|
|
294
|
+
mergeable_state: string; /**合并者信息。*/
|
|
295
|
+
merged_by: any; /**Pulls唯一标识编号。*/
|
|
296
|
+
number: string; /**仓库信息。*/
|
|
297
|
+
repo: any; /**评审数量。*/
|
|
298
|
+
review_count: number; /**合并请求状态。枚举值:`open`,`closed`,`merged`*/
|
|
299
|
+
state: string; /**合并请求标题。*/
|
|
300
|
+
title: string; /**更新时间。*/
|
|
683
301
|
updated_at: string;
|
|
684
302
|
};
|
|
685
303
|
type ApiPullRequestComment = {
|
|
686
|
-
/**评论作者信息。*/
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
/**创建时间。*/
|
|
693
|
-
created_at: string;
|
|
694
|
-
|
|
695
|
-
/**合并请求评论的唯一标识符。*/
|
|
696
|
-
id: string;
|
|
697
|
-
|
|
698
|
-
/**Reaction 数量列表。*/
|
|
699
|
-
reactions: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiSceneReaction[];
|
|
700
|
-
|
|
701
|
-
/**最后更新时间。*/
|
|
304
|
+
/**评论作者信息。*/author: any; /**评论内容。*/
|
|
305
|
+
body: string; /**创建时间。*/
|
|
306
|
+
created_at: string; /**合并请求评论的唯一标识符。*/
|
|
307
|
+
id: string; /**Reaction 数量列表。*/
|
|
308
|
+
reactions: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiSceneReaction[]; /**最后更新时间。*/
|
|
702
309
|
updated_at: string;
|
|
703
310
|
};
|
|
704
311
|
type ApiPullRequestInfo = {
|
|
705
|
-
/**处理人列表。*/
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
/**源分支信息。*/
|
|
721
|
-
head: any;
|
|
722
|
-
|
|
723
|
-
/**标签列表。*/
|
|
724
|
-
labels: ApiLabel[];
|
|
725
|
-
|
|
726
|
-
/**最后更新时间。*/
|
|
727
|
-
last_acted_at: string;
|
|
728
|
-
|
|
729
|
-
/**可合并状态。枚举值:`mergeable`,`merging`,`merged`,`conflict`,`no-merge-base`*/
|
|
730
|
-
mergeable_state: string;
|
|
731
|
-
|
|
732
|
-
/**合并者信息。*/
|
|
733
|
-
merged_by: any;
|
|
734
|
-
|
|
735
|
-
/**Pull唯一标识编号。*/
|
|
736
|
-
number: string;
|
|
737
|
-
|
|
738
|
-
/**仓库信息。*/
|
|
739
|
-
repo: any;
|
|
740
|
-
|
|
741
|
-
/**评审者列表。*/
|
|
742
|
-
reviewers: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[];
|
|
743
|
-
|
|
744
|
-
/**Pull状态。枚举值:`open`,`closed`,`merged`*/
|
|
745
|
-
state: string;
|
|
746
|
-
|
|
747
|
-
/**标题。*/
|
|
748
|
-
title: string;
|
|
749
|
-
|
|
750
|
-
/**更新时间。*/
|
|
312
|
+
/**处理人列表。*/assignees: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[]; /**作者信息。*/
|
|
313
|
+
author: any; /**目标分支信息。*/
|
|
314
|
+
base: any; /**阻塞原因。*/
|
|
315
|
+
blocked_on: string; /**创建时间。*/
|
|
316
|
+
created_at: string; /**源分支信息。*/
|
|
317
|
+
head: any; /**标签列表。*/
|
|
318
|
+
labels: ApiLabel[]; /**最后更新时间。*/
|
|
319
|
+
last_acted_at: string; /**可合并状态。枚举值:`mergeable`,`merging`,`merged`,`conflict`,`no-merge-base`*/
|
|
320
|
+
mergeable_state: string; /**合并者信息。*/
|
|
321
|
+
merged_by: any; /**Pull唯一标识编号。*/
|
|
322
|
+
number: string; /**仓库信息。*/
|
|
323
|
+
repo: any; /**评审者列表。*/
|
|
324
|
+
reviewers: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[]; /**Pull状态。枚举值:`open`,`closed`,`merged`*/
|
|
325
|
+
state: string; /**标题。*/
|
|
326
|
+
title: string; /**更新时间。*/
|
|
751
327
|
updated_at: string;
|
|
752
328
|
};
|
|
753
329
|
type ApiPullRequestSettings = {
|
|
754
|
-
/**是否允许直接提交合并。*/
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
/**是否允许压缩合并。*/
|
|
761
|
-
allow_squash_merge: boolean;
|
|
762
|
-
|
|
763
|
-
/**是否允许自动添加仓库管理员为评审者。*/
|
|
764
|
-
master_auto_as_reviewer: boolean;
|
|
765
|
-
|
|
766
|
-
/**直接提交合并操作时默认生成的提交信息内容。可选值:`default`,`pull_request_title`,`pull_request_title_with_body`*/
|
|
767
|
-
merge_commit_message_style: string;
|
|
768
|
-
|
|
769
|
-
/**压缩合并操作时默认生成的提交信息内容。可选值:`default`,`pull_request_title`,`pull_request_title_with_body`*/
|
|
330
|
+
/**是否允许直接提交合并。*/allow_merge_commit_merge: boolean; /**是否允许变基合并。*/
|
|
331
|
+
allow_rebase_merge: boolean; /**是否允许压缩合并。*/
|
|
332
|
+
allow_squash_merge: boolean; /**是否允许自动添加仓库管理员为评审者。*/
|
|
333
|
+
master_auto_as_reviewer: boolean; /**直接提交合并操作时默认生成的提交信息内容。可选值:`default`,`pull_request_title`,`pull_request_title_with_body`*/
|
|
334
|
+
merge_commit_message_style: string; /**压缩合并操作时默认生成的提交信息内容。可选值:`default`,`pull_request_title`,`pull_request_title_with_body`*/
|
|
770
335
|
squash_commit_message_style: string;
|
|
771
336
|
};
|
|
772
337
|
type ApiPullReview = {
|
|
773
|
-
/**Review的作者信息。*/
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
/**Review
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
/**Review的创建时间。*/
|
|
780
|
-
created_at: string;
|
|
781
|
-
|
|
782
|
-
/**Review的唯一标识符。*/
|
|
783
|
-
id: string;
|
|
784
|
-
|
|
785
|
-
/**Review的状态。枚举值:`approved`、`changes_requested`、`commented`、`dismissed`、`pending`等。*/
|
|
786
|
-
state: string;
|
|
787
|
-
|
|
788
|
-
/**Review的最后更新时间。*/
|
|
338
|
+
/**Review的作者信息。*/author: any; /**Review的详细内容。*/
|
|
339
|
+
body: string; /**Review的创建时间。*/
|
|
340
|
+
created_at: string; /**Review的唯一标识符。*/
|
|
341
|
+
id: string; /**Review的状态。枚举值:`approved`、`changes_requested`、`commented`、`dismissed`、`pending`等。*/
|
|
342
|
+
state: string; /**Review的最后更新时间。*/
|
|
789
343
|
updated_at: string;
|
|
790
344
|
};
|
|
791
345
|
type ApiPullReviewComment = {
|
|
792
|
-
/**评论的作者信息。*/
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
end_line: number;
|
|
809
|
-
|
|
810
|
-
/**评论结束位置的代码版本侧。枚举值:`left`,`right`*/
|
|
811
|
-
end_side: string;
|
|
812
|
-
|
|
813
|
-
/**评论的唯一标识符。*/
|
|
814
|
-
id: string;
|
|
815
|
-
|
|
816
|
-
/**评论所在文件的路径。示例值:`src/main.go`*/
|
|
817
|
-
path: string;
|
|
818
|
-
|
|
819
|
-
/**Reaction 数量列表。*/
|
|
820
|
-
reactions: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiSceneReaction[];
|
|
821
|
-
|
|
822
|
-
/**回复的父评论ID,如果是回复评论则不为空。*/
|
|
823
|
-
reply_to_comment_id: string;
|
|
824
|
-
|
|
825
|
-
/**所属Review的唯一标识符。*/
|
|
826
|
-
review_id: string;
|
|
827
|
-
|
|
828
|
-
/**Review的状态。枚举值:`approved`,`changes_requested`,`commented`,`dismissed`,`pending`*/
|
|
829
|
-
review_state: string;
|
|
830
|
-
|
|
831
|
-
/**评论起始行号,subject_type=line时有效。*/
|
|
832
|
-
start_line: number;
|
|
833
|
-
|
|
834
|
-
/**评论起始位置的代码版本侧。枚举值:`left`,`right`*/
|
|
835
|
-
start_side: string;
|
|
836
|
-
|
|
837
|
-
/**评论对象类型。枚举值:`line`,`file`*/
|
|
838
|
-
subject_type: string;
|
|
839
|
-
|
|
840
|
-
/**评论的最后更新时间。*/
|
|
346
|
+
/**评论的作者信息。*/author: any; /**评论的具体内容。*/
|
|
347
|
+
body: string; /**评论所基于的提交哈希值。*/
|
|
348
|
+
commit_hash: string; /**评论的创建时间。*/
|
|
349
|
+
created_at: string; /**评论关联的差异块信息。*/
|
|
350
|
+
diff_hunk: ApiDiffLine[]; /**评论结束行号,subject_type=line时有效。*/
|
|
351
|
+
end_line: number; /**评论结束位置的代码版本侧。枚举值:`left`,`right`*/
|
|
352
|
+
end_side: string; /**评论的唯一标识符。*/
|
|
353
|
+
id: string; /**评论所在文件的路径。示例值:`src/main.go`*/
|
|
354
|
+
path: string; /**Reaction 数量列表。*/
|
|
355
|
+
reactions: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiSceneReaction[]; /**回复的父评论ID,如果是回复评论则不为空。*/
|
|
356
|
+
reply_to_comment_id: string; /**所属Review的唯一标识符。*/
|
|
357
|
+
review_id: string; /**Review的状态。枚举值:`approved`,`changes_requested`,`commented`,`dismissed`,`pending`*/
|
|
358
|
+
review_state: string; /**评论起始行号,subject_type=line时有效。*/
|
|
359
|
+
start_line: number; /**评论起始位置的代码版本侧。枚举值:`left`,`right`*/
|
|
360
|
+
start_side: string; /**评论对象类型。枚举值:`line`,`file`*/
|
|
361
|
+
subject_type: string; /**评论的最后更新时间。*/
|
|
841
362
|
updated_at: string;
|
|
842
363
|
};
|
|
843
364
|
type ApiPullReviewCommentCreationForm = {
|
|
844
|
-
/**评论内容。*/
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
/**评论结束位置的代码版本侧,subject_type=line时必填。可选值:`left`,`right`*/
|
|
851
|
-
end_side: string;
|
|
852
|
-
|
|
853
|
-
/**文件路径。示例值:`src/main.go`*/
|
|
854
|
-
path: string;
|
|
855
|
-
|
|
856
|
-
/**起始行号,subject_type=line时必填。*/
|
|
857
|
-
start_line: number;
|
|
858
|
-
|
|
859
|
-
/**评论起始位置的代码版本侧,subject_type=line时必填。可选值:`left`,`right`*/
|
|
860
|
-
start_side: string;
|
|
861
|
-
|
|
862
|
-
/**评论对象类型,当subject_type为file时无需指定行号和侧别字段。可选值:`line`,`file`*/
|
|
365
|
+
/**评论内容。*/body: string; /**结束行号,subject_type=line时必填。*/
|
|
366
|
+
end_line: number; /**评论结束位置的代码版本侧,subject_type=line时必填。可选值:`left`,`right`*/
|
|
367
|
+
end_side: string; /**文件路径。示例值:`src/main.go`*/
|
|
368
|
+
path: string; /**起始行号,subject_type=line时必填。*/
|
|
369
|
+
start_line: number; /**评论起始位置的代码版本侧,subject_type=line时必填。可选值:`left`,`right`*/
|
|
370
|
+
start_side: string; /**评论对象类型,当subject_type为file时无需指定行号和侧别字段。可选值:`line`,`file`*/
|
|
863
371
|
subject_type: string;
|
|
864
372
|
};
|
|
865
373
|
type ApiPullReviewCreationForm = {
|
|
866
|
-
/**Review的评审意见内容。*/
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
/**评审中的具体评论列表。*/
|
|
870
|
-
comments: ApiPullReviewCommentCreationForm[];
|
|
871
|
-
|
|
872
|
-
/**Review事件类型.如:`approve`,`comment`,`request_changes`,`pending`*/
|
|
374
|
+
/**Review的评审意见内容。*/body: string; /**评审中的具体评论列表。*/
|
|
375
|
+
comments: ApiPullReviewCommentCreationForm[]; /**Review事件类型.如:`approve`,`comment`,`request_changes`,`pending`*/
|
|
873
376
|
event: string;
|
|
874
377
|
};
|
|
875
378
|
type ApiPullReviewer = {
|
|
876
|
-
/**评审状态。枚举值:`pending`,`commented`,`approved`,`changes_requested`,`dismissed`。*/
|
|
877
|
-
review_state: string;
|
|
878
|
-
|
|
879
|
-
/**评审人信息。*/
|
|
379
|
+
/**评审状态。枚举值:`pending`,`commented`,`approved`,`changes_requested`,`dismissed`。*/review_state: string; /**评审人信息。*/
|
|
880
380
|
user: any;
|
|
881
381
|
};
|
|
882
382
|
type ApiPushLimitSettings = {
|
|
883
|
-
/**允许单次推送最多允许更新分支和标签的个数数量。*/
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
/**是否开启单次更新分支和标签的个数限制。*/
|
|
887
|
-
check_single_push_number: boolean;
|
|
888
|
-
|
|
889
|
-
/**是否仅允许负责人和管理员推送或删除标签、创建或删除版本。*/
|
|
890
|
-
only_master_can_push_tag: boolean;
|
|
891
|
-
|
|
892
|
-
/**推送提交到仓库,对提交作者和提交人进行检查。可选值:`any`,`registered`,`pusher`*/
|
|
383
|
+
/**允许单次推送最多允许更新分支和标签的个数数量。*/allow_single_push_number: number; /**是否开启单次更新分支和标签的个数限制。*/
|
|
384
|
+
check_single_push_number: boolean; /**是否仅允许负责人和管理员推送或删除标签、创建或删除版本。*/
|
|
385
|
+
only_master_can_push_tag: boolean; /**推送提交到仓库,对提交作者和提交人进行检查。可选值:`any`,`registered`,`pusher`*/
|
|
893
386
|
push_commit_must_be: string;
|
|
894
387
|
};
|
|
895
388
|
type ApiPutIssueLabelsForm = {
|
|
896
|
-
/**Issue标签列表,最大限制为10。示例:`["标签1","标签2"]`*/
|
|
897
|
-
labels: string[];
|
|
389
|
+
/**Issue标签列表,最大限制为10。示例:`["标签1","标签2"]`*/labels: string[];
|
|
898
390
|
};
|
|
899
391
|
type ApiPutPullLabelsForm = {
|
|
900
|
-
/**合并请求的标签列表。*/
|
|
901
|
-
labels: string[];
|
|
392
|
+
/**合并请求的标签列表。*/labels: string[];
|
|
902
393
|
};
|
|
903
394
|
type ApiRelease = {
|
|
904
|
-
/**附件列表。*/
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
/**是否为草稿版本。*/
|
|
917
|
-
draft: boolean;
|
|
918
|
-
|
|
919
|
-
/**版本唯一标识符。*/
|
|
920
|
-
id: string;
|
|
921
|
-
|
|
922
|
-
/**是否为最新版本。*/
|
|
923
|
-
is_latest: boolean;
|
|
924
|
-
|
|
925
|
-
/**版本标题。*/
|
|
926
|
-
name: string;
|
|
927
|
-
|
|
928
|
-
/**是否为预发布版本。*/
|
|
929
|
-
prerelease: boolean;
|
|
930
|
-
|
|
931
|
-
/**版本发布时间。*/
|
|
932
|
-
published_at: string;
|
|
933
|
-
|
|
934
|
-
/**标签与提交标识符。*/
|
|
935
|
-
tag_commitish: string;
|
|
936
|
-
|
|
937
|
-
/**标签名称。*/
|
|
938
|
-
tag_name: string;
|
|
939
|
-
|
|
940
|
-
/**更新时间。*/
|
|
395
|
+
/**附件列表。*/assets: ApiReleaseAsset[]; /**作者信息。*/
|
|
396
|
+
author: any; /**版本描述。*/
|
|
397
|
+
body: string; /**创建时间。*/
|
|
398
|
+
created_at: string; /**是否为草稿版本。*/
|
|
399
|
+
draft: boolean; /**版本唯一标识符。*/
|
|
400
|
+
id: string; /**是否为最新版本。*/
|
|
401
|
+
is_latest: boolean; /**版本标题。*/
|
|
402
|
+
name: string; /**是否为预发布版本。*/
|
|
403
|
+
prerelease: boolean; /**版本发布时间。*/
|
|
404
|
+
published_at: string; /**标签与提交标识符。*/
|
|
405
|
+
tag_commitish: string; /**标签名称。*/
|
|
406
|
+
tag_name: string; /**更新时间。*/
|
|
941
407
|
updated_at: string;
|
|
942
408
|
};
|
|
943
409
|
type ApiReleaseAsset = {
|
|
944
|
-
/**浏览器下载URL(通过主域名,用于用户直接访问)。*/
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
download_count: number;
|
|
955
|
-
|
|
956
|
-
/**附件唯一标识符。*/
|
|
957
|
-
id: string;
|
|
958
|
-
|
|
959
|
-
/**附件名称。*/
|
|
960
|
-
name: string;
|
|
961
|
-
|
|
962
|
-
/**附件路径。*/
|
|
963
|
-
path: string;
|
|
964
|
-
|
|
965
|
-
/**附件大小(字节)。*/
|
|
966
|
-
size: number;
|
|
967
|
-
|
|
968
|
-
/**更新时间。*/
|
|
969
|
-
updated_at: string;
|
|
970
|
-
|
|
971
|
-
/**附件上传者信息。*/
|
|
972
|
-
uploader: any;
|
|
973
|
-
|
|
974
|
-
/**API下载URL(通过API域名,用于程序化下载)。*/
|
|
410
|
+
/**浏览器下载URL(通过主域名,用于用户直接访问)。*/brower_download_url: string; /**附件内容类型。*/
|
|
411
|
+
content_type: string; /**创建时间。*/
|
|
412
|
+
created_at: string; /**下载次数。*/
|
|
413
|
+
download_count: number; /**附件唯一标识符。*/
|
|
414
|
+
id: string; /**附件名称。*/
|
|
415
|
+
name: string; /**附件路径。*/
|
|
416
|
+
path: string; /**附件大小(字节)。*/
|
|
417
|
+
size: number; /**更新时间。*/
|
|
418
|
+
updated_at: string; /**附件上传者信息。*/
|
|
419
|
+
uploader: any; /**API下载URL(通过API域名,用于程序化下载)。*/
|
|
975
420
|
url: string;
|
|
976
421
|
};
|
|
977
422
|
type ApiTag = {
|
|
978
|
-
/**标签指向的commit对象详细信息。*/
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
name: string;
|
|
983
|
-
|
|
984
|
-
/**标签目标对象哈希值。*/
|
|
985
|
-
target: string;
|
|
986
|
-
|
|
987
|
-
/**目标对象类型。*/
|
|
988
|
-
target_type: string;
|
|
989
|
-
|
|
990
|
-
/**标签的GPG签名验证信息。*/
|
|
423
|
+
/**标签指向的commit对象详细信息。*/commit: any; /**标签名称。*/
|
|
424
|
+
name: string; /**标签目标对象哈希值。*/
|
|
425
|
+
target: string; /**目标对象类型。*/
|
|
426
|
+
target_type: string; /**标签的GPG签名验证信息。*/
|
|
991
427
|
verification: any;
|
|
992
428
|
};
|
|
993
429
|
type ApiTreeEntry = {
|
|
994
|
-
/**对象名称(文件名或目录名)。*/
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
/**对象在仓库中的完整路径。*/
|
|
998
|
-
path: string;
|
|
999
|
-
|
|
1000
|
-
/**Git对象的哈希值。*/
|
|
1001
|
-
sha: string;
|
|
1002
|
-
|
|
1003
|
-
/**对象类型。枚举值:`tree`,`blob`,`link`,`submodule`*/
|
|
430
|
+
/**对象名称(文件名或目录名)。*/name: string; /**对象在仓库中的完整路径。*/
|
|
431
|
+
path: string; /**Git对象的哈希值。*/
|
|
432
|
+
sha: string; /**对象类型。枚举值:`tree`,`blob`,`link`,`submodule`*/
|
|
1004
433
|
type: string;
|
|
1005
434
|
};
|
|
1006
435
|
type ChartDependency = {
|
|
1007
|
-
/**Alias usable alias to be used for the chart*/
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
/**A yaml path that resolves to a boolean, used for enabling/disabling charts (e.g. subchart1.enabled )*/
|
|
1011
|
-
condition: string;
|
|
1012
|
-
|
|
1013
|
-
/**Enabled bool determines if chart should be loaded*/
|
|
436
|
+
/**Alias usable alias to be used for the chart*/alias: string; /**A yaml path that resolves to a boolean, used for enabling/disabling charts (e.g. subchart1.enabled )*/
|
|
437
|
+
condition: string; /**Enabled bool determines if chart should be loaded*/
|
|
1014
438
|
enabled: boolean;
|
|
1015
|
-
|
|
1016
439
|
/**ImportValues holds the mapping of source values to parent key to be imported. Each item can be a
|
|
1017
440
|
string or pair of child/parent sublist items.*/
|
|
1018
441
|
"import-values": any[];
|
|
1019
|
-
|
|
1020
442
|
/**Name is the name of the dependency.
|
|
1021
443
|
This must mach the name in the dependency's Chart.yaml.*/
|
|
1022
444
|
name: string;
|
|
1023
|
-
|
|
1024
445
|
/**The URL to the repository.
|
|
1025
446
|
Appending `index.yaml` to this string should result in a URL that can be
|
|
1026
447
|
used to fetch the repository index.*/
|
|
1027
|
-
repository: string;
|
|
1028
|
-
|
|
1029
|
-
/**Tags can be used to group charts for enabling/disabling together*/
|
|
448
|
+
repository: string; /**Tags can be used to group charts for enabling/disabling together*/
|
|
1030
449
|
tags: string[];
|
|
1031
|
-
|
|
1032
450
|
/**Version is the version (range) of this chart.
|
|
1033
451
|
A lock file will always produce a single version, while a dependency
|
|
1034
452
|
may contain a semantic version range.*/
|
|
1035
453
|
version: string;
|
|
1036
454
|
};
|
|
1037
455
|
type ChartMaintainer = {
|
|
1038
|
-
/**Email is an optional email address to contact the named maintainer*/
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
/**Name is a user name or organization name*/
|
|
1042
|
-
name: string;
|
|
1043
|
-
|
|
1044
|
-
/**URL is an optional URL to an address for the named maintainer*/
|
|
456
|
+
/**Email is an optional email address to contact the named maintainer*/email: string; /**Name is a user name or organization name*/
|
|
457
|
+
name: string; /**URL is an optional URL to an address for the named maintainer*/
|
|
1045
458
|
url: string;
|
|
1046
459
|
};
|
|
1047
460
|
type ChartMetadata = {
|
|
1048
461
|
/**Annotations are additional mappings uninterpreted by Helm,
|
|
1049
462
|
made available for inspection by other applications.*/
|
|
1050
|
-
annotations: any;
|
|
1051
|
-
|
|
1052
|
-
/**The
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
/**A one-sentence description of the chart*/
|
|
1068
|
-
description: string;
|
|
1069
|
-
|
|
1070
|
-
/**The URL to a relevant project page, git repo, or contact person*/
|
|
1071
|
-
home: string;
|
|
1072
|
-
|
|
1073
|
-
/**The URL to an icon file.*/
|
|
1074
|
-
icon: string;
|
|
1075
|
-
|
|
1076
|
-
/**A list of string keywords*/
|
|
1077
|
-
keywords: string[];
|
|
1078
|
-
|
|
1079
|
-
/**KubeVersion is a SemVer constraint specifying the version of Kubernetes required.*/
|
|
1080
|
-
kubeVersion: string;
|
|
1081
|
-
|
|
1082
|
-
/**A list of name and URL/email address combinations for the maintainer(s)*/
|
|
1083
|
-
maintainers: ChartMaintainer[];
|
|
1084
|
-
|
|
1085
|
-
/**The name of the chart. Required.*/
|
|
1086
|
-
name: string;
|
|
1087
|
-
|
|
1088
|
-
/**Source is the URL to the source code of this chart*/
|
|
1089
|
-
sources: string[];
|
|
1090
|
-
|
|
1091
|
-
/**The tags to check to enable chart*/
|
|
1092
|
-
tags: string;
|
|
1093
|
-
|
|
1094
|
-
/**Specifies the chart type: application or library*/
|
|
1095
|
-
type: string;
|
|
1096
|
-
|
|
1097
|
-
/**A SemVer 2 conformant version string of the chart. Required.*/
|
|
463
|
+
annotations: any; /**The API Version of this chart. Required.*/
|
|
464
|
+
apiVersion: string; /**The version of the application enclosed inside of this chart.*/
|
|
465
|
+
appVersion: string; /**The condition to check to enable chart*/
|
|
466
|
+
condition: string; /**Dependencies are a list of dependencies for a chart.*/
|
|
467
|
+
dependencies: ChartDependency[]; /**Whether or not this chart is deprecated*/
|
|
468
|
+
deprecated: boolean; /**A one-sentence description of the chart*/
|
|
469
|
+
description: string; /**The URL to a relevant project page, git repo, or contact person*/
|
|
470
|
+
home: string; /**The URL to an icon file.*/
|
|
471
|
+
icon: string; /**A list of string keywords*/
|
|
472
|
+
keywords: string[]; /**KubeVersion is a SemVer constraint specifying the version of Kubernetes required.*/
|
|
473
|
+
kubeVersion: string; /**A list of name and URL/email address combinations for the maintainer(s)*/
|
|
474
|
+
maintainers: ChartMaintainer[]; /**The name of the chart. Required.*/
|
|
475
|
+
name: string; /**Source is the URL to the source code of this chart*/
|
|
476
|
+
sources: string[]; /**The tags to check to enable chart*/
|
|
477
|
+
tags: string; /**Specifies the chart type: application or library*/
|
|
478
|
+
type: string; /**A SemVer 2 conformant version string of the chart. Required.*/
|
|
1098
479
|
version: string;
|
|
1099
480
|
};
|
|
1100
481
|
type ConstantAccessRole = "Unknown" | "Guest" | "Reporter" | "Developer" | "Master" | "Owner";
|
|
1101
482
|
type ConstantRepoDisplayModule = {
|
|
1102
|
-
/**仓库动态*/
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
/**仓库贡献者*/
|
|
1106
|
-
contributors: boolean;
|
|
1107
|
-
|
|
1108
|
-
/**仓库版本*/
|
|
483
|
+
/**仓库动态*/activity: boolean; /**仓库贡献者*/
|
|
484
|
+
contributors: boolean; /**仓库版本*/
|
|
1109
485
|
release: boolean;
|
|
1110
486
|
};
|
|
1111
487
|
type ConstantUserEditable = {
|
|
1112
|
-
/**可修改账户头像*/
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
/**是否允许注销账户*/
|
|
1119
|
-
logoff: boolean;
|
|
1120
|
-
|
|
1121
|
-
/**可修改昵称*/
|
|
1122
|
-
nickname: boolean;
|
|
1123
|
-
|
|
1124
|
-
/**是否允许同步昵称和头像*/
|
|
1125
|
-
"sync-data": boolean;
|
|
1126
|
-
|
|
1127
|
-
/**可修改账户名*/
|
|
488
|
+
/**可修改账户头像*/avatar: boolean; /**可修改主邮箱*/
|
|
489
|
+
email: boolean; /**是否允许注销账户*/
|
|
490
|
+
logoff: boolean; /**可修改昵称*/
|
|
491
|
+
nickname: boolean; /**是否允许同步昵称和头像*/
|
|
492
|
+
"sync-data": boolean; /**可修改账户名*/
|
|
1128
493
|
username: boolean;
|
|
1129
494
|
};
|
|
1130
495
|
type ConstantUserType = 0 | 1 | 2 | 3 | 4;
|
|
1131
496
|
type ConstantVisibility = "Private" | "Public" | "Secret";
|
|
1132
497
|
type DtoActivityCreateRepoDetail = {
|
|
1133
|
-
create_at: string;
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
/**activity 发生时仓库的 path,这时的 path 是可以公开的*/
|
|
1139
|
-
exposed_repo_path: string;
|
|
1140
|
-
|
|
1141
|
-
/**仓库是否封禁*/
|
|
1142
|
-
freeze: boolean;
|
|
1143
|
-
|
|
1144
|
-
/**仓库是否不可访问(公仓转私仓或仓库被删除后不可访问)*/
|
|
1145
|
-
repo_unaccessible: boolean;
|
|
1146
|
-
|
|
1147
|
-
/**仓库可见性*/
|
|
498
|
+
create_at: string; /**公仓转私仓或仓库被删除后为 null*/
|
|
499
|
+
detail: any; /**activity 发生时仓库的 path,这时的 path 是可以公开的*/
|
|
500
|
+
exposed_repo_path: string; /**仓库是否封禁*/
|
|
501
|
+
freeze: boolean; /**仓库是否不可访问(公仓转私仓或仓库被删除后不可访问)*/
|
|
502
|
+
repo_unaccessible: boolean; /**仓库可见性*/
|
|
1148
503
|
visibility_level: any;
|
|
1149
504
|
};
|
|
1150
505
|
type DtoActivityDate = {
|
|
@@ -1163,187 +518,91 @@ type DtoActivityDate = {
|
|
|
1163
518
|
repos: DtoActivityCreateRepoDetail[];
|
|
1164
519
|
};
|
|
1165
520
|
type DtoActivityJoinGroupDetail = {
|
|
1166
|
-
create_at: string;
|
|
1167
|
-
|
|
1168
|
-
/**组织详情,组织被删后为 null*/
|
|
1169
|
-
detail: any;
|
|
1170
|
-
|
|
1171
|
-
/**组织别名,组织被删除后才有值*/
|
|
521
|
+
create_at: string; /**组织详情,组织被删后为 null*/
|
|
522
|
+
detail: any; /**组织别名,组织被删除后才有值*/
|
|
1172
523
|
remark: string;
|
|
1173
524
|
};
|
|
1174
525
|
type DtoActivityRepoDetail = {
|
|
1175
|
-
/**公仓转私仓或仓库被删除后为 null*/
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
/**activity 发生时仓库的 path,这时的 path 是可以公开的*/
|
|
1179
|
-
exposed_repo_path: string;
|
|
1180
|
-
|
|
1181
|
-
/**仓库是否封禁*/
|
|
1182
|
-
freeze: boolean;
|
|
1183
|
-
|
|
1184
|
-
/**仓库是否不可访问(公仓转私仓或仓库被删除后不可访问)*/
|
|
526
|
+
/**公仓转私仓或仓库被删除后为 null*/detail: any; /**activity 发生时仓库的 path,这时的 path 是可以公开的*/
|
|
527
|
+
exposed_repo_path: string; /**仓库是否封禁*/
|
|
528
|
+
freeze: boolean; /**仓库是否不可访问(公仓转私仓或仓库被删除后不可访问)*/
|
|
1185
529
|
repo_unaccessible: boolean;
|
|
1186
|
-
time: number;
|
|
1187
|
-
|
|
1188
|
-
/**仓库可见性*/
|
|
530
|
+
time: number; /**仓库可见性*/
|
|
1189
531
|
visibility_level: any;
|
|
1190
532
|
};
|
|
1191
533
|
type DtoAiAutoPrReq = {
|
|
1192
|
-
/**需求内容*/
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
branch: string;
|
|
1197
|
-
|
|
1198
|
-
/**需求来源,默认为 issue,其他来源的需求可写上,会出现在代码提交日志的描述信息里*/
|
|
1199
|
-
source: string;
|
|
1200
|
-
|
|
1201
|
-
/**需求标题*/
|
|
1202
|
-
title: string;
|
|
1203
|
-
|
|
1204
|
-
/**需求来源 URL 地址*/
|
|
534
|
+
/**需求内容*/body: string; /**基于该分支编码并提交代码到随机分支,然后将随机分支提 PR 到该分支*/
|
|
535
|
+
branch: string; /**需求来源,默认为 issue,其他来源的需求可写上,会出现在代码提交日志的描述信息里*/
|
|
536
|
+
source: string; /**需求标题*/
|
|
537
|
+
title: string; /**需求来源 URL 地址*/
|
|
1205
538
|
url: string;
|
|
1206
539
|
};
|
|
1207
540
|
type DtoAiAutoPrResult = {
|
|
1208
|
-
/**构建链接*/
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
/**message*/
|
|
1212
|
-
message: string;
|
|
1213
|
-
|
|
1214
|
-
/**构建号*/
|
|
541
|
+
/**构建链接*/buildLogUrl: string; /**message*/
|
|
542
|
+
message: string; /**构建号*/
|
|
1215
543
|
sn: string;
|
|
1216
544
|
};
|
|
1217
545
|
type DtoAiChatCompletionsChoice = {
|
|
1218
|
-
/**结束原因*/
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
/**索引*/
|
|
1222
|
-
index: number;
|
|
1223
|
-
|
|
1224
|
-
/**消息*/
|
|
546
|
+
/**结束原因*/finish_reason: string; /**索引*/
|
|
547
|
+
index: number; /**消息*/
|
|
1225
548
|
message: any;
|
|
1226
549
|
};
|
|
1227
550
|
type DtoAiChatCompletionsReq = {
|
|
1228
|
-
/**对话内容*/
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
/**模型名称*/
|
|
1232
|
-
model: string;
|
|
1233
|
-
|
|
1234
|
-
/**是否流式返回结果,部分模型可能不支持非流式*/
|
|
551
|
+
/**对话内容*/messages: DtoMessage[]; /**模型名称*/
|
|
552
|
+
model: string; /**是否流式返回结果,部分模型可能不支持非流式*/
|
|
1235
553
|
stream: boolean;
|
|
1236
554
|
};
|
|
1237
555
|
type DtoAiChatCompletionsResult = {
|
|
1238
|
-
/**选择*/
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
created: number;
|
|
1243
|
-
|
|
1244
|
-
/**ID*/
|
|
1245
|
-
id: string;
|
|
1246
|
-
|
|
1247
|
-
/**模型*/
|
|
1248
|
-
model: string;
|
|
1249
|
-
|
|
1250
|
-
/**对象*/
|
|
556
|
+
/**选择*/choices: DtoAiChatCompletionsChoice[]; /**创建时间*/
|
|
557
|
+
created: number; /**ID*/
|
|
558
|
+
id: string; /**模型*/
|
|
559
|
+
model: string; /**对象*/
|
|
1251
560
|
object: string;
|
|
1252
561
|
};
|
|
1253
562
|
type DtoAssetRecords = {
|
|
1254
|
-
id: string;
|
|
1255
|
-
|
|
1256
|
-
/**来源地址,例如 release 附件的来源地址是对应的 release 页面。issue和pr文件没有。*/
|
|
563
|
+
id: string; /**来源地址,例如 release 附件的来源地址是对应的 release 页面。issue和pr文件没有。*/
|
|
1257
564
|
origin_path: string;
|
|
1258
|
-
path: string;
|
|
1259
|
-
|
|
1260
|
-
/**资源类型,slug_img和slug_file可调用DeleteAsset接口直接删除该资源,repo_release和repo_commit则不行*/
|
|
565
|
+
path: string; /**资源类型,slug_img和slug_file可调用DeleteAsset接口直接删除该资源,repo_release和repo_commit则不行*/
|
|
1261
566
|
record_type: any;
|
|
1262
567
|
referer: string;
|
|
1263
568
|
size_in_byte: number;
|
|
1264
569
|
};
|
|
1265
570
|
type DtoBadge = {
|
|
1266
|
-
/**徽章描述*/
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
/**徽章链接*/
|
|
1273
|
-
link: string;
|
|
1274
|
-
|
|
1275
|
-
/**徽章名称*/
|
|
1276
|
-
name: string;
|
|
1277
|
-
|
|
1278
|
-
/**徽章类型*/
|
|
1279
|
-
type: string;
|
|
1280
|
-
|
|
1281
|
-
/**徽章URL*/
|
|
571
|
+
/**徽章描述*/desc: string; /**徽章分组*/
|
|
572
|
+
group: any; /**徽章链接*/
|
|
573
|
+
link: string; /**徽章名称*/
|
|
574
|
+
name: string; /**徽章类型*/
|
|
575
|
+
type: string; /**徽章URL*/
|
|
1282
576
|
url: string;
|
|
1283
577
|
};
|
|
1284
578
|
type DtoBuildCommonResult = {
|
|
1285
|
-
/**返回码,0 表示成功,1 表示失败*/
|
|
1286
|
-
code: number;
|
|
1287
|
-
|
|
1288
|
-
/**描述*/
|
|
579
|
+
/**返回码,0 表示成功,1 表示失败*/code: number; /**描述*/
|
|
1289
580
|
message: string;
|
|
1290
581
|
};
|
|
1291
582
|
type DtoBuildLogsResult = {
|
|
1292
|
-
/**构建数据列表*/
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
/**当前仓库是否已经有构建记录,1 表示有构建记录,0 表示没有构建记录*/
|
|
1296
|
-
init: boolean;
|
|
1297
|
-
|
|
1298
|
-
/**当前时间戳*/
|
|
1299
|
-
timestamp: number;
|
|
1300
|
-
|
|
1301
|
-
/**总数*/
|
|
583
|
+
/**构建数据列表*/data: DtoLogInfo[]; /**当前仓库是否已经有构建记录,1 表示有构建记录,0 表示没有构建记录*/
|
|
584
|
+
init: boolean; /**当前时间戳*/
|
|
585
|
+
timestamp: number; /**总数*/
|
|
1302
586
|
total: number;
|
|
1303
587
|
};
|
|
1304
588
|
type DtoBuildResult = {
|
|
1305
|
-
/**构建链接*/
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
/**构建信息*/
|
|
1309
|
-
message: string;
|
|
1310
|
-
|
|
1311
|
-
/**构建号*/
|
|
1312
|
-
sn: string;
|
|
1313
|
-
|
|
1314
|
-
/**构建是否触发成功,不代表构建结果*/
|
|
589
|
+
/**构建链接*/buildLogUrl: string; /**构建信息*/
|
|
590
|
+
message: string; /**构建号*/
|
|
591
|
+
sn: string; /**构建是否触发成功,不代表构建结果*/
|
|
1315
592
|
success: boolean;
|
|
1316
593
|
};
|
|
1317
594
|
type DtoBuildStageResult = {
|
|
1318
|
-
/**stage 日志内容,数组格式,一个元素表示一行日志*/
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
/**stage
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
/**stage
|
|
1325
|
-
endTime: number;
|
|
1326
|
-
|
|
1327
|
-
/**stage 错误信息*/
|
|
1328
|
-
error: string;
|
|
1329
|
-
|
|
1330
|
-
/**stage id*/
|
|
1331
|
-
id: string;
|
|
1332
|
-
|
|
1333
|
-
/**stage 名称*/
|
|
1334
|
-
name: string;
|
|
1335
|
-
|
|
1336
|
-
/**stage 开始时间*/
|
|
1337
|
-
startTime: number;
|
|
1338
|
-
|
|
1339
|
-
/**stage 状态: "pending", "start", "success", "error", "cancel", "skipped"*/
|
|
595
|
+
/**stage 日志内容,数组格式,一个元素表示一行日志*/content: string[]; /**stage 耗时,单位:ms*/
|
|
596
|
+
duration: number; /**stage 结束时间*/
|
|
597
|
+
endTime: number; /**stage 错误信息*/
|
|
598
|
+
error: string; /**stage id*/
|
|
599
|
+
id: string; /**stage 名称*/
|
|
600
|
+
name: string; /**stage 开始时间*/
|
|
601
|
+
startTime: number; /**stage 状态: "pending", "start", "success", "error", "cancel", "skipped"*/
|
|
1340
602
|
status: string;
|
|
1341
603
|
};
|
|
1342
604
|
type DtoBuildStatusResult = {
|
|
1343
|
-
/**流水线的状态*/
|
|
1344
|
-
pipelinesStatus: any;
|
|
1345
|
-
|
|
1346
|
-
/**构建状态*/
|
|
605
|
+
/**流水线的状态*/pipelinesStatus: any; /**构建状态*/
|
|
1347
606
|
status: string;
|
|
1348
607
|
};
|
|
1349
608
|
type DtoChartPackageDetail = {
|
|
@@ -1371,7 +630,6 @@ type DtoChartTag = {
|
|
|
1371
630
|
};
|
|
1372
631
|
type DtoChartTagDetail = {
|
|
1373
632
|
address: string;
|
|
1374
|
-
|
|
1375
633
|
/**HasProvenance 是否有出生证明.
|
|
1376
634
|
Pypi和Conan制品由于一个标签对应多个出生证明,因此该字段是无意义的.*/
|
|
1377
635
|
has_provenance: boolean;
|
|
@@ -1386,99 +644,40 @@ type DtoChartTagDetail = {
|
|
|
1386
644
|
tag: string;
|
|
1387
645
|
};
|
|
1388
646
|
type DtoCodeIssueSummary = {
|
|
1389
|
-
/**严重风险问题数量*/
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
high_count: number;
|
|
1400
|
-
|
|
1401
|
-
/**高风险问题忽略数量*/
|
|
1402
|
-
high_ignore_count: number;
|
|
1403
|
-
|
|
1404
|
-
/**忽略的问题数量*/
|
|
1405
|
-
ignored: number;
|
|
1406
|
-
|
|
1407
|
-
/**低风险问题数量*/
|
|
1408
|
-
low_count: number;
|
|
1409
|
-
|
|
1410
|
-
/**低风险问题忽略数量*/
|
|
1411
|
-
low_ignore_count: number;
|
|
1412
|
-
|
|
1413
|
-
/**中风险问题数量*/
|
|
1414
|
-
medium_count: number;
|
|
1415
|
-
|
|
1416
|
-
/**中风险问题忽略数量*/
|
|
1417
|
-
medium_ignore_count: number;
|
|
1418
|
-
|
|
1419
|
-
/**开启中问题数量*/
|
|
647
|
+
/**严重风险问题数量*/critical_count: number; /**严重风险问题忽略数量*/
|
|
648
|
+
critical_ignore_count: number; /**是否开启源码信息扫描*/
|
|
649
|
+
enable: boolean; /**高风险问题数量*/
|
|
650
|
+
high_count: number; /**高风险问题忽略数量*/
|
|
651
|
+
high_ignore_count: number; /**忽略的问题数量*/
|
|
652
|
+
ignored: number; /**低风险问题数量*/
|
|
653
|
+
low_count: number; /**低风险问题忽略数量*/
|
|
654
|
+
low_ignore_count: number; /**中风险问题数量*/
|
|
655
|
+
medium_count: number; /**中风险问题忽略数量*/
|
|
656
|
+
medium_ignore_count: number; /**开启中问题数量*/
|
|
1420
657
|
open: number;
|
|
1421
658
|
};
|
|
1422
659
|
type DtoCodeSensitiveSummary = {
|
|
1423
|
-
/**是否开启代码敏感信息扫描*/
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
/**忽略问题数量*/
|
|
1433
|
-
ignored: number;
|
|
1434
|
-
|
|
1435
|
-
/**低风险问题数量*/
|
|
1436
|
-
low_count: number;
|
|
1437
|
-
|
|
1438
|
-
/**低风险问题忽略数量*/
|
|
1439
|
-
low_ignore_count: number;
|
|
1440
|
-
|
|
1441
|
-
/**中风险问题数量*/
|
|
1442
|
-
medium_count: number;
|
|
1443
|
-
|
|
1444
|
-
/**中风险问题忽略数量*/
|
|
1445
|
-
medium_ignore_count: number;
|
|
1446
|
-
|
|
1447
|
-
/**开启中问题数量*/
|
|
660
|
+
/**是否开启代码敏感信息扫描*/enable: boolean; /**高风险问题数量*/
|
|
661
|
+
high_count: number; /**高风险问题忽略数量*/
|
|
662
|
+
high_ignore_count: number; /**忽略问题数量*/
|
|
663
|
+
ignored: number; /**低风险问题数量*/
|
|
664
|
+
low_count: number; /**低风险问题忽略数量*/
|
|
665
|
+
low_ignore_count: number; /**中风险问题数量*/
|
|
666
|
+
medium_count: number; /**中风险问题忽略数量*/
|
|
667
|
+
medium_ignore_count: number; /**开启中问题数量*/
|
|
1448
668
|
open: number;
|
|
1449
669
|
};
|
|
1450
670
|
type DtoCodeVulOverview = {
|
|
1451
|
-
/**忽略的严重风险漏洞的数量*/
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
high_vul_ignore_cnt: number;
|
|
1462
|
-
|
|
1463
|
-
/**打开的高风险级别漏洞的数量*/
|
|
1464
|
-
high_vul_open_cnt: number;
|
|
1465
|
-
|
|
1466
|
-
/**忽略问题数量*/
|
|
1467
|
-
ignored: number;
|
|
1468
|
-
|
|
1469
|
-
/**忽略的低风险级别漏洞的数量*/
|
|
1470
|
-
low_vul_ignore_cnt: number;
|
|
1471
|
-
|
|
1472
|
-
/**打开的低风险级别漏洞的数量*/
|
|
1473
|
-
low_vul_open_cnt: number;
|
|
1474
|
-
|
|
1475
|
-
/**忽略的中风险级别漏洞的数量*/
|
|
1476
|
-
medium_vul_ignore_cnt: number;
|
|
1477
|
-
|
|
1478
|
-
/**打开的中风险级别漏洞的数量*/
|
|
1479
|
-
medium_vul_open_cnt: number;
|
|
1480
|
-
|
|
1481
|
-
/**开启中问题数量*/
|
|
671
|
+
/**忽略的严重风险漏洞的数量*/critical_vul_ignore_cnt: number; /**打开的严重风险级别漏洞的数量*/
|
|
672
|
+
critical_vul_open_cnt: number; /**是否开启代码漏洞扫描*/
|
|
673
|
+
enable: boolean; /**忽略的高风险级别漏洞的数量*/
|
|
674
|
+
high_vul_ignore_cnt: number; /**打开的高风险级别漏洞的数量*/
|
|
675
|
+
high_vul_open_cnt: number; /**忽略问题数量*/
|
|
676
|
+
ignored: number; /**忽略的低风险级别漏洞的数量*/
|
|
677
|
+
low_vul_ignore_cnt: number; /**打开的低风险级别漏洞的数量*/
|
|
678
|
+
low_vul_open_cnt: number; /**忽略的中风险级别漏洞的数量*/
|
|
679
|
+
medium_vul_ignore_cnt: number; /**打开的中风险级别漏洞的数量*/
|
|
680
|
+
medium_vul_open_cnt: number; /**开启中问题数量*/
|
|
1482
681
|
open: number;
|
|
1483
682
|
};
|
|
1484
683
|
type DtoCommonRegistryPackageDetail = {
|
|
@@ -1508,7 +707,6 @@ type DtoCommonRegistryTagDetail = {
|
|
|
1508
707
|
dependencies: DtoDependency[];
|
|
1509
708
|
desc: string;
|
|
1510
709
|
files: DtoFile[];
|
|
1511
|
-
|
|
1512
710
|
/**HasProvenance 是否有出生证明.
|
|
1513
711
|
Pypi和Conan制品由于一个标签对应多个出生证明,因此该字段是无意义的.*/
|
|
1514
712
|
has_provenance: boolean;
|
|
@@ -1523,12 +721,8 @@ type DtoCommonRegistryTagDetail = {
|
|
|
1523
721
|
tag: string;
|
|
1524
722
|
};
|
|
1525
723
|
type DtoConanMetaData = {
|
|
1526
|
-
author: string;
|
|
1527
|
-
|
|
1528
|
-
/**conan 的 package 列表*/
|
|
1529
|
-
conan_packages: DtoConanPackage[];
|
|
1530
|
-
|
|
1531
|
-
/**conan recipe 的 revision, conan 制品专用字段*/
|
|
724
|
+
author: string; /**conan 的 package 列表*/
|
|
725
|
+
conan_packages: DtoConanPackage[]; /**conan recipe 的 revision, conan 制品专用字段*/
|
|
1532
726
|
conan_recipe_revision: string;
|
|
1533
727
|
conan_reference: string;
|
|
1534
728
|
home_page: string;
|
|
@@ -1554,7 +748,6 @@ type DtoConanRegistryTagDetail = {
|
|
|
1554
748
|
dependencies: DtoDependency[];
|
|
1555
749
|
desc: string;
|
|
1556
750
|
files: DtoFile[];
|
|
1557
|
-
|
|
1558
751
|
/**HasProvenance 是否有出生证明.
|
|
1559
752
|
Pypi和Conan制品由于一个标签对应多个出生证明,因此该字段是无意义的.*/
|
|
1560
753
|
has_provenance: boolean;
|
|
@@ -1609,14 +802,11 @@ type DtoContainerTag = {
|
|
|
1609
802
|
type DtoContainerTagDetail = {
|
|
1610
803
|
address: string;
|
|
1611
804
|
annotations: DtoContainerAnnotation;
|
|
1612
|
-
|
|
1613
805
|
/**HasProvenance 是否有出生证明.
|
|
1614
806
|
Pypi和Conan制品由于一个标签对应多个出生证明,因此该字段是无意义的.*/
|
|
1615
807
|
has_provenance: boolean;
|
|
1616
808
|
image: DtoContainerImage;
|
|
1617
|
-
last_pusher: DtoLastPusher;
|
|
1618
|
-
|
|
1619
|
-
/**返回的结果是否和提供的架构匹配*/
|
|
809
|
+
last_pusher: DtoLastPusher; /**返回的结果是否和提供的架构匹配*/
|
|
1620
810
|
matches_requested_arch: boolean;
|
|
1621
811
|
options: DtoContainerImage[];
|
|
1622
812
|
package: string;
|
|
@@ -1627,8 +817,7 @@ type DtoContainerTagDetail = {
|
|
|
1627
817
|
type: string;
|
|
1628
818
|
};
|
|
1629
819
|
type DtoCreateGroupReq = {
|
|
1630
|
-
/**BindDomain 根组织绑定的域名*/
|
|
1631
|
-
bind_domain: string;
|
|
820
|
+
/**BindDomain 根组织绑定的域名*/bind_domain: string;
|
|
1632
821
|
description: string;
|
|
1633
822
|
path: string;
|
|
1634
823
|
remark: string;
|
|
@@ -1651,12 +840,8 @@ type DtoDependency = {
|
|
|
1651
840
|
name: string;
|
|
1652
841
|
};
|
|
1653
842
|
type DtoDockerModelConfig = {
|
|
1654
|
-
architecture: string;
|
|
1655
|
-
|
|
1656
|
-
/**Format the packaging format of the model file(s), currently the only supported value is gguf.*/
|
|
1657
|
-
format: string;
|
|
1658
|
-
|
|
1659
|
-
/**FormatVersion the version of the format*/
|
|
843
|
+
architecture: string; /**Format the packaging format of the model file(s), currently the only supported value is gguf.*/
|
|
844
|
+
format: string; /**FormatVersion the version of the format*/
|
|
1660
845
|
format_version: string;
|
|
1661
846
|
gguf: DtoGguf;
|
|
1662
847
|
parameters: string;
|
|
@@ -1692,7 +877,6 @@ type DtoDockerModelTagDetail = {
|
|
|
1692
877
|
address: string;
|
|
1693
878
|
docker_model_config: DtoDockerModelConfig;
|
|
1694
879
|
docker_model_descriptor: DtoDockerModelDescriptor;
|
|
1695
|
-
|
|
1696
880
|
/**HasProvenance 是否有出生证明.
|
|
1697
881
|
Pypi和Conan制品由于一个标签对应多个出生证明,因此该字段是无意义的.*/
|
|
1698
882
|
has_provenance: boolean;
|
|
@@ -1732,42 +916,21 @@ type DtoForks = {
|
|
|
1732
916
|
};
|
|
1733
917
|
type DtoGguf = any;
|
|
1734
918
|
type DtoGetBadgeReq = {
|
|
1735
|
-
/**分支名,例如:main。不传则为默认分支,获取默认分支最新徽章。传了分支名,则获取该分支最新提交记录对应的徽章。*/
|
|
1736
|
-
branch: string;
|
|
919
|
+
/**分支名,例如:main。不传则为默认分支,获取默认分支最新徽章。传了分支名,则获取该分支最新提交记录对应的徽章。*/branch: string;
|
|
1737
920
|
};
|
|
1738
921
|
type DtoGetBadgeResult = {
|
|
1739
|
-
/**徽章颜色*/
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
label: string;
|
|
1744
|
-
|
|
1745
|
-
/**徽章链接*/
|
|
1746
|
-
link: string;
|
|
1747
|
-
|
|
1748
|
-
/**徽章链接列表*/
|
|
1749
|
-
links: string[];
|
|
1750
|
-
|
|
1751
|
-
/**徽章右侧显示内容*/
|
|
922
|
+
/**徽章颜色*/color: string; /**徽章左侧显示内容*/
|
|
923
|
+
label: string; /**徽章链接*/
|
|
924
|
+
link: string; /**徽章链接列表*/
|
|
925
|
+
links: string[]; /**徽章右侧显示内容*/
|
|
1752
926
|
message: string;
|
|
1753
927
|
};
|
|
1754
928
|
type DtoGroupSettingReq = {
|
|
1755
|
-
/**组织限制指定邮箱认证才能加入*/
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
/**是否对外隐藏组织成员,0 - 否, 1 - 是*/
|
|
1762
|
-
hide_members: number;
|
|
1763
|
-
|
|
1764
|
-
/**是否对外隐藏子组织,0 - 否, 1 - 是*/
|
|
1765
|
-
hide_sub_groups: number;
|
|
1766
|
-
|
|
1767
|
-
/**是否对外显示私有仓库水印,0 - 否, 1 - 是*/
|
|
1768
|
-
show_private_repo_watermark: number;
|
|
1769
|
-
|
|
1770
|
-
/**SettingValue 组织设置值,多个选项,用逗号拼接。可选值来自 SettingNamesArray 的值,e.g. disable_organization_readme,cloud_native_dev_only*/
|
|
929
|
+
/**组织限制指定邮箱认证才能加入*/email_verification: string[]; /**组织保护开关,0 - 关闭,1 - 打开*/
|
|
930
|
+
group_protection: number; /**是否对外隐藏组织成员,0 - 否, 1 - 是*/
|
|
931
|
+
hide_members: number; /**是否对外隐藏子组织,0 - 否, 1 - 是*/
|
|
932
|
+
hide_sub_groups: number; /**是否对外显示私有仓库水印,0 - 否, 1 - 是*/
|
|
933
|
+
show_private_repo_watermark: number; /**SettingValue 组织设置值,多个选项,用逗号拼接。可选值来自 SettingNamesArray 的值,e.g. disable_organization_readme,cloud_native_dev_only*/
|
|
1771
934
|
values: string;
|
|
1772
935
|
};
|
|
1773
936
|
type DtoInheritMembersUser = {
|
|
@@ -1784,19 +947,12 @@ type DtoInheritMembersUser = {
|
|
|
1784
947
|
nickname: string;
|
|
1785
948
|
self_member: boolean;
|
|
1786
949
|
type: ConstantUserType;
|
|
1787
|
-
username: string;
|
|
1788
|
-
|
|
1789
|
-
/**认证类型*/
|
|
1790
|
-
verified: number;
|
|
1791
|
-
|
|
1792
|
-
/**认证过期时间*/
|
|
950
|
+
username: string; /**认证类型*/
|
|
951
|
+
verified: number; /**认证过期时间*/
|
|
1793
952
|
verified_expire_in: string;
|
|
1794
953
|
};
|
|
1795
954
|
type DtoIssueConfig = {
|
|
1796
|
-
/**逗号分隔的标签字符串,如 "bug,feature"*/
|
|
1797
|
-
labels: string;
|
|
1798
|
-
|
|
1799
|
-
/**"open", "closed"*/
|
|
955
|
+
/**逗号分隔的标签字符串,如 "bug,feature"*/labels: string; /**"open", "closed"*/
|
|
1800
956
|
state: string;
|
|
1801
957
|
};
|
|
1802
958
|
type DtoKnowledgeBaseInfoRes = {
|
|
@@ -1824,8 +980,7 @@ type DtoLastPusher = {
|
|
|
1824
980
|
};
|
|
1825
981
|
type DtoListBadgeReq = any;
|
|
1826
982
|
type DtoListBadgeResult = {
|
|
1827
|
-
/**徽章列表*/
|
|
1828
|
-
badges: DtoBadge[];
|
|
983
|
+
/**徽章列表*/badges: DtoBadge[];
|
|
1829
984
|
};
|
|
1830
985
|
type DtoListForks = {
|
|
1831
986
|
fork_tree_count: number;
|
|
@@ -1837,70 +992,27 @@ type DtoListInheritMembers = {
|
|
|
1837
992
|
users: DtoInheritMembersUser[];
|
|
1838
993
|
};
|
|
1839
994
|
type DtoLogInfo = {
|
|
1840
|
-
/**构建日志 url*/
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
/**组织名*/
|
|
1862
|
-
groupName: string;
|
|
1863
|
-
|
|
1864
|
-
/**流水线标签*/
|
|
1865
|
-
labels: string;
|
|
1866
|
-
|
|
1867
|
-
/**构建用户昵称*/
|
|
1868
|
-
nickName: string;
|
|
1869
|
-
|
|
1870
|
-
/**失败的子流水线个数*/
|
|
1871
|
-
pipelineFailCount: number;
|
|
1872
|
-
|
|
1873
|
-
/**成功的子流水线个数*/
|
|
1874
|
-
pipelineSuccessCount: number;
|
|
1875
|
-
|
|
1876
|
-
/**子流水线个数*/
|
|
1877
|
-
pipelineTotalCount: number;
|
|
1878
|
-
|
|
1879
|
-
/**commitid*/
|
|
1880
|
-
sha: string;
|
|
1881
|
-
|
|
1882
|
-
/**仓库路径*/
|
|
1883
|
-
slug: string;
|
|
1884
|
-
|
|
1885
|
-
/**构建号*/
|
|
1886
|
-
sn: string;
|
|
1887
|
-
|
|
1888
|
-
/**源分支名*/
|
|
1889
|
-
sourceRef: string;
|
|
1890
|
-
|
|
1891
|
-
/**源仓库路径*/
|
|
1892
|
-
sourceSlug: string;
|
|
1893
|
-
|
|
1894
|
-
/**构建状态*/
|
|
1895
|
-
status: string;
|
|
1896
|
-
|
|
1897
|
-
/**目标分支名*/
|
|
1898
|
-
targetRef: string;
|
|
1899
|
-
|
|
1900
|
-
/**构建 title*/
|
|
1901
|
-
title: string;
|
|
1902
|
-
|
|
1903
|
-
/**用户名*/
|
|
995
|
+
/**构建日志 url*/buildLogUrl: string; /**提交日志 title*/
|
|
996
|
+
commitTitle: string; /**构建开始时间*/
|
|
997
|
+
createTime: string; /**构建耗时,单位:ms*/
|
|
998
|
+
duration: number; /**事件名*/
|
|
999
|
+
event: string; /**事件 url*/
|
|
1000
|
+
eventUrl: string; /**构建用户是否被冻结*/
|
|
1001
|
+
freeze: boolean; /**组织名*/
|
|
1002
|
+
groupName: string; /**流水线标签*/
|
|
1003
|
+
labels: string; /**构建用户昵称*/
|
|
1004
|
+
nickName: string; /**失败的子流水线个数*/
|
|
1005
|
+
pipelineFailCount: number; /**成功的子流水线个数*/
|
|
1006
|
+
pipelineSuccessCount: number; /**子流水线个数*/
|
|
1007
|
+
pipelineTotalCount: number; /**commitid*/
|
|
1008
|
+
sha: string; /**仓库路径*/
|
|
1009
|
+
slug: string; /**构建号*/
|
|
1010
|
+
sn: string; /**源分支名*/
|
|
1011
|
+
sourceRef: string; /**源仓库路径*/
|
|
1012
|
+
sourceSlug: string; /**构建状态*/
|
|
1013
|
+
status: string; /**目标分支名*/
|
|
1014
|
+
targetRef: string; /**构建 title*/
|
|
1015
|
+
title: string; /**用户名*/
|
|
1904
1016
|
userName: string;
|
|
1905
1017
|
};
|
|
1906
1018
|
type DtoMemberAccessLevel = {
|
|
@@ -1914,10 +1026,7 @@ type DtoMemberAccessLevelInSlugUnion = {
|
|
|
1914
1026
|
write_privilege: boolean;
|
|
1915
1027
|
};
|
|
1916
1028
|
type DtoMessage = {
|
|
1917
|
-
/**内容*/
|
|
1918
|
-
content: string;
|
|
1919
|
-
|
|
1920
|
-
/**角色,可选值:user、assistant*/
|
|
1029
|
+
/**内容*/content: string; /**角色,可选值:user、assistant*/
|
|
1921
1030
|
role: string;
|
|
1922
1031
|
};
|
|
1923
1032
|
type DtoMetaData = {
|
|
@@ -1931,8 +1040,7 @@ type DtoMetaData = {
|
|
|
1931
1040
|
repository_url: string;
|
|
1932
1041
|
};
|
|
1933
1042
|
type DtoMissionPostViewReq = {
|
|
1934
|
-
/**视图唯一标识列表,按此顺序排序*/
|
|
1935
|
-
ids: string[];
|
|
1043
|
+
/**视图唯一标识列表,按此顺序排序*/ids: string[];
|
|
1936
1044
|
};
|
|
1937
1045
|
type DtoMissionView = {
|
|
1938
1046
|
id: string;
|
|
@@ -1940,22 +1048,11 @@ type DtoMissionView = {
|
|
|
1940
1048
|
type: DtoMissionViewType;
|
|
1941
1049
|
};
|
|
1942
1050
|
type DtoMissionViewConfig = {
|
|
1943
|
-
/**字段配置*/
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
/**视图唯一标识*/
|
|
1950
|
-
id: string;
|
|
1951
|
-
|
|
1952
|
-
/**筛选条件*/
|
|
1953
|
-
selectors: DtoMissionViewSelector[];
|
|
1954
|
-
|
|
1955
|
-
/**排序条件*/
|
|
1956
|
-
sorts: DtoMissionViewSort[];
|
|
1957
|
-
|
|
1958
|
-
/**视图类型*/
|
|
1051
|
+
/**字段配置*/fields: DtoMissionViewFieldConfig[]; /**分组信息*/
|
|
1052
|
+
group: any; /**视图唯一标识*/
|
|
1053
|
+
id: string; /**筛选条件*/
|
|
1054
|
+
selectors: DtoMissionViewSelector[]; /**排序条件*/
|
|
1055
|
+
sorts: DtoMissionViewSort[]; /**视图类型*/
|
|
1959
1056
|
type: any;
|
|
1960
1057
|
};
|
|
1961
1058
|
type DtoMissionViewFieldConfig = {
|
|
@@ -1990,18 +1087,11 @@ type DtoMissions4User = {
|
|
|
1990
1087
|
};
|
|
1991
1088
|
type DtoOperatorType = "equal" | "equals" | "not_equals" | "contains" | "contains_all" | "not_contains" | "empty" | "not_empty" | "before" | "after" | "time_selector";
|
|
1992
1089
|
type DtoOrganizationAccess = {
|
|
1993
|
-
/**AccessRole 用户在当前资源的最大权限*/
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
/**下面所有层级子组织*/
|
|
1998
|
-
all_sub_group_count: number;
|
|
1999
|
-
|
|
2000
|
-
/**下面所有层级子任务*/
|
|
1090
|
+
/**AccessRole 用户在当前资源的最大权限*/access_role: any;
|
|
1091
|
+
all_member_count: number; /**下面所有层级子组织*/
|
|
1092
|
+
all_sub_group_count: number; /**下面所有层级子任务*/
|
|
2001
1093
|
all_sub_mission_count: number;
|
|
2002
|
-
all_sub_registry_count: number;
|
|
2003
|
-
|
|
2004
|
-
/**下面所有层级子仓库*/
|
|
1094
|
+
all_sub_registry_count: number; /**下面所有层级子仓库*/
|
|
2005
1095
|
all_sub_repo_count: number;
|
|
2006
1096
|
created_at: string;
|
|
2007
1097
|
description: string;
|
|
@@ -2018,32 +1108,21 @@ type DtoOrganizationAccess = {
|
|
|
2018
1108
|
pinned_time: string;
|
|
2019
1109
|
readme_repo_path: string;
|
|
2020
1110
|
remark: string;
|
|
2021
|
-
site: string;
|
|
2022
|
-
|
|
2023
|
-
/**下一级子组织数量*/
|
|
1111
|
+
site: string; /**下一级子组织数量*/
|
|
2024
1112
|
sub_group_count: number;
|
|
2025
1113
|
sub_mission_count: number;
|
|
2026
|
-
sub_registry_count: number;
|
|
2027
|
-
|
|
2028
|
-
/**下一级子仓库*/
|
|
1114
|
+
sub_registry_count: number; /**下一级子仓库*/
|
|
2029
1115
|
sub_repo_count: number;
|
|
2030
1116
|
updated_at: string;
|
|
2031
1117
|
wechat_mp: string;
|
|
2032
1118
|
};
|
|
2033
1119
|
type DtoOrganizationSettingWithParent = {
|
|
2034
|
-
/**上级group设置了hide_members为1,则下级都不能显示*/
|
|
2035
|
-
can_show_members: boolean;
|
|
2036
|
-
|
|
2037
|
-
/**上级group设置了hide_sub_groups为1,则下级都不能显示*/
|
|
1120
|
+
/**上级group设置了hide_members为1,则下级都不能显示*/can_show_members: boolean; /**上级group设置了hide_sub_groups为1,则下级都不能显示*/
|
|
2038
1121
|
can_show_sub_groups: boolean;
|
|
2039
1122
|
can_show_watermark: boolean;
|
|
2040
1123
|
email_verification: string[];
|
|
2041
|
-
group_protection: number;
|
|
2042
|
-
|
|
2043
|
-
/**是否对外隐藏组织成员,0 - 否, 1 - 是*/
|
|
2044
|
-
hide_members: number;
|
|
2045
|
-
|
|
2046
|
-
/**是否对外隐藏子组织,0 - 否, 1 - 是*/
|
|
1124
|
+
group_protection: number; /**是否对外隐藏组织成员,0 - 否, 1 - 是*/
|
|
1125
|
+
hide_members: number; /**是否对外隐藏子组织,0 - 否, 1 - 是*/
|
|
2047
1126
|
hide_sub_groups: number;
|
|
2048
1127
|
root_email_verification: string[];
|
|
2049
1128
|
root_group_protection: boolean;
|
|
@@ -2052,16 +1131,10 @@ type DtoOrganizationSettingWithParent = {
|
|
|
2052
1131
|
values: OrganizationSettingValue;
|
|
2053
1132
|
};
|
|
2054
1133
|
type DtoOrganizationUnion = {
|
|
2055
|
-
all_member_count: number;
|
|
2056
|
-
|
|
2057
|
-
/**下面所有层级子组织*/
|
|
2058
|
-
all_sub_group_count: number;
|
|
2059
|
-
|
|
2060
|
-
/**下面所有层级子任务*/
|
|
1134
|
+
all_member_count: number; /**下面所有层级子组织*/
|
|
1135
|
+
all_sub_group_count: number; /**下面所有层级子任务*/
|
|
2061
1136
|
all_sub_mission_count: number;
|
|
2062
|
-
all_sub_registry_count: number;
|
|
2063
|
-
|
|
2064
|
-
/**下面所有层级子仓库*/
|
|
1137
|
+
all_sub_registry_count: number; /**下面所有层级子仓库*/
|
|
2065
1138
|
all_sub_repo_count: number;
|
|
2066
1139
|
created_at: string;
|
|
2067
1140
|
description: string;
|
|
@@ -2078,14 +1151,10 @@ type DtoOrganizationUnion = {
|
|
|
2078
1151
|
pinned_time: string;
|
|
2079
1152
|
readme_repo_path: string;
|
|
2080
1153
|
remark: string;
|
|
2081
|
-
site: string;
|
|
2082
|
-
|
|
2083
|
-
/**下一级子组织数量*/
|
|
1154
|
+
site: string; /**下一级子组织数量*/
|
|
2084
1155
|
sub_group_count: number;
|
|
2085
1156
|
sub_mission_count: number;
|
|
2086
|
-
sub_registry_count: number;
|
|
2087
|
-
|
|
2088
|
-
/**下一级子仓库*/
|
|
1157
|
+
sub_registry_count: number; /**下一级子仓库*/
|
|
2089
1158
|
sub_repo_count: number;
|
|
2090
1159
|
updated_at: string;
|
|
2091
1160
|
wechat_mp: string;
|
|
@@ -2101,12 +1170,8 @@ type DtoOutsideCollaboratorInRepo = {
|
|
|
2101
1170
|
locked: boolean;
|
|
2102
1171
|
nickname: string;
|
|
2103
1172
|
type: ConstantUserType;
|
|
2104
|
-
username: string;
|
|
2105
|
-
|
|
2106
|
-
/**认证类型*/
|
|
2107
|
-
verified: number;
|
|
2108
|
-
|
|
2109
|
-
/**认证过期时间*/
|
|
1173
|
+
username: string; /**认证类型*/
|
|
1174
|
+
verified: number; /**认证过期时间*/
|
|
2110
1175
|
verified_expire_in: string;
|
|
2111
1176
|
};
|
|
2112
1177
|
type DtoPackage = {
|
|
@@ -2158,7 +1223,6 @@ type DtoPyPiRegistryTagDetail = {
|
|
|
2158
1223
|
dependencies: DtoDependency[];
|
|
2159
1224
|
desc: string;
|
|
2160
1225
|
files: DtoFile[];
|
|
2161
|
-
|
|
2162
1226
|
/**HasProvenance 是否有出生证明.
|
|
2163
1227
|
Pypi和Conan制品由于一个标签对应多个出生证明,因此该字段是无意义的.*/
|
|
2164
1228
|
has_provenance: boolean;
|
|
@@ -2173,16 +1237,9 @@ type DtoPyPiRegistryTagDetail = {
|
|
|
2173
1237
|
tag: string;
|
|
2174
1238
|
};
|
|
2175
1239
|
type DtoQueryKnowledgeBaseReq = {
|
|
2176
|
-
/**元数据过滤条件*/
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
/**查询语句*/
|
|
2180
|
-
query: string;
|
|
2181
|
-
|
|
2182
|
-
/**分数阈值*/
|
|
2183
|
-
score_threshold: number;
|
|
2184
|
-
|
|
2185
|
-
/**返回结果的数量*/
|
|
1240
|
+
/**元数据过滤条件*/metadata_filtering_conditions: any; /**查询语句*/
|
|
1241
|
+
query: string; /**分数阈值*/
|
|
1242
|
+
score_threshold: number; /**返回结果的数量*/
|
|
2186
1243
|
top_k: number;
|
|
2187
1244
|
};
|
|
2188
1245
|
type DtoQueryKnowledgeBaseRes = {
|
|
@@ -2225,28 +1282,13 @@ type DtoRepoSecurityOverview = {
|
|
|
2225
1282
|
risk_cnt: DtoRepoSecurityRiskCnt;
|
|
2226
1283
|
};
|
|
2227
1284
|
type DtoRepoSecurityRiskCnt = {
|
|
2228
|
-
/**是否开启源码扫描*/
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
code_sensitive_enable: boolean;
|
|
2236
|
-
|
|
2237
|
-
/**敏感信息风险数量(高风险)*/
|
|
2238
|
-
code_sensitive_risk_cnt: number;
|
|
2239
|
-
|
|
2240
|
-
/**是否开启代码漏洞扫描*/
|
|
2241
|
-
code_vulnerability_enable: boolean;
|
|
2242
|
-
|
|
2243
|
-
/**代码漏洞风险数量(严重+高风险)*/
|
|
2244
|
-
code_vulnerability_risk_cnt: number;
|
|
2245
|
-
|
|
2246
|
-
/**是否开启安全模块*/
|
|
2247
|
-
enable: boolean;
|
|
2248
|
-
|
|
2249
|
-
/**总计数*/
|
|
1285
|
+
/**是否开启源码扫描*/code_issue_enable: boolean; /**源码扫描风险数量 (严重+高风险)*/
|
|
1286
|
+
code_issue_risk_cnt: number; /**是否开启代码敏感信息扫描*/
|
|
1287
|
+
code_sensitive_enable: boolean; /**敏感信息风险数量(高风险)*/
|
|
1288
|
+
code_sensitive_risk_cnt: number; /**是否开启代码漏洞扫描*/
|
|
1289
|
+
code_vulnerability_enable: boolean; /**代码漏洞风险数量(严重+高风险)*/
|
|
1290
|
+
code_vulnerability_risk_cnt: number; /**是否开启安全模块*/
|
|
1291
|
+
enable: boolean; /**总计数*/
|
|
2250
1292
|
total: number;
|
|
2251
1293
|
};
|
|
2252
1294
|
type DtoRepoStarUsers = {
|
|
@@ -2260,43 +1302,23 @@ type DtoRepos4User = {
|
|
|
2260
1302
|
description: string;
|
|
2261
1303
|
display_module: ConstantRepoDisplayModule;
|
|
2262
1304
|
flags: FlagsRepo;
|
|
2263
|
-
fork_count: number;
|
|
2264
|
-
|
|
2265
|
-
/**预留*/
|
|
1305
|
+
fork_count: number; /**预留*/
|
|
2266
1306
|
forked_from_repo: any;
|
|
2267
1307
|
freeze: boolean;
|
|
2268
|
-
id: string;
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
/**仓库语言*/
|
|
2274
|
-
languages: any;
|
|
2275
|
-
|
|
2276
|
-
/**最新代码更新人姓名*/
|
|
2277
|
-
last_update_nickname: string;
|
|
2278
|
-
|
|
2279
|
-
/**最新代码更新人账户名*/
|
|
2280
|
-
last_update_username: string;
|
|
2281
|
-
|
|
2282
|
-
/**最新代码更新时间*/
|
|
1308
|
+
id: string; /**仓库程序语言,预留*/
|
|
1309
|
+
language: string; /**仓库语言*/
|
|
1310
|
+
languages: any; /**最新代码更新人姓名*/
|
|
1311
|
+
last_update_nickname: string; /**最新代码更新人账户名*/
|
|
1312
|
+
last_update_username: string; /**最新代码更新时间*/
|
|
2283
1313
|
last_updated_at: any;
|
|
2284
1314
|
license: string;
|
|
2285
1315
|
mark_count: number;
|
|
2286
|
-
name: string;
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
open_issue_count: number;
|
|
2290
|
-
|
|
2291
|
-
/**开启的pull request数*/
|
|
2292
|
-
open_pull_request_count: number;
|
|
2293
|
-
|
|
2294
|
-
/**完整仓库路径*/
|
|
1316
|
+
name: string; /**开启的issue数*/
|
|
1317
|
+
open_issue_count: number; /**开启的pull request数*/
|
|
1318
|
+
open_pull_request_count: number; /**完整仓库路径*/
|
|
2295
1319
|
path: string;
|
|
2296
1320
|
pinned: boolean;
|
|
2297
|
-
pinned_time: string;
|
|
2298
|
-
|
|
2299
|
-
/**第二语言*/
|
|
1321
|
+
pinned_time: string; /**第二语言*/
|
|
2300
1322
|
second_languages: any;
|
|
2301
1323
|
site: string;
|
|
2302
1324
|
star_count: number;
|
|
@@ -2316,41 +1338,21 @@ type DtoRepos4UserBase = {
|
|
|
2316
1338
|
description: string;
|
|
2317
1339
|
display_module: ConstantRepoDisplayModule;
|
|
2318
1340
|
flags: FlagsRepo;
|
|
2319
|
-
fork_count: number;
|
|
2320
|
-
|
|
2321
|
-
/**预留*/
|
|
1341
|
+
fork_count: number; /**预留*/
|
|
2322
1342
|
forked_from_repo: any;
|
|
2323
1343
|
freeze: boolean;
|
|
2324
|
-
id: string;
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
/**仓库语言*/
|
|
2330
|
-
languages: any;
|
|
2331
|
-
|
|
2332
|
-
/**最新代码更新人姓名*/
|
|
2333
|
-
last_update_nickname: string;
|
|
2334
|
-
|
|
2335
|
-
/**最新代码更新人账户名*/
|
|
2336
|
-
last_update_username: string;
|
|
2337
|
-
|
|
2338
|
-
/**最新代码更新时间*/
|
|
1344
|
+
id: string; /**仓库程序语言,预留*/
|
|
1345
|
+
language: string; /**仓库语言*/
|
|
1346
|
+
languages: any; /**最新代码更新人姓名*/
|
|
1347
|
+
last_update_nickname: string; /**最新代码更新人账户名*/
|
|
1348
|
+
last_update_username: string; /**最新代码更新时间*/
|
|
2339
1349
|
last_updated_at: any;
|
|
2340
1350
|
license: string;
|
|
2341
1351
|
mark_count: number;
|
|
2342
|
-
name: string;
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
/**开启的pull request数*/
|
|
2348
|
-
open_pull_request_count: number;
|
|
2349
|
-
|
|
2350
|
-
/**完整仓库路径*/
|
|
2351
|
-
path: string;
|
|
2352
|
-
|
|
2353
|
-
/**第二语言*/
|
|
1352
|
+
name: string; /**开启的issue数*/
|
|
1353
|
+
open_issue_count: number; /**开启的pull request数*/
|
|
1354
|
+
open_pull_request_count: number; /**完整仓库路径*/
|
|
1355
|
+
path: string; /**第二语言*/
|
|
2354
1356
|
second_languages: any;
|
|
2355
1357
|
site: string;
|
|
2356
1358
|
star_count: number;
|
|
@@ -2364,46 +1366,23 @@ type DtoRepos4UserBase = {
|
|
|
2364
1366
|
web_url: string;
|
|
2365
1367
|
};
|
|
2366
1368
|
type DtoSpecialAmount = {
|
|
2367
|
-
/**云原生构建cpu核时*/
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
/**过期时间时为 null 时永久有效*/
|
|
2372
|
-
compute_build_expire: string;
|
|
2373
|
-
|
|
2374
|
-
/**云原生构建gpu核时*/
|
|
1369
|
+
/**云原生构建cpu核时*/compute_build_corehour: number;
|
|
1370
|
+
compute_build_desc: string; /**过期时间时为 null 时永久有效*/
|
|
1371
|
+
compute_build_expire: string; /**云原生构建gpu核时*/
|
|
2375
1372
|
compute_build_gpu_corehour: number;
|
|
2376
|
-
compute_build_gpu_desc: string;
|
|
2377
|
-
|
|
2378
|
-
/**过期时间时为 null 时永久有效*/
|
|
2379
|
-
compute_build_gpu_expire: string;
|
|
2380
|
-
|
|
2381
|
-
/**云原生开发cpu核时*/
|
|
1373
|
+
compute_build_gpu_desc: string; /**过期时间时为 null 时永久有效*/
|
|
1374
|
+
compute_build_gpu_expire: string; /**云原生开发cpu核时*/
|
|
2382
1375
|
compute_develop_corehour: number;
|
|
2383
|
-
compute_develop_desc: string;
|
|
2384
|
-
|
|
2385
|
-
/**过期时间时为 null 时永久有效*/
|
|
2386
|
-
compute_develop_expire: string;
|
|
2387
|
-
|
|
2388
|
-
/**云原生开发gpu核时*/
|
|
1376
|
+
compute_develop_desc: string; /**过期时间时为 null 时永久有效*/
|
|
1377
|
+
compute_develop_expire: string; /**云原生开发gpu核时*/
|
|
2389
1378
|
compute_develop_gpu_corehour: number;
|
|
2390
|
-
compute_develop_gpu_desc: string;
|
|
2391
|
-
|
|
2392
|
-
/**过期时间时为 null 时永久有效*/
|
|
1379
|
+
compute_develop_gpu_desc: string; /**过期时间时为 null 时永久有效*/
|
|
2393
1380
|
compute_develop_gpu_expire: string;
|
|
2394
|
-
storage_git_desc: string;
|
|
2395
|
-
|
|
2396
|
-
/**过期时间时为 null 时永久有效*/
|
|
2397
|
-
storage_git_expire: string;
|
|
2398
|
-
|
|
2399
|
-
/**git存储空间*/
|
|
1381
|
+
storage_git_desc: string; /**过期时间时为 null 时永久有效*/
|
|
1382
|
+
storage_git_expire: string; /**git存储空间*/
|
|
2400
1383
|
storage_git_gib: number;
|
|
2401
|
-
storage_object_desc: string;
|
|
2402
|
-
|
|
2403
|
-
/**过期时间时为 null 时永久有效*/
|
|
2404
|
-
storage_object_expire: string;
|
|
2405
|
-
|
|
2406
|
-
/**对象存储空间*/
|
|
1384
|
+
storage_object_desc: string; /**过期时间时为 null 时永久有效*/
|
|
1385
|
+
storage_object_expire: string; /**对象存储空间*/
|
|
2407
1386
|
storage_object_gib: number;
|
|
2408
1387
|
};
|
|
2409
1388
|
type DtoStarUser = {
|
|
@@ -2417,54 +1396,27 @@ type DtoStarUser = {
|
|
|
2417
1396
|
nickname: string;
|
|
2418
1397
|
stared_at: string;
|
|
2419
1398
|
type: ConstantUserType;
|
|
2420
|
-
username: string;
|
|
2421
|
-
|
|
2422
|
-
/**认证类型*/
|
|
2423
|
-
verified: number;
|
|
2424
|
-
|
|
2425
|
-
/**认证过期时间*/
|
|
1399
|
+
username: string; /**认证类型*/
|
|
1400
|
+
verified: number; /**认证过期时间*/
|
|
2426
1401
|
verified_expire_in: string;
|
|
2427
1402
|
};
|
|
2428
1403
|
type DtoStartBuildReq = {
|
|
2429
|
-
/**触发分支,默认为主分支*/
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
/**环境变量,对象格式*/
|
|
2436
|
-
env: any;
|
|
2437
|
-
|
|
2438
|
-
/**事件名,必须是 api_trigger 或以 api_trigger_ 开头,默认为 `api_trigger`*/
|
|
2439
|
-
event: string;
|
|
2440
|
-
|
|
2441
|
-
/**commit id ,优先级比 tag 高,默认为分支最新提交记录*/
|
|
2442
|
-
sha: string;
|
|
2443
|
-
|
|
2444
|
-
/**是否等待构建正式触发,为false时会立刻返回 sn 和 buildLogUrl*/
|
|
2445
|
-
sync: string;
|
|
2446
|
-
|
|
2447
|
-
/**触发 tag,优先级比 branch 高*/
|
|
1404
|
+
/**触发分支,默认为主分支*/branch: string; /**指定配置文件内容,yaml 格式*/
|
|
1405
|
+
config: string; /**环境变量,对象格式*/
|
|
1406
|
+
env: any; /**事件名,必须是 api_trigger 或以 api_trigger_ 开头,默认为 `api_trigger`*/
|
|
1407
|
+
event: string; /**commit id ,优先级比 tag 高,默认为分支最新提交记录*/
|
|
1408
|
+
sha: string; /**是否等待构建正式触发,为false时会立刻返回 sn 和 buildLogUrl*/
|
|
1409
|
+
sync: string; /**触发 tag,优先级比 branch 高*/
|
|
2448
1410
|
tag: string;
|
|
2449
1411
|
};
|
|
2450
1412
|
type DtoStartWorkspaceReq = {
|
|
2451
|
-
/**分支名或 tag 名,例如:main 或 v1.0.0。*/
|
|
2452
|
-
branch: string;
|
|
2453
|
-
|
|
2454
|
-
/**Git ref,例如,refs/heads/main 或 refs/tags/v1.0.0。不传 ref 时默认基于分支启动*/
|
|
1413
|
+
/**分支名或 tag 名,例如:main 或 v1.0.0。*/branch: string; /**Git ref,例如,refs/heads/main 或 refs/tags/v1.0.0。不传 ref 时默认基于分支启动*/
|
|
2455
1414
|
ref: string;
|
|
2456
1415
|
};
|
|
2457
1416
|
type DtoStartWorkspaceResult = {
|
|
2458
|
-
/**仅新创建开发环境时返回,表示创建开发环境的流水线日志地址*/
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
/**仅新创建开发环境时返回,表示创建开发环境的提示信息*/
|
|
2462
|
-
message: string;
|
|
2463
|
-
|
|
2464
|
-
/**仅新创建开发环境时返回,表示创建开发环境的流水线 sn*/
|
|
2465
|
-
sn: string;
|
|
2466
|
-
|
|
2467
|
-
/**如果存在开发环境,则返回 WebIDE 访问 url;如果不存在开发环境,则返回启动云原生开发的 loading 页面 url 地址*/
|
|
1417
|
+
/**仅新创建开发环境时返回,表示创建开发环境的流水线日志地址*/buildLogUrl: string; /**仅新创建开发环境时返回,表示创建开发环境的提示信息*/
|
|
1418
|
+
message: string; /**仅新创建开发环境时返回,表示创建开发环境的流水线 sn*/
|
|
1419
|
+
sn: string; /**如果存在开发环境,则返回 WebIDE 访问 url;如果不存在开发环境,则返回启动云原生开发的 loading 页面 url 地址*/
|
|
2468
1420
|
url: string;
|
|
2469
1421
|
};
|
|
2470
1422
|
type DtoTagDetail = {
|
|
@@ -2513,58 +1465,30 @@ type DtoUpdateUserInfoPayload = {
|
|
|
2513
1465
|
wechat_mp_qrcode: string;
|
|
2514
1466
|
};
|
|
2515
1467
|
type DtoUploadAssetsResponse = {
|
|
2516
|
-
/**资源信息。*/
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
/**上传表单参数。*/
|
|
2520
|
-
form: any;
|
|
2521
|
-
|
|
2522
|
-
/**后续调用 confirm 接口用的。*/
|
|
2523
|
-
token: string;
|
|
2524
|
-
|
|
2525
|
-
/**上传URL地址。*/
|
|
1468
|
+
/**资源信息。*/assets: any; /**上传表单参数。*/
|
|
1469
|
+
form: any; /**后续调用 confirm 接口用的。*/
|
|
1470
|
+
token: string; /**上传URL地址。*/
|
|
2526
1471
|
upload_url: string;
|
|
2527
1472
|
};
|
|
2528
1473
|
type DtoUploadBadgeReq = {
|
|
2529
|
-
/**徽章 key。目前允许上传的 key 包括:security/tca*/
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
/**点击徽章右侧的跳转链接*/
|
|
2536
|
-
link: string;
|
|
2537
|
-
|
|
2538
|
-
/**徽章右侧显示内容*/
|
|
2539
|
-
message: string;
|
|
2540
|
-
|
|
2541
|
-
/**commit id*/
|
|
2542
|
-
sha: string;
|
|
2543
|
-
|
|
2544
|
-
/**徽章数值,不传默认用 message 代替*/
|
|
1474
|
+
/**徽章 key。目前允许上传的 key 包括:security/tca*/key: string; /**是否上传 latest 徽章。默认为 false:不上传 latest,仅上传 commitid 对应的徽章;true:上传 latest 和 commitid 对应的徽章*/
|
|
1475
|
+
latest: boolean; /**点击徽章右侧的跳转链接*/
|
|
1476
|
+
link: string; /**徽章右侧显示内容*/
|
|
1477
|
+
message: string; /**commit id*/
|
|
1478
|
+
sha: string; /**徽章数值,不传默认用 message 代替*/
|
|
2545
1479
|
value: number;
|
|
2546
1480
|
};
|
|
2547
1481
|
type DtoUploadBadgeResult = {
|
|
2548
|
-
/**latest 对应的徽章 url 地址。如果没有传 latest: true,则该字段为空字符串*/
|
|
2549
|
-
latest_url: string;
|
|
2550
|
-
|
|
2551
|
-
/**commitid 对应的徽章 url 地址*/
|
|
1482
|
+
/**latest 对应的徽章 url 地址。如果没有传 latest: true,则该字段为空字符串*/latest_url: string; /**commitid 对应的徽章 url 地址*/
|
|
2552
1483
|
url: string;
|
|
2553
1484
|
};
|
|
2554
1485
|
type DtoUploadRequestParams = {
|
|
2555
|
-
/**文件扩展信息。*/
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
/**文件名。*/
|
|
2559
|
-
name: string;
|
|
2560
|
-
|
|
2561
|
-
/**文件大小。*/
|
|
1486
|
+
/**文件扩展信息。*/ext: any; /**文件名。*/
|
|
1487
|
+
name: string; /**文件大小。*/
|
|
2562
1488
|
size: number;
|
|
2563
1489
|
};
|
|
2564
1490
|
type DtoUserFollowResult = {
|
|
2565
|
-
freeze: boolean;
|
|
2566
|
-
|
|
2567
|
-
/**查询人是否follow了此用户*/
|
|
1491
|
+
freeze: boolean; /**查询人是否follow了此用户*/
|
|
2568
1492
|
is_following: boolean;
|
|
2569
1493
|
locked: boolean;
|
|
2570
1494
|
nickname: string;
|
|
@@ -2579,18 +1503,12 @@ type DtoUsers = {
|
|
|
2579
1503
|
locked: boolean;
|
|
2580
1504
|
nickname: string;
|
|
2581
1505
|
type: ConstantUserType;
|
|
2582
|
-
username: string;
|
|
2583
|
-
|
|
2584
|
-
/**认证类型*/
|
|
2585
|
-
verified: number;
|
|
2586
|
-
|
|
2587
|
-
/**认证过期时间*/
|
|
1506
|
+
username: string; /**认证类型*/
|
|
1507
|
+
verified: number; /**认证过期时间*/
|
|
2588
1508
|
verified_expire_in: string;
|
|
2589
1509
|
};
|
|
2590
1510
|
type DtoUsersResult = {
|
|
2591
|
-
address: string;
|
|
2592
|
-
|
|
2593
|
-
/**用户赞赏码状态,0-无赞赏码,1-有*/
|
|
1511
|
+
address: string; /**用户赞赏码状态,0-无赞赏码,1-有*/
|
|
2594
1512
|
appreciate_status: number;
|
|
2595
1513
|
avatar: string;
|
|
2596
1514
|
bio: string;
|
|
@@ -2604,9 +1522,7 @@ type DtoUsersResult = {
|
|
|
2604
1522
|
freeze: boolean;
|
|
2605
1523
|
gender: number;
|
|
2606
1524
|
group_count: number;
|
|
2607
|
-
id: string;
|
|
2608
|
-
|
|
2609
|
-
/**查询人是否follow了此用户*/
|
|
1525
|
+
id: string; /**查询人是否follow了此用户*/
|
|
2610
1526
|
is_following: boolean;
|
|
2611
1527
|
location: string;
|
|
2612
1528
|
locked: boolean;
|
|
@@ -2623,21 +1539,15 @@ type DtoUsersResult = {
|
|
|
2623
1539
|
site: string;
|
|
2624
1540
|
stars_count: number;
|
|
2625
1541
|
type: ConstantUserType;
|
|
2626
|
-
username: string;
|
|
2627
|
-
|
|
2628
|
-
/**认证类型*/
|
|
2629
|
-
verified: number;
|
|
2630
|
-
|
|
2631
|
-
/**认证过期时间*/
|
|
1542
|
+
username: string; /**认证类型*/
|
|
1543
|
+
verified: number; /**认证过期时间*/
|
|
2632
1544
|
verified_expire_in: string;
|
|
2633
1545
|
wechat_mp: string;
|
|
2634
1546
|
wechat_mp_qrcode: string;
|
|
2635
1547
|
};
|
|
2636
1548
|
type DtoUsersResultForSelf = {
|
|
2637
1549
|
address: string;
|
|
2638
|
-
appearance: string;
|
|
2639
|
-
|
|
2640
|
-
/**用户赞赏码状态,0-无赞赏码,1-有*/
|
|
1550
|
+
appearance: string; /**用户赞赏码状态,0-无赞赏码,1-有*/
|
|
2641
1551
|
appreciate_status: number;
|
|
2642
1552
|
avatar: string;
|
|
2643
1553
|
bio: string;
|
|
@@ -2674,12 +1584,8 @@ type DtoUsersResultForSelf = {
|
|
|
2674
1584
|
type: ConstantUserType;
|
|
2675
1585
|
updated_name_at: string;
|
|
2676
1586
|
updated_nick_at: string;
|
|
2677
|
-
username: string;
|
|
2678
|
-
|
|
2679
|
-
/**认证类型*/
|
|
2680
|
-
verified: number;
|
|
2681
|
-
|
|
2682
|
-
/**认证过期时间*/
|
|
1587
|
+
username: string; /**认证类型*/
|
|
1588
|
+
verified: number; /**认证过期时间*/
|
|
2683
1589
|
verified_expire_in: string;
|
|
2684
1590
|
wechat_mp: string;
|
|
2685
1591
|
wechat_mp_qrcode: string;
|
|
@@ -2697,226 +1603,102 @@ type DtoUsersWithAccessLevelInSlug = {
|
|
|
2697
1603
|
locked: boolean;
|
|
2698
1604
|
nickname: string;
|
|
2699
1605
|
type: ConstantUserType;
|
|
2700
|
-
username: string;
|
|
2701
|
-
|
|
2702
|
-
/**认证类型*/
|
|
2703
|
-
verified: number;
|
|
2704
|
-
|
|
2705
|
-
/**认证过期时间*/
|
|
1606
|
+
username: string; /**认证类型*/
|
|
1607
|
+
verified: number; /**认证过期时间*/
|
|
2706
1608
|
verified_expire_in: string;
|
|
2707
1609
|
};
|
|
2708
1610
|
type DtoWorkspaceDeleteReq = {
|
|
2709
|
-
/**表示要删除的开发环境流水线 id,sn 和 pipelineId 二选一,优先使用 pipelineId*/
|
|
2710
|
-
pipelineId: string;
|
|
2711
|
-
|
|
2712
|
-
/**表示要删除的开发环境流水线构建号,sn 和 pipelineId 二选一,优先使用 pipelineId*/
|
|
1611
|
+
/**表示要删除的开发环境流水线 id,sn 和 pipelineId 二选一,优先使用 pipelineId*/pipelineId: string; /**表示要删除的开发环境流水线构建号,sn 和 pipelineId 二选一,优先使用 pipelineId*/
|
|
2713
1612
|
sn: string;
|
|
2714
1613
|
};
|
|
2715
1614
|
type DtoWorkspaceDeleteResult = {
|
|
2716
|
-
/**返回码,0 表示成功,1 表示失败*/
|
|
2717
|
-
code: number;
|
|
2718
|
-
|
|
2719
|
-
/**描述*/
|
|
1615
|
+
/**返回码,0 表示成功,1 表示失败*/code: number; /**描述*/
|
|
2720
1616
|
message: string;
|
|
2721
1617
|
};
|
|
2722
1618
|
type DtoWorkspaceDetailResult = {
|
|
2723
|
-
/**CodeBuddy 国际版客户端 remote-ssh 访问 schema 地址*/
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
/**
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
/**jetbrains 系列 ide 的 jetbrains gateway 访问 schema 地址,环境内有安装 JetBrains 系列 ide 才会有*/
|
|
2733
|
-
jetbrains: any;
|
|
2734
|
-
|
|
2735
|
-
/**选择入口页面 url*/
|
|
2736
|
-
jumpUrl: string;
|
|
2737
|
-
|
|
2738
|
-
/**remote-ssh 连接地址*/
|
|
2739
|
-
remoteSsh: string;
|
|
2740
|
-
|
|
2741
|
-
/**ssh 登录命令*/
|
|
2742
|
-
ssh: string;
|
|
2743
|
-
|
|
2744
|
-
/**VSCode 客户端 remote-ssh 访问 schema 地址*/
|
|
2745
|
-
vscode: string;
|
|
2746
|
-
|
|
2747
|
-
/**Vscode 预览版客户端 remote-ssh 访问 schema 地址*/
|
|
2748
|
-
"vscode-insiders": string;
|
|
2749
|
-
|
|
2750
|
-
/**WebIDE 访问 url*/
|
|
1619
|
+
/**CodeBuddy 国际版客户端 remote-ssh 访问 schema 地址*/codebuddy: string; /**CodeBuddy 国内版客户端 remote-ssh 访问 schema 地址*/
|
|
1620
|
+
codebuddycn: string; /**Cursor 客户端 remote-ssh 访问 schema 地址*/
|
|
1621
|
+
cursor: string; /**jetbrains 系列 ide 的 jetbrains gateway 访问 schema 地址,环境内有安装 JetBrains 系列 ide 才会有*/
|
|
1622
|
+
jetbrains: any; /**选择入口页面 url*/
|
|
1623
|
+
jumpUrl: string; /**remote-ssh 连接地址*/
|
|
1624
|
+
remoteSsh: string; /**ssh 登录命令*/
|
|
1625
|
+
ssh: string; /**VSCode 客户端 remote-ssh 访问 schema 地址*/
|
|
1626
|
+
vscode: string; /**Vscode 预览版客户端 remote-ssh 访问 schema 地址*/
|
|
1627
|
+
"vscode-insiders": string; /**WebIDE 访问 url*/
|
|
2751
1628
|
webide: string;
|
|
2752
1629
|
};
|
|
2753
1630
|
type DtoWorkspaceInfo = {
|
|
2754
|
-
/**分支名,例如:main*/
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
/**备份的文件列表,仅前五个备份文件相对路径*/
|
|
2770
|
-
file_list: string;
|
|
2771
|
-
|
|
2772
|
-
/**环境销毁时远程最新的 commit short hash*/
|
|
2773
|
-
latest_sha: string;
|
|
2774
|
-
|
|
2775
|
-
/**创建环境的子流水线 id*/
|
|
2776
|
-
pipeline_id: string;
|
|
2777
|
-
|
|
2778
|
-
/**备份的 stash 数*/
|
|
2779
|
-
remote_stash_count: number;
|
|
2780
|
-
|
|
2781
|
-
/**仓库地址*/
|
|
2782
|
-
repo_url: string;
|
|
2783
|
-
|
|
2784
|
-
/**恢复备份代码的流水线 id,如果有值表示备份代码已被恢复(重建环境时会恢复备份代码)*/
|
|
2785
|
-
restore_id: string;
|
|
2786
|
-
|
|
2787
|
-
/**仓库路径,例如:groupname/reponame*/
|
|
2788
|
-
slug: string;
|
|
2789
|
-
|
|
2790
|
-
/**创建开发环境的流水线 sn*/
|
|
2791
|
-
sn: string;
|
|
2792
|
-
|
|
2793
|
-
/**开发环境是否支持 ssh 链接*/
|
|
2794
|
-
ssh: boolean;
|
|
2795
|
-
|
|
2796
|
-
/**工作区状态,running: 开发环境已启动,closed:开发环境已关闭*/
|
|
2797
|
-
status: string;
|
|
2798
|
-
|
|
2799
|
-
/**开发环境默认工作区路径*/
|
|
1631
|
+
/**分支名,例如:main*/branch: string; /**备份的 commit 数*/
|
|
1632
|
+
commit_count: number; /**开发环境创建时间,例如:2024-12-02T03:20:22.000Z*/
|
|
1633
|
+
create_time: string; /**开发环境持续时间,单位:ms(非实时更新)*/
|
|
1634
|
+
duration: number; /**备份的文件数*/
|
|
1635
|
+
file_count: number; /**备份的文件列表,仅前五个备份文件相对路径*/
|
|
1636
|
+
file_list: string; /**环境销毁时远程最新的 commit short hash*/
|
|
1637
|
+
latest_sha: string; /**创建环境的子流水线 id*/
|
|
1638
|
+
pipeline_id: string; /**备份的 stash 数*/
|
|
1639
|
+
remote_stash_count: number; /**仓库地址*/
|
|
1640
|
+
repo_url: string; /**恢复备份代码的流水线 id,如果有值表示备份代码已被恢复(重建环境时会恢复备份代码)*/
|
|
1641
|
+
restore_id: string; /**仓库路径,例如:groupname/reponame*/
|
|
1642
|
+
slug: string; /**创建开发环境的流水线 sn*/
|
|
1643
|
+
sn: string; /**开发环境是否支持 ssh 链接*/
|
|
1644
|
+
ssh: boolean; /**工作区状态,running: 开发环境已启动,closed:开发环境已关闭*/
|
|
1645
|
+
status: string; /**开发环境默认工作区路径*/
|
|
2800
1646
|
workspace: string;
|
|
2801
1647
|
};
|
|
2802
1648
|
type DtoWorkspaceListResult = {
|
|
2803
|
-
/**是否有更多数据*/
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
/**云原生开发环境列表*/
|
|
2807
|
-
list: DtoWorkspaceInfo[];
|
|
2808
|
-
|
|
2809
|
-
/**分页信息*/
|
|
2810
|
-
pageInfo: any;
|
|
2811
|
-
|
|
2812
|
-
/**总数*/
|
|
1649
|
+
/**是否有更多数据*/hasMore: boolean; /**云原生开发环境列表*/
|
|
1650
|
+
list: DtoWorkspaceInfo[]; /**分页信息*/
|
|
1651
|
+
pageInfo: any; /**总数*/
|
|
2813
1652
|
total: number;
|
|
2814
1653
|
};
|
|
2815
1654
|
type DtoWorkspaceStopReq = {
|
|
2816
|
-
/**表示要停止的开发环境的流水线 id,sn 和 pipelineId 二选一,优先使用 pipelineId*/
|
|
2817
|
-
pipelineId: string;
|
|
2818
|
-
|
|
2819
|
-
/**表示要停止的开发环境流水线构建号,sn 和 pipelineId 二选一,优先使用 pipelineId*/
|
|
1655
|
+
/**表示要停止的开发环境的流水线 id,sn 和 pipelineId 二选一,优先使用 pipelineId*/pipelineId: string; /**表示要停止的开发环境流水线构建号,sn 和 pipelineId 二选一,优先使用 pipelineId*/
|
|
2820
1656
|
sn: string;
|
|
2821
1657
|
};
|
|
2822
1658
|
type DtoWorkspaceStopResult = {
|
|
2823
|
-
/**表示停止的开发环境流水线日志地址*/
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
/**表示操作结果提示信息*/
|
|
2827
|
-
message: string;
|
|
2828
|
-
|
|
2829
|
-
/**表示停止的开发环境流水线构建号*/
|
|
1659
|
+
/**表示停止的开发环境流水线日志地址*/buildLogUrl: string; /**表示操作结果提示信息*/
|
|
1660
|
+
message: string; /**表示停止的开发环境流水线构建号*/
|
|
2830
1661
|
sn: string;
|
|
2831
1662
|
};
|
|
2832
1663
|
type FlagsRepo = "Unknown" | "KnowledgeBase";
|
|
2833
1664
|
type GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiCommitStatus = {
|
|
2834
|
-
/**提交状态上下文标识符。*/
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
/**提交状态描述信息。*/
|
|
2841
|
-
description: string;
|
|
2842
|
-
|
|
2843
|
-
/**提交状态。枚举值:`pending`,`success`,`failure`,`error`,`skip`*/
|
|
2844
|
-
state: string;
|
|
2845
|
-
|
|
2846
|
-
/**提交状态详情链接。*/
|
|
2847
|
-
target_url: string;
|
|
2848
|
-
|
|
2849
|
-
/**更新时间。*/
|
|
1665
|
+
/**提交状态上下文标识符。*/context: string; /**创建时间。*/
|
|
1666
|
+
created_at: string; /**提交状态描述信息。*/
|
|
1667
|
+
description: string; /**提交状态。枚举值:`pending`,`success`,`failure`,`error`,`skip`*/
|
|
1668
|
+
state: string; /**提交状态详情链接。*/
|
|
1669
|
+
target_url: string; /**更新时间。*/
|
|
2850
1670
|
updated_at: string;
|
|
2851
1671
|
};
|
|
2852
1672
|
type GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiSceneReaction = {
|
|
2853
|
-
/**该表情的数量。*/
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
/**当前用户是否已使用该 Reaction。*/
|
|
2857
|
-
has_reacted: boolean;
|
|
2858
|
-
|
|
2859
|
-
/**Reaction 表情类型。*/
|
|
2860
|
-
reaction: string;
|
|
2861
|
-
|
|
2862
|
-
/**最近使用该 Reaction 的用户列表。*/
|
|
1673
|
+
/**该表情的数量。*/count: number; /**当前用户是否已使用该 Reaction。*/
|
|
1674
|
+
has_reacted: boolean; /**Reaction 表情类型。*/
|
|
1675
|
+
reaction: string; /**最近使用该 Reaction 的用户列表。*/
|
|
2863
1676
|
top_users: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo[];
|
|
2864
1677
|
};
|
|
2865
1678
|
type GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo = {
|
|
2866
|
-
/**用户邮箱。*/
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
freeze: boolean;
|
|
2871
|
-
|
|
2872
|
-
/**是否是 NPC。*/
|
|
2873
|
-
is_npc: boolean;
|
|
2874
|
-
|
|
2875
|
-
/**昵称。*/
|
|
2876
|
-
nickname: string;
|
|
2877
|
-
|
|
2878
|
-
/**用户名。*/
|
|
1679
|
+
/**用户邮箱。*/email: string; /**是否冻结。*/
|
|
1680
|
+
freeze: boolean; /**是否是 NPC。*/
|
|
1681
|
+
is_npc: boolean; /**昵称。*/
|
|
1682
|
+
nickname: string; /**用户名。*/
|
|
2879
1683
|
username: string;
|
|
2880
1684
|
};
|
|
2881
1685
|
type GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiCommitStatus = {
|
|
2882
|
-
/**状态检查的上下文标识符。*/
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
/**状态检查的描述信息。*/
|
|
2889
|
-
description: string;
|
|
2890
|
-
|
|
2891
|
-
/**状态检查结果。*/
|
|
2892
|
-
state: string;
|
|
2893
|
-
|
|
2894
|
-
/**状态检查的详细信息链接地址。*/
|
|
2895
|
-
target_url: string;
|
|
2896
|
-
|
|
2897
|
-
/**最后更新时间。*/
|
|
1686
|
+
/**状态检查的上下文标识符。*/context: string; /**创建时间。*/
|
|
1687
|
+
created_at: string; /**状态检查的描述信息。*/
|
|
1688
|
+
description: string; /**状态检查结果。*/
|
|
1689
|
+
state: string; /**状态检查的详细信息链接地址。*/
|
|
1690
|
+
target_url: string; /**最后更新时间。*/
|
|
2898
1691
|
updated_at: string;
|
|
2899
1692
|
};
|
|
2900
1693
|
type GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiSceneReaction = {
|
|
2901
|
-
/**该表情的数量。*/
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
/**当前用户是否已使用该 Reaction。*/
|
|
2905
|
-
has_reacted: boolean;
|
|
2906
|
-
|
|
2907
|
-
/**Reaction 表情类型。*/
|
|
2908
|
-
reaction: string;
|
|
2909
|
-
|
|
2910
|
-
/**最近使用该 Reaction 的用户列表。*/
|
|
1694
|
+
/**该表情的数量。*/count: number; /**当前用户是否已使用该 Reaction。*/
|
|
1695
|
+
has_reacted: boolean; /**Reaction 表情类型。*/
|
|
1696
|
+
reaction: string; /**最近使用该 Reaction 的用户列表。*/
|
|
2911
1697
|
top_users: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[];
|
|
2912
1698
|
};
|
|
2913
1699
|
type GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo = {
|
|
2914
|
-
is_npc: boolean;
|
|
2915
|
-
|
|
2916
|
-
/**昵称。*/
|
|
2917
|
-
nickname: string;
|
|
2918
|
-
|
|
2919
|
-
/**用户名。*/
|
|
1700
|
+
is_npc: boolean; /**昵称。*/
|
|
1701
|
+
nickname: string; /**用户名。*/
|
|
2920
1702
|
username: string;
|
|
2921
1703
|
};
|
|
2922
1704
|
type GitWoaComCnbMonorepoPlatformServiceApiInternalModelsArtifactoryDtoTag = {
|
|
@@ -2935,146 +1717,78 @@ type GitWoaComCnbMonorepoPlatformServiceApiInternalModelsArtifactoryDtoTag = {
|
|
|
2935
1717
|
pypi: DtoCommonRegistryTag[];
|
|
2936
1718
|
};
|
|
2937
1719
|
type OpenapiCreateBranchForm = {
|
|
2938
|
-
/**新分支的名称。*/
|
|
2939
|
-
name: string;
|
|
2940
|
-
|
|
2941
|
-
/**新分支的起始点。格式:`分支名称`,`提交哈希`,`标签名称`*/
|
|
1720
|
+
/**新分支的名称。*/name: string; /**新分支的起始点。格式:`分支名称`,`提交哈希`,`标签名称`*/
|
|
2942
1721
|
start_point: string;
|
|
2943
1722
|
};
|
|
2944
1723
|
type OpenapiHeadRef = {
|
|
2945
|
-
/**分支名称。*/
|
|
2946
|
-
name: string;
|
|
2947
|
-
|
|
2948
|
-
/**分支是否是保护分支。*/
|
|
1724
|
+
/**分支名称。*/name: string; /**分支是否是保护分支。*/
|
|
2949
1725
|
protected: boolean;
|
|
2950
1726
|
};
|
|
2951
1727
|
type OpenapiIssuePropertiesForm = {
|
|
2952
|
-
/**Issue自定义属性列表。*/
|
|
2953
|
-
properties: OpenapiPropertyForm[];
|
|
1728
|
+
/**Issue自定义属性列表。*/properties: OpenapiPropertyForm[];
|
|
2954
1729
|
};
|
|
2955
1730
|
type OpenapiPatchReleaseForm = {
|
|
2956
|
-
/**版本描述。*/
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
draft: boolean;
|
|
2961
|
-
|
|
2962
|
-
/**是否设置为最新版本。可选值:`true`,`false`,`legacy`*/
|
|
2963
|
-
make_latest: string;
|
|
2964
|
-
|
|
2965
|
-
/**版本标题。*/
|
|
2966
|
-
name: string;
|
|
2967
|
-
|
|
2968
|
-
/**是否为预发布版本。*/
|
|
1731
|
+
/**版本描述。*/body: string; /**是否为草稿版本。*/
|
|
1732
|
+
draft: boolean; /**是否设置为最新版本。可选值:`true`,`false`,`legacy`*/
|
|
1733
|
+
make_latest: string; /**版本标题。*/
|
|
1734
|
+
name: string; /**是否为预发布版本。*/
|
|
2969
1735
|
prerelease: boolean;
|
|
2970
1736
|
};
|
|
2971
1737
|
type OpenapiPostCommitAssetUploadUrlForm = {
|
|
2972
|
-
/**附件名称*/
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
/**附件大小,单位为字节。 Attachment size, in bytes.*/
|
|
2976
|
-
size: number;
|
|
2977
|
-
|
|
2978
|
-
/**附件存在时间,单位为天*/
|
|
1738
|
+
/**附件名称*/asset_name: string; /**附件大小,单位为字节。 Attachment size, in bytes.*/
|
|
1739
|
+
size: number; /**附件存在时间,单位为天*/
|
|
2979
1740
|
ttl: number;
|
|
2980
1741
|
};
|
|
2981
1742
|
type OpenapiPostReleaseAssetUploadUrlForm = {
|
|
2982
|
-
/**附件名称。*/
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
/**是否覆盖同名附件。*/
|
|
2986
|
-
overwrite: boolean;
|
|
2987
|
-
|
|
2988
|
-
/**附件大小,单位为字节。*/
|
|
2989
|
-
size: number;
|
|
2990
|
-
|
|
2991
|
-
/**附件存在时间,单位为天*/
|
|
1743
|
+
/**附件名称。*/asset_name: string; /**是否覆盖同名附件。*/
|
|
1744
|
+
overwrite: boolean; /**附件大小,单位为字节。*/
|
|
1745
|
+
size: number; /**附件存在时间,单位为天*/
|
|
2992
1746
|
ttl: number;
|
|
2993
1747
|
};
|
|
2994
1748
|
type OpenapiPostReleaseForm = {
|
|
2995
|
-
/**版本描述。*/
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
/**是否设置为最新版本。可选值:`true`,`false`,`legacy`*/
|
|
3002
|
-
make_latest: string;
|
|
3003
|
-
|
|
3004
|
-
/**版本标题。*/
|
|
3005
|
-
name: string;
|
|
3006
|
-
|
|
3007
|
-
/**是否为预发布版本。*/
|
|
3008
|
-
prerelease: boolean;
|
|
3009
|
-
|
|
3010
|
-
/**标签名称。*/
|
|
3011
|
-
tag_name: string;
|
|
3012
|
-
|
|
3013
|
-
/**目标提交哈希或分支名称。*/
|
|
1749
|
+
/**版本描述。*/body: string; /**是否为草稿版本。*/
|
|
1750
|
+
draft: boolean; /**是否设置为最新版本。可选值:`true`,`false`,`legacy`*/
|
|
1751
|
+
make_latest: string; /**版本标题。*/
|
|
1752
|
+
name: string; /**是否为预发布版本。*/
|
|
1753
|
+
prerelease: boolean; /**标签名称。*/
|
|
1754
|
+
tag_name: string; /**目标提交哈希或分支名称。*/
|
|
3014
1755
|
target_commitish: string;
|
|
3015
1756
|
};
|
|
3016
1757
|
type OpenapiPropertyForm = {
|
|
3017
|
-
/**Issue自定义属性键名。*/
|
|
3018
|
-
key: string;
|
|
3019
|
-
|
|
3020
|
-
/**Issue自定义属性值。*/
|
|
1758
|
+
/**Issue自定义属性键名。*/key: string; /**Issue自定义属性值。*/
|
|
3021
1759
|
value: string;
|
|
3022
1760
|
};
|
|
3023
1761
|
type OpenapiPutCommitAnnotation = {
|
|
3024
|
-
/**元数据键名。*/
|
|
3025
|
-
key: string;
|
|
3026
|
-
|
|
3027
|
-
/**元数据值。*/
|
|
1762
|
+
/**元数据键名。*/key: string; /**元数据值。*/
|
|
3028
1763
|
value: string;
|
|
3029
1764
|
};
|
|
3030
1765
|
type OpenapiPutCommitAnnotationsForm = {
|
|
3031
|
-
/**提交元数据列表。*/
|
|
3032
|
-
annotations: OpenapiPutCommitAnnotation[];
|
|
1766
|
+
/**提交元数据列表。*/annotations: OpenapiPutCommitAnnotation[];
|
|
3033
1767
|
};
|
|
3034
1768
|
type OpenapiPutTagAnnotation = {
|
|
3035
|
-
/**标签元数据的键名。*/
|
|
3036
|
-
key: string;
|
|
3037
|
-
|
|
3038
|
-
/**标签元数据的值。*/
|
|
1769
|
+
/**标签元数据的键名。*/key: string; /**标签元数据的值。*/
|
|
3039
1770
|
value: string;
|
|
3040
1771
|
};
|
|
3041
1772
|
type OpenapiPutTagAnnotationsForm = {
|
|
3042
|
-
/**设置tag元数据列表信息。*/
|
|
3043
|
-
annotations: OpenapiPutTagAnnotation[];
|
|
1773
|
+
/**设置tag元数据列表信息。*/annotations: OpenapiPutTagAnnotation[];
|
|
3044
1774
|
};
|
|
3045
1775
|
type OrganizationSettingValue = "disable_organization_readme" | "cloud_native_dev_only" | "user_root_group_branch_protection_only" | "forbid_redefine_branch_protection" | "enable_tapd_access" | "enable_show_private_mission_water_mark" | "prevent_organization_creation" | "prevent_repository_creation" | "prevent_mission_creation" | "prevent_registry_creation" | "disable_invitation" | "prevent_visibility_modification" | "prevent_resource_deletion" | "prevent_repository_archival" | "prevent_organization_transfer" | "prevent_repository_transfer" | "prevent_mission_transfer" | "prevent_registry_transfer" | "use_group_git_quota" | "use_group_git_object_limit" | "enable_add_member_only_root" | "use_root_group_git_push_limit" | "enable_add_member" | "enable_change_member_role_only_root" | "enable_other_group_npc_add_comment";
|
|
3046
1776
|
type WebCommitAnnotation = {
|
|
3047
|
-
/**元数据键名。*/
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
/**扩展元数据。*/
|
|
3051
|
-
meta: any;
|
|
3052
|
-
|
|
3053
|
-
/**元数据值。*/
|
|
1777
|
+
/**元数据键名。*/key: string; /**扩展元数据。*/
|
|
1778
|
+
meta: any; /**元数据值。*/
|
|
3054
1779
|
value: string;
|
|
3055
1780
|
};
|
|
3056
1781
|
type WebCommitAnnotationInBatch = {
|
|
3057
|
-
/**提交元数据列表。*/
|
|
3058
|
-
annotations: WebCommitAnnotation[];
|
|
3059
|
-
|
|
3060
|
-
/**提交哈希值。*/
|
|
1782
|
+
/**提交元数据列表。*/annotations: WebCommitAnnotation[]; /**提交哈希值。*/
|
|
3061
1783
|
commit_hash: string;
|
|
3062
1784
|
};
|
|
3063
1785
|
type WebContributorTrend = {
|
|
3064
|
-
/**贡献者信息*/
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
/**贡献者的总提交数*/
|
|
3068
|
-
commit_count: number;
|
|
3069
|
-
|
|
3070
|
-
/**贡献者以周为单位的提交趋势数据*/
|
|
1786
|
+
/**贡献者信息*/author: any; /**贡献者的总提交数*/
|
|
1787
|
+
commit_count: number; /**贡献者以周为单位的提交趋势数据*/
|
|
3071
1788
|
weeks: WebWeek[];
|
|
3072
1789
|
};
|
|
3073
1790
|
type WebGetCommitAnnotationsInBatchForm = {
|
|
3074
|
-
/**提交哈希值列表。*/
|
|
3075
|
-
commit_hashes: string[];
|
|
3076
|
-
|
|
3077
|
-
/**元数据键列表。*/
|
|
1791
|
+
/**提交哈希值列表。*/commit_hashes: string[]; /**元数据键列表。*/
|
|
3078
1792
|
keys: string[];
|
|
3079
1793
|
};
|
|
3080
1794
|
type WebMeta = {
|
|
@@ -3087,32 +1801,18 @@ type WebRepoContribTrend = {
|
|
|
3087
1801
|
repo_data: WebWeek[];
|
|
3088
1802
|
user_total: number;
|
|
3089
1803
|
users_data: WebContributorTrend[];
|
|
3090
|
-
week_total: number;
|
|
3091
|
-
|
|
3092
|
-
/**是否统计增删的行数, 默认总提交超过 10000 的仓库不统计*/
|
|
1804
|
+
week_total: number; /**是否统计增删的行数, 默认总提交超过 10000 的仓库不统计*/
|
|
3093
1805
|
with_line_counts: boolean;
|
|
3094
1806
|
};
|
|
3095
1807
|
type WebTagAnnotation = {
|
|
3096
|
-
/**元数据键名。*/
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
/**元数据信息,用于记录标签元数据的更新操作信息,包括操作者、操作时间、平台来源等审计信息。*/
|
|
3100
|
-
meta: any;
|
|
3101
|
-
|
|
3102
|
-
/**元数据值。*/
|
|
1808
|
+
/**元数据键名。*/key: string; /**元数据信息,用于记录标签元数据的更新操作信息,包括操作者、操作时间、平台来源等审计信息。*/
|
|
1809
|
+
meta: any; /**元数据值。*/
|
|
3103
1810
|
value: string;
|
|
3104
1811
|
};
|
|
3105
1812
|
type WebWeek = {
|
|
3106
|
-
/**每周增加的行数*/
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
/**每周的提交数量*/
|
|
3110
|
-
c: number;
|
|
3111
|
-
|
|
3112
|
-
/**每周删除的行数*/
|
|
3113
|
-
d: number;
|
|
3114
|
-
|
|
3115
|
-
/**周的时间戳*/
|
|
1813
|
+
/**每周增加的行数*/a: number; /**每周的提交数量*/
|
|
1814
|
+
c: number; /**每周删除的行数*/
|
|
1815
|
+
d: number; /**周的时间戳*/
|
|
3116
1816
|
w: number;
|
|
3117
1817
|
};
|
|
3118
1818
|
//#endregion
|
|
@@ -4228,7 +2928,6 @@ interface Client {
|
|
|
4228
2928
|
* /user
|
|
4229
2929
|
*/
|
|
4230
2930
|
get: Users_GetUserInfo;
|
|
4231
|
-
|
|
4232
2931
|
/***
|
|
4233
2932
|
* 更新指定用户的详情信息。Updates the specified user's profile information.
|
|
4234
2933
|
*
|
|
@@ -4270,7 +2969,6 @@ interface Client {
|
|
|
4270
2969
|
* /user/groups
|
|
4271
2970
|
*/
|
|
4272
2971
|
list: Organizations_ListTopGroups;
|
|
4273
|
-
|
|
4274
2972
|
/***
|
|
4275
2973
|
* 查询当前用户在指定组织下拥有指定权限的子组织列表。Get the list of sub-organizations that the current user has access to in the specified organization.
|
|
4276
2974
|
*
|
|
@@ -4448,7 +3146,6 @@ interface Client {
|
|
|
4448
3146
|
* /{group}
|
|
4449
3147
|
*/
|
|
4450
3148
|
get: Organizations_GetGroup;
|
|
4451
|
-
|
|
4452
3149
|
/***
|
|
4453
3150
|
* 更新组织信息, 可更新的内容为: 组织描述, 组织展示名称, 组织网站, 组织联系邮箱。Updates organization information including: description, display name, website URL and contact email.
|
|
4454
3151
|
*
|
|
@@ -4458,7 +3155,6 @@ interface Client {
|
|
|
4458
3155
|
* /{group}
|
|
4459
3156
|
*/
|
|
4460
3157
|
put: Organizations_UpdateOrganization;
|
|
4461
|
-
|
|
4462
3158
|
/***
|
|
4463
3159
|
* 删除指定组织。Delete the specified organization.
|
|
4464
3160
|
*
|
|
@@ -4499,7 +3195,6 @@ interface Client {
|
|
|
4499
3195
|
* /{group}/-/members/access-level
|
|
4500
3196
|
*/
|
|
4501
3197
|
get: Members_GetMemberAccessLevelOfGroup;
|
|
4502
|
-
|
|
4503
3198
|
/***
|
|
4504
3199
|
* 获取指定组织内指定成员的权限信息, 结果按组织层级来展示, 包含上层组织的权限继承信息。Get specified member's permissions with organizational hierarchy.
|
|
4505
3200
|
*
|
|
@@ -4510,7 +3205,6 @@ interface Client {
|
|
|
4510
3205
|
*/
|
|
4511
3206
|
list: Members_ListMemberAccessLevelOfGroup;
|
|
4512
3207
|
};
|
|
4513
|
-
|
|
4514
3208
|
/***
|
|
4515
3209
|
* 更新指定组织的直接成员权限信息。Update permission information for direct members in specified organization.
|
|
4516
3210
|
*
|
|
@@ -4520,7 +3214,6 @@ interface Client {
|
|
|
4520
3214
|
* /{group}/-/members/{username}
|
|
4521
3215
|
*/
|
|
4522
3216
|
put: Members_UpdateMembersOfGroup;
|
|
4523
|
-
|
|
4524
3217
|
/***
|
|
4525
3218
|
* 添加成员。Add members.
|
|
4526
3219
|
*
|
|
@@ -4530,7 +3223,6 @@ interface Client {
|
|
|
4530
3223
|
* /{group}/-/members/{username}
|
|
4531
3224
|
*/
|
|
4532
3225
|
post: Members_AddMembersOfGroup;
|
|
4533
|
-
|
|
4534
3226
|
/***
|
|
4535
3227
|
* 删除指定组织的直接成员。Remove direct members from specified organization.
|
|
4536
3228
|
*
|
|
@@ -4598,7 +3290,6 @@ interface Client {
|
|
|
4598
3290
|
* /{mission}/-/mission/view
|
|
4599
3291
|
*/
|
|
4600
3292
|
get: Missions_GetMissionViewConfig;
|
|
4601
|
-
|
|
4602
3293
|
/***
|
|
4603
3294
|
* 设置任务集视图配置信息。Set mission view config.
|
|
4604
3295
|
*
|
|
@@ -4619,7 +3310,6 @@ interface Client {
|
|
|
4619
3310
|
* /{mission}/-/mission/view-list
|
|
4620
3311
|
*/
|
|
4621
3312
|
list: Missions_GetMissionViewList;
|
|
4622
|
-
|
|
4623
3313
|
/***
|
|
4624
3314
|
* 添加、修改任务集视图。Update a mission view or add a new one.
|
|
4625
3315
|
*
|
|
@@ -4629,7 +3319,6 @@ interface Client {
|
|
|
4629
3319
|
* /{mission}/-/mission/view-list
|
|
4630
3320
|
*/
|
|
4631
3321
|
put: Missions_PutMissionViewList;
|
|
4632
|
-
|
|
4633
3322
|
/***
|
|
4634
3323
|
* 排序任务集视图。Sort mission view list.
|
|
4635
3324
|
*
|
|
@@ -4700,7 +3389,6 @@ interface Client {
|
|
|
4700
3389
|
* /{repo}
|
|
4701
3390
|
*/
|
|
4702
3391
|
get: Repositories_GetByID;
|
|
4703
|
-
|
|
4704
3392
|
/***
|
|
4705
3393
|
* 删除指定仓库。Delete the specified repository.
|
|
4706
3394
|
*
|
|
@@ -4710,7 +3398,6 @@ interface Client {
|
|
|
4710
3398
|
* /{repo}
|
|
4711
3399
|
*/
|
|
4712
3400
|
delete: Repositories_DeleteRepo;
|
|
4713
|
-
|
|
4714
3401
|
/***
|
|
4715
3402
|
* 更新仓库信息, 可更新的内容为: 仓库简介, 仓库站点, 仓库主题, 开源许可证。updates repository details including description, website URL,topics and license type.
|
|
4716
3403
|
*
|
|
@@ -4830,7 +3517,6 @@ interface Client {
|
|
|
4830
3517
|
*/
|
|
4831
3518
|
get: Build_GetBuildStage;
|
|
4832
3519
|
};
|
|
4833
|
-
|
|
4834
3520
|
/***
|
|
4835
3521
|
* 删除流水线日志内容。Delete pipeline logs content.
|
|
4836
3522
|
*
|
|
@@ -4981,7 +3667,6 @@ interface Client {
|
|
|
4981
3667
|
* /{repo}/-/git/branch-locks/{branch}
|
|
4982
3668
|
*/
|
|
4983
3669
|
post: Git_CreateBranchLock;
|
|
4984
|
-
|
|
4985
3670
|
/***
|
|
4986
3671
|
* 解除锁定分支
|
|
4987
3672
|
*
|
|
@@ -5002,7 +3687,6 @@ interface Client {
|
|
|
5002
3687
|
* /{repo}/-/git/branches
|
|
5003
3688
|
*/
|
|
5004
3689
|
list: Git_ListBranches;
|
|
5005
|
-
|
|
5006
3690
|
/***
|
|
5007
3691
|
* 创建新分支。Create a new branch based on a start point.
|
|
5008
3692
|
*
|
|
@@ -5012,7 +3696,6 @@ interface Client {
|
|
|
5012
3696
|
* /{repo}/-/git/branches
|
|
5013
3697
|
*/
|
|
5014
3698
|
post: Git_CreateBranch;
|
|
5015
|
-
|
|
5016
3699
|
/***
|
|
5017
3700
|
* 查询指定分支。Get a branch.
|
|
5018
3701
|
*
|
|
@@ -5022,7 +3705,6 @@ interface Client {
|
|
|
5022
3705
|
* /{repo}/-/git/branches/{branch}
|
|
5023
3706
|
*/
|
|
5024
3707
|
get: Git_GetBranch;
|
|
5025
|
-
|
|
5026
3708
|
/***
|
|
5027
3709
|
* 删除指定分支。Delete the specified branch.
|
|
5028
3710
|
*
|
|
@@ -5054,7 +3736,6 @@ interface Client {
|
|
|
5054
3736
|
* /{repo}/-/git/commit-annotations/{sha}
|
|
5055
3737
|
*/
|
|
5056
3738
|
list: Git_GetCommitAnnotations;
|
|
5057
|
-
|
|
5058
3739
|
/***
|
|
5059
3740
|
* 设定指定 commit 的元数据。Put commit annotations.
|
|
5060
3741
|
*
|
|
@@ -5064,7 +3745,6 @@ interface Client {
|
|
|
5064
3745
|
* /{repo}/-/git/commit-annotations/{sha}
|
|
5065
3746
|
*/
|
|
5066
3747
|
put: Git_PutCommitAnnotations;
|
|
5067
|
-
|
|
5068
3748
|
/***
|
|
5069
3749
|
* 删除指定 commit 的元数据。Delete commit annotation.
|
|
5070
3750
|
*
|
|
@@ -5107,7 +3787,6 @@ interface Client {
|
|
|
5107
3787
|
*/
|
|
5108
3788
|
post: Git_PostCommitAssetUploadURL;
|
|
5109
3789
|
};
|
|
5110
|
-
|
|
5111
3790
|
/***
|
|
5112
3791
|
* 删除指定 commit 的附件。Delete commit asset.
|
|
5113
3792
|
*
|
|
@@ -5139,7 +3818,6 @@ interface Client {
|
|
|
5139
3818
|
* /{repo}/-/git/commits
|
|
5140
3819
|
*/
|
|
5141
3820
|
list: Git_ListCommits;
|
|
5142
|
-
|
|
5143
3821
|
/***
|
|
5144
3822
|
* 查询指定 commit。Get a commit.
|
|
5145
3823
|
*
|
|
@@ -5171,7 +3849,6 @@ interface Client {
|
|
|
5171
3849
|
* /{repo}/-/git/contents
|
|
5172
3850
|
*/
|
|
5173
3851
|
getWithoutPath: Git_GetContentWithoutPath;
|
|
5174
|
-
|
|
5175
3852
|
/***
|
|
5176
3853
|
* 查询仓库文件列表或文件。List repository files or file.
|
|
5177
3854
|
*
|
|
@@ -5214,7 +3891,6 @@ interface Client {
|
|
|
5214
3891
|
* /{repo}/-/git/tag-annotations/{tag_with_key}
|
|
5215
3892
|
*/
|
|
5216
3893
|
delete: Git_DeleteTagAnnotation;
|
|
5217
|
-
|
|
5218
3894
|
/***
|
|
5219
3895
|
* 查询指定 tag 的元数据。Query the metadata of the specified tag.
|
|
5220
3896
|
*
|
|
@@ -5224,7 +3900,6 @@ interface Client {
|
|
|
5224
3900
|
* /{repo}/-/git/tag-annotations/{tag}
|
|
5225
3901
|
*/
|
|
5226
3902
|
list: Git_GetTagAnnotations;
|
|
5227
|
-
|
|
5228
3903
|
/***
|
|
5229
3904
|
* 设定指定 tag 的元数据。Set the metadata of the specified tag.
|
|
5230
3905
|
*
|
|
@@ -5245,7 +3920,6 @@ interface Client {
|
|
|
5245
3920
|
* /{repo}/-/git/tags
|
|
5246
3921
|
*/
|
|
5247
3922
|
list: Git_ListTags;
|
|
5248
|
-
|
|
5249
3923
|
/***
|
|
5250
3924
|
* 创建一个 tag。Create a tag.
|
|
5251
3925
|
*
|
|
@@ -5255,7 +3929,6 @@ interface Client {
|
|
|
5255
3929
|
* /{repo}/-/git/tags
|
|
5256
3930
|
*/
|
|
5257
3931
|
post: Git_CreateTag;
|
|
5258
|
-
|
|
5259
3932
|
/***
|
|
5260
3933
|
* 查询指定 tag。Get a tag.
|
|
5261
3934
|
*
|
|
@@ -5265,7 +3938,6 @@ interface Client {
|
|
|
5265
3938
|
* /{repo}/-/git/tags/{tag}
|
|
5266
3939
|
*/
|
|
5267
3940
|
get: Git_GetTag;
|
|
5268
|
-
|
|
5269
3941
|
/***
|
|
5270
3942
|
* 删除指定 tag。Delete the specified tag.
|
|
5271
3943
|
*
|
|
@@ -5310,7 +3982,6 @@ interface Client {
|
|
|
5310
3982
|
* /{repo}/-/issues
|
|
5311
3983
|
*/
|
|
5312
3984
|
list: Issues_ListIssues;
|
|
5313
|
-
|
|
5314
3985
|
/***
|
|
5315
3986
|
* 创建一个 Issue。Create an issue.
|
|
5316
3987
|
*
|
|
@@ -5320,7 +3991,6 @@ interface Client {
|
|
|
5320
3991
|
* /{repo}/-/issues
|
|
5321
3992
|
*/
|
|
5322
3993
|
post: Issues_CreateIssue;
|
|
5323
|
-
|
|
5324
3994
|
/***
|
|
5325
3995
|
* 查询指定的 Issues。Get an issue.
|
|
5326
3996
|
*
|
|
@@ -5330,7 +4000,6 @@ interface Client {
|
|
|
5330
4000
|
* /{repo}/-/issues/{number}
|
|
5331
4001
|
*/
|
|
5332
4002
|
get: Issues_GetIssue;
|
|
5333
|
-
|
|
5334
4003
|
/***
|
|
5335
4004
|
* 更新一个 Issue。Update an issue.
|
|
5336
4005
|
*
|
|
@@ -5350,7 +4019,6 @@ interface Client {
|
|
|
5350
4019
|
* /{repo}/-/issues/{number}/assignees
|
|
5351
4020
|
*/
|
|
5352
4021
|
list: Issues_ListIssueAssignees;
|
|
5353
|
-
|
|
5354
4022
|
/***
|
|
5355
4023
|
* 添加处理人到指定的 issue。 Adds up to assignees to a issue, Users already assigned to an issue are not replaced.
|
|
5356
4024
|
*
|
|
@@ -5360,7 +4028,6 @@ interface Client {
|
|
|
5360
4028
|
* /{repo}/-/issues/{number}/assignees
|
|
5361
4029
|
*/
|
|
5362
4030
|
post: Issues_PostIssueAssignees;
|
|
5363
|
-
|
|
5364
4031
|
/***
|
|
5365
4032
|
* 删除 issue 中的处理人。 Removes one or more assignees from an issue.
|
|
5366
4033
|
*
|
|
@@ -5370,7 +4037,6 @@ interface Client {
|
|
|
5370
4037
|
* /{repo}/-/issues/{number}/assignees
|
|
5371
4038
|
*/
|
|
5372
4039
|
delete: Issues_DeleteIssueAssignees;
|
|
5373
|
-
|
|
5374
4040
|
/***
|
|
5375
4041
|
* 更新 issue 中的处理人。 Updates the assignees of an issue.
|
|
5376
4042
|
*
|
|
@@ -5380,7 +4046,6 @@ interface Client {
|
|
|
5380
4046
|
* /{repo}/-/issues/{number}/assignees
|
|
5381
4047
|
*/
|
|
5382
4048
|
patch: Issues_PatchIssueAssignees;
|
|
5383
|
-
|
|
5384
4049
|
/***
|
|
5385
4050
|
* 检查用户是否可以被添加到 issue 的处理人中。 Checks if a user can be assigned to an issue.
|
|
5386
4051
|
*
|
|
@@ -5401,7 +4066,6 @@ interface Client {
|
|
|
5401
4066
|
* /{repo}/-/issues/{number}/comments
|
|
5402
4067
|
*/
|
|
5403
4068
|
list: Issues_ListIssueComments;
|
|
5404
|
-
|
|
5405
4069
|
/***
|
|
5406
4070
|
* 创建一个 issue 评论。Create an issue comment.
|
|
5407
4071
|
*
|
|
@@ -5411,7 +4075,6 @@ interface Client {
|
|
|
5411
4075
|
* /{repo}/-/issues/{number}/comments
|
|
5412
4076
|
*/
|
|
5413
4077
|
post: Issues_PostIssueComment;
|
|
5414
|
-
|
|
5415
4078
|
/***
|
|
5416
4079
|
* 获取指定 issue 评论。Get an issue comment.
|
|
5417
4080
|
*
|
|
@@ -5421,7 +4084,6 @@ interface Client {
|
|
|
5421
4084
|
* /{repo}/-/issues/{number}/comments/{comment_id}
|
|
5422
4085
|
*/
|
|
5423
4086
|
get: Issues_GetIssueComment;
|
|
5424
|
-
|
|
5425
4087
|
/***
|
|
5426
4088
|
* 修改一个 issue 评论。Update an issue comment.
|
|
5427
4089
|
*
|
|
@@ -5442,7 +4104,6 @@ interface Client {
|
|
|
5442
4104
|
* /{repo}/-/issues/{number}/labels
|
|
5443
4105
|
*/
|
|
5444
4106
|
list: Issues_ListIssueLabels;
|
|
5445
|
-
|
|
5446
4107
|
/***
|
|
5447
4108
|
* 设置 issue 标签。 Set the new labels for an issue.
|
|
5448
4109
|
*
|
|
@@ -5452,7 +4113,6 @@ interface Client {
|
|
|
5452
4113
|
* /{repo}/-/issues/{number}/labels
|
|
5453
4114
|
*/
|
|
5454
4115
|
put: Issues_PutIssueLabels;
|
|
5455
|
-
|
|
5456
4116
|
/***
|
|
5457
4117
|
* 新增 issue 标签。Add labels to an issue.
|
|
5458
4118
|
*
|
|
@@ -5462,7 +4122,6 @@ interface Client {
|
|
|
5462
4122
|
* /{repo}/-/issues/{number}/labels
|
|
5463
4123
|
*/
|
|
5464
4124
|
post: Issues_PostIssueLabels;
|
|
5465
|
-
|
|
5466
4125
|
/***
|
|
5467
4126
|
* 清空 issue 标签。Remove all labels from an issue.
|
|
5468
4127
|
*
|
|
@@ -5472,7 +4131,6 @@ interface Client {
|
|
|
5472
4131
|
* /{repo}/-/issues/{number}/labels
|
|
5473
4132
|
*/
|
|
5474
4133
|
delete: Issues_DeleteIssueLabels;
|
|
5475
|
-
|
|
5476
4134
|
/***
|
|
5477
4135
|
* 删除 issue 标签。Remove a label from an issue.
|
|
5478
4136
|
*
|
|
@@ -5507,7 +4165,6 @@ interface Client {
|
|
|
5507
4165
|
* /{repo}/-/knowledge/base
|
|
5508
4166
|
*/
|
|
5509
4167
|
get: KnowledgeBase_GetKnowledgeBaseInfo;
|
|
5510
|
-
|
|
5511
4168
|
/***
|
|
5512
4169
|
* 删除知识库
|
|
5513
4170
|
*
|
|
@@ -5553,7 +4210,6 @@ interface Client {
|
|
|
5553
4210
|
* /{repo}/-/labels
|
|
5554
4211
|
*/
|
|
5555
4212
|
list: RepoLabels_ListLabels;
|
|
5556
|
-
|
|
5557
4213
|
/***
|
|
5558
4214
|
* 创建一个 标签。Create a label.
|
|
5559
4215
|
*
|
|
@@ -5563,7 +4219,6 @@ interface Client {
|
|
|
5563
4219
|
* /{repo}/-/labels
|
|
5564
4220
|
*/
|
|
5565
4221
|
post: RepoLabels_PostLabel;
|
|
5566
|
-
|
|
5567
4222
|
/***
|
|
5568
4223
|
* 删除指定的仓库标签。Delete the specified repository label.
|
|
5569
4224
|
*
|
|
@@ -5573,7 +4228,6 @@ interface Client {
|
|
|
5573
4228
|
* /{repo}/-/labels/{name}
|
|
5574
4229
|
*/
|
|
5575
4230
|
delete: RepoLabels_DeleteLabel;
|
|
5576
|
-
|
|
5577
4231
|
/***
|
|
5578
4232
|
* 更新标签信息。Update label information.
|
|
5579
4233
|
*
|
|
@@ -5604,7 +4258,6 @@ interface Client {
|
|
|
5604
4258
|
* /{repo}/-/members/access-level
|
|
5605
4259
|
*/
|
|
5606
4260
|
get: Members_GetMemberAccessLevelOfRepo;
|
|
5607
|
-
|
|
5608
4261
|
/***
|
|
5609
4262
|
* 获取指定仓库内指定成员的权限信息, 结果按组织层级来展示, 包含上层组织的权限继承信息。Get specified member's permissions with organizational hierarchy.
|
|
5610
4263
|
*
|
|
@@ -5615,7 +4268,6 @@ interface Client {
|
|
|
5615
4268
|
*/
|
|
5616
4269
|
list: Members_ListMemberAccessLevelOfRepo;
|
|
5617
4270
|
};
|
|
5618
|
-
|
|
5619
4271
|
/***
|
|
5620
4272
|
* 更新指定仓库内的直接成员权限信息。Update permission information for direct members in specified repository.
|
|
5621
4273
|
*
|
|
@@ -5625,7 +4277,6 @@ interface Client {
|
|
|
5625
4277
|
* /{repo}/-/members/{username}
|
|
5626
4278
|
*/
|
|
5627
4279
|
put: Members_UpdateMembersOfRepo;
|
|
5628
|
-
|
|
5629
4280
|
/***
|
|
5630
4281
|
* 添加成员。Add members.
|
|
5631
4282
|
*
|
|
@@ -5635,7 +4286,6 @@ interface Client {
|
|
|
5635
4286
|
* /{repo}/-/members/{username}
|
|
5636
4287
|
*/
|
|
5637
4288
|
post: Members_AddMembersOfRepo;
|
|
5638
|
-
|
|
5639
4289
|
/***
|
|
5640
4290
|
* 删除指定仓库的直接成员。Remove direct members from specified repository.
|
|
5641
4291
|
*
|
|
@@ -5667,7 +4317,6 @@ interface Client {
|
|
|
5667
4317
|
* /{repo}/-/pulls
|
|
5668
4318
|
*/
|
|
5669
4319
|
list: Pulls_ListPulls;
|
|
5670
|
-
|
|
5671
4320
|
/***
|
|
5672
4321
|
* 新增一个合并请求。Create a pull request.
|
|
5673
4322
|
*
|
|
@@ -5677,7 +4326,6 @@ interface Client {
|
|
|
5677
4326
|
* /{repo}/-/pulls
|
|
5678
4327
|
*/
|
|
5679
4328
|
post: Pulls_PostPull;
|
|
5680
|
-
|
|
5681
4329
|
/***
|
|
5682
4330
|
* 查询指定合并请求。Get a pull request.
|
|
5683
4331
|
*
|
|
@@ -5687,7 +4335,6 @@ interface Client {
|
|
|
5687
4335
|
* /{repo}/-/pulls/{number}
|
|
5688
4336
|
*/
|
|
5689
4337
|
get: Pulls_GetPull;
|
|
5690
|
-
|
|
5691
4338
|
/***
|
|
5692
4339
|
* 更新一个合并请求。Update a pull request.
|
|
5693
4340
|
*
|
|
@@ -5707,7 +4354,6 @@ interface Client {
|
|
|
5707
4354
|
* /{repo}/-/pulls/{number}/assignees
|
|
5708
4355
|
*/
|
|
5709
4356
|
list: Pulls_ListPullAssignees;
|
|
5710
|
-
|
|
5711
4357
|
/***
|
|
5712
4358
|
* 添加处理人到指定的合并请求。 Adds up to assignees to a pull request. Users already assigned to an issue are not replaced.
|
|
5713
4359
|
*
|
|
@@ -5717,7 +4363,6 @@ interface Client {
|
|
|
5717
4363
|
* /{repo}/-/pulls/{number}/assignees
|
|
5718
4364
|
*/
|
|
5719
4365
|
post: Pulls_PostPullAssignees;
|
|
5720
|
-
|
|
5721
4366
|
/***
|
|
5722
4367
|
* 删除合并请求中的处理人 Removes one or more assignees from a pull request.
|
|
5723
4368
|
*
|
|
@@ -5727,7 +4372,6 @@ interface Client {
|
|
|
5727
4372
|
* /{repo}/-/pulls/{number}/assignees
|
|
5728
4373
|
*/
|
|
5729
4374
|
delete: Pulls_DeletePullAssignees;
|
|
5730
|
-
|
|
5731
4375
|
/***
|
|
5732
4376
|
* 检查用户是否可以被添加到合并请求的处理人中。 Checks if a user can be assigned to a pull request.
|
|
5733
4377
|
*
|
|
@@ -5748,7 +4392,6 @@ interface Client {
|
|
|
5748
4392
|
* /{repo}/-/pulls/{number}/comments
|
|
5749
4393
|
*/
|
|
5750
4394
|
list: Pulls_ListPullComments;
|
|
5751
|
-
|
|
5752
4395
|
/***
|
|
5753
4396
|
* 新增一个合并请求评论。Create a pull comment.
|
|
5754
4397
|
*
|
|
@@ -5758,7 +4401,6 @@ interface Client {
|
|
|
5758
4401
|
* /{repo}/-/pulls/{number}/comments
|
|
5759
4402
|
*/
|
|
5760
4403
|
post: Pulls_PostPullComment;
|
|
5761
|
-
|
|
5762
4404
|
/***
|
|
5763
4405
|
* 获取一个合并请求评论。Get a pull comment.
|
|
5764
4406
|
*
|
|
@@ -5768,7 +4410,6 @@ interface Client {
|
|
|
5768
4410
|
* /{repo}/-/pulls/{number}/comments/{comment_id}
|
|
5769
4411
|
*/
|
|
5770
4412
|
get: Pulls_GetPullComment;
|
|
5771
|
-
|
|
5772
4413
|
/***
|
|
5773
4414
|
* 更新一个合并请求评论。Update a pull comment.
|
|
5774
4415
|
*
|
|
@@ -5822,7 +4463,6 @@ interface Client {
|
|
|
5822
4463
|
* /{repo}/-/pulls/{number}/labels
|
|
5823
4464
|
*/
|
|
5824
4465
|
list: Pulls_ListPullLabels;
|
|
5825
|
-
|
|
5826
4466
|
/***
|
|
5827
4467
|
* 设置合并请求标签。Set the new labels for a pull.
|
|
5828
4468
|
*
|
|
@@ -5832,7 +4472,6 @@ interface Client {
|
|
|
5832
4472
|
* /{repo}/-/pulls/{number}/labels
|
|
5833
4473
|
*/
|
|
5834
4474
|
put: Pulls_PutPullLabels;
|
|
5835
|
-
|
|
5836
4475
|
/***
|
|
5837
4476
|
* 新增合并请求标签。Add labels to a pull.
|
|
5838
4477
|
*
|
|
@@ -5842,7 +4481,6 @@ interface Client {
|
|
|
5842
4481
|
* /{repo}/-/pulls/{number}/labels
|
|
5843
4482
|
*/
|
|
5844
4483
|
post: Pulls_PostPullLabels;
|
|
5845
|
-
|
|
5846
4484
|
/***
|
|
5847
4485
|
* 清空合并请求标签。Remove all labels from a pull.
|
|
5848
4486
|
*
|
|
@@ -5852,7 +4490,6 @@ interface Client {
|
|
|
5852
4490
|
* /{repo}/-/pulls/{number}/labels
|
|
5853
4491
|
*/
|
|
5854
4492
|
delete: Pulls_DeletePullLabels;
|
|
5855
|
-
|
|
5856
4493
|
/***
|
|
5857
4494
|
* 删除合并请求标签。Remove a label from a pull.
|
|
5858
4495
|
*
|
|
@@ -5884,7 +4521,6 @@ interface Client {
|
|
|
5884
4521
|
* /{repo}/-/pulls/{number}/reviews
|
|
5885
4522
|
*/
|
|
5886
4523
|
list: Pulls_ListPullReviews;
|
|
5887
|
-
|
|
5888
4524
|
/***
|
|
5889
4525
|
* 新增一次合并请求评审。Create a pull review.
|
|
5890
4526
|
*
|
|
@@ -5928,7 +4564,6 @@ interface Client {
|
|
|
5928
4564
|
* /{repo}/-/releases
|
|
5929
4565
|
*/
|
|
5930
4566
|
list: Releases_ListReleases;
|
|
5931
|
-
|
|
5932
4567
|
/***
|
|
5933
4568
|
* 新增一个 release。Create a release.
|
|
5934
4569
|
*
|
|
@@ -5971,7 +4606,6 @@ interface Client {
|
|
|
5971
4606
|
*/
|
|
5972
4607
|
get: Releases_GetReleaseByTag;
|
|
5973
4608
|
};
|
|
5974
|
-
|
|
5975
4609
|
/***
|
|
5976
4610
|
* 根据 id 查询指定 release, 包含附件信息。Get a release by id, include assets information.
|
|
5977
4611
|
*
|
|
@@ -5981,7 +4615,6 @@ interface Client {
|
|
|
5981
4615
|
* /{repo}/-/releases/{release_id}
|
|
5982
4616
|
*/
|
|
5983
4617
|
get: Releases_GetReleaseByID;
|
|
5984
|
-
|
|
5985
4618
|
/***
|
|
5986
4619
|
* 删除指定的 release。Delete a release.
|
|
5987
4620
|
*
|
|
@@ -5991,7 +4624,6 @@ interface Client {
|
|
|
5991
4624
|
* /{repo}/-/releases/{release_id}
|
|
5992
4625
|
*/
|
|
5993
4626
|
delete: Releases_DeleteRelease;
|
|
5994
|
-
|
|
5995
4627
|
/***
|
|
5996
4628
|
* 更新 release。Update a release.
|
|
5997
4629
|
*
|
|
@@ -6033,7 +4665,6 @@ interface Client {
|
|
|
6033
4665
|
* /{repo}/-/releases/{release_id}/assets/{asset_id}
|
|
6034
4666
|
*/
|
|
6035
4667
|
get: Releases_GetReleaseAsset;
|
|
6036
|
-
|
|
6037
4668
|
/***
|
|
6038
4669
|
* 删除指定的 release 附件 the specified release asset.
|
|
6039
4670
|
*
|
|
@@ -6069,7 +4700,6 @@ interface Client {
|
|
|
6069
4700
|
* /{repo}/-/settings/branch-protections
|
|
6070
4701
|
*/
|
|
6071
4702
|
list: GitSettings_ListBranchProtections;
|
|
6072
|
-
|
|
6073
4703
|
/***
|
|
6074
4704
|
* 新增仓库保护分支规则。Create branch protection rule.
|
|
6075
4705
|
*
|
|
@@ -6079,7 +4709,6 @@ interface Client {
|
|
|
6079
4709
|
* /{repo}/-/settings/branch-protections
|
|
6080
4710
|
*/
|
|
6081
4711
|
post: GitSettings_PostBranchProtection;
|
|
6082
|
-
|
|
6083
4712
|
/***
|
|
6084
4713
|
* 查询仓库保护分支规则。Get branch protection rule.
|
|
6085
4714
|
*
|
|
@@ -6089,7 +4718,6 @@ interface Client {
|
|
|
6089
4718
|
* /{repo}/-/settings/branch-protections/{id}
|
|
6090
4719
|
*/
|
|
6091
4720
|
get: GitSettings_GetBranchProtection;
|
|
6092
|
-
|
|
6093
4721
|
/***
|
|
6094
4722
|
* 删除仓库保护分支规则。 Delete branch protection rule.
|
|
6095
4723
|
*
|
|
@@ -6099,7 +4727,6 @@ interface Client {
|
|
|
6099
4727
|
* /{repo}/-/settings/branch-protections/{id}
|
|
6100
4728
|
*/
|
|
6101
4729
|
delete: GitSettings_DeleteBranchProtection;
|
|
6102
|
-
|
|
6103
4730
|
/***
|
|
6104
4731
|
* 更新仓库保护分支规则。Update branch protection rule.
|
|
6105
4732
|
*
|
|
@@ -6120,7 +4747,6 @@ interface Client {
|
|
|
6120
4747
|
* /{repo}/-/settings/cloud-native-build
|
|
6121
4748
|
*/
|
|
6122
4749
|
get: GitSettings_GetPipelineSettings;
|
|
6123
|
-
|
|
6124
4750
|
/***
|
|
6125
4751
|
* 更新仓库云原生构建设置。Update pipeline settings.
|
|
6126
4752
|
*
|
|
@@ -6141,7 +4767,6 @@ interface Client {
|
|
|
6141
4767
|
* /{repo}/-/settings/pull-request
|
|
6142
4768
|
*/
|
|
6143
4769
|
get: GitSettings_GetPullRequestSettings;
|
|
6144
|
-
|
|
6145
4770
|
/***
|
|
6146
4771
|
* 更新仓库合并请求设置。Set pull request settings.
|
|
6147
4772
|
*
|
|
@@ -6162,7 +4787,6 @@ interface Client {
|
|
|
6162
4787
|
* /{repo}/-/settings/push-limit
|
|
6163
4788
|
*/
|
|
6164
4789
|
get: GitSettings_GetPushLimitSettings;
|
|
6165
|
-
|
|
6166
4790
|
/***
|
|
6167
4791
|
* 设置仓库推送设置。Set push limit settings.
|
|
6168
4792
|
*
|
|
@@ -6327,7 +4951,6 @@ interface Client {
|
|
|
6327
4951
|
* /{slug}/-/missions
|
|
6328
4952
|
*/
|
|
6329
4953
|
list: Missions_GetGroupSubMissions;
|
|
6330
|
-
|
|
6331
4954
|
/***
|
|
6332
4955
|
* 创建任务集。Create a mission.
|
|
6333
4956
|
*
|
|
@@ -6348,7 +4971,6 @@ interface Client {
|
|
|
6348
4971
|
* /{slug}/-/outside-collaborators
|
|
6349
4972
|
*/
|
|
6350
4973
|
list: Members_ListOutsideCollaborators;
|
|
6351
|
-
|
|
6352
4974
|
/***
|
|
6353
4975
|
* 更新指定仓库的外部贡献者权限信息。 Update permission information for external contributors in specified repository.
|
|
6354
4976
|
*
|
|
@@ -6358,7 +4980,6 @@ interface Client {
|
|
|
6358
4980
|
* /{slug}/-/outside-collaborators/{username}
|
|
6359
4981
|
*/
|
|
6360
4982
|
put: Members_UpdateOutsideCollaborators;
|
|
6361
|
-
|
|
6362
4983
|
/***
|
|
6363
4984
|
* 删除指定仓库的外部贡献者。Removes external contributors from specified repository.
|
|
6364
4985
|
*
|
|
@@ -6380,7 +5001,6 @@ interface Client {
|
|
|
6380
5001
|
* /{slug}/-/packages
|
|
6381
5002
|
*/
|
|
6382
5003
|
list: Registries_ListPackages;
|
|
6383
|
-
|
|
6384
5004
|
/***
|
|
6385
5005
|
* 获取指定制品的详细信息。 Get the package detail.
|
|
6386
5006
|
*
|
|
@@ -6391,7 +5011,6 @@ interface Client {
|
|
|
6391
5011
|
* /{slug}/-/packages/{type}/{name}
|
|
6392
5012
|
*/
|
|
6393
5013
|
get: Registries_GetPackage;
|
|
6394
|
-
|
|
6395
5014
|
/***
|
|
6396
5015
|
* 删除制品。 Delete the specific package.
|
|
6397
5016
|
*
|
|
@@ -6414,7 +5033,6 @@ interface Client {
|
|
|
6414
5033
|
* /{slug}/-/packages/{type}/{name}/-/tag/{tag}
|
|
6415
5034
|
*/
|
|
6416
5035
|
get: Registries_GetPackageTagDetail;
|
|
6417
|
-
|
|
6418
5036
|
/***
|
|
6419
5037
|
* 删除制品标签。 Delete the specific tag under specific package
|
|
6420
5038
|
*
|
|
@@ -6450,7 +5068,6 @@ interface Client {
|
|
|
6450
5068
|
* /{slug}/-/pinned-repos
|
|
6451
5069
|
*/
|
|
6452
5070
|
list: Repositories_GetPinnedRepoByGroup;
|
|
6453
|
-
|
|
6454
5071
|
/***
|
|
6455
5072
|
* 更新指定组织仓库墙。Update the pinned repositories of a group.
|
|
6456
5073
|
*
|
|
@@ -6482,7 +5099,6 @@ interface Client {
|
|
|
6482
5099
|
* /{slug}/-/repos
|
|
6483
5100
|
*/
|
|
6484
5101
|
list: Repositories_GetGroupSubRepos;
|
|
6485
|
-
|
|
6486
5102
|
/***
|
|
6487
5103
|
* 创建仓库。Create repositories.
|
|
6488
5104
|
*
|
|
@@ -6503,7 +5119,6 @@ interface Client {
|
|
|
6503
5119
|
* /{slug}/-/settings
|
|
6504
5120
|
*/
|
|
6505
5121
|
get: Organizations_GetGroupSetting;
|
|
6506
|
-
|
|
6507
5122
|
/***
|
|
6508
5123
|
* 更新指定组织的配置。Updates the configuration for the specified organization.
|
|
6509
5124
|
*
|