@ray-js/api 1.8.0-beta.1 → 1.8.0-beta.11

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 (69) hide show
  1. package/@types/IPCKit.d.ts +15 -39
  2. package/@types/WearKit.d.ts +607 -0
  3. package/@types/all-kits.d.ts +1 -0
  4. package/@types/api-cloud.d.ts +48 -44
  5. package/@types/api-extend.d.ts +1 -0
  6. package/lib/{AIKit-1.0.0.d.ts → AIKit-1.2.0.d.ts} +2 -0
  7. package/lib/{AIKit-1.0.0.js → AIKit-1.2.0.js} +3 -0
  8. package/lib/BaseKit-3.17.7.d.ts +1 -0
  9. package/lib/BizKit-4.10.4.d.ts +1 -0
  10. package/lib/DeviceKit-4.13.1.d.ts +1 -0
  11. package/lib/HealthKit-6.5.0.d.ts +1 -0
  12. package/lib/HomeKit-3.1.4.d.ts +1 -0
  13. package/lib/{IPCKit-6.2.3.d.ts → IPCKit-6.4.5.d.ts} +4 -0
  14. package/lib/{IPCKit-6.2.3.js → IPCKit-6.4.5.js} +9 -0
  15. package/lib/MapKit-3.4.13.d.ts +1 -0
  16. package/lib/MediaKit-3.4.1.d.ts +1 -0
  17. package/lib/MiniKit-3.14.1.d.ts +1 -0
  18. package/lib/OutdoorKit-1.0.4.d.ts +1 -0
  19. package/lib/P2PKit-2.0.3.d.ts +1 -0
  20. package/lib/PlayNetKit-1.3.30.d.ts +1 -0
  21. package/lib/WearKit-1.1.6.d.ts +28 -0
  22. package/lib/WearKit-1.1.6.js +81 -0
  23. package/lib/all-kits.d.ts +3 -2
  24. package/lib/all-kits.js +3 -2
  25. package/lib/cloud/deviceFile.d.ts +40 -0
  26. package/lib/cloud/deviceFile.js +99 -0
  27. package/lib/cloud/doorlock/offline-pwd.d.ts +1 -1
  28. package/lib/cloud/electrician/index.d.ts +1 -0
  29. package/lib/cloud/electrician/index.js +2 -0
  30. package/lib/cloud/electrician/tariffService.d.ts +35 -0
  31. package/lib/cloud/electrician/tariffService.js +34 -0
  32. package/lib/cloud/energy.d.ts +1 -0
  33. package/lib/cloud/gateway.d.ts +1 -0
  34. package/lib/cloud/highlights.d.ts +152 -0
  35. package/lib/cloud/highlights.js +304 -0
  36. package/lib/cloud/index.d.ts +3 -0
  37. package/lib/cloud/index.js +4 -0
  38. package/lib/cloud/interface.d.ts +575 -0
  39. package/lib/cloud/interface.js +47 -1
  40. package/lib/cloud/laser-clean/index.d.ts +1 -1
  41. package/lib/cloud/laser-clean/map.d.ts +1 -0
  42. package/lib/cloud/laser-clean/record.d.ts +1 -0
  43. package/lib/cloud/laser-clean/voice.d.ts +1 -0
  44. package/lib/hideTabBar/index.d.ts +1 -0
  45. package/lib/index.d.ts +1 -0
  46. package/lib/lifecycles/offAppEvent/index.d.ts +1 -0
  47. package/lib/lifecycles/offAppHide/index.d.ts +1 -0
  48. package/lib/lifecycles/offAppShow/index.d.ts +1 -0
  49. package/lib/lifecycles/offError/index.d.ts +1 -0
  50. package/lib/lifecycles/offThemeChange/index.d.ts +1 -0
  51. package/lib/lifecycles/offWindowResize/index.d.ts +1 -0
  52. package/lib/lifecycles/onAppEvent/index.d.ts +1 -0
  53. package/lib/lifecycles/onAppHide/index.d.ts +1 -0
  54. package/lib/lifecycles/onAppShow/index.d.ts +1 -0
  55. package/lib/lifecycles/onError/index.d.ts +1 -0
  56. package/lib/lifecycles/onPageNotFound/index.d.ts +1 -0
  57. package/lib/lifecycles/onThemeChange/index.d.ts +1 -0
  58. package/lib/lifecycles/onWindowResize/index.d.ts +1 -0
  59. package/lib/navigateBack/index.d.ts +1 -0
  60. package/lib/navigateTo/index.d.ts +1 -0
  61. package/lib/reLaunch/index.d.ts +1 -0
  62. package/lib/redirectTo/index.d.ts +1 -0
  63. package/lib/requestCloud/index.d.ts +1 -0
  64. package/lib/setNavigationBarColor/index.d.ts +1 -0
  65. package/lib/setNavigationBarTitle/index.d.ts +1 -0
  66. package/lib/showTabBar/index.d.ts +1 -0
  67. package/lib/switchTab/index.d.ts +1 -0
  68. package/lib/viewAPI.d.ts +1 -0
  69. package/package.json +6 -6
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const onAppShow: typeof ty.onAppShow;
2
3
  export default onAppShow;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const onError: typeof ty.onError;
