@dcloudio/uni-app-x 0.7.39 → 0.7.40

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 (104) hide show
  1. package/package.json +9 -7
  2. package/types/UniPage.d.ts +168 -22
  3. package/types/app.d.ts +31 -31
  4. package/types/native/CSSStyleDeclaration.d.ts +16 -2
  5. package/types/native/DOMRect.d.ts +430 -10
  6. package/types/native/DrawableContext.d.ts +1137 -45
  7. package/types/native/IUniElement.d.ts +1875 -93
  8. package/types/native/UniNativePage.d.ts +94 -0
  9. package/types/native/UniResizeObserver.d.ts +215 -5
  10. package/types/native/UniSafeArea.d.ts +185 -0
  11. package/types/native/UniVideoElement.d.ts +432 -0
  12. package/types/native/global.d.ts +7 -0
  13. package/types/native/index.d.ts +1 -0
  14. package/types/uni/uni-map-tencent-map.d.ts +12 -8
  15. package/types/uni/uts-plugin-api/global.d.ts +62 -61
  16. package/types/uni/uts-plugin-api/index.d.ts +62 -61
  17. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/global.d.ts +22 -0
  18. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/index.d.ts +10 -0
  19. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +278 -0
  20. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +1600 -59
  21. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +64 -63
  22. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/global.d.ts +0 -2
  23. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/index.d.ts +0 -1
  24. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +1150 -186
  25. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +64 -63
  26. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +550 -550
  27. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +69 -72
  28. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +533 -135
  29. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1508 -77
  30. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +423 -63
  31. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +284 -63
  32. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +2 -9
  33. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +1 -1
  34. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/global.d.ts +62 -62
  35. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/index.d.ts +31 -31
  36. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +57 -57
  37. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +312 -110
  38. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +62 -62
  39. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +472 -72
  40. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +126 -78
  41. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +317 -66
  42. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +570 -63
  43. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +570 -63
  44. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +110 -66
  45. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +595 -177
  46. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +284 -63
  47. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +45 -1
  48. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +1387 -182
  49. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +67 -67
  50. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +318 -53
  51. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +162 -63
  52. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +241 -64
  53. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +6 -0
  54. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +3 -0
  55. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +4089 -659
  56. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +460 -252
  57. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +2345 -213
  58. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +1205 -149
  59. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +339 -33
  60. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +457 -53
  61. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +328 -63
  62. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +317 -66
  63. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +120 -71
  64. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +2157 -437
  65. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +260 -126
  66. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +467 -315
  67. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +553 -53
  68. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +1608 -630
  69. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +2492 -504
  70. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +176 -130
  71. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +704 -58
  72. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1230 -454
  73. package/types/uni/uts-plugin-biz/global.d.ts +6 -5
  74. package/types/uni/uts-plugin-biz/index.d.ts +6 -5
  75. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +406 -123
  76. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/global.d.ts +4 -0
  77. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/index.d.ts +2 -0
  78. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/interface.d.ts +60 -47
  79. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +71 -71
  80. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +3 -3
  81. package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/global.d.ts +24 -0
  82. package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/index.d.ts +11 -0
  83. package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/interface.d.ts +204 -0
  84. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +42 -38
  85. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +21 -19
  86. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +502 -255
  87. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/global.d.ts +64 -0
  88. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/index.d.ts +31 -0
  89. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/interface.d.ts +900 -0
  90. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +48 -48
  91. package/types/uni/uts-plugin-extend/global.d.ts +0 -4
  92. package/types/uni/uts-plugin-extend/index.d.ts +0 -4
  93. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +825 -273
  94. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +4399 -339
  95. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +1000 -268
  96. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/interface.d.ts +1 -1
  97. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +3 -3
  98. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +1495 -384
  99. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +222 -132
  100. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +923 -67
  101. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/interface.d.ts +2 -2
  102. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +0 -7
  103. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +0 -1
  104. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +0 -716
@@ -105,28 +105,292 @@ export type GetStorageSync = (key: string) => any | null
105
105
  export type GetStorageInfoSuccess = {
106
106
  /**
107
107
  * 当前 storage 中所有的 key
108
+ * @uniPlatform {
109
+ * "mp": {
110
+ * "weixin": {
111
+ * "hostVer": "√",
112
+ * "uniVer": "√",
113
+ * "unixVer": "4.41"
114
+ * },
115
+ * "alipay": {
116
+ * "hostVer": "-",
117
+ * "uniVer": "-",
118
+ * "unixVer": "-"
119
+ * },
120
+ * "baidu": {
121
+ * "hostVer": "-",
122
+ * "uniVer": "-",
123
+ * "unixVer": "-"
124
+ * },
125
+ * "toutiao": {
126
+ * "hostVer": "-",
127
+ * "uniVer": "-",
128
+ * "unixVer": "-"
129
+ * },
130
+ * "lark": {
131
+ * "hostVer": "-",
132
+ * "uniVer": "-",
133
+ * "unixVer": "-"
134
+ * },
135
+ * "qq": {
136
+ * "hostVer": "-",
137
+ * "uniVer": "-",
138
+ * "unixVer": "-"
139
+ * },
140
+ * "kuaishou": {
141
+ * "hostVer": "-",
142
+ * "uniVer": "-",
143
+ * "unixVer": "-"
144
+ * },
145
+ * "jd": {
146
+ * "hostVer": "-",
147
+ * "uniVer": "-",
148
+ * "unixVer": "-"
149
+ * }
150
+ * }
151
+ * }
108
152
  */
109
153
  keys: Array<string>,
110
154
  /**
111
155
  * 当前占用的空间大小, 单位:kb
156
+ * @uniPlatform {
157
+ * "mp": {
158
+ * "weixin": {
159
+ * "hostVer": "√",
160
+ * "uniVer": "√",
161
+ * "unixVer": "4.41"
162
+ * },
163
+ * "alipay": {
164
+ * "hostVer": "-",
165
+ * "uniVer": "-",
166
+ * "unixVer": "-"
167
+ * },
168
+ * "baidu": {
169
+ * "hostVer": "-",
170
+ * "uniVer": "-",
171
+ * "unixVer": "-"
172
+ * },
173
+ * "toutiao": {
174
+ * "hostVer": "-",
175
+ * "uniVer": "-",
176
+ * "unixVer": "-"
177
+ * },
178
+ * "lark": {
179
+ * "hostVer": "-",
180
+ * "uniVer": "-",
181
+ * "unixVer": "-"
182
+ * },
183
+ * "qq": {
184
+ * "hostVer": "-",
185
+ * "uniVer": "-",
186
+ * "unixVer": "-"
187
+ * },
188
+ * "kuaishou": {
189
+ * "hostVer": "-",
190
+ * "uniVer": "-",
191
+ * "unixVer": "-"
192
+ * },
193
+ * "jd": {
194
+ * "hostVer": "-",
195
+ * "uniVer": "-",
196
+ * "unixVer": "-"
197
+ * }
198
+ * }
199
+ * }
112
200
  */
113
201
  currentSize: number,
114
202
  /**
115
203
  * 限制的空间大小, 单位:kb
204
+ * @uniPlatform {
205
+ * "mp": {
206
+ * "weixin": {
207
+ * "hostVer": "√",
208
+ * "uniVer": "√",
209
+ * "unixVer": "4.41"
210
+ * },
211
+ * "alipay": {
212
+ * "hostVer": "-",
213
+ * "uniVer": "-",
214
+ * "unixVer": "-"
215
+ * },
216
+ * "baidu": {
217
+ * "hostVer": "-",
218
+ * "uniVer": "-",
219
+ * "unixVer": "-"
220
+ * },
221
+ * "toutiao": {
222
+ * "hostVer": "-",
223
+ * "uniVer": "-",
224
+ * "unixVer": "-"
225
+ * },
226
+ * "lark": {
227
+ * "hostVer": "-",
228
+ * "uniVer": "-",
229
+ * "unixVer": "-"
230
+ * },
231
+ * "qq": {
232
+ * "hostVer": "-",
233
+ * "uniVer": "-",
234
+ * "unixVer": "-"
235
+ * },
236
+ * "kuaishou": {
237
+ * "hostVer": "-",
238
+ * "uniVer": "-",
239
+ * "unixVer": "-"
240
+ * },
241
+ * "jd": {
242
+ * "hostVer": "-",
243
+ * "uniVer": "-",
244
+ * "unixVer": "-"
245
+ * }
246
+ * }
247
+ * }
116
248
  */
117
249
  limitSize: number,
118
250
  }
119
251
 
120
252
  /**
121
253
  * uni.getStorageInfo成功回调函数定义
254
+ * @uniPlatform {
255
+ * "mp": {
256
+ * "weixin": {
257
+ * "hostVer": "√",
258
+ * "uniVer": "√",
259
+ * "unixVer": "4.41"
260
+ * },
261
+ * "alipay": {
262
+ * "hostVer": "-",
263
+ * "uniVer": "-",
264
+ * "unixVer": "-"
265
+ * },
266
+ * "baidu": {
267
+ * "hostVer": "-",
268
+ * "uniVer": "-",
269
+ * "unixVer": "-"
270
+ * },
271
+ * "toutiao": {
272
+ * "hostVer": "-",
273
+ * "uniVer": "-",
274
+ * "unixVer": "-"
275
+ * },
276
+ * "lark": {
277
+ * "hostVer": "-",
278
+ * "uniVer": "-",
279
+ * "unixVer": "-"
280
+ * },
281
+ * "qq": {
282
+ * "hostVer": "-",
283
+ * "uniVer": "-",
284
+ * "unixVer": "-"
285
+ * },
286
+ * "kuaishou": {
287
+ * "hostVer": "-",
288
+ * "uniVer": "-",
289
+ * "unixVer": "-"
290
+ * },
291
+ * "jd": {
292
+ * "hostVer": "-",
293
+ * "uniVer": "-",
294
+ * "unixVer": "-"
295
+ * }
296
+ * }
297
+ * }
122
298
  */
123
299
  export type GetStorageInfoSuccessCallback = (res: GetStorageInfoSuccess) => void
