@dcloudio/uni-app-x 0.7.51 → 0.7.53

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 (396) hide show
  1. package/.prettierrc +5 -5
  2. package/README.md +1 -1
  3. package/index.d.ts +1 -1
  4. package/options.d.ts +9 -9
  5. package/package.json +30 -30
  6. package/types/app.d.ts +1383 -1383
  7. package/types/index.d.ts +7 -7
  8. package/types/native/AsyncApiResult.d.ts +8 -8
  9. package/types/native/CSSStyleDeclaration.d.ts +144 -144
  10. package/types/native/CanvasRenderingContext2D.d.ts +3748 -3748
  11. package/types/native/DOMRect.d.ts +656 -656
  12. package/types/native/DrawableContext.d.ts +1727 -1722
  13. package/types/native/INavigationBar.d.ts +22 -22
  14. package/types/native/IUniElement.d.ts +6221 -6103
  15. package/types/native/IUniError.d.ts +20 -20
  16. package/types/native/IUniForm.d.ts +9 -9
  17. package/types/native/IUniNativeViewElement.d.ts +132 -132
  18. package/types/native/NativeLoadFontFaceOptions.d.ts +11 -11
  19. package/types/native/NodeData.d.ts +22 -22
  20. package/types/native/PageNode.d.ts +6 -6
  21. package/types/native/Path2D.d.ts +269 -269
  22. package/types/native/SnapshotOptions.d.ts +62 -62
  23. package/types/native/SourceError.d.ts +46 -46
  24. package/types/native/UTSAndroidHookProxy.d.ts +14 -14
  25. package/types/native/UniAggregateError.d.ts +19 -19
  26. package/types/native/UniAnimation.d.ts +583 -583
  27. package/types/native/UniAnimationPlaybackEvent.d.ts +12 -12
  28. package/types/native/UniCallbackWrapper.d.ts +7 -7
  29. package/types/native/UniCanvasElement.d.ts +9 -9
  30. package/types/native/UniCustomEvent.d.ts +24 -24
  31. package/types/native/UniDocument.d.ts +83 -83
  32. package/types/native/UniElement.d.ts +87 -85
  33. package/types/native/UniError.d.ts +70 -70
  34. package/types/native/UniEvent.d.ts +121 -121
  35. package/types/native/UniFormControl.d.ts +8 -8
  36. package/types/native/UniFormControlElement.d.ts +15 -15
  37. package/types/native/UniImageErrorEvent.d.ts +33 -33
  38. package/types/native/UniImageLoadEvent.d.ts +37 -37
  39. package/types/native/UniInputBlurEvent.d.ts +36 -36
  40. package/types/native/UniInputConfirmEvent.d.ts +30 -30
  41. package/types/native/UniInputEvent.d.ts +38 -38
  42. package/types/native/UniInputFocusEvent.d.ts +53 -53
  43. package/types/native/UniNativeApp.d.ts +205 -205
  44. package/types/native/UniNativePage.d.ts +382 -328
  45. package/types/native/UniNestedPreScrollEvent.d.ts +45 -45
  46. package/types/native/UniPage.d.ts +878 -639
  47. package/types/native/UniPageBody.d.ts +109 -109
  48. package/types/native/UniPageEvent.d.ts +10 -10
  49. package/types/native/UniPageManager.d.ts +27 -27
  50. package/types/native/UniPageScrollEvent.d.ts +13 -13
  51. package/types/native/UniPointerEvent.d.ts +74 -74
  52. package/types/native/UniProvider.d.ts +32 -32
  53. package/types/native/UniRefresherEvent.d.ts +18 -18
  54. package/types/native/UniResizeEvent.d.ts +34 -34
  55. package/types/native/UniResizeObserver.d.ts +394 -394
  56. package/types/native/UniRichTextItemClickEvent.d.ts +37 -37
  57. package/types/native/UniSafeAreaInsets.d.ts +73 -73
  58. package/types/native/UniScrollEvent.d.ts +42 -42
  59. package/types/native/UniScrollToLowerEvent.d.ts +23 -23
  60. package/types/native/UniScrollToUpperEvent.d.ts +23 -23
  61. package/types/native/UniStartNestedScrollEvent.d.ts +33 -33
  62. package/types/native/UniStopNestedScrollEvent.d.ts +28 -28
  63. package/types/native/UniSwiperAnimationFinishEvent.d.ts +44 -44
  64. package/types/native/UniSwiperChangeEvent.d.ts +44 -44
  65. package/types/native/UniSwiperTransitionEvent.d.ts +24 -24
  66. package/types/native/UniTabTapEvent.d.ts +18 -18
  67. package/types/native/UniTabsElement.d.ts +59 -59
  68. package/types/native/UniTextElement.d.ts +35 -35
  69. package/types/native/UniTextareaFocusEvent.d.ts +54 -54
  70. package/types/native/UniTouchEvent.d.ts +64 -64
  71. package/types/native/UniVideoElement.d.ts +515 -515
  72. package/types/native/UniWebViewDownloadEvent.d.ts +52 -52
  73. package/types/native/UniWebViewElement.d.ts +10 -10
  74. package/types/native/UniWebViewErrorEvent.d.ts +59 -59
  75. package/types/native/UniWebViewLoadEvent.d.ts +41 -41
  76. package/types/native/UniWebViewLoadingEvent.d.ts +41 -41
  77. package/types/native/UniWebViewMessageEvent.d.ts +36 -36
  78. package/types/native/UniWebViewServiceMessageEvent.d.ts +8 -8
  79. package/types/native/ViewToTempFilePathOptions.d.ts +47 -47
  80. package/types/native/WebViewStyles.d.ts +20 -20
  81. package/types/native/global.d.ts +684 -662
  82. package/types/native/index.d.ts +76 -76
  83. package/types/native-global/index.d.ts +1 -1
  84. package/types/page.d.ts +1737 -1731
  85. package/types/process.d.ts +5 -5
  86. package/types/uni/base/index.d.ts +3 -3
  87. package/types/uni/env/index.d.ts +150 -117
  88. package/types/uni/global.d.ts +8 -7
  89. package/types/uni/index.d.ts +6 -5
  90. package/types/uni/uni-camera-global.d.ts +19 -0
  91. package/types/uni/uni-camera.d.ts +23 -0
  92. package/types/uni/uni-map-tencent-global.d.ts +37 -37
  93. package/types/uni/uni-map-tencent-map.d.ts +62 -62
  94. package/types/uni/uts-plugin-api/global.d.ts +70 -70
  95. package/types/uni/uts-plugin-api/index.d.ts +70 -70
  96. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/global.d.ts +24 -22
  97. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/index.d.ts +11 -10
  98. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +909 -554
  99. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/global.d.ts +24 -24
  100. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/index.d.ts +11 -11
  101. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +1765 -1765
  102. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/global.d.ts +10 -10
  103. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/index.d.ts +4 -4
  104. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +78 -78
  105. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/global.d.ts +58 -58
  106. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/index.d.ts +28 -28
  107. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +1336 -1336
  108. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/global.d.ts +10 -10
  109. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/index.d.ts +4 -4
  110. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +78 -78
  111. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/global.d.ts +22 -22
  112. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/index.d.ts +10 -10
  113. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +972 -972
  114. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/global.d.ts +20 -20
  115. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/index.d.ts +9 -9
  116. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +411 -411
  117. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/global.d.ts +32 -32
  118. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/index.d.ts +15 -15
  119. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/global.d.ts +40 -40
  120. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/index.d.ts +19 -19
  121. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +601 -601
  122. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/global.d.ts +16 -16
  123. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/index.d.ts +7 -7
  124. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +2879 -2879
  125. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/global.d.ts +20 -20
  126. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/index.d.ts +9 -9
  127. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +512 -512
  128. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/global.d.ts +18 -18
  129. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/index.d.ts +8 -8
  130. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +61 -61
  131. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/global.d.ts +20 -20
  132. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/index.d.ts +9 -9
  133. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +769 -769
  134. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/global.d.ts +12 -12
  135. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/index.d.ts +5 -5
  136. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +162 -137
  137. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/global.d.ts +28 -28
  138. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/index.d.ts +13 -13
  139. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +17 -17
  140. package/types/uni/uts-plugin-api/lib/uni-document/utssdk/global.d.ts +10 -10
  141. package/types/uni/uts-plugin-api/lib/uni-document/utssdk/index.d.ts +4 -4
  142. package/types/uni/uts-plugin-api/lib/uni-document/utssdk/interface.d.ts +76 -76
  143. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/global.d.ts +16 -16
  144. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/index.d.ts +7 -7
  145. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +338 -338
  146. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/global.d.ts +26 -26
  147. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/index.d.ts +12 -12
  148. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +102 -102
  149. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/global.d.ts +80 -80
  150. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/index.d.ts +39 -39
  151. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +384 -384
  152. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/global.d.ts +152 -152
  153. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/index.d.ts +75 -75
  154. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +92 -92
  155. package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/global.d.ts +10 -10
  156. package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/index.d.ts +4 -4
  157. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/global.d.ts +12 -12
  158. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/index.d.ts +5 -5
  159. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +616 -616
  160. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/global.d.ts +14 -14
  161. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/index.d.ts +6 -6
  162. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2634 -2557
  163. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +16 -16
  164. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +7 -7
  165. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1049 -1049
  166. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/global.d.ts +14 -14
  167. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/index.d.ts +6 -6
  168. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +2006 -2006
  169. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/global.d.ts +10 -10
  170. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/index.d.ts +4 -4
  171. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +82 -82
  172. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/global.d.ts +12 -12
  173. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/index.d.ts +5 -5
  174. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +802 -802
  175. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/global.d.ts +12 -12
  176. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/index.d.ts +5 -5
  177. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +806 -806
  178. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/global.d.ts +26 -24
  179. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/index.d.ts +12 -11
  180. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +1812 -1806
  181. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/global.d.ts +10 -8
  182. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/index.d.ts +5 -4
  183. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/interface.d.ts +9 -1
  184. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/global.d.ts +10 -8
  185. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/index.d.ts +5 -4
  186. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/interface.d.ts +9 -1
  187. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent-uni1/utssdk/global.d.ts +20 -20
  188. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent-uni1/utssdk/index.d.ts +10 -10
  189. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +736 -736
  190. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/global.d.ts +32 -32
  191. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/index.d.ts +15 -15
  192. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +692 -692
  193. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/global.d.ts +22 -22
  194. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/index.d.ts +10 -10
  195. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +419 -419
  196. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/global.d.ts +36 -36
  197. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/index.d.ts +17 -17
  198. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +634 -634
  199. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/global.d.ts +16 -16
  200. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/index.d.ts +7 -7
  201. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +1260 -1181
  202. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/global.d.ts +32 -32
  203. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/index.d.ts +15 -15
  204. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +6773 -6755
  205. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/global.d.ts +12 -12
  206. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/index.d.ts +5 -5
  207. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +501 -501
  208. package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/global.d.ts +24 -24
  209. package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/index.d.ts +11 -11
  210. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/global.d.ts +16 -16
  211. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/index.d.ts +7 -7
  212. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +169 -169
  213. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/global.d.ts +22 -22
  214. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/index.d.ts +10 -10
  215. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +367 -367
  216. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/global.d.ts +28 -28
  217. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/index.d.ts +13 -13
  218. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +683 -679
  219. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/global.d.ts +24 -24
  220. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/index.d.ts +11 -11
  221. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +277 -277
  222. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +190 -190
  223. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +94 -94
  224. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +2570 -2780
  225. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/global.d.ts +30 -18
  226. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/index.d.ts +14 -8
  227. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +858 -762
  228. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/global.d.ts +68 -68
  229. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/index.d.ts +33 -33
  230. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +1210 -1210
  231. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/global.d.ts +90 -90
  232. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/index.d.ts +44 -44
  233. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +5752 -5752
  234. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/global.d.ts +66 -66
  235. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/index.d.ts +32 -32
  236. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +2648 -2648
  237. package/types/uni/uts-plugin-api/lib/uni-oauth-huawei/utssdk/global.d.ts +8 -8
  238. package/types/uni/uts-plugin-api/lib/uni-oauth-huawei/utssdk/index.d.ts +4 -4
  239. package/types/uni/uts-plugin-api/lib/uni-oauth-huawei/utssdk/interface.d.ts +1 -1
  240. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts +24 -24
  241. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/index.d.ts +11 -11
  242. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +296 -296
  243. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/global.d.ts +24 -24
  244. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/index.d.ts +11 -11
  245. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +516 -516
  246. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/global.d.ts +26 -26
  247. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/index.d.ts +12 -12
  248. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +418 -418
  249. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/global.d.ts +34 -32
  250. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/index.d.ts +16 -15
  251. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +1089 -1081
  252. package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/global.d.ts +10 -8
  253. package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/index.d.ts +5 -4
  254. package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/interface.d.ts +9 -1
  255. package/types/uni/uts-plugin-api/lib/uni-payment-huawei/utssdk/global.d.ts +8 -8
  256. package/types/uni/uts-plugin-api/lib/uni-payment-huawei/utssdk/index.d.ts +4 -4
  257. package/types/uni/uts-plugin-api/lib/uni-payment-huawei/utssdk/interface.d.ts +1 -1
  258. package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/global.d.ts +10 -8
  259. package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/index.d.ts +5 -4
  260. package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/interface.d.ts +10 -1
  261. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/global.d.ts +46 -46
  262. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/index.d.ts +22 -22
  263. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +882 -882
  264. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/global.d.ts +30 -30
  265. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/index.d.ts +14 -14
  266. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +609 -609
  267. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/global.d.ts +78 -78
  268. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/index.d.ts +38 -38
  269. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +4323 -4323
  270. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/global.d.ts +28 -28
  271. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/index.d.ts +13 -13
  272. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +323 -323
  273. package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/global.d.ts +20 -20
  274. package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/index.d.ts +9 -9
  275. package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +50 -50
  276. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/global.d.ts +58 -58
  277. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/index.d.ts +28 -28
  278. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +2847 -2847
  279. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/global.d.ts +10 -10
  280. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/index.d.ts +4 -4
  281. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +80 -80
  282. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/global.d.ts +24 -24
  283. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/index.d.ts +11 -11
  284. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +629 -629
  285. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/global.d.ts +26 -26
  286. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/index.d.ts +12 -12
  287. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +719 -719
  288. package/types/uni/uts-plugin-api/lib/uni-sse/utssdk/global.d.ts +18 -18
  289. package/types/uni/uts-plugin-api/lib/uni-sse/utssdk/index.d.ts +8 -8
  290. package/types/uni/uts-plugin-api/lib/uni-sse/utssdk/interface.d.ts +308 -308
  291. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/global.d.ts +78 -78
  292. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/index.d.ts +38 -38
  293. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +1998 -1998
  294. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/global.d.ts +148 -148
  295. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/index.d.ts +73 -73
  296. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +3136 -3136
  297. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +54 -54
  298. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +26 -26
  299. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +1105 -1105
  300. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/global.d.ts +112 -112
  301. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/index.d.ts +55 -55
  302. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +2306 -2306
  303. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/global.d.ts +58 -58
  304. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/index.d.ts +28 -28
  305. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +2717 -2717
  306. package/types/uni/uts-plugin-biz/global.d.ts +7 -7
  307. package/types/uni/uts-plugin-biz/index.d.ts +7 -7
  308. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/global.d.ts +44 -44
  309. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/index.d.ts +21 -21
  310. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +1008 -1008
  311. package/types/uni/uts-plugin-biz/lib/uni-camera/utssdk/global.d.ts +34 -34
  312. package/types/uni/uts-plugin-biz/lib/uni-camera/utssdk/index.d.ts +16 -16
  313. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/global.d.ts +24 -24
  314. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/index.d.ts +11 -11
  315. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/global.d.ts +28 -28
  316. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/index.d.ts +13 -13
  317. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/interface.d.ts +212 -212
  318. package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/global.d.ts +28 -0
  319. package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/index.d.ts +13 -0
  320. package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +212 -0
  321. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/global.d.ts +66 -66
  322. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/index.d.ts +32 -32
  323. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +509 -84
  324. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/global.d.ts +60 -60
  325. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/index.d.ts +29 -29
  326. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +960 -960
  327. package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/global.d.ts +24 -24
  328. package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/index.d.ts +11 -11
  329. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +52 -52
  330. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +25 -25
  331. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +20 -20
  332. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/global.d.ts +64 -64
  333. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/index.d.ts +31 -31
  334. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/interface.d.ts +900 -900
  335. package/types/uni/uts-plugin-component/global.d.ts +3 -3
  336. package/types/uni/uts-plugin-component/index.d.ts +3 -3
  337. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +34 -34
  338. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +16 -16
  339. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +679 -27
  340. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/global.d.ts +24 -22
  341. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/index.d.ts +11 -10
  342. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +974 -972
  343. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +68 -68
  344. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +33 -33
  345. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +935 -935
  346. package/types/uni/uts-plugin-extend/global.d.ts +11 -11
  347. package/types/uni/uts-plugin-extend/index.d.ts +10 -10
  348. package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/global.d.ts +7 -7
  349. package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/interface.d.ts +3 -3
  350. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/global.d.ts +12 -12
  351. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/index.d.ts +1 -1
  352. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +917 -917
  353. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/global.d.ts +23 -23
  354. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/index.d.ts +10 -10
  355. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +4770 -4770
  356. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/global.d.ts +25 -25
  357. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/index.d.ts +11 -11
  358. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +1095 -1095
  359. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/global.d.ts +13 -13
  360. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/index.d.ts +5 -5
  361. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/interface.d.ts +126 -126
  362. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/global.d.ts +15 -15
  363. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/index.d.ts +1 -1
  364. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +229 -229
  365. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/global.d.ts +14 -14
  366. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/index.d.ts +1 -1
  367. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +1670 -1670
  368. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/global.d.ts +9 -9
  369. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/index.d.ts +1 -1
  370. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +253 -253
  371. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/global.d.ts +21 -21
  372. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/index.d.ts +9 -9
  373. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +999 -999
  374. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/global.d.ts +7 -7
  375. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/index.d.ts +1 -1
  376. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/interface.d.ts +106 -106
  377. package/types/uni-cloud/index.d.ts +67 -67
  378. package/types/uni-cloud/interface.d.ts +1078 -1078
  379. package/types/uni-cloud/unicloud-db/index.ts +317 -317
  380. package/types/uni-global/index.d.ts +1 -1
  381. package/types/vue/CheckboxGroupChangeEvent.d.ts +41 -41
  382. package/types/vue/LifeCycle.d.ts +55 -55
  383. package/types/vue/PickerViewChangeEvent.d.ts +41 -41
  384. package/types/vue/ProgressActiveendEvent.d.ts +32 -32
  385. package/types/vue/RadioGroupChangeEvent.d.ts +41 -41
  386. package/types/vue/SliderChangeEvent.d.ts +35 -35
  387. package/types/vue/SwitchChangeEvent.d.ts +32 -32
  388. package/types/vue/UniCanvasElement.d.ts +275 -275
  389. package/types/vue/UniCloudDBElement.d.ts +217 -217
  390. package/types/vue/UniFormElement.d.ts +54 -54
  391. package/types/vue/UniNavigatorElement.d.ts +11 -11
  392. package/types/vue/global.d.ts +191 -191
  393. package/types/vue/index.d.ts +10 -10
  394. package/types/vue-global/index.d.ts +1 -1
  395. package/uts-plugin.d.ts +35 -33
  396. package/types/uni/uts-plugin-extend/README.md +0 -3
