@dcloudio/uni-app-x 0.7.39 → 0.7.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/package.json +9 -7
  2. package/types/UniPage.d.ts +168 -22
  3. package/types/app.d.ts +178 -174
  4. package/types/native/CSSStyleDeclaration.d.ts +16 -2
  5. package/types/native/DOMRect.d.ts +430 -10
  6. package/types/native/DrawableContext.d.ts +1137 -45
  7. package/types/native/IUniElement.d.ts +1875 -93
  8. package/types/native/UniNativePage.d.ts +94 -0
  9. package/types/native/UniResizeObserver.d.ts +215 -5
  10. package/types/native/UniSafeArea.d.ts +185 -0
  11. package/types/native/UniVideoElement.d.ts +432 -0
  12. package/types/native/global.d.ts +7 -0
  13. package/types/native/index.d.ts +1 -0
  14. package/types/uni/uni-map-tencent-map.d.ts +12 -8
  15. package/types/uni/uts-plugin-api/global.d.ts +62 -61
  16. package/types/uni/uts-plugin-api/index.d.ts +62 -61
  17. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/global.d.ts +22 -0
  18. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/index.d.ts +10 -0
  19. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +278 -0
  20. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +1600 -59
  21. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +64 -63
  22. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/global.d.ts +0 -2
  23. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/index.d.ts +0 -1
  24. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +1150 -186
  25. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +64 -63
  26. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +550 -550
  27. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +69 -72
  28. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +533 -135
  29. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1508 -77
  30. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +423 -63
  31. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +284 -63
  32. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +2 -9
  33. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +1 -1
  34. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/global.d.ts +62 -62
  35. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/index.d.ts +31 -31
  36. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +57 -57
  37. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +312 -110
  38. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +62 -62
  39. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +472 -72
  40. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +126 -78
  41. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +317 -66
  42. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +570 -63
  43. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +570 -63
  44. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +110 -66
  45. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +595 -177
  46. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +284 -63
  47. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +45 -1
  48. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +1387 -182
  49. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +67 -67
  50. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +318 -53
  51. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +162 -63
  52. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +241 -64
  53. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +6 -0
  54. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +3 -0
  55. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +4089 -659
  56. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +460 -252
  57. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +2345 -213
  58. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +1205 -149
  59. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +339 -33
  60. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +457 -53
  61. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +328 -63
  62. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +317 -66
  63. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +120 -71
  64. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +2157 -437
  65. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +260 -126
  66. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +467 -315
  67. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +553 -53
  68. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +1608 -630
  69. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +2492 -504
  70. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +176 -130
  71. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +704 -58
  72. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1230 -454
  73. package/types/uni/uts-plugin-biz/global.d.ts +6 -5
  74. package/types/uni/uts-plugin-biz/index.d.ts +6 -5
  75. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +406 -123
  76. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/global.d.ts +4 -0
  77. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/index.d.ts +2 -0
  78. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/interface.d.ts +60 -47
  79. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +71 -71
  80. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +3 -3
  81. package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/global.d.ts +24 -0
  82. package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/index.d.ts +11 -0
  83. package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/interface.d.ts +204 -0
  84. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +42 -38
  85. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +21 -19
  86. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +502 -255
  87. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/global.d.ts +64 -0
  88. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/index.d.ts +31 -0
  89. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/interface.d.ts +900 -0
  90. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +48 -48
  91. package/types/uni/uts-plugin-extend/global.d.ts +0 -4
  92. package/types/uni/uts-plugin-extend/index.d.ts +0 -4
  93. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +825 -273
  94. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +4399 -339
  95. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +1000 -268
  96. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/interface.d.ts +1 -1
  97. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +3 -3
  98. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +1495 -384
  99. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +222 -132
  100. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +923 -67
  101. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/interface.d.ts +2 -2
  102. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +0 -7
  103. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +0 -1
  104. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +0 -716
@@ -1,7 +1,7 @@
1
1
 
