@ray-js/api 0.6.12-beta-1 → 0.6.12

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.
@@ -1 +1,2 @@
1
- export default function (): undefined;
1
+ declare const offAppEvent: typeof ty.offAppEvent;
2
+ export default offAppEvent;
@@ -1,4 +1,6 @@
1
- export default function () {
2
- console.warn('// TODO 暂未实现方法');
3
- return undefined;
4
- }
1
+ /// <reference path="../../@types/api.d.ts" />
2
+ var offAppEvent = function () {
3
+ console.warn('// TODO 暂未实现方法 offAppEvent');
4
+ };
5
+
6
+ export default offAppEvent;
@@ -1 +1,2 @@
1
- export default function (): undefined;
1
+ declare const offAppHide: typeof ty.offAppHide;
2
+ export default offAppHide;
@@ -1,4 +1,6 @@
1
- export default function () {
2
- console.warn('// TODO 暂未实现方法');
3
- return undefined;
4
- }
1
+ /// <reference path="../../@types/api.d.ts" />
2
+ var offAppHide = function () {
3
+ console.warn('// TODO 暂未实现方法 offAppHide');
4
+ };
5
+
6
+ export default offAppHide;
@@ -1 +1,2 @@
1
- export default function (): undefined;
1
+ declare const offAppShow: typeof ty.offAppShow;
2
+ export default offAppShow;
@@ -1,4 +1,6 @@
1
- export default function () {
2
- console.warn('// TODO 暂未实现方法');
3
- return undefined;
4
- }
1
+ /// <reference path="../../@types/api.d.ts" />
2
+ var offAppShow = function () {
3
+ console.warn('// TODO 暂未实现方法 offAppShow');
4
+ };
5
+
6
+ export default offAppShow;
@@ -1 +1,2 @@
1
- export default function (): undefined;
1
+ declare const offError: typeof ty.offError;
2
+ export default offError;
@@ -1,4 +1,6 @@
1
- export default function () {
2
- console.warn('// TODO 暂未实现方法');
3
- return undefined;
4
- }
1
+ /// <reference path="../../@types/api.d.ts" />
2
+ var offError = function () {
3
+ console.warn('// TODO 暂未实现方法 offError');
4
+ };
5
+
6
+ export default offError;
@@ -1 +1,2 @@
1
- export default function (): undefined;
1
+ declare const offThemeChange: typeof ty.offThemeChange;
2
+ export default offThemeChange;
@@ -1,4 +1,6 @@
1
- export default function () {
2
- console.warn('// TODO 暂未实现方法');
3
- return undefined;
4
- }
1
+ /// <reference path="../../@types/api.d.ts" />
2
+ var offThemeChange = function () {
3
+ console.warn('// TODO 暂未实现方法 offThemeChange');
4
+ };
5
+
6
+ export default offThemeChange;
@@ -1 +1,2 @@
1
- export default function (): undefined;
1
+ declare const offWindowResize: typeof ty.offWindowResize;
2
+ export default offWindowResize;
@@ -1,4 +1,6 @@
1
- export default function () {
2
- console.warn('// TODO 暂未实现方法');
3
- return undefined;
4
- }
1
+ /// <reference path="../../@types/api.d.ts" />
2
+ var offWindowResize = function () {
3
+ console.warn('// TODO 暂未实现方法 offWindowResize');
4
+ };
5
+
6
+ export default offWindowResize;
@@ -1 +1,2 @@
1
- export default function (): undefined;
1
+ declare const onAppEvent: typeof ty.onAppEvent;
2
+ export default onAppEvent;
@@ -1,4 +1,6 @@
1
- export default function () {
2
- console.warn('// TODO 暂未实现方法');
3
- return undefined;
4
- }
1
+ /// <reference path="../../@types/api.d.ts" />
2
+ var onAppEvent = function () {
3
+ console.warn('// TODO 暂未实现方法 onAppEvent');
4
+ };
5
+
6
+ export default onAppEvent;
@@ -1 +1,2 @@
1
- export default function (): undefined;
1
+ declare const onAppHide: typeof ty.onAppHide;
2
+ export default onAppHide;
@@ -1,4 +1,6 @@
1
- export default function () {
2
- console.warn('// TODO 暂未实现方法');
3
- return undefined;
4
- }
1
+ /// <reference path="../../@types/api.d.ts" />
2
+ var onAppHide = function () {
3
+ console.warn('// TODO 暂未实现方法 onAppHide');
4
+ };
5
+
6
+ export default onAppHide;
@@ -1 +1,2 @@
1
- export default function (): undefined;
1
+ declare const onAppShow: typeof ty.onAppShow;
2
+ export default onAppShow;
@@ -1,4 +1,6 @@
1
- export default function () {
2
- console.warn('// TODO 暂未实现方法');
3
- return undefined;
4
- }
1
+ /// <reference path="../../@types/api.d.ts" />
2
+ var onAppShow = function () {
3
+ console.warn('// TODO 暂未实现方法 onAppShow');
4
+ };
5
+
6
+ export default onAppShow;
@@ -1 +1,2 @@
1
- export default function (): undefined;
1
+ declare const onError: typeof ty.onError;
2
+ export default onError;
@@ -1,4 +1,6 @@
1
- export default function () {
2
- console.warn('// TODO 暂未实现方法');
3
- return undefined;
4
- }
1
+ /// <reference path="../../@types/api.d.ts" />
2
+ var onError = function () {
3
+ console.warn('// TODO 暂未实现方法 onError');
4
+ };
5
+
6
+ export default onError;
@@ -1 +1,2 @@
1
- export default function (): undefined;
1
+ declare const onPageNotFound: typeof ty.onPageNotFound;
2
+ export default onPageNotFound;
@@ -1,4 +1,6 @@
1
- export default function () {
2
- console.warn('// TODO 暂未实现方法');
3
- return undefined;
4
- }
1
+ /// <reference path="../../@types/api.d.ts" />
2
+ var onPageNotFound = function () {
3
+ console.warn('// TODO 暂未实现方法 onPageNotFound');
4
+ };
5
+
6
+ export default onPageNotFound;
@@ -1 +1,2 @@
1
- export default function (): undefined;
1
+ declare const onThemeChange: typeof ty.onThemeChange;
2
+ export default onThemeChange;
@@ -1,4 +1,6 @@
1
- export default function () {
2
- console.warn('// TODO 暂未实现方法');
3
- return undefined;
4
- }
1
+ /// <reference path="../../@types/api.d.ts" />
2
+ var onThemeChange = function () {
3
+ console.warn('// TODO 暂未实现方法 onThemeChange');
4
+ };
5
+
6
+ export default onThemeChange;
@@ -1 +1,2 @@
1
- export default function (): undefined;
1
+ declare const onWindowResize: typeof ty.onWindowResize;
2
+ export default onWindowResize;
@@ -1,4 +1,6 @@
1
- export default function () {
1
+ /// <reference path="../../@types/api.d.ts" />
2
+ var onWindowResize = function () {
2
3
  console.warn('// TODO 暂未实现方法 onWindowResize');
3
- return undefined;
4
- }
4
+ };
5
+
6
+ export default onWindowResize;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/api",
3
- "version": "0.6.12-beta-1",
3
+ "version": "0.6.12",
4
4
  "description": "Ray universal api",
5
5
  "keywords": [
6
6
  "ray"
@@ -26,11 +26,11 @@
26
26
  "build:kit:api": "node scripts/api-creator.mjs"
27
27
  },
28
28
  "dependencies": {
29
- "@ray-js/framework": "^0.6.12-beta-1",
30
- "@ray-js/router": "^0.6.12-beta-1"
29
+ "@ray-js/framework": "^0.6.12",
30
+ "@ray-js/router": "^0.6.12"
31
31
  },
32
32
  "devDependencies": {
33
- "@ray-js/cli": "^0.6.12-beta-1",
33
+ "@ray-js/cli": "^0.6.12",
34
34
  "art-template": "^4.13.2",
35
35
  "fs-extra": "^10.1.0",
36
36
  "miniprogram-api-typings": "^3.4.3",
@@ -42,6 +42,6 @@
42
42
  "email": "tuyafe@tuya.com"
43
43
  }
44
44
  ],
45
- "gitHead": "4d93f6125fc67e01696b89fec23bde9835da4139",
45
+ "gitHead": "61ac8ebd640954be634205804cf3735dbb38c021",
46
46
  "repository": {}
47
47
  }