2
3
  export default onError;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const onPageNotFound: typeof ty.onPageNotFound;
2
3
  export default onPageNotFound;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const onThemeChange: typeof ty.onThemeChange;
2
3
  export default onThemeChange;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const onWindowResize: typeof ty.onWindowResize;
2
3
  export default onWindowResize;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const _default: typeof ty.navigateBack;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const navigateTo: typeof ty.navigateTo;
2
3
  export default navigateTo;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const reLaunch: typeof ty.reLaunch;
2
3
  export default reLaunch;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const redirectTo: typeof ty.redirectTo;
2
3
  export default redirectTo;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const requestCloud: typeof ty.requestCloud;
2
3
  export default requestCloud;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const _default: typeof ty.setNavigationBarColor;
2
3
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const _default: typeof ty.setNavigationBarTitle;
2
3
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const _default: (arg?: {
2
3
  animation?: boolean;
3
4
  } & {
@@ -1,2 +1,3 @@
1
+ /// <reference path="../../@types/api.d.ts" />
1
2
  declare const _default: typeof ty.switchTab;
2
3
  export default _default;
package/lib/viewAPI.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ /// <reference path="../@types/api.d.ts" />
1
2
  export declare const env: ty.env;
2
3
  export declare const createAnimation: typeof ty.createAnimation;
3
4
  export declare const pageScrollTo: typeof ty.pageScrollTo;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/api",
3
- "version": "1.8.0-beta.1",
3
+ "version": "1.8.0-beta.11",
4
4
  "description": "Ray universal api",
5
5
  "keywords": [
6
6
  "ray"
@@ -29,14 +29,14 @@
29
29
  "watch": "ray start --type=component"
30
30
  },
31
31
  "dependencies": {
32
- "@ray-js/framework": "1.8.0-beta.1",
33
- "@ray-js/router": "1.8.0-beta.1",
34
- "@ray-js/wechat": "^0.3.8",
32
+ "@ray-js/framework": "1.8.0-beta.11",
33
+ "@ray-js/router": "1.8.0-beta.11",
34
+ "@ray-js/wechat": "^0.3.13",
35
35
  "base64-browser": "^1.0.1",
36
36
  "query-string": "^7.1.3"
37
37
  },
38
38
  "devDependencies": {
39
- "@ray-js/cli": "1.8.0-beta.1",
39
+ "@ray-js/cli": "1.8.0-beta.11",
40
40
  "art-template": "^4.13.4",
41
41
  "fs-extra": "^10.1.0",
42
42
  "miniprogram-api-typings": "^3.12.3",
@@ -46,5 +46,5 @@
46
46
  "access": "public",
47
47
  "registry": "https://registry.npmjs.com"
48
48
  },
49
- "gitHead": "43b46c55511f6d36aae7a9145ac7b2400c764f02"
49
+ "gitHead": "e775a9788cbce1e52760c507a26f90d4137192a9"
50
50
  }