2
2
  export type ReadFileSuccessResult = {
3
3
  /**
4
- * 读取的内容,类型为 String 或 ArrayBuffer,在4.31以前类型是string,4.31起为了同时支持arraybuffer,类型改成了any,请在使用时手动as为指定类型
4
+ * 读取的内容,类型为 String 或 ArrayBuffer(iOS平台仅支持String),在4.31以前类型是string,4.31起为了同时支持arraybuffer,类型改成了any,请在使用时手动as为指定类型
5
5
  * @uniPlatform {
6
6
  * "app": {
7
7
  * "android": {
@@ -12,7 +12,7 @@ export type ReadFileSuccessResult = {
12
12
  * "ios": {
13
13
  * "osVer": "12.0",
14
14
  * "uniVer": "x",
15
- * "unixVer": "x"
15
+ * "unixVer": "4.11"
16
16
  * },
17
17
  * "harmony": {
18
18
  * "osVer": "x",
@@ -73,6 +73,7 @@ export type ReadFileSuccessResult = {
73
73
 
74
74
  export type OpenFileSuccessResult = {
75
75
  fd: string
76
+ errMsg?: string
76
77
  }
77
78
 
78
79
 
@@ -103,9 +104,9 @@ export type ReadFileSuccessCallback = (res: ReadFileSuccessResult) => void
103
104
 
104
105
  export type ReadFileOptions = {
105
106
  /**
106
- * base64 / utf-8,指定读取文件的字符编码,4.31及以后版本Android平台如果不传 encoding,则以 ArrayBuffer 格式读取文件的二进制内容
107
+ * base64 / utf-8 / ascii,指定读取文件的字符编码,4.31及以后版本Android平台如果不传 encoding,则以 ArrayBuffer 格式读取文件的二进制内容
107
108
  */
108
- encoding?: "base64" | "utf-8",
109
+ encoding?: "base64" | "utf-8" | "ascii",
109
110
  /**
110
111
  * 文件路径,支持相对地址和绝对地址,app-android平台支持代码包文件目录
111
112
  */
@@ -139,7 +140,7 @@ export type WriteFileOptions = {
139
140
  */
140
141
  encoding?: "ascii" | "base64" | "utf-8",
141
142
  /**
142
- * 写入的内容,类型为 String 或 ArrayBuffer,在4.31以前类型是string,4.31起为了同时支持arraybuffer,类型改成了any
143
+ * 写入的内容,类型为 String 或 ArrayBuffer(iOS平台仅支持String), 在4.31以前类型是string,4.31起为了同时支持arraybuffer,类型改成了any
143
144
  * @uniPlatform {
144
145
  * "app": {
145
146
  * "android": {
@@ -150,7 +151,7 @@ export type WriteFileOptions = {
150
151
  * "ios": {
151
152
  * "osVer": "12.0",
152
153
  * "uniVer": "x",
153
- * "unixVer": "x"
154
+ * "unixVer": "4.11"
154
155
  * },
155
156
  * "harmony": {
156
157
  * "osVer": "x",
@@ -437,6 +438,7 @@ export type RmDirOptions = {
437
438
 
438
439
  export type ReadDirSuccessResult = {
439
440
  files: string[],
441
+ errMsg?: string
440
442
  }
441
443
 
442
444
  export type ReadDirSuccessCallback = (res: ReadDirSuccessResult) => void
@@ -627,11 +629,11 @@ export interface Stats {
627
629
  /**
628
630
  * 判断当前文件是否一个目录
629
631
  */
630
- isDirectory(): boolean;
632
+ isDirectory: () => boolean;
631
633
  /**
632
634
  * 判断当前文件是否一个普通文件
633
635
  */
634
- isFile(): boolean;
636
+ isFile: () => boolean;
635
637
  }
636
638
 
637
639
 
@@ -1509,7 +1511,12 @@ export type EntryItem = {
1509
1511
  }
1510
1512
  export type EntriesResult = {
1511
1513
  /** 文件路径 */
1514
+ entries: Map<string, ZipFileItem>,
1515
+ /**
1516
+ * @deprecated 已废弃,使用 entries
1517
+ */
1512
1518
  result: Map<string, ZipFileItem>
1519
+ errMsg?: string
1513
1520
  }
1514
1521
  export type ZipFileItem = {
1515
1522
  /** string/ArrayBuffer 文件内容,4.31及以后版本支持ArrayBuffer */
@@ -1834,7 +1841,12 @@ export interface FileSystemManager {
1834
1841
  * "osVer": "12.0",
1835
1842
  * "uniVer": "x",
1836
1843
  * "unixVer": "4.11"
1837
- * }
1844
+ * },
1845
+ * "harmony": {
1846
+ * "osVer": "3.0",
1847
+ * "uniVer": "4.51",
1848
+ * "unixVer": "x"
1849
+ * }
1838
1850
  * },