124
300
  /**
125
301
  * uni.getStorageInfo失败回调函数定义
302
+ * @uniPlatform {
303
+ * "mp": {
304
+ * "weixin": {
305
+ * "hostVer": "√",
306
+ * "uniVer": "√",
307
+ * "unixVer": "4.41"
308
+ * },
309
+ * "alipay": {
310
+ * "hostVer": "-",
311
+ * "uniVer": "-",
312
+ * "unixVer": "-"
313
+ * },
314
+ * "baidu": {
315
+ * "hostVer": "-",
316
+ * "uniVer": "-",
317
+ * "unixVer": "-"
318
+ * },
319
+ * "toutiao": {
320
+ * "hostVer": "-",
321
+ * "uniVer": "-",
322
+ * "unixVer": "-"
323
+ * },
324
+ * "lark": {
325
+ * "hostVer": "-",
326
+ * "uniVer": "-",
327
+ * "unixVer": "-"
328
+ * },
329
+ * "qq": {
330
+ * "hostVer": "-",
331
+ * "uniVer": "-",
332
+ * "unixVer": "-"
333
+ * },
334
+ * "kuaishou": {
335
+ * "hostVer": "-",
336
+ * "uniVer": "-",
337
+ * "unixVer": "-"
338
+ * },
339
+ * "jd": {
340
+ * "hostVer": "-",
341
+ * "uniVer": "-",
342
+ * "unixVer": "-"
343
+ * }
344
+ * }
345
+ * }
126
346
  */
127
347
  export type GetStorageInfoFailCallback = (res: UniError) => void
128
348
  /**
129
349
  * uni.getStorageInfo完成回调函数定义
350
+ * @uniPlatform {
351
+ * "mp": {
352
+ * "weixin": {
353
+ * "hostVer": "√",
354
+ * "uniVer": "√",
355
+ * "unixVer": "4.41"
356
+ * },
357
+ * "alipay": {
358
+ * "hostVer": "-",
359
+ * "uniVer": "-",
360
+ * "unixVer": "-"
361
+ * },
362
+ * "baidu": {
363
+ * "hostVer": "-",
364
+ * "uniVer": "-",
365
+ * "unixVer": "-"
366
+ * },
367
+ * "toutiao": {
368
+ * "hostVer": "-",
369
+ * "uniVer": "-",
370
+ * "unixVer": "-"
371
+ * },
372
+ * "lark": {
373
+ * "hostVer": "-",
374
+ * "uniVer": "-",
375
+ * "unixVer": "-"
376
+ * },
377
+ * "qq": {
378
+ * "hostVer": "-",
379
+ * "uniVer": "-",
380
+ * "unixVer": "-"
381
+ * },
382
+ * "kuaishou": {
383
+ * "hostVer": "-",
384
+ * "uniVer": "-",
385
+ * "unixVer": "-"
386
+ * },
387
+ * "jd": {
388
+ * "hostVer": "-",
389
+ * "uniVer": "-",
390
+ * "unixVer": "-"
391
+ * }
392
+ * }
393
+ * }
130
394
  */
131
395
  export type GetStorageInfoCompleteCallback = (res: any) => void
132
396
  /**
@@ -135,14 +399,146 @@ export type GetStorageInfoCompleteCallback = (res: any) => void
135
399
  export type GetStorageInfoOptions = {
136
400
  /**
137
401
  * 接口调用成功的回调函数
402
+ * @uniPlatform {
403
+ * "mp": {
404
+ * "weixin": {
405
+ * "hostVer": "√",
406
+ * "uniVer": "√",
407
+ * "unixVer": "4.41"
408
+ * },
409
+ * "alipay": {
410
+ * "hostVer": "-",
411
+ * "uniVer": "-",
412
+ * "unixVer": "-"
413
+ * },
414
+ * "baidu": {
415
+ * "hostVer": "-",
416
+ * "uniVer": "-",
417
+ * "unixVer": "-"
418
+ * },
419
+ * "toutiao": {
420
+ * "hostVer": "-",
421
+ * "uniVer": "-",
422
+ * "unixVer": "-"
423
+ * },
424
+ * "lark": {
425
+ * "hostVer": "-",
426
+ * "uniVer": "-",
427
+ * "unixVer": "-"
428
+ * },
429
+ * "qq": {
430
+ * "hostVer": "-",
431
+ * "uniVer": "-",
432
+ * "unixVer": "-"
433
+ * },
434
+ * "kuaishou": {
435
+ * "hostVer": "-",
436
+ * "uniVer": "-",
437
+ * "unixVer": "-"
438
+ * },
439
+ * "jd": {
440
+ * "hostVer": "-",
441
+ * "uniVer": "-",
442
+ * "unixVer": "-"
443
+ * }
444
+ * }
445
+ * }
138
446
  */
139
447
  success?: GetStorageInfoSuccessCallback | null,
140
448
  /**
141
449
  * 接口调用失败的回调函数
450
+ * @uniPlatform {
451
+ * "mp": {
452
+ * "weixin": {
453
+ * "hostVer": "√",
454
+ * "uniVer": "√",
455
+ * "unixVer": "4.41"
456
+ * },
457
+ * "alipay": {
458
+ * "hostVer": "-",
459
+ * "uniVer": "-",
460
+ * "unixVer": "-"
461
+ * },
462
+ * "baidu": {
463
+ * "hostVer": "-",
464
+ * "uniVer": "-",
465
+ * "unixVer": "-"
466
+ * },
467
+ * "toutiao": {
468
+ * "hostVer": "-",
469
+ * "uniVer": "-",
470
+ * "unixVer": "-"
471
+ * },
472
+ * "lark": {
473
+ * "hostVer": "-",
474
+ * "uniVer": "-",
475
+ * "unixVer": "-"
476
+ * },
477
+ * "qq": {
478
+ * "hostVer": "-",
479
+ * "uniVer": "-",
480
+ * "unixVer": "-"
481
+ * },
482
+ * "kuaishou": {
483
+ * "hostVer": "-",
484
+ * "uniVer": "-",
485
+ * "unixVer": "-"
486
+ * },
487
+ * "jd": {
488
+ * "hostVer": "-",
489
+ * "uniVer": "-",
490
+ * "unixVer": "-"
491
+ * }
492
+ * }
493
+ * }
142
494
  */
143
495
  fail?: GetStorageInfoFailCallback | null,
144
496
  /**
145
497
  * 接口调用结束的回调函数(调用成功、失败都会执行)
498
+ * @uniPlatform {
499
+ * "mp": {
500
+ * "weixin": {
501
+ * "hostVer": "√",
502
+ * "uniVer": "√",
503
+ * "unixVer": "4.41"
504
+ * },
505
+ * "alipay": {
506
+ * "hostVer": "-",
507
+ * "uniVer": "-",
508
+ * "unixVer": "-"
509
+ * },
510
+ * "baidu": {
511
+ * "hostVer": "-",
512
+ * "uniVer": "-",
513
+ * "unixVer": "-"
514
+ * },
515
+ * "toutiao": {
516
+ * "hostVer": "-",
517
+ * "uniVer": "-",
518
+ * "unixVer": "-"
519
+ * },
520
+ * "lark": {
521
+ * "hostVer": "-",
522
+ * "uniVer": "-",
523
+ * "unixVer": "-"
524
+ * },
525
+ * "qq": {
526
+ * "hostVer": "-",
527
+ * "uniVer": "-",
528
+ * "unixVer": "-"
529
+ * },
530
+ * "kuaishou": {
531
+ * "hostVer": "-",
532
+ * "uniVer": "-",
533
+ * "unixVer": "-"
534
+ * },
535
+ * "jd": {
536
+ * "hostVer": "-",
537
+ * "uniVer": "-",
538
+ * "unixVer": "-"
539
+ * }
540
+ * }
541
+ * }
146
542
  */
147
543
  complete?: GetStorageInfoCompleteCallback | null
148
544
  }
