@dcloudio/uni-app-x 0.5.4 → 0.5.6

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 (62) hide show
  1. package/package.json +1 -1
  2. package/types/app.d.ts +17 -8
  3. package/types/native/AsyncApiResult.d.ts +1 -1
  4. package/types/native/CSSStyleDeclaration.d.ts +2 -2
  5. package/types/native/DrawableContext.d.ts +2 -2
  6. package/types/native/Element.d.ts +52 -17
  7. package/types/native/IDocument.d.ts +2 -3
  8. package/types/native/IPage.d.ts +1 -1
  9. package/types/native/IUniError.d.ts +1 -1
  10. package/types/native/NodeData.d.ts +1 -1
  11. package/types/native/SnapshotOptions.d.ts +63 -0
  12. package/types/native/UniAppManager.d.ts +1 -1
  13. package/types/native/UniElement.d.ts +97 -0
  14. package/types/native/UniTabsElement.d.ts +86 -0
  15. package/types/native/UniTextElement.d.ts +13 -0
  16. package/types/native/UniVideoElement.d.ts +70 -0
  17. package/types/native/{IWebViewNode.d.ts → UniWebViewElement.d.ts} +5 -2
  18. package/types/native/WebViewDownloadEvent.d.ts +37 -0
  19. package/types/native/WebViewErrorEvent.d.ts +26 -7
  20. package/types/native/WebViewLoadedEvent.d.ts +15 -2
  21. package/types/native/WebViewLoadingEvent.d.ts +15 -2
  22. package/types/native/WebViewMessageEvent.d.ts +15 -7
  23. package/types/native/WebViewStyles.d.ts +20 -0
  24. package/types/native/index.d.ts +8 -4
  25. package/types/shims-vue.d.ts +4 -2
  26. package/types/uni/core/lib/base/event/interface.d.ts +3 -6
  27. package/types/uni/core/lib/ui/get-element-by-id/interface.d.ts +3 -2
  28. package/types/uni/core/lib/ui/pull-down-refresh/index.d.ts +4 -0
  29. package/types/uni/core/lib/ui/pull-down-refresh/interface.d.ts +10 -1
  30. package/types/uni/core/lib/ui/tab-bar/interface.d.ts +4 -8
  31. package/types/uni/uts-plugin-api/index.d.ts +1 -2
  32. package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +2 -2
  33. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +86 -86
  34. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +103 -103
  35. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +52 -52
  36. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +4 -4
  37. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +82 -82
  38. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +2 -2
  39. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +10 -10
  40. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/interface.d.ts +59 -56
  41. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +116 -97
  42. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +4 -4
  43. package/types/uni/uts-plugin-api/lib/uni-push/utssdk/index.d.ts +55 -0
  44. package/types/uni/uts-plugin-api/lib/uni-push/utssdk/interface.d.ts +338 -0
  45. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +39 -39
  46. package/types/uni-cloud/interface.d.ts +10 -10
  47. package/types/vue/CheckboxGroupChangeEvent.d.ts +13 -0
  48. package/types/vue/PickerViewChangeEvent.d.ts +13 -0
  49. package/types/vue/ProgressActiveendEvent.d.ts +7 -0
  50. package/types/vue/RadioGroupChangeEvent.d.ts +13 -0
  51. package/types/vue/SliderChangeEvent.d.ts +2 -2
  52. package/types/vue/SwitchChangeEvent.d.ts +7 -0
  53. package/types/vue/UniButtonElement.d.ts +7 -0
  54. package/types/vue/UniCloudDBElement.d.ts +213 -0
  55. package/types/vue/UniNavigatorElement.d.ts +7 -0
  56. package/types/vue/index.d.ts +3 -0
  57. package/types/native/DomNode.d.ts +0 -48
  58. package/types/native/ITabsNode.d.ts +0 -36
  59. package/types/uni/uts-plugin-api/lib/uni-audio/utssdk/index.d.ts +0 -17
  60. package/types/uni/uts-plugin-api/lib/uni-audio/utssdk/interface.d.ts +0 -804
  61. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/index.d.ts +0 -15
  62. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +0 -213