1839
1851
  * "mp": {
1840
1852
  * "weixin": {
@@ -1901,7 +1913,12 @@ export interface FileSystemManager {
1901
1913
  * "osVer": "12.0",
1902
1914
  * "uniVer": "x",
1903
1915
  * "unixVer": "x"
1904
- * }
1916
+ * },
1917
+ * "harmony": {
1918
+ * "osVer": "3.0",
1919
+ * "uniVer": "4.51",
1920
+ * "unixVer": "x"
1921
+ * }
1905
1922
  * },
1906
1923
  * "mp": {
1907
1924
  * "weixin": {
@@ -2035,7 +2052,12 @@ export interface FileSystemManager {
2035
2052
  * "osVer": "12.0",
2036
2053
  * "uniVer": "x",
2037
2054
  * "unixVer": "x"
2038
- * }
2055
+ * },
2056
+ * "harmony": {
2057
+ * "osVer": "3.0",
2058
+ * "uniVer": "4.51",
2059
+ * "unixVer": "x"
2060
+ * }
2039
2061
  * },
2040
2062
  * "mp": {
2041
2063
  * "weixin": {
@@ -2099,7 +2121,12 @@ export interface FileSystemManager {
2099
2121
  * "osVer": "12.0",
2100
2122
  * "uniVer": "x",
2101
2123
  * "unixVer": "x"
2102
- * }
2124
+ * },
2125
+ * "harmony": {
2126
+ * "osVer": "3.0",
2127
+ * "uniVer": "4.51",
2128
+ * "unixVer": "x"
2129
+ * }
2103
2130
  * },
2104
2131
  * "mp": {
2105
2132
  * "weixin": {
@@ -2235,7 +2262,12 @@ export interface FileSystemManager {
2235
2262
  * "osVer": "12.0",
2236
2263
  * "uniVer": "x",
2237
2264
  * "unixVer": "4.11"
2238
- * }
2265
+ * },
2266
+ * "harmony": {
2267
+ * "osVer": "3.0",
2268
+ * "uniVer": "4.51",
2269
+ * "unixVer": "x"
2270
+ * }
2239
2271
  * },
2240
2272
  * "mp": {
2241
2273
  * "weixin": {
@@ -2300,7 +2332,12 @@ export interface FileSystemManager {
2300
2332
  * "osVer": "12.0",
2301
2333
  * "uniVer": "x",
2302
2334
  * "unixVer": "x"
2303
- * }
2335
+ * },
2336
+ * "harmony": {
2337
+ * "osVer": "3.0",
2338
+ * "uniVer": "4.51",
2339
+ * "unixVer": "x"
2340
+ * }
2304
2341
  * },
2305
2342
  * "mp": {
2306
2343
  * "weixin": {
@@ -2504,7 +2541,12 @@ export interface FileSystemManager {
2504
2541
  * "osVer": "12.0",
2505
2542
  * "uniVer": "x",
2506
2543
  * "unixVer": "4.11"
2507
- * }
2544
+ * },
2545
+ * "harmony": {
2546
+ * "osVer": "3.0",
2547
+ * "uniVer": "4.51",
2548
+ * "unixVer": "x"
2549
+ * }
2508
2550
  * },
2509
2551
  * "mp": {
2510
2552
  * "weixin": {
@@ -2570,7 +2612,12 @@ export interface FileSystemManager {
2570
2612
  * "osVer": "12.0",
2571
2613
  * "uniVer": "x",
2572
2614
  * "unixVer": "x"
2573
- * }
2615
+ * },
2616
+ * "harmony": {
2617
+ * "osVer": "3.0",
2618
+ * "uniVer": "4.51",
2619
+ * "unixVer": "x"
2620
+ * }
2574
2621
  * },
2575
2622
  * "mp": {
2576
2623
  * "weixin": {
@@ -2634,7 +2681,12 @@ export interface FileSystemManager {
2634
2681
  * "osVer": "12.0",
2635
2682
  * "uniVer": "x",
2636
2683
  * "unixVer": "4.11"
2637
- * }
2684
+ * },
2685
+ * "harmony": {
2686
+ * "osVer": "3.0",
2687
+ * "uniVer": "4.51",
2688
+ * "unixVer": "x"
2689
+ * }
2638
2690
  * },