@@ -160,14 +556,146 @@ export type RemoveStorageSuccess = {
160
556
 
161
557
  /**
162
558
  * uni.removeStorage成功回调函数定义
559
+ * @uniPlatform {
560
+ * "mp": {
561
+ * "weixin": {
562
+ * "hostVer": "√",
563
+ * "uniVer": "√",
564
+ * "unixVer": "4.41"
565
+ * },
566
+ * "alipay": {
567
+ * "hostVer": "-",
568
+ * "uniVer": "-",
569
+ * "unixVer": "-"
570
+ * },
571
+ * "baidu": {
572
+ * "hostVer": "-",
573
+ * "uniVer": "-",
574
+ * "unixVer": "-"
575
+ * },
576
+ * "toutiao": {
577
+ * "hostVer": "-",
578
+ * "uniVer": "-",
579
+ * "unixVer": "-"
580
+ * },
581
+ * "lark": {
582
+ * "hostVer": "-",
583
+ * "uniVer": "-",
584
+ * "unixVer": "-"
585
+ * },
586
+ * "qq": {
587
+ * "hostVer": "-",
588
+ * "uniVer": "-",
589
+ * "unixVer": "-"
590
+ * },
591
+ * "kuaishou": {
592
+ * "hostVer": "-",
593
+ * "uniVer": "-",
594
+ * "unixVer": "-"
595
+ * },
596
+ * "jd": {
597
+ * "hostVer": "-",
598
+ * "uniVer": "-",
599
+ * "unixVer": "-"
600
+ * }
601
+ * }
602
+ * }
163
603
  */
164
604
  export type RemoveStorageSuccessCallback = (res: RemoveStorageSuccess) => void
165
605
  /**
166
606
  * uni.removeStorage失败回调函数定义
607
+ * @uniPlatform {
608
+ * "mp": {
609
+ * "weixin": {
610
+ * "hostVer": "√",
611
+ * "uniVer": "√",
612
+ * "unixVer": "4.41"
613
+ * },
614
+ * "alipay": {
615
+ * "hostVer": "-",
616
+ * "uniVer": "-",
617
+ * "unixVer": "-"
618
+ * },
619
+ * "baidu": {
620
+ * "hostVer": "-",
621
+ * "uniVer": "-",
622
+ * "unixVer": "-"
623
+ * },
624
+ * "toutiao": {
625
+ * "hostVer": "-",
626
+ * "uniVer": "-",
627
+ * "unixVer": "-"
628
+ * },
629
+ * "lark": {
630
+ * "hostVer": "-",
631
+ * "uniVer": "-",
632
+ * "unixVer": "-"
633
+ * },
634
+ * "qq": {
635
+ * "hostVer": "-",
636
+ * "uniVer": "-",
637
+ * "unixVer": "-"
638
+ * },
639
+ * "kuaishou": {
640
+ * "hostVer": "-",
641
+ * "uniVer": "-",
642
+ * "unixVer": "-"
643
+ * },
644
+ * "jd": {
645
+ * "hostVer": "-",
646
+ * "uniVer": "-",
647
+ * "unixVer": "-"
648
+ * }
649
+ * }
650
+ * }
167
651
  */
168
652
  export type RemoveStorageFailCallback = (res: UniError) => void
169
653
  /**
170
654
  * uni.removeStorage完成回调函数定义
655
+ * @uniPlatform {
656
+ * "mp": {
657
+ * "weixin": {
658
+ * "hostVer": "√",
659
+ * "uniVer": "√",
660
+ * "unixVer": "4.41"
661
+ * },
662
+ * "alipay": {
663
+ * "hostVer": "-",
664
+ * "uniVer": "-",
665
+ * "unixVer": "-"
666
+ * },
667
+ * "baidu": {
668
+ * "hostVer": "-",
669
+ * "uniVer": "-",
670
+ * "unixVer": "-"
671
+ * },
672
+ * "toutiao": {
673
+ * "hostVer": "-",
674
+ * "uniVer": "-",
675
+ * "unixVer": "-"
676
+ * },
677
+ * "lark": {
678
+ * "hostVer": "-",
679
+ * "uniVer": "-",
680
+ * "unixVer": "-"
681
+ * },
682
+ * "qq": {
683
+ * "hostVer": "-",
684
+ * "uniVer": "-",
685
+ * "unixVer": "-"
686
+ * },
687
+ * "kuaishou": {
688
+ * "hostVer": "-",
689
+ * "uniVer": "-",
690
+ * "unixVer": "-"
691
+ * },
692
+ * "jd": {
693
+ * "hostVer": "-",
694
+ * "uniVer": "-",
695
+ * "unixVer": "-"
696
+ * }
697
+ * }
698
+ * }
171
699
  */
172
700
  export type RemoveStorageCompleteCallback = (res: any) => void
173
701
  /**
@@ -176,18 +704,194 @@ export type RemoveStorageCompleteCallback = (res: any) => void
176
704
  export type RemoveStorageOptions = {
177
705
  /**
178
706
  * 本地存储中的指定的 key
707
+ * @uniPlatform {
708
+ * "mp": {
709
+ * "weixin": {
710
+ * "hostVer": "√",
711
+ * "uniVer": "√",
712
+ * "unixVer": "4.41"
713
+ * },
714
+ * "alipay": {
715
+ * "hostVer": "-",
716
+ * "uniVer": "-",
717
+ * "unixVer": "-"
718
+ * },
719
+ * "baidu": {
720
+ * "hostVer": "-",
721
+ * "uniVer": "-",
722
+ * "unixVer": "-"
723
+ * },
724
+ * "toutiao": {
725
+ * "hostVer": "-",
726
+ * "uniVer": "-",
727
+ * "unixVer": "-"
728
+ * },
729
+ * "lark": {
730
+ * "hostVer": "-",
731
+ * "uniVer": "-",
732
+ * "unixVer": "-"
733
+ * },
734
+ * "qq": {
735
+ * "hostVer": "-",
736
+ * "uniVer": "-",
737
+ * "unixVer": "-"
738
+ * },
739
+ * "kuaishou": {
740
+ * "hostVer": "-",
741
+ * "uniVer": "-",
742
+ * "unixVer": "-"
743
+ * },
744
+ * "jd": {
745
+ * "hostVer": "-",
746
+ * "uniVer": "-",
747
+ * "unixVer": "-"
748
+ * }
749
+ * }
750
+ * }
179
751
  */
180
752
  key: string,
181
753
  /**
182
754
  * 接口调用的回调函数
755
+ * @uniPlatform {
756
+ * "mp": {
757
+ * "weixin": {
758
+ * "hostVer": "√",
759
+ * "uniVer": "√",
760
+ * "unixVer": "4.41"
761
+ * },
762
+ * "alipay": {
763
+ * "hostVer": "-",
764
+ * "uniVer": "-",
765
+ * "unixVer": "-"
766
+ * },
767
+ * "baidu": {
768
+ * "hostVer": "-",
769
+ * "uniVer": "-",
770
+ * "unixVer": "-"
771
+ * },
772
+ * "toutiao": {
773
+ * "hostVer": "-",
774
+ * "uniVer": "-",
775
+ * "unixVer": "-"
776
+ * },
777
+ * "lark": {
778
+ * "hostVer": "-",
779
+ * "uniVer": "-",
780
+ * "unixVer": "-"
781
+ * },
782
+ * "qq": {
783
+ * "hostVer": "-",
784
+ * "uniVer": "-",
785
+ * "unixVer": "-"
786
+ * },
787
+ * "kuaishou": {
788
+ * "hostVer": "-",
789
+ * "uniVer": "-",
790
+ * "unixVer": "-"
791
+ * },
792
+ * "jd": {
793
+ * "hostVer": "-",
794
+ * "uniVer": "-",
795
+ * "unixVer": "-"
796
+ * }
797
+ * }
798
+ * }
183
799
  */
184
800
  success?: RemoveStorageSuccessCallback | null,
185
801
  /**
186
802
  * 接口调用失败的回调函数
803
+ * @uniPlatform {
804
+ * "mp": {
805
+ * "weixin": {
806
+ * "hostVer": "√",
807
+ * "uniVer": "√",
808
+ * "unixVer": "4.41"
809
+ * },
810
+ * "alipay": {
811
+ * "hostVer": "-",
812
+ * "uniVer": "-",
813
+ * "unixVer": "-"
814
+ * },
815
+ * "baidu": {
816
+ * "hostVer": "-",
817
+ * "uniVer": "-",
818
+ * "unixVer": "-"
819
+ * },
820
+ * "toutiao": {
821
+ * "hostVer": "-",
822
+ * "uniVer": "-",
823
+ * "unixVer": "-"
824
+ * },
825
+ * "lark": {
826
+ * "hostVer": "-",
827
+ * "uniVer": "-",
828
+ * "unixVer": "-"
829
+ * },
830
+ * "qq": {
831
+ * "hostVer": "-",
832
+ * "uniVer": "-",
833
+ * "unixVer": "-"
834
+ * },
835
+ * "kuaishou": {
836
+ * "hostVer": "-",
837
+ * "uniVer": "-",
838
+ * "unixVer": "-"
839
+ * },
840
+ * "jd": {
841
+ * "hostVer": "-",
842
+ * "uniVer": "-",
843
+ * "unixVer": "-"
844
+ * }
845
+ * }
846
+ * }
187
847
  */
188
848
  fail?: RemoveStorageFailCallback | null,
189
849
  /**
190
850
  * 接口调用结束的回调函数(调用成功、失败都会执行)
851
+ * @uniPlatform {
852
+ * "mp": {
853
+ * "weixin": {
854
+ * "hostVer": "√",
855
+ * "uniVer": "√",
856
+ * "unixVer": "4.41"
857
+ * },
858
+ * "alipay": {
859
+ * "hostVer": "-",
860
+ * "uniVer": "-",
861
+ * "unixVer": "-"
862
+ * },
863
+ * "baidu": {
864
+ * "hostVer": "-",
865
+ * "uniVer": "-",
866
+ * "unixVer": "-"
867
+ * },
868
+ * "toutiao": {
869
+ * "hostVer": "-",
870
+ * "uniVer": "-",
871
+ * "unixVer": "-"
872
+ * },
873
+ * "lark": {
874
+ * "hostVer": "-",
875
+ * "uniVer": "-",
876
+ * "unixVer": "-"
877
+ * },
878
+ * "qq": {
879
+ * "hostVer": "-",
880
+ * "uniVer": "-",
881
+ * "unixVer": "-"
882
+ * },
883
+ * "kuaishou": {
884
+ * "hostVer": "-",
885
+ * "uniVer": "-",
886
+ * "unixVer": "-"
887
+ * },
888
+ * "jd": {
889
+ * "hostVer": "-",
890
+ * "uniVer": "-",
891
+ * "unixVer": "-"
892
+ * }
893
+ * }
894
+ * }
191
895
  */
192
896
  complete?: RemoveStorageCompleteCallback | null
193
897
  }