@@ -1,2557 +1,2634 @@
1
- export type GetAppBaseInfoOptions = {
2
- /**
3
- * @description 过滤字段的字符串数组,假如要获取指定字段,传入此数组。
4
- */
5
- filter: Array<string>
6
- };
7
-
8
- export type GetAppBaseInfoResult = {
9
- /**
10
- * manifest.json 中应用appid,即DCloud appid。
11
- *
12
- * @uniPlatform
13
- {
14
- "app": {
15
- "android": {
16
- "osVer": "5.0",
17
- "uniVer": "√",
18
- "uniUtsPlugin": "3.91",
19
- "unixVer": "3.91",
20
- "unixUtsPlugin": "3.91"
21
- },
22
- "ios": {
23
- "osVer": "12.0",
24
- "uniVer": "√",
25
- "uniUtsPlugin": "4.11",
26
- "unixVer": "4.11",
27
- "unixUtsPlugin": "4.11"
28
- },
29
- "harmony": {
30
- "osVer": "3.0",
31
- "uniVer": "4.23",
32
- "unixVer": "4.61"
33
- }
34
- },
35
- "mp": {
36
- "weixin": {
37
- "hostVer": "√",
38
- "uniVer": "√",
39
- "unixVer": "4.41"
40
- },
41
- "alipay": {
42
- "hostVer": "√",
43
- "uniVer": "√",
44
- "unixVer": "x"
45
- },
46
- "baidu": {
47
- "hostVer": "√",
48
- "uniVer": "√",
49
- "unixVer": "x"
50
- },
51
- "toutiao": {
52
- "hostVer": "√",
53
- "uniVer": "√",
54
- "unixVer": "x"
55
- },
56
- "lark": {
57
- "hostVer": "√",
58
- "uniVer": "√",
59
- "unixVer": "x"
60
- },
61
- "qq": {
62
- "hostVer": "√",
63
- "uniVer": "√",
64
- "unixVer": "x"
65
- },
66
- "kuaishou": {
67
- "hostVer": "√",
68
- "uniVer": "√",
69
- "unixVer": "x"
70
- },
71
- "jd": {
72
- "hostVer": "√",
73
- "uniVer": "√",
74
- "unixVer": "x"
75
- }
76
- },
77
- "web": {
78
- "uniVer": "√",
79
- "unixVer": "4.0"
80
- }
81
- }
82
- */
83
- appId?: string,
84
-
85
- /**
86
- * `manifest.json` 中应用名称。
87
- *
88
- * @uniPlatform
89
- {
90
- "app": {
91
- "android": {
92
- "osVer": "5.0",
93
- "uniVer": "√",
94
- "uniUtsPlugin": "3.91",
95
- "unixVer": "3.91",
96
- "unixUtsPlugin": "3.91"
97
- },
98
- "ios": {
99
- "osVer": "12.0",
100
- "uniVer": "√",
101
- "uniUtsPlugin": "4.11",
102
- "unixVer": "4.11",
103
- "unixUtsPlugin": "4.11"
104
- },
105
- "harmony": {
106
- "osVer": "3.0",
107
- "uniVer": "4.23",
108
- "unixVer": "4.61"
109
- }
110
- },
111
- "mp": {
112
- "weixin": {
113
- "hostVer": "√",
114
- "uniVer": "√",
115
- "unixVer": "4.41"
116
- },
117
- "alipay": {
118
- "hostVer": "√",
119
- "uniVer": "√",
120
- "unixVer": "x"
121
- },
122
- "baidu": {
123
- "hostVer": "√",
124
- "uniVer": "√",
125
- "unixVer": "x"
126
- },
127
- "toutiao": {
128
- "hostVer": "√",
129
- "uniVer": "√",
130
- "unixVer": "x"
131
- },
132
- "lark": {
133
- "hostVer": "√",
134
- "uniVer": "√",
135
- "unixVer": "x"
136
- },
137
- "qq": {
138
- "hostVer": "√",
139
- "uniVer": "√",
140
- "unixVer": "x"
141
- },
142
- "kuaishou": {
143
- "hostVer": "√",
144
- "uniVer": "√",
145
- "unixVer": "x"
146
- },
147
- "jd": {
148
- "hostVer": "√",
149
- "uniVer": "√",
150
- "unixVer": "x"
151
- }
152
- },
153
- "web": {
154
- "uniVer": "√",
155
- "unixVer": "4.0"
156
- }
157
- }
158
- */
159
- appName?: string,
160
-
161
- /**
162
- * `manifest.json` 中应用版本名称,如果离线打包注意修改修改index.kt中UniAppConfig类型中的版本名称[文档](https://doc.dcloud.net.cn/uni-app-x/native/use/android.html#%E6%8B%B7%E8%B4%9Dkt%E6%96%87%E4%BB%B6)。
163
- *
164
- * @uniPlatform
165
- {
166
- "app": {
167
- "android": {
168
- "osVer": "5.0",
169
- "uniVer": "√",
170
- "uniUtsPlugin": "3.91",
171
- "unixVer": "3.91",
172
- "unixUtsPlugin": "3.91"
173
- },
174
- "ios": {
175
- "osVer": "12.0",
176
- "uniVer": "√",
177
- "uniUtsPlugin": "4.11",
178
- "unixVer": "4.11",
179
- "unixUtsPlugin": "4.11"
180
- },
181
- "harmony": {
182
- "osVer": "3.0",
183
- "uniVer": "4.23",
184
- "unixVer": "4.61"
185
- }
186
- },
187
- "mp": {
188
- "weixin": {
189
- "hostVer": "√",
190
- "uniVer": "√",
191
- "unixVer": "4.41"
192
- },
193
- "alipay": {
194
- "hostVer": "√",
195
- "uniVer": "√",
196
- "unixVer": "x"
197
- },
198
- "baidu": {
199
- "hostVer": "√",
200
- "uniVer": "√",
201
- "unixVer": "x"
202
- },
203
- "toutiao": {
204
- "hostVer": "√",
205
- "uniVer": "√",
206
- "unixVer": "x"
207
- },
208
- "lark": {
209
- "hostVer": "√",
210
- "uniVer": "√",
211
- "unixVer": "x"
212
- },
213
- "qq": {
214
- "hostVer": "√",
215
- "uniVer": "√",
216
- "unixVer": "x"
217
- },
218
- "kuaishou": {
219
- "hostVer": "√",
220
- "uniVer": "√",
221
- "unixVer": "x"
222
- },
223
- "jd": {
224
- "hostVer": "√",
225
- "uniVer": "√",
226
- "unixVer": "x"
227
- }
228
- },
229
- "web": {
230
- "uniVer": "√",
231
- "unixVer": "4.0"
232
- }
233
- }
234
- */
235
- appVersion?: string,
236
-
237
- /**
238
- * `manifest.json` 中应用版本名号,如果离线打包注意修改修改index.kt中UniAppConfig类型中的版本号[文档](https://doc.dcloud.net.cn/uni-app-x/native/use/android.html#%E6%8B%B7%E8%B4%9Dkt%E6%96%87%E4%BB%B6)。
239
- *
240
- * @uniPlatform
241
- {
242
- "app": {
243
- "android": {
244
- "osVer": "5.0",
245
- "uniVer": "√",
246
- "uniUtsPlugin": "3.91",
247
- "unixVer": "3.91",
248
- "unixUtsPlugin": "3.91"
249
- },
250
- "ios": {
251
- "osVer": "12.0",
252
- "uniVer": "√",
253
- "uniUtsPlugin": "4.11",
254
- "unixVer": "4.11",
255
- "unixUtsPlugin": "4.11"
256
- },
257
- "harmony": {
258
- "osVer": "3.0",
259
- "uniVer": "x",
260
- "unixVer": "x"
261
- }
262
- },
263
- "mp": {
264
- "weixin": {
265
- "hostVer": "√",
266
- "uniVer": "√",
267
- "unixVer": "4.41"
268
- },
269
- "alipay": {
270
- "hostVer": "√",
271
- "uniVer": "√",
272
- "unixVer": "x"
273
- },
274
- "baidu": {
275
- "hostVer": "√",
276
- "uniVer": "√",
277
- "unixVer": "x"
278
- },
279
- "toutiao": {
280
- "hostVer": "√",
281
- "uniVer": "√",
282
- "unixVer": "x"
283
- },
284
- "lark": {
285
- "hostVer": "√",
286
- "uniVer": "√",
287
- "unixVer": "x"
288
- },
289
- "qq": {
290
- "hostVer": "√",
291
- "uniVer": "√",
292
- "unixVer": "x"
293
- },
294
- "kuaishou": {
295
- "hostVer": "√",
296
- "uniVer": "√",
297
- "unixVer": "x"
298
- },
299
- "jd": {
300
- "hostVer": "√",
301
- "uniVer": "√",
302
- "unixVer": "x"
303
- }
304
- },
305
- "web": {
306
- "uniVer": "√",
307
- "unixVer": "4.0"
308
- }
309
- }
310
- */
311
- appVersionCode?: string,
312
-
313
- /**
314
- * 应用设置的语言en、zh-Hans、zh-Hant、fr、es
315
- *
316
- * @uniPlatform
317
- {
318
- "app": {
319
- "android": {
320
- "osVer": "5.0",
321
- "uniVer": "√",
322
- "uniUtsPlugin": "3.91",
323
- "unixVer": "3.91",
324
- "unixUtsPlugin": "3.91"
325
- },
326
- "ios": {
327
- "osVer": "12.0",
328
- "uniVer": "√",
329
- "uniUtsPlugin": "4.11",
330
- "unixVer": "4.11",
331
- "unixUtsPlugin": "4.11"
332
- },
333
- "harmony": {
334
- "osVer": "3.0",
335
- "uniVer": "x",
336
- "unixVer": "x"
337
- }
338
- },
339
- "mp": {
340
- "weixin": {
341
- "hostVer": "√",
342
- "uniVer": "√",
343
- "unixVer": "4.41"
344
- },
345
- "alipay": {
346
- "hostVer": "√",
347
- "uniVer": "√",
348
- "unixVer": "x"
349
- },
350
- "baidu": {
351
- "hostVer": "√",
352
- "uniVer": "√",
353
- "unixVer": "x"
354
- },
355
- "toutiao": {
356
- "hostVer": "√",
357
- "uniVer": "√",
358
- "unixVer": "x"
359
- },
360
- "lark": {
361
- "hostVer": "√",
362
- "uniVer": "√",
363
- "unixVer": "x"
364
- },
365
- "qq": {
366
- "hostVer": "√",
367
- "uniVer": "√",
368
- "unixVer": "x"
369
- },
370
- "kuaishou": {
371
- "hostVer": "√",
372
- "uniVer": "√",
373
- "unixVer": "x"
374
- },
375
- "jd": {
376
- "hostVer": "√",
377
- "uniVer": "√",
378
- "unixVer": "x"
379
- }
380
- },
381
- "web": {
382
- "uniVer": "√",
383
- "unixVer": "4.0"
384
- }
385
- }
386
- */
387
- appLanguage?: string,
388
- /**
389
- * 应用设置的语言
390
- *
391
- * @uniPlatform
392
- {
393
- "app": {
394
- "android": {
395
- "osVer": "5.0",
396
- "uniVer": "√",
397
- "uniUtsPlugin": "3.91",
398
- "unixVer": "3.91",
399
- "unixUtsPlugin": "3.91"
400
- },
401
- "ios": {
402
- "osVer": "12.0",
403
- "uniVer": "√",
404
- "uniUtsPlugin": "4.11",
405
- "unixVer": "4.11",
406
- "unixUtsPlugin": "4.11"
407
- },
408
- "harmony": {
409
- "osVer": "3.0",
410
- "uniVer": "x",
411
- "unixVer": "x"
412
- }
413
- },
414
- "mp": {
415
- "weixin": {
416
- "hostVer": "√",
417
- "uniVer": "√",
418
- "unixVer": "4.41"
419
- },
420
- "alipay": {
421
- "hostVer": "√",
422
- "uniVer": "√",
423
- "unixVer": "x"
424
- },
425
- "baidu": {
426
- "hostVer": "√",
427
- "uniVer": "√",
428
- "unixVer": "x"
429
- },
430
- "toutiao": {
431
- "hostVer": "√",
432
- "uniVer": "√",
433
- "unixVer": "x"
434
- },
435
- "lark": {
436
- "hostVer": "√",
437
- "uniVer": "√",
438
- "unixVer": "x"
439
- },
440
- "qq": {
441
- "hostVer": "√",
442
- "uniVer": "√",
443
- "unixVer": "x"
444
- },
445
- "kuaishou": {
446
- "hostVer": "√",
447
- "uniVer": "√",
448
- "unixVer": "x"
449
- },
450
- "jd": {
451
- "hostVer": "√",
452
- "uniVer": "√",
453
- "unixVer": "x"
454
- }
455
- },
456
- "web": {
457
- "uniVer": "√",
458
- "unixVer": "4.0"
459
- }
460
- }
461
- */
462
- language?: string,
463
-
464
- /**
465
- * 引擎版本号。已废弃,仅为了向下兼容保留
466
- * @deprecated 已废弃,仅为了向下兼容保留
467
- *
468
- * @uniPlatform
469
- {
470
- "app": {
471
- "android": {
472
- "osVer": "5.0",
473
- "uniVer": "√",
474
- "uniUtsPlugin": "3.91",
475
- "unixVer": "3.91",
476
- "unixUtsPlugin": "3.91"
477
- },
478
- "ios": {
479
- "osVer": "12.0",
480
- "uniVer": "√",
481
- "uniUtsPlugin": "4.11",
482
- "unixVer": "4.11",
483
- "unixUtsPlugin": "4.11"
484
- },
485
- "harmony": {
486
- "osVer": "3.0",
487
- "uniVer": "4.23",
488
- "unixVer": "4.61"
489
- }
490
- },
491
- "mp": {
492
- "weixin": {
493
- "hostVer": "√",
494
- "uniVer": "√",
495
- "unixVer": "4.41"
496
- },
497
- "alipay": {
498
- "hostVer": "√",
499
- "uniVer": "√",
500
- "unixVer": "x"
501
- },
502
- "baidu": {
503
- "hostVer": "√",
504
- "uniVer": "√",
505
- "unixVer": "x"
506
- },
507
- "toutiao": {
508
- "hostVer": "√",
509
- "uniVer": "√",
510
- "unixVer": "x"
511
- },
512
- "lark": {
513
- "hostVer": "√",
514
- "uniVer": "√",
515
- "unixVer": "x"
516
- },
517
- "qq": {
518
- "hostVer": "√",
519
- "uniVer": "√",
520
- "unixVer": "x"
521
- },
522
- "kuaishou": {
523
- "hostVer": "√",
524
- "uniVer": "√",
525
- "unixVer": "x"
526
- },
527
- "jd": {
528
- "hostVer": "√",
529
- "uniVer": "√",
530
- "unixVer": "x"
531
- }
532
- },
533
- "web": {
534
- "uniVer": "x",
535
- "unixVer": "x"
536
- }
537
- }
538
- */
539
- version?: string,
540
-
541
- /**
542
- * 应用资源(wgt)的版本名称。
543
- *
544
- * @uniPlatform
545
- {
546
- "app": {
547
- "android": {
548
- "osVer": "5.0",
549
- "uniVer": "√",
550
- "uniUtsPlugin": "x",
551
- "unixVer": "x",
552
- "unixUtsPlugin": "x"
553
- },
554
- "ios": {
555
- "osVer": "12.0",
556
- "uniVer": "√",
557
- "uniUtsPlugin": "x",
558
- "unixVer": "x",
559
- "unixUtsPlugin": "x"
560
- },
561
- "harmony": {
562
- "osVer": "3.0",
563
- "uniVer": "4.23",
564
- "unixVer": "4.61"
565
- }
566
- },
567
- "mp": {
568
- "weixin": {
569
- "hostVer": "√",
570
- "uniVer": "x",
571
- "unixVer": "x"
572
- },
573
- "alipay": {
574
- "hostVer": "√",
575
- "uniVer": "√",
576
- "unixVer": "x"
577
- },
578
- "baidu": {
579
- "hostVer": "√",
580
- "uniVer": "√",
581
- "unixVer": "x"
582
- },
583
- "toutiao": {
584
- "hostVer": "√",
585
- "uniVer": "√",
586
- "unixVer": "x"
587
- },
588
- "lark": {
589
- "hostVer": "√",
590
- "uniVer": "√",
591
- "unixVer": "x"
592
- },
593
- "qq": {
594
- "hostVer": "√",
595
- "uniVer": "√",
596
- "unixVer": "x"
597
- },
598
- "kuaishou": {
599
- "hostVer": "√",
600
- "uniVer": "√",
601
- "unixVer": "x"
602
- },
603
- "jd": {
604
- "hostVer": "√",
605
- "uniVer": "√",
606
- "unixVer": "x"
607
- }
608
- },
609
- "web": {
610
- "uniVer": "x",
611
- "unixVer": "x"
612
- }
613
- }
614
- */
615
- appWgtVersion?: string,
616
-
617
- /**
618
- * 小程序宿主语言
619
- *
620
- * @uniPlatform
621
- {
622
- "app": {
623
- "android": {
624
- "osVer": "5.0",
625
- "uniVer": "√",
626
- "uniUtsPlugin": "x",
627
- "unixVer": "x",
628
- "unixUtsPlugin": "x"
629
- },
630
- "ios": {
631
- "osVer": "12.0",
632
- "uniVer": "√",
633
- "uniUtsPlugin": "x",
634
- "unixVer": "x",
635
- "unixUtsPlugin": "x"
636
- },
637
- "harmony": {
638
- "osVer": "3.0",
639
- "uniVer": "4.23",
640
- "unixVer": "4.61"
641
- }
642
- },
643
- "mp": {
644
- "weixin": {
645
- "hostVer": "√",
646
- "uniVer": "√",
647
- "unixVer": "4.41"
648
- },
649
- "alipay": {
650
- "hostVer": "√",
651
- "uniVer": "√",
652
- "unixVer": "x"
653
- },
654
- "baidu": {
655
- "hostVer": "√",
656
- "uniVer": "√",
657
- "unixVer": "x"
658
- },
659
- "toutiao": {
660
- "hostVer": "√",
661
- "uniVer": "√",
662
- "unixVer": "x"
663
- },
664
- "lark": {
665
- "hostVer": "√",
666
- "uniVer": "√",
667
- "unixVer": "x"
668
- },
669
- "qq": {
670
- "hostVer": "√",
671
- "uniVer": "√",
672
- "unixVer": "x"
673
- },
674
- "kuaishou": {
675
- "hostVer": "√",
676
- "uniVer": "√",
677
- "unixVer": "x"
678
- },
679
- "jd": {
680
- "hostVer": "√",
681
- "uniVer": "√",
682
- "unixVer": "x"
683
- }
684
- },
685
- "web": {
686
- "uniVer": "x",
687
- "unixVer": "x"
688
- }
689
- }
690
- */
691
- hostLanguage?: string,
692
-
693
- /**
694
- * App、小程序宿主版本。
695
- *
696
- * @uniPlatform
697
- {
698
- "app": {
699
- "android": {
700
- "osVer": "5.0",
701
- "uniVer": "√",
702
- "uniUtsPlugin": "x",
703
- "unixVer": "x",
704
- "unixUtsPlugin": "x"
705
- },
706
- "ios": {
707
- "osVer": "12.0",
708
- "uniVer": "√",
709
- "uniUtsPlugin": "x",
710
- "unixVer": "x",
711
- "unixUtsPlugin": "x"
712
- },
713
- "harmony": {
714
- "osVer": "3.0",
715
- "uniVer": "x",
716
- "unixVer": "x"
717
- }
718
- },
719
- "mp": {
720
- "weixin": {
721
- "hostVer": "√",
722
- "uniVer": "√",
723
- "unixVer": "4.41"
724
- },
725
- "alipay": {
726
- "hostVer": "√",
727
- "uniVer": "√",
728
- "unixVer": "x"
729
- },
730
- "baidu": {
731
- "hostVer": "√",
732
- "uniVer": "√",
733
- "unixVer": "x"
734
- },
735
- "toutiao": {
736
- "hostVer": "√",
737
- "uniVer": "√",
738
- "unixVer": "x"
739
- },
740
- "lark": {
741
- "hostVer": "√",
742
- "uniVer": "√",
743
- "unixVer": "x"
744
- },
745
- "qq": {
746
- "hostVer": "√",
747
- "uniVer": "√",
748
- "unixVer": "x"
749
- },
750
- "kuaishou": {
751
- "hostVer": "√",
752
- "uniVer": "√",
753
- "unixVer": "x"
754
- },
755
- "jd": {
756
- "hostVer": "√",
757
- "uniVer": "√",
758
- "unixVer": "x"
759
- }
760
- },
761
- "web": {
762
- "uniVer": "x",
763
- "unixVer": "x"
764
- }
765
- }
766
- */
767
- hostVersion?: string,
768
- /**
769
- * 小程序宿主名称
770
- *
771
- * @uniPlatform
772
- {
773
- "app": {
774
- "android": {
775
- "osVer": "5.0",
776
- "uniVer": "√",
777
- "uniUtsPlugin": "x",
778
- "unixVer": "x",
779
- "unixUtsPlugin": "x"
780
- },
781
- "ios": {
782
- "osVer": "12.0",
783
- "uniVer": "√",
784
- "uniUtsPlugin": "x",
785
- "unixVer": "x",
786
- "unixUtsPlugin": "x"
787
- },
788
- "harmony": {
789
- "osVer": "3.0",
790
- "uniVer": "x",
791
- "unixVer": "x"
792
- }
793
- },
794
- "mp": {
795
- "weixin": {
796
- "hostVer": "√",
797
- "uniVer": "√",
798
- "unixVer": "4.41"
799
- },
800
- "alipay": {
801
- "hostVer": "√",
802
- "uniVer": "√",
803
- "unixVer": "x"
804
- },
805
- "baidu": {
806
- "hostVer": "√",
807
- "uniVer": "√",
808
- "unixVer": "x"
809
- },
810
- "toutiao": {
811
- "hostVer": "√",
812
- "uniVer": "√",
813
- "unixVer": "x"
814
- },
815
- "lark": {
816
- "hostVer": "√",
817
- "uniVer": "√",
818
- "unixVer": "x"
819
- },
820
- "qq": {
821
- "hostVer": "√",
822
- "uniVer": "√",
823
- "unixVer": "x"
824
- },
825
- "kuaishou": {
826
- "hostVer": "√",
827
- "uniVer": "√",
828
- "unixVer": "x"
829
- },
830
- "jd": {
831
- "hostVer": "√",
832
- "uniVer": "√",
833
- "unixVer": "x"
834
- }
835
- },
836
- "web": {
837
- "uniVer": "x",
838
- "unixVer": "x"
839
- }
840
- }
841
- */
842
- hostName?: string,
843
- /**
844
- * 小程序宿主包名
845
- *
846
- * @uniPlatform
847
- {
848
- "app": {
849
- "android": {
850
- "osVer": "5.0",
851
- "uniVer": "√",
852
- "uniUtsPlugin": "x",
853
- "unixVer": "x",
854
- "unixUtsPlugin": "x"
855
- },
856
- "ios": {
857
- "osVer": "12.0",
858
- "uniVer": "√",
859
- "uniUtsPlugin": "x",
860
- "unixVer": "x",
861
- "unixUtsPlugin": "x"
862
- },
863
- "harmony": {
864
- "osVer": "3.0",
865
- "uniVer": "x",
866
- "unixVer": "x"
867
- }
868
- },
869
- "mp": {
870
- "weixin": {
871
- "hostVer": "√",
872
- "uniVer": "x",
873
- "unixVer": "x"
874
- },
875
- "alipay": {
876
- "hostVer": "√",
877
- "uniVer": "√",
878
- "unixVer": "x"
879
- },
880
- "baidu": {
881
- "hostVer": "√",
882
- "uniVer": "√",
883
- "unixVer": "x"
884
- },
885
- "toutiao": {
886
- "hostVer": "√",
887
- "uniVer": "√",
888
- "unixVer": "x"
889
- },
890
- "lark": {
891
- "hostVer": "√",
892
- "uniVer": "√",
893
- "unixVer": "x"
894
- },
895
- "qq": {
896
- "hostVer": "√",
897
- "uniVer": "√",
898
- "unixVer": "x"
899
- },
900
- "kuaishou": {
901
- "hostVer": "√",
902
- "uniVer": "√",
903
- "unixVer": "x"
904
- },
905
- "jd": {
906
- "hostVer": "√",
907
- "uniVer": "√",
908
- "unixVer": "x"
909
- }
910
- },
911
- "web": {
912
- "uniVer": "x",
913
- "unixVer": "x"
914
- }
915
- }
916
- */
917
- hostPackageName?: string,
918
-
919
- /**
920
- * uni小程序SDK版本、小程序客户端基础库版本
921
- *
922
- * @uniPlatform
923
- {
924
- "app": {
925
- "android": {
926
- "osVer": "5.0",
927
- "uniVer": "√",
928
- "uniUtsPlugin": "x",
929
- "unixVer": "x",
930
- "unixUtsPlugin": "x"
931
- },
932
- "ios": {
933
- "osVer": "12.0",
934
- "uniVer": "√",
935
- "uniUtsPlugin": "x",
936
- "unixVer": "x",
937
- "unixUtsPlugin": "x"
938
- },
939
- "harmony": {
940
- "osVer": "3.0",
941
- "uniVer": "x",
942
- "unixVer": "x"
943
- }
944
- },
945
- "mp": {
946
- "weixin": {
947
- "hostVer": "√",
948
- "uniVer": "√",
949
- "unixVer": "4.41"
950
- },
951
- "alipay": {
952
- "hostVer": "√",
953
- "uniVer": "√",
954
- "unixVer": "x"
955
- },
956
- "baidu": {
957
- "hostVer": "√",
958
- "uniVer": "√",
959
- "unixVer": "x"
960
- },
961
- "toutiao": {
962
- "hostVer": "√",
963
- "uniVer": "√",
964
- "unixVer": "x"
965
- },
966
- "lark": {
967
- "hostVer": "√",
968
- "uniVer": "√",
969
- "unixVer": "x"
970
- },
971
- "qq": {
972
- "hostVer": "√",
973
- "uniVer": "√",
974
- "unixVer": "x"
975
- },
976
- "kuaishou": {
977
- "hostVer": "√",
978
- "uniVer": "√",
979
- "unixVer": "x"
980
- },
981
- "jd": {
982
- "hostVer": "√",
983
- "uniVer": "√",
984
- "unixVer": "x"
985
- }
986
- },
987
- "web": {
988
- "uniVer": "x",
989
- "unixVer": "x"
990
- }
991
- }
992
- */
993
- hostSDKVersion?: string,
994
-
995
- /**
996
- * 系统当前主题,取值为light或dark。微信小程序全局配置"darkmode":true时才能获取,否则为 undefined (不支持小游戏)
997
- *
998
- * @uniPlatform
999
- {
1000
- "app": {
1001
- "android": {
1002
- "osVer": "5.0",
1003
- "uniVer": "√",
1004
- "uniUtsPlugin": "x",
1005
- "unixVer": "x",
1006
- "unixUtsPlugin": "x"
1007
- },
1008
- "ios": {
1009
- "osVer": "12.0",
1010
- "uniVer": "√",
1011
- "uniUtsPlugin": "x",
1012
- "unixVer": "x",
1013
- "unixUtsPlugin": "x"
1014
- },
1015
- "harmony": {
1016
- "osVer": "3.0",
1017
- "uniVer": "x",
1018
- "unixVer": "x"
1019
- }
1020
- },
1021
- "mp": {
1022
- "weixin": {
1023
- "hostVer": "√",
1024
- "uniVer": "√",
1025
- "unixVer": "4.41"
1026
- },
1027
- "alipay": {
1028
- "hostVer": "√",
1029
- "uniVer": "x",
1030
- "unixVer": "x"
1031
- },
1032
- "baidu": {
1033
- "hostVer": "√",
1034
- "uniVer": "x",
1035
- "unixVer": "x"
1036
- },
1037
- "toutiao": {
1038
- "hostVer": "√",
1039
- "uniVer": "x",
1040
- "unixVer": "x"
1041
- },
1042
- "lark": {
1043
- "hostVer": "√",
1044
- "uniVer": "x",
1045
- "unixVer": "x"
1046
- },
1047
- "qq": {
1048
- "hostVer": "√",
1049
- "uniVer": "x",
1050
- "unixVer": "x"
1051
- },
1052
- "kuaishou": {
1053
- "hostVer": "√",
1054
- "uniVer": "x",
1055
- "unixVer": "x"
1056
- },
1057
- "jd": {
1058
- "hostVer": "√",
1059
- "uniVer": "x",
1060
- "unixVer": "x"
1061
- }
1062
- },
1063
- "web": {
1064
- "uniVer": "x",
1065
- "unixVer": "x"
1066
- }
1067
- }
1068
- */
1069
- hostTheme?: string,
1070
-
1071
- /**
1072
- * 是否uni-app x
1073
- *
1074
- * @uniPlatform
1075
- {
1076
- "app": {
1077
- "android": {
1078
- "osVer": "5.0",
1079
- "uniVer": "√",
1080
- "uniUtsPlugin": "3.91",
1081
- "unixVer": "3.91",
1082
- "unixUtsPlugin": "3.91"
1083
- },
1084
- "ios": {
1085
- "osVer": "12.0",
1086
- "uniVer": "√",
1087
- "uniUtsPlugin": "4.11",
1088
- "unixVer": "4.11",
1089
- "unixUtsPlugin": "4.11"
1090
- },
1091
- "harmony": {
1092
- "osVer": "3.0",
1093
- "uniVer": "x",
1094
- "unixVer": "x"
1095
- }
1096
- },
1097
- "mp": {
1098
- "weixin": {
1099
- "hostVer": "√",
1100
- "uniVer": "√",
1101
- "unixVer": "4.41"
1102
- },
1103
- "alipay": {
1104
- "hostVer": "√",
1105
- "uniVer": "x",
1106
- "unixVer": "x"
1107
- },
1108
- "baidu": {
1109
- "hostVer": "√",
1110
- "uniVer": "x",
1111
- "unixVer": "x"
1112
- },
1113
- "toutiao": {
1114
- "hostVer": "√",
1115
- "uniVer": "x",
1116
- "unixVer": "x"
1117
- },
1118
- "lark": {
1119
- "hostVer": "√",
1120
- "uniVer": "x",
1121
- "unixVer": "x"
1122
- },
1123
- "qq": {
1124
- "hostVer": "√",
1125
- "uniVer": "x",
1126
- "unixVer": "x"
1127
- },
1128
- "kuaishou": {
1129
- "hostVer": "√",
1130
- "uniVer": "x",
1131
- "unixVer": "x"
1132
- },
1133
- "jd": {
1134
- "hostVer": "√",
1135
- "uniVer": "x",
1136
- "unixVer": "x"
1137
- }
1138
- },
1139
- "web": {
1140
- "uniVer": "x",
1141
- "unixVer": "4.18"
1142
- }
1143
- }
1144
- */
1145
- isUniAppX?: boolean,
1146
-
1147
- /**
1148
- * uni 编译器版本
1149
- * @deprecated 已废弃,仅为了向下兼容保留
1150
- *
1151
- * @uniPlatform
1152
- {
1153
- "app": {
1154
- "android": {
1155
- "osVer": "5.0",
1156
- "uniVer": "√",
1157
- "uniUtsPlugin": "3.91",
1158
- "unixVer": "3.91",
1159
- "unixUtsPlugin": "3.91"
1160
- },
1161
- "ios": {
1162
- "osVer": "12.0",
1163
- "uniVer": "√",
1164
- "uniUtsPlugin": "4.11",
1165
- "unixVer": "4.11",
1166
- "unixUtsPlugin": "4.11"
1167
- },
1168
- "harmony": {
1169
- "osVer": "3.0",
1170
- "uniVer": "x",
1171
- "unixVer": "x"
1172
- }
1173
- },
1174
- "mp": {
1175
- "weixin": {
1176
- "hostVer": "√",
1177
- "uniVer": "√",
1178
- "unixVer": "4.41"
1179
- },
1180
- "alipay": {
1181
- "hostVer": "√",
1182
- "uniVer": "x",
1183
- "unixVer": "x"
1184
- },
1185
- "baidu": {
1186
- "hostVer": "√",
1187
- "uniVer": "x",
1188
- "unixVer": "x"
1189
- },
1190
- "toutiao": {
1191
- "hostVer": "√",
1192
- "uniVer": "x",
1193
- "unixVer": "x"
1194
- },
1195
- "lark": {
1196
- "hostVer": "√",
1197
- "uniVer": "x",
1198
- "unixVer": "x"
1199
- },
1200
- "qq": {
1201
- "hostVer": "√",
1202
- "uniVer": "x",
1203
- "unixVer": "x"
1204
- },
1205
- "kuaishou": {
1206
- "hostVer": "√",
1207
- "uniVer": "x",
1208
- "unixVer": "x"
1209
- },
1210
- "jd": {
1211
- "hostVer": "√",
1212
- "uniVer": "x",
1213
- "unixVer": "x"
1214
- }
1215
- },
1216
- "web": {
1217
- "uniVer": "x",
1218
- "unixVer": "x"
1219
- }
1220
- }
1221
- */
1222
- uniCompileVersion?: string,
1223
-
1224
- /**
1225
- * uni 编译器版本
1226
- *
1227
- * @uniPlatform
1228
- {
1229
- "app": {
1230
- "android": {
1231
- "osVer": "5.0",
1232
- "uniVer": "x",
1233
- "uniUtsPlugin": "x",
1234
- "unixVer": "4.0",
1235
- "unixUtsPlugin": "4.0"
1236
- },
1237
- "ios": {
1238
- "osVer": "12.0",
1239
- "uniVer": "x",
1240
- "uniUtsPlugin": "x",
1241
- "unixVer": "4.11",
1242
- "unixUtsPlugin": "4.11"
1243
- },
1244
- "harmony": {
1245
- "osVer": "3.0",
1246
- "uniVer": "4.23",
1247
- "unixVer": "4.61"
1248
- }
1249
- },
1250
- "mp": {
1251
- "weixin": {
1252
- "hostVer": "√",
1253
- "uniVer": "√",
1254
- "unixVer": "4.41"
1255
- },
1256
- "alipay": {
1257
- "hostVer": "√",
1258
- "uniVer": "x",
1259
- "unixVer": "x"
1260
- },
1261
- "baidu": {
1262
- "hostVer": "√",
1263
- "uniVer": "x",
1264
- "unixVer": "x"
1265
- },
1266
- "toutiao": {
1267
- "hostVer": "√",
1268
- "uniVer": "x",
1269
- "unixVer": "x"
1270
- },
1271
- "lark": {
1272
- "hostVer": "√",
1273
- "uniVer": "x",
1274
- "unixVer": "x"
1275
- },
1276
- "qq": {
1277
- "hostVer": "√",
1278
- "uniVer": "x",
1279
- "unixVer": "x"
1280
- },
1281
- "kuaishou": {
1282
- "hostVer": "√",
1283
- "uniVer": "x",
1284
- "unixVer": "x"
1285
- },
1286
- "jd": {
1287
- "hostVer": "√",
1288
- "uniVer": "x",
1289
- "unixVer": "x"
1290
- }
1291
- },
1292
- "web": {
1293
- "uniVer": "x",
1294
- "unixVer": "4.18"
1295
- }
1296
- }
1297
- */
1298
- uniCompilerVersion?: string,
1299
-
1300
- /**
1301
- * uni-app 运行平台。
1302
- *
1303
- * @uniPlatform
1304
- {
1305
- "app": {
1306
- "android": {
1307
- "osVer": "5.0",
1308
- "uniVer": "√",
1309
- "uniUtsPlugin": "3.91",
1310
- "unixVer": "3.91",
1311
- "unixUtsPlugin": "3.91"
1312
- },
1313
- "ios": {
1314
- "osVer": "12.0",
1315
- "uniVer": "√",
1316
- "uniUtsPlugin": "4.11",
1317
- "unixVer": "4.11",
1318
- "unixUtsPlugin": "4.11"
1319
- },
1320
- "harmony": {
1321
- "osVer": "3.0",
1322
- "uniVer": "4.23",
1323
- "unixVer": "4.61"
1324
- }
1325
- },
1326
- "mp": {
1327
- "weixin": {
1328
- "hostVer": "√",
1329
- "uniVer": "√",
1330
- "unixVer": "4.41"
1331
- },
1332
- "alipay": {
1333
- "hostVer": "√",
1334
- "uniVer": "x",
1335
- "unixVer": "x"
1336
- },
1337
- "baidu": {
1338
- "hostVer": "√",
1339
- "uniVer": "x",
1340
- "unixVer": "x"
1341
- },
1342
- "toutiao": {
1343
- "hostVer": "√",
1344
- "uniVer": "x",
1345
- "unixVer": "x"
1346
- },
1347
- "lark": {
1348
- "hostVer": "√",
1349
- "uniVer": "x",
1350
- "unixVer": "x"
1351
- },
1352
- "qq": {
1353
- "hostVer": "√",
1354
- "uniVer": "x",
1355
- "unixVer": "x"
1356
- },
1357
- "kuaishou": {
1358
- "hostVer": "√",
1359
- "uniVer": "x",
1360
- "unixVer": "x"
1361
- },
1362
- "jd": {
1363
- "hostVer": "√",
1364
- "uniVer": "x",
1365
- "unixVer": "x"
1366
- }
1367
- },
1368
- "web": {
1369
- "uniVer": "√",
1370
- "unixVer": "4.0"
1371
- }
1372
- }
1373
- */
1374
- uniPlatform?: 'app' | 'web' | 'mp-weixin' | 'mp-alipay' | 'mp-baidu' | 'mp-toutiao' | 'mp-lark' | 'mp-qq' | 'mp-kuaishou' | 'mp-jd' | 'mp-360' | 'quickapp-webview' | 'quickapp-webview-union' | 'quickapp-webview-huawei',
1375
-
1376
- /**
1377
- * uni 运行时版本
1378
- *
1379
- * @uniPlatform
1380
- {
1381
- "app": {
1382
- "android": {
1383
- "osVer": "5.0",
1384
- "uniVer": "√",
1385
- "uniUtsPlugin": "3.91",
1386
- "unixVer": "3.91",
1387
- "unixUtsPlugin": "3.91"
1388
- },
1389
- "ios": {
1390
- "osVer": "12.0",
1391
- "uniVer": "√",
1392
- "uniUtsPlugin": "4.11",
1393
- "unixVer": "4.11",
1394
- "unixUtsPlugin": "4.11"
1395
- },
1396
- "harmony": {
1397
- "osVer": "3.0",
1398
- "uniVer": "x",
1399
- "unixVer": "x"
1400
- }
1401
- },
1402
- "mp": {
1403
- "weixin": {
1404
- "hostVer": "√",
1405
- "uniVer": "√",
1406
- "unixVer": "4.41"
1407
- },
1408
- "alipay": {
1409
- "hostVer": "√",
1410
- "uniVer": "x",
1411
- "unixVer": "x"
1412
- },
1413
- "baidu": {
1414
- "hostVer": "√",
1415
- "uniVer": "x",
1416
- "unixVer": "x"
1417
- },
1418
- "toutiao": {
1419
- "hostVer": "√",
1420
- "uniVer": "x",
1421
- "unixVer": "x"
1422
- },
1423
- "lark": {
1424
- "hostVer": "√",
1425
- "uniVer": "x",
1426
- "unixVer": "x"
1427
- },
1428
- "qq": {
1429
- "hostVer": "√",
1430
- "uniVer": "x",
1431
- "unixVer": "x"
1432
- },
1433
- "kuaishou": {
1434
- "hostVer": "√",
1435
- "uniVer": "x",
1436
- "unixVer": "x"
1437
- },
1438
- "jd": {
1439
- "hostVer": "√",
1440
- "uniVer": "x",
1441
- "unixVer": "x"
1442
- }
1443
- },
1444
- "web": {
1445
- "uniVer": "x",
1446
- "unixVer": "4.18"
1447
- }
1448
- }
1449
- */
1450
- uniRuntimeVersion?: string,
1451
-
1452
- /**
1453
- * uni 编译器版本号
1454
- * @deprecated 已废弃,仅为了向下兼容保留
1455
- *
1456
- * @uniPlatform
1457
- {
1458
- "app": {
1459
- "android": {
1460
- "osVer": "5.0",
1461
- "uniVer": "√",
1462
- "uniUtsPlugin": "3.91",
1463
- "unixVer": "3.91",
1464
- "unixUtsPlugin": "3.91"
1465
- },
1466
- "ios": {
1467
- "osVer": "12.0",
1468
- "uniVer": "√",
1469
- "uniUtsPlugin": "4.11",
1470
- "unixVer": "4.11",
1471
- "unixUtsPlugin": "4.11"
1472
- },
1473
- "harmony": {
1474
- "osVer": "3.0",
1475
- "uniVer": "4.23",
1476
- "unixVer": "4.61"
1477
- }
1478
- },
1479
- "mp": {
1480
- "weixin": {
1481
- "hostVer": "√",
1482
- "uniVer": "√",
1483
- "unixVer": "4.41"
1484
- },
1485
- "alipay": {
1486
- "hostVer": "√",
1487
- "uniVer": "x",
1488
- "unixVer": "x"
1489
- },
1490
- "baidu": {
1491
- "hostVer": "√",
1492
- "uniVer": "x",
1493
- "unixVer": "x"
1494
- },
1495
- "toutiao": {
1496
- "hostVer": "√",
1497
- "uniVer": "x",
1498
- "unixVer": "x"
1499
- },
1500
- "lark": {
1501
- "hostVer": "√",
1502
- "uniVer": "x",
1503
- "unixVer": "x"
1504
- },
1505
- "qq": {
1506
- "hostVer": "√",
1507
- "uniVer": "x",
1508
- "unixVer": "x"
1509
- },
1510
- "kuaishou": {
1511
- "hostVer": "√",
1512
- "uniVer": "x",
1513
- "unixVer": "x"
1514
- },
1515
- "jd": {
1516
- "hostVer": "√",
1517
- "uniVer": "x",
1518
- "unixVer": "x"
1519
- }
1520
- },
1521
- "web": {
1522
- "uniVer": "x",
1523
- "unixVer": "x"
1524
- }
1525
- }
1526
- */
1527
- uniCompileVersionCode?: number,
1528
-
1529
- /**
1530
- * uni 编译器版本号
1531
- *
1532
- * @uniPlatform
1533
- {
1534
- "app": {
1535
- "android": {
1536
- "osVer": "5.0",
1537
- "uniVer": "x",
1538
- "uniUtsPlugin": "x",
1539
- "unixVer": "4.0",
1540
- "unixUtsPlugin": "4.0"
1541
- },
1542
- "ios": {
1543
- "osVer": "12.0",
1544
- "uniVer": "x",
1545
- "uniUtsPlugin": "x",
1546
- "unixVer": "4.11",
1547
- "unixUtsPlugin": "4.11"
1548
- },
1549
- "harmony": {
1550
- "osVer": "3.0",
1551
- "uniVer": "4.23",
1552
- "unixVer": "4.61"
1553
- }
1554
- },
1555
- "mp": {
1556
- "weixin": {
1557
- "hostVer": "√",
1558
- "uniVer": "√",
1559
- "unixVer": "4.41"
1560
- },
1561
- "alipay": {
1562
- "hostVer": "√",
1563
- "uniVer": "x",
1564
- "unixVer": "x"
1565
- },
1566
- "baidu": {
1567
- "hostVer": "√",
1568
- "uniVer": "x",
1569
- "unixVer": "x"
1570
- },
1571
- "toutiao": {
1572
- "hostVer": "√",
1573
- "uniVer": "x",
1574
- "unixVer": "x"
1575
- },
1576
- "lark": {
1577
- "hostVer": "√",
1578
- "uniVer": "x",
1579
- "unixVer": "x"
1580
- },
1581
- "qq": {
1582
- "hostVer": "√",
1583
- "uniVer": "x",
1584
- "unixVer": "x"
1585
- },
1586
- "kuaishou": {
1587
- "hostVer": "√",
1588
- "uniVer": "x",
1589
- "unixVer": "x"
1590
- },
1591
- "jd": {
1592
- "hostVer": "√",
1593
- "uniVer": "x",
1594
- "unixVer": "x"
1595
- }
1596
- },
1597
- "web": {
1598
- "uniVer": "x",
1599
- "unixVer": "4.18"
1600
- }
1601
- }
1602
- */
1603
- uniCompilerVersionCode?: number,
1604
-
1605
- /**
1606
- * uni 运行时版本号
1607
- *
1608
- * @uniPlatform
1609
- {
1610
- "app": {
1611
- "android": {
1612
- "osVer": "5.0",
1613
- "uniVer": "√",
1614
- "uniUtsPlugin": "3.91",
1615
- "unixVer": "3.91",
1616
- "unixUtsPlugin": "3.91"
1617
- },
1618
- "ios": {
1619
- "osVer": "12.0",
1620
- "uniVer": "√",
1621
- "uniUtsPlugin": "4.11",
1622
- "unixVer": "4.11",
1623
- "unixUtsPlugin": "4.11"
1624
- },
1625
- "harmony": {
1626
- "osVer": "3.0",
1627
- "uniVer": "4.23",
1628
- "unixVer": "4.61"
1629
- }
1630
- },
1631
- "mp": {
1632
- "weixin": {
1633
- "hostVer": "√",
1634
- "uniVer": "√",
1635
- "unixVer": "4.41"
1636
- },
1637
- "alipay": {
1638
- "hostVer": "√",
1639
- "uniVer": "x",
1640
- "unixVer": "x"
1641
- },
1642
- "baidu": {
1643
- "hostVer": "√",
1644
- "uniVer": "x",
1645
- "unixVer": "x"
1646
- },
1647
- "toutiao": {
1648
- "hostVer": "√",
1649
- "uniVer": "x",
1650
- "unixVer": "x"
1651
- },
1652
- "lark": {
1653
- "hostVer": "√",
1654
- "uniVer": "x",
1655
- "unixVer": "x"
1656
- },
1657
- "qq": {
1658
- "hostVer": "√",
1659
- "uniVer": "x",
1660
- "unixVer": "x"
1661
- },
1662
- "kuaishou": {
1663
- "hostVer": "√",
1664
- "uniVer": "x",
1665
- "unixVer": "x"
1666
- },
1667
- "jd": {
1668
- "hostVer": "√",
1669
- "uniVer": "x",
1670
- "unixVer": "x"
1671
- }
1672
- },
1673
- "web": {
1674
- "uniVer": "x",
1675
- "unixVer": "x"
1676
- }
1677
- }
1678
- */
1679
- uniRuntimeVersionCode?: number,
1680
-
1681
- /**
1682
- * Android的包名
1683
- *
1684
- * @uniPlatform
1685
- {
1686
- "app": {
1687
- "android": {
1688
- "osVer": "5.0",
1689
- "uniVer": "x",
1690
- "uniUtsPlugin": "3.97",
1691
- "unixVer": "3.97",
1692
- "unixUtsPlugin": "3.97"
1693
- },
1694
- "ios": {
1695
- "osVer": "12.0",
1696
- "uniVer": "x",
1697
- "uniUtsPlugin": "x",
1698
- "unixVer": "x",
1699
- "unixUtsPlugin": "x"
1700
- },
1701
- "harmony": {
1702
- "osVer": "3.0",
1703
- "uniVer": "4.23",
1704
- "unixVer": "4.61"
1705
- }
1706
- },
1707
- "mp": {
1708
- "weixin": {
1709
- "hostVer": "√",
1710
- "uniVer": "x",
1711
- "unixVer": "x"
1712
- },
1713
- "alipay": {
1714
- "hostVer": "√",
1715
- "uniVer": "x",
1716
- "unixVer": "x"
1717
- },
1718
- "baidu": {
1719
- "hostVer": "√",
1720
- "uniVer": "x",
1721
- "unixVer": "x"
1722
- },
1723
- "toutiao": {
1724
- "hostVer": "√",
1725
- "uniVer": "x",
1726
- "unixVer": "x"
1727
- },
1728
- "lark": {
1729
- "hostVer": "√",
1730
- "uniVer": "x",
1731
- "unixVer": "x"
1732
- },
1733
- "qq": {
1734
- "hostVer": "√",
1735
- "uniVer": "x",
1736
- "unixVer": "x"
1737
- },
1738
- "kuaishou": {
1739
- "hostVer": "√",
1740
- "uniVer": "x",
1741
- "unixVer": "x"
1742
- },
1743
- "jd": {
1744
- "hostVer": "√",
1745
- "uniVer": "x",
1746
- "unixVer": "x"
1747
- }
1748
- },
1749
- "web": {
1750
- "uniVer": "x",
1751
- "unixVer": "x"
1752
- }
1753
- }
1754
- */
1755
- packageName?: string,
1756
-
1757
- /**
1758
- * iOS的bundleId
1759
- *
1760
- * @uniPlatform
1761
- {
1762
- "app": {
1763
- "android": {
1764
- "osVer": "5.0",
1765
- "uniVer": "x",
1766
- "uniUtsPlugin": "x",
1767
- "unixVer": "x",
1768
- "unixUtsPlugin": "x"
1769
- },
1770
- "ios": {
1771
- "osVer": "12.0",
1772
- "uniVer": "x",
1773
- "uniUtsPlugin": "4.11",
1774
- "unixVer": "4.11",
1775
- "unixUtsPlugin": "4.11"
1776
- },
1777
- "harmony": {
1778
- "osVer": "3.0",
1779
- "uniVer": "x",
1780
- "unixVer": "x"
1781
- }
1782
- },
1783
- "mp": {
1784
- "weixin": {
1785
- "hostVer": "√",
1786
- "uniVer": "x",
1787
- "unixVer": "x"
1788
- },
1789
- "alipay": {
1790
- "hostVer": "√",
1791
- "uniVer": "x",
1792
- "unixVer": "x"
1793
- },
1794
- "baidu": {
1795
- "hostVer": "√",
1796
- "uniVer": "x",
1797
- "unixVer": "x"
1798
- },
1799
- "toutiao": {
1800
- "hostVer": "√",
1801
- "uniVer": "x",
1802
- "unixVer": "x"
1803
- },
1804
- "lark": {
1805
- "hostVer": "√",
1806
- "uniVer": "x",
1807
- "unixVer": "x"
1808
- },
1809
- "qq": {
1810
- "hostVer": "√",
1811
- "uniVer": "x",
1812
- "unixVer": "x"
1813
- },
1814
- "kuaishou": {
1815
- "hostVer": "√",
1816
- "uniVer": "x",
1817
- "unixVer": "x"
1818
- },
1819
- "jd": {
1820
- "hostVer": "√",
1821
- "uniVer": "x",
1822
- "unixVer": "x"
1823
- }
1824
- },
1825
- "web": {
1826
- "uniVer": "x",
1827
- "unixVer": "x"
1828
- }
1829
- }
1830
- */
1831
- bundleId?: string,
1832
-
1833
- /**
1834
- * Android: 应用签名证书的SHA1值(全部为小写,中间不包含“:”)。
1835
- * iOS: 应用签名证书中绑定的Bundle ID(AppleID)的md5值(全部为小写)。
1836
- *
1837
- * @uniPlatform
1838
- {
1839
- "app": {
1840
- "android": {
1841
- "osVer": "5.0",
1842
- "uniVer": "x",
1843
- "uniUtsPlugin": "3.97",
1844
- "unixVer": "3.97",
1845
- "unixUtsPlugin": "3.97"
1846
- },
1847
- "ios": {
1848
- "osVer": "12.0",
1849
- "uniVer": "x",
1850
- "uniUtsPlugin": "4.11",
1851
- "unixVer": "4.11",
1852
- "unixUtsPlugin": "4.11"
1853
- },
1854
- "harmony": {
1855
- "osVer": "3.0",
1856
- "uniVer": "x",
1857
- "unixVer": "x"
1858
- }
1859
- },
1860
- "mp": {
1861
- "weixin": {
1862
- "hostVer": "√",
1863
- "uniVer": "x",
1864
- "unixVer": "x"
1865
- },
1866
- "alipay": {
1867
- "hostVer": "√",
1868
- "uniVer": "x",
1869
- "unixVer": "x"
1870
- },
1871
- "baidu": {
1872
- "hostVer": "√",
1873
- "uniVer": "x",
1874
- "unixVer": "x"
1875
- },
1876
- "toutiao": {
1877
- "hostVer": "√",
1878
- "uniVer": "x",
1879
- "unixVer": "x"
1880
- },
1881
- "lark": {
1882
- "hostVer": "√",
1883
- "uniVer": "x",
1884
- "unixVer": "x"
1885
- },
1886
- "qq": {
1887
- "hostVer": "√",
1888
- "uniVer": "x",
1889
- "unixVer": "x"
1890
- },
1891
- "kuaishou": {
1892
- "hostVer": "√",
1893
- "uniVer": "x",
1894
- "unixVer": "x"
1895
- },
1896
- "jd": {
1897
- "hostVer": "√",
1898
- "uniVer": "x",
1899
- "unixVer": "x"
1900
- }
1901
- },
1902
- "web": {
1903
- "uniVer": "x",
1904
- "unixVer": "x"
1905
- }
1906
- }
1907
- */
1908
- signature?: string,
1909
-
1910
- /**
1911
- * 当前App的主题
1912
- *
1913
- * @uniPlatform
1914
- {
1915
- "app": {
1916
- "android": {
1917
- "osVer": "5.0",
1918
- "uniVer": "x",
1919
- "uniUtsPlugin": "x",
1920
- "unixVer": "4.18",
1921
- "unixUtsPlugin": "4.18"
1922
- },
1923
- "ios": {
1924
- "osVer": "12.0",
1925
- "uniVer": "x",
1926
- "uniUtsPlugin": "x",
1927
- "unixVer": "4.18",
1928
- "unixUtsPlugin": "4.18"
1929
- },
1930
- "harmony": {
1931
- "osVer": "3.0",
1932
- "uniVer": "4.23",
1933
- "unixVer": "4.61"
1934
- }
1935
- },
1936
- "mp": {
1937
- "weixin": {
1938
- "hostVer": "√",
1939
- "uniVer": "x",
1940
- "unixVer": "x"
1941
- },
1942
- "alipay": {
1943
- "hostVer": "√",
1944
- "uniVer": "x",
1945
- "unixVer": "x"
1946
- },
1947
- "baidu": {
1948
- "hostVer": "√",
1949
- "uniVer": "x",
1950
- "unixVer": "x"
1951
- },
1952
- "toutiao": {
1953
- "hostVer": "√",
1954
- "uniVer": "x",
1955
- "unixVer": "x"
1956
- },
1957
- "lark": {
1958
- "hostVer": "√",
1959
- "uniVer": "x",
1960
- "unixVer": "x"
1961
- },
1962
- "qq": {
1963
- "hostVer": "√",
1964
- "uniVer": "x",
1965
- "unixVer": "x"
1966
- },
1967
- "kuaishou": {
1968
- "hostVer": "√",
1969
- "uniVer": "x",
1970
- "unixVer": "x"
1971
- },
1972
- "jd": {
1973
- "hostVer": "√",
1974
- "uniVer": "x",
1975
- "unixVer": "x"
1976
- }
1977
- },
1978
- "web": {
1979
- "uniVer": "x",
1980
- "unixVer": "x"
1981
- }
1982
- }
1983
- */
1984
- appTheme?: 'light' | 'dark' | 'auto' | null,
1985
-
1986
- /**
1987
- * 当前应用分发的渠道
1988
- *
1989
- * @uniPlatform
1990
- {
1991
- "app": {
1992
- "android": {
1993
- "osVer": "5.0",
1994
- "uniVer": "x",
1995
- "uniUtsPlugin": "x",
1996
- "unixVer": "4.28",
1997
- "unixUtsPlugin": "4.28"
1998
- },
1999
- "ios": {
2000
- "osVer": "12.0",
2001
- "uniVer": "x",
2002
- "uniUtsPlugin": "x",
2003
- "unixVer": "4.31",
2004
- "unixUtsPlugin": "4.31"
2005
- },
2006
- "harmony": {
2007
- "osVer": "3.0",
2008
- "uniVer": "x",
2009
- "unixVer": "x"
2010
- }
2011
- },
2012
- "mp": {
2013
- "weixin": {
2014
- "hostVer": "√",
2015
- "uniVer": "x",
2016
- "unixVer": "x"
2017
- },
2018
- "alipay": {
2019
- "hostVer": "√",
2020
- "uniVer": "√",
2021
- "unixVer": "x"
2022
- },
2023
- "baidu": {
2024
- "hostVer": "√",
2025
- "uniVer": "√",
2026
- "unixVer": "x"
2027
- },
2028
- "toutiao": {
2029
- "hostVer": "√",
2030
- "uniVer": "√",
2031
- "unixVer": "x"
2032
- },
2033
- "lark": {
2034
- "hostVer": "√",
2035
- "uniVer": "√",
2036
- "unixVer": "x"
2037
- },
2038
- "qq": {
2039
- "hostVer": "√",
2040
- "uniVer": "√",
2041
- "unixVer": "x"
2042
- },
2043
- "kuaishou": {
2044
- "hostVer": "√",
2045
- "uniVer": "√",
2046
- "unixVer": "x"
2047
- },
2048
- "jd": {
2049
- "hostVer": "√",
2050
- "uniVer": "√",
2051
- "unixVer": "x"
2052
- }
2053
- },
2054
- "web": {
2055
- "uniVer": "x",
2056
- "unixVer": "x"
2057
- }
2058
- }
2059
- */
2060
- channel?: string,
2061
- /**
2062
- * 客户端基础库版本
2063
- *
2064
- * @uniPlatform {
2065
- * "mp": {
2066
- * "weixin": {
2067
- * "hostVer": "√",
2068
- * "uniVer": "√",
2069
- * "unixVer": "4.41"
2070
- * },
2071
- * "alipay": {
2072
- * "hostVer": "-",
2073
- * "uniVer": "-",
2074
- * "unixVer": "-"
2075
- * },
2076
- * "baidu": {
2077
- * "hostVer": "-",
2078
- * "uniVer": "-",
2079
- * "unixVer": "-"
2080
- * },
2081
- * "toutiao": {
2082
- * "hostVer": "-",
2083
- * "uniVer": "-",
2084
- * "unixVer": "-"
2085
- * },
2086
- * "lark": {
2087
- * "hostVer": "-",
2088
- * "uniVer": "-",
2089
- * "unixVer": "-"
2090
- * },
2091
- * "qq": {
2092
- * "hostVer": "-",
2093
- * "uniVer": "-",
2094
- * "unixVer": "-"
2095
- * },
2096
- * "kuaishou": {
2097
- * "hostVer": "-",
2098
- * "uniVer": "-",
2099
- * "unixVer": "-"
2100
- * },
2101
- * "jd": {
2102
- * "hostVer": "-",
2103
- * "uniVer": "-",
2104
- * "unixVer": "-"
2105
- * }
2106
- * }
2107
- * }
2108
- */
2109
- SDKVersion?: string | null;
2110
- /**
2111
- * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/wx.setEnableDebug.html
2112
- *
2113
- * @uniPlatform {
2114
- * "mp": {
2115
- * "weixin": {
2116
- * "hostVer": "√",
2117
- * "uniVer": "√",
2118
- * "unixVer": "4.41"
2119
- * },
2120
- * "alipay": {
2121
- * "hostVer": "-",
2122
- * "uniVer": "-",
2123
- * "unixVer": "-"
2124
- * },
2125
- * "baidu": {
2126
- * "hostVer": "-",
2127
- * "uniVer": "-",
2128
- * "unixVer": "-"
2129
- * },
2130
- * "toutiao": {
2131
- * "hostVer": "-",
2132
- * "uniVer": "-",
2133
- * "unixVer": "-"
2134
- * },
2135
- * "lark": {
2136
- * "hostVer": "-",
2137
- * "uniVer": "-",
2138
- * "unixVer": "-"
2139
- * },
2140
- * "qq": {
2141
- * "hostVer": "-",
2142
- * "uniVer": "-",
2143
- * "unixVer": "-"
2144
- * },
2145
- * "kuaishou": {
2146
- * "hostVer": "-",
2147
- * "uniVer": "-",
2148
- * "unixVer": "-"
2149
- * },
2150
- * "jd": {
2151
- * "hostVer": "-",
2152
- * "uniVer": "-",
2153
- * "unixVer": "-"
2154
- * }
2155
- * }
2156
- * }
2157
- */
2158
- enableDebug?: boolean | null;
2159
- /**
2160
- * 微信字体大小缩放比例
2161
- *
2162
- * @uniPlatform {
2163
- * "mp": {
2164
- * "weixin": {
2165
- * "hostVer": "",
2166
- * "uniVer": "",
2167
- * "unixVer": "4.41"
2168
- * },
2169
- * "alipay": {
2170
- * "hostVer": "-",
2171
- * "uniVer": "-",
2172
- * "unixVer": "-"
2173
- * },
2174
- * "baidu": {
2175
- * "hostVer": "-",
2176
- * "uniVer": "-",
2177
- * "unixVer": "-"
2178
- * },
2179
- * "toutiao": {
2180
- * "hostVer": "-",
2181
- * "uniVer": "-",
2182
- * "unixVer": "-"
2183
- * },
2184
- * "lark": {
2185
- * "hostVer": "-",
2186
- * "uniVer": "-",
2187
- * "unixVer": "-"
2188
- * },
2189
- * "qq": {
2190
- * "hostVer": "-",
2191
- * "uniVer": "-",
2192
- * "unixVer": "-"
2193
- * },
2194
- * "kuaishou": {
2195
- * "hostVer": "-",
2196
- * "uniVer": "-",
2197
- * "unixVer": "-"
2198
- * },
2199
- * "jd": {
2200
- * "hostVer": "-",
2201
- * "uniVer": "-",
2202
- * "unixVer": "-"
2203
- * }
2204
- * }
2205
- * }
2206
- */
2207
- fontSizeScaleFactor?: number | null;
2208
- /**
2209
- * 需要基础库: `2.23.4`
2210
- *
2211
- * 微信字体大小,单位px
2212
- *
2213
- * @uniPlatform {
2214
- * "mp": {
2215
- * "weixin": {
2216
- * "hostVer": "2.23.4",
2217
- * "uniVer": "√",
2218
- * "unixVer": "4.41"
2219
- * },
2220
- * "alipay": {
2221
- * "hostVer": "-",
2222
- * "uniVer": "-",
2223
- * "unixVer": "-"
2224
- * },
2225
- * "baidu": {
2226
- * "hostVer": "-",
2227
- * "uniVer": "-",
2228
- * "unixVer": "-"
2229
- * },
2230
- * "toutiao": {
2231
- * "hostVer": "-",
2232
- * "uniVer": "-",
2233
- * "unixVer": "-"
2234
- * },
2235
- * "lark": {
2236
- * "hostVer": "-",
2237
- * "uniVer": "-",
2238
- * "unixVer": "-"
2239
- * },
2240
- * "qq": {
2241
- * "hostVer": "-",
2242
- * "uniVer": "-",
2243
- * "unixVer": "-"
2244
- * },
2245
- * "kuaishou": {
2246
- * "hostVer": "-",
2247
- * "uniVer": "-",
2248
- * "unixVer": "-"
2249
- * },
2250
- * "jd": {
2251
- * "hostVer": "-",
2252
- * "uniVer": "-",
2253
- * "unixVer": "-"
2254
- * }
2255
- * }
2256
- * }
2257
- */
2258
- fontSizeSetting?: number | null;
2259
- /**
2260
- * 当前小程序运行的宿主环境
2261
- *
2262
- * @uniPlatform {
2263
- * "mp": {
2264
- * "weixin": {
2265
- * "hostVer": "√",
2266
- * "uniVer": "√",
2267
- * "unixVer": "4.41"
2268
- * },
2269
- * "alipay": {
2270
- * "hostVer": "-",
2271
- * "uniVer": "-",
2272
- * "unixVer": "-"
2273
- * },
2274
- * "baidu": {
2275
- * "hostVer": "-",
2276
- * "uniVer": "-",
2277
- * "unixVer": "-"
2278
- * },
2279
- * "toutiao": {
2280
- * "hostVer": "-",
2281
- * "uniVer": "-",
2282
- * "unixVer": "-"
2283
- * },
2284
- * "lark": {
2285
- * "hostVer": "-",
2286
- * "uniVer": "-",
2287
- * "unixVer": "-"
2288
- * },
2289
- * "qq": {
2290
- * "hostVer": "-",
2291
- * "uniVer": "-",
2292
- * "unixVer": "-"
2293
- * },
2294
- * "kuaishou": {
2295
- * "hostVer": "-",
2296
- * "uniVer": "-",
2297
- * "unixVer": "-"
2298
- * },
2299
- * "jd": {
2300
- * "hostVer": "-",
2301
- * "uniVer": "-",
2302
- * "unixVer": "-"
2303
- * }
2304
- * }
2305
- * }
2306
- */
2307
- host?: GetAppBaseInfoResultHost | null;
2308
- /**
2309
- * 系统当前主题,取值为`light`或`dark`,全局配置`"darkmode":true`时才能获取,否则为 undefined (不支持小游戏)
2310
- *
2311
- * 可选值:
2312
- * - 'dark': 深色主题;
2313
- * - 'light': 浅色主题;
2314
- *
2315
- * @uniPlatform {
2316
- * "mp": {
2317
- * "weixin": {
2318
- * "hostVer": "",
2319
- * "uniVer": "",
2320
- * "unixVer": "4.41"
2321
- * },
2322
- * "alipay": {
2323
- * "hostVer": "-",
2324
- * "uniVer": "-",
2325
- * "unixVer": "-"
2326
- * },
2327
- * "baidu": {
2328
- * "hostVer": "-",
2329
- * "uniVer": "-",
2330
- * "unixVer": "-"
2331
- * },
2332
- * "toutiao": {
2333
- * "hostVer": "-",
2334
- * "uniVer": "-",
2335
- * "unixVer": "-"
2336
- * },
2337
- * "lark": {
2338
- * "hostVer": "-",
2339
- * "uniVer": "-",
2340
- * "unixVer": "-"
2341
- * },
2342
- * "qq": {
2343
- * "hostVer": "-",
2344
- * "uniVer": "-",
2345
- * "unixVer": "-"
2346
- * },
2347
- * "kuaishou": {
2348
- * "hostVer": "-",
2349
- * "uniVer": "-",
2350
- * "unixVer": "-"
2351
- * },
2352
- * "jd": {
2353
- * "hostVer": "-",
2354
- * "uniVer": "-",
2355
- * "unixVer": "-"
2356
- * }
2357
- * }
2358
- * }
2359
- */
2360
- theme?: "dark" | "light" | null;
2361
- }
2362
-
2363
- /**
2364
- * @param{GetAppBaseInfoOptions} [options=包含所有字段的过滤对象] 过滤的字段对象, 不传参数默认为获取全部字段。
2365
- */
2366
- export type GetAppBaseInfo = (options?: GetAppBaseInfoOptions | null) => GetAppBaseInfoResult;
2367
-
2368
-
2369
- export interface Uni {
2370
- /**
2371
- * GetAppBaseInfo(Object object)
2372
- * @description
2373
- * 获取app基本信息
2374
- * @param {GetAppBaseInfoOptions} options [options=包含所有字段的过滤对象] 过滤的字段对象, 不传参数默认为获取全部字段。
2375
- * @return {object}
2376
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-app-base-info.html
2377
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-app-base-info.html
2378
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/getAppBaseInfo.html
2379
- * @uniPlatform {
2380
- * "app": {
2381
- * "android": {
2382
- * "osVer": "5.0",
2383
- * "uniVer": "√",
2384
- * "uniUtsPlugin": "3.6",
2385
- * "unixVer": "3.91",
2386
- * "unixUtsPlugin": "3.91"
2387
- * },
2388
- * "ios": {
2389
- * "osVer": "12.0",
2390
- * "uniVer": "√",
2391
- * "uniUtsPlugin": "3.6",
2392
- * "unixVer": "4.11",
2393
- * "unixUtsPlugin": "4.11"
2394
- * },
2395
- * "harmony": {
2396
- * "osVer": "3.0",
2397
- * "uniVer": "4.23",
2398
- * "unixVer": "4.61"
2399
- * }
2400
- * },
2401
- * "mp": {
2402
- * "weixin": {
2403
- * "hostVer": "2.20.1",
2404
- * "uniVer": "√",
2405
- * "unixVer": "4.41"
2406
- * },
2407
- * "alipay": {
2408
- * "hostVer": "√",
2409
- * "uniVer": "√",
2410
- * "unixVer": "x"
2411
- * },
2412
- * "baidu": {
2413
- * "hostVer": "√",
2414
- * "uniVer": "√",
2415
- * "unixVer": "x"
2416
- * },
2417
- * "toutiao": {
2418
- * "hostVer": "√",
2419
- * "uniVer": "√",
2420
- * "unixVer": "x"
2421
- * },
2422
- * "lark": {
2423
- * "hostVer": "√",
2424
- * "uniVer": "√",
2425
- * "unixVer": "x"
2426
- * },
2427
- * "qq": {
2428
- * "hostVer": "√",
2429
- * "uniVer": "√",
2430
- * "unixVer": "x"
2431
- * },
2432
- * "kuaishou": {
2433
- * "hostVer": "√",
2434
- * "uniVer": "√",
2435
- * "unixVer": "x"
2436
- * },
2437
- * "jd": {
2438
- * "hostVer": "√",
2439
- * "uniVer": "√",
2440
- * "unixVer": "x"
2441
- * }
2442
- * },
2443
- * "web": {
2444
- * "uniVer": "√",
2445
- * "unixVer": "4.0"
2446
- * }
2447
- * }
2448
- * @example
2449
- ```typescript
2450
- uni.getAppBaseInfo({
2451
- filter:[]
2452
- })
2453
- ```
2454
- * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/base/system/wx.getAppBaseInfo.html
2455
- */
2456
- getAppBaseInfo(options?: GetAppBaseInfoOptions | null): GetAppBaseInfoResult;
2457
- }
2458
-
2459
- /**
2460
- * 当前小程序运行的宿主环境
2461
- *
2462
- * @uniPlatform {
2463
- * "mp": {
2464
- * "weixin": {
2465
- * "hostVer": "√",
2466
- * "uniVer": "",
2467
- * "unixVer": "4.41"
2468
- * },
2469
- * "alipay": {
2470
- * "hostVer": "-",
2471
- * "uniVer": "-",
2472
- * "unixVer": "-"
2473
- * },
2474
- * "baidu": {
2475
- * "hostVer": "-",
2476
- * "uniVer": "-",
2477
- * "unixVer": "-"
2478
- * },
2479
- * "toutiao": {
2480
- * "hostVer": "-",
2481
- * "uniVer": "-",
2482
- * "unixVer": "-"
2483
- * },
2484
- * "lark": {
2485
- * "hostVer": "-",
2486
- * "uniVer": "-",
2487
- * "unixVer": "-"
2488
- * },
2489
- * "qq": {
2490
- * "hostVer": "-",
2491
- * "uniVer": "-",
2492
- * "unixVer": "-"
2493
- * },
2494
- * "kuaishou": {
2495
- * "hostVer": "-",
2496
- * "uniVer": "-",
2497
- * "unixVer": "-"
2498
- * },
2499
- * "jd": {
2500
- * "hostVer": "-",
2501
- * "uniVer": "-",
2502
- * "unixVer": "-"
2503
- * }
2504
- * }
2505
- * }
2506
- */
2507
- export type GetAppBaseInfoResultHost = {
2508
- /**
2509
- * 宿主 app(第三方App) 对应的 appId (当小程序运行在第三方App环境时才返回)
2510
- *
2511
- * @uniPlatform {
2512
- * "mp": {
2513
- * "weixin": {
2514
- * "hostVer": "√",
2515
- * "uniVer": "√",
2516
- * "unixVer": "4.41"
2517
- * },
2518
- * "alipay": {
2519
- * "hostVer": "-",
2520
- * "uniVer": "-",
2521
- * "unixVer": "-"
2522
- * },
2523
- * "baidu": {
2524
- * "hostVer": "-",
2525
- * "uniVer": "-",
2526
- * "unixVer": "-"
2527
- * },
2528
- * "toutiao": {
2529
- * "hostVer": "-",
2530
- * "uniVer": "-",
2531
- * "unixVer": "-"
2532
- * },
2533
- * "lark": {
2534
- * "hostVer": "-",
2535
- * "uniVer": "-",
2536
- * "unixVer": "-"
2537
- * },
2538
- * "qq": {
2539
- * "hostVer": "-",
2540
- * "uniVer": "-",
2541
- * "unixVer": "-"
2542
- * },
2543
- * "kuaishou": {
2544
- * "hostVer": "-",
2545
- * "uniVer": "-",
2546
- * "unixVer": "-"
2547
- * },
2548
- * "jd": {
2549
- * "hostVer": "-",
2550
- * "uniVer": "-",
2551
- * "unixVer": "-"
2552
- * }
2553
- * }
2554
- * }
2555
- */
2556
- appId?: string | null
2557
- };
1
+ export type GetAppBaseInfoOptions = {
2
+ /**
3
+ * @description 过滤字段的字符串数组,假如要获取指定字段,传入此数组。
4
+ */
5
+ filter: Array<string>
6
+ };
7
+
8
+ export type GetAppBaseInfoResult = {
9
+ /**
10
+ * manifest.json 中应用appid,即DCloud appid。
11
+ *
12
+ * @uniPlatform
13
+ {
14
+ "app": {
15
+ "android": {
16
+ "osVer": "5.0",
17
+ "uniVer": "√",
18
+ "uniUtsPlugin": "3.91",
19
+ "unixVer": "3.91",
20
+ "unixUtsPlugin": "3.91"
21
+ },
22
+ "ios": {
23
+ "osVer": "12.0",
24
+ "uniVer": "√",
25
+ "uniUtsPlugin": "4.11",
26
+ "unixVer": "4.11",
27
+ "unixUtsPlugin": "4.11"
28
+ },
29
+ "harmony": {
30
+ "osVer": "3.0",
31
+ "uniVer": "4.23",
32
+ "unixVer": "4.61"
33
+ }
34
+ },
35
+ "mp": {
36
+ "weixin": {
37
+ "hostVer": "√",
38
+ "uniVer": "√",
39
+ "unixVer": "4.41"
40
+ },
41
+ "alipay": {
42
+ "hostVer": "√",
43
+ "uniVer": "√",
44
+ "unixVer": "x"
45
+ },
46
+ "baidu": {
47
+ "hostVer": "√",
48
+ "uniVer": "√",
49
+ "unixVer": "x"
50
+ },
51
+ "toutiao": {
52
+ "hostVer": "√",
53
+ "uniVer": "√",
54
+ "unixVer": "x"
55
+ },
56
+ "lark": {
57
+ "hostVer": "√",
58
+ "uniVer": "√",
59
+ "unixVer": "x"
60
+ },
61
+ "qq": {
62
+ "hostVer": "√",
63
+ "uniVer": "√",
64
+ "unixVer": "x"
65
+ },
66
+ "kuaishou": {
67
+ "hostVer": "√",
68
+ "uniVer": "√",
69
+ "unixVer": "x"
70
+ },
71
+ "jd": {
72
+ "hostVer": "√",
73
+ "uniVer": "√",
74
+ "unixVer": "x"
75
+ }
76
+ },
77
+ "web": {
78
+ "uniVer": "√",
79
+ "unixVer": "4.0"
80
+ }
81
+ }
82
+ */
83
+ appId?: string,
84
+
85
+ /**
86
+ * `manifest.json` 中应用名称。
87
+ *
88
+ * @uniPlatform
89
+ {
90
+ "app": {
91
+ "android": {
92
+ "osVer": "5.0",
93
+ "uniVer": "√",
94
+ "uniUtsPlugin": "3.91",
95
+ "unixVer": "3.91",
96
+ "unixUtsPlugin": "3.91"
97
+ },
98
+ "ios": {
99
+ "osVer": "12.0",
100
+ "uniVer": "√",
101
+ "uniUtsPlugin": "4.11",
102
+ "unixVer": "4.11",
103
+ "unixUtsPlugin": "4.11"
104
+ },
105
+ "harmony": {
106
+ "osVer": "3.0",
107
+ "uniVer": "4.23",
108
+ "unixVer": "4.61"
109
+ }
110
+ },
111
+ "mp": {
112
+ "weixin": {
113
+ "hostVer": "√",
114
+ "uniVer": "√",
115
+ "unixVer": "4.41"
116
+ },
117
+ "alipay": {
118
+ "hostVer": "√",
119
+ "uniVer": "√",
120
+ "unixVer": "x"
121
+ },
122
+ "baidu": {
123
+ "hostVer": "√",
124
+ "uniVer": "√",
125
+ "unixVer": "x"
126
+ },
127
+ "toutiao": {
128
+ "hostVer": "√",
129
+ "uniVer": "√",
130
+ "unixVer": "x"
131
+ },
132
+ "lark": {
133
+ "hostVer": "√",
134
+ "uniVer": "√",
135
+ "unixVer": "x"
136
+ },
137
+ "qq": {
138
+ "hostVer": "√",
139
+ "uniVer": "√",
140
+ "unixVer": "x"
141
+ },
142
+ "kuaishou": {
143
+ "hostVer": "√",
144
+ "uniVer": "√",
145
+ "unixVer": "x"
146
+ },
147
+ "jd": {
148
+ "hostVer": "√",
149
+ "uniVer": "√",
150
+ "unixVer": "x"
151
+ }
152
+ },
153
+ "web": {
154
+ "uniVer": "√",
155
+ "unixVer": "4.0"
156
+ }
157
+ }
158
+ */
159
+ appName?: string,
160
+
161
+ /**
162
+ * `manifest.json` 中应用版本名称,如果离线打包注意修改修改index.kt中UniAppConfig类型中的版本名称[文档](https://doc.dcloud.net.cn/uni-app-x/native/use/android.html#%E6%8B%B7%E8%B4%9Dkt%E6%96%87%E4%BB%B6)。
163
+ *
164
+ * @uniPlatform
165
+ {
166
+ "app": {
167
+ "android": {
168
+ "osVer": "5.0",
169
+ "uniVer": "√",
170
+ "uniUtsPlugin": "3.91",
171
+ "unixVer": "3.91",
172
+ "unixUtsPlugin": "3.91"
173
+ },
174
+ "ios": {
175
+ "osVer": "12.0",
176
+ "uniVer": "√",
177
+ "uniUtsPlugin": "4.11",
178
+ "unixVer": "4.11",
179
+ "unixUtsPlugin": "4.11"
180
+ },
181
+ "harmony": {
182
+ "osVer": "3.0",
183
+ "uniVer": "4.23",
184
+ "unixVer": "4.61"
185
+ }
186
+ },
187
+ "mp": {
188
+ "weixin": {
189
+ "hostVer": "√",
190
+ "uniVer": "√",
191
+ "unixVer": "4.41"
192
+ },
193
+ "alipay": {
194
+ "hostVer": "√",
195
+ "uniVer": "√",
196
+ "unixVer": "x"
197
+ },
198
+ "baidu": {
199
+ "hostVer": "√",
200
+ "uniVer": "√",
201
+ "unixVer": "x"
202
+ },
203
+ "toutiao": {
204
+ "hostVer": "√",
205
+ "uniVer": "√",
206
+ "unixVer": "x"
207
+ },
208
+ "lark": {
209
+ "hostVer": "√",
210
+ "uniVer": "√",
211
+ "unixVer": "x"
212
+ },
213
+ "qq": {
214
+ "hostVer": "√",
215
+ "uniVer": "√",
216
+ "unixVer": "x"
217
+ },
218
+ "kuaishou": {
219
+ "hostVer": "√",
220
+ "uniVer": "√",
221
+ "unixVer": "x"
222
+ },
223
+ "jd": {
224
+ "hostVer": "√",
225
+ "uniVer": "√",
226
+ "unixVer": "x"
227
+ }
228
+ },
229
+ "web": {
230
+ "uniVer": "√",
231
+ "unixVer": "4.0"
232
+ }
233
+ }
234
+ */
235
+ appVersion?: string,
236
+
237
+ /**
238
+ * `manifest.json` 中应用版本名号,如果离线打包注意修改修改index.kt中UniAppConfig类型中的版本号[文档](https://doc.dcloud.net.cn/uni-app-x/native/use/android.html#%E6%8B%B7%E8%B4%9Dkt%E6%96%87%E4%BB%B6)。
239
+ *
240
+ * @uniPlatform
241
+ {
242
+ "app": {
243
+ "android": {
244
+ "osVer": "5.0",
245
+ "uniVer": "√",
246
+ "uniUtsPlugin": "3.91",
247
+ "unixVer": "3.91",
248
+ "unixUtsPlugin": "3.91"
249
+ },
250
+ "ios": {
251
+ "osVer": "12.0",
252
+ "uniVer": "√",
253
+ "uniUtsPlugin": "4.11",
254
+ "unixVer": "4.11",
255
+ "unixUtsPlugin": "4.11"
256
+ },
257
+ "harmony": {
258
+ "osVer": "3.0",
259
+ "uniVer": "x",
260
+ "unixVer": "x"
261
+ }
262
+ },
263
+ "mp": {
264
+ "weixin": {
265
+ "hostVer": "√",
266
+ "uniVer": "√",
267
+ "unixVer": "4.41"
268
+ },
269
+ "alipay": {
270
+ "hostVer": "√",
271
+ "uniVer": "√",
272
+ "unixVer": "x"
273
+ },
274
+ "baidu": {
275
+ "hostVer": "√",
276
+ "uniVer": "√",
277
+ "unixVer": "x"
278
+ },
279
+ "toutiao": {
280
+ "hostVer": "√",
281
+ "uniVer": "√",
282
+ "unixVer": "x"
283
+ },
284
+ "lark": {
285
+ "hostVer": "√",
286
+ "uniVer": "√",
287
+ "unixVer": "x"
288
+ },
289
+ "qq": {
290
+ "hostVer": "√",
291
+ "uniVer": "√",
292
+ "unixVer": "x"
293
+ },
294
+ "kuaishou": {
295
+ "hostVer": "√",
296
+ "uniVer": "√",
297
+ "unixVer": "x"
298
+ },
299
+ "jd": {
300
+ "hostVer": "√",
301
+ "uniVer": "√",
302
+ "unixVer": "x"
303
+ }
304
+ },
305
+ "web": {
306
+ "uniVer": "√",
307
+ "unixVer": "4.0"
308
+ }
309
+ }
310
+ */
311
+ appVersionCode?: string,
312
+
313
+ /**
314
+ * 应用设置的语言en、zh-Hans、zh-Hant、fr、es
315
+ *
316
+ * @uniPlatform
317
+ {
318
+ "app": {
319
+ "android": {
320
+ "osVer": "5.0",
321
+ "uniVer": "√",
322
+ "uniUtsPlugin": "3.91",
323
+ "unixVer": "3.91",
324
+ "unixUtsPlugin": "3.91"
325
+ },
326
+ "ios": {
327
+ "osVer": "12.0",
328
+ "uniVer": "√",
329
+ "uniUtsPlugin": "4.11",
330
+ "unixVer": "4.11",
331
+ "unixUtsPlugin": "4.11"
332
+ },
333
+ "harmony": {
334
+ "osVer": "3.0",
335
+ "uniVer": "x",
336
+ "unixVer": "x"
337
+ }
338
+ },
339
+ "mp": {
340
+ "weixin": {
341
+ "hostVer": "√",
342
+ "uniVer": "√",
343
+ "unixVer": "4.41"
344
+ },
345
+ "alipay": {
346
+ "hostVer": "√",
347
+ "uniVer": "√",
348
+ "unixVer": "x"
349
+ },
350
+ "baidu": {
351
+ "hostVer": "√",
352
+ "uniVer": "√",
353
+ "unixVer": "x"
354
+ },
355
+ "toutiao": {
356
+ "hostVer": "√",
357
+ "uniVer": "√",
358
+ "unixVer": "x"
359
+ },
360
+ "lark": {
361
+ "hostVer": "√",
362
+ "uniVer": "√",
363
+ "unixVer": "x"
364
+ },
365
+ "qq": {
366
+ "hostVer": "√",
367
+ "uniVer": "√",
368
+ "unixVer": "x"
369
+ },
370
+ "kuaishou": {
371
+ "hostVer": "√",
372
+ "uniVer": "√",
373
+ "unixVer": "x"
374
+ },
375
+ "jd": {
376
+ "hostVer": "√",
377
+ "uniVer": "√",
378
+ "unixVer": "x"
379
+ }
380
+ },
381
+ "web": {
382
+ "uniVer": "√",
383
+ "unixVer": "4.0"
384
+ }
385
+ }
386
+ */
387
+ appLanguage?: string,
388
+ /**
389
+ * 应用设置的语言
390
+ *
391
+ * @uniPlatform
392
+ {
393
+ "app": {
394
+ "android": {
395
+ "osVer": "5.0",
396
+ "uniVer": "√",
397
+ "uniUtsPlugin": "3.91",
398
+ "unixVer": "3.91",
399
+ "unixUtsPlugin": "3.91"
400
+ },
401
+ "ios": {
402
+ "osVer": "12.0",
403
+ "uniVer": "√",
404
+ "uniUtsPlugin": "4.11",
405
+ "unixVer": "4.11",
406
+ "unixUtsPlugin": "4.11"
407
+ },
408
+ "harmony": {
409
+ "osVer": "3.0",
410
+ "uniVer": "x",
411
+ "unixVer": "x"
412
+ }
413
+ },
414
+ "mp": {
415
+ "weixin": {
416
+ "hostVer": "√",
417
+ "uniVer": "√",
418
+ "unixVer": "4.41"
419
+ },
420
+ "alipay": {
421
+ "hostVer": "√",
422
+ "uniVer": "√",
423
+ "unixVer": "x"
424
+ },
425
+ "baidu": {
426
+ "hostVer": "√",
427
+ "uniVer": "√",
428
+ "unixVer": "x"
429
+ },
430
+ "toutiao": {
431
+ "hostVer": "√",
432
+ "uniVer": "√",
433
+ "unixVer": "x"
434
+ },
435
+ "lark": {
436
+ "hostVer": "√",
437
+ "uniVer": "√",
438
+ "unixVer": "x"
439
+ },
440
+ "qq": {
441
+ "hostVer": "√",
442
+ "uniVer": "√",
443
+ "unixVer": "x"
444
+ },
445
+ "kuaishou": {
446
+ "hostVer": "√",
447
+ "uniVer": "√",
448
+ "unixVer": "x"
449
+ },
450
+ "jd": {
451
+ "hostVer": "√",
452
+ "uniVer": "√",
453
+ "unixVer": "x"
454
+ }
455
+ },
456
+ "web": {
457
+ "uniVer": "√",
458
+ "unixVer": "4.0"
459
+ }
460
+ }
461
+ */
462
+ language?: string,
463
+
464
+ /**
465
+ * 引擎版本号。已废弃,仅为了向下兼容保留
466
+ * @deprecated 已废弃,仅为了向下兼容保留
467
+ *
468
+ * @uniPlatform
469
+ {
470
+ "app": {
471
+ "android": {
472
+ "osVer": "5.0",
473
+ "uniVer": "√",
474
+ "uniUtsPlugin": "3.91",
475
+ "unixVer": "3.91",
476
+ "unixUtsPlugin": "3.91"
477
+ },
478
+ "ios": {
479
+ "osVer": "12.0",
480
+ "uniVer": "√",
481
+ "uniUtsPlugin": "4.11",
482
+ "unixVer": "4.11",
483
+ "unixUtsPlugin": "4.11"
484
+ },
485
+ "harmony": {
486
+ "osVer": "3.0",
487
+ "uniVer": "4.23",
488
+ "unixVer": "4.61"
489
+ }
490
+ },
491
+ "mp": {
492
+ "weixin": {
493
+ "hostVer": "√",
494
+ "uniVer": "√",
495
+ "unixVer": "4.41"
496
+ },
497
+ "alipay": {
498
+ "hostVer": "√",
499
+ "uniVer": "√",
500
+ "unixVer": "x"
501
+ },
502
+ "baidu": {
503
+ "hostVer": "√",
504
+ "uniVer": "√",
505
+ "unixVer": "x"
506
+ },
507
+ "toutiao": {
508
+ "hostVer": "√",
509
+ "uniVer": "√",
510
+ "unixVer": "x"
511
+ },
512
+ "lark": {
513
+ "hostVer": "√",
514
+ "uniVer": "√",
515
+ "unixVer": "x"
516
+ },
517
+ "qq": {
518
+ "hostVer": "√",
519
+ "uniVer": "√",
520
+ "unixVer": "x"
521
+ },
522
+ "kuaishou": {
523
+ "hostVer": "√",
524
+ "uniVer": "√",
525
+ "unixVer": "x"
526
+ },
527
+ "jd": {
528
+ "hostVer": "√",
529
+ "uniVer": "√",
530
+ "unixVer": "x"
531
+ }
532
+ },
533
+ "web": {
534
+ "uniVer": "x",
535
+ "unixVer": "x"
536
+ }
537
+ }
538
+ */
539
+ version?: string,
540
+
541
+ /**
542
+ * 应用资源(wgt)的版本名称。
543
+ *
544
+ * @uniPlatform
545
+ {
546
+ "app": {
547
+ "android": {
548
+ "osVer": "5.0",
549
+ "uniVer": "√",
550
+ "uniUtsPlugin": "x",
551
+ "unixVer": "x",
552
+ "unixUtsPlugin": "x"
553
+ },
554
+ "ios": {
555
+ "osVer": "12.0",
556
+ "uniVer": "√",
557
+ "uniUtsPlugin": "x",
558
+ "unixVer": "x",
559
+ "unixUtsPlugin": "x"
560
+ },
561
+ "harmony": {
562
+ "osVer": "3.0",
563
+ "uniVer": "4.23",
564
+ "unixVer": "4.61"
565
+ }
566
+ },
567
+ "mp": {
568
+ "weixin": {
569
+ "hostVer": "√",
570
+ "uniVer": "x",
571
+ "unixVer": "x"
572
+ },
573
+ "alipay": {
574
+ "hostVer": "√",
575
+ "uniVer": "√",
576
+ "unixVer": "x"
577
+ },
578
+ "baidu": {
579
+ "hostVer": "√",
580
+ "uniVer": "√",
581
+ "unixVer": "x"
582
+ },
583
+ "toutiao": {
584
+ "hostVer": "√",
585
+ "uniVer": "√",
586
+ "unixVer": "x"
587
+ },
588
+ "lark": {
589
+ "hostVer": "√",
590
+ "uniVer": "√",
591
+ "unixVer": "x"
592
+ },
593
+ "qq": {
594
+ "hostVer": "√",
595
+ "uniVer": "√",
596
+ "unixVer": "x"
597
+ },
598
+ "kuaishou": {
599
+ "hostVer": "√",
600
+ "uniVer": "√",
601
+ "unixVer": "x"
602
+ },
603
+ "jd": {
604
+ "hostVer": "√",
605
+ "uniVer": "√",
606
+ "unixVer": "x"
607
+ }
608
+ },
609
+ "web": {
610
+ "uniVer": "x",
611
+ "unixVer": "x"
612
+ }
613
+ }
614
+ */
615
+ appWgtVersion?: string,
616
+
617
+ /**
618
+ * 小程序宿主语言
619
+ *
620
+ * @uniPlatform
621
+ {
622
+ "app": {
623
+ "android": {
624
+ "osVer": "5.0",
625
+ "uniVer": "√",
626
+ "uniUtsPlugin": "x",
627
+ "unixVer": "x",
628
+ "unixUtsPlugin": "x"
629
+ },
630
+ "ios": {
631
+ "osVer": "12.0",
632
+ "uniVer": "√",
633
+ "uniUtsPlugin": "x",
634
+ "unixVer": "x",
635
+ "unixUtsPlugin": "x"
636
+ },
637
+ "harmony": {
638
+ "osVer": "3.0",
639
+ "uniVer": "4.23",
640
+ "unixVer": "4.61"
641
+ }
642
+ },
643
+ "mp": {
644
+ "weixin": {
645
+ "hostVer": "√",
646
+ "uniVer": "√",
647
+ "unixVer": "4.41"
648
+ },
649
+ "alipay": {
650
+ "hostVer": "√",
651
+ "uniVer": "√",
652
+ "unixVer": "x"
653
+ },
654
+ "baidu": {
655
+ "hostVer": "√",
656
+ "uniVer": "√",
657
+ "unixVer": "x"
658
+ },
659
+ "toutiao": {
660
+ "hostVer": "√",
661
+ "uniVer": "√",
662
+ "unixVer": "x"
663
+ },
664
+ "lark": {
665
+ "hostVer": "√",
666
+ "uniVer": "√",
667
+ "unixVer": "x"
668
+ },
669
+ "qq": {
670
+ "hostVer": "√",
671
+ "uniVer": "√",
672
+ "unixVer": "x"
673
+ },
674
+ "kuaishou": {
675
+ "hostVer": "√",
676
+ "uniVer": "√",
677
+ "unixVer": "x"
678
+ },
679
+ "jd": {
680
+ "hostVer": "√",
681
+ "uniVer": "√",
682
+ "unixVer": "x"
683
+ }
684
+ },
685
+ "web": {
686
+ "uniVer": "x",
687
+ "unixVer": "x"
688
+ }
689
+ }
690
+ */
691
+ hostLanguage?: string,
692
+
693
+ /**
694
+ * App、小程序宿主版本。
695
+ *
696
+ * @uniPlatform
697
+ {
698
+ "app": {
699
+ "android": {
700
+ "osVer": "5.0",
701
+ "uniVer": "√",
702
+ "uniUtsPlugin": "x",
703
+ "unixVer": "x",
704
+ "unixUtsPlugin": "x"
705
+ },
706
+ "ios": {
707
+ "osVer": "12.0",
708
+ "uniVer": "√",
709
+ "uniUtsPlugin": "x",
710
+ "unixVer": "x",
711
+ "unixUtsPlugin": "x"
712
+ },
713
+ "harmony": {
714
+ "osVer": "3.0",
715
+ "uniVer": "x",
716
+ "unixVer": "x"
717
+ }
718
+ },
719
+ "mp": {
720
+ "weixin": {
721
+ "hostVer": "√",
722
+ "uniVer": "√",
723
+ "unixVer": "4.41"
724
+ },
725
+ "alipay": {
726
+ "hostVer": "√",
727
+ "uniVer": "√",
728
+ "unixVer": "x"
729
+ },
730
+ "baidu": {
731
+ "hostVer": "√",
732
+ "uniVer": "√",
733
+ "unixVer": "x"
734
+ },
735
+ "toutiao": {
736
+ "hostVer": "√",
737
+ "uniVer": "√",
738
+ "unixVer": "x"
739
+ },
740
+ "lark": {
741
+ "hostVer": "√",
742
+ "uniVer": "√",
743
+ "unixVer": "x"
744
+ },
745
+ "qq": {
746
+ "hostVer": "√",
747
+ "uniVer": "√",
748
+ "unixVer": "x"
749
+ },
750
+ "kuaishou": {
751
+ "hostVer": "√",
752
+ "uniVer": "√",
753
+ "unixVer": "x"
754
+ },
755
+ "jd": {
756
+ "hostVer": "√",
757
+ "uniVer": "√",
758
+ "unixVer": "x"
759
+ }
760
+ },
761
+ "web": {
762
+ "uniVer": "x",
763
+ "unixVer": "x"
764
+ }
765
+ }
766
+ */
767
+ hostVersion?: string,
768
+ /**
769
+ * 小程序宿主名称
770
+ *
771
+ * @uniPlatform
772
+ {
773
+ "app": {
774
+ "android": {
775
+ "osVer": "5.0",
776
+ "uniVer": "√",
777
+ "uniUtsPlugin": "x",
778
+ "unixVer": "x",
779
+ "unixUtsPlugin": "x"
780
+ },
781
+ "ios": {
782
+ "osVer": "12.0",
783
+ "uniVer": "√",
784
+ "uniUtsPlugin": "x",
785
+ "unixVer": "x",
786
+ "unixUtsPlugin": "x"
787
+ },
788
+ "harmony": {
789
+ "osVer": "3.0",
790
+ "uniVer": "x",
791
+ "unixVer": "x"
792
+ }
793
+ },
794
+ "mp": {
795
+ "weixin": {
796
+ "hostVer": "√",
797
+ "uniVer": "√",
798
+ "unixVer": "4.41"
799
+ },
800
+ "alipay": {
801
+ "hostVer": "√",
802
+ "uniVer": "√",
803
+ "unixVer": "x"
804
+ },
805
+ "baidu": {
806
+ "hostVer": "√",
807
+ "uniVer": "√",
808
+ "unixVer": "x"
809
+ },
810
+ "toutiao": {
811
+ "hostVer": "√",
812
+ "uniVer": "√",
813
+ "unixVer": "x"
814
+ },
815
+ "lark": {
816
+ "hostVer": "√",
817
+ "uniVer": "√",
818
+ "unixVer": "x"
819
+ },
820
+ "qq": {
821
+ "hostVer": "√",
822
+ "uniVer": "√",
823
+ "unixVer": "x"
824
+ },
825
+ "kuaishou": {
826
+ "hostVer": "√",
827
+ "uniVer": "√",
828
+ "unixVer": "x"
829
+ },
830
+ "jd": {
831
+ "hostVer": "√",
832
+ "uniVer": "√",
833
+ "unixVer": "x"
834
+ }
835
+ },
836
+ "web": {
837
+ "uniVer": "x",
838
+ "unixVer": "x"
839
+ }
840
+ }
841
+ */
842
+ hostName?: string,
843
+ /**
844
+ * 小程序宿主包名
845
+ *
846
+ * @uniPlatform
847
+ {
848
+ "app": {
849
+ "android": {
850
+ "osVer": "5.0",
851
+ "uniVer": "√",
852
+ "uniUtsPlugin": "x",
853
+ "unixVer": "x",
854
+ "unixUtsPlugin": "x"
855
+ },
856
+ "ios": {
857
+ "osVer": "12.0",
858
+ "uniVer": "√",
859
+ "uniUtsPlugin": "x",
860
+ "unixVer": "x",
861
+ "unixUtsPlugin": "x"
862
+ },
863
+ "harmony": {
864
+ "osVer": "3.0",
865
+ "uniVer": "x",
866
+ "unixVer": "x"
867
+ }
868
+ },
869
+ "mp": {
870
+ "weixin": {
871
+ "hostVer": "√",
872
+ "uniVer": "x",
873
+ "unixVer": "x"
874
+ },
875
+ "alipay": {
876
+ "hostVer": "√",
877
+ "uniVer": "√",
878
+ "unixVer": "x"
879
+ },
880
+ "baidu": {
881
+ "hostVer": "√",
882
+ "uniVer": "√",
883
+ "unixVer": "x"
884
+ },
885
+ "toutiao": {
886
+ "hostVer": "√",
887
+ "uniVer": "√",
888
+ "unixVer": "x"
889
+ },
890
+ "lark": {
891
+ "hostVer": "√",
892
+ "uniVer": "√",
893
+ "unixVer": "x"
894
+ },
895
+ "qq": {
896
+ "hostVer": "√",
897
+ "uniVer": "√",
898
+ "unixVer": "x"
899
+ },
900
+ "kuaishou": {
901
+ "hostVer": "√",
902
+ "uniVer": "√",
903
+ "unixVer": "x"
904
+ },
905
+ "jd": {
906
+ "hostVer": "√",
907
+ "uniVer": "√",
908
+ "unixVer": "x"
909
+ }
910
+ },
911
+ "web": {
912
+ "uniVer": "x",
913
+ "unixVer": "x"
914
+ }
915
+ }
916
+ */
917
+ hostPackageName?: string,
918
+
919
+ /**
920
+ * uni小程序SDK版本、小程序客户端基础库版本
921
+ *
922
+ * @uniPlatform
923
+ {
924
+ "app": {
925
+ "android": {
926
+ "osVer": "5.0",
927
+ "uniVer": "√",
928
+ "uniUtsPlugin": "x",
929
+ "unixVer": "x",
930
+ "unixUtsPlugin": "x"
931
+ },
932
+ "ios": {
933
+ "osVer": "12.0",
934
+ "uniVer": "√",
935
+ "uniUtsPlugin": "x",
936
+ "unixVer": "x",
937
+ "unixUtsPlugin": "x"
938
+ },
939
+ "harmony": {
940
+ "osVer": "3.0",
941
+ "uniVer": "x",
942
+ "unixVer": "x"
943
+ }
944
+ },
945
+ "mp": {
946
+ "weixin": {
947
+ "hostVer": "√",
948
+ "uniVer": "√",
949
+ "unixVer": "4.41"
950
+ },
951
+ "alipay": {
952
+ "hostVer": "√",
953
+ "uniVer": "√",
954
+ "unixVer": "x"
955
+ },
956
+ "baidu": {
957
+ "hostVer": "√",
958
+ "uniVer": "√",
959
+ "unixVer": "x"
960
+ },
961
+ "toutiao": {
962
+ "hostVer": "√",
963
+ "uniVer": "√",
964
+ "unixVer": "x"
965
+ },
966
+ "lark": {
967
+ "hostVer": "√",
968
+ "uniVer": "√",
969
+ "unixVer": "x"
970
+ },
971
+ "qq": {
972
+ "hostVer": "√",
973
+ "uniVer": "√",
974
+ "unixVer": "x"
975
+ },
976
+ "kuaishou": {
977
+ "hostVer": "√",
978
+ "uniVer": "√",
979
+ "unixVer": "x"
980
+ },
981
+ "jd": {
982
+ "hostVer": "√",
983
+ "uniVer": "√",
984
+ "unixVer": "x"
985
+ }
986
+ },
987
+ "web": {
988
+ "uniVer": "x",
989
+ "unixVer": "x"
990
+ }
991
+ }
992
+ */
993
+ hostSDKVersion?: string,
994
+
995
+ /**
996
+ * 系统当前主题,取值为light或dark。微信小程序全局配置"darkmode":true时才能获取,否则为 undefined (不支持小游戏)
997
+ *
998
+ * @uniPlatform
999
+ {
1000
+ "app": {
1001
+ "android": {
1002
+ "osVer": "5.0",
1003
+ "uniVer": "√",
1004
+ "uniUtsPlugin": "x",
1005
+ "unixVer": "x",
1006
+ "unixUtsPlugin": "x"
1007
+ },
1008
+ "ios": {
1009
+ "osVer": "12.0",
1010
+ "uniVer": "√",
1011
+ "uniUtsPlugin": "x",
1012
+ "unixVer": "x",
1013
+ "unixUtsPlugin": "x"
1014
+ },
1015
+ "harmony": {
1016
+ "osVer": "3.0",
1017
+ "uniVer": "x",
1018
+ "unixVer": "x"
1019
+ }
1020
+ },
1021
+ "mp": {
1022
+ "weixin": {
1023
+ "hostVer": "√",
1024
+ "uniVer": "√",
1025
+ "unixVer": "4.41"
1026
+ },
1027
+ "alipay": {
1028
+ "hostVer": "√",
1029
+ "uniVer": "x",
1030
+ "unixVer": "x"
1031
+ },
1032
+ "baidu": {
1033
+ "hostVer": "√",
1034
+ "uniVer": "x",
1035
+ "unixVer": "x"
1036
+ },
1037
+ "toutiao": {
1038
+ "hostVer": "√",
1039
+ "uniVer": "x",
1040
+ "unixVer": "x"
1041
+ },
1042
+ "lark": {
1043
+ "hostVer": "√",
1044
+ "uniVer": "x",
1045
+ "unixVer": "x"
1046
+ },
1047
+ "qq": {
1048
+ "hostVer": "√",
1049
+ "uniVer": "x",
1050
+ "unixVer": "x"
1051
+ },
1052
+ "kuaishou": {
1053
+ "hostVer": "√",
1054
+ "uniVer": "x",
1055
+ "unixVer": "x"
1056
+ },
1057
+ "jd": {
1058
+ "hostVer": "√",
1059
+ "uniVer": "x",
1060
+ "unixVer": "x"
1061
+ }
1062
+ },
1063
+ "web": {
1064
+ "uniVer": "x",
1065
+ "unixVer": "x"
1066
+ }
1067
+ }
1068
+ */
1069
+ hostTheme?: string,
1070
+
1071
+ /**
1072
+ * 是否uni-app x
1073
+ *
1074
+ * @uniPlatform
1075
+ {
1076
+ "app": {
1077
+ "android": {
1078
+ "osVer": "5.0",
1079
+ "uniVer": "√",
1080
+ "uniUtsPlugin": "3.91",
1081
+ "unixVer": "3.91",
1082
+ "unixUtsPlugin": "3.91"
1083
+ },
1084
+ "ios": {
1085
+ "osVer": "12.0",
1086
+ "uniVer": "√",
1087
+ "uniUtsPlugin": "4.11",
1088
+ "unixVer": "4.11",
1089
+ "unixUtsPlugin": "4.11"
1090
+ },
1091
+ "harmony": {
1092
+ "osVer": "3.0",
1093
+ "uniVer": "x",
1094
+ "unixVer": "x"
1095
+ }
1096
+ },
1097
+ "mp": {
1098
+ "weixin": {
1099
+ "hostVer": "√",
1100
+ "uniVer": "√",
1101
+ "unixVer": "4.41"
1102
+ },
1103
+ "alipay": {
1104
+ "hostVer": "√",
1105
+ "uniVer": "x",
1106
+ "unixVer": "x"
1107
+ },
1108
+ "baidu": {
1109
+ "hostVer": "√",
1110
+ "uniVer": "x",
1111
+ "unixVer": "x"
1112
+ },
1113
+ "toutiao": {
1114
+ "hostVer": "√",
1115
+ "uniVer": "x",
1116
+ "unixVer": "x"
1117
+ },
1118
+ "lark": {
1119
+ "hostVer": "√",
1120
+ "uniVer": "x",
1121
+ "unixVer": "x"
1122
+ },
1123
+ "qq": {
1124
+ "hostVer": "√",
1125
+ "uniVer": "x",
1126
+ "unixVer": "x"
1127
+ },
1128
+ "kuaishou": {
1129
+ "hostVer": "√",
1130
+ "uniVer": "x",
1131
+ "unixVer": "x"
1132
+ },
1133
+ "jd": {
1134
+ "hostVer": "√",
1135
+ "uniVer": "x",
1136
+ "unixVer": "x"
1137
+ }
1138
+ },
1139
+ "web": {
1140
+ "uniVer": "x",
1141
+ "unixVer": "4.18"
1142
+ }
1143
+ }
1144
+ */
1145
+ isUniAppX?: boolean,
1146
+
1147
+ /**
1148
+ * uni 编译器版本
1149
+ * @deprecated 已废弃,仅为了向下兼容保留
1150
+ *
1151
+ * @uniPlatform
1152
+ {
1153
+ "app": {
1154
+ "android": {
1155
+ "osVer": "5.0",
1156
+ "uniVer": "√",
1157
+ "uniUtsPlugin": "3.91",
1158
+ "unixVer": "3.91",
1159
+ "unixUtsPlugin": "3.91"
1160
+ },
1161
+ "ios": {
1162
+ "osVer": "12.0",
1163
+ "uniVer": "√",
1164
+ "uniUtsPlugin": "4.11",
1165
+ "unixVer": "4.11",
1166
+ "unixUtsPlugin": "4.11"
1167
+ },
1168
+ "harmony": {
1169
+ "osVer": "3.0",
1170
+ "uniVer": "x",
1171
+ "unixVer": "x"
1172
+ }
1173
+ },
1174
+ "mp": {
1175
+ "weixin": {
1176
+ "hostVer": "√",
1177
+ "uniVer": "√",
1178
+ "unixVer": "4.41"
1179
+ },
1180
+ "alipay": {
1181
+ "hostVer": "√",
1182
+ "uniVer": "x",
1183
+ "unixVer": "x"
1184
+ },
1185
+ "baidu": {
1186
+ "hostVer": "√",
1187
+ "uniVer": "x",
1188
+ "unixVer": "x"
1189
+ },
1190
+ "toutiao": {
1191
+ "hostVer": "√",
1192
+ "uniVer": "x",
1193
+ "unixVer": "x"
1194
+ },
1195
+ "lark": {
1196
+ "hostVer": "√",
1197
+ "uniVer": "x",
1198
+ "unixVer": "x"
1199
+ },
1200
+ "qq": {
1201
+ "hostVer": "√",
1202
+ "uniVer": "x",
1203
+ "unixVer": "x"
1204
+ },
1205
+ "kuaishou": {
1206
+ "hostVer": "√",
1207
+ "uniVer": "x",
1208
+ "unixVer": "x"
1209
+ },
1210
+ "jd": {
1211
+ "hostVer": "√",
1212
+ "uniVer": "x",
1213
+ "unixVer": "x"
1214
+ }
1215
+ },
1216
+ "web": {
1217
+ "uniVer": "x",
1218
+ "unixVer": "x"
1219
+ }
1220
+ }
1221
+ */
1222
+ uniCompileVersion?: string,
1223
+
1224
+ /**
1225
+ * uni 编译器版本
1226
+ *
1227
+ * @uniPlatform
1228
+ {
1229
+ "app": {
1230
+ "android": {
1231
+ "osVer": "5.0",
1232
+ "uniVer": "x",
1233
+ "uniUtsPlugin": "x",
1234
+ "unixVer": "4.0",
1235
+ "unixUtsPlugin": "4.0"
1236
+ },
1237
+ "ios": {
1238
+ "osVer": "12.0",
1239
+ "uniVer": "x",
1240
+ "uniUtsPlugin": "x",
1241
+ "unixVer": "4.11",
1242
+ "unixUtsPlugin": "4.11"
1243
+ },
1244
+ "harmony": {
1245
+ "osVer": "3.0",
1246
+ "uniVer": "4.23",
1247
+ "unixVer": "4.61"
1248
+ }
1249
+ },
1250
+ "mp": {
1251
+ "weixin": {
1252
+ "hostVer": "√",
1253
+ "uniVer": "√",
1254
+ "unixVer": "4.41"
1255
+ },
1256
+ "alipay": {
1257
+ "hostVer": "√",
1258
+ "uniVer": "x",
1259
+ "unixVer": "x"
1260
+ },
1261
+ "baidu": {
1262
+ "hostVer": "√",
1263
+ "uniVer": "x",
1264
+ "unixVer": "x"
1265
+ },
1266
+ "toutiao": {
1267
+ "hostVer": "√",
1268
+ "uniVer": "x",
1269
+ "unixVer": "x"
1270
+ },
1271
+ "lark": {
1272
+ "hostVer": "√",
1273
+ "uniVer": "x",
1274
+ "unixVer": "x"
1275
+ },
1276
+ "qq": {
1277
+ "hostVer": "√",
1278
+ "uniVer": "x",
1279
+ "unixVer": "x"
1280
+ },
1281
+ "kuaishou": {
1282
+ "hostVer": "√",
1283
+ "uniVer": "x",
1284
+ "unixVer": "x"
1285
+ },
1286
+ "jd": {
1287
+ "hostVer": "√",
1288
+ "uniVer": "x",
1289
+ "unixVer": "x"
1290
+ }
1291
+ },
1292
+ "web": {
1293
+ "uniVer": "x",
1294
+ "unixVer": "4.18"
1295
+ }
1296
+ }
1297
+ */
1298
+ uniCompilerVersion?: string,
1299
+
1300
+ /**
1301
+ * uni-app 运行平台。
1302
+ *
1303
+ * @uniPlatform
1304
+ {
1305
+ "app": {
1306
+ "android": {
1307
+ "osVer": "5.0",
1308
+ "uniVer": "√",
1309
+ "uniUtsPlugin": "3.91",
1310
+ "unixVer": "3.91",
1311
+ "unixUtsPlugin": "3.91"
1312
+ },
1313
+ "ios": {
1314
+ "osVer": "12.0",
1315
+ "uniVer": "√",
1316
+ "uniUtsPlugin": "4.11",
1317
+ "unixVer": "4.11",
1318
+ "unixUtsPlugin": "4.11"
1319
+ },
1320
+ "harmony": {
1321
+ "osVer": "3.0",
1322
+ "uniVer": "4.23",
1323
+ "unixVer": "4.61"
1324
+ }
1325
+ },
1326
+ "mp": {
1327
+ "weixin": {
1328
+ "hostVer": "√",
1329
+ "uniVer": "√",
1330
+ "unixVer": "4.41"
1331
+ },
1332
+ "alipay": {
1333
+ "hostVer": "√",
1334
+ "uniVer": "x",
1335
+ "unixVer": "x"
1336
+ },
1337
+ "baidu": {
1338
+ "hostVer": "√",
1339
+ "uniVer": "x",
1340
+ "unixVer": "x"
1341
+ },
1342
+ "toutiao": {
1343
+ "hostVer": "√",
1344
+ "uniVer": "x",
1345
+ "unixVer": "x"
1346
+ },
1347
+ "lark": {
1348
+ "hostVer": "√",
1349
+ "uniVer": "x",
1350
+ "unixVer": "x"
1351
+ },
1352
+ "qq": {
1353
+ "hostVer": "√",
1354
+ "uniVer": "x",
1355
+ "unixVer": "x"
1356
+ },
1357
+ "kuaishou": {
1358
+ "hostVer": "√",
1359
+ "uniVer": "x",
1360
+ "unixVer": "x"
1361
+ },
1362
+ "jd": {
1363
+ "hostVer": "√",
1364
+ "uniVer": "x",
1365
+ "unixVer": "x"
1366
+ }
1367
+ },
1368
+ "web": {
1369
+ "uniVer": "√",
1370
+ "unixVer": "4.0"
1371
+ }
1372
+ }
1373
+ */
1374
+ uniPlatform?: 'app' | 'web' | 'mp-weixin' | 'mp-alipay' | 'mp-baidu' | 'mp-toutiao' | 'mp-lark' | 'mp-qq' | 'mp-kuaishou' | 'mp-jd' | 'mp-360' | 'quickapp-webview' | 'quickapp-webview-union' | 'quickapp-webview-huawei',
1375
+
1376
+ /**
1377
+ * uni 运行时版本
1378
+ *
1379
+ * @uniPlatform
1380
+ {
1381
+ "app": {
1382
+ "android": {
1383
+ "osVer": "5.0",
1384
+ "uniVer": "√",
1385
+ "uniUtsPlugin": "3.91",
1386
+ "unixVer": "3.91",
1387
+ "unixUtsPlugin": "3.91"
1388
+ },
1389
+ "ios": {
1390
+ "osVer": "12.0",
1391
+ "uniVer": "√",
1392
+ "uniUtsPlugin": "4.11",
1393
+ "unixVer": "4.11",
1394
+ "unixUtsPlugin": "4.11"
1395
+ },
1396
+ "harmony": {
1397
+ "osVer": "3.0",
1398
+ "uniVer": "x",
1399
+ "unixVer": "x"
1400
+ }
1401
+ },
1402
+ "mp": {
1403
+ "weixin": {
1404
+ "hostVer": "√",
1405
+ "uniVer": "√",
1406
+ "unixVer": "4.41"
1407
+ },
1408
+ "alipay": {
1409
+ "hostVer": "√",
1410
+ "uniVer": "x",
1411
+ "unixVer": "x"
1412
+ },
1413
+ "baidu": {
1414
+ "hostVer": "√",
1415
+ "uniVer": "x",
1416
+ "unixVer": "x"
1417
+ },
1418
+ "toutiao": {
1419
+ "hostVer": "√",
1420
+ "uniVer": "x",
1421
+ "unixVer": "x"
1422
+ },
1423
+ "lark": {
1424
+ "hostVer": "√",
1425
+ "uniVer": "x",
1426
+ "unixVer": "x"
1427
+ },
1428
+ "qq": {
1429
+ "hostVer": "√",
1430
+ "uniVer": "x",
1431
+ "unixVer": "x"
1432
+ },
1433
+ "kuaishou": {
1434
+ "hostVer": "√",
1435
+ "uniVer": "x",
1436
+ "unixVer": "x"
1437
+ },
1438
+ "jd": {
1439
+ "hostVer": "√",
1440
+ "uniVer": "x",
1441
+ "unixVer": "x"
1442
+ }
1443
+ },
1444
+ "web": {
1445
+ "uniVer": "x",
1446
+ "unixVer": "4.18"
1447
+ }
1448
+ }
1449
+ */
1450
+ uniRuntimeVersion?: string,
1451
+
1452
+ /**
1453
+ * uni 编译器版本号
1454
+ * @deprecated 已废弃,仅为了向下兼容保留
1455
+ *
1456
+ * @uniPlatform
1457
+ {
1458
+ "app": {
1459
+ "android": {
1460
+ "osVer": "5.0",
1461
+ "uniVer": "√",
1462
+ "uniUtsPlugin": "3.91",
1463
+ "unixVer": "3.91",
1464
+ "unixUtsPlugin": "3.91"
1465
+ },
1466
+ "ios": {
1467
+ "osVer": "12.0",
1468
+ "uniVer": "√",
1469
+ "uniUtsPlugin": "4.11",
1470
+ "unixVer": "4.11",
1471
+ "unixUtsPlugin": "4.11"
1472
+ },
1473
+ "harmony": {
1474
+ "osVer": "3.0",
1475
+ "uniVer": "4.23",
1476
+ "unixVer": "4.61"
1477
+ }
1478
+ },
1479
+ "mp": {
1480
+ "weixin": {
1481
+ "hostVer": "√",
1482
+ "uniVer": "√",
1483
+ "unixVer": "4.41"
1484
+ },
1485
+ "alipay": {
1486
+ "hostVer": "√",
1487
+ "uniVer": "x",
1488
+ "unixVer": "x"
1489
+ },
1490
+ "baidu": {
1491
+ "hostVer": "√",
1492
+ "uniVer": "x",
1493
+ "unixVer": "x"
1494
+ },
1495
+ "toutiao": {
1496
+ "hostVer": "√",
1497
+ "uniVer": "x",
1498
+ "unixVer": "x"
1499
+ },
1500
+ "lark": {
1501
+ "hostVer": "√",
1502
+ "uniVer": "x",
1503
+ "unixVer": "x"
1504
+ },
1505
+ "qq": {
1506
+ "hostVer": "√",
1507
+ "uniVer": "x",
1508
+ "unixVer": "x"
1509
+ },
1510
+ "kuaishou": {
1511
+ "hostVer": "√",
1512
+ "uniVer": "x",
1513
+ "unixVer": "x"
1514
+ },
1515
+ "jd": {
1516
+ "hostVer": "√",
1517
+ "uniVer": "x",
1518
+ "unixVer": "x"
1519
+ }
1520
+ },
1521
+ "web": {
1522
+ "uniVer": "x",
1523
+ "unixVer": "x"
1524
+ }
1525
+ }
1526
+ */
1527
+ uniCompileVersionCode?: number,
1528
+
1529
+ /**
1530
+ * uni 编译器版本号
1531
+ *
1532
+ * @uniPlatform
1533
+ {
1534
+ "app": {
1535
+ "android": {
1536
+ "osVer": "5.0",
1537
+ "uniVer": "x",
1538
+ "uniUtsPlugin": "x",
1539
+ "unixVer": "4.0",
1540
+ "unixUtsPlugin": "4.0"
1541
+ },
1542
+ "ios": {
1543
+ "osVer": "12.0",
1544
+ "uniVer": "x",
1545
+ "uniUtsPlugin": "x",
1546
+ "unixVer": "4.11",
1547
+ "unixUtsPlugin": "4.11"
1548
+ },
1549
+ "harmony": {
1550
+ "osVer": "3.0",
1551
+ "uniVer": "4.23",
1552
+ "unixVer": "4.61"
1553
+ }
1554
+ },
1555
+ "mp": {
1556
+ "weixin": {
1557
+ "hostVer": "√",
1558
+ "uniVer": "√",
1559
+ "unixVer": "4.41"
1560
+ },
1561
+ "alipay": {
1562
+ "hostVer": "√",
1563
+ "uniVer": "x",
1564
+ "unixVer": "x"
1565
+ },
1566
+ "baidu": {
1567
+ "hostVer": "√",
1568
+ "uniVer": "x",
1569
+ "unixVer": "x"
1570
+ },
1571
+ "toutiao": {
1572
+ "hostVer": "√",
1573
+ "uniVer": "x",
1574
+ "unixVer": "x"
1575
+ },
1576
+ "lark": {
1577
+ "hostVer": "√",
1578
+ "uniVer": "x",
1579
+ "unixVer": "x"
1580
+ },
1581
+ "qq": {
1582
+ "hostVer": "√",
1583
+ "uniVer": "x",
1584
+ "unixVer": "x"
1585
+ },
1586
+ "kuaishou": {
1587
+ "hostVer": "√",
1588
+ "uniVer": "x",
1589
+ "unixVer": "x"
1590
+ },
1591
+ "jd": {
1592
+ "hostVer": "√",
1593
+ "uniVer": "x",
1594
+ "unixVer": "x"
1595
+ }
1596
+ },
1597
+ "web": {
1598
+ "uniVer": "x",
1599
+ "unixVer": "4.18"
1600
+ }
1601
+ }
1602
+ */
1603
+ uniCompilerVersionCode?: number,
1604
+
1605
+ /**
1606
+ * uni 运行时版本号
1607
+ *
1608
+ * @uniPlatform
1609
+ {
1610
+ "app": {
1611
+ "android": {
1612
+ "osVer": "5.0",
1613
+ "uniVer": "√",
1614
+ "uniUtsPlugin": "3.91",
1615
+ "unixVer": "3.91",
1616
+ "unixUtsPlugin": "3.91"
1617
+ },
1618
+ "ios": {
1619
+ "osVer": "12.0",
1620
+ "uniVer": "√",
1621
+ "uniUtsPlugin": "4.11",
1622
+ "unixVer": "4.11",
1623
+ "unixUtsPlugin": "4.11"
1624
+ },
1625
+ "harmony": {
1626
+ "osVer": "3.0",
1627
+ "uniVer": "4.23",
1628
+ "unixVer": "4.61"
1629
+ }
1630
+ },
1631
+ "mp": {
1632
+ "weixin": {
1633
+ "hostVer": "√",
1634
+ "uniVer": "√",
1635
+ "unixVer": "4.41"
1636
+ },
1637
+ "alipay": {
1638
+ "hostVer": "√",
1639
+ "uniVer": "x",
1640
+ "unixVer": "x"
1641
+ },
1642
+ "baidu": {
1643
+ "hostVer": "√",
1644
+ "uniVer": "x",
1645
+ "unixVer": "x"
1646
+ },
1647
+ "toutiao": {
1648
+ "hostVer": "√",
1649
+ "uniVer": "x",
1650
+ "unixVer": "x"
1651
+ },
1652
+ "lark": {
1653
+ "hostVer": "√",
1654
+ "uniVer": "x",
1655
+ "unixVer": "x"
1656
+ },
1657
+ "qq": {
1658
+ "hostVer": "√",
1659
+ "uniVer": "x",
1660
+ "unixVer": "x"
1661
+ },
1662
+ "kuaishou": {
1663
+ "hostVer": "√",
1664
+ "uniVer": "x",
1665
+ "unixVer": "x"
1666
+ },
1667
+ "jd": {
1668
+ "hostVer": "√",
1669
+ "uniVer": "x",
1670
+ "unixVer": "x"
1671
+ }
1672
+ },
1673
+ "web": {
1674
+ "uniVer": "x",
1675
+ "unixVer": "x"
1676
+ }
1677
+ }
1678
+ */
1679
+ uniRuntimeVersionCode?: number,
1680
+
1681
+ /**
1682
+ * Android的包名
1683
+ *
1684
+ * @uniPlatform
1685
+ {
1686
+ "app": {
1687
+ "android": {
1688
+ "osVer": "5.0",
1689
+ "uniVer": "x",
1690
+ "uniUtsPlugin": "3.97",
1691
+ "unixVer": "3.97",
1692
+ "unixUtsPlugin": "3.97"
1693
+ },
1694
+ "ios": {
1695
+ "osVer": "12.0",
1696
+ "uniVer": "x",
1697
+ "uniUtsPlugin": "x",
1698
+ "unixVer": "x",
1699
+ "unixUtsPlugin": "x"
1700
+ },
1701
+ "harmony": {
1702
+ "osVer": "3.0",
1703
+ "uniVer": "4.23",
1704
+ "unixVer": "4.61"
1705
+ }
1706
+ },
1707
+ "mp": {
1708
+ "weixin": {
1709
+ "hostVer": "√",
1710
+ "uniVer": "x",
1711
+ "unixVer": "x"
1712
+ },
1713
+ "alipay": {
1714
+ "hostVer": "√",
1715
+ "uniVer": "x",
1716
+ "unixVer": "x"
1717
+ },
1718
+ "baidu": {
1719
+ "hostVer": "√",
1720
+ "uniVer": "x",
1721
+ "unixVer": "x"
1722
+ },
1723
+ "toutiao": {
1724
+ "hostVer": "√",
1725
+ "uniVer": "x",
1726
+ "unixVer": "x"
1727
+ },
1728
+ "lark": {
1729
+ "hostVer": "√",
1730
+ "uniVer": "x",
1731
+ "unixVer": "x"
1732
+ },
1733
+ "qq": {
1734
+ "hostVer": "√",
1735
+ "uniVer": "x",
1736
+ "unixVer": "x"
1737
+ },
1738
+ "kuaishou": {
1739
+ "hostVer": "√",
1740
+ "uniVer": "x",
1741
+ "unixVer": "x"
1742
+ },
1743
+ "jd": {
1744
+ "hostVer": "√",
1745
+ "uniVer": "x",
1746
+ "unixVer": "x"
1747
+ }
1748
+ },
1749
+ "web": {
1750
+ "uniVer": "x",
1751
+ "unixVer": "x"
1752
+ }
1753
+ }
1754
+ */
1755
+ packageName?: string,
1756
+
1757
+
1758
+ /**
1759
+ * 鸿蒙的包名
1760
+ *
1761
+ * @uniPlatform
1762
+ {
1763
+ "app": {
1764
+ "android": {
1765
+ "osVer": "5.0",
1766
+ "uniVer": "x",
1767
+ "uniUtsPlugin": "x",
1768
+ "unixVer": "x",
1769
+ "unixUtsPlugin": "x"
1770
+ },
1771
+ "ios": {
1772
+ "osVer": "12.0",
1773
+ "uniVer": "x",
1774
+ "uniUtsPlugin": "x",
1775
+ "unixVer": "x",
1776
+ "unixUtsPlugin": "x"
1777
+ },
1778
+ "harmony": {
1779
+ "osVer": "3.0",
1780
+ "uniVer": "4.61",
1781
+ "unixVer": "4.61"
1782
+ }
1783
+ },
1784
+ "mp": {
1785
+ "weixin": {
1786
+ "hostVer": "",
1787
+ "uniVer": "x",
1788
+ "unixVer": "x"
1789
+ },
1790
+ "alipay": {
1791
+ "hostVer": "",
1792
+ "uniVer": "x",
1793
+ "unixVer": "x"
1794
+ },
1795
+ "baidu": {
1796
+ "hostVer": "",
1797
+ "uniVer": "x",
1798
+ "unixVer": "x"
1799
+ },
1800
+ "toutiao": {
1801
+ "hostVer": "",
1802
+ "uniVer": "x",
1803
+ "unixVer": "x"
1804
+ },
1805
+ "lark": {
1806
+ "hostVer": "",
1807
+ "uniVer": "x",
1808
+ "unixVer": "x"
1809
+ },
1810
+ "qq": {
1811
+ "hostVer": "",
1812
+ "uniVer": "x",
1813
+ "unixVer": "x"
1814
+ },
1815
+ "kuaishou": {
1816
+ "hostVer": "",
1817
+ "uniVer": "x",
1818
+ "unixVer": "x"
1819
+ },
1820
+ "jd": {
1821
+ "hostVer": "",
1822
+ "uniVer": "x",
1823
+ "unixVer": "x"
1824
+ }
1825
+ },
1826
+ "web": {
1827
+ "uniVer": "x",
1828
+ "unixVer": "x"
1829
+ }
1830
+ }
1831
+ */
1832
+ bundleName?: string,
1833
+
1834
+ /**
1835
+ * iOS的bundleId
1836
+ *
1837
+ * @uniPlatform
1838
+ {
1839
+ "app": {
1840
+ "android": {
1841
+ "osVer": "5.0",
1842
+ "uniVer": "x",
1843
+ "uniUtsPlugin": "x",
1844
+ "unixVer": "x",
1845
+ "unixUtsPlugin": "x"
1846
+ },
1847
+ "ios": {
1848
+ "osVer": "12.0",
1849
+ "uniVer": "x",
1850
+ "uniUtsPlugin": "4.11",
1851
+ "unixVer": "4.11",
1852
+ "unixUtsPlugin": "4.11"
1853
+ },
1854
+ "harmony": {
1855
+ "osVer": "3.0",
1856
+ "uniVer": "x",
1857
+ "unixVer": "x"
1858
+ }
1859
+ },
1860
+ "mp": {
1861
+ "weixin": {
1862
+ "hostVer": "√",
1863
+ "uniVer": "x",
1864
+ "unixVer": "x"
1865
+ },
1866
+ "alipay": {
1867
+ "hostVer": "√",
1868
+ "uniVer": "x",
1869
+ "unixVer": "x"
1870
+ },
1871
+ "baidu": {
1872
+ "hostVer": "√",
1873
+ "uniVer": "x",
1874
+ "unixVer": "x"
1875
+ },
1876
+ "toutiao": {
1877
+ "hostVer": "√",
1878
+ "uniVer": "x",
1879
+ "unixVer": "x"
1880
+ },
1881
+ "lark": {
1882
+ "hostVer": "√",
1883
+ "uniVer": "x",
1884
+ "unixVer": "x"
1885
+ },
1886
+ "qq": {
1887
+ "hostVer": "√",
1888
+ "uniVer": "x",
1889
+ "unixVer": "x"
1890
+ },
1891
+ "kuaishou": {
1892
+ "hostVer": "√",
1893
+ "uniVer": "x",
1894
+ "unixVer": "x"
1895
+ },
1896
+ "jd": {
1897
+ "hostVer": "√",
1898
+ "uniVer": "x",
1899
+ "unixVer": "x"
1900
+ }
1901
+ },
1902
+ "web": {
1903
+ "uniVer": "x",
1904
+ "unixVer": "x"
1905
+ }
1906
+ }
1907
+ */
1908
+ bundleId?: string,
1909
+
1910
+ /**
1911
+ * Android: 应用签名证书的SHA1值(全部为小写,中间不包含“:”)。
1912
+ * iOS: 应用签名证书中绑定的Bundle ID(AppleID)的md5值(全部为小写)。
1913
+ *
1914
+ * @uniPlatform
1915
+ {
1916
+ "app": {
1917
+ "android": {
1918
+ "osVer": "5.0",
1919
+ "uniVer": "x",
1920
+ "uniUtsPlugin": "3.97",
1921
+ "unixVer": "3.97",
1922
+ "unixUtsPlugin": "3.97"
1923
+ },
1924
+ "ios": {
1925
+ "osVer": "12.0",
1926
+ "uniVer": "x",
1927
+ "uniUtsPlugin": "4.11",
1928
+ "unixVer": "4.11",
1929
+ "unixUtsPlugin": "4.11"
1930
+ },
1931
+ "harmony": {
1932
+ "osVer": "3.0",
1933
+ "uniVer": "x",
1934
+ "unixVer": "x"
1935
+ }
1936
+ },
1937
+ "mp": {
1938
+ "weixin": {
1939
+ "hostVer": "",
1940
+ "uniVer": "x",
1941
+ "unixVer": "x"
1942
+ },
1943
+ "alipay": {
1944
+ "hostVer": "",
1945
+ "uniVer": "x",
1946
+ "unixVer": "x"
1947
+ },
1948
+ "baidu": {
1949
+ "hostVer": "",
1950
+ "uniVer": "x",
1951
+ "unixVer": "x"
1952
+ },
1953
+ "toutiao": {
1954
+ "hostVer": "",
1955
+ "uniVer": "x",
1956
+ "unixVer": "x"
1957
+ },
1958
+ "lark": {
1959
+ "hostVer": "",
1960
+ "uniVer": "x",
1961
+ "unixVer": "x"
1962
+ },
1963
+ "qq": {
1964
+ "hostVer": "",
1965
+ "uniVer": "x",
1966
+ "unixVer": "x"
1967
+ },
1968
+ "kuaishou": {
1969
+ "hostVer": "",
1970
+ "uniVer": "x",
1971
+ "unixVer": "x"
1972
+ },
1973
+ "jd": {
1974
+ "hostVer": "",
1975
+ "uniVer": "x",
1976
+ "unixVer": "x"
1977
+ }
1978
+ },
1979
+ "web": {
1980
+ "uniVer": "x",
1981
+ "unixVer": "x"
1982
+ }
1983
+ }
1984
+ */
1985
+ signature?: string,
1986
+
1987
+ /**
1988
+ * 当前App的主题
1989
+ *
1990
+ * @uniPlatform
1991
+ {
1992
+ "app": {
1993
+ "android": {
1994
+ "osVer": "5.0",
1995
+ "uniVer": "x",
1996
+ "uniUtsPlugin": "x",
1997
+ "unixVer": "4.18",
1998
+ "unixUtsPlugin": "4.18"
1999
+ },
2000
+ "ios": {
2001
+ "osVer": "12.0",
2002
+ "uniVer": "x",
2003
+ "uniUtsPlugin": "x",
2004
+ "unixVer": "4.18",
2005
+ "unixUtsPlugin": "4.18"
2006
+ },
2007
+ "harmony": {
2008
+ "osVer": "3.0",
2009
+ "uniVer": "4.23",
2010
+ "unixVer": "4.61"
2011
+ }
2012
+ },
2013
+ "mp": {
2014
+ "weixin": {
2015
+ "hostVer": "",
2016
+ "uniVer": "x",
2017
+ "unixVer": "x"
2018
+ },
2019
+ "alipay": {
2020
+ "hostVer": "√",
2021
+ "uniVer": "x",
2022
+ "unixVer": "x"
2023
+ },
2024
+ "baidu": {
2025
+ "hostVer": "√",
2026
+ "uniVer": "x",
2027
+ "unixVer": "x"
2028
+ },
2029
+ "toutiao": {
2030
+ "hostVer": "√",
2031
+ "uniVer": "x",
2032
+ "unixVer": "x"
2033
+ },
2034
+ "lark": {
2035
+ "hostVer": "√",
2036
+ "uniVer": "x",
2037
+ "unixVer": "x"
2038
+ },
2039
+ "qq": {
2040
+ "hostVer": "√",
2041
+ "uniVer": "x",
2042
+ "unixVer": "x"
2043
+ },
2044
+ "kuaishou": {
2045
+ "hostVer": "√",
2046
+ "uniVer": "x",
2047
+ "unixVer": "x"
2048
+ },
2049
+ "jd": {
2050
+ "hostVer": "√",
2051
+ "uniVer": "x",
2052
+ "unixVer": "x"
2053
+ }
2054
+ },
2055
+ "web": {
2056
+ "uniVer": "x",
2057
+ "unixVer": "x"
2058
+ }
2059
+ }
2060
+ */
2061
+ appTheme?: 'light' | 'dark' | 'auto' | null,
2062
+
2063
+ /**
2064
+ * 当前应用分发的渠道
2065
+ *
2066
+ * @uniPlatform
2067
+ {
2068
+ "app": {
2069
+ "android": {
2070
+ "osVer": "5.0",
2071
+ "uniVer": "x",
2072
+ "uniUtsPlugin": "x",
2073
+ "unixVer": "4.28",
2074
+ "unixUtsPlugin": "4.28"
2075
+ },
2076
+ "ios": {
2077
+ "osVer": "12.0",
2078
+ "uniVer": "x",
2079
+ "uniUtsPlugin": "x",
2080
+ "unixVer": "4.31",
2081
+ "unixUtsPlugin": "4.31"
2082
+ },
2083
+ "harmony": {
2084
+ "osVer": "3.0",
2085
+ "uniVer": "x",
2086
+ "unixVer": "x"
2087
+ }
2088
+ },
2089
+ "mp": {
2090
+ "weixin": {
2091
+ "hostVer": "√",
2092
+ "uniVer": "x",
2093
+ "unixVer": "x"
2094
+ },
2095
+ "alipay": {
2096
+ "hostVer": "√",
2097
+ "uniVer": "",
2098
+ "unixVer": "x"
2099
+ },
2100
+ "baidu": {
2101
+ "hostVer": "√",
2102
+ "uniVer": "",
2103
+ "unixVer": "x"
2104
+ },
2105
+ "toutiao": {
2106
+ "hostVer": "√",
2107
+ "uniVer": "√",
2108
+ "unixVer": "x"
2109
+ },
2110
+ "lark": {
2111
+ "hostVer": "√",
2112
+ "uniVer": "√",
2113
+ "unixVer": "x"
2114
+ },
2115
+ "qq": {
2116
+ "hostVer": "√",
2117
+ "uniVer": "√",
2118
+ "unixVer": "x"
2119
+ },
2120
+ "kuaishou": {
2121
+ "hostVer": "",
2122
+ "uniVer": "",
2123
+ "unixVer": "x"
2124
+ },
2125
+ "jd": {
2126
+ "hostVer": "",
2127
+ "uniVer": "",
2128
+ "unixVer": "x"
2129
+ }
2130
+ },
2131
+ "web": {
2132
+ "uniVer": "x",
2133
+ "unixVer": "x"
2134
+ }
2135
+ }
2136
+ */
2137
+ channel?: string,
2138
+ /**
2139
+ * 客户端基础库版本
2140
+ *
2141
+ * @uniPlatform {
2142
+ * "mp": {
2143
+ * "weixin": {
2144
+ * "hostVer": "√",
2145
+ * "uniVer": "√",
2146
+ * "unixVer": "4.41"
2147
+ * },
2148
+ * "alipay": {
2149
+ * "hostVer": "-",
2150
+ * "uniVer": "-",
2151
+ * "unixVer": "-"
2152
+ * },
2153
+ * "baidu": {
2154
+ * "hostVer": "-",
2155
+ * "uniVer": "-",
2156
+ * "unixVer": "-"
2157
+ * },
2158
+ * "toutiao": {
2159
+ * "hostVer": "-",
2160
+ * "uniVer": "-",
2161
+ * "unixVer": "-"
2162
+ * },
2163
+ * "lark": {
2164
+ * "hostVer": "-",
2165
+ * "uniVer": "-",
2166
+ * "unixVer": "-"
2167
+ * },
2168
+ * "qq": {
2169
+ * "hostVer": "-",
2170
+ * "uniVer": "-",
2171
+ * "unixVer": "-"
2172
+ * },
2173
+ * "kuaishou": {
2174
+ * "hostVer": "-",
2175
+ * "uniVer": "-",
2176
+ * "unixVer": "-"
2177
+ * },
2178
+ * "jd": {
2179
+ * "hostVer": "-",
2180
+ * "uniVer": "-",
2181
+ * "unixVer": "-"
2182
+ * }
2183
+ * }
2184
+ * }
2185
+ */
2186
+ SDKVersion?: string | null;
2187
+ /**
2188
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/wx.setEnableDebug.html
2189
+ *
2190
+ * @uniPlatform {
2191
+ * "mp": {
2192
+ * "weixin": {
2193
+ * "hostVer": "√",
2194
+ * "uniVer": "√",
2195
+ * "unixVer": "4.41"
2196
+ * },
2197
+ * "alipay": {
2198
+ * "hostVer": "-",
2199
+ * "uniVer": "-",
2200
+ * "unixVer": "-"
2201
+ * },
2202
+ * "baidu": {
2203
+ * "hostVer": "-",
2204
+ * "uniVer": "-",
2205
+ * "unixVer": "-"
2206
+ * },
2207
+ * "toutiao": {
2208
+ * "hostVer": "-",
2209
+ * "uniVer": "-",
2210
+ * "unixVer": "-"
2211
+ * },
2212
+ * "lark": {
2213
+ * "hostVer": "-",
2214
+ * "uniVer": "-",
2215
+ * "unixVer": "-"
2216
+ * },
2217
+ * "qq": {
2218
+ * "hostVer": "-",
2219
+ * "uniVer": "-",
2220
+ * "unixVer": "-"
2221
+ * },
2222
+ * "kuaishou": {
2223
+ * "hostVer": "-",
2224
+ * "uniVer": "-",
2225
+ * "unixVer": "-"
2226
+ * },
2227
+ * "jd": {
2228
+ * "hostVer": "-",
2229
+ * "uniVer": "-",
2230
+ * "unixVer": "-"
2231
+ * }
2232
+ * }
2233
+ * }
2234
+ */
2235
+ enableDebug?: boolean | null;
2236
+ /**
2237
+ * 微信字体大小缩放比例
2238
+ *
2239
+ * @uniPlatform {
2240
+ * "mp": {
2241
+ * "weixin": {
2242
+ * "hostVer": "",
2243
+ * "uniVer": "",
2244
+ * "unixVer": "4.41"
2245
+ * },
2246
+ * "alipay": {
2247
+ * "hostVer": "-",
2248
+ * "uniVer": "-",
2249
+ * "unixVer": "-"
2250
+ * },
2251
+ * "baidu": {
2252
+ * "hostVer": "-",
2253
+ * "uniVer": "-",
2254
+ * "unixVer": "-"
2255
+ * },
2256
+ * "toutiao": {
2257
+ * "hostVer": "-",
2258
+ * "uniVer": "-",
2259
+ * "unixVer": "-"
2260
+ * },
2261
+ * "lark": {
2262
+ * "hostVer": "-",
2263
+ * "uniVer": "-",
2264
+ * "unixVer": "-"
2265
+ * },
2266
+ * "qq": {
2267
+ * "hostVer": "-",
2268
+ * "uniVer": "-",
2269
+ * "unixVer": "-"
2270
+ * },
2271
+ * "kuaishou": {
2272
+ * "hostVer": "-",
2273
+ * "uniVer": "-",
2274
+ * "unixVer": "-"
2275
+ * },
2276
+ * "jd": {
2277
+ * "hostVer": "-",
2278
+ * "uniVer": "-",
2279
+ * "unixVer": "-"
2280
+ * }
2281
+ * }
2282
+ * }
2283
+ */
2284
+ fontSizeScaleFactor?: number | null;
2285
+ /**
2286
+ * 需要基础库: `2.23.4`
2287
+ *
2288
+ * 微信字体大小,单位px
2289
+ *
2290
+ * @uniPlatform {
2291
+ * "mp": {
2292
+ * "weixin": {
2293
+ * "hostVer": "2.23.4",
2294
+ * "uniVer": "√",
2295
+ * "unixVer": "4.41"
2296
+ * },
2297
+ * "alipay": {
2298
+ * "hostVer": "-",
2299
+ * "uniVer": "-",
2300
+ * "unixVer": "-"
2301
+ * },
2302
+ * "baidu": {
2303
+ * "hostVer": "-",
2304
+ * "uniVer": "-",
2305
+ * "unixVer": "-"
2306
+ * },
2307
+ * "toutiao": {
2308
+ * "hostVer": "-",
2309
+ * "uniVer": "-",
2310
+ * "unixVer": "-"
2311
+ * },
2312
+ * "lark": {
2313
+ * "hostVer": "-",
2314
+ * "uniVer": "-",
2315
+ * "unixVer": "-"
2316
+ * },
2317
+ * "qq": {
2318
+ * "hostVer": "-",
2319
+ * "uniVer": "-",
2320
+ * "unixVer": "-"
2321
+ * },
2322
+ * "kuaishou": {
2323
+ * "hostVer": "-",
2324
+ * "uniVer": "-",
2325
+ * "unixVer": "-"
2326
+ * },
2327
+ * "jd": {
2328
+ * "hostVer": "-",
2329
+ * "uniVer": "-",
2330
+ * "unixVer": "-"
2331
+ * }
2332
+ * }
2333
+ * }
2334
+ */
2335
+ fontSizeSetting?: number | null;
2336
+ /**
2337
+ * 当前小程序运行的宿主环境
2338
+ *
2339
+ * @uniPlatform {
2340
+ * "mp": {
2341
+ * "weixin": {
2342
+ * "hostVer": "√",
2343
+ * "uniVer": "",
2344
+ * "unixVer": "4.41"
2345
+ * },
2346
+ * "alipay": {
2347
+ * "hostVer": "-",
2348
+ * "uniVer": "-",
2349
+ * "unixVer": "-"
2350
+ * },
2351
+ * "baidu": {
2352
+ * "hostVer": "-",
2353
+ * "uniVer": "-",
2354
+ * "unixVer": "-"
2355
+ * },
2356
+ * "toutiao": {
2357
+ * "hostVer": "-",
2358
+ * "uniVer": "-",
2359
+ * "unixVer": "-"
2360
+ * },
2361
+ * "lark": {
2362
+ * "hostVer": "-",
2363
+ * "uniVer": "-",
2364
+ * "unixVer": "-"
2365
+ * },
2366
+ * "qq": {
2367
+ * "hostVer": "-",
2368
+ * "uniVer": "-",
2369
+ * "unixVer": "-"
2370
+ * },
2371
+ * "kuaishou": {
2372
+ * "hostVer": "-",
2373
+ * "uniVer": "-",
2374
+ * "unixVer": "-"
2375
+ * },
2376
+ * "jd": {
2377
+ * "hostVer": "-",
2378
+ * "uniVer": "-",
2379
+ * "unixVer": "-"
2380
+ * }
2381
+ * }
2382
+ * }
2383
+ */
2384
+ host?: GetAppBaseInfoResultHost | null;
2385
+ /**
2386
+ * 系统当前主题,取值为`light`或`dark`,全局配置`"darkmode":true`时才能获取,否则为 undefined (不支持小游戏)
2387
+ *
2388
+ * 可选值:
2389
+ * - 'dark': 深色主题;
2390
+ * - 'light': 浅色主题;
2391
+ *
2392
+ * @uniPlatform {
2393
+ * "mp": {
2394
+ * "weixin": {
2395
+ * "hostVer": "√",
2396
+ * "uniVer": "",
2397
+ * "unixVer": "4.41"
2398
+ * },
2399
+ * "alipay": {
2400
+ * "hostVer": "-",
2401
+ * "uniVer": "-",
2402
+ * "unixVer": "-"
2403
+ * },
2404
+ * "baidu": {
2405
+ * "hostVer": "-",
2406
+ * "uniVer": "-",
2407
+ * "unixVer": "-"
2408
+ * },
2409
+ * "toutiao": {
2410
+ * "hostVer": "-",
2411
+ * "uniVer": "-",
2412
+ * "unixVer": "-"
2413
+ * },
2414
+ * "lark": {
2415
+ * "hostVer": "-",
2416
+ * "uniVer": "-",
2417
+ * "unixVer": "-"
2418
+ * },
2419
+ * "qq": {
2420
+ * "hostVer": "-",
2421
+ * "uniVer": "-",
2422
+ * "unixVer": "-"
2423
+ * },
2424
+ * "kuaishou": {
2425
+ * "hostVer": "-",
2426
+ * "uniVer": "-",
2427
+ * "unixVer": "-"
2428
+ * },
2429
+ * "jd": {
2430
+ * "hostVer": "-",
2431
+ * "uniVer": "-",
2432
+ * "unixVer": "-"
2433
+ * }
2434
+ * }
2435
+ * }
2436
+ */
2437
+ theme?: "dark" | "light" | null;
2438
+ }
2439
+
2440
+ /**
2441
+ * @param{GetAppBaseInfoOptions} [options=包含所有字段的过滤对象] 过滤的字段对象, 不传参数默认为获取全部字段。
2442
+ */
2443
+ export type GetAppBaseInfo = (options?: GetAppBaseInfoOptions | null) => GetAppBaseInfoResult;
2444
+
2445
+
2446
+ export interface Uni {
2447
+ /**
2448
+ * GetAppBaseInfo(Object object)
2449
+ * @description
2450
+ * 获取app基本信息
2451
+ * @param {GetAppBaseInfoOptions} options [options=包含所有字段的过滤对象] 过滤的字段对象, 不传参数默认为获取全部字段。
2452
+ * @return {object}
2453
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-app-base-info.html
2454
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-app-base-info.html
2455
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/getAppBaseInfo.html
2456
+ * @uniPlatform {
2457
+ * "app": {
2458
+ * "android": {
2459
+ * "osVer": "5.0",
2460
+ * "uniVer": "√",
2461
+ * "uniUtsPlugin": "3.6",
2462
+ * "unixVer": "3.91",
2463
+ * "unixUtsPlugin": "3.91"
2464
+ * },
2465
+ * "ios": {
2466
+ * "osVer": "12.0",
2467
+ * "uniVer": "",
2468
+ * "uniUtsPlugin": "3.6",
2469
+ * "unixVer": "4.11",
2470
+ * "unixUtsPlugin": "4.11"
2471
+ * },
2472
+ * "harmony": {
2473
+ * "osVer": "3.0",
2474
+ * "uniVer": "4.23",
2475
+ * "unixVer": "4.61"
2476
+ * }
2477
+ * },
2478
+ * "mp": {
2479
+ * "weixin": {
2480
+ * "hostVer": "2.20.1",
2481
+ * "uniVer": "",
2482
+ * "unixVer": "4.41"
2483
+ * },
2484
+ * "alipay": {
2485
+ * "hostVer": "",
2486
+ * "uniVer": "",
2487
+ * "unixVer": "x"
2488
+ * },
2489
+ * "baidu": {
2490
+ * "hostVer": "",
2491
+ * "uniVer": "",
2492
+ * "unixVer": "x"
2493
+ * },
2494
+ * "toutiao": {
2495
+ * "hostVer": "",
2496
+ * "uniVer": "",
2497
+ * "unixVer": "x"
2498
+ * },
2499
+ * "lark": {
2500
+ * "hostVer": "",
2501
+ * "uniVer": "",
2502
+ * "unixVer": "x"
2503
+ * },
2504
+ * "qq": {
2505
+ * "hostVer": "√",
2506
+ * "uniVer": "√",
2507
+ * "unixVer": "x"
2508
+ * },
2509
+ * "kuaishou": {
2510
+ * "hostVer": "√",
2511
+ * "uniVer": "√",
2512
+ * "unixVer": "x"
2513
+ * },
2514
+ * "jd": {
2515
+ * "hostVer": "√",
2516
+ * "uniVer": "",
2517
+ * "unixVer": "x"
2518
+ * }
2519
+ * },
2520
+ * "web": {
2521
+ * "uniVer": "",
2522
+ * "unixVer": "4.0"
2523
+ * }
2524
+ * }
2525
+ * @example
2526
+ ```typescript
2527
+ uni.getAppBaseInfo({
2528
+ filter:[]
2529
+ })
2530
+ ```
2531
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/base/system/wx.getAppBaseInfo.html
2532
+ */
2533
+ getAppBaseInfo(options?: GetAppBaseInfoOptions | null): GetAppBaseInfoResult;
2534
+ }
2535
+
2536
+ /**
2537
+ * 当前小程序运行的宿主环境
2538
+ *
2539
+ * @uniPlatform {
2540
+ * "mp": {
2541
+ * "weixin": {
2542
+ * "hostVer": "√",
2543
+ * "uniVer": "√",
2544
+ * "unixVer": "4.41"
2545
+ * },
2546
+ * "alipay": {
2547
+ * "hostVer": "-",
2548
+ * "uniVer": "-",
2549
+ * "unixVer": "-"
2550
+ * },
2551
+ * "baidu": {
2552
+ * "hostVer": "-",
2553
+ * "uniVer": "-",
2554
+ * "unixVer": "-"
2555
+ * },
2556
+ * "toutiao": {
2557
+ * "hostVer": "-",
2558
+ * "uniVer": "-",
2559
+ * "unixVer": "-"
2560
+ * },
2561
+ * "lark": {
2562
+ * "hostVer": "-",
2563
+ * "uniVer": "-",
2564
+ * "unixVer": "-"
2565
+ * },
2566
+ * "qq": {
2567
+ * "hostVer": "-",
2568
+ * "uniVer": "-",
2569
+ * "unixVer": "-"
2570
+ * },
2571
+ * "kuaishou": {
2572
+ * "hostVer": "-",
2573
+ * "uniVer": "-",
2574
+ * "unixVer": "-"
2575
+ * },
2576
+ * "jd": {
2577
+ * "hostVer": "-",
2578
+ * "uniVer": "-",
2579
+ * "unixVer": "-"
2580
+ * }
2581
+ * }
2582
+ * }
2583
+ */
2584
+ export type GetAppBaseInfoResultHost = {
2585
+ /**
2586
+ * 宿主 app(第三方App) 对应的 appId (当小程序运行在第三方App环境时才返回)
2587
+ *
2588
+ * @uniPlatform {
2589
+ * "mp": {
2590
+ * "weixin": {
2591
+ * "hostVer": "√",
2592
+ * "uniVer": "√",
2593
+ * "unixVer": "4.41"
2594
+ * },
2595
+ * "alipay": {
2596
+ * "hostVer": "-",
2597
+ * "uniVer": "-",
2598
+ * "unixVer": "-"
2599
+ * },
2600
+ * "baidu": {
2601
+ * "hostVer": "-",
2602
+ * "uniVer": "-",
2603
+ * "unixVer": "-"
2604
+ * },
2605
+ * "toutiao": {
2606
+ * "hostVer": "-",
2607
+ * "uniVer": "-",
2608
+ * "unixVer": "-"
2609
+ * },
2610
+ * "lark": {
2611
+ * "hostVer": "-",
2612
+ * "uniVer": "-",
2613
+ * "unixVer": "-"
2614
+ * },
2615
+ * "qq": {
2616
+ * "hostVer": "-",
2617
+ * "uniVer": "-",
2618
+ * "unixVer": "-"
2619
+ * },
2620
+ * "kuaishou": {
2621
+ * "hostVer": "-",
2622
+ * "uniVer": "-",
2623
+ * "unixVer": "-"
2624
+ * },
2625
+ * "jd": {
2626
+ * "hostVer": "-",
2627
+ * "uniVer": "-",
2628
+ * "unixVer": "-"
2629
+ * }
2630
+ * }
2631
+ * }
2632
+ */
2633
+ appId?: string | null
2634
+ };