@dcloudio/uni-app-x 0.7.30 → 0.7.32

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.
Files changed (42) hide show
  1. package/package.json +1 -1
  2. package/types/app.d.ts +10 -154
  3. package/types/native/IUniElement.d.ts +22 -0
  4. package/types/native/IUniNativeViewElement.d.ts +8 -8
  5. package/types/native/UniElement.d.ts +1 -0
  6. package/types/native/UniEvent.d.ts +7 -0
  7. package/types/native/UniRichTextItemClickEvent.d.ts +1 -5
  8. package/types/native/global.d.ts +3 -0
  9. package/types/page.d.ts +38 -182
  10. package/types/uni/uts-plugin-api/global.d.ts +1 -0
  11. package/types/uni/uts-plugin-api/index.d.ts +1 -0
  12. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +3 -3
  13. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +55 -59
  14. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +6 -7
  15. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +2 -2
  16. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +1 -1
  17. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +30 -0
  18. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1 -1
  19. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +2 -2
  20. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +2 -2
  21. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +1 -1
  22. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +2 -0
  23. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +1 -1
  24. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +30 -7
  25. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/global.d.ts +18 -0
  26. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/index.d.ts +9 -0
  27. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +136 -0
  28. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +2 -2
  29. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +80 -26
  30. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/global.d.ts +30 -0
  31. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/index.d.ts +14 -0
  32. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +273 -0
  33. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +1 -1
  34. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +1 -1
  35. package/types/uni/uts-plugin-biz/global.d.ts +1 -0
  36. package/types/uni/uts-plugin-biz/index.d.ts +1 -0
  37. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +198 -0
  38. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/interface.d.ts +2 -2
  39. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/global.d.ts +60 -0
  40. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/index.d.ts +29 -0
  41. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +454 -0
  42. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +7 -7
@@ -1,7 +1,3 @@
1
- import {
2
- Page,
3
- } from '@dcloudio/uni-runtime'
4
-
5
1
  /**
6
2
  * 路由错误码
7
3
  * - 4: 框架内部异常
@@ -30,12 +26,12 @@ export type OpenDialogPageOptions = {
30
26
  * "android": {
31
27
  * "osVer": "5.0",
32
28
  * "uniVer": "x",
33
- * "unixVer": "4.27"
29
+ * "unixVer": "4.31"
34
30
  * },
35
31
  * "ios": {
36
32
  * "osVer": "12.0",
37
33
  * "uniVer": "x",
38
- * "unixVer": "4.27"
34
+ * "unixVer": "4.31"
39
35
  * },
40
36
  * "harmony": {
41
37
  * "osVer": "3.0",
@@ -87,7 +83,7 @@ export type OpenDialogPageOptions = {
87
83
  * },
88
84
  * "web": {
89
85
  * "uniVer": "x",
90
- * "unixVer": "4.27"
86
+ * "unixVer": "4.31"
91
87
  * }
92
88
  * }
93
89
  */
