node-cnb 1.12.0 → 1.13.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/paths.json +351 -32
- package/package.json +1 -1
- package/src/client.d.ts +150 -31
- package/src/types.d.ts +249 -176
package/src/types.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export type ApiBranchProtection = {
|
|
|
23
23
|
allow_master_creation: boolean;
|
|
24
24
|
allow_master_deletions: boolean;
|
|
25
25
|
allow_master_force_pushes: boolean;
|
|
26
|
+
allow_master_manual_merge: boolean;
|
|
26
27
|
allow_master_pushes: boolean;
|
|
27
28
|
allow_pushes: boolean;
|
|
28
29
|
id: string;
|
|
@@ -130,10 +131,12 @@ export type ApiIssue = {
|
|
|
130
131
|
author: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo;
|
|
131
132
|
comment_count: number;
|
|
132
133
|
created_at: string;
|
|
134
|
+
ended_at: string;
|
|
133
135
|
labels: ApiLabel[];
|
|
134
136
|
last_acted_at: string;
|
|
135
137
|
number: string;
|
|
136
138
|
priority: string;
|
|
139
|
+
started_at: string;
|
|
137
140
|
state: string;
|
|
138
141
|
state_reason: string;
|
|
139
142
|
title: string;
|
|
@@ -154,10 +157,12 @@ export type ApiIssueDetail = {
|
|
|
154
157
|
body: string;
|
|
155
158
|
comment_count: number;
|
|
156
159
|
created_at: string;
|
|
160
|
+
ended_at: string;
|
|
157
161
|
labels: ApiLabel[];
|
|
158
162
|
last_acted_at: string;
|
|
159
163
|
number: string;
|
|
160
164
|
priority: string;
|
|
165
|
+
started_at: string;
|
|
161
166
|
state: string;
|
|
162
167
|
state_reason: string;
|
|
163
168
|
title: string;
|
|
@@ -230,6 +235,10 @@ export type ApiPostBlobForm = {
|
|
|
230
235
|
encoding: string;
|
|
231
236
|
};
|
|
232
237
|
|
|
238
|
+
export type ApiPostIssueAssigneesForm = {
|
|
239
|
+
assignees: string[];
|
|
240
|
+
};
|
|
241
|
+
|
|
233
242
|
export type ApiPostIssueCommentForm = {
|
|
234
243
|
body: string;
|
|
235
244
|
};
|
|
@@ -237,10 +246,12 @@ export type ApiPostIssueCommentForm = {
|
|
|
237
246
|
export type ApiPostIssueForm = {
|
|
238
247
|
assignees: string[];
|
|
239
248
|
body: string;
|
|
249
|
+
end_date: string;
|
|
240
250
|
labels: string[];
|
|
241
251
|
|
|
242
252
|
/**Priority of this issue. Can be one of: `p0`, `p1`, `p2`, `p3`, `""`.*/
|
|
243
253
|
priority: string;
|
|
254
|
+
start_date: string;
|
|
244
255
|
title: string;
|
|
245
256
|
};
|
|
246
257
|
|
|
@@ -255,6 +266,10 @@ export type ApiPostLabelForm = {
|
|
|
255
266
|
name: string;
|
|
256
267
|
};
|
|
257
268
|
|
|
269
|
+
export type ApiPostPullAssigneesForm = {
|
|
270
|
+
assignees: string[];
|
|
271
|
+
};
|
|
272
|
+
|
|
258
273
|
export type ApiPostPullLabelsForm = {
|
|
259
274
|
labels: string[];
|
|
260
275
|
};
|
|
@@ -877,29 +892,11 @@ export type DtoBoolResponseWithDataMapConstantSlugTypeInt64 = {
|
|
|
877
892
|
export type DtoBudget = {
|
|
878
893
|
/**单位:核时*/
|
|
879
894
|
charge_type_ci: number;
|
|
880
|
-
charge_type_ci_policy: number;
|
|
881
|
-
|
|
882
|
-
/**ci价格,单位:分*/
|
|
883
|
-
charge_type_ci_price: number;
|
|
884
895
|
charge_type_dev: number;
|
|
885
|
-
charge_type_dev_policy: number;
|
|
886
|
-
|
|
887
|
-
/**开发价格,单位:分*/
|
|
888
|
-
charge_type_dev_price: number;
|
|
889
896
|
|
|
890
897
|
/**单位:Gib*/
|
|
891
898
|
charge_type_git: number;
|
|
892
|
-
|
|
893
|
-
/**折扣,没折扣是100*/
|
|
894
|
-
charge_type_git_policy: number;
|
|
895
|
-
|
|
896
|
-
/**git存储价格,单位:分*/
|
|
897
|
-
charge_type_git_price: number;
|
|
898
899
|
charge_type_object: number;
|
|
899
|
-
charge_type_object_policy: number;
|
|
900
|
-
|
|
901
|
-
/**对象存储价格,单位:分*/
|
|
902
|
-
charge_type_object_price: number;
|
|
903
900
|
|
|
904
901
|
/**预算单名称*/
|
|
905
902
|
name: string;
|
|
@@ -911,18 +908,11 @@ export type DtoBudget = {
|
|
|
911
908
|
uin: string;
|
|
912
909
|
};
|
|
913
910
|
|
|
914
|
-
export type
|
|
915
|
-
|
|
916
|
-
charge_type_ci_price: number;
|
|
911
|
+
export type DtoBudgetItemPrice = {
|
|
912
|
+
price: number;
|
|
917
913
|
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
/**git存储价格,单位:分*/
|
|
922
|
-
charge_type_git_price: number;
|
|
923
|
-
|
|
924
|
-
/**对象存储价格,单位:分*/
|
|
925
|
-
charge_type_object_price: number;
|
|
914
|
+
/**用量,单位:GiB/核时*/
|
|
915
|
+
vol: number;
|
|
926
916
|
};
|
|
927
917
|
|
|
928
918
|
export type DtoBuildLogsResult = {
|
|
@@ -1024,6 +1014,67 @@ export type DtoCleanPolicy = "pull_time" | "push_time";
|
|
|
1024
1014
|
|
|
1025
1015
|
export type DtoCleanPolicyStatus = "enabled" | "disabled";
|
|
1026
1016
|
|
|
1017
|
+
export type DtoCodeRepoTagPolicy = {
|
|
1018
|
+
cleanup_policy: DtoTagCleanupPolicy;
|
|
1019
|
+
override_policy: DtoTagOverridePolicy;
|
|
1020
|
+
};
|
|
1021
|
+
|
|
1022
|
+
export type DtoCommonRegistryCleanDetail = {
|
|
1023
|
+
artifact_num: number;
|
|
1024
|
+
clean_policy: DtoCleanPolicy;
|
|
1025
|
+
status: DtoCleanPolicyStatus;
|
|
1026
|
+
};
|
|
1027
|
+
|
|
1028
|
+
export type DtoCommonRegistryOverwritePolicy = {
|
|
1029
|
+
overwrite_policy: DtoOverwritePolicy;
|
|
1030
|
+
};
|
|
1031
|
+
|
|
1032
|
+
export type DtoCommonRegistryPackageDetail = {
|
|
1033
|
+
address: string;
|
|
1034
|
+
desc: string;
|
|
1035
|
+
last_pusher: DtoLastPusher;
|
|
1036
|
+
package: string;
|
|
1037
|
+
pull_count: number;
|
|
1038
|
+
recent_pull_count: number;
|
|
1039
|
+
slug: string;
|
|
1040
|
+
tag_total: number;
|
|
1041
|
+
tags: DtoCommonRegistryTag[];
|
|
1042
|
+
};
|
|
1043
|
+
|
|
1044
|
+
export type DtoCommonRegistryPolicy = {
|
|
1045
|
+
clean_policy_detail: DtoCommonRegistryCleanDetail;
|
|
1046
|
+
overwrite_policy: DtoOverwritePolicy;
|
|
1047
|
+
version_policy: DtoVersionPolicy;
|
|
1048
|
+
};
|
|
1049
|
+
|
|
1050
|
+
export type DtoCommonRegistryTag = {
|
|
1051
|
+
desc: string;
|
|
1052
|
+
digest: string;
|
|
1053
|
+
last_pusher: DtoLastPusher;
|
|
1054
|
+
name: string;
|
|
1055
|
+
pull_count: number;
|
|
1056
|
+
recent_pull_count: number;
|
|
1057
|
+
size: number;
|
|
1058
|
+
status: string;
|
|
1059
|
+
};
|
|
1060
|
+
|
|
1061
|
+
export type DtoCommonRegistryTagDetail = {
|
|
1062
|
+
address: string;
|
|
1063
|
+
dependencies: DtoDependency[];
|
|
1064
|
+
desc: string;
|
|
1065
|
+
files: DtoFile[];
|
|
1066
|
+
last_pusher: DtoLastPusher;
|
|
1067
|
+
metadata: DtoMetaData;
|
|
1068
|
+
package: string;
|
|
1069
|
+
pull_count: number;
|
|
1070
|
+
recent_pull_count: number;
|
|
1071
|
+
size: number;
|
|
1072
|
+
slug: string;
|
|
1073
|
+
status: string;
|
|
1074
|
+
tag: string;
|
|
1075
|
+
tags: DtoCommonRegistryTag[];
|
|
1076
|
+
};
|
|
1077
|
+
|
|
1027
1078
|
export type DtoContainerAnnotation = {
|
|
1028
1079
|
revision: string;
|
|
1029
1080
|
version: string;
|
|
@@ -1141,6 +1192,12 @@ export type DtoCreator = {
|
|
|
1141
1192
|
nick: string;
|
|
1142
1193
|
};
|
|
1143
1194
|
|
|
1195
|
+
export type DtoDashboardStar = {
|
|
1196
|
+
mission: DtoMissions4User;
|
|
1197
|
+
repo: DtoRepos4User;
|
|
1198
|
+
resource_type: ConstantSlugType;
|
|
1199
|
+
};
|
|
1200
|
+
|
|
1144
1201
|
export type DtoDependency = {
|
|
1145
1202
|
artifact: string;
|
|
1146
1203
|
name: string;
|
|
@@ -1365,6 +1422,11 @@ export type DtoLastPusher = {
|
|
|
1365
1422
|
push_at: string;
|
|
1366
1423
|
};
|
|
1367
1424
|
|
|
1425
|
+
export type DtoListForks = {
|
|
1426
|
+
fork_tree_count: number;
|
|
1427
|
+
forks: DtoForks[];
|
|
1428
|
+
};
|
|
1429
|
+
|
|
1368
1430
|
export type DtoListInheritMembers = {
|
|
1369
1431
|
inherit_path: string;
|
|
1370
1432
|
total: number;
|
|
@@ -1473,44 +1535,6 @@ The referenced configuration object is a JSON blob that the runtime uses to set
|
|
|
1473
1535
|
subject: any;
|
|
1474
1536
|
};
|
|
1475
1537
|
|
|
1476
|
-
export type DtoMavenPackageDetail = {
|
|
1477
|
-
address: string;
|
|
1478
|
-
desc: string;
|
|
1479
|
-
last_pusher: DtoLastPusher;
|
|
1480
|
-
package: string;
|
|
1481
|
-
pull_count: number;
|
|
1482
|
-
recent_pull_count: number;
|
|
1483
|
-
slug: string;
|
|
1484
|
-
tag_total: number;
|
|
1485
|
-
tags: DtoMavenTag[];
|
|
1486
|
-
};
|
|
1487
|
-
|
|
1488
|
-
export type DtoMavenTag = {
|
|
1489
|
-
desc: string;
|
|
1490
|
-
digest: string;
|
|
1491
|
-
last_pusher: DtoLastPusher;
|
|
1492
|
-
name: string;
|
|
1493
|
-
pull_count: number;
|
|
1494
|
-
recent_pull_count: number;
|
|
1495
|
-
size: number;
|
|
1496
|
-
status: string;
|
|
1497
|
-
};
|
|
1498
|
-
|
|
1499
|
-
export type DtoMavenTagDetail = {
|
|
1500
|
-
address: string;
|
|
1501
|
-
desc: string;
|
|
1502
|
-
files: DtoFile[];
|
|
1503
|
-
last_pusher: DtoLastPusher;
|
|
1504
|
-
package: string;
|
|
1505
|
-
pull_count: number;
|
|
1506
|
-
recent_pull_count: number;
|
|
1507
|
-
size: number;
|
|
1508
|
-
slug: string;
|
|
1509
|
-
status: string;
|
|
1510
|
-
tag: string;
|
|
1511
|
-
tags: DtoMavenTag[];
|
|
1512
|
-
};
|
|
1513
|
-
|
|
1514
1538
|
export type DtoMember4GetAllMembersByRoot = {
|
|
1515
1539
|
access_level: ConstantAccessRole;
|
|
1516
1540
|
avatar: string;
|
|
@@ -1545,6 +1569,14 @@ export type DtoMemberAccessLevelInSlugUnion = {
|
|
|
1545
1569
|
write_privilege: boolean;
|
|
1546
1570
|
};
|
|
1547
1571
|
|
|
1572
|
+
export type DtoMetaData = {
|
|
1573
|
+
home_page: string;
|
|
1574
|
+
license_url: string;
|
|
1575
|
+
package_name: string;
|
|
1576
|
+
readme: string;
|
|
1577
|
+
repository_url: string;
|
|
1578
|
+
};
|
|
1579
|
+
|
|
1548
1580
|
export type DtoMineCreateTotal = {
|
|
1549
1581
|
issue_count: number;
|
|
1550
1582
|
pull_request_count: number;
|
|
@@ -1556,17 +1588,6 @@ export type DtoMissionPatch = {
|
|
|
1556
1588
|
ref_repos: string[];
|
|
1557
1589
|
};
|
|
1558
1590
|
|
|
1559
|
-
export type DtoMissionWithPath = {
|
|
1560
|
-
created_at: string;
|
|
1561
|
-
description: string;
|
|
1562
|
-
freeze: boolean;
|
|
1563
|
-
id: number;
|
|
1564
|
-
name: string;
|
|
1565
|
-
path: string;
|
|
1566
|
-
updated_at: string;
|
|
1567
|
-
visibility_level: ConstantVisibility;
|
|
1568
|
-
};
|
|
1569
|
-
|
|
1570
1591
|
export type DtoMissionWithRepos = {
|
|
1571
1592
|
created_at: string;
|
|
1572
1593
|
description: string;
|
|
@@ -1587,93 +1608,18 @@ export type DtoMissions4User = {
|
|
|
1587
1608
|
id: number;
|
|
1588
1609
|
name: string;
|
|
1589
1610
|
path: string;
|
|
1611
|
+
pinned: boolean;
|
|
1612
|
+
pinned_time: string;
|
|
1590
1613
|
star_time: string;
|
|
1591
1614
|
stared: boolean;
|
|
1592
1615
|
updated_at: string;
|
|
1593
1616
|
visibility_level: ConstantVisibility;
|
|
1594
1617
|
};
|
|
1595
1618
|
|
|
1596
|
-
export type DtoNpmPackageDetail = {
|
|
1597
|
-
address: string;
|
|
1598
|
-
desc: string;
|
|
1599
|
-
last_pusher: DtoLastPusher;
|
|
1600
|
-
package: string;
|
|
1601
|
-
pull_count: number;
|
|
1602
|
-
recent_pull_count: number;
|
|
1603
|
-
slug: string;
|
|
1604
|
-
tag_total: number;
|
|
1605
|
-
tags: DtoNpmTag[];
|
|
1606
|
-
};
|
|
1607
|
-
|
|
1608
|
-
export type DtoNpmTag = {
|
|
1609
|
-
desc: string;
|
|
1610
|
-
digest: string;
|
|
1611
|
-
last_pusher: DtoLastPusher;
|
|
1612
|
-
name: string;
|
|
1613
|
-
pull_count: number;
|
|
1614
|
-
recent_pull_count: number;
|
|
1615
|
-
size: number;
|
|
1616
|
-
status: string;
|
|
1617
|
-
};
|
|
1618
|
-
|
|
1619
|
-
export type DtoNpmTagDetail = {
|
|
1620
|
-
address: string;
|
|
1621
|
-
dependencies: DtoDependency[];
|
|
1622
|
-
desc: string;
|
|
1623
|
-
files: DtoFile[];
|
|
1624
|
-
last_pusher: DtoLastPusher;
|
|
1625
|
-
package: string;
|
|
1626
|
-
pull_count: number;
|
|
1627
|
-
recent_pull_count: number;
|
|
1628
|
-
size: number;
|
|
1629
|
-
slug: string;
|
|
1630
|
-
status: string;
|
|
1631
|
-
tag: string;
|
|
1632
|
-
tags: DtoNpmTag[];
|
|
1633
|
-
};
|
|
1634
|
-
|
|
1635
|
-
export type DtoOhpmPackageDetail = {
|
|
1636
|
-
address: string;
|
|
1637
|
-
desc: string;
|
|
1638
|
-
last_pusher: DtoLastPusher;
|
|
1639
|
-
package: string;
|
|
1640
|
-
pull_count: number;
|
|
1641
|
-
recent_pull_count: number;
|
|
1642
|
-
slug: string;
|
|
1643
|
-
tag_total: number;
|
|
1644
|
-
tags: DtoOhpmTag[];
|
|
1645
|
-
};
|
|
1646
|
-
|
|
1647
|
-
export type DtoOhpmTag = {
|
|
1648
|
-
desc: string;
|
|
1649
|
-
digest: string;
|
|
1650
|
-
last_pusher: DtoLastPusher;
|
|
1651
|
-
name: string;
|
|
1652
|
-
pull_count: number;
|
|
1653
|
-
recent_pull_count: number;
|
|
1654
|
-
size: number;
|
|
1655
|
-
status: string;
|
|
1656
|
-
};
|
|
1657
|
-
|
|
1658
|
-
export type DtoOhpmTagDetail = {
|
|
1659
|
-
address: string;
|
|
1660
|
-
dependencies: DtoDependency[];
|
|
1661
|
-
desc: string;
|
|
1662
|
-
files: DtoFile[];
|
|
1663
|
-
last_pusher: DtoLastPusher;
|
|
1664
|
-
package: string;
|
|
1665
|
-
pull_count: number;
|
|
1666
|
-
recent_pull_count: number;
|
|
1667
|
-
size: number;
|
|
1668
|
-
slug: string;
|
|
1669
|
-
status: string;
|
|
1670
|
-
tag: string;
|
|
1671
|
-
tags: DtoOhpmTag[];
|
|
1672
|
-
};
|
|
1673
|
-
|
|
1674
1619
|
export type DtoOperatorType =
|
|
1675
1620
|
| "equal"
|
|
1676
|
-
| "
|
|
1621
|
+
| "equals"
|
|
1622
|
+
| "not_equals"
|
|
1677
1623
|
| "contains"
|
|
1678
1624
|
| "not_contains"
|
|
1679
1625
|
| "empty"
|
|
@@ -1827,11 +1773,14 @@ export type DtoPackage = {
|
|
|
1827
1773
|
};
|
|
1828
1774
|
|
|
1829
1775
|
export type DtoPackageDetail = {
|
|
1776
|
+
composer: DtoCommonRegistryPackageDetail;
|
|
1830
1777
|
docker: DtoContainerPackageDetail;
|
|
1831
1778
|
helm: DtoChartPackageDetail;
|
|
1832
|
-
maven:
|
|
1833
|
-
npm:
|
|
1834
|
-
|
|
1779
|
+
maven: DtoCommonRegistryPackageDetail;
|
|
1780
|
+
npm: DtoCommonRegistryPackageDetail;
|
|
1781
|
+
nuget: DtoCommonRegistryPackageDetail;
|
|
1782
|
+
ohpm: DtoCommonRegistryPackageDetail;
|
|
1783
|
+
pypi: DtoCommonRegistryPackageDetail;
|
|
1835
1784
|
};
|
|
1836
1785
|
|
|
1837
1786
|
export type DtoPackageType =
|
|
@@ -1840,7 +1789,10 @@ export type DtoPackageType =
|
|
|
1840
1789
|
| "helm"
|
|
1841
1790
|
| "npm"
|
|
1842
1791
|
| "maven"
|
|
1843
|
-
| "ohpm"
|
|
1792
|
+
| "ohpm"
|
|
1793
|
+
| "pypi"
|
|
1794
|
+
| "composer"
|
|
1795
|
+
| "nuget";
|
|
1844
1796
|
|
|
1845
1797
|
export type DtoPipelineStatus = {
|
|
1846
1798
|
/**流水线耗时*/
|
|
@@ -1958,6 +1910,8 @@ export type DtoRegistry4User = {
|
|
|
1958
1910
|
name: string;
|
|
1959
1911
|
overwrite_policy: "forbid" | "allow";
|
|
1960
1912
|
path: string;
|
|
1913
|
+
pinned: boolean;
|
|
1914
|
+
pinned_time: string;
|
|
1961
1915
|
pkg_count: number;
|
|
1962
1916
|
star_time: string;
|
|
1963
1917
|
stared: boolean;
|
|
@@ -1966,20 +1920,40 @@ export type DtoRegistry4User = {
|
|
|
1966
1920
|
visibility_level: ConstantVisibility;
|
|
1967
1921
|
};
|
|
1968
1922
|
|
|
1969
|
-
export type
|
|
1923
|
+
export type DtoRegistryLevelCleanPolicy = {
|
|
1924
|
+
/**前端更换路由后删除*/
|
|
1970
1925
|
artifact_num: number;
|
|
1971
|
-
clean_policy: DtoCleanPolicy;
|
|
1972
|
-
status: DtoCleanPolicyStatus;
|
|
1973
|
-
};
|
|
1974
1926
|
|
|
1975
|
-
|
|
1976
|
-
|
|
1927
|
+
/**前端更换路由后删除*/
|
|
1928
|
+
clean_policy: any;
|
|
1929
|
+
code_repo: DtoTagCleanupPolicy;
|
|
1930
|
+
common_registry: DtoCommonRegistryCleanDetail;
|
|
1931
|
+
|
|
1932
|
+
/**前端更换路由后删除*/
|
|
1933
|
+
status: any;
|
|
1977
1934
|
};
|
|
1978
1935
|
|
|
1979
|
-
export type
|
|
1980
|
-
|
|
1936
|
+
export type DtoRegistryLevelOverwritePolicy = {
|
|
1937
|
+
code_repo: DtoTagOverridePolicy;
|
|
1938
|
+
common_registry: DtoCommonRegistryOverwritePolicy;
|
|
1981
1939
|
overwrite_policy: DtoOverwritePolicy;
|
|
1982
|
-
|
|
1940
|
+
};
|
|
1941
|
+
|
|
1942
|
+
export type DtoRegistryLevelPolicy = {
|
|
1943
|
+
/**前端更换路由后删除*/
|
|
1944
|
+
clean_policy_detail: any;
|
|
1945
|
+
code_repo: DtoCodeRepoTagPolicy;
|
|
1946
|
+
common_registry: DtoCommonRegistryPolicy;
|
|
1947
|
+
|
|
1948
|
+
/**前端更换路由后删除*/
|
|
1949
|
+
overwrite_policy: any;
|
|
1950
|
+
|
|
1951
|
+
/**前端更换路由后删除*/
|
|
1952
|
+
version_policy: any;
|
|
1953
|
+
};
|
|
1954
|
+
|
|
1955
|
+
export type DtoRegistryPatch = {
|
|
1956
|
+
description: string;
|
|
1983
1957
|
};
|
|
1984
1958
|
|
|
1985
1959
|
export type DtoRepoCoreHour = {
|
|
@@ -2059,6 +2033,8 @@ export type DtoRepos4User = {
|
|
|
2059
2033
|
|
|
2060
2034
|
/**完整仓库路径*/
|
|
2061
2035
|
path: string;
|
|
2036
|
+
pinned: boolean;
|
|
2037
|
+
pinned_time: string;
|
|
2062
2038
|
|
|
2063
2039
|
/**第二语言*/
|
|
2064
2040
|
second_languages: any;
|
|
@@ -2128,6 +2104,17 @@ export type DtoRepos4UserBase = {
|
|
|
2128
2104
|
web_url: string;
|
|
2129
2105
|
};
|
|
2130
2106
|
|
|
2107
|
+
export type DtoResTypeSummary = {
|
|
2108
|
+
/**平均用量*/
|
|
2109
|
+
avg_vol: number;
|
|
2110
|
+
|
|
2111
|
+
/**计费用量*/
|
|
2112
|
+
fee_vol: number;
|
|
2113
|
+
|
|
2114
|
+
/**单位:byte/核毫秒*/
|
|
2115
|
+
vol_in_base_unit: number;
|
|
2116
|
+
};
|
|
2117
|
+
|
|
2131
2118
|
export type DtoResourceBindInfo = {
|
|
2132
2119
|
code: string;
|
|
2133
2120
|
expire_at: string;
|
|
@@ -2311,20 +2298,47 @@ export type DtoSystemAcceleration = {
|
|
|
2311
2298
|
};
|
|
2312
2299
|
|
|
2313
2300
|
export type DtoTag = {
|
|
2301
|
+
composer: DtoCommonRegistryTag[];
|
|
2314
2302
|
docker: DtoContainerTag[];
|
|
2315
2303
|
helm: DtoChartTag[];
|
|
2316
|
-
maven:
|
|
2317
|
-
npm:
|
|
2318
|
-
|
|
2304
|
+
maven: DtoCommonRegistryTag[];
|
|
2305
|
+
npm: DtoCommonRegistryTag[];
|
|
2306
|
+
nuget: DtoCommonRegistryTag[];
|
|
2307
|
+
ohpm: DtoCommonRegistryTag[];
|
|
2319
2308
|
package: string;
|
|
2309
|
+
pypi: DtoCommonRegistryTag[];
|
|
2310
|
+
};
|
|
2311
|
+
|
|
2312
|
+
export type DtoTagCleanupPolicy = {
|
|
2313
|
+
disabled: boolean;
|
|
2314
|
+
|
|
2315
|
+
/**是否保留latest标签*/
|
|
2316
|
+
is_retain_latest: boolean;
|
|
2317
|
+
|
|
2318
|
+
/**是否保留最近7天内拉取过的制品*/
|
|
2319
|
+
is_retain_pulled_in_7_days: boolean;
|
|
2320
|
+
|
|
2321
|
+
/**保留的制品版本数量,按照时间倒排序*/
|
|
2322
|
+
latest_pushed_k: number;
|
|
2320
2323
|
};
|
|
2321
2324
|
|
|
2322
2325
|
export type DtoTagDetail = {
|
|
2326
|
+
composer: DtoCommonRegistryTagDetail;
|
|
2323
2327
|
docker: DtoContainerTagDetail;
|
|
2324
2328
|
helm: DtoChartTagDetail;
|
|
2325
|
-
maven:
|
|
2326
|
-
npm:
|
|
2327
|
-
|
|
2329
|
+
maven: DtoCommonRegistryTagDetail;
|
|
2330
|
+
npm: DtoCommonRegistryTagDetail;
|
|
2331
|
+
nuget: DtoCommonRegistryTagDetail;
|
|
2332
|
+
ohpm: DtoCommonRegistryTagDetail;
|
|
2333
|
+
pypi: DtoCommonRegistryTagDetail;
|
|
2334
|
+
};
|
|
2335
|
+
|
|
2336
|
+
export type DtoTagOverridePolicy = {
|
|
2337
|
+
/**是否禁止覆盖带前缀的语义化版本标签*/
|
|
2338
|
+
is_forbid_prefixed_sem_ver: boolean;
|
|
2339
|
+
|
|
2340
|
+
/**是否禁止覆盖语义化版本标签 (semantic version: https://semver.org/lang/zh-CN/ )*/
|
|
2341
|
+
is_forbid_sem_ver: boolean;
|
|
2328
2342
|
};
|
|
2329
2343
|
|
|
2330
2344
|
export type DtoThreshold = "normal" | "warning-80" | "exceed";
|
|
@@ -2431,6 +2445,28 @@ export type DtoUserFollowResult = {
|
|
|
2431
2445
|
username: string;
|
|
2432
2446
|
};
|
|
2433
2447
|
|
|
2448
|
+
export type DtoUserForSelf = {
|
|
2449
|
+
avatar: string;
|
|
2450
|
+
created_at: string;
|
|
2451
|
+
editable: ConstantUserEditable;
|
|
2452
|
+
email: string;
|
|
2453
|
+
freeze: boolean;
|
|
2454
|
+
id: string;
|
|
2455
|
+
language: string;
|
|
2456
|
+
next_updated_name_at: string;
|
|
2457
|
+
nickname: string;
|
|
2458
|
+
type: ConstantUserType;
|
|
2459
|
+
updated_name_at: string;
|
|
2460
|
+
updated_nick_at: string;
|
|
2461
|
+
username: string;
|
|
2462
|
+
|
|
2463
|
+
/**认证类型*/
|
|
2464
|
+
verified: number;
|
|
2465
|
+
|
|
2466
|
+
/**认证过期时间*/
|
|
2467
|
+
verified_expire_in: string;
|
|
2468
|
+
};
|
|
2469
|
+
|
|
2434
2470
|
export type DtoUsers = {
|
|
2435
2471
|
avatar: string;
|
|
2436
2472
|
created_at: string;
|
|
@@ -2711,10 +2747,12 @@ export type HandlerCreateIssueCommentForm = {
|
|
|
2711
2747
|
export type HandlerCreateIssueForm = {
|
|
2712
2748
|
assignees: string[];
|
|
2713
2749
|
body: string;
|
|
2750
|
+
end_date: string;
|
|
2714
2751
|
labels: string[];
|
|
2715
2752
|
|
|
2716
2753
|
/**p0, p1, p2, p3, ""。 single choice。*/
|
|
2717
2754
|
priority: string;
|
|
2755
|
+
start_date: string;
|
|
2718
2756
|
title: string;
|
|
2719
2757
|
};
|
|
2720
2758
|
|
|
@@ -2789,6 +2827,14 @@ export type HandlerUpdateIssueForm = {
|
|
|
2789
2827
|
title: string;
|
|
2790
2828
|
};
|
|
2791
2829
|
|
|
2830
|
+
export type HandlerUpdateIssueSubForm = {
|
|
2831
|
+
/**订阅事件*/
|
|
2832
|
+
sub_event: string[];
|
|
2833
|
+
|
|
2834
|
+
/**订阅模式*/
|
|
2835
|
+
sub_model: string;
|
|
2836
|
+
};
|
|
2837
|
+
|
|
2792
2838
|
export type HandlerUpdateItemField = {
|
|
2793
2839
|
id: string;
|
|
2794
2840
|
value: string[];
|
|
@@ -2866,11 +2912,17 @@ export type OpenapiPatchReleaseForm = {
|
|
|
2866
2912
|
|
|
2867
2913
|
export type OpenapiPostCommitAssetUploadUrlForm = {
|
|
2868
2914
|
asset_name: string;
|
|
2915
|
+
|
|
2916
|
+
/**附件大小,单位为字节。 Attachment size, in bytes.*/
|
|
2917
|
+
size: number;
|
|
2869
2918
|
};
|
|
2870
2919
|
|
|
2871
2920
|
export type OpenapiPostReleaseAssetUploadUrlForm = {
|
|
2872
2921
|
asset_name: string;
|
|
2873
2922
|
overwrite: boolean;
|
|
2923
|
+
|
|
2924
|
+
/**附件大小,单位为字节。 Attachment size, in bytes.*/
|
|
2925
|
+
size: number;
|
|
2874
2926
|
};
|
|
2875
2927
|
|
|
2876
2928
|
export type OpenapiPostReleaseForm = {
|
|
@@ -3044,6 +3096,7 @@ export type WebBranchProtection = {
|
|
|
3044
3096
|
allow_master_creation: boolean;
|
|
3045
3097
|
allow_master_deletions: boolean;
|
|
3046
3098
|
allow_master_force_pushes: boolean;
|
|
3099
|
+
allow_master_manual_merge: boolean;
|
|
3047
3100
|
allow_master_pushes: boolean;
|
|
3048
3101
|
allow_pushes: boolean;
|
|
3049
3102
|
id: string;
|
|
@@ -3532,6 +3585,10 @@ export type WebGetCommitAnnotationsInBatchForm = {
|
|
|
3532
3585
|
keys: string[];
|
|
3533
3586
|
};
|
|
3534
3587
|
|
|
3588
|
+
export type WebGitGcStat = {
|
|
3589
|
+
gc_stat: string;
|
|
3590
|
+
};
|
|
3591
|
+
|
|
3535
3592
|
export type WebGitHead = {
|
|
3536
3593
|
branch: string;
|
|
3537
3594
|
};
|
|
@@ -3561,6 +3618,7 @@ export type WebGitUsage = {
|
|
|
3561
3618
|
export type WebIssue = {
|
|
3562
3619
|
assignees: GitWoaComCnbMonorepoGitInternalDtoWebUserInfo[];
|
|
3563
3620
|
author: GitWoaComCnbMonorepoGitInternalDtoWebUserInfo;
|
|
3621
|
+
closed_at: string;
|
|
3564
3622
|
comment_count: number;
|
|
3565
3623
|
created_at: string;
|
|
3566
3624
|
ended_at: string;
|
|
@@ -3580,6 +3638,7 @@ export type WebIssueActivity = {
|
|
|
3580
3638
|
actor_access_role: string;
|
|
3581
3639
|
actor_meta: number[];
|
|
3582
3640
|
created_at: string;
|
|
3641
|
+
id: string;
|
|
3583
3642
|
payload: any;
|
|
3584
3643
|
type: string;
|
|
3585
3644
|
};
|
|
@@ -3601,6 +3660,7 @@ export type WebIssueDetail = {
|
|
|
3601
3660
|
assignees: WebIssueAssignee[];
|
|
3602
3661
|
author: GitWoaComCnbMonorepoGitInternalDtoWebUserInfo;
|
|
3603
3662
|
body: string;
|
|
3663
|
+
closed_at: string;
|
|
3604
3664
|
comment_count: number;
|
|
3605
3665
|
created_at: string;
|
|
3606
3666
|
ended_at: string;
|
|
@@ -3612,6 +3672,7 @@ export type WebIssueDetail = {
|
|
|
3612
3672
|
started_at: string;
|
|
3613
3673
|
state: string;
|
|
3614
3674
|
state_reason: string;
|
|
3675
|
+
subscribe: WebSubscribe;
|
|
3615
3676
|
title: string;
|
|
3616
3677
|
updated_at: string;
|
|
3617
3678
|
};
|
|
@@ -3619,12 +3680,14 @@ export type WebIssueDetail = {
|
|
|
3619
3680
|
export type WebIssueResource = {
|
|
3620
3681
|
assignees: GitWoaComCnbMonorepoMissionMissionResourceDtoWebUserInfo[];
|
|
3621
3682
|
author: GitWoaComCnbMonorepoMissionMissionResourceDtoWebUserInfo;
|
|
3683
|
+
closed_at: string;
|
|
3622
3684
|
comment_count: number;
|
|
3623
3685
|
created_at: string;
|
|
3624
3686
|
customer_fields: WebCustomerField[];
|
|
3625
3687
|
ended_at: string;
|
|
3626
3688
|
id: string;
|
|
3627
3689
|
labels: WebLabelOption[];
|
|
3690
|
+
last_acted_at: string;
|
|
3628
3691
|
number: string;
|
|
3629
3692
|
priority: string;
|
|
3630
3693
|
repo_slug: string;
|
|
@@ -3739,6 +3802,11 @@ export type WebOverviewBranches = {
|
|
|
3739
3802
|
yours_branches: WebBranchListItem[];
|
|
3740
3803
|
};
|
|
3741
3804
|
|
|
3805
|
+
export type WebPendingPullReview = {
|
|
3806
|
+
comment_count: number;
|
|
3807
|
+
review_id: string;
|
|
3808
|
+
};
|
|
3809
|
+
|
|
3742
3810
|
export type WebPermission = {
|
|
3743
3811
|
allow_push_git_tag: boolean;
|
|
3744
3812
|
};
|
|
@@ -3804,6 +3872,7 @@ export type WebPullRequestActivity = {
|
|
|
3804
3872
|
actor_access_role: string;
|
|
3805
3873
|
actor_meta: number[];
|
|
3806
3874
|
created_at: string;
|
|
3875
|
+
id: string;
|
|
3807
3876
|
payload: any;
|
|
3808
3877
|
type: string;
|
|
3809
3878
|
};
|
|
@@ -4161,6 +4230,10 @@ export type WebSubmodule = {
|
|
|
4161
4230
|
link_url: string;
|
|
4162
4231
|
};
|
|
4163
4232
|
|
|
4233
|
+
export type WebSubscribe = {
|
|
4234
|
+
sub_model: string;
|
|
4235
|
+
};
|
|
4236
|
+
|
|
4164
4237
|
export type WebTag = {
|
|
4165
4238
|
commit: WebCommit;
|
|
4166
4239
|
has_release: boolean;
|