node-cnb 1.11.0 → 1.12.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/src/types.d.ts CHANGED
@@ -81,15 +81,21 @@ export type ApiCommitObjectTree = {
81
81
 
82
82
  export type ApiCommitObjectVerification = {
83
83
  payload: string;
84
- resone: string;
84
+ reason: string;
85
85
  signature: string;
86
86
  verified: boolean;
87
+ verified_at: string;
87
88
  };
88
89
 
89
90
  export type ApiCommitParent = {
90
91
  sha: string;
91
92
  };
92
93
 
94
+ export type ApiCommitRefs = {
95
+ has_more: boolean;
96
+ refs: string[];
97
+ };
98
+
93
99
  export type ApiCommitStatus = {
94
100
  context: string;
95
101
  created_at: string;
@@ -125,6 +131,7 @@ export type ApiIssue = {
125
131
  comment_count: number;
126
132
  created_at: string;
127
133
  labels: ApiLabel[];
134
+ last_acted_at: string;
128
135
  number: string;
129
136
  priority: string;
130
137
  state: string;
@@ -148,6 +155,7 @@ export type ApiIssueDetail = {
148
155
  comment_count: number;
149
156
  created_at: string;
150
157
  labels: ApiLabel[];
158
+ last_acted_at: string;
151
159
  number: string;
152
160
  priority: string;
153
161
  state: string;
@@ -299,6 +307,7 @@ export type ApiPullRequest = {
299
307
  comment_count: number;
300
308
  created_at: string;
301
309
  head: ApiPullRef;
310
+ last_acted_at: string;
302
311
  mergeable_state: string;
303
312
  merged_by: GitWoaComCnbMonorepoGitInternalAppGitServiceBffApiUserInfo;
304
313
  number: string;
@@ -323,6 +332,7 @@ export type ApiPullRequestInfo = {
323
332
  blocked_on: string;
324
333
  created_at: string;
325
334
  head: ApiPullRefInfo;
335
+ last_acted_at: string;
326
336
  mergeable_state: string;
327
337
  merged_by: GitWoaComCnbMonorepoGitInternalAppVcsServiceBffApiUserInfo;
328
338
  number: string;
@@ -364,6 +374,7 @@ export type ApiPushLimitSettings = {
364
374
  allow_single_push_number: number;
365
375
  check_single_push_number: boolean;
366
376
  only_master_can_push_tag: boolean;
377
+ push_commit_must_be: string;
367
378
  };
368
379
 
369
380
  export type ApiPutIssueLabelsForm = {
@@ -426,6 +437,15 @@ export type ApiTag = {
426
437
  name: string;
427
438
  target: string;
428
439
  target_type: string;
440
+ verification: ApiTagObjectVerification;
441
+ };
442
+
443
+ export type ApiTagObjectVerification = {
444
+ payload: string;
445
+ reason: string;
446
+ signature: string;
447
+ verified: boolean;
448
+ verified_at: string;
429
449
  };
430
450
 
431
451
  export type ApiTreeEntry = {
@@ -565,7 +585,7 @@ export type ConstantSearchResourceType = 0 | 1 | 2 | 3 | 4 | 5;
565
585
 
566
586
  export type ConstantSlugType = 0 | 1 | 2 | 3 | 4;
567
587
 
568
- export type ConstantUserEditable = 1 | 2 | 4 | 8 | 16;
588
+ export type ConstantUserEditable = 1 | 2 | 4 | 8 | 16 | 32;
569
589
 
570
590
  export type ConstantUserType = 0 | 1 | 2 | 3;
571
591
 
@@ -709,6 +729,7 @@ export type DtoActivityRepos = {
709
729
  description: string;
710
730
  display_module: ConstantRepoDisplayModule;
711
731
  fork_count: number;
732
+ fork_target: string;
712
733
  forked_from: string;
713
734
  freeze: boolean;
714
735
  id: number;
@@ -753,6 +774,7 @@ export type DtoActivityUsers = {
753
774
  created_at: string;
754
775
  email: string;
755
776
  follow_count: number;
777
+ follow_mission_count: number;
756
778
  follow_repo_count: number;
757
779
  follower_count: number;
758
780
  freeze: boolean;
@@ -1124,6 +1146,65 @@ export type DtoDependency = {
1124
1146
  name: string;
1125
1147
  };
1126
1148
 
1149
+ export type DtoExploreList = {
1150
+ explore_repos: DtoExploreRepo[];
1151
+ explore_type: string;
1152
+ explore_users: DtoUsersResult[];
1153
+ };
1154
+
1155
+ export type DtoExploreRepo = {
1156
+ created_at: string;
1157
+ description: string;
1158
+ display_module: ConstantRepoDisplayModule;
1159
+ fork_count: number;
1160
+
1161
+ /**预留*/
1162
+ forked_from_repo: any;
1163
+ freeze: boolean;
1164
+ id: number;
1165
+
1166
+ /**仓库程序语言,预留*/
1167
+ language: string;
1168
+
1169
+ /**仓库语言*/
1170
+ languages: any;
1171
+
1172
+ /**最新代码更新人姓名*/
1173
+ last_update_nickname: string;
1174
+
1175
+ /**最新代码更新人账户名*/
1176
+ last_update_username: string;
1177
+
1178
+ /**最新代码更新时间*/
1179
+ last_updated_at: any;
1180
+ license: string;
1181
+ mark_count: number;
1182
+ name: string;
1183
+
1184
+ /**开启的issue数*/
1185
+ open_issue_count: number;
1186
+
1187
+ /**开启的pull request数*/
1188
+ open_pull_request_count: number;
1189
+
1190
+ /**完整仓库路径*/
1191
+ path: string;
1192
+
1193
+ /**第二语言*/
1194
+ second_languages: any;
1195
+ site: string;
1196
+ star_count: number;
1197
+ stared: boolean;
1198
+ status: any;
1199
+ tags: {
1200
+ name: string;
1201
+ }[];
1202
+ topics: string;
1203
+ updated_at: string;
1204
+ visibility_level: ConstantVisibility;
1205
+ web_url: string;
1206
+ };
1207
+
1127
1208
  export type DtoFile = {
1128
1209
  name: string;
1129
1210
  size: number;
@@ -1188,6 +1269,18 @@ export type DtoGroupSettingReq = {
1188
1269
  values: string;
1189
1270
  };
1190
1271
 
1272
+ export type DtoHandoverMemberRequest = {
1273
+ after: string;
1274
+ before: string;
1275
+ };
1276
+
1277
+ export type DtoHarborGcSchedule = {
1278
+ cron: string;
1279
+ last_triggered_time: string;
1280
+ next_scheduled_time: string;
1281
+ type: string;
1282
+ };
1283
+
1191
1284
  export type DtoHarborRepository = {
1192
1285
  /**The description of the repository*/
1193
1286
  description: string;
@@ -1418,6 +1511,28 @@ export type DtoMavenTagDetail = {
1418
1511
  tags: DtoMavenTag[];
1419
1512
  };
1420
1513
 
1514
+ export type DtoMember4GetAllMembersByRoot = {
1515
+ access_level: ConstantAccessRole;
1516
+ avatar: string;
1517
+ created_at: string;
1518
+ email: string;
1519
+ freeze: boolean;
1520
+ id: string;
1521
+ inviter: DtoUsers;
1522
+ join_time: string;
1523
+ nickname: string;
1524
+ path: string;
1525
+ type: ConstantUserType;
1526
+ user_freeze: boolean;
1527
+ username: string;
1528
+
1529
+ /**认证类型*/
1530
+ verified: number;
1531
+
1532
+ /**认证过期时间*/
1533
+ verified_expire_in: string;
1534
+ };
1535
+
1421
1536
  export type DtoMemberAccessLevel = {
1422
1537
  access_level: ConstantAccessRole;
1423
1538
  path: string;
@@ -1556,6 +1671,17 @@ export type DtoOhpmTagDetail = {
1556
1671
  tags: DtoOhpmTag[];
1557
1672
  };
1558
1673
 
1674
+ export type DtoOperatorType =
1675
+ | "equal"
1676
+ | "not_equal"
1677
+ | "contains"
1678
+ | "not_contains"
1679
+ | "empty"
1680
+ | "not_empty"
1681
+ | "before"
1682
+ | "after"
1683
+ | "time_selector";
1684
+
1559
1685
  export type DtoOrganizationAccess = {
1560
1686
  /**AccessRole 用户在当前资源的最大权限*/
1561
1687
  access_role: any;
@@ -1673,7 +1799,7 @@ export type DtoOutsideCollaboratorInRepo = {
1673
1799
  verified_expire_in: string;
1674
1800
  };
1675
1801
 
1676
- export type DtoOverwritePolicy = "forbid" | "allow";
1802
+ export type DtoOverwritePolicy = "forbid" | "allow" | "snapshot";
1677
1803
 
1678
1804
  export type DtoPack = {
1679
1805
  expire_at: string;
@@ -1731,6 +1857,7 @@ export type DtoPullRequestData = {
1731
1857
  associated_issue_counts: number;
1732
1858
  build_status: string;
1733
1859
  comment_counts: number;
1860
+ created_time: string;
1734
1861
  label: DtoLabel[];
1735
1862
  mergeable_state: string;
1736
1863
  number: number;
@@ -1742,6 +1869,7 @@ export type DtoPullRequestData = {
1742
1869
  target_ref: string;
1743
1870
  title: string;
1744
1871
  todo_id: string;
1872
+ updated_time: string;
1745
1873
  };
1746
1874
 
1747
1875
  export type DtoQuota = {
@@ -1763,6 +1891,60 @@ export type DtoQuotaRsp = {
1763
1891
  used: any;
1764
1892
  };
1765
1893
 
1894
+ export type DtoRankDetail = {
1895
+ created_at: string;
1896
+ description: string;
1897
+ display_module: ConstantRepoDisplayModule;
1898
+ fork_count: number;
1899
+
1900
+ /**预留*/
1901
+ forked_from_repo: any;
1902
+ freeze: boolean;
1903
+ id: number;
1904
+
1905
+ /**仓库程序语言,预留*/
1906
+ language: string;
1907
+
1908
+ /**仓库语言*/
1909
+ languages: any;
1910
+
1911
+ /**最新代码更新人姓名*/
1912
+ last_update_nickname: string;
1913
+
1914
+ /**最新代码更新人账户名*/
1915
+ last_update_username: string;
1916
+
1917
+ /**最新代码更新时间*/
1918
+ last_updated_at: any;
1919
+ license: string;
1920
+ mark_count: number;
1921
+ name: string;
1922
+
1923
+ /**开启的issue数*/
1924
+ open_issue_count: number;
1925
+
1926
+ /**开启的pull request数*/
1927
+ open_pull_request_count: number;
1928
+
1929
+ /**完整仓库路径*/
1930
+ path: string;
1931
+ rank_value: number;
1932
+
1933
+ /**第二语言*/
1934
+ second_languages: any;
1935
+ site: string;
1936
+ star_count: number;
1937
+ stared: boolean;
1938
+ status: any;
1939
+ tags: {
1940
+ name: string;
1941
+ }[];
1942
+ topics: string;
1943
+ updated_at: string;
1944
+ visibility_level: ConstantVisibility;
1945
+ web_url: string;
1946
+ };
1947
+
1766
1948
  export type DtoRegistry4User = {
1767
1949
  access: any;
1768
1950
  artifact_policy: "all" | "snapshot" | "release";
@@ -1808,8 +1990,8 @@ export type DtoRepoCoreHour = {
1808
1990
  };
1809
1991
 
1810
1992
  export type DtoRepoLanguage = {
1993
+ color: string;
1811
1994
  language: string;
1812
- ratio: string;
1813
1995
  };
1814
1996
 
1815
1997
  export type DtoRepoPatch = {
@@ -1819,6 +2001,12 @@ export type DtoRepoPatch = {
1819
2001
  topics: string[];
1820
2002
  };
1821
2003
 
2004
+ export type DtoRepoRank = {
2005
+ rank_type: string;
2006
+ repo_detail: DtoRankDetail[];
2007
+ top_n: number;
2008
+ };
2009
+
1822
2010
  export type DtoRepoStarUsers = {
1823
2011
  my_follow_count: number;
1824
2012
  total: number;
@@ -1849,7 +2037,7 @@ export type DtoRepos4User = {
1849
2037
  language: string;
1850
2038
 
1851
2039
  /**仓库语言*/
1852
- languages: DtoRepoLanguage[];
2040
+ languages: any;
1853
2041
 
1854
2042
  /**最新代码更新人姓名*/
1855
2043
  last_update_nickname: string;
@@ -1871,6 +2059,9 @@ export type DtoRepos4User = {
1871
2059
 
1872
2060
  /**完整仓库路径*/
1873
2061
  path: string;
2062
+
2063
+ /**第二语言*/
2064
+ second_languages: any;
1874
2065
  site: string;
1875
2066
  star_count: number;
1876
2067
  star_time: string;
@@ -1900,7 +2091,7 @@ export type DtoRepos4UserBase = {
1900
2091
  language: string;
1901
2092
 
1902
2093
  /**仓库语言*/
1903
- languages: DtoRepoLanguage[];
2094
+ languages: any;
1904
2095
 
1905
2096
  /**最新代码更新人姓名*/
1906
2097
  last_update_nickname: string;
@@ -1922,6 +2113,9 @@ export type DtoRepos4UserBase = {
1922
2113
 
1923
2114
  /**完整仓库路径*/
1924
2115
  path: string;
2116
+
2117
+ /**第二语言*/
2118
+ second_languages: any;
1925
2119
  site: string;
1926
2120
  star_count: number;
1927
2121
  status: any;
@@ -2088,9 +2282,6 @@ export type DtoStartBuildReq = {
2088
2282
  /**事件名,必须是 api_trigger 或以 api_trigger_ 开头,默认为 `api_trigger`*/
2089
2283
  event: string;
2090
2284
 
2091
- /**是否跳过 git status 的上报*/
2092
- ignoreGitStatus: string;
2093
-
2094
2285
  /**commit id ,优先级比 tag 高,默认为分支最新提交记录*/
2095
2286
  sha: string;
2096
2287
 
@@ -2105,8 +2296,12 @@ export type DtoStatus = {
2105
2296
  /**预算单状态,0-没有预算单,1-正常,2-欠费被隔离,3-被销毁*/
2106
2297
  budget_status: any;
2107
2298
 
2108
- /**超限的资源,将该数字转成二进制,0001表示git存储超限,0010表示对象存储超限,0100表示ci超限,1000表示云原生开发超限*/
2109
- overruns: number;
2299
+ /**对应资源类型阈值状态*/
2300
+ threshold: any;
2301
+ };
2302
+
2303
+ export type DtoSyncUserData = {
2304
+ flag: boolean;
2110
2305
  };
2111
2306
 
2112
2307
  export type DtoSystemAcceleration = {
@@ -2132,6 +2327,8 @@ export type DtoTagDetail = {
2132
2327
  ohpm: DtoOhpmTagDetail;
2133
2328
  };
2134
2329
 
2330
+ export type DtoThreshold = "normal" | "warning-80" | "exceed";
2331
+
2135
2332
  export type DtoTimeVolume = {
2136
2333
  time_rfc3339: string;
2137
2334
  volume: string;
@@ -2270,6 +2467,7 @@ export type DtoUsersResult = {
2270
2467
  created_at: string;
2271
2468
  email: string;
2272
2469
  follow_count: number;
2470
+ follow_mission_count: number;
2273
2471
  follow_repo_count: number;
2274
2472
  follower_count: number;
2275
2473
  freeze: boolean;
@@ -2312,6 +2510,7 @@ export type DtoUsersResultForSelf = {
2312
2510
  editable: ConstantUserEditable;
2313
2511
  email: string;
2314
2512
  follow_count: number;
2513
+ follow_mission_count: number;
2315
2514
  follow_repo_count: number;
2316
2515
  follower_count: number;
2317
2516
  freeze: boolean;
@@ -2807,6 +3006,20 @@ export type WebAuthor = {
2807
3006
  user_name: string;
2808
3007
  };
2809
3008
 
3009
+ export type WebBlameRange = {
3010
+ age: number;
3011
+ commit: WebCommit;
3012
+ ending_line: number;
3013
+ starting_line: number;
3014
+ };
3015
+
3016
+ export type WebBlames = {
3017
+ file_size: number;
3018
+ file_size_exceeded: boolean;
3019
+ file_size_limit: number;
3020
+ ranges: WebBlameRange[];
3021
+ };
3022
+
2810
3023
  export type WebBranch = {
2811
3024
  commit: WebCommit;
2812
3025
  is_protected: boolean;
@@ -2854,105 +3067,42 @@ export type WebBranchPullRequest = {
2854
3067
  state: string;
2855
3068
  };
2856
3069
 
2857
- export type WebCodeSensitiveDetail = {
2858
- /**问题内容*/
2859
- content: string;
3070
+ export type WebCsDetail = {
3071
+ display_name: string;
3072
+ field: string;
3073
+ value: string;
3074
+ };
2860
3075
 
3076
+ export type WebCodeSensitiveDetail = {
2861
3077
  /**问题创建时间*/
2862
3078
  created_at: string;
2863
3079
 
2864
- /**问题描述*/
2865
- description: string;
2866
-
2867
- /**问题域*/
2868
- domain: string;
2869
-
2870
- /**包含问题的文件路径*/
2871
- file_path: string;
2872
-
2873
- /**默认分支信息*/
2874
- head_ref: any;
2875
-
2876
- /**问题 id,此id用来更新问题状态*/
2877
- info_id: string;
2878
-
2879
- /**问题类型*/
2880
- issue_type: string;
2881
- keen_attr: WebKeenAttr;
2882
-
2883
- /**问题行号*/
2884
- line_no: number[];
2885
-
2886
- /**问题发生版本*/
2887
- occur_version: string;
2888
-
2889
- /**问题责任人(平台信息)*/
2890
- owner: any;
2891
-
2892
- /**问题责任人原生git信息*/
2893
- raw_author: any;
2894
-
2895
- /**仓库 id*/
2896
- repo_id: string;
2897
-
2898
- /**问题所在版本*/
2899
- revision: string;
2900
-
2901
- /**问题等级*/
2902
- risk_level: string;
2903
-
2904
- /**问题状态 开启/忽略*/
2905
- state: string;
2906
-
2907
3080
  /**问题子类型*/
2908
- sub_class: string;
2909
-
2910
- /**扫描工具*/
2911
- tool: string;
2912
- };
3081
+ cs_sub_type: any;
2913
3082
 
2914
- export type WebCodeSensitiveDetailResp = {
2915
- /**问题详情*/
2916
- detail: any;
2917
-
2918
- /**忽略问题详情*/
2919
- ignore_detail: any;
2920
-
2921
- /**详情类型 开启中/已忽略*/
2922
- type: string;
2923
- };
2924
-
2925
- export type WebCodeSensitiveIgnoreDetail = {
2926
- /**问题内容*/
2927
- content: string;
2928
-
2929
- /**问题创建时间*/
2930
- created_at: string;
2931
-
2932
- /**问题描述*/
2933
- description: string;
3083
+ /**问题类型*/
3084
+ cs_type: any;
2934
3085
 
2935
- /**问题域*/
2936
- domain: string;
3086
+ /**包含问题的文件名*/
3087
+ file_name: string;
2937
3088
 
2938
3089
  /**包含问题的文件路径*/
2939
3090
  file_path: string;
2940
3091
 
2941
- /**默认分支信息*/
2942
- head_ref: any;
3092
+ /**忽略人(平台信息)*/
3093
+ handler: any;
2943
3094
 
2944
- /**忽略人*/
2945
- ignore_operator: any;
3095
+ /**问题id*/
3096
+ id: string;
2946
3097
 
2947
3098
  /**忽略原因*/
2948
3099
  ignore_reason: string;
2949
3100
 
2950
- /**问题 id,此id用来更新问题状态*/
2951
- info_id: string;
3101
+ /**忽略时间*/
3102
+ ignored_at: string;
2952
3103
 
2953
- /**问题类型*/
2954
- issue_type: string;
2955
- keen_attr: WebKeenAttr;
3104
+ /**问题详情*/
3105
+ issue_detail: WebCsDetail[];
2956
3106
 
2957
3107
  /**问题行号*/
2958
3108
  line_no: number[];
@@ -2966,8 +3116,11 @@ export type WebCodeSensitiveIgnoreDetail = {
2966
3116
  /**问题责任人原生git信息*/
2967
3117
  raw_author: any;
2968
3118
 
2969
- /**仓库 id*/
2970
- repo_id: string;
3119
+ /**重新开启时间*/
3120
+ reopen_at: string;
3121
+
3122
+ /**重新开启人*/
3123
+ reopen_handler: any;
2971
3124
 
2972
3125
  /**问题所在版本*/
2973
3126
  revision: string;
@@ -2978,9 +3131,6 @@ export type WebCodeSensitiveIgnoreDetail = {
2978
3131
  /**问题状态 开启/忽略*/
2979
3132
  state: string;
2980
3133
 
2981
- /**问题子类型*/
2982
- sub_class: string;
2983
-
2984
3134
  /**扫描工具*/
2985
3135
  tool: string;
2986
3136
  };
@@ -2989,6 +3139,9 @@ export type WebCodeSensitiveInfo = {
2989
3139
  /**问题创建时间*/
2990
3140
  created_at: string;
2991
3141
 
3142
+ /**包含问题的文件名*/
3143
+ file_name: string;
3144
+
2992
3145
  /**包含问题的文件路径*/
2993
3146
  file_path: string;
2994
3147
 
@@ -3023,6 +3176,14 @@ export type WebCodeSensitiveInfo = {
3023
3176
  tool: string;
3024
3177
  };
3025
3178
 
3179
+ export type WebCodeSensitiveSummary = {
3180
+ /**忽略问题数量*/
3181
+ ignored: number;
3182
+
3183
+ /**开启中问题数量*/
3184
+ open: number;
3185
+ };
3186
+
3026
3187
  export type WebCommit = {
3027
3188
  author: GitWoaComCnbMonorepoGitInternalAppGitServiceBffWebUserInfo;
3028
3189
  commit: WebCommitObject;
@@ -3076,16 +3237,24 @@ export type WebCommitObjectTree = {
3076
3237
  };
3077
3238
 
3078
3239
  export type WebCommitObjectVerification = {
3079
- payload: string;
3240
+ has_signature: boolean;
3241
+ key_id: string;
3080
3242
  reason: string;
3081
- signature: string;
3243
+ signed_by_cnb: boolean;
3244
+ signer: string;
3082
3245
  verified: boolean;
3246
+ verified_at: string;
3083
3247
  };
3084
3248
 
3085
3249
  export type WebCommitParent = {
3086
3250
  sha: string;
3087
3251
  };
3088
3252
 
3253
+ export type WebCommitRefs = {
3254
+ has_more: boolean;
3255
+ refs: string[];
3256
+ };
3257
+
3089
3258
  export type WebCommitStatus = {
3090
3259
  context: string;
3091
3260
  created_at: string;
@@ -3152,6 +3321,15 @@ export type WebCustomerField = {
3152
3321
  value: string;
3153
3322
  };
3154
3323
 
3324
+ export type WebDeferredCommit = {
3325
+ oid: string;
3326
+ signature_information: WebSignatureInformation;
3327
+ status_check_statuses: WebCommitStatuses;
3328
+
3329
+ /**one of `verified`, `unverified`, `unsigned`*/
3330
+ verified_status: string;
3331
+ };
3332
+
3155
3333
  export type WebDiff = {
3156
3334
  base_commit: string;
3157
3335
  file_exceeded: boolean;
@@ -3167,16 +3345,28 @@ export type WebDiffEntry = {
3167
3345
  file_index: number;
3168
3346
  insertions: number;
3169
3347
  is_bin: boolean;
3348
+ new_file: WebDiffEntryFile;
3349
+ old_file: WebDiffEntryFile;
3170
3350
  old_path: string;
3171
3351
  path: string;
3172
3352
  };
3173
3353
 
3354
+ export type WebDiffEntryFile = {
3355
+ is_binary: boolean;
3356
+ mode: string;
3357
+ oid: string;
3358
+ path: string;
3359
+ size: string;
3360
+ };
3361
+
3174
3362
  export type WebDiffFile = {
3175
3363
  change_type: string;
3176
3364
  deletions: number;
3177
3365
  file_index: number;
3178
3366
  insertions: number;
3179
3367
  is_bin: boolean;
3368
+ new_file: WebDiffEntryFile;
3369
+ old_file: WebDiffEntryFile;
3180
3370
  old_path: string;
3181
3371
  path: string;
3182
3372
  sections: WebDiffSection[];
@@ -3247,6 +3437,8 @@ export type WebFieldInfos = {
3247
3437
  export type WebFileContent = {
3248
3438
  branch_count: number;
3249
3439
  cnb_settings: WebPreloadFile;
3440
+ commit_count: number;
3441
+ commit_count_exceeded: boolean;
3250
3442
  content: string;
3251
3443
  encoding: string;
3252
3444
  file_size_exceeded: boolean;
@@ -3258,7 +3450,9 @@ export type WebFileContent = {
3258
3450
  /**如果当前访问的是分支,那么表示是否是保护分支*/
3259
3451
  is_protected: boolean;
3260
3452
  last_commit: WebCommit;
3453
+ lfs_hash_algorithm: string;
3261
3454
  lfs_oid: string;
3455
+ lfs_size_in_byte: string;
3262
3456
  name: string;
3263
3457
  path: string;
3264
3458
  repository: WebRepository;
@@ -3342,21 +3536,26 @@ export type WebGitHead = {
3342
3536
  branch: string;
3343
3537
  };
3344
3538
 
3345
- export type WebGitSize = {
3539
+ export type WebGitUsage = {
3540
+ git_object_size_limit_in_kib: string;
3541
+ git_quota_in_kib: string;
3542
+ git_used_in_kib: string;
3543
+
3544
+ /**deprecated*/
3346
3545
  lfs_limit_in_kib: string;
3546
+ lfs_object_size_limit_in_kib: string;
3547
+ lfs_quota_in_kib: string;
3347
3548
  lfs_used_in_kib: string;
3549
+
3550
+ /**deprecated*/
3348
3551
  limit_in_kib: string;
3349
3552
  logical_lfs_used_in_kib: string;
3553
+ max_git_object_size_limit_in_kib: string;
3554
+ max_lfs_object_size_limit_in_kib: string;
3350
3555
  physical_lfs_used_in_kib: string;
3351
- used_in_kib: string;
3352
- };
3353
-
3354
- export type WebHeadRef = {
3355
- /**分支hash*/
3356
- hash: string;
3357
3556
 
3358
- /**分支名称*/
3359
- ref: string;
3557
+ /**deprecated*/
3558
+ used_in_kib: string;
3360
3559
  };
3361
3560
 
3362
3561
  export type WebIssue = {
@@ -3364,10 +3563,12 @@ export type WebIssue = {
3364
3563
  author: GitWoaComCnbMonorepoGitInternalDtoWebUserInfo;
3365
3564
  comment_count: number;
3366
3565
  created_at: string;
3566
+ ended_at: string;
3367
3567
  labels: LabelOption[];
3368
3568
  last_acted_at: string;
3369
3569
  number: string;
3370
3570
  priority: string;
3571
+ started_at: string;
3371
3572
  state: string;
3372
3573
  state_reason: string;
3373
3574
  title: string;
@@ -3402,11 +3603,13 @@ export type WebIssueDetail = {
3402
3603
  body: string;
3403
3604
  comment_count: number;
3404
3605
  created_at: string;
3606
+ ended_at: string;
3405
3607
  labels: LabelOption[];
3406
3608
  last_acted_at: string;
3407
3609
  number: string;
3408
3610
  participants: GitWoaComCnbMonorepoGitInternalDtoWebUserInfo[];
3409
3611
  priority: string;
3612
+ started_at: string;
3410
3613
  state: string;
3411
3614
  state_reason: string;
3412
3615
  title: string;
@@ -3450,15 +3653,9 @@ export type WebIssueTemplates = {
3450
3653
  templates: WebIssueTemplate[];
3451
3654
  };
3452
3655
 
3453
- export type WebKeenAttr = {
3454
- /**秘钥对象是否加密*/
3455
- encrypted: boolean;
3456
-
3457
- /**URL 协议*/
3458
- scheme: string;
3459
-
3460
- /**文件类型标签*/
3461
- tag: string;
3656
+ export type WebIssueType = {
3657
+ color: string;
3658
+ name: string;
3462
3659
  };
3463
3660
 
3464
3661
  export type WebLfsFile = {
@@ -3522,6 +3719,7 @@ export type WebMeta = {
3522
3719
  export type WebMissionField = {
3523
3720
  interaction_type: DtoInteractionType;
3524
3721
  name: string;
3722
+ operators: DtoOperatorType[];
3525
3723
  value: any[];
3526
3724
  };
3527
3725
 
@@ -3582,6 +3780,7 @@ export type WebPullRequest = {
3582
3780
  commit_statuses: WebCommitStatuses;
3583
3781
  created_at: string;
3584
3782
  file_count: number;
3783
+ head_deleted: boolean;
3585
3784
  head_repo_ref: string;
3586
3785
  head_repo_slug: string;
3587
3786
  is_merged: boolean;
@@ -3649,6 +3848,7 @@ export type WebPullRequestDetail = {
3649
3848
  created_at: string;
3650
3849
  file_count: number;
3651
3850
  head: WebPullRequestRepository;
3851
+ head_deleted: boolean;
3652
3852
  head_repo_ref: string;
3653
3853
  head_repo_slug: string;
3654
3854
  is_merged: boolean;
@@ -3685,6 +3885,8 @@ export type WebPullRequestFiles = {
3685
3885
  };
3686
3886
 
3687
3887
  export type WebPullRequestRepository = {
3888
+ access_role: number;
3889
+ deleted: boolean;
3688
3890
  ref: string;
3689
3891
  slug: string;
3690
3892
  usage: WebRepositoryUsage;
@@ -3800,6 +4002,7 @@ export type WebPushLimitSettings = {
3800
4002
  allow_single_push_number: number;
3801
4003
  check_single_push_number: boolean;
3802
4004
  only_master_can_push_tag: boolean;
4005
+ push_committer_must_be: string;
3803
4006
  };
3804
4007
 
3805
4008
  export type WebRawAuthor = {
@@ -3902,6 +4105,7 @@ export type WebRepoContribTrend = {
3902
4105
  };
3903
4106
 
3904
4107
  export type WebRepoLanguage = {
4108
+ color: string;
3905
4109
  name: string;
3906
4110
  ratio: string;
3907
4111
  };
@@ -3934,6 +4138,18 @@ export type WebSignature = {
3934
4138
  name: string;
3935
4139
  };
3936
4140
 
4141
+ export type WebSignatureInformation = {
4142
+ has_signature: boolean;
4143
+ key_expired: boolean;
4144
+ key_id: string;
4145
+ signature_type: string;
4146
+ signature_verification_reason: string;
4147
+ signed_by_cnb: boolean;
4148
+ signer: GitWoaComCnbMonorepoGitInternalAppGitServiceBffWebUserInfo;
4149
+ verified: boolean;
4150
+ verified_at: string;
4151
+ };
4152
+
3937
4153
  export type WebSubEntry = {
3938
4154
  name: string;
3939
4155
  path: string;
@@ -3970,6 +4186,19 @@ export type WebTagObject = {
3970
4186
  message: string;
3971
4187
  tag: string;
3972
4188
  tagger: WebSignature;
4189
+ verification: WebTagObjectVerification;
4190
+ };
4191
+
4192
+ export type WebTagObjectVerification = {
4193
+ has_signature: boolean;
4194
+ key_expired: boolean;
4195
+ key_id: string;
4196
+ reason: string;
4197
+ signature_type: string;
4198
+ signed_by_cnb: boolean;
4199
+ signer: GitWoaComCnbMonorepoGitInternalAppGitServiceBffWebUserInfo;
4200
+ verified: boolean;
4201
+ verified_at: string;
3973
4202
  };
3974
4203
 
3975
4204
  export type WebTreeContent = {
@@ -4015,10 +4244,14 @@ export type WebTreeInfoEntry = {
4015
4244
  };
4016
4245
 
4017
4246
  export type WebUpdateGitQuotaForm = {
4247
+ git_object_size_limit_in_kib: string;
4248
+ git_quota_in_kib: string;
4018
4249
  quota_in_kib: number;
4019
4250
  };
4020
4251
 
4021
4252
  export type WebUpdateLfsQuotaForm = {
4253
+ lfs_object_size_limit_in_kib: string;
4254
+ lfs_quota_in_kib: string;
4022
4255
  quota_in_kib: number;
4023
4256
  };
4024
4257