@@ -9,83 +9,86 @@ export type RequestOptions<T> = {
9
9
  */
10
10
  url: string,
11
11
  /**
12
- * 请求的参数 Object|String类型
13
- * @type {RequestDataOptions}
12
+ * 请求的参数 UTSJSONObject|string类型
13
+ * @type {RequestDataOptions}
14
14
  * @defaultValue null
15
15
  */
16
16
  data?: any | null,
17
17
  /**
18
- * 设置请求的 header,header 中不能设置 Referer
18
+ * 设置请求的 header,header 中不能设置 Referer
19
19
  * @defaultValue null
20
20
  */
21
21
  header?: UTSJSONObject | null,
22
22
  /**
23
- * 请求类型 默认值GET
24
- * GET|POST|PUT|DELETE|HEAD|OPTIONS
25
- * @type {RequestMethod}
23
+ * 请求方法
24
+ * 如果设置的值不在取值范围内,会以GET方法进行请求。
25
+ * @type {RequestMethod}
26
26
  * @defaultValue "GET"
27
27
  */
28
28
  method?: RequestMethod | null,
29
29
  /**
30
- * 超时时间,单位 ms
30
+ * 超时时间,单位 ms
31
31
  * @defaultValue 60000
32
32
  */
33
33
  timeout?: number | null,
34
34
  /**
35
- * 如果设为 json,会对返回的数据进行一次 JSON.parse,非 json 不会进行 JSON.parse
36
- * @defaultValue "json"
37
- * @deprecated 不支持
35
+ * 如果设为 json,会对返回的数据进行一次 JSON.parse,非 json 不会进行 JSON.parse
36
+ * @defaultValue "json"
37
+ * @deprecated 不支持
38
+ * @autodoc false
38
39
  */
39
40
  dataType?: string | null,
40
41
  /**
41
42
  * 设置响应的数据类型。
42
43
  *
43
- * @deprecated 不支持
44
+ * @deprecated 不支持
45
+ * @autodoc false
44
46
  */
45
47
  responseType?: string | null,
46
48
  /**
47
- * 验证 ssl 证书
48
- *
49
- * @deprecated 不支持
49
+ * 验证 ssl 证书
50
+ *
51
+ * @deprecated 不支持
52
+ * @autodoc false
50
53
  */
51
54
  sslVerify?: boolean | null,
52
- /**
53
- * 跨域请求时是否携带凭证(cookies)
54
- *
55
- * @uniPlatform {
56
- * "app": {
57
- * "android": {
58
- * "osVer": "4.4",
59
- * "uniVer": "√",
60
- * "unixVer": "x"
61
- * },
62
- * "ios": {
63
- * "osVer": "9.0",
64
- * "uniVer": "√",
65
- * "unixVer": "x"
66
- * }
67
- * }
68
- * }
69
- *
55
+ /**
56
+ * 跨域请求时是否携带凭证(cookies)
57
+ *
58
+ * @uniPlatform {
59
+ * "app": {
60
+ * "android": {
61
+ * "osVer": "4.4",
62
+ * "uniVer": "√",
63
+ * "unixVer": "x"
64
+ * },
65
+ * "ios": {
66
+ * "osVer": "9.0",
67
+ * "uniVer": "√",
68
+ * "unixVer": "x"
69
+ * }
70
+ * }
71
+ * }
72
+ *
70
73
  */
71
74
  withCredentials?: boolean | null,
72
75
  /**
73
- * DNS解析时优先使用ipv4
76
+ * DNS解析时优先使用ipv4
74
77
  * @defaultValue false
75
78
  */
76
79
  firstIpv4?: boolean | null,
77
80
  /**
78
- * 网络请求成功回调。
81
+ * 网络请求成功回调。
79
82
  * @defaultValue null
80
83
  */
81
84
  success?: RequestSuccessCallback<T> | null,
82
85
  /**
83
- * 网络请求失败回调。
86
+ * 网络请求失败回调。
84
87
  * @defaultValue null
85
88
  */
86
89
  fail?: RequestFailCallback | null,
87
90
  /**
88
- * 网络请求完成回调,成功或者失败都会调用。
91
+ * 网络请求完成回调,成功或者失败都会调用。
89
92
  * @defaultValue null
90
93
  */
91
94
  complete?: RequestCompleteCallback | null
@@ -109,32 +112,39 @@ export type RequestSuccess<T> = {
109
112
  * 开发者服务器返回的 cookies,格式为字符串数组
110
113
  */
111
114
  cookies: Array<string>
112
- }
113
-
114
- /**
115
- * 请求方式
116
- */
117
- export type RequestMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
115
+ }
116
+
117
+ /**
118
+ * 请求方法
119
+ * - GET GET方法请求一个指定资源的表示形式,使用 GET 的请求应该只被用于获取数据。
120
+ * - POST POST方法用于将实体提交到指定的资源,通常导致在服务器上的状态变化或副作用。
121
+ * - PUT PUT方法用有效载荷请求替换目标资源的所有当前表示。
122
+ * - PATCH PATCH方法用于对资源应用部分修改。
123
+ * - DELETE DELETE方法删除指定的资源。
124
+ * - HEAD HEAD方法请求一个与GET请求的响应相同的响应,但没有响应体。
125
+ * - OPTIONS OPTIONS 方法用于描述目标资源的通信选项。
126
+ */
127
+ export type RequestMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
118
128
 