@@ -207,14 +911,146 @@ export type ClearStorageSuccess = {
207
911
 
208
912
  /**
209
913
  * uni.clearStorage 成功回调函数定义
914
+ * @uniPlatform {
915
+ * "mp": {
916
+ * "weixin": {
917
+ * "hostVer": "√",
918
+ * "uniVer": "√",
919
+ * "unixVer": "4.41"
920
+ * },
921
+ * "alipay": {
922
+ * "hostVer": "-",
923
+ * "uniVer": "-",
924
+ * "unixVer": "-"
925
+ * },
926
+ * "baidu": {
927
+ * "hostVer": "-",
928
+ * "uniVer": "-",
929
+ * "unixVer": "-"
930
+ * },
931
+ * "toutiao": {
932
+ * "hostVer": "-",
933
+ * "uniVer": "-",
934
+ * "unixVer": "-"
935
+ * },
936
+ * "lark": {
937
+ * "hostVer": "-",
938
+ * "uniVer": "-",
939
+ * "unixVer": "-"
940
+ * },
941
+ * "qq": {
942
+ * "hostVer": "-",
943
+ * "uniVer": "-",
944
+ * "unixVer": "-"
945
+ * },
946
+ * "kuaishou": {
947
+ * "hostVer": "-",
948
+ * "uniVer": "-",
949
+ * "unixVer": "-"
950
+ * },
951
+ * "jd": {
952
+ * "hostVer": "-",
953
+ * "uniVer": "-",
954
+ * "unixVer": "-"
955
+ * }
956
+ * }
957
+ * }
210
958
  */
211
959
  export type ClearStorageSuccessCallback = (res: ClearStorageSuccess) => void
212
960
  /**
213
961
  * uni.clearStorage 失败回调函数定义
962
+ * @uniPlatform {
963
+ * "mp": {
964
+ * "weixin": {
965
+ * "hostVer": "√",
966
+ * "uniVer": "√",
967
+ * "unixVer": "4.41"
968
+ * },
969
+ * "alipay": {
970
+ * "hostVer": "-",
971
+ * "uniVer": "-",
972
+ * "unixVer": "-"
973
+ * },
974
+ * "baidu": {
975
+ * "hostVer": "-",
976
+ * "uniVer": "-",
977
+ * "unixVer": "-"
978
+ * },
979
+ * "toutiao": {
980
+ * "hostVer": "-",
981
+ * "uniVer": "-",
982
+ * "unixVer": "-"
983
+ * },
984
+ * "lark": {
985
+ * "hostVer": "-",
986
+ * "uniVer": "-",
987
+ * "unixVer": "-"
988
+ * },
989
+ * "qq": {
990
+ * "hostVer": "-",
991
+ * "uniVer": "-",
992
+ * "unixVer": "-"
993
+ * },
994
+ * "kuaishou": {
995
+ * "hostVer": "-",
996
+ * "uniVer": "-",
997
+ * "unixVer": "-"
998
+ * },
999
+ * "jd": {
1000
+ * "hostVer": "-",
1001
+ * "uniVer": "-",
1002
+ * "unixVer": "-"
1003
+ * }
1004
+ * }
1005
+ * }
214
1006
  */
215
1007
  export type ClearStorageFailCallback = (res: UniError) => void
216
1008
  /**
217
1009
  * uni.clearStorage 完成回调函数定义
1010
+ * @uniPlatform {
1011
+ * "mp": {
1012
+ * "weixin": {
1013
+ * "hostVer": "√",
1014
+ * "uniVer": "√",
1015
+ * "unixVer": "4.41"
1016
+ * },
1017
+ * "alipay": {
1018
+ * "hostVer": "-",
1019
+ * "uniVer": "-",
1020
+ * "unixVer": "-"
1021
+ * },
1022
+ * "baidu": {
1023
+ * "hostVer": "-",
1024
+ * "uniVer": "-",
1025
+ * "unixVer": "-"
1026
+ * },
1027
+ * "toutiao": {
1028
+ * "hostVer": "-",
1029
+ * "uniVer": "-",
1030
+ * "unixVer": "-"
1031
+ * },
1032
+ * "lark": {
1033
+ * "hostVer": "-",
1034
+ * "uniVer": "-",
1035
+ * "unixVer": "-"
1036
+ * },
1037
+ * "qq": {
1038
+ * "hostVer": "-",
1039
+ * "uniVer": "-",
1040
+ * "unixVer": "-"
1041
+ * },
1042
+ * "kuaishou": {
1043
+ * "hostVer": "-",
1044
+ * "uniVer": "-",
1045
+ * "unixVer": "-"
1046
+ * },
1047
+ * "jd": {
1048
+ * "hostVer": "-",
1049
+ * "uniVer": "-",
1050
+ * "unixVer": "-"
1051
+ * }
1052
+ * }
1053
+ * }
218
1054
  */
219
1055
  export type ClearStorageCompleteCallback = (res: any) => void
220
1056
 
@@ -224,14 +1060,146 @@ export type ClearStorageCompleteCallback = (res: any) => void
224
1060
  export type ClearStorageOptions = {
225
1061
  /**
226
1062
  * 接口调用的回调函数
1063
+ * @uniPlatform {
1064
+ * "mp": {
1065
+ * "weixin": {
1066
+ * "hostVer": "√",
1067
+ * "uniVer": "√",
1068
+ * "unixVer": "4.41"
1069
+ * },
1070
+ * "alipay": {
1071
+ * "hostVer": "-",
1072
+ * "uniVer": "-",
1073
+ * "unixVer": "-"
1074
+ * },
1075
+ * "baidu": {
1076
+ * "hostVer": "-",
1077
+ * "uniVer": "-",
1078
+ * "unixVer": "-"
1079
+ * },
1080
+ * "toutiao": {
1081
+ * "hostVer": "-",
1082
+ * "uniVer": "-",
1083
+ * "unixVer": "-"
1084
+ * },
1085
+ * "lark": {
1086
+ * "hostVer": "-",
1087
+ * "uniVer": "-",
1088
+ * "unixVer": "-"
1089
+ * },
1090
+ * "qq": {
1091
+ * "hostVer": "-",
1092
+ * "uniVer": "-",
1093
+ * "unixVer": "-"
1094
+ * },
1095
+ * "kuaishou": {
1096
+ * "hostVer": "-",
1097
+ * "uniVer": "-",
1098
+ * "unixVer": "-"
1099
+ * },
1100
+ * "jd": {
1101
+ * "hostVer": "-",
1102
+ * "uniVer": "-",
1103
+ * "unixVer": "-"
1104
+ * }
1105
+ * }
1106
+ * }
227
1107
  */
228
1108
  success?: ClearStorageSuccessCallback | null,
229
1109
  /**
230
1110
  * 接口调用失败的回调函数
1111
+ * @uniPlatform {
1112
+ * "mp": {
1113
+ * "weixin": {
1114
+ * "hostVer": "√",
1115
+ * "uniVer": "√",
1116
+ * "unixVer": "4.41"
1117
+ * },
1118
+ * "alipay": {
1119
+ * "hostVer": "-",
1120
+ * "uniVer": "-",
1121
+ * "unixVer": "-"
1122
+ * },
1123
+ * "baidu": {
1124
+ * "hostVer": "-",
1125
+ * "uniVer": "-",
1126
+ * "unixVer": "-"
1127
+ * },
1128
+ * "toutiao": {
1129
+ * "hostVer": "-",
1130
+ * "uniVer": "-",
1131
+ * "unixVer": "-"
1132
+ * },
1133
+ * "lark": {
1134
+ * "hostVer": "-",
1135
+ * "uniVer": "-",
1136
+ * "unixVer": "-"
1137
+ * },
1138
+ * "qq": {
1139
+ * "hostVer": "-",
1140
+ * "uniVer": "-",
1141
+ * "unixVer": "-"
1142
+ * },
1143
+ * "kuaishou": {
1144
+ * "hostVer": "-",
1145
+ * "uniVer": "-",
1146
+ * "unixVer": "-"
1147
+ * },
1148
+ * "jd": {
1149
+ * "hostVer": "-",
1150
+ * "uniVer": "-",
1151
+ * "unixVer": "-"
1152
+ * }
1153
+ * }
1154
+ * }
231
1155
  */
232
1156
  fail?: ClearStorageFailCallback | null,
233
1157
  /**
234
1158
  * 接口调用结束的回调函数(调用成功、失败都会执行)
1159
+ * @uniPlatform {
1160
+ * "mp": {
1161
+ * "weixin": {
1162
+ * "hostVer": "√",
1163
+ * "uniVer": "√",
1164
+ * "unixVer": "4.41"
1165
+ * },
1166
+ * "alipay": {
1167
+ * "hostVer": "-",
1168
+ * "uniVer": "-",
1169
+ * "unixVer": "-"
1170
+ * },
1171
+ * "baidu": {
1172
+ * "hostVer": "-",
1173
+ * "uniVer": "-",
1174
+ * "unixVer": "-"
1175
+ * },
1176
+ * "toutiao": {
1177
+ * "hostVer": "-",
1178
+ * "uniVer": "-",
1179
+ * "unixVer": "-"
1180
+ * },
1181
+ * "lark": {
1182
+ * "hostVer": "-",
1183
+ * "uniVer": "-",
1184
+ * "unixVer": "-"
1185
+ * },
1186
+ * "qq": {
1187
+ * "hostVer": "-",
1188
+ * "uniVer": "-",
1189
+ * "unixVer": "-"
1190
+ * },
1191
+ * "kuaishou": {
1192
+ * "hostVer": "-",
1193
+ * "uniVer": "-",
1194
+ * "unixVer": "-"
1195
+ * },
1196
+ * "jd": {
1197
+ * "hostVer": "-",
1198
+ * "uniVer": "-",
1199
+ * "unixVer": "-"
1200
+ * }
1201
+ * }
1202
+ * }
235
1203
  */
236
1204
  complete?: ClearStorageCompleteCallback | null
237
1205
  }
@@ -251,72 +1219,73 @@ export interface Uni {
251
1219
  * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#setstorage
252
1220
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#setstorage
253
1221
  * @uniPlatform {
254
- * "app": {
255
- * "android": {
256
- * "osVer": "5.0",
257
- * "uniVer": "2.0.3",
258
- * "unixVer": "3.9.0"
259
- * },
260
- * "ios": {
261
- * "osVer": "12.0",
262
- * "uniVer": "2.0.3",
263
- * "unixVer": "4.11"
264
- * },
265
- * "harmony": {
266
- * "osVer": "3.0",
267
- * "uniVer": "4.23",
268
- * "unixVer": "x"
269
- * }
270
- * },
271
- * "mp": {
272
- * "weixin": {
273
- * "hostVer": "",
274
- * "uniVer": "√",
275
- * "unixVer": "4.41"
276
- * },
277
- * "alipay": {
278
- * "hostVer": "√",
279
- * "uniVer": "√",
280
- * "unixVer": "x"
281
- * },
282
- * "baidu": {
283
- * "hostVer": "√",
284
- * "uniVer": "√",
285
- * "unixVer": "x"
286
- * },
287
- * "toutiao": {
288
- * "hostVer": "√",
289
- * "uniVer": "√",
290
- * "unixVer": "x"
291
- * },
292
- * "lark": {
293
- * "hostVer": "√",
294
- * "uniVer": "√",
295
- * "unixVer": "x"
296
- * },
297
- * "qq": {
298
- * "hostVer": "√",
299
- * "uniVer": "√",
300
- * "unixVer": "x"
301
- * },
302
- * "kuaishou": {
303
- * "hostVer": "√",
304
- * "uniVer": "√",
305
- * "unixVer": "x"
306
- * },
307
- * "jd": {
308
- * "hostVer": "√",
309
- * "uniVer": "√",
310
- * "unixVer": "x"
311
- * }
312
- * },
313
- * "web": {
314
- * "uniVer": "√",
315
- * "unixVer": "4.0"
316
- * }
1222
+ * "app": {
1223
+ * "android": {
1224
+ * "osVer": "5.0",
1225
+ * "uniVer": "2.0.3",
1226
+ * "unixVer": "3.9.0"
1227
+ * },
1228
+ * "ios": {
1229
+ * "osVer": "12.0",
1230
+ * "uniVer": "2.0.3",
1231
+ * "unixVer": "4.11"
1232
+ * },
1233
+ * "harmony": {
1234
+ * "osVer": "3.0",
1235
+ * "uniVer": "4.23",
1236
+ * "unixVer": "x"
1237
+ * }
1238
+ * },
1239
+ * "mp": {
1240
+ * "weixin": {
1241
+ * "hostVer": "1.9.6",
1242
+ * "uniVer": "√",
1243
+ * "unixVer": "4.41"
1244
+ * },
1245
+ * "alipay": {
1246
+ * "hostVer": "√",
1247
+ * "uniVer": "√",
1248
+ * "unixVer": "x"
1249
+ * },
1250
+ * "baidu": {
1251
+ * "hostVer": "√",
1252
+ * "uniVer": "√",
1253
+ * "unixVer": "x"
1254
+ * },
1255
+ * "toutiao": {
1256
+ * "hostVer": "√",
1257
+ * "uniVer": "√",
1258
+ * "unixVer": "x"
1259
+ * },
1260
+ * "lark": {
1261
+ * "hostVer": "√",
1262
+ * "uniVer": "√",
1263
+ * "unixVer": "x"
1264
+ * },
1265
+ * "qq": {
1266
+ * "hostVer": "√",
1267
+ * "uniVer": "√",
1268
+ * "unixVer": "x"
1269
+ * },
1270
+ * "kuaishou": {
1271
+ * "hostVer": "√",
1272
+ * "uniVer": "√",
1273
+ * "unixVer": "x"
1274
+ * },
1275
+ * "jd": {
1276
+ * "hostVer": "√",
1277
+ * "uniVer": "√",
1278
+ * "unixVer": "x"
1279
+ * }
1280
+ * },
1281
+ * "web": {
1282
+ * "uniVer": "√",
1283
+ * "unixVer": "4.0"
1284
+ * }
317
1285
  * }
318
1286
  * @uniVersion 2.0.3
319
1287
  * @uniVueVersion 2,3 //支持的vue版本
1288
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.setStorage.html
320
1289
  */
321
1290
  setStorage(options: SetStorageOptions): void,
322
1291
  /**
@@ -329,72 +1298,73 @@ export interface Uni {
329
1298
  * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#setstoragesync
330
1299
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#setstoragesync
331
1300
  * @uniPlatform {
332
- * "app": {
333
- * "android": {
334
- * "osVer": "5.0",
335
- * "uniVer": "2.0.3",
336
- * "unixVer": "3.9.0"
337
- * },
338
- * "ios": {
339
- * "osVer": "12.0",
340
- * "uniVer": "2.0.3",
341
- * "unixVer": "4.11"
342
- * },
343
- * "harmony": {
344
- * "osVer": "3.0",
345
- * "uniVer": "4.23",
346
- * "unixVer": "x"
347
- * }
348
- * },
349
- * "mp": {
350
- * "weixin": {
351
- * "hostVer": "",
352
- * "uniVer": "√",
353
- * "unixVer": "4.41"
354
- * },
355
- * "alipay": {
356
- * "hostVer": "√",
357
- * "uniVer": "√",
358
- * "unixVer": "x"
359
- * },
360
- * "baidu": {
361
- * "hostVer": "√",
362
- * "uniVer": "√",
363
- * "unixVer": "x"
364
- * },
365
- * "toutiao": {
366
- * "hostVer": "√",
367
- * "uniVer": "√",
368
- * "unixVer": "x"
369
- * },
370
- * "lark": {
371
- * "hostVer": "√",
372
- * "uniVer": "√",
373
- * "unixVer": "x"
374
- * },
375
- * "qq": {
376
- * "hostVer": "√",
377
- * "uniVer": "√",
378
- * "unixVer": "x"
379
- * },
380
- * "kuaishou": {
381
- * "hostVer": "√",
382
- * "uniVer": "√",
383
- * "unixVer": "x"
384
- * },
385
- * "jd": {
386
- * "hostVer": "√",
387
- * "uniVer": "√",
388
- * "unixVer": "x"
389
- * }
390
- * },
391
- * "web": {
392
- * "uniVer": "√",
393
- * "unixVer": "4.0"
394
- * }
1301
+ * "app": {
1302
+ * "android": {
1303
+ * "osVer": "5.0",
1304
+ * "uniVer": "2.0.3",
1305
+ * "unixVer": "3.9.0"
1306
+ * },
1307
+ * "ios": {
1308
+ * "osVer": "12.0",
1309
+ * "uniVer": "2.0.3",
1310
+ * "unixVer": "4.11"
1311
+ * },
1312
+ * "harmony": {
1313
+ * "osVer": "3.0",
1314
+ * "uniVer": "4.23",
1315
+ * "unixVer": "x"
1316
+ * }
1317
+ * },
1318
+ * "mp": {
1319
+ * "weixin": {
1320
+ * "hostVer": "1.9.6",
1321
+ * "uniVer": "√",
1322
+ * "unixVer": "4.41"
1323
+ * },
1324
+ * "alipay": {
1325
+ * "hostVer": "√",
1326
+ * "uniVer": "√",
1327
+ * "unixVer": "x"
1328
+ * },
1329
+ * "baidu": {
1330
+ * "hostVer": "√",
1331
+ * "uniVer": "√",
1332
+ * "unixVer": "x"
1333
+ * },
1334
+ * "toutiao": {
1335
+ * "hostVer": "√",
1336
+ * "uniVer": "√",
1337
+ * "unixVer": "x"
1338
+ * },
1339
+ * "lark": {
1340
+ * "hostVer": "√",
1341
+ * "uniVer": "√",
1342
+ * "unixVer": "x"
1343
+ * },
1344
+ * "qq": {
1345
+ * "hostVer": "√",
1346
+ * "uniVer": "√",
1347
+ * "unixVer": "x"
1348
+ * },
1349
+ * "kuaishou": {
1350
+ * "hostVer": "√",
1351
+ * "uniVer": "√",
1352
+ * "unixVer": "x"
1353
+ * },
1354
+ * "jd": {
1355
+ * "hostVer": "√",
1356
+ * "uniVer": "√",
1357
+ * "unixVer": "x"
1358
+ * }
1359
+ * },
1360
+ * "web": {
1361
+ * "uniVer": "√",
1362
+ * "unixVer": "4.0"
1363
+ * }
395
1364
  * }
396
1365
  * @uniVersion 2.0.3
397
1366
  * @uniVueVersion 2,3 //支持的vue版本
1367
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.setStorageSync.html
398
1368
  */
399
1369
  setStorageSync(key: string, data: any): void,
400
1370
  /**
@@ -406,72 +1376,73 @@ export interface Uni {
406
1376
  * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorage
407
1377
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorage
408
1378
  * @uniPlatform {
409
- * "app": {
410
- * "android": {
411
- * "osVer": "5.0",
412
- * "uniVer": "2.0.3",
413
- * "unixVer": "3.9.0"
414
- * },
415
- * "ios": {
416
- * "osVer": "12.0",
417
- * "uniVer": "2.0.3",
418
- * "unixVer": "4.11"
419
- * },
420
- * "harmony": {
421
- * "osVer": "3.0",
422
- * "uniVer": "4.23",
423
- * "unixVer": "x"
424
- * }
425
- * },
426
- * "mp": {
427
- * "weixin": {
428
- * "hostVer": "",
429
- * "uniVer": "√",
430
- * "unixVer": "4.41"
431
- * },
432
- * "alipay": {
433
- * "hostVer": "√",
434
- * "uniVer": "√",
435
- * "unixVer": "x"
436
- * },
437
- * "baidu": {
438
- * "hostVer": "√",
439
- * "uniVer": "√",
440
- * "unixVer": "x"
441
- * },
442
- * "toutiao": {
443
- * "hostVer": "√",
444
- * "uniVer": "√",
445
- * "unixVer": "x"
446
- * },
447
- * "lark": {
448
- * "hostVer": "√",
449
- * "uniVer": "√",
450
- * "unixVer": "x"
451
- * },
452
- * "qq": {
453
- * "hostVer": "√",
454
- * "uniVer": "√",
455
- * "unixVer": "x"
456
- * },
457
- * "kuaishou": {
458
- * "hostVer": "√",
459
- * "uniVer": "√",
460
- * "unixVer": "x"
461
- * },
462
- * "jd": {
463
- * "hostVer": "√",
464
- * "uniVer": "√",
465
- * "unixVer": "x"
466
- * }
467
- * },
468
- * "web": {
469
- * "uniVer": "√",
470
- * "unixVer": "4.0"
471
- * }
1379
+ * "app": {
1380
+ * "android": {
1381
+ * "osVer": "5.0",
1382
+ * "uniVer": "2.0.3",
1383
+ * "unixVer": "3.9.0"
1384
+ * },
1385
+ * "ios": {
1386
+ * "osVer": "12.0",
1387
+ * "uniVer": "2.0.3",
1388
+ * "unixVer": "4.11"
1389
+ * },
1390
+ * "harmony": {
1391
+ * "osVer": "3.0",
1392
+ * "uniVer": "4.23",
1393
+ * "unixVer": "x"
1394
+ * }
1395
+ * },
1396
+ * "mp": {
1397
+ * "weixin": {
1398
+ * "hostVer": "1.9.6",
1399
+ * "uniVer": "√",
1400
+ * "unixVer": "4.41"
1401
+ * },
1402
+ * "alipay": {
1403
+ * "hostVer": "√",
1404
+ * "uniVer": "√",
1405
+ * "unixVer": "x"
1406
+ * },
1407
+ * "baidu": {
1408
+ * "hostVer": "√",
1409
+ * "uniVer": "√",
1410
+ * "unixVer": "x"
1411
+ * },
1412
+ * "toutiao": {
1413
+ * "hostVer": "√",
1414
+ * "uniVer": "√",
1415
+ * "unixVer": "x"
1416
+ * },
1417
+ * "lark": {
1418
+ * "hostVer": "√",
1419
+ * "uniVer": "√",
1420
+ * "unixVer": "x"
1421
+ * },
1422
+ * "qq": {
1423
+ * "hostVer": "√",
1424
+ * "uniVer": "√",
1425
+ * "unixVer": "x"
1426
+ * },
1427
+ * "kuaishou": {
1428
+ * "hostVer": "√",
1429
+ * "uniVer": "√",
1430
+ * "unixVer": "x"
1431
+ * },
1432
+ * "jd": {
1433
+ * "hostVer": "√",
1434
+ * "uniVer": "√",
1435
+ * "unixVer": "x"
1436
+ * }
1437
+ * },
1438
+ * "web": {
1439
+ * "uniVer": "√",
1440
+ * "unixVer": "4.0"
1441
+ * }
472
1442
  * }
473
1443
  * @uniVersion 2.0.3
474
1444
  * @uniVueVersion 2,3 //支持的vue版本
1445
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.getStorage.html
475
1446
  */
476
1447
  getStorage(options: GetStorageOptions): void,
477
1448
  /**
@@ -483,72 +1454,73 @@ export interface Uni {
483
1454
  * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstoragesync
484
1455
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstoragesync
485
1456
  * @uniPlatform {
486
- * "app": {
487
- * "android": {
488
- * "osVer": "5.0",
489
- * "uniVer": "2.0.3",
490
- * "unixVer": "3.9.0"
491
- * },
492
- * "ios": {
493
- * "osVer": "12.0",
494
- * "uniVer": "2.0.3",
495
- * "unixVer": "4.11"
496
- * },
497
- * "harmony": {
498
- * "osVer": "3.0",
499
- * "uniVer": "4.23",
500
- * "unixVer": "x"
501
- * }
502
- * },
503
- * "mp": {
504
- * "weixin": {
505
- * "hostVer": "",
506
- * "uniVer": "√",
507
- * "unixVer": "4.41"
508
- * },
509
- * "alipay": {
510
- * "hostVer": "√",
511
- * "uniVer": "√",
512
- * "unixVer": "x"
513
- * },
514
- * "baidu": {
515
- * "hostVer": "√",
516
- * "uniVer": "√",
517
- * "unixVer": "x"
518
- * },
519
- * "toutiao": {
520
- * "hostVer": "√",
521
- * "uniVer": "√",
522
- * "unixVer": "x"
523
- * },
524
- * "lark": {
525
- * "hostVer": "√",
526
- * "uniVer": "√",
527
- * "unixVer": "x"
528
- * },
529
- * "qq": {
530
- * "hostVer": "√",
531
- * "uniVer": "√",
532
- * "unixVer": "x"
533
- * },
534
- * "kuaishou": {
535
- * "hostVer": "√",
536
- * "uniVer": "√",
537
- * "unixVer": "x"
538
- * },
539
- * "jd": {
540
- * "hostVer": "√",
541
- * "uniVer": "√",
542
- * "unixVer": "x"
543
- * }
544
- * },
545
- * "web": {
546
- * "uniVer": "√",
547
- * "unixVer": "4.0"
548
- * }
1457
+ * "app": {
1458
+ * "android": {
1459
+ * "osVer": "5.0",
1460
+ * "uniVer": "2.0.3",
1461
+ * "unixVer": "3.9.0"
1462
+ * },
1463
+ * "ios": {
1464
+ * "osVer": "12.0",
1465
+ * "uniVer": "2.0.3",
1466
+ * "unixVer": "4.11"
1467
+ * },
1468
+ * "harmony": {
1469
+ * "osVer": "3.0",
1470
+ * "uniVer": "4.23",
1471
+ * "unixVer": "x"
1472
+ * }
1473
+ * },
1474
+ * "mp": {
1475
+ * "weixin": {
1476
+ * "hostVer": "1.9.6",
1477
+ * "uniVer": "√",
1478
+ * "unixVer": "4.41"
1479
+ * },
1480
+ * "alipay": {
1481
+ * "hostVer": "√",
1482
+ * "uniVer": "√",
1483
+ * "unixVer": "x"
1484
+ * },
1485
+ * "baidu": {
1486
+ * "hostVer": "√",
1487
+ * "uniVer": "√",
1488
+ * "unixVer": "x"
1489
+ * },
1490
+ * "toutiao": {
1491
+ * "hostVer": "√",
1492
+ * "uniVer": "√",
1493
+ * "unixVer": "x"
1494
+ * },
1495
+ * "lark": {
1496
+ * "hostVer": "√",
1497
+ * "uniVer": "√",
1498
+ * "unixVer": "x"
1499
+ * },
1500
+ * "qq": {
1501
+ * "hostVer": "√",
1502
+ * "uniVer": "√",
1503
+ * "unixVer": "x"
1504
+ * },
1505
+ * "kuaishou": {
1506
+ * "hostVer": "√",
1507
+ * "uniVer": "√",
1508
+ * "unixVer": "x"
1509
+ * },
1510
+ * "jd": {
1511
+ * "hostVer": "√",
1512
+ * "uniVer": "√",
1513
+ * "unixVer": "x"
1514
+ * }
1515
+ * },
1516
+ * "web": {
1517
+ * "uniVer": "√",
1518
+ * "unixVer": "4.0"
1519
+ * }
549
1520
  * }
550
1521
  * @uniVersion 2.0.3
551
1522
  * @uniVueVersion 2,3 //支持的vue版本
1523
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.getStorageSync.html
552
1524
  */
553
1525
  getStorageSync(key: string): any | null,
554
1526
  /**
@@ -560,72 +1532,73 @@ export interface Uni {
560
1532
  * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorageinfo
561
1533
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorageinfo
562
1534
  * @uniPlatform {
563
- * "app": {
564
- * "android": {
565
- * "osVer": "5.0",
566
- * "uniVer": "2.0.3",
567
- * "unixVer": "3.9.0"
568
- * },
569
- * "ios": {
570
- * "osVer": "12.0",
571
- * "uniVer": "2.0.3",
572
- * "unixVer": "4.11"
573
- * },
574
- * "harmony": {
575
- * "osVer": "3.0",
576
- * "uniVer": "4.23",
577
- * "unixVer": "x"
578
- * }
579
- * },
580
- * "mp": {
581
- * "weixin": {
582
- * "hostVer": "√",
583
- * "uniVer": "√",
584
- * "unixVer": "4.41"
585
- * },
586
- * "alipay": {
587
- * "hostVer": "√",
588
- * "uniVer": "√",
589
- * "unixVer": "x"
590
- * },
591
- * "baidu": {
592
- * "hostVer": "√",
593
- * "uniVer": "√",
594
- * "unixVer": "x"
595
- * },
596
- * "toutiao": {
597
- * "hostVer": "√",
598
- * "uniVer": "√",
599
- * "unixVer": "x"
600
- * },
601
- * "lark": {
602
- * "hostVer": "√",
603
- * "uniVer": "√",
604
- * "unixVer": "x"
605
- * },
606
- * "qq": {
607
- * "hostVer": "√",
608
- * "uniVer": "√",
609
- * "unixVer": "x"
610
- * },
611
- * "kuaishou": {
612
- * "hostVer": "√",
613
- * "uniVer": "√",
614
- * "unixVer": "x"
615
- * },
616
- * "jd": {
617
- * "hostVer": "√",
618
- * "uniVer": "√",
619
- * "unixVer": "x"
620
- * }
621
- * },
622
- * "web": {
623
- * "uniVer": "√",
624
- * "unixVer": "4.0"
625
- * }
1535
+ * "app": {
1536
+ * "android": {
1537
+ * "osVer": "5.0",
1538
+ * "uniVer": "2.0.3",
1539
+ * "unixVer": "3.9.0"
1540
+ * },
1541
+ * "ios": {
1542
+ * "osVer": "12.0",
1543
+ * "uniVer": "2.0.3",
1544
+ * "unixVer": "4.11"
1545
+ * },
1546
+ * "harmony": {
1547
+ * "osVer": "3.0",
1548
+ * "uniVer": "4.23",
1549
+ * "unixVer": "x"
1550
+ * }
1551
+ * },
1552
+ * "mp": {
1553
+ * "weixin": {
1554
+ * "hostVer": "√",
1555
+ * "uniVer": "√",
1556
+ * "unixVer": "4.41"
1557
+ * },
1558
+ * "alipay": {
1559
+ * "hostVer": "√",
1560
+ * "uniVer": "√",
1561
+ * "unixVer": "x"
1562
+ * },
1563
+ * "baidu": {
1564
+ * "hostVer": "√",
1565
+ * "uniVer": "√",
1566
+ * "unixVer": "x"
1567
+ * },
1568
+ * "toutiao": {
1569
+ * "hostVer": "√",
1570
+ * "uniVer": "√",
1571
+ * "unixVer": "x"
1572
+ * },
1573
+ * "lark": {
1574
+ * "hostVer": "√",
1575
+ * "uniVer": "√",
1576
+ * "unixVer": "x"
1577
+ * },
1578
+ * "qq": {
1579
+ * "hostVer": "√",
1580
+ * "uniVer": "√",
1581
+ * "unixVer": "x"
1582
+ * },
1583
+ * "kuaishou": {
1584
+ * "hostVer": "√",
1585
+ * "uniVer": "√",
1586
+ * "unixVer": "x"
1587
+ * },
1588
+ * "jd": {
1589
+ * "hostVer": "√",
1590
+ * "uniVer": "√",
1591
+ * "unixVer": "x"
1592
+ * }
1593
+ * },
1594
+ * "web": {
1595
+ * "uniVer": "√",
1596
+ * "unixVer": "4.0"
1597
+ * }
626
1598
  * }
627
1599
  * @uniVersion 2.0.3
628
1600
  * @uniVueVersion 2,3 //支持的vue版本
1601
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.getStorageInfo.html
629
1602
  */
630
1603
  getStorageInfo(options: GetStorageInfoOptions): void,
631
1604
  /**
@@ -637,72 +1610,73 @@ export interface Uni {
637
1610
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#getstorageinfosync
638
1611
  *
639
1612
  * @uniPlatform {
640
- * "app": {
641
- * "android": {
642
- * "osVer": "5.0",
643
- * "uniVer": "2.0.3",
644
- * "unixVer": "3.9.0"
645
- * },
646
- * "ios": {
647
- * "osVer": "12.0",
648
- * "uniVer": "2.0.3",
649
- * "unixVer": "4.11"
650
- * },
651
- * "harmony": {
652
- * "osVer": "3.0",
653
- * "uniVer": "4.23",
654
- * "unixVer": "x"
655
- * }
656
- * },
657
- * "mp": {
658
- * "weixin": {
659
- * "hostVer": "√",
660
- * "uniVer": "√",
661
- * "unixVer": "4.41"
662
- * },
663
- * "alipay": {
664
- * "hostVer": "√",
665
- * "uniVer": "√",
666
- * "unixVer": "x"
667
- * },
668
- * "baidu": {
669
- * "hostVer": "√",
670
- * "uniVer": "√",
671
- * "unixVer": "x"
672
- * },
673
- * "toutiao": {
674
- * "hostVer": "√",
675
- * "uniVer": "√",
676
- * "unixVer": "x"
677
- * },
678
- * "lark": {
679
- * "hostVer": "√",
680
- * "uniVer": "√",
681
- * "unixVer": "x"
682
- * },
683
- * "qq": {
684
- * "hostVer": "√",
685
- * "uniVer": "√",
686
- * "unixVer": "x"
687
- * },
688
- * "kuaishou": {
689
- * "hostVer": "√",
690
- * "uniVer": "√",
691
- * "unixVer": "x"
692
- * },
693
- * "jd": {
694
- * "hostVer": "√",
695
- * "uniVer": "√",
696
- * "unixVer": "x"
697
- * }
698
- * },
699
- * "web": {
700
- * "uniVer": "√",
701
- * "unixVer": "4.0"
702
- * }
1613
+ * "app": {
1614
+ * "android": {
1615
+ * "osVer": "5.0",
1616
+ * "uniVer": "2.0.3",
1617
+ * "unixVer": "3.9.0"
1618
+ * },
1619
+ * "ios": {
1620
+ * "osVer": "12.0",
1621
+ * "uniVer": "2.0.3",
1622
+ * "unixVer": "4.11"
1623
+ * },
1624
+ * "harmony": {
1625
+ * "osVer": "3.0",
1626
+ * "uniVer": "4.23",
1627
+ * "unixVer": "x"
1628
+ * }
1629
+ * },
1630
+ * "mp": {
1631
+ * "weixin": {
1632
+ * "hostVer": "√",
1633
+ * "uniVer": "√",
1634
+ * "unixVer": "4.41"
1635
+ * },
1636
+ * "alipay": {
1637
+ * "hostVer": "√",
1638
+ * "uniVer": "√",
1639
+ * "unixVer": "x"
1640
+ * },
1641
+ * "baidu": {
1642
+ * "hostVer": "√",
1643
+ * "uniVer": "√",
1644
+ * "unixVer": "x"
1645
+ * },
1646
+ * "toutiao": {
1647
+ * "hostVer": "√",
1648
+ * "uniVer": "√",
1649
+ * "unixVer": "x"
1650
+ * },
1651
+ * "lark": {
1652
+ * "hostVer": "√",
1653
+ * "uniVer": "√",
1654
+ * "unixVer": "x"
1655
+ * },
1656
+ * "qq": {
1657
+ * "hostVer": "√",
1658
+ * "uniVer": "√",
1659
+ * "unixVer": "x"
1660
+ * },
1661
+ * "kuaishou": {
1662
+ * "hostVer": "√",
1663
+ * "uniVer": "√",
1664
+ * "unixVer": "x"
1665
+ * },
1666
+ * "jd": {
1667
+ * "hostVer": "√",
1668
+ * "uniVer": "√",
1669
+ * "unixVer": "x"
1670
+ * }
1671
+ * },
1672
+ * "web": {
1673
+ * "uniVer": "√",
1674
+ * "unixVer": "4.0"
1675
+ * }
703
1676
  * }
704
1677
  * @uniVersion 2.0.3
705
1678
  * @uniVueVersion 2,3 //支持的vue版本
1679
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.getStorageInfoSync.html
706
1680
  */
707
1681
  getStorageInfoSync(): GetStorageInfoSuccess,
708
1682
  /**
@@ -716,72 +1690,73 @@ export interface Uni {
716
1690
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#removestorage
717
1691
  *
718
1692
  * @uniPlatform {
719
- * "app": {
720
- * "android": {
721
- * "osVer": "5.0",
722
- * "uniVer": "2.0.3",
723
- * "unixVer": "3.9.0"
724
- * },
725
- * "ios": {
726
- * "osVer": "12.0",
727
- * "uniVer": "2.0.3",
728
- * "unixVer": "4.11"
729
- * },
730
- * "harmony": {
731
- * "osVer": "3.0",
732
- * "uniVer": "4.23",
733
- * "unixVer": "x"
734
- * }
735
- * },
736
- * "mp": {
737
- * "weixin": {
738
- * "hostVer": "",
739
- * "uniVer": "√",
740
- * "unixVer": "4.41"
741
- * },
742
- * "alipay": {
743
- * "hostVer": "√",
744
- * "uniVer": "√",
745
- * "unixVer": "x"
746
- * },
747
- * "baidu": {
748
- * "hostVer": "√",
749
- * "uniVer": "√",
750
- * "unixVer": "x"
751
- * },
752
- * "toutiao": {
753
- * "hostVer": "√",
754
- * "uniVer": "√",
755
- * "unixVer": "x"
756
- * },
757
- * "lark": {
758
- * "hostVer": "√",
759
- * "uniVer": "√",
760
- * "unixVer": "x"
761
- * },
762
- * "qq": {
763
- * "hostVer": "√",
764
- * "uniVer": "√",
765
- * "unixVer": "x"
766
- * },
767
- * "kuaishou": {
768
- * "hostVer": "√",
769
- * "uniVer": "√",
770
- * "unixVer": "x"
771
- * },
772
- * "jd": {
773
- * "hostVer": "√",
774
- * "uniVer": "√",
775
- * "unixVer": "x"
776
- * }
777
- * },
778
- * "web": {
779
- * "uniVer": "√",
780
- * "unixVer": "4.0"
781
- * }
1693
+ * "app": {
1694
+ * "android": {
1695
+ * "osVer": "5.0",
1696
+ * "uniVer": "2.0.3",
1697
+ * "unixVer": "3.9.0"
1698
+ * },
1699
+ * "ios": {
1700
+ * "osVer": "12.0",
1701
+ * "uniVer": "2.0.3",
1702
+ * "unixVer": "4.11"
1703
+ * },
1704
+ * "harmony": {
1705
+ * "osVer": "3.0",
1706
+ * "uniVer": "4.23",
1707
+ * "unixVer": "x"
1708
+ * }
1709
+ * },
1710
+ * "mp": {
1711
+ * "weixin": {
1712
+ * "hostVer": "1.9.6",
1713
+ * "uniVer": "√",
1714
+ * "unixVer": "4.41"
1715
+ * },
1716
+ * "alipay": {
1717
+ * "hostVer": "√",
1718
+ * "uniVer": "√",
1719
+ * "unixVer": "x"
1720
+ * },
1721
+ * "baidu": {
1722
+ * "hostVer": "√",
1723
+ * "uniVer": "√",
1724
+ * "unixVer": "x"
1725
+ * },
1726
+ * "toutiao": {
1727
+ * "hostVer": "√",
1728
+ * "uniVer": "√",
1729
+ * "unixVer": "x"
1730
+ * },
1731
+ * "lark": {
1732
+ * "hostVer": "√",
1733
+ * "uniVer": "√",
1734
+ * "unixVer": "x"
1735
+ * },
1736
+ * "qq": {
1737
+ * "hostVer": "√",
1738
+ * "uniVer": "√",
1739
+ * "unixVer": "x"
1740
+ * },
1741
+ * "kuaishou": {
1742
+ * "hostVer": "√",
1743
+ * "uniVer": "√",
1744
+ * "unixVer": "x"
1745
+ * },
1746
+ * "jd": {
1747
+ * "hostVer": "√",
1748
+ * "uniVer": "√",
1749
+ * "unixVer": "x"
1750
+ * }
1751
+ * },
1752
+ * "web": {
1753
+ * "uniVer": "√",
1754
+ * "unixVer": "4.0"
1755
+ * }
782
1756
  * }
783
1757
  * @uniVersion 2.0.3
784
1758
  * @uniVueVersion 2,3 //支持的vue版本
1759
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.removeStorage.html
785
1760
  */
786
1761
  removeStorage(options: RemoveStorageOptions): void,
787
1762
  /**
@@ -795,72 +1770,73 @@ export interface Uni {
795
1770
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#removestoragesync
796
1771
  *
797
1772
  * @uniPlatform {
798
- * "app": {
799
- * "android": {
800
- * "osVer": "5.0",
801
- * "uniVer": "2.0.3",
802
- * "unixVer": "3.9.0"
803
- * },
804
- * "ios": {
805
- * "osVer": "12.0",
806
- * "uniVer": "2.0.3",
807
- * "unixVer": "4.11"
808
- * },
809
- * "harmony": {
810
- * "osVer": "3.0",
811
- * "uniVer": "4.23",
812
- * "unixVer": "x"
813
- * }
814
- * },
815
- * "mp": {
816
- * "weixin": {
817
- * "hostVer": "",
818
- * "uniVer": "√",
819
- * "unixVer": "4.41"
820
- * },
821
- * "alipay": {
822
- * "hostVer": "√",
823
- * "uniVer": "√",
824
- * "unixVer": "x"
825
- * },
826
- * "baidu": {
827
- * "hostVer": "√",
828
- * "uniVer": "√",
829
- * "unixVer": "x"
830
- * },
831
- * "toutiao": {
832
- * "hostVer": "√",
833
- * "uniVer": "√",
834
- * "unixVer": "x"
835
- * },
836
- * "lark": {
837
- * "hostVer": "√",
838
- * "uniVer": "√",
839
- * "unixVer": "x"
840
- * },
841
- * "qq": {
842
- * "hostVer": "√",
843
- * "uniVer": "√",
844
- * "unixVer": "x"
845
- * },
846
- * "kuaishou": {
847
- * "hostVer": "√",
848
- * "uniVer": "√",
849
- * "unixVer": "x"
850
- * },
851
- * "jd": {
852
- * "hostVer": "√",
853
- * "uniVer": "√",
854
- * "unixVer": "x"
855
- * }
856
- * },
857
- * "web": {
858
- * "uniVer": "√",
859
- * "unixVer": "4.0"
860
- * }
1773
+ * "app": {
1774
+ * "android": {
1775
+ * "osVer": "5.0",
1776
+ * "uniVer": "2.0.3",
1777
+ * "unixVer": "3.9.0"
1778
+ * },
1779
+ * "ios": {
1780
+ * "osVer": "12.0",
1781
+ * "uniVer": "2.0.3",
1782
+ * "unixVer": "4.11"
1783
+ * },
1784
+ * "harmony": {
1785
+ * "osVer": "3.0",
1786
+ * "uniVer": "4.23",
1787
+ * "unixVer": "x"
1788
+ * }
1789
+ * },
1790
+ * "mp": {
1791
+ * "weixin": {
1792
+ * "hostVer": "1.9.6",
1793
+ * "uniVer": "√",
1794
+ * "unixVer": "4.41"
1795
+ * },
1796
+ * "alipay": {
1797
+ * "hostVer": "√",
1798
+ * "uniVer": "√",
1799
+ * "unixVer": "x"
1800
+ * },
1801
+ * "baidu": {
1802
+ * "hostVer": "√",
1803
+ * "uniVer": "√",
1804
+ * "unixVer": "x"
1805
+ * },
1806
+ * "toutiao": {
1807
+ * "hostVer": "√",
1808
+ * "uniVer": "√",
1809
+ * "unixVer": "x"
1810
+ * },
1811
+ * "lark": {
1812
+ * "hostVer": "√",
1813
+ * "uniVer": "√",
1814
+ * "unixVer": "x"
1815
+ * },
1816
+ * "qq": {
1817
+ * "hostVer": "√",
1818
+ * "uniVer": "√",
1819
+ * "unixVer": "x"
1820
+ * },
1821
+ * "kuaishou": {
1822
+ * "hostVer": "√",
1823
+ * "uniVer": "√",
1824
+ * "unixVer": "x"
1825
+ * },
1826
+ * "jd": {
1827
+ * "hostVer": "√",
1828
+ * "uniVer": "√",
1829
+ * "unixVer": "x"
1830
+ * }
1831
+ * },
1832
+ * "web": {
1833
+ * "uniVer": "√",
1834
+ * "unixVer": "4.0"
1835
+ * }
861
1836
  * }
862
1837
  * @uniVersion 2.0.3
863
1838
  * @uniVueVersion 2,3 //支持的vue版本
1839
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.removeStorageSync.html
864
1840
  */
865
1841
  removeStorageSync(key: string): void,
866
1842
  /**
@@ -872,72 +1848,73 @@ export interface Uni {
872
1848
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#clearstorage
873
1849
  *
874
1850
  * @uniPlatform {
875
- * "app": {
876
- * "android": {
877
- * "osVer": "5.0",
878
- * "uniVer": "2.0.3",
879
- * "unixVer": "3.9.0"
880
- * },
881
- * "ios": {
882
- * "osVer": "12.0",
883
- * "uniVer": "2.0.3",
884
- * "unixVer": "4.11"
885
- * },
886
- * "harmony": {
887
- * "osVer": "3.0",
888
- * "uniVer": "4.23",
889
- * "unixVer": "x"
890
- * }
891
- * },
892
- * "mp": {
893
- * "weixin": {
894
- * "hostVer": "√",
895
- * "uniVer": "√",
896
- * "unixVer": "4.41"
897
- * },
898
- * "alipay": {
899
- * "hostVer": "√",
900
- * "uniVer": "√",
901
- * "unixVer": "x"
902
- * },
903
- * "baidu": {
904
- * "hostVer": "√",
905
- * "uniVer": "√",
906
- * "unixVer": "x"
907
- * },
908
- * "toutiao": {
909
- * "hostVer": "√",
910
- * "uniVer": "√",
911
- * "unixVer": "x"
912
- * },
913
- * "lark": {
914
- * "hostVer": "√",
915
- * "uniVer": "√",
916
- * "unixVer": "x"
917
- * },
918
- * "qq": {
919
- * "hostVer": "√",
920
- * "uniVer": "√",
921
- * "unixVer": "x"
922
- * },
923
- * "kuaishou": {
924
- * "hostVer": "√",
925
- * "uniVer": "√",
926
- * "unixVer": "x"
927
- * },
928
- * "jd": {
929
- * "hostVer": "√",
930
- * "uniVer": "√",
931
- * "unixVer": "x"
932
- * }
933
- * },
934
- * "web": {
935
- * "uniVer": "√",
936
- * "unixVer": "4.0"
937
- * }
1851
+ * "app": {
1852
+ * "android": {
1853
+ * "osVer": "5.0",
1854
+ * "uniVer": "2.0.3",
1855
+ * "unixVer": "3.9.0"
1856
+ * },
1857
+ * "ios": {
1858
+ * "osVer": "12.0",
1859
+ * "uniVer": "2.0.3",
1860
+ * "unixVer": "4.11"
1861
+ * },
1862
+ * "harmony": {
1863
+ * "osVer": "3.0",
1864
+ * "uniVer": "4.23",
1865
+ * "unixVer": "x"
1866
+ * }
1867
+ * },
1868
+ * "mp": {
1869
+ * "weixin": {
1870
+ * "hostVer": "√",
1871
+ * "uniVer": "√",
1872
+ * "unixVer": "4.41"
1873
+ * },
1874
+ * "alipay": {
1875
+ * "hostVer": "√",
1876
+ * "uniVer": "√",
1877
+ * "unixVer": "x"
1878
+ * },
1879
+ * "baidu": {
1880
+ * "hostVer": "√",
1881
+ * "uniVer": "√",
1882
+ * "unixVer": "x"
1883
+ * },
1884
+ * "toutiao": {
1885
+ * "hostVer": "√",
1886
+ * "uniVer": "√",
1887
+ * "unixVer": "x"
1888
+ * },
1889
+ * "lark": {
1890
+ * "hostVer": "√",
1891
+ * "uniVer": "√",
1892
+ * "unixVer": "x"
1893
+ * },
1894
+ * "qq": {
1895
+ * "hostVer": "√",
1896
+ * "uniVer": "√",
1897
+ * "unixVer": "x"
1898
+ * },
1899
+ * "kuaishou": {
1900
+ * "hostVer": "√",
1901
+ * "uniVer": "√",
1902
+ * "unixVer": "x"
1903
+ * },
1904
+ * "jd": {
1905
+ * "hostVer": "√",
1906
+ * "uniVer": "√",
1907
+ * "unixVer": "x"
1908
+ * }
1909
+ * },
1910
+ * "web": {
1911
+ * "uniVer": "√",
1912
+ * "unixVer": "4.0"
1913
+ * }
938
1914
  * }
939
1915
  * @uniVersion 2.0.3
940
1916
  * @uniVueVersion 2,3 //支持的vue版本
1917
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.clearStorage.html
941
1918
  */
942
1919
  clearStorage(option?: ClearStorageOptions | null): void,
943
1920
  /**
@@ -949,72 +1926,73 @@ export interface Uni {
949
1926
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/storage.html#clearstoragesync
950
1927
  *
951
1928
  * @uniPlatform {
952
- * "app": {
953
- * "android": {
954
- * "osVer": "5.0",
955
- * "uniVer": "2.0.3",
956
- * "unixVer": "3.9.0"
957
- * },
958
- * "ios": {
959
- * "osVer": "12.0",
960
- * "uniVer": "2.0.3",
961
- * "unixVer": "4.11"
962
- * },
963
- * "harmony": {
964
- * "osVer": "3.0",
965
- * "uniVer": "4.23",
966
- * "unixVer": "x"
967
- * }
968
- * },
969
- * "mp": {
970
- * "weixin": {
971
- * "hostVer": "√",
972
- * "uniVer": "√",
973
- * "unixVer": "4.41"
974
- * },
975
- * "alipay": {
976
- * "hostVer": "√",
977
- * "uniVer": "√",
978
- * "unixVer": "x"
979
- * },
980
- * "baidu": {
981
- * "hostVer": "√",
982
- * "uniVer": "√",
983
- * "unixVer": "x"
984
- * },
985
- * "toutiao": {
986
- * "hostVer": "√",
987
- * "uniVer": "√",
988
- * "unixVer": "x"
989
- * },
990
- * "lark": {
991
- * "hostVer": "√",
992
- * "uniVer": "√",
993
- * "unixVer": "x"
994
- * },
995
- * "qq": {
996
- * "hostVer": "√",
997
- * "uniVer": "√",
998
- * "unixVer": "x"
999
- * },
1000
- * "kuaishou": {
1001
- * "hostVer": "√",
1002
- * "uniVer": "√",
1003
- * "unixVer": "x"
1004
- * },
1005
- * "jd": {
1006
- * "hostVer": "√",
1007
- * "uniVer": "√",
1008
- * "unixVer": "x"
1009
- * }
1010
- * },
1011
- * "web": {
1012
- * "uniVer": "√",
1013
- * "unixVer": "4.0"
1014
- * }
1929
+ * "app": {
1930
+ * "android": {
1931
+ * "osVer": "5.0",
1932
+ * "uniVer": "2.0.3",
1933
+ * "unixVer": "3.9.0"
1934
+ * },
1935
+ * "ios": {
1936
+ * "osVer": "12.0",
1937
+ * "uniVer": "2.0.3",
1938
+ * "unixVer": "4.11"
1939
+ * },
1940
+ * "harmony": {
1941
+ * "osVer": "3.0",
1942
+ * "uniVer": "4.23",
1943
+ * "unixVer": "x"
1944
+ * }
1945
+ * },
1946
+ * "mp": {
1947
+ * "weixin": {
1948
+ * "hostVer": "√",
1949
+ * "uniVer": "√",
1950
+ * "unixVer": "4.41"
1951
+ * },
1952
+ * "alipay": {
1953
+ * "hostVer": "√",
1954
+ * "uniVer": "√",
1955
+ * "unixVer": "x"
1956
+ * },
1957
+ * "baidu": {
1958
+ * "hostVer": "√",
1959
+ * "uniVer": "√",
1960
+ * "unixVer": "x"
1961
+ * },
1962
+ * "toutiao": {
1963
+ * "hostVer": "√",
1964
+ * "uniVer": "√",
1965
+ * "unixVer": "x"
1966
+ * },
1967
+ * "lark": {
1968
+ * "hostVer": "√",
1969
+ * "uniVer": "√",
1970
+ * "unixVer": "x"
1971
+ * },
1972
+ * "qq": {
1973
+ * "hostVer": "√",
1974
+ * "uniVer": "√",
1975
+ * "unixVer": "x"
1976
+ * },
1977
+ * "kuaishou": {
1978
+ * "hostVer": "√",
1979
+ * "uniVer": "√",
1980
+ * "unixVer": "x"
1981
+ * },
1982
+ * "jd": {
1983
+ * "hostVer": "√",
1984
+ * "uniVer": "√",
1985
+ * "unixVer": "x"
1986
+ * }
1987
+ * },
1988
+ * "web": {
1989
+ * "uniVer": "√",
1990
+ * "unixVer": "4.0"
1991
+ * }
1015
1992
  * }
1016
1993
  * @uniVersion 2.0.3
1017
1994
  * @uniVueVersion 2,3 //支持的vue版本
1995
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/storage/wx.clearStorageSync.html
1018
1996
  */
1019
1997
  clearStorageSync(): void
1020
1998
  }