node-cnb 1.6.1 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -2
- package/dist/paths.json +1078 -77
- package/package.json +1 -1
- package/pathMethodMap.json +0 -2
- package/src/client.d.ts +346 -34
- package/src/types.d.ts +253 -1
package/src/types.d.ts
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
export type ApiBlob = {
|
|
2
|
+
sha: string;
|
|
3
|
+
};
|
|
4
|
+
|
|
1
5
|
export type ApiBranch = {
|
|
2
6
|
commit: {
|
|
3
7
|
sha: string;
|
|
@@ -211,6 +215,13 @@ export type ApiPipelineSettings = {
|
|
|
211
215
|
forked_repo_auto_trigger: boolean;
|
|
212
216
|
};
|
|
213
217
|
|
|
218
|
+
export type ApiPostBlobForm = {
|
|
219
|
+
content: string;
|
|
220
|
+
|
|
221
|
+
/**当前编码只支持 `"utf-8"` and `"base64"` 。默认: `utf-8`*/
|
|
222
|
+
encoding: string;
|
|
223
|
+
};
|
|
224
|
+
|
|
214
225
|
export type ApiPostIssueCommentForm = {
|
|
215
226
|
body: string;
|
|
216
227
|
};
|
|
@@ -240,6 +251,12 @@ export type ApiPostPullLabelsForm = {
|
|
|
240
251
|
labels: string[];
|
|
241
252
|
};
|
|
242
253
|
|
|
254
|
+
export type ApiPostTagFrom = {
|
|
255
|
+
message: string;
|
|
256
|
+
name: string;
|
|
257
|
+
target: string;
|
|
258
|
+
};
|
|
259
|
+
|
|
243
260
|
export type ApiPull = {
|
|
244
261
|
base: ApiPullRef;
|
|
245
262
|
body: string;
|
|
@@ -268,6 +285,12 @@ export type ApiPullRef = {
|
|
|
268
285
|
sha: string;
|
|
269
286
|
};
|
|
270
287
|
|
|
288
|
+
export type ApiPullRefInfo = {
|
|
289
|
+
ref: string;
|
|
290
|
+
repo: ApiRepoInfo;
|
|
291
|
+
sha: string;
|
|
292
|
+
};
|
|
293
|
+
|
|
271
294
|
export type ApiPullRequest = {
|
|
272
295
|
assignees: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo[];
|
|
273
296
|
author: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
|
|
@@ -293,6 +316,23 @@ export type ApiPullRequestComment = {
|
|
|
293
316
|
updated_at: string;
|
|
294
317
|
};
|
|
295
318
|
|
|
319
|
+
export type ApiPullRequestInfo = {
|
|
320
|
+
assignees: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[];
|
|
321
|
+
author: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo;
|
|
322
|
+
base: ApiPullRefInfo;
|
|
323
|
+
blocked_on: string;
|
|
324
|
+
created_at: string;
|
|
325
|
+
head: ApiPullRefInfo;
|
|
326
|
+
mergeable_state: string;
|
|
327
|
+
merged_by: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo;
|
|
328
|
+
number: string;
|
|
329
|
+
repo: ApiRepoInfo;
|
|
330
|
+
reviewers: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo[];
|
|
331
|
+
state: string;
|
|
332
|
+
title: string;
|
|
333
|
+
updated_at: string;
|
|
334
|
+
};
|
|
335
|
+
|
|
296
336
|
export type ApiPullRequestSettings = {
|
|
297
337
|
allow_merge_commit_merge: boolean;
|
|
298
338
|
allow_rebase_merge: boolean;
|
|
@@ -368,6 +408,13 @@ export type ApiRepo = {
|
|
|
368
408
|
web_url: string;
|
|
369
409
|
};
|
|
370
410
|
|
|
411
|
+
export type ApiRepoInfo = {
|
|
412
|
+
id: string;
|
|
413
|
+
name: string;
|
|
414
|
+
path: string;
|
|
415
|
+
web_url: string;
|
|
416
|
+
};
|
|
417
|
+
|
|
371
418
|
export type ApiSignature = {
|
|
372
419
|
date: string;
|
|
373
420
|
email: string;
|
|
@@ -698,9 +745,11 @@ export type DtoActivityUsers = {
|
|
|
698
745
|
|
|
699
746
|
/**用户赞赏码状态,0-无赞赏码,1-有*/
|
|
700
747
|
appreciate_status: number;
|
|
748
|
+
avatar: string;
|
|
701
749
|
bio: string;
|
|
702
750
|
company: string;
|
|
703
751
|
created_at: string;
|
|
752
|
+
email: string;
|
|
704
753
|
follow_count: number;
|
|
705
754
|
follow_repo_count: number;
|
|
706
755
|
follower_count: number;
|
|
@@ -772,26 +821,41 @@ export type DtoAssets = {
|
|
|
772
821
|
size: number;
|
|
773
822
|
};
|
|
774
823
|
|
|
824
|
+
export type DtoBindUsers = {
|
|
825
|
+
app_id: string;
|
|
826
|
+
created_at: string;
|
|
827
|
+
metadata: string;
|
|
828
|
+
openid: string;
|
|
829
|
+
updated_at: string;
|
|
830
|
+
};
|
|
831
|
+
|
|
775
832
|
export type DtoBoolResponse = {
|
|
776
833
|
message: string;
|
|
777
834
|
result: boolean;
|
|
778
835
|
};
|
|
779
836
|
|
|
780
837
|
export type DtoBudget = {
|
|
838
|
+
/**单位:核时*/
|
|
839
|
+
charge_type_ci: number;
|
|
781
840
|
charge_type_ci_policy: number;
|
|
782
841
|
|
|
783
842
|
/**ci价格,单位:分*/
|
|
784
843
|
charge_type_ci_price: number;
|
|
844
|
+
charge_type_dev: number;
|
|
785
845
|
charge_type_dev_policy: number;
|
|
786
846
|
|
|
787
847
|
/**开发价格,单位:分*/
|
|
788
848
|
charge_type_dev_price: number;
|
|
789
849
|
|
|
850
|
+
/**单位:Gib*/
|
|
851
|
+
charge_type_git: number;
|
|
852
|
+
|
|
790
853
|
/**折扣,没折扣是100*/
|
|
791
854
|
charge_type_git_policy: number;
|
|
792
855
|
|
|
793
856
|
/**git存储价格,单位:分*/
|
|
794
857
|
charge_type_git_price: number;
|
|
858
|
+
charge_type_object: number;
|
|
795
859
|
charge_type_object_policy: number;
|
|
796
860
|
|
|
797
861
|
/**对象存储价格,单位:分*/
|
|
@@ -800,10 +864,15 @@ export type DtoBudget = {
|
|
|
800
864
|
/**预算单名称*/
|
|
801
865
|
name: string;
|
|
802
866
|
|
|
867
|
+
/**预算单状态,1-正常,2-隔离,3-销毁*/
|
|
868
|
+
status: any;
|
|
869
|
+
|
|
803
870
|
/**云账号id*/
|
|
804
871
|
uin: string;
|
|
805
872
|
};
|
|
806
873
|
|
|
874
|
+
export type DtoBudgetSts = 1 | 2 | 3 | 4;
|
|
875
|
+
|
|
807
876
|
export type DtoBuildLogsResult = {
|
|
808
877
|
/**构建数据列表*/
|
|
809
878
|
data: DtoLogInfo[];
|
|
@@ -1009,7 +1078,7 @@ export type DtoCreateRepoReq = {
|
|
|
1009
1078
|
description: string;
|
|
1010
1079
|
license: string;
|
|
1011
1080
|
name: string;
|
|
1012
|
-
visibility: "public" | "private";
|
|
1081
|
+
visibility: "public" | "private" | "secret";
|
|
1013
1082
|
};
|
|
1014
1083
|
|
|
1015
1084
|
export type DtoDependency = {
|
|
@@ -1031,6 +1100,7 @@ export type DtoForkReq = {
|
|
|
1031
1100
|
|
|
1032
1101
|
export type DtoForks = {
|
|
1033
1102
|
created_at: string;
|
|
1103
|
+
fork_count: number;
|
|
1034
1104
|
freeze: boolean;
|
|
1035
1105
|
nickname: string;
|
|
1036
1106
|
path: string;
|
|
@@ -1061,11 +1131,17 @@ export type DtoGetTodoDetailRsp = {
|
|
|
1061
1131
|
};
|
|
1062
1132
|
|
|
1063
1133
|
export type DtoGroupSettingReq = {
|
|
1134
|
+
/**组织保护开关,0 - 关闭,1 - 打开*/
|
|
1135
|
+
group_protection: number;
|
|
1136
|
+
|
|
1064
1137
|
/**是否对外隐藏组织成员,0 - 否, 1 - 是*/
|
|
1065
1138
|
hide_members: number;
|
|
1066
1139
|
|
|
1067
1140
|
/**是否对外隐藏子组织,0 - 否, 1 - 是*/
|
|
1068
1141
|
hide_sub_groups: number;
|
|
1142
|
+
|
|
1143
|
+
/**是否对外显示私有仓库水印,0 - 否, 1 - 是*/
|
|
1144
|
+
show_private_repo_watermark: number;
|
|
1069
1145
|
};
|
|
1070
1146
|
|
|
1071
1147
|
export type DtoHarborRepository = {
|
|
@@ -1088,7 +1164,9 @@ Format: date-time*/
|
|
|
1088
1164
|
|
|
1089
1165
|
export type DtoInheritMembersUser = {
|
|
1090
1166
|
access_level: ConstantAccessRole;
|
|
1167
|
+
avatar: string;
|
|
1091
1168
|
created_at: string;
|
|
1169
|
+
email: string;
|
|
1092
1170
|
freeze: boolean;
|
|
1093
1171
|
id: string;
|
|
1094
1172
|
join_time: string;
|
|
@@ -1217,6 +1295,40 @@ export type DtoLogInfo = {
|
|
|
1217
1295
|
userName: string;
|
|
1218
1296
|
};
|
|
1219
1297
|
|
|
1298
|
+
export type DtoManifest = {
|
|
1299
|
+
metadata: DtoManifestMetadata;
|
|
1300
|
+
|
|
1301
|
+
/**Type manifest/manifest_list*/
|
|
1302
|
+
type: string;
|
|
1303
|
+
};
|
|
1304
|
+
|
|
1305
|
+
export type DtoManifestMetadata = {
|
|
1306
|
+
/**Annotations contains arbitrary metadata for the image manifest.*/
|
|
1307
|
+
annotations: any;
|
|
1308
|
+
|
|
1309
|
+
/**ArtifactType specifies the IANA media type of artifact when the manifest is used for an artifact.*/
|
|
1310
|
+
artifactType: string;
|
|
1311
|
+
|
|
1312
|
+
/**Config references a configuration object for a container, by digest.
|
|
1313
|
+
The referenced configuration object is a JSON blob that the runtime uses to set up the container.*/
|
|
1314
|
+
config: any;
|
|
1315
|
+
|
|
1316
|
+
/**Layers is an indexed list of layers referenced by the manifest.*/
|
|
1317
|
+
layers: V1Descriptor[];
|
|
1318
|
+
|
|
1319
|
+
/**Manifests references platform specific manifests.*/
|
|
1320
|
+
manifests: V1Descriptor[];
|
|
1321
|
+
|
|
1322
|
+
/**MediaType specifies the type of this document data structure e.g. `application/vnd.oci.image.manifest.v1+json`*/
|
|
1323
|
+
mediaType: string;
|
|
1324
|
+
|
|
1325
|
+
/**SchemaVersion is the image manifest schema that this image follows*/
|
|
1326
|
+
schemaVersion: number;
|
|
1327
|
+
|
|
1328
|
+
/**Subject is an optional link from the image manifest to another manifest forming an association between the image manifest and the other manifest.*/
|
|
1329
|
+
subject: any;
|
|
1330
|
+
};
|
|
1331
|
+
|
|
1220
1332
|
export type DtoMavenPackageDetail = {
|
|
1221
1333
|
address: string;
|
|
1222
1334
|
desc: string;
|
|
@@ -1296,6 +1408,7 @@ export type DtoMissionWithRepos = {
|
|
|
1296
1408
|
id: number;
|
|
1297
1409
|
name: string;
|
|
1298
1410
|
repos: DtoRepos4User[];
|
|
1411
|
+
stared: boolean;
|
|
1299
1412
|
updated_at: string;
|
|
1300
1413
|
visibility_level: ConstantVisibility;
|
|
1301
1414
|
};
|
|
@@ -1437,12 +1550,16 @@ export type DtoOrganizationSettingWithParent = {
|
|
|
1437
1550
|
|
|
1438
1551
|
/**上级group设置了hide_sub_groups为1,则下级都不能显示*/
|
|
1439
1552
|
can_show_sub_groups: boolean;
|
|
1553
|
+
can_show_watermark: boolean;
|
|
1554
|
+
group_protection: number;
|
|
1440
1555
|
|
|
1441
1556
|
/**是否对外隐藏组织成员,0 - 否, 1 - 是*/
|
|
1442
1557
|
hide_members: number;
|
|
1443
1558
|
|
|
1444
1559
|
/**是否对外隐藏子组织,0 - 否, 1 - 是*/
|
|
1445
1560
|
hide_sub_groups: number;
|
|
1561
|
+
root_group_protection: boolean;
|
|
1562
|
+
show_private_repo_watermark: number;
|
|
1446
1563
|
};
|
|
1447
1564
|
|
|
1448
1565
|
export type DtoOrganizationUnion = {
|
|
@@ -1484,7 +1601,9 @@ export type DtoOrganizationUnion = {
|
|
|
1484
1601
|
|
|
1485
1602
|
export type DtoOutsideCollaboratorInRepo = {
|
|
1486
1603
|
access_level: ConstantAccessRole;
|
|
1604
|
+
avatar: string;
|
|
1487
1605
|
created_at: string;
|
|
1606
|
+
email: string;
|
|
1488
1607
|
freeze: boolean;
|
|
1489
1608
|
id: string;
|
|
1490
1609
|
join_time: string;
|
|
@@ -1846,7 +1965,9 @@ export type DtoStage = {
|
|
|
1846
1965
|
};
|
|
1847
1966
|
|
|
1848
1967
|
export type DtoStarUser = {
|
|
1968
|
+
avatar: string;
|
|
1849
1969
|
created_at: string;
|
|
1970
|
+
email: string;
|
|
1850
1971
|
freeze: boolean;
|
|
1851
1972
|
id: string;
|
|
1852
1973
|
is_follow: boolean;
|
|
@@ -1888,6 +2009,14 @@ export type DtoStartBuildReq = {
|
|
|
1888
2009
|
tag: string;
|
|
1889
2010
|
};
|
|
1890
2011
|
|
|
2012
|
+
export type DtoStatus = {
|
|
2013
|
+
/**预算单状态,0-没有预算单,1-正常,2-欠费被隔离,3-被销毁*/
|
|
2014
|
+
budget_status: any;
|
|
2015
|
+
|
|
2016
|
+
/**超限的资源,将该数字转成二进制,0001表示git存储超限,0010表示对象存储超限,0100表示ci超限,1000表示云原生开发超限*/
|
|
2017
|
+
overruns: number;
|
|
2018
|
+
};
|
|
2019
|
+
|
|
1891
2020
|
export type DtoSystemAcceleration = {
|
|
1892
2021
|
priority: number;
|
|
1893
2022
|
url: string;
|
|
@@ -1961,6 +2090,15 @@ export type DtoUploadRequestParams = {
|
|
|
1961
2090
|
size: number;
|
|
1962
2091
|
};
|
|
1963
2092
|
|
|
2093
|
+
export type DtoUserBindInfo = {
|
|
2094
|
+
code: string;
|
|
2095
|
+
expire_at: string;
|
|
2096
|
+
name: string;
|
|
2097
|
+
nick: string;
|
|
2098
|
+
url: string;
|
|
2099
|
+
user: string;
|
|
2100
|
+
};
|
|
2101
|
+
|
|
1964
2102
|
export type DtoUserEmailPayload = {
|
|
1965
2103
|
email: string;
|
|
1966
2104
|
};
|
|
@@ -2004,7 +2142,9 @@ export type DtoUserFollowResult = {
|
|
|
2004
2142
|
};
|
|
2005
2143
|
|
|
2006
2144
|
export type DtoUsers = {
|
|
2145
|
+
avatar: string;
|
|
2007
2146
|
created_at: string;
|
|
2147
|
+
email: string;
|
|
2008
2148
|
freeze: boolean;
|
|
2009
2149
|
id: string;
|
|
2010
2150
|
nickname: string;
|
|
@@ -2031,9 +2171,11 @@ export type DtoUsersResult = {
|
|
|
2031
2171
|
|
|
2032
2172
|
/**用户赞赏码状态,0-无赞赏码,1-有*/
|
|
2033
2173
|
appreciate_status: number;
|
|
2174
|
+
avatar: string;
|
|
2034
2175
|
bio: string;
|
|
2035
2176
|
company: string;
|
|
2036
2177
|
created_at: string;
|
|
2178
|
+
email: string;
|
|
2037
2179
|
follow_count: number;
|
|
2038
2180
|
follow_repo_count: number;
|
|
2039
2181
|
follower_count: number;
|
|
@@ -2068,10 +2210,12 @@ export type DtoUsersResultForSelf = {
|
|
|
2068
2210
|
|
|
2069
2211
|
/**用户赞赏码状态,0-无赞赏码,1-有*/
|
|
2070
2212
|
appreciate_status: number;
|
|
2213
|
+
avatar: string;
|
|
2071
2214
|
bio: string;
|
|
2072
2215
|
company: string;
|
|
2073
2216
|
created_at: string;
|
|
2074
2217
|
editable: ConstantUserEditable;
|
|
2218
|
+
email: string;
|
|
2075
2219
|
follow_count: number;
|
|
2076
2220
|
follow_repo_count: number;
|
|
2077
2221
|
follower_count: number;
|
|
@@ -2106,7 +2250,9 @@ export type DtoUsersResultForSelf = {
|
|
|
2106
2250
|
|
|
2107
2251
|
export type DtoUsersWithAccessLevelInSlug = {
|
|
2108
2252
|
access_level: ConstantAccessRole;
|
|
2253
|
+
avatar: string;
|
|
2109
2254
|
created_at: string;
|
|
2255
|
+
email: string;
|
|
2110
2256
|
freeze: boolean;
|
|
2111
2257
|
id: string;
|
|
2112
2258
|
join_time: string;
|
|
@@ -2483,6 +2629,57 @@ export type ScopeScene = {
|
|
|
2483
2629
|
values: string[];
|
|
2484
2630
|
};
|
|
2485
2631
|
|
|
2632
|
+
export type V1Descriptor = {
|
|
2633
|
+
/**Annotations contains arbitrary metadata relating to the targeted content.*/
|
|
2634
|
+
annotations: any;
|
|
2635
|
+
|
|
2636
|
+
/**ArtifactType is the IANA media type of this artifact.*/
|
|
2637
|
+
artifactType: string;
|
|
2638
|
+
|
|
2639
|
+
/**Data is an embedding of the targeted content. This is encoded as a base64
|
|
2640
|
+
string when marshalled to JSON (automatically, by encoding/json). If
|
|
2641
|
+
present, Data can be used directly to avoid fetching the targeted content.*/
|
|
2642
|
+
data: number[];
|
|
2643
|
+
|
|
2644
|
+
/**Digest is the digest of the targeted content.*/
|
|
2645
|
+
digest: string;
|
|
2646
|
+
|
|
2647
|
+
/**MediaType is the media type of the object this schema refers to.*/
|
|
2648
|
+
mediaType: string;
|
|
2649
|
+
|
|
2650
|
+
/**Platform describes the platform which the image in the manifest runs on.
|
|
2651
|
+
|
|
2652
|
+
This should only be used when referring to a manifest.*/
|
|
2653
|
+
platform: any;
|
|
2654
|
+
|
|
2655
|
+
/**Size specifies the size in bytes of the blob.*/
|
|
2656
|
+
size: number;
|
|
2657
|
+
|
|
2658
|
+
/**URLs specifies a list of URLs from which this object MAY be downloaded*/
|
|
2659
|
+
urls: string[];
|
|
2660
|
+
};
|
|
2661
|
+
|
|
2662
|
+
export type V1Platform = {
|
|
2663
|
+
/**Architecture field specifies the CPU architecture, for example
|
|
2664
|
+
`amd64` or `ppc64le`.*/
|
|
2665
|
+
architecture: string;
|
|
2666
|
+
|
|
2667
|
+
/**OS specifies the operating system, for example `linux` or `windows`.*/
|
|
2668
|
+
os: string;
|
|
2669
|
+
|
|
2670
|
+
/**OSFeatures is an optional field specifying an array of strings,
|
|
2671
|
+
each listing a required OS feature (for example on Windows `win32k`).*/
|
|
2672
|
+
"os.features": string[];
|
|
2673
|
+
|
|
2674
|
+
/**OSVersion is an optional field specifying the operating system
|
|
2675
|
+
version, for example on Windows `10.0.14393.1066`.*/
|
|
2676
|
+
"os.version": string;
|
|
2677
|
+
|
|
2678
|
+
/**Variant is an optional field specifying a variant of the CPU, for
|
|
2679
|
+
example `v7` to specify ARMv7 when architecture is `arm`.*/
|
|
2680
|
+
variant: string;
|
|
2681
|
+
};
|
|
2682
|
+
|
|
2486
2683
|
export type WebAuthor = {
|
|
2487
2684
|
email: string;
|
|
2488
2685
|
user_name: string;
|
|
@@ -2535,6 +2732,21 @@ export type WebBranchPullRequest = {
|
|
|
2535
2732
|
state: string;
|
|
2536
2733
|
};
|
|
2537
2734
|
|
|
2735
|
+
export type WebCodeSensitiveInfo = {
|
|
2736
|
+
commit_id: string;
|
|
2737
|
+
created_at: string;
|
|
2738
|
+
file_path: string;
|
|
2739
|
+
id: number;
|
|
2740
|
+
issue_hash: string;
|
|
2741
|
+
issue_type: string;
|
|
2742
|
+
owner: GitWoaComCnbMonorepoGitInternalDtoWebUserInfo;
|
|
2743
|
+
raw_author: WebRawAuthor;
|
|
2744
|
+
repo_id: number;
|
|
2745
|
+
risk_level: string;
|
|
2746
|
+
state: string;
|
|
2747
|
+
tool: string;
|
|
2748
|
+
};
|
|
2749
|
+
|
|
2538
2750
|
export type WebCommit = {
|
|
2539
2751
|
author: GitWoaComCnbMonorepoGitInternalAppGitServiceBffWebUserInfo;
|
|
2540
2752
|
commit: WebCommitObject;
|
|
@@ -2805,6 +3017,10 @@ export type WebGitSize = {
|
|
|
2805
3017
|
used_in_kib: string;
|
|
2806
3018
|
};
|
|
2807
3019
|
|
|
3020
|
+
export type WebGroupSettings = {
|
|
3021
|
+
forbid_git_access: boolean;
|
|
3022
|
+
};
|
|
3023
|
+
|
|
2808
3024
|
export type WebIssue = {
|
|
2809
3025
|
assignees: GitWoaComCnbMonorepoGitInternalDtoWebUserInfo[];
|
|
2810
3026
|
author: GitWoaComCnbMonorepoGitInternalDtoWebUserInfo;
|
|
@@ -2832,6 +3048,15 @@ export type WebIssueAssignee = {
|
|
|
2832
3048
|
user: GitWoaComCnbMonorepoGitInternalDtoWebUserInfo;
|
|
2833
3049
|
};
|
|
2834
3050
|
|
|
3051
|
+
export type WebIssueComment = {
|
|
3052
|
+
author: GitWoaComCnbMonorepoGitInternalDtoWebUserInfo;
|
|
3053
|
+
author_meta: number[];
|
|
3054
|
+
body: string;
|
|
3055
|
+
comment_id: string;
|
|
3056
|
+
created_at: string;
|
|
3057
|
+
updated_at: string;
|
|
3058
|
+
};
|
|
3059
|
+
|
|
2835
3060
|
export type WebIssueDetail = {
|
|
2836
3061
|
assignees: WebIssueAssignee[];
|
|
2837
3062
|
author: GitWoaComCnbMonorepoGitInternalDtoWebUserInfo;
|
|
@@ -2930,6 +3155,11 @@ export type WebMimeType = {
|
|
|
2930
3155
|
is_video: boolean;
|
|
2931
3156
|
};
|
|
2932
3157
|
|
|
3158
|
+
export type WebMergeState = {
|
|
3159
|
+
conflicts: string[];
|
|
3160
|
+
state: string;
|
|
3161
|
+
};
|
|
3162
|
+
|
|
2933
3163
|
export type WebMeta = {
|
|
2934
3164
|
gen_branch: string;
|
|
2935
3165
|
gen_hash: string;
|
|
@@ -3095,6 +3325,7 @@ export type WebPullRequestFiles = {
|
|
|
3095
3325
|
export type WebPullRequestRepository = {
|
|
3096
3326
|
ref: string;
|
|
3097
3327
|
slug: string;
|
|
3328
|
+
usage: WebRepositoryUsage;
|
|
3098
3329
|
};
|
|
3099
3330
|
|
|
3100
3331
|
export type WebPullRequestResource = {
|
|
@@ -3209,6 +3440,11 @@ export type WebPushLimitSettings = {
|
|
|
3209
3440
|
only_master_can_push_tag: boolean;
|
|
3210
3441
|
};
|
|
3211
3442
|
|
|
3443
|
+
export type WebRawAuthor = {
|
|
3444
|
+
author_email: string;
|
|
3445
|
+
author_name: string;
|
|
3446
|
+
};
|
|
3447
|
+
|
|
3212
3448
|
export type WebReadMeFile = {
|
|
3213
3449
|
content: string;
|
|
3214
3450
|
encoding: string;
|
|
@@ -3288,6 +3524,11 @@ export type WebReleaseList = {
|
|
|
3288
3524
|
tag_count: number;
|
|
3289
3525
|
};
|
|
3290
3526
|
|
|
3527
|
+
export type WebReleaseTag = {
|
|
3528
|
+
release: WebRelease;
|
|
3529
|
+
tag: WebTag;
|
|
3530
|
+
};
|
|
3531
|
+
|
|
3291
3532
|
export type WebRepoContribSimply = {
|
|
3292
3533
|
meta: WebMeta;
|
|
3293
3534
|
top_100_contrib: WebUserContributorSimply[];
|
|
@@ -3320,6 +3561,16 @@ export type WebRepository = {
|
|
|
3320
3561
|
http_clone_url: string;
|
|
3321
3562
|
slug: string;
|
|
3322
3563
|
ssh_clone_url: string;
|
|
3564
|
+
usage: WebRepositoryUsage;
|
|
3565
|
+
};
|
|
3566
|
+
|
|
3567
|
+
export type WebRepositoryUsage = {
|
|
3568
|
+
git_size_in_kib: string;
|
|
3569
|
+
lfs_size_in_kib: string;
|
|
3570
|
+
};
|
|
3571
|
+
|
|
3572
|
+
export type WebResource = {
|
|
3573
|
+
type: string;
|
|
3323
3574
|
};
|
|
3324
3575
|
|
|
3325
3576
|
export type WebSignature = {
|
|
@@ -3585,6 +3836,7 @@ export type WebapiPullRequestNumber = {
|
|
|
3585
3836
|
};
|
|
3586
3837
|
|
|
3587
3838
|
export type WebapiPullRequestReviewId = {
|
|
3839
|
+
comment_ids: string[];
|
|
3588
3840
|
review_id: string;
|
|
3589
3841
|
};
|
|
3590
3842
|
|