119
- /**
120
- * 错误码
121
- * - 5 接口超时
122
- * - 1000 服务端系统错误
123
- * - 100001 json数据解析错误
124
- * - 100002 错误信息json解析失败
125
- * - 600000 未知的网络错误
126
- * - 600003 网络中断
127
- * - 600009 URL格式不合法
128
- * - 600010 请求的 data 序列化失败
129
- * - 602001 request系统错误
130
- */
131
- export type RequestErrorCode = 5 | 1000 | 100001 | 100002 | 600000 | 600003 | 600009 | 600010 | 602001;
132
- /**
133
- * 网络请求失败的错误回调参数
129
+ /**
130
+ * 错误码
131
+ * - 5 接口超时
132
+ * - 1000 服务端系统错误
133
+ * - 100001 json数据解析错误
134
+ * - 100002 错误信息json解析失败
135
+ * - 600000 未知的网络错误
136
+ * - 600003 网络中断
137
+ * - 600009 URL格式不合法
138
+ * - 600010 请求的 data 序列化失败
139
+ * - 602001 request系统错误
140
+ */
141
+ export type RequestErrorCode = 5 | 1000 | 100001 | 100002 | 600000 | 600003 | 600009 | 600010 | 602001;
142
+ /**
143
+ * 网络请求失败的错误回调参数
134
144
  */
135
- export interface RequestFail extends IUniError{
136
- errCode: RequestErrorCode
137
- };
145
+ export interface RequestFail extends IUniError{
146
+ errCode: RequestErrorCode
147
+ };
138
148
  export type RequestSuccessCallback<T> = (option: RequestSuccess<T>) => void;
139
149
  export type RequestFailCallback = (option: RequestFail) => void;
140
150
  export type RequestCompleteCallback = (option: any) => void;
@@ -153,12 +163,12 @@ export interface RequestTask {
153
163
  * "android": {
154
164
  * "osVer": "4.4",
155
165
  * "uniVer": "√",
156
- * "unixVer": "3.9.0"
166
+ * "unixVer": "3.9+"
157
167
  * },
158
168
  * "ios": {
159
169
  * "osVer": "9.0",
160
170
  * "uniVer": "√",
161
- * "unixVer": "3.9.0"
171
+ * "unixVer": "3.9+"
162
172
  * }
163
173
  * }
164
174
  * }