2639
2691
  * "mp": {
2640
2692
  * "weixin": {
@@ -2699,7 +2751,12 @@ export interface FileSystemManager {
2699
2751
  * "osVer": "12.0",
2700
2752
  * "uniVer": "x",
2701
2753
  * "unixVer": "x"
2702
- * }
2754
+ * },
2755
+ * "harmony": {
2756
+ * "osVer": "3.0",
2757
+ * "uniVer": "4.51",
2758
+ * "unixVer": "x"
2759
+ * }
2703
2760
  * },
2704
2761
  * "mp": {
2705
2762
  * "weixin": {
@@ -2763,7 +2820,12 @@ export interface FileSystemManager {
2763
2820
  * "osVer": "12.0",
2764
2821
  * "uniVer": "x",
2765
2822
  * "unixVer": "4.11"
2766
- * }
2823
+ * },
2824
+ * "harmony": {
2825
+ * "osVer": "3.0",
2826
+ * "uniVer": "4.51",
2827
+ * "unixVer": "x"
2828
+ * }
2767
2829
  * },
2768
2830
  * "mp": {
2769
2831
  * "weixin": {
@@ -2828,7 +2890,12 @@ export interface FileSystemManager {
2828
2890
  * "osVer": "12.0",
2829
2891
  * "uniVer": "x",
2830
2892
  * "unixVer": "x"
2831
- * }
2893
+ * },
2894
+ * "harmony": {
2895
+ * "osVer": "3.0",
2896
+ * "uniVer": "4.51",
2897
+ * "unixVer": "x"
2898
+ * }
2832
2899
  * },
2833
2900
  * "mp": {
2834
2901
  * "weixin": {
@@ -2892,7 +2959,12 @@ export interface FileSystemManager {
2892
2959
  * "osVer": "12.0",
2893
2960
  * "uniVer": "x",
2894
2961
  * "unixVer": "4.11"
2895
- * }
2962
+ * },
2963
+ * "harmony": {
2964
+ * "osVer": "3.0",
2965
+ * "uniVer": "4.51",
2966
+ * "unixVer": "x"
2967
+ * }
2896
2968
  * },
2897
2969
  * "mp": {
2898
2970
  * "weixin": {
@@ -2958,7 +3030,12 @@ export interface FileSystemManager {
2958
3030
  * "osVer": "12.0",
2959
3031
  * "uniVer": "x",
2960
3032
  * "unixVer": "x"
2961
- * }
3033
+ * },
3034
+ * "harmony": {
3035
+ * "osVer": "3.0",
3036
+ * "uniVer": "4.51",
3037
+ * "unixVer": "x"
3038
+ * }
2962
3039
  * },
2963
3040
  * "mp": {
2964
3041
  * "weixin": {
@@ -3022,7 +3099,12 @@ export interface FileSystemManager {
3022
3099
  * "osVer": "12.0",
3023
3100
  * "uniVer": "x",
3024
3101
  * "unixVer": "4.11"
3025
- * }
3102
+ * },
3103
+ * "harmony": {
3104
+ * "osVer": "3.0",
3105
+ * "uniVer": "4.51",
3106
+ * "unixVer": "x"
3107
+ * }
3026
3108
  * },
3027
3109
  * "web": {
3028
3110
  * "uniVer": "x",
@@ -3046,7 +3128,12 @@ export interface FileSystemManager {
3046
3128
  * "osVer": "12.0",
3047
3129
  * "uniVer": "x",
3048
3130
  * "unixVer": "x"
3049
- * }
3131
+ * },
3132
+ * "harmony": {
3133
+ * "osVer": "3.0",
3134
+ * "uniVer": "4.51",
3135
+ * "unixVer": "x"
3136
+ * }
3050
3137
  * },
3051
3138
  * "mp": {
3052
3139
  * "weixin": {
@@ -3110,7 +3197,12 @@ export interface FileSystemManager {
3110
3197
  * "osVer": "12.0",
3111
3198
  * "uniVer": "x",
3112
3199
  * "unixVer": "4.11"
3113
- * }
3200
+ * },
3201
+ * "harmony": {
3202
+ * "osVer": "3.0",
3203
+ * "uniVer": "4.51",
3204
+ * "unixVer": "x"
3205
+ * }
3114
3206
  * },
