@dcloudio/uni-app-x 0.7.118 → 0.7.120

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 (22) hide show
  1. package/package.json +1 -1
  2. package/types/dom2-internal/sharedData.d.ts +9 -3
  3. package/types/uni/uts-plugin-api/global.d.ts +0 -2
  4. package/types/uni/uts-plugin-api/index.d.ts +0 -2
  5. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/interface.d.ts +110 -110
  6. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +214 -549
  7. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +198 -1087
  8. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +534 -337
  9. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/global.d.ts +4 -4
  10. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/index.d.ts +2 -2
  11. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +27 -20
  12. package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/interface.d.ts +3 -1
  13. package/types/uni/uts-plugin-component/global.d.ts +0 -2
  14. package/types/uni/uts-plugin-component/index.d.ts +0 -2
  15. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +110 -110
  16. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/interface.d.ts +569 -110
  17. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/interface.d.ts +1087 -198
  18. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/interface.d.ts +478 -15
  19. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/global.d.ts +4 -4
  20. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/index.d.ts +2 -2
  21. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/interface.d.ts +27 -20
  22. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/interface.d.ts +3 -1
@@ -1,6 +1,72 @@
1
1
  /**
2
2
  * 设置页面滚动错误码
3
3
  * - 4: 框架内部异常
4
+ * @uniPlatform {
5
+ * "app": {
6
+ * "android": {
7
+ * "osVer": "5.0",
8
+ * "uniVer": "√",
9
+ * "unixVer": "3.91"
10
+ * },
11
+ * "ios": {
12
+ * "osVer": "12.0",
13
+ * "uniVer": "√",
14
+ * "unixVer": "4.11"
15
+ * },
16
+ * "harmony": {
17
+ * "osVer": "3.0",
18
+ * "uniVer": "4.23",
19
+ * "unixVer": "4.61",
20
+ * "unixVaporVer": "5.00"
21
+ * }
22
+ * },
23
+ * "mp": {
24
+ * "weixin": {
25
+ * "hostVer": "√",
26
+ * "uniVer": "√",
27
+ * "unixVer": "4.41"
28
+ * },
29
+ * "alipay": {
30
+ * "hostVer": "√",
31
+ * "uniVer": "√",
32
+ * "unixVer": "x"
33
+ * },
34
+ * "baidu": {
35
+ * "hostVer": "√",
36
+ * "uniVer": "√",
37
+ * "unixVer": "x"
38
+ * },
39
+ * "toutiao": {
40
+ * "hostVer": "√",
41
+ * "uniVer": "√",
42
+ * "unixVer": "x"
43
+ * },
44
+ * "lark": {
45
+ * "hostVer": "√",
46
+ * "uniVer": "√",
47
+ * "unixVer": "x"
48
+ * },
49
+ * "qq": {
50
+ * "hostVer": "√",
51
+ * "uniVer": "√",
52
+ * "unixVer": "x"
53
+ * },
54
+ * "kuaishou": {
55
+ * "hostVer": "√",
56
+ * "uniVer": "√",
57
+ * "unixVer": "x"
58
+ * },
59
+ * "jd": {
60
+ * "hostVer": "√",
61
+ * "uniVer": "√",
62
+ * "unixVer": "x"
63
+ * }
64
+ * },
65
+ * "web": {
66
+ * "uniVer": "√",
67
+ * "unixVer": "4.0"
68
+ * }
69
+ * }
4
70
  */
5
71
  export type PageScrollToErrorCode = 4