@@ -100,12 +96,12 @@ export type OpenDialogPageOptions = {
100
96
  * "android": {
101
97
  * "osVer": "5.0",
102
98
  * "uniVer": "x",
103
- * "unixVer": "4.27"
99
+ * "unixVer": "4.31"
104
100
  * },
105
101
  * "ios": {
106
102
  * "osVer": "12.0",
107
103
  * "uniVer": "x",
108
- * "unixVer": "4.27"
104
+ * "unixVer": "4.31"
109
105
  * },
110
106
  * "harmony": {
111
107
  * "osVer": "3.0",
@@ -157,7 +153,7 @@ export type OpenDialogPageOptions = {
157
153
  * },
158
154
  * "web": {
159
155
  * "uniVer": "x",
160
- * "unixVer": "4.27"
156
+ * "unixVer": "4.31"
161
157
  * }
162
158
  * }
163
159
  */
@@ -205,12 +201,12 @@ export type OpenDialogPageOptions = {
205
201
  * "android": {
206
202
  * "osVer": "5.0",
207
203
  * "uniVer": "x",
208
- * "unixVer": "4.27"
204
+ * "unixVer": "4.31"
209
205
  * },
210
206
  * "ios": {
211
207
  * "osVer": "12.0",
212
208
  * "uniVer": "x",
213
- * "unixVer": "4.27"
209
+ * "unixVer": "4.31"
214
210
  * },
215
211
  * "harmony": {
216
212
  * "osVer": "3.0",
@@ -262,7 +258,7 @@ export type OpenDialogPageOptions = {
262
258
  * },
263
259
  * "web": {
264
260
  * "uniVer": "x",
265
- * "unixVer": "4.27"
261
+ * "unixVer": "4.31"
266
262
  * }
267
263
  * }
268
264
  */
@@ -274,12 +270,12 @@ export type OpenDialogPageOptions = {
274
270
  * "android": {
275
271
  * "osVer": "5.0",
276
272
  * "uniVer": "x",
277
- * "unixVer": "4.27"
273
+ * "unixVer": "4.31"
278
274
  * },
279
275
  * "ios": {
280
276
  * "osVer": "12.0",
281
277
  * "uniVer": "x",
282
- * "unixVer": "4.27"
278
+ * "unixVer": "4.31"
283
279
  * },
284
280
  * "harmony": {
285
281
  * "osVer": "3.0",
@@ -331,7 +327,7 @@ export type OpenDialogPageOptions = {
331
327
  * },
332
328
  * "web": {
333
329
  * "uniVer": "x",
334
- * "unixVer": "4.27"
330
+ * "unixVer": "4.31"
335
331
  * }
336
332
  * }
337
333
  */
@@ -344,12 +340,12 @@ export type OpenDialogPageOptions = {
344
340
  * "android": {
345
341
  * "osVer": "5.0",
346
342
  * "uniVer": "x",
347
- * "unixVer": "4.27"
343
+ * "unixVer": "4.31"
348
344
  * },
349
345
  * "ios": {
350
346
  * "osVer": "12.0",
351
347
  * "uniVer": "x",
352
- * "unixVer": "4.27"
348
+ * "unixVer": "4.31"
353
349
  * },
354
350
  * "harmony": {
355
351
  * "osVer": "3.0",
@@ -401,11 +397,11 @@ export type OpenDialogPageOptions = {
401
397
  * },
402
398
  * "web": {
403
399
  * "uniVer": "x",
404
- * "unixVer": "4.27"
400
+ * "unixVer": "4.31"
405
401
  * }
406
402
  * }
407
403
  */
408
- parentPage ?: Page | null
404
+ parentPage?: UniPage | null
409
405
 
410
406
  /**
411
407
  * 页面间通信接口,用于监听被打开页面发送到当前页面的数据
@@ -414,12 +410,12 @@ export type OpenDialogPageOptions = {
414
410
  * "android": {
415
411
  * "osVer": "5.0",
416
412
  * "uniVer": "x",
417
- * "unixVer": "4.27"
413
+ * "unixVer": "4.31"
418
414
  * },
419
415
  * "ios": {
420
416
  * "osVer": "12.0",
421
417
  * "uniVer": "x",
422
- * "unixVer": "4.27"
418
+ * "unixVer": "4.31"
423
419
  * },
424
420
  * "harmony": {
425
421
  * "osVer": "3.0",
@@ -471,7 +467,7 @@ export type OpenDialogPageOptions = {
471
467
  * },
472
468
  * "web": {
473
469
  * "uniVer": "x",
474
- * "unixVer": "4.27"
470
+ * "unixVer": "4.31"
475
471
  * }
476
472
  * }
477
473
  */
@@ -483,12 +479,12 @@ export type OpenDialogPageOptions = {
483
479
  * "android": {
484
480
  * "osVer": "5.0",
485
481
  * "uniVer": "x",
486
- * "unixVer": "4.27"
482
+ * "unixVer": "4.31"
487
483
  * },
488
484
  * "ios": {
489
485
  * "osVer": "12.0",
490
486
  * "uniVer": "x",
491
- * "unixVer": "4.27"
487
+ * "unixVer": "4.31"
492
488
  * },
493
489
  * "harmony": {
494
490
  * "osVer": "3.0",
@@ -540,7 +536,7 @@ export type OpenDialogPageOptions = {
540
536
  * },
541
537
  * "web": {
542
538
  * "uniVer": "x",
543
- * "unixVer": "4.27"
539
+ * "unixVer": "4.31"
544
540
  * }
545
541
  * }
546
542
  */
@@ -552,12 +548,12 @@ export type OpenDialogPageOptions = {
552
548
  * "android": {
553
549
  * "osVer": "5.0",
554
550
  * "uniVer": "x",
555
- * "unixVer": "4.27"
551
+ * "unixVer": "4.31"
556
552
  * },
557
553
  * "ios": {
558
554
  * "osVer": "12.0",
559
555
  * "uniVer": "x",
560
- * "unixVer": "4.27"
556
+ * "unixVer": "4.31"
561
557
  * },
562
558
  * "harmony": {
563
559
  * "osVer": "3.0",
@@ -609,7 +605,7 @@ export type OpenDialogPageOptions = {
609
605
  * },
610
606
  * "web": {
611
607
  * "uniVer": "x",
612
- * "unixVer": "4.27"
608
+ * "unixVer": "4.31"
613
609
  * }
614
610
  * }
615
611
  */
@@ -621,12 +617,12 @@ export type OpenDialogPageOptions = {
621
617
  * "android": {
622
618
  * "osVer": "5.0",
623
619
  * "uniVer": "x",
624
- * "unixVer": "4.27"
620
+ * "unixVer": "4.31"
625
621
  * },
626
622
  * "ios": {
627
623
  * "osVer": "12.0",
628
624
  * "uniVer": "x",
629
- * "unixVer": "4.27"
625
+ * "unixVer": "4.31"
630
626
  * },
631
627
  * "harmony": {
632
628
  * "osVer": "3.0",
@@ -678,7 +674,7 @@ export type OpenDialogPageOptions = {
678
674
  * },
679
675
  * "web": {
680
676
  * "uniVer": "x",
681
- * "unixVer": "4.27"
677
+ * "unixVer": "4.31"
682
678
  * }
683
679
  * }
684
680
  */
@@ -703,12 +699,12 @@ export type CloseDialogPageOptions = {
703
699
  * "android": {
704
700
  * "osVer": "5.0",
705
701
  * "uniVer": "x",
706
- * "unixVer": "4.27"
702
+ * "unixVer": "4.31"
707
703
  * },
708
704
  * "ios": {
709
705
  * "osVer": "12.0",
710
706
  * "uniVer": "x",
711
- * "unixVer": "4.27"
707
+ * "unixVer": "4.31"
712
708
  * },
713
709
  * "harmony": {
714
710
  * "osVer": "3.0",
@@ -760,7 +756,7 @@ export type CloseDialogPageOptions = {
760
756
  * },
761
757
  * "web": {
762
758
  * "uniVer": "x",
763
- * "unixVer": "4.27"
759
+ * "unixVer": "4.31"
764
760
  * }
765
761
  * }
766
762
  */
@@ -782,12 +778,12 @@ export type CloseDialogPageOptions = {
782
778
  * "android": {
783
779
  * "osVer": "5.0",
784
780
  * "uniVer": "x",
785
- * "unixVer": "4.27"
781
+ * "unixVer": "4.31"
786
782
  * },
787
783
  * "ios": {
788
784
  * "osVer": "12.0",
789
785
  * "uniVer": "x",
790
- * "unixVer": "4.27"
786
+ * "unixVer": "4.31"
791
787
  * },
792
788
  * "harmony": {
793
789
  * "osVer": "3.0",
@@ -839,7 +835,7 @@ export type CloseDialogPageOptions = {
839
835
  * },
840
836
  * "web": {
841
837
  * "uniVer": "x",
842
- * "unixVer": "4.27"
838
+ * "unixVer": "4.31"
843
839
  * }
844
840
  * }
845
841
  */
@@ -887,12 +883,12 @@ export type CloseDialogPageOptions = {
887
883
  * "android": {
888
884
  * "osVer": "5.0",
889
885
  * "uniVer": "x",
890
- * "unixVer": "4.27"
886
+ * "unixVer": "4.31"
891
887
  * },
892
888
  * "ios": {
893
889
  * "osVer": "12.0",
894
890
  * "uniVer": "x",
895
- * "unixVer": "4.27"
891
+ * "unixVer": "4.31"
896
892
  * },
897
893
  * "harmony": {
898
894
  * "osVer": "3.0",
@@ -944,7 +940,7 @@ export type CloseDialogPageOptions = {
944
940
  * },
945
941
  * "web": {
946
942
  * "uniVer": "x",
947
- * "unixVer": "4.27"
943
+ * "unixVer": "4.31"
948
944
  * }
949
945
  * }
950
946
  */
@@ -956,12 +952,12 @@ export type CloseDialogPageOptions = {
956
952
  * "android": {
957
953
  * "osVer": "5.0",
958
954
  * "uniVer": "x",
959
- * "unixVer": "4.27"
955
+ * "unixVer": "4.31"
960
956
  * },
961
957
  * "ios": {
962
958
  * "osVer": "12.0",
963
959
  * "uniVer": "x",
964
- * "unixVer": "4.27"
960
+ * "unixVer": "4.31"
965
961
  * },
966
962
  * "harmony": {
967
963
  * "osVer": "3.0",
@@ -1013,7 +1009,7 @@ export type CloseDialogPageOptions = {
1013
1009
  * },
1014
1010
  * "web": {
1015
1011
  * "uniVer": "x",
1016
- * "unixVer": "4.27"
1012
+ * "unixVer": "4.31"
1017
1013
  * }
1018
1014
  * }
1019
1015
  */
@@ -1025,12 +1021,12 @@ export type CloseDialogPageOptions = {
1025
1021
  * "android": {
1026
1022
  * "osVer": "5.0",
1027
1023
  * "uniVer": "x",
1028
- * "unixVer": "4.27"
1024
+ * "unixVer": "4.31"
1029
1025
  * },
1030
1026
  * "ios": {
1031
1027
  * "osVer": "12.0",
1032
1028
  * "uniVer": "x",
1033
- * "unixVer": "4.27"
1029
+ * "unixVer": "4.31"
1034
1030
  * },
1035
1031
  * "harmony": {
1036
1032
  * "osVer": "3.0",
@@ -1082,7 +1078,7 @@ export type CloseDialogPageOptions = {
1082
1078
  * },
1083
1079
  * "web": {
1084
1080
  * "uniVer": "x",
1085
- * "unixVer": "4.27"
1081
+ * "unixVer": "4.31"
1086
1082
  * }
1087
1083
  * }
1088
1084
  */
@@ -1094,12 +1090,12 @@ export type CloseDialogPageOptions = {
1094
1090
  * "android": {
1095
1091
  * "osVer": "5.0",
1096
1092
  * "uniVer": "x",
1097
- * "unixVer": "4.27"
1093
+ * "unixVer": "4.31"
1098
1094
  * },
1099
1095
  * "ios": {
1100
1096
  * "osVer": "12.0",
1101
1097
  * "uniVer": "x",
1102
- * "unixVer": "4.27"
1098
+ * "unixVer": "4.31"
1103
1099
  * },
1104
1100
  * "harmony": {
1105
1101
  * "osVer": "3.0",
@@ -1151,7 +1147,7 @@ export type CloseDialogPageOptions = {
1151
1147
  * },
1152
1148
  * "web": {
1153
1149
  * "uniVer": "x",
1154
- * "unixVer": "4.27"
1150
+ * "unixVer": "4.31"
1155
1151
  * }
1156
1152
  * }
1157
1153
  */
@@ -1163,12 +1159,12 @@ export type CloseDialogPageOptions = {
1163
1159
  * "android": {
1164
1160
  * "osVer": "5.0",
1165
1161
  * "uniVer": "x",
1166
- * "unixVer": "4.27"
1162
+ * "unixVer": "4.31"
1167
1163
  * },
1168
1164
  * "ios": {
1169
1165
  * "osVer": "12.0",
1170
1166
  * "uniVer": "x",
1171
- * "unixVer": "4.27"
1167
+ * "unixVer": "4.31"
1172
1168
  * },
1173
1169
  * "harmony": {
1174
1170
  * "osVer": "3.0",
@@ -1220,7 +1216,7 @@ export type CloseDialogPageOptions = {
1220
1216
  * },
1221
1217
  * "web": {
1222
1218
  * "uniVer": "x",
1223
- * "unixVer": "4.27"
1219
+ * "unixVer": "4.31"
1224
1220
  * }
1225
1221
  * }
1226
1222
  */
@@ -1237,12 +1233,12 @@ export interface Uni {
1237
1233
  * "android": {
1238
1234
  * "osVer": "5.0",
1239
1235
  * "uniVer": "x",
1240
- * "unixVer": "4.27"
1236
+ * "unixVer": "4.31"
1241
1237
  * },
1242
1238
  * "ios": {
1243
1239
  * "osVer": "12.0",
1244
1240
  * "uniVer": "x",
1245
- * "unixVer": "4.27"
1241
+ * "unixVer": "4.31"
1246
1242
  * },
1247
1243
  * "harmony": {
1248
1244
  * "osVer": "3.0",
@@ -1294,7 +1290,7 @@ export interface Uni {
1294
1290
  * },
1295
1291
  * "web": {
1296
1292
  * "uniVer": "x",
1297
- * "unixVer": "4.27"
1293
+ * "unixVer": "4.31"
1298
1294
  * }
1299
1295
  * }
1300
1296
  */
@@ -1309,12 +1305,12 @@ export interface Uni {
1309
1305
  * "android": {
1310
1306
  * "osVer": "5.0",
1311
1307
  * "uniVer": "x",
1312
- * "unixVer": "4.27"
1308
+ * "unixVer": "4.31"
1313
1309
  * },
1314
1310
  * "ios": {
1315
1311
  * "osVer": "12.0",
1316
1312
  * "uniVer": "x",
1317
- * "unixVer": "4.27"
1313
+ * "unixVer": "4.31"
1318
1314
  * },
1319
1315
  * "harmony": {
1320
1316
  * "osVer": "3.0",
@@ -1366,7 +1362,7 @@ export interface Uni {
1366
1362
  * },
1367
1363
  * "web": {
1368
1364
  * "uniVer": "x",
1369
- * "unixVer": "4.27"
1365
+ * "unixVer": "4.31"
1370
1366
  * }
1371
1367
  * }
1372
1368
  */
@@ -1,11 +1,10 @@
1
1
  type $OnCallback = Function
2
- export type $On = (eventName: string, callback: $OnCallback) => void
2
+ export type $On = (eventName: string, callback: $OnCallback) => number
3
3
 
4
4
  type $OnceCallback = Function
5
- export type $Once = (eventName: string, callback: $OnceCallback) => void
5
+ export type $Once = (eventName: string, callback: $OnceCallback) => number
6
6
 
7
- type $OffCallback = Function
8
- export type $Off = (eventName: string, callback?: $OffCallback | null) => void
7
+ export type $Off = (eventName: string, callback?: any | null) => void
9
8
 
10
9
  export type $Emit = (eventName: string, args: any | null) => void
11
10
 
@@ -82,7 +81,7 @@ export interface Uni {
82
81
  * }
83
82
  * }
84
83
  */
85
- $on(eventName: string, callback: $OnCallback): void
84
+ $on(eventName: string, callback: $OnCallback): number
86
85
  /**
87
86
  * 移除自定义事件监听器。如果提供了事件名和回调,则只移除这个回调的监听器。
88
87
  * 4.13+ 开始支持第二个参数为可选,如果仅提供事件名,则移除该事件的所有监听器。
@@ -155,7 +154,7 @@ export interface Uni {
155
154
  * }
156
155
  * }
157
156
  */
158
- $off(eventName: string, callback?: $OffCallback | null): void
157
+ $off(eventName: string, callback?: any | null): void
159
158
  /**
160
159
  * 监听一个自定义事件。事件只触发一次,在第一次触发之后移除事件监听器。
161
160
  *
@@ -228,7 +227,7 @@ export interface Uni {
228
227
  * }
229
228
  * }
230
229
  */
231
- $once(eventName: string, callback: $OnceCallback): void
230
+ $once(eventName: string, callback: $OnceCallback): number
232
231
  /**
233
232
  * 触发自定义事件,附加的参数会传递给事件监听器。
234
233
  *
@@ -777,9 +777,9 @@ export type EntryItem = {
777
777
  path : string
778
778
  /**
779
779
  * 指定写入文件的字符编码
780
- * 支持:ascii base64 utf-8
780
+ * 支持:ascii base64 utf-8;如果不传 encoding,则以 ArrayBuffer 格式读取文件的二进制内容
781
781
  */
782
- encoding : "ascii" | "base64" | "base64",
782
+ encoding ?: "ascii" | "base64" | "utf-8" | null,
783
783
  // /** 指定文件的长度,如果不指定,则读到文件末尾。有效范围:[1, fileLength]。单位:byte */
784
784
  // length ?: number
785
785
  // /** 从文件指定位置开始读,如果不指定,则从文件头开始读。读取的范围应该是左闭右开区间 [position, position+length)。有效范围:[0, fileLength - 1]。单位:byte */
@@ -19,7 +19,7 @@ export interface Uni {
19
19
  * },
20
20
  * "harmony": {
21
21
  * "osVer": "3.0",
22
- * "uniVer": "4.28",
22
+ * "uniVer": "4.31",
23
23
  * "unixVer": "x"
24
24
  * }
25
25
  * },
@@ -765,6 +765,36 @@ export type GetAppBaseInfoResult = {
765
765
  * }
766
766
  */
767
767
  appTheme?: 'light' | 'dark' | 'auto' | null,
768
+
769
+ /**
770
+ * 当前应用分发的渠道
771
+ *
772
+ * @uniPlatform
773
+ * {
774
+ * "app": {
775
+ * "android": {
776
+ * "osVer": "5.0",
777
+ * "uniVer": "x",
778
+ * "unixVer": "4.28"
779
+ * },
780
+ * "ios": {
781
+ * "osVer": "12.0",
782
+ * "uniVer": "x",
783
+ * "unixVer": "4.31"
784
+ * },
785
+ * "harmony": {
786
+ * "osVer": "x",
787
+ * "uniVer": "x",
788
+ * "unixVer": "x"
789
+ * }
790
+ * },
791
+ * "web": {
792
+ * "uniVer": "x",
793
+ * "unixVer": "x"
794
+ * }
795
+ * }
796
+ */
797
+ channel?: string,
768
798
  }
769
799
 
770
800
  /**
@@ -19,7 +19,7 @@ export interface Uni {
19
19
  * },
20
20
  * "harmony": {
21
21
  * "osVer": "3.0",
22
- * "uniVer": "4.25",
22
+ * "uniVer": "4.31",
23
23
  * "unixVer": "x"
24
24
  * }
25
25
  * },
@@ -18,7 +18,7 @@ export type OnShowOptions = {
18
18
  * },
19
19
  * "harmony": {
20
20
  * "osVer": "3,0",
21
- * "uniVer": "4.28",
21
+ * "uniVer": "4.31",
22
22
  * "unixVer": "x"
23
23
  * }
24
24
  * },
@@ -134,7 +134,7 @@ export interface Uni {
134
134
  * },
135
135
  * "harmony": {
136
136
  * "osVer": "3,0",
137
- * "uniVer": "4.28",
137
+ * "uniVer": "4.31",
138
138
  * "unixVer": "x"
139
139
  * }
140
140
  * },
@@ -19,7 +19,7 @@ export type OnLaunchOptions = {
19
19
  * },
20
20
  * "harmony": {
21
21
  * "osVer": "3,0",
22
- * "uniVer": "4.28",
22
+ * "uniVer": "4.31",
23
23
  * "unixVer": "x"
24
24
  * }
25
25
  * },
@@ -138,7 +138,7 @@ export interface Uni {
138
138
  * },
139
139
  * "harmony": {
140
140
  * "osVer": "3,0",
141
- * "uniVer": "4.28",
141
+ * "uniVer": "4.31",
142
142
  * "unixVer": "x"
143
143
  * }
144
144
  * },
@@ -20,7 +20,7 @@ export interface Uni {
20
20
  * },
21
21
  * "harmony": {
22
22
  * "osVer": "3.0",
23
- * "uniVer": "4.25",
23
+ * "uniVer": "4.31",
24
24
  * "unixVer": "x"
25
25
  * }
26
26
  * },
@@ -2282,5 +2282,7 @@ export type GetWindowInfoResult = {
2282
2282
  * }
2283
2283
  * }
2284
2284
  */
2285
+ // #ifdef UNI-APP-X
2285
2286
  cutoutArea: Array<CutoutRect> | null
2287
+ // #endif
2286
2288
  };
@@ -189,7 +189,7 @@ export interface Uni {
189
189
  * },
190
190
  * "harmony": {
191
191
  * "osVer": "3.0",
192
- * "uniVer": "4.28",
192
+ * "uniVer": "4.31",
193
193
  * "unixVer": "x"
194
194
  * }
195
195
  * },