@@ -180,7 +190,7 @@ export interface RequestTask {
180
190
  export type UploadFile = (options: UploadFileOptions) => UploadTask | null;
181
191
  export type UploadFileOptionFiles = {
182
192
  /**
183
- * multipart 提交时,表单的项目名,默认为 file,如果 name 不填或填的值相同,可能导致服务端读取文件时只能读取到一个文件。
193
+ * multipart 提交时,表单的项目名,默认为 file,如果 name 不填或填的值相同,可能导致服务端读取文件时只能读取到一个文件。
184
194
  * @defaultValue "file"
185
195
  */
186
196
  name: string | null,
@@ -189,7 +199,7 @@ export type UploadFileOptionFiles = {
189
199
  */
190
200
  uri: string,
191
201
  /**
192
- * 要上传的文件对象
202
+ * 要上传的文件对象
193
203
  * @uniPlatform {
194
204
  * "app": {
195
205
  * "android": {
@@ -217,12 +227,12 @@ export type UploadFileSuccess = {
217
227
  */
218
228
  statusCode: number
219
229
  };
220
- export type UploadFileSuccessCallback = (result: UploadFileSuccess) => void;
221
- /**
222
- * 上传文件失败的错误回调参数
230
+ export type UploadFileSuccessCallback = (result: UploadFileSuccess) => void;
231
+ /**
232
+ * 上传文件失败的错误回调参数
223
233
  */
224
- export interface UploadFileFail extends IUniError{
225
- errCode: RequestErrorCode
234
+ export interface UploadFileFail extends IUniError{
235
+ errCode: RequestErrorCode
226
236
  };
227
237
  export type UploadFileFailCallback = (result: UploadFileFail) => void;
228
238
 
@@ -233,47 +243,47 @@ export type UploadFileOptions = {
233
243
  */
234
244
  url: string,
235
245
  /**
236
- * 要上传文件资源的路径
246
+ * 要上传文件资源的路径
237
247
  * @defaultValue null
238
248
  */
239
249
  filePath?: string | null,
240
250
  /**
241
- * 文件对应的 key , 开发者在服务器端通过这个 key 可以获取到文件二进制内容
251
+ * 文件对应的 key , 开发者在服务器端通过这个 key 可以获取到文件二进制内容
242
252
  * @defaultValue null
243
253
  */
244
254
  name?: string | null,
245
255
  /**
246
- * 需要上传的文件列表。
256
+ * 需要上传的文件列表。
247
257
  * @defaultValue null
248
258
  */
249
259
  files?: (UploadFileOptionFiles[]) | null,
250
260
  /**
251
- * HTTP 请求 Header, header 中不能设置 Referer
261
+ * HTTP 请求 Header, header 中不能设置 Referer
252
262
  * @defaultValue null
253
263
  */
254
264
  header?: UTSJSONObject | null,
255
265
  /**
256
- * HTTP 请求中其他额外的 form data
266
+ * HTTP 请求中其他额外的 form data
257
267
  * @defaultValue null
258
268
  */
259
269
  formData?: UTSJSONObject | null,
260
270
  /**
261
- * 超时时间,单位 ms
271
+ * 超时时间,单位 ms
262
272
  * @defaultValue 120000
263
273
  */
264
274
  timeout?: number | null,
265
275
  /**
266
- * 成功返回的回调函数
276
+ * 成功返回的回调函数
267
277
  * @defaultValue null
268
278
  */
269
279
  success?: UploadFileSuccessCallback | null,
270
280
  /**
271
- * 失败的回调函数
281
+ * 失败的回调函数
272
282
  * @defaultValue null
273
283
  */
274
284
  fail?: UploadFileFailCallback | null,
275
285
  /**
276
- * 结束的回调函数(调用成功、失败都会执行)
286
+ * 结束的回调函数(调用成功、失败都会执行)
277
287
  * @defaultValue null
278
288
  */
279
289
  complete?: UploadFileCompleteCallback | null
@@ -307,7 +317,7 @@ export interface UploadTask {
307
317
  * "android": {
308
318
  * "osVer": "4.4",
309
319
  * "uniVer": "√",
310
- * "unixVer": "3.9.0"
320
+ * "unixVer": "3.9+"
311
321
  * },
312
322
  * "ios": {
313
323
  * "osVer": "9.0",
@@ -338,7 +348,7 @@ export interface UploadTask {
338
348
  * "android": {
339
349
  * "osVer": "4.4",
340
350
  * "uniVer": "√",
341
- * "unixVer": "3.9.0"
351
+ * "unixVer": "3.9+"
342
352
  * },
343
353
  * "ios": {
344
354
  * "osVer": "9.0",
@@ -372,12 +382,12 @@ export type DownloadFileSuccess = {
372
382
  */
373
383
  statusCode: number
374
384
  };
375
- export type DownloadFileSuccessCallback = (result: DownloadFileSuccess) => void;
376
- /**
377
- * 下载文件失败的错误回调参数
385
+ export type DownloadFileSuccessCallback = (result: DownloadFileSuccess) => void;
386
+ /**
387
+ * 下载文件失败的错误回调参数
378
388
  */
379
- export interface DownloadFileFail extends IUniError{
380
- errCode: RequestErrorCode
389
+ export interface DownloadFileFail extends IUniError{
390
+ errCode: RequestErrorCode
381
391
  };
382
392
  export type DownloadFileFailCallback = (result: DownloadFileFail) => void;
383
393
  export type DownloadFileComplete = any;
@@ -388,27 +398,36 @@ export type DownloadFileOptions = {
388
398
  */
389
399
  url: string,
390
400
  /**
391
- * HTTP 请求 Header,header 中不能设置 Referer
401
+ * HTTP 请求 Header,header 中不能设置 Referer
392
402
  * @defaultValue null
393
403
  */
394
- header?: UTSJSONObject | null,
404
+ header?: UTSJSONObject | null,
405
+ /**
406
+ * 指定文件下载路径
407
+ * 支持相对路径与绝对路径,例:
408
+ * `/imgs/pic.png`、`/storage/emulated/0/Android/data/io.dcloud.HBuilder/apps/HBuilder/temp/imgs/pic.png`
409
+ * 并且支持指定下载目录,例:
410
+ * `/imgs/`
411
+ * @defaultValue null
412
+ */
413
+ filePath?: string | null,
395
414
  /**
396
- * 超时时间,单位 ms
415
+ * 超时时间,单位 ms
397
416
  * @defaultValue 120000
398
417
  */
399
418
  timeout?: number | null,
400
419
  /**
401
- * 下载成功后以 tempFilePath 的形式传给页面,res = {tempFilePath: '文件的临时路径'}
420
+ * 下载成功后以 tempFilePath 的形式传给页面,res = {tempFilePath: '文件的临时路径'}
402
421
  * @defaultValue null
403
422
  */
404
423
  success?: DownloadFileSuccessCallback | null,
405
424
  /**
406
- * 失败的回调函数
425
+ * 失败的回调函数
407
426
  * @defaultValue null
408
427
  */
409
428
  fail?: DownloadFileFailCallback | null,
410
429
  /**
411
- * 结束的回调函数(调用成功、失败都会执行)
430
+ * 结束的回调函数(调用成功、失败都会执行)
412
431
  * @defaultValue null
413
432
  */
414
433
  complete?: DownloadFileCompleteCallback | null
@@ -441,7 +460,7 @@ export interface DownloadTask {
441
460
  * "android": {
442
461
  * "osVer": "4.4",
443
462
  * "uniVer": "√",
444
- * "unixVer": "3.9.0"
463
+ * "unixVer": "3.9+"
445
464
  * },
446
465
  * "ios": {
447
466
  * "osVer": "9.0",
@@ -472,7 +491,7 @@ export interface DownloadTask {
472
491
  * "android": {
473
492
  * "osVer": "4.4",
474
493
  * "uniVer": "√",
475
- * "unixVer": "3.9.0"
494
+ * "unixVer": "3.9+"
476
495
  * },
477
496
  * "ios": {
478
497
  * "osVer": "9.0",
@@ -507,12 +526,12 @@ export interface Uni {
507
526
  * "android": {
508
527
  * "osVer": "4.4",
509
528
  * "uniVer": "√",
510
- * "unixVer": "3.9.0"
529
+ * "unixVer": "3.9+"
511
530
  * },
512
531
  * "ios": {
513
532
  * "osVer": "9.0",
514
533
  * "uniVer": "√",
515
- * "unixVer": "3.9.0"
534
+ * "unixVer": "3.9+"
516
535
  * }
517
536
  * }
518
537
  * }
@@ -558,7 +577,7 @@ export interface Uni {
558
577
  * "android": {
559
578
  * "osVer": "4.4",
560
579
  * "uniVer": "√",
561
- * "unixVer": "3.9.0"
580
+ * "unixVer": "3.9+"
562
581
  * },
563
582
  * "ios": {
564
583
  * "osVer": "9.0",
@@ -595,7 +614,7 @@ export interface Uni {
595
614
  * "android": {
596
615
  * "osVer": "4.4",
597
616
  * "uniVer": "√",
598
- * "unixVer": "3.9.0"
617
+ * "unixVer": "3.9+"
599
618
  * },
600
619
  * "ios": {
601
620
  * "osVer": "9.0",
@@ -12,7 +12,7 @@ export interface Uni {
12
12
  * "android": {
13
13
  * "osVer": "4.4",
14
14
  * "uniVer": "√",
15
- * "unixVer": "3.9.0"
15
+ * "unixVer": "3.9+"
16
16
  * },
17
17
  * "ios": {
18
18
  * "osVer": "9.0",
@@ -53,17 +53,17 @@ export type OpenAppAuthorizeSettingComplete = {
53
53
  export type OpenAppAuthorizeSettingCompleteCallback = (result: OpenAppAuthorizeSettingComplete) => void;
54
54
  export type OpenAppAuthorizeSettingOptions = {
55
55
  /**
56
- * 接口调用成功的回调函数
56
+ * 接口调用成功的回调函数
57
57
  * @defaultValue null
58
58
  */
59
59
  success?: OpenAppAuthorizeSettingSuccessCallback | null,
60
60
  /**
61
- * 接口调用失败的回调函数
61
+ * 接口调用失败的回调函数
62
62
  * @defaultValue null
63
63
  */
64
64
  fail?: OpenAppAuthorizeSettingFailCallback | null,
65
65
  /**
66
- * 接口调用结束的回调函数(调用成功、失败都会执行)
66
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
67
67
  * @defaultValue null
68
68
  */
69
69
  complete?: OpenAppAuthorizeSettingCompleteCallback | null
@@ -0,0 +1,55 @@
1
+ import {
2
+ GetPushClientId as GetPushClientIdOrigin,
3
+ GetPushClientIdSuccess as GetPushClientIdSuccessOrigin,
4
+ GetPushClientIdSuccessCallback as GetPushClientIdSuccessCallbackOrigin,
5
+ GetPushClientIdFail as GetPushClientIdFailOrigin,
6
+ GetPushClientIdFailCallback as GetPushClientIdFailCallbackOrigin,
7
+ GetPushClientIdComplete as GetPushClientIdCompleteOrigin,
8
+ GetPushClientIdCompleteCallback as GetPushClientIdCompleteCallbackOrigin,
9
+ GetPushClientIdOptions as GetPushClientIdOptionsOrigin,
10
+ OnPushMessageType as OnPushMessageTypeOrigin,
11
+ OnPushMessageCallbackResult as OnPushMessageCallbackResultOrigin,
12
+ OnPushMessageCallback as OnPushMessageCallbackOrigin,
13
+ OnPushMessage as OnPushMessageOrigin,
14
+ OffPushMessage as OffPushMessageOrigin,
15
+ GetChannelManager as GetChannelManagerOrigin,
16
+ SetPushChannelOptions as SetPushChannelOptionsOrigin,
17
+ ChannelManager as ChannelManagerOrigin,
18
+ CreatePushMessage as CreatePushMessageOrigin,
19
+ CreatePushMessageSuccess as CreatePushMessageSuccessOrigin,
20
+ CreatePushMessageSuccessCallback as CreatePushMessageSuccessCallbackOrigin,
21
+ CreatePushMessageFail as CreatePushMessageFailOrigin,
22
+ CreatePushMessageFailCallback as CreatePushMessageFailCallbackOrigin,
23
+ CreatePushMessageComplete as CreatePushMessageCompleteOrigin,
24
+ CreatePushMessageCompleteCallback as CreatePushMessageCompleteCallbackOrigin,
25
+ CreatePushMessageOptions as CreatePushMessageOptionsOrigin,
26
+ Uni as UniOrigin
27
+ } from './interface'
28
+
29
+ declare global {
30
+ type GetPushClientId = GetPushClientIdOrigin
31
+ type GetPushClientIdSuccess = GetPushClientIdSuccessOrigin
32
+ type GetPushClientIdSuccessCallback = GetPushClientIdSuccessCallbackOrigin
33
+ type GetPushClientIdFail = GetPushClientIdFailOrigin
34
+ type GetPushClientIdFailCallback = GetPushClientIdFailCallbackOrigin
35
+ type GetPushClientIdComplete = GetPushClientIdCompleteOrigin
36
+ type GetPushClientIdCompleteCallback = GetPushClientIdCompleteCallbackOrigin
37
+ type GetPushClientIdOptions = GetPushClientIdOptionsOrigin
38
+ type OnPushMessageType = OnPushMessageTypeOrigin
39
+ type OnPushMessageCallbackResult = OnPushMessageCallbackResultOrigin
40
+ type OnPushMessageCallback = OnPushMessageCallbackOrigin
41
+ type OnPushMessage = OnPushMessageOrigin
42
+ type OffPushMessage = OffPushMessageOrigin
43
+ type GetChannelManager = GetChannelManagerOrigin
44
+ type SetPushChannelOptions = SetPushChannelOptionsOrigin
45
+ type ChannelManager = ChannelManagerOrigin
46
+ type CreatePushMessage = CreatePushMessageOrigin
47
+ type CreatePushMessageSuccess = CreatePushMessageSuccessOrigin
48
+ type CreatePushMessageSuccessCallback = CreatePushMessageSuccessCallbackOrigin
49
+ type CreatePushMessageFail = CreatePushMessageFailOrigin
50
+ type CreatePushMessageFailCallback = CreatePushMessageFailCallbackOrigin
51
+ type CreatePushMessageComplete = CreatePushMessageCompleteOrigin
52
+ type CreatePushMessageCompleteCallback = CreatePushMessageCompleteCallbackOrigin
53
+ type CreatePushMessageOptions = CreatePushMessageOptionsOrigin
54
+ interface Uni extends UniOrigin { }
55
+ }