3115
3207
  * "mp": {
3116
3208
  * "weixin": {
@@ -3174,7 +3266,12 @@ export interface FileSystemManager {
3174
3266
  * "osVer": "12.0",
3175
3267
  * "uniVer": "x",
3176
3268
  * "unixVer": "4.11"
3177
- * }
3269
+ * },
3270
+ * "harmony": {
3271
+ * "osVer": "3.0",
3272
+ * "uniVer": "4.51",
3273
+ * "unixVer": "x"
3274
+ * }
3178
3275
  * },
3179
3276
  * "mp": {
3180
3277
  * "weixin": {
@@ -3240,7 +3337,12 @@ export interface FileSystemManager {
3240
3337
  * "osVer": "12.0",
3241
3338
  * "uniVer": "x",
3242
3339
  * "unixVer": "x"
3243
- * }
3340
+ * },
3341
+ * "harmony": {
3342
+ * "osVer": "3.0",
3343
+ * "uniVer": "4.51",
3344
+ * "unixVer": "x"
3345
+ * }
3244
3346
  * },
3245
3347
  * "mp": {
3246
3348
  * "weixin": {
@@ -3304,7 +3406,12 @@ export interface FileSystemManager {
3304
3406
  * "osVer": "12.0",
3305
3407
  * "uniVer": "x",
3306
3408
  * "unixVer": "x"
3307
- * }
3409
+ * },
3410
+ * "harmony": {
3411
+ * "osVer": "3.0",
3412
+ * "uniVer": "4.51",
3413
+ * "unixVer": "x"
3414
+ * }
3308
3415
  * },
3309
3416
  * "mp": {
3310
3417
  * "weixin": {
@@ -3371,7 +3478,12 @@ export interface FileSystemManager {
3371
3478
  * "osVer": "12.0",
3372
3479
  * "uniVer": "x",
3373
3480
  * "unixVer": "x"
3374
- * }
3481
+ * },
3482
+ * "harmony": {
3483
+ * "osVer": "3.0",
3484
+ * "uniVer": "4.51",
3485
+ * "unixVer": "x"
3486
+ * }
3375
3487
  * },