6
72
  export interface PageScrollToFail extends IUniError {
@@ -17,11 +83,143 @@ export type PageScrollToCompleteCallback = (
17
83
  ) => void
18
84
  export type PageScrollToOptions = {
19
85
  /**
20
- * 滚动到页面的目标位置
86
+ * 滚动到页面的目标位置(单位px)
87
+ * @uniPlatform {
88
+ * "app": {
89
+ * "android": {
90
+ * "osVer": "5.0",
91
+ * "uniVer": "√",
92
+ * "unixVer": "3.91"
93
+ * },
94
+ * "ios": {
95
+ * "osVer": "12.0",
96
+ * "uniVer": "√",
97
+ * "unixVer": "4.11"
98
+ * },
99
+ * "harmony": {
100
+ * "osVer": "3.0",
101
+ * "uniVer": "4.23",
102
+ * "unixVer": "4.61",
103
+ * "unixVaporVer": "5.00"
104
+ * }
105
+ * },
106
+ * "mp": {
107
+ * "weixin": {
108
+ * "hostVer": "√",
109
+ * "uniVer": "√",
110
+ * "unixVer": "4.41"
111
+ * },
112
+ * "alipay": {
113
+ * "hostVer": "√",
114
+ * "uniVer": "√",
115
+ * "unixVer": "x"
116
+ * },
117
+ * "baidu": {
118
+ * "hostVer": "√",
119
+ * "uniVer": "√",
120
+ * "unixVer": "x"
121
+ * },
122
+ * "toutiao": {
123
+ * "hostVer": "√",
124
+ * "uniVer": "√",
125
+ * "unixVer": "x"
126
+ * },
127
+ * "lark": {
128
+ * "hostVer": "√",
129
+ * "uniVer": "√",
130
+ * "unixVer": "x"
131
+ * },
132
+ * "qq": {
133
+ * "hostVer": "√",
134
+ * "uniVer": "√",
135
+ * "unixVer": "x"
136
+ * },
137
+ * "kuaishou": {
138
+ * "hostVer": "√",
139
+ * "uniVer": "√",
140
+ * "unixVer": "x"
141
+ * },
142
+ * "jd": {
143
+ * "hostVer": "√",
144
+ * "uniVer": "√",
145
+ * "unixVer": "x"
146
+ * }
147
+ * },
148
+ * "web": {
149
+ * "uniVer": "√",
150
+ * "unixVer": "4.0"
151
+ * }
152
+ * }
21
153
  */
22
154
  scrollTop?: number | null
23
155
  /**
24
- * 选择器
156
+ * 元素选择器,用于指定要滚动到的元素位置
157
+ * @uniPlatform {
158
+ * "app": {
159
+ * "android": {
160
+ * "osVer": "5.0",
161
+ * "uniVer": "√",
162
+ * "unixVer": "3.91"
163
+ * },
164
+ * "ios": {
165
+ * "osVer": "12.0",
166
+ * "uniVer": "√",
167
+ * "unixVer": "4.11"
168
+ * },
169
+ * "harmony": {
170
+ * "osVer": "3.0",
171
+ * "uniVer": "4.23",
172
+ * "unixVer": "4.61",
173
+ * "unixVaporVer": "5.00"
174
+ * }
175
+ * },
176
+ * "mp": {
177
+ * "weixin": {
178
+ * "hostVer": "√",
179
+ * "uniVer": "√",
180
+ * "unixVer": "4.41"
181
+ * },
182
+ * "alipay": {
183
+ * "hostVer": "√",
184
+ * "uniVer": "√",
185
+ * "unixVer": "x"
186
+ * },
187
+ * "baidu": {
188
+ * "hostVer": "√",
189
+ * "uniVer": "√",
190
+ * "unixVer": "x"
191
+ * },
192
+ * "toutiao": {
193
+ * "hostVer": "√",
194
+ * "uniVer": "√",
195
+ * "unixVer": "x"
196
+ * },
197
+ * "lark": {
198
+ * "hostVer": "√",
199
+ * "uniVer": "√",
200
+ * "unixVer": "x"
201
+ * },
202
+ * "qq": {
203
+ * "hostVer": "√",
204
+ * "uniVer": "√",
205
+ * "unixVer": "x"
206
+ * },
207
+ * "kuaishou": {
208
+ * "hostVer": "√",
209
+ * "uniVer": "√",
210
+ * "unixVer": "x"
211
+ * },
212
+ * "jd": {
213
+ * "hostVer": "√",
214
+ * "uniVer": "√",
215
+ * "unixVer": "x"
216
+ * }
217
+ * },
218
+ * "web": {
219
+ * "uniVer": "√",
220
+ * "unixVer": "4.0"
221
+ * }
222
+ * }
25
223
  */
26
224
  selector?: string | null
27
225
  /**
@@ -60,30 +258,217 @@ export type PageScrollToOptions = {
60
258
  */
61
259
  offsetTop?: number | null
62
260
  /**
63
- * 滚动动画的时长
261
+ * 滚动动画的时长,默认300,单位 ms
262
+ * @uniPlatform {
263
+ * "app": {
264
+ * "android": {
265
+ * "osVer": "5.0",
266
+ * "uniVer": "√",
267
+ * "unixVer": "x"
268
+ * },
269
+ * "ios": {
270
+ * "osVer": "12.0",
271
+ * "uniVer": "√",
272
+ * "unixVer": "x"
273
+ * },
274
+ * "harmony": {
275
+ * "osVer": "3.0",
276
+ * "uniVer": "4.23",
277
+ * "unixVer": "x",
278
+ * "unixVaporVer": "x"
279
+ * }
280
+ * },
281
+ * "mp": {
282
+ * "weixin": {
283
+ * "hostVer": "√",
284
+ * "uniVer": "√",
285
+ * "unixVer": "4.41"
286
+ * },
287
+ * "alipay": {
288
+ * "hostVer": "√",
289
+ * "uniVer": "√",
290
+ * "unixVer": "x"
291
+ * },
292
+ * "baidu": {
293
+ * "hostVer": "√",
294
+ * "uniVer": "√",
295
+ * "unixVer": "x"
296
+ * },
297
+ * "toutiao": {
298
+ * "hostVer": "√",
299
+ * "uniVer": "√",
300
+ * "unixVer": "x"
301
+ * },
302
+ * "lark": {
303
+ * "hostVer": "√",
304
+ * "uniVer": "√",
305
+ * "unixVer": "x"
306
+ * },
307
+ * "qq": {
308
+ * "hostVer": "√",
309
+ * "uniVer": "√",
310
+ * "unixVer": "x"
311
+ * },
312
+ * "kuaishou": {
313
+ * "hostVer": "√",
314
+ * "uniVer": "√",
315
+ * "unixVer": "x"
316
+ * },
317
+ * "jd": {
318
+ * "hostVer": "√",
319
+ * "uniVer": "√",
320
+ * "unixVer": "x"
321
+ * }
322
+ * },
323
+ * "web": {
324
+ * "uniVer": "√",
325
+ * "unixVer": "4.0"
326
+ * }
327
+ * }
64
328
  */
65
329
  duration?: number | null
66
330
  /**
67
331
  * 接口调用成功的回调函数
332
+ * @uniPlatform {
333
+ * "app": {
334
+ * "android": {
335
+ * "osVer": "5.0",
336
+ * "uniVer": "√",
337
+ * "unixVer": "3.91"
338
+ * },
339
+ * "ios": {
340
+ * "osVer": "12.0",
341
+ * "uniVer": "√",
342
+ * "unixVer": "4.11"
343
+ * },
344
+ * "harmony": {
345
+ * "osVer": "3.0",
346
+ * "uniVer": "4.23",
347
+ * "unixVer": "4.61",
348
+ * "unixVaporVer": "5.00"
349
+ * }
350
+ * },
351
+ * "mp": {
352
+ * "weixin": {
353
+ * "hostVer": "√",
354
+ * "uniVer": "√",
355
+ * "unixVer": "4.41"
356
+ * },
357
+ * "alipay": {
358
+ * "hostVer": "√",
359
+ * "uniVer": "√",
360
+ * "unixVer": "x"
361
+ * },
362
+ * "baidu": {
363
+ * "hostVer": "√",
364
+ * "uniVer": "√",
365
+ * "unixVer": "x"
366
+ * },
367
+ * "toutiao": {
368
+ * "hostVer": "√",
369
+ * "uniVer": "√",
370
+ * "unixVer": "x"
371
+ * },
372
+ * "lark": {
373
+ * "hostVer": "√",
374
+ * "uniVer": "√",
375
+ * "unixVer": "x"
376
+ * },
377
+ * "qq": {
378
+ * "hostVer": "√",
379
+ * "uniVer": "√",
380
+ * "unixVer": "x"
381
+ * },
382
+ * "kuaishou": {
383
+ * "hostVer": "√",
384
+ * "uniVer": "√",
385
+ * "unixVer": "x"
386
+ * },
387
+ * "jd": {
388
+ * "hostVer": "√",
389
+ * "uniVer": "√",
390
+ * "unixVer": "x"
391
+ * }
392
+ * },
393
+ * "web": {
394
+ * "uniVer": "√",
395
+ * "unixVer": "4.0"
396
+ * }
397
+ * }
68
398
  */
69
399
  success?: PageScrollToSuccessCallback | null
70
400
  /**
71
401
  * 接口调用失败的回调函数
402
+ * @uniPlatform {
403
+ * "app": {
404
+ * "android": {
405
+ * "osVer": "5.0",
406
+ * "uniVer": "√",
407
+ * "unixVer": "3.91"
408
+ * },
409
+ * "ios": {
410
+ * "osVer": "12.0",
411
+ * "uniVer": "√",
412
+ * "unixVer": "4.11"
413
+ * },
414
+ * "harmony": {
415
+ * "osVer": "3.0",
416
+ * "uniVer": "4.23",
417
+ * "unixVer": "4.61",
418
+ * "unixVaporVer": "5.00"
419
+ * }
420
+ * },
421
+ * "mp": {
422
+ * "weixin": {
423
+ * "hostVer": "√",
424
+ * "uniVer": "√",
425
+ * "unixVer": "4.41"
426
+ * },
427
+ * "alipay": {
428
+ * "hostVer": "√",
429
+ * "uniVer": "√",
430
+ * "unixVer": "x"
431
+ * },
432
+ * "baidu": {
433
+ * "hostVer": "√",
434
+ * "uniVer": "√",
435
+ * "unixVer": "x"
436
+ * },
437
+ * "toutiao": {
438
+ * "hostVer": "√",
439
+ * "uniVer": "√",
440
+ * "unixVer": "x"
441
+ * },
442
+ * "lark": {
443
+ * "hostVer": "√",
444
+ * "uniVer": "√",
445
+ * "unixVer": "x"
446
+ * },
447
+ * "qq": {
448
+ * "hostVer": "√",
449
+ * "uniVer": "√",
450
+ * "unixVer": "x"
451
+ * },
452
+ * "kuaishou": {
453
+ * "hostVer": "√",
454
+ * "uniVer": "√",
455
+ * "unixVer": "x"
456
+ * },
457
+ * "jd": {
458
+ * "hostVer": "√",
459
+ * "uniVer": "√",
460
+ * "unixVer": "x"
461
+ * }
462
+ * },
463
+ * "web": {
464
+ * "uniVer": "√",
465
+ * "unixVer": "4.0"
466
+ * }
467
+ * }
72
468
  */
73
469
  fail?: PageScrollToFailCallback | null
74
470
  /**
75
471
  * 接口调用结束的回调函数(调用成功、失败都会执行)
76
- */
77
- complete?: PageScrollToCompleteCallback | null
78
- }
79
- export type PageScrollTo = (options: PageScrollToOptions) => Promise<PageScrollToSuccess> | null
80
- export interface Uni {
81
- /**
82
- * 将页面滚动到目标位置
83
- *
84
- * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/scroll.html#pagescrollto
85
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/page-scroll-to.html#pagescrollto
86
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/page-scroll-to.html#pagescrollto
87
472
  * @uniPlatform {
88
473
  * "app": {
89
474
  * "android": {
@@ -100,7 +485,7 @@ export interface Uni {
100
485
  * "osVer": "3.0",
101
486
  * "uniVer": "4.23",
102
487
  * "unixVer": "4.61",
103
- * "unixVaporVer": "5.0"
488
+ * "unixVaporVer": "5.00"
104
489
  * }
105
490
  * },
106
491
  * "mp": {
@@ -151,5 +536,83 @@ export interface Uni {
151
536
  * }
152
537
  * }
153
538
  */
539
+ complete?: PageScrollToCompleteCallback | null
540
+ }
541
+ export type PageScrollTo = (options: PageScrollToOptions) => Promise<PageScrollToSuccess> | null
542
+ export interface Uni {
543
+ /**
544
+ * 将页面滚动到目标位置
545
+ *
546
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/scroll.html#pagescrollto
547
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/page-scroll-to.html#pagescrollto
548
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/page-scroll-to.html#pagescrollto
549
+ * @uniPlatform {
550
+ * "app": {
551
+ * "android": {
552
+ * "osVer": "5.0",
553
+ * "uniVer": "√",
554
+ * "unixVer": "3.91"
555
+ * },
556
+ * "ios": {
557
+ * "osVer": "12.0",
558
+ * "uniVer": "√",
559
+ * "unixVer": "4.11"
560
+ * },
561
+ * "harmony": {
562
+ * "osVer": "3.0",
563
+ * "uniVer": "4.23",
564
+ * "unixVer": "4.61",
565
+ * "unixVaporVer": "5.00"
566
+ * }
567
+ * },
568
+ * "mp": {
569
+ * "weixin": {
570
+ * "hostVer": "1.4.0",
571
+ * "uniVer": "√",
572
+ * "unixVer": "4.41"
573
+ * },
574
+ * "alipay": {
575
+ * "hostVer": "√",
576
+ * "uniVer": "√",
577
+ * "unixVer": "x"
578
+ * },
579
+ * "baidu": {
580
+ * "hostVer": "√",
581
+ * "uniVer": "√",
582
+ * "unixVer": "x"
583
+ * },
584
+ * "toutiao": {
585
+ * "hostVer": "√",
586
+ * "uniVer": "√",
587
+ * "unixVer": "x"
588
+ * },
589
+ * "lark": {
590
+ * "hostVer": "√",
591
+ * "uniVer": "√",
592
+ * "unixVer": "x"
593
+ * },
594
+ * "qq": {
595
+ * "hostVer": "√",
596
+ * "uniVer": "√",
597
+ * "unixVer": "x"
598
+ * },
599
+ * "kuaishou": {
600
+ * "hostVer": "√",
601
+ * "uniVer": "√",
602
+ * "unixVer": "x"
603
+ * },
604
+ * "jd": {
605
+ * "hostVer": "√",
606
+ * "uniVer": "√",
607
+ * "unixVer": "x"
608
+ * }
609
+ * },
610
+ * "web": {
611
+ * "uniVer": "√",
612
+ * "unixVer": "4.0"
613
+ * }
614
+ * }
615
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/scroll/wx.pageScrollTo.html
616
+ */
154
617
  pageScrollTo(options: PageScrollToOptions): Promise<PageScrollToSuccess> | null
155
618
  }
@@ -1,6 +1,7 @@
1
1
  // 本文件为自动构建生成
2
2
  import {
3
- IShareFail as IShareFailOrigin,
3
+ UniShareProvider as UniShareProviderOrigin,
4
+ IShareFail as IShareFailOrigin,
4
5
  ShareErrorCode as ShareErrorCodeOrigin,
5
6
  Share as ShareOrigin,
6
7
  ShareMiniProgramShareType as ShareMiniProgramShareTypeOrigin,
@@ -15,12 +16,12 @@
15
16
  ShareType as ShareTypeOrigin,
16
17
  ShareScene as ShareSceneOrigin,
17
18
  ShareOptions as ShareOptionsOrigin,
18
- UniShareProvider as UniShareProviderOrigin,
19
19
  Uni as UniOrigin
20
20
  } from './interface'
21
21
 
22
22
  declare global {
23
- type IShareFail = IShareFailOrigin
23
+ type UniShareProvider = UniShareProviderOrigin
24
+ type IShareFail = IShareFailOrigin
24
25
  type ShareErrorCode = ShareErrorCodeOrigin
25
26
  type Share = ShareOrigin
26
27
  type ShareMiniProgramShareType = ShareMiniProgramShareTypeOrigin
@@ -35,7 +36,6 @@
35
36
  type ShareType = ShareTypeOrigin
36
37
  type ShareScene = ShareSceneOrigin
37
38
  type ShareOptions = ShareOptionsOrigin
38
- type UniShareProvider = UniShareProviderOrigin
39
39
  interface Uni extends UniOrigin { }
40
40
  }
41
41
 
@@ -1,6 +1,7 @@
1
1
  // 本文件为自动构建生成
2
2
  export {
3
- IShareFail,
3
+ UniShareProvider,
4
+ IShareFail,
4
5
  ShareErrorCode,
5
6
  Share,
6
7
  ShareMiniProgramShareType,
@@ -15,6 +16,5 @@
15
16
  ShareType,
16
17
  ShareScene,
17
18
  ShareOptions,
18
- UniShareProvider,
19
19
  } from './interface'
20
20
 
@@ -8,9 +8,9 @@ export interface Uni {
8
8
  * @uniPlatform {
9
9
  * "app": {
10
10
  * "android": {
11
- * "osVer": "x",
12
- * "uniVer": "x",
13
- * "unixVer": "x"
11
+ * "osVer": "5.0",
12
+ * "uniVer": "",
13
+ * "unixVer": "5.07"
14
14
  * },
15
15
  * "ios": {
16
16
  * "osVer": "x",
@@ -29,11 +29,20 @@ export interface Uni {
29
29
  * "unixVer": "x"
30
30
  * }
31
31
  * }
32
- */
33
- share: Share;
32
+ */
33
+ share(options: ShareOptions): void;
34
+ }
35
+
36
+
37
+
38
+
39
+ export interface UniShareProvider extends UniProvider {
40
+ share(options: ShareOptions): void;
34
41
  }
35
42
 
36
43
 
44
+
45
+
37
46
  export interface IShareFail extends IUniError {
38
47
  errCode: ShareErrorCode
39
48
  };
@@ -46,9 +55,9 @@ export type ShareErrorCode =
46
55
  * @uniPlatform {
47
56
  * "app": {
48
57
  * "android": {
49
- * "osVer": "x",
58
+ * "osVer": "5.0",
50
59
  * "uniVer": "x",
51
- * "unixVer": "x"
60
+ * "unixVer": "5.07"
52
61
  * },
53
62
  * "ios": {
54
63
  * "osVer": "x",
@@ -74,9 +83,9 @@ export type ShareErrorCode =
74
83
  * @uniPlatform {
75
84
  * "app": {
76
85
  * "android": {
77
- * "osVer": "x",
86
+ * "osVer": "5.0",
78
87
  * "uniVer": "x",
79
- * "unixVer": "x"
88
+ * "unixVer": "5.07"
80
89
  * },
81
90
  * "ios": {
82
91
  * "osVer": "x",
@@ -130,9 +139,9 @@ export type ShareErrorCode =
130
139
  * @uniPlatform {
131
140
  * "app": {
132
141
  * "android": {
133
- * "osVer": "x",
142
+ * "osVer": "5.0",
134
143
  * "uniVer": "x",
135
- * "unixVer": "x"
144
+ * "unixVer": "5.07"
136
145
  * },
137
146
  * "ios": {
138
147
  * "osVer": "x",
@@ -158,9 +167,9 @@ export type ShareErrorCode =
158
167
  * @uniPlatform {
159
168
  * "app": {
160
169
  * "android": {
161
- * "osVer": "x",
170
+ * "osVer": "5.0",
162
171
  * "uniVer": "x",
163
- * "unixVer": "x"
172
+ * "unixVer": "5.07"
164
173
  * },
165
174
  * "ios": {
166
175
  * "osVer": "x",
@@ -186,9 +195,9 @@ export type ShareErrorCode =
186
195
  * @uniPlatform {
187
196
  * "app": {
188
197
  * "android": {
189
- * "osVer": "x",
198
+ * "osVer": "5.0",
190
199
  * "uniVer": "x",
191
- * "unixVer": "x"
200
+ * "unixVer": "5.07"
192
201
  * },
193
202
  * "ios": {
194
203
  * "osVer": "x",
@@ -354,9 +363,9 @@ export type ShareErrorCode =
354
363
  * @uniPlatform {
355
364
  * "app": {
356
365
  * "android": {
357
- * "osVer": "x",
366
+ * "osVer": "5.0",
358
367
  * "uniVer": "x",
359
- * "unixVer": "x"
368
+ * "unixVer": "5.07"
360
369
  * },
361
370
  * "ios": {
362
371
  * "osVer": "x",
@@ -579,6 +588,4 @@ export type ShareOptions = {
579
588
  */
580
589
  complete?: ShareCompleteCallback | null
581
590
  };
582
- export interface UniShareProvider extends UniProvider {
583
- share(options: ShareOptions): void;
584
- }
591
+