3376
3488
  * "mp": {
3377
3489
  * "weixin": {
@@ -3421,7 +3533,6 @@ export interface FileSystemManager {
3421
3533
  * }
3422
3534
  * }
3423
3535
  */
3424
-
3425
3536
  appendFileSync(filePath: string, data: any, encoding?: string): void;
3426
3537
 
3427
3538
  /**
@@ -3437,7 +3548,12 @@ export interface FileSystemManager {
3437
3548
  * "osVer": "12.0",
3438
3549
  * "uniVer": "x",
3439
3550
  * "unixVer": "x"
3440
- * }
3551
+ * },
3552
+ * "harmony": {
3553
+ * "osVer": "3.0",
3554
+ * "uniVer": "4.51",
3555
+ * "unixVer": "x"
3556
+ * }
3441
3557
  * },
3442
3558
  * "mp": {
3443
3559
  * "weixin": {
@@ -3503,7 +3619,12 @@ export interface FileSystemManager {
3503
3619
  * "osVer": "12.0",
3504
3620
  * "uniVer": "x",
3505
3621
  * "unixVer": "x"
3506
- * }
3622
+ * },
3623
+ * "harmony": {
3624
+ * "osVer": "3.0",
3625
+ * "uniVer": "4.51",
3626
+ * "unixVer": "x"
3627
+ * }
3507
3628
  * },
3508
3629
  * "web": {
3509
3630
  * "uniVer": "x",
@@ -3525,7 +3646,12 @@ export interface FileSystemManager {
3525
3646
  * "osVer": "12.0",
3526
3647
  * "uniVer": "x",
3527
3648
  * "unixVer": "x"
3528
- * }
3649
+ * },
3650
+ * "harmony": {
3651
+ * "osVer": "3.0",
3652
+ * "uniVer": "4.51",
3653
+ * "unixVer": "x"
3654
+ * }
3529
3655
  * },
3530
3656
  * "mp": {
3531
3657
  * "weixin": {
@@ -3589,7 +3715,12 @@ export interface FileSystemManager {
3589
3715
  * "osVer": "12.0",
3590
3716
  * "uniVer": "x",
3591
3717
  * "unixVer": "x"
3592
- * }
3718
+ * },
3719
+ * "harmony": {
3720
+ * "osVer": "3.0",
3721
+ * "uniVer": "4.51",
3722
+ * "unixVer": "x"
3723
+ * }
3593
3724
  * },
3594
3725
  * "mp": {
3595
3726
  * "weixin": {
@@ -3653,7 +3784,12 @@ export interface FileSystemManager {
3653
3784
  * "osVer": "12.0",
3654
3785
  * "uniVer": "x",
3655
3786
  * "unixVer": "x"
3656
- * }
3787
+ * },
3788
+ * "harmony": {
3789
+ * "osVer": "3.0",
3790
+ * "uniVer": "4.51",
3791
+ * "unixVer": "x"
3792
+ * }
3657
3793
  * },
3658
3794
  * "mp": {
3659
3795
  * "weixin": {
@@ -3717,7 +3853,12 @@ export interface FileSystemManager {
3717
3853
  * "osVer": "12.0",
3718
3854
  * "uniVer": "x",
3719
3855
  * "unixVer": "x"
3720
- * }
3856
+ * },
3857
+ * "harmony": {
3858
+ * "osVer": "3.0",
3859
+ * "uniVer": "4.51",
3860
+ * "unixVer": "x"
3861
+ * }
3721
3862
  * },
3722
3863
  * "mp": {
3723
3864
  * "weixin": {
@@ -3783,7 +3924,12 @@ export interface FileSystemManager {
3783
3924
  * "osVer": "12.0",
3784
3925
  * "uniVer": "x",
3785
3926
  * "unixVer": "x"
3786
- * }
3927
+ * },
3928
+ * "harmony": {
3929
+ * "osVer": "3.0",
3930
+ * "uniVer": "4.51",
3931
+ * "unixVer": "x"
3932
+ * }
3787
3933
  * },
3788
3934
  * "mp": {
3789
3935
  * "weixin": {
@@ -3847,6 +3993,11 @@ export interface FileSystemManager {
3847
3993
  * "osVer": "12.0",
3848
3994
  * "uniVer": "x",
3849
3995
  * "unixVer": "x"
3996
+ * },
3997
+ * "harmony": {
3998
+ * "osVer": "x",
3999
+ * "uniVer": "x",
4000
+ * "unixVer": "x"
3850
4001
  * }
3851
4002
  * },
3852
4003
  * "web": {
@@ -3871,6 +4022,11 @@ export interface FileSystemManager {
3871
4022
  * "osVer": "12.0",
3872
4023
  * "uniVer": "x",
3873
4024
  * "unixVer": "x"
4025
+ * },
4026
+ * "harmony": {
4027
+ * "osVer": "x",
4028
+ * "uniVer": "x",
4029
+ * "unixVer": "x"
3874
4030
  * }
3875
4031
  * },
3876
4032
  * "mp": {
@@ -3935,7 +4091,12 @@ export interface FileSystemManager {
3935
4091
  * "osVer": "12.0",
3936
4092
  * "uniVer": "x",
3937
4093
  * "unixVer": "x"
3938
- * }
4094
+ * },
4095
+ * "harmony": {
4096
+ * "osVer": "3.0",
4097
+ * "uniVer": "4.51",
4098
+ * "unixVer": "x"
4099
+ * }
3939
4100
  * },
3940
4101
  * "mp": {
3941
4102
  * "weixin": {
@@ -3999,7 +4160,12 @@ export interface FileSystemManager {
3999
4160
  * "osVer": "12.0",
4000
4161
  * "uniVer": "x",
4001
4162
  * "unixVer": "x"
4002
- * }
4163
+ * },
4164
+ * "harmony": {
4165
+ * "osVer": "3.0",
4166
+ * "uniVer": "4.51",
4167
+ * "unixVer": "x"
4168
+ * }
4003
4169
  * },
4004
4170
  * "mp": {
4005
4171
  * "weixin": {
@@ -4159,7 +4325,12 @@ export interface FileSystemManager {
4159
4325
  * "osVer": "12.0",
4160
4326
  * "uniVer": "x",
4161
4327
  * "unixVer": "x"
4162
- * }
4328
+ * },
4329
+ * "harmony": {
4330
+ * "osVer": "3.0",
4331
+ * "uniVer": "4.51",
4332
+ * "unixVer": "x"
4333
+ * }
4163
4334
  * },
4164
4335
  * "mp": {
4165
4336
  * "weixin": {
@@ -4223,7 +4394,12 @@ export interface FileSystemManager {
4223
4394
  * "osVer": "12.0",
4224
4395
  * "uniVer": "x",
4225
4396
  * "unixVer": "x"
4226
- * }
4397
+ * },
4398
+ * "harmony": {
4399
+ * "osVer": "3.0",
4400
+ * "uniVer": "4.51",
4401
+ * "unixVer": "x"
4402
+ * }
4227
4403
  * },
4228
4404
  * "mp": {
4229
4405
  * "weixin": {
@@ -4287,7 +4463,12 @@ export interface FileSystemManager {
4287
4463
  * "osVer": "12.0",
4288
4464
  * "uniVer": "x",
4289
4465
  * "unixVer": "x"
4290
- * }
4466
+ * },
4467
+ * "harmony": {
4468
+ * "osVer": "3.0",
4469
+ * "uniVer": "4.51",
4470
+ * "unixVer": "x"
4471
+ * }
4291
4472
  * },
4292
4473
  * "mp": {
4293
4474
  * "weixin": {
@@ -4351,7 +4532,12 @@ export interface FileSystemManager {
4351
4532
  * "osVer": "12.0",
4352
4533
  * "uniVer": "x",
4353
4534
  * "unixVer": "x"
4354
- * }
4535
+ * },
4536
+ * "harmony": {
4537
+ * "osVer": "3.0",
4538
+ * "uniVer": "4.51",
4539
+ * "unixVer": "x"
4540
+ * }
4355
4541
  * },
4356
4542
  * "mp": {
4357
4543
  * "weixin": {
@@ -4415,7 +4601,12 @@ export interface FileSystemManager {
4415
4601
  * "osVer": "12.0",
4416
4602
  * "uniVer": "x",
4417
4603
  * "unixVer": "x"
4418
- * }
4604
+ * },
4605
+ * "harmony": {
4606
+ * "osVer": "3.0",
4607
+ * "uniVer": "4.51",
4608
+ * "unixVer": "x"
4609
+ * }
4419
4610
  * },
4420
4611
  * "web": {
4421
4612
  * "uniVer": "x",
@@ -4437,7 +4628,12 @@ export interface FileSystemManager {
4437
4628
  * "osVer": "12.0",
4438
4629
  * "uniVer": "x",
4439
4630
  * "unixVer": "x"
4440
- * }
4631
+ * },
4632
+ * "harmony": {
4633
+ * "osVer": "3.0",
4634
+ * "uniVer": "4.51",
4635
+ * "unixVer": "x"
4636
+ * }
4441
4637
  * },
4442
4638
  * "mp": {
4443
4639
  * "weixin": {
@@ -4501,7 +4697,12 @@ export interface FileSystemManager {
4501
4697
  * "osVer": "12.0",
4502
4698
  * "uniVer": "x",
4503
4699
  * "unixVer": "x"
4504
- * }
4700
+ * },
4701
+ * "harmony": {
4702
+ * "osVer": "3.0",
4703
+ * "uniVer": "4.51",
4704
+ * "unixVer": "x"
4705
+ * }
4505
4706
  * },
4506
4707
  * "mp": {
4507
4708
  * "weixin": {
@@ -4564,71 +4765,72 @@ export interface Uni {
4564
4765
  * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-file-system-manager.html
4565
4766
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-file-system-manager.html
4566
4767
  * @uniPlatform {
4567
- * "app": {
4568
- * "android": {
4569
- * "osVer": "5.0",
4570
- * "uniVer": "x",
4571
- * "unixVer": "3.9.0"
4572
- * },
4573
- * "ios": {
4574
- * "osVer": "12.0",
4575
- * "uniVer": "x",
4576
- * "unixVer": "4.11"
4577
- * },
4578
- * "harmony": {
4579
- * "osVer": "x",
4580
- * "uniVer": "x",
4581
- * "unixVer": "x"
4582
- * }
4583
- * },
4584
- * "mp": {
4585
- * "weixin": {
4586
- * "hostVer": "",
4587
- * "uniVer": "√",
4588
- * "unixVer": "4.41"
4589
- * },
4590
- * "alipay": {
4591
- * "hostVer": "√",
4592
- * "uniVer": "√",
4593
- * "unixVer": "x"
4594
- * },
4595
- * "baidu": {
4596
- * "hostVer": "√",
4597
- * "uniVer": "√",
4598
- * "unixVer": "x"
4599
- * },
4600
- * "toutiao": {
4601
- * "hostVer": "√",
4602
- * "uniVer": "√",
4603
- * "unixVer": "x"
4604
- * },
4605
- * "lark": {
4606
- * "hostVer": "√",
4607
- * "uniVer": "√",
4608
- * "unixVer": "x"
4609
- * },
4610
- * "qq": {
4611
- * "hostVer": "√",
4612
- * "uniVer": "√",
4613
- * "unixVer": "x"
4614
- * },
4615
- * "kuaishou": {
4616
- * "hostVer": "√",
4617
- * "uniVer": "√",
4618
- * "unixVer": "x"
4619
- * },
4620
- * "jd": {
4621
- * "hostVer": "√",
4622
- * "uniVer": "√",
4623
- * "unixVer": "x"
4624
- * }
4625
- * },
4626
- * "web": {
4627
- * "uniVer": "x",
4628
- * "unixVer": "x"
4629
- * }
4768
+ * "app": {
4769
+ * "android": {
4770
+ * "osVer": "5.0",
4771
+ * "uniVer": "x",
4772
+ * "unixVer": "3.9.0"
4773
+ * },
4774
+ * "ios": {
4775
+ * "osVer": "12.0",
4776
+ * "uniVer": "x",
4777
+ * "unixVer": "4.11"
4778
+ * },
4779
+ * "harmony": {
4780
+ * "osVer": "x",
4781
+ * "uniVer": "x",
4782
+ * "unixVer": "x"
4783
+ * }
4784
+ * },
4785
+ * "mp": {
4786
+ * "weixin": {
4787
+ * "hostVer": "1.9.9",
4788
+ * "uniVer": "√",
4789
+ * "unixVer": "4.41"
4790
+ * },
4791
+ * "alipay": {
4792
+ * "hostVer": "√",
4793
+ * "uniVer": "√",
4794
+ * "unixVer": "x"
4795
+ * },
4796
+ * "baidu": {
4797
+ * "hostVer": "√",
4798
+ * "uniVer": "√",
4799
+ * "unixVer": "x"
4800
+ * },
4801
+ * "toutiao": {
4802
+ * "hostVer": "√",
4803
+ * "uniVer": "√",
4804
+ * "unixVer": "x"
4805
+ * },
4806
+ * "lark": {
4807
+ * "hostVer": "√",
4808
+ * "uniVer": "√",
4809
+ * "unixVer": "x"
4810
+ * },
4811
+ * "qq": {
4812
+ * "hostVer": "√",
4813
+ * "uniVer": "√",
4814
+ * "unixVer": "x"
4815
+ * },
4816
+ * "kuaishou": {
4817
+ * "hostVer": "√",
4818
+ * "uniVer": "√",
4819
+ * "unixVer": "x"
4820
+ * },
4821
+ * "jd": {
4822
+ * "hostVer": "√",
4823
+ * "uniVer": "√",
4824
+ * "unixVer": "x"
4825
+ * }
4826
+ * },
4827
+ * "web": {
4828
+ * "uniVer": "x",
4829
+ * "unixVer": "x"
4830
+ * }
4630
4831
  * }
4631
4832
  * @uniVueVersion 2,3 //支持的vue版本
4833
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/file/FileSystemManager.html
4632
4834
  */
4633
4835
  getFileSystemManager(): FileSystemManager
4634
4836
  }
@@ -5066,5 +5268,5 @@ export type FileSystemManagerErrorCode =
5066
5268
 
5067
5269
  export type FileSystemManagerFail = IFileSystemManagerFail;
5068
5270
  export interface IFileSystemManagerFail extends IUniError {
5069
- errCode: number
5271
+ errCode: FileSystemManagerErrorCode
5070
5272
  };