@ray-js/api 1.5.38 → 1.5.39

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,10 +1,11 @@
1
- declare const sendCmdForRefreshDeviceLQI: typeof ty.gateway.sendCmdForRefreshDeviceLQI;
2
- declare const getLastDeviceLQI: typeof ty.gateway.getLastDeviceLQI;
3
- declare const getSeniorAbility: typeof ty.gateway.getSeniorAbility;
4
- declare const getGatewaySubDevLimit: typeof ty.gateway.getGatewaySubDevLimit;
5
- declare const updateRelationMesh: typeof ty.gateway.updateRelationMesh;
6
- declare const updateRelationBlue: typeof ty.gateway.updateRelationBlue;
7
- declare const updateRelationBeacon: typeof ty.gateway.updateRelationBeacon;
8
- declare const getGatewayAbility: typeof ty.gateway.getGatewayAbility;
9
- declare const getSecurityDeviceLog: typeof ty.gateway.getSecurityDeviceLog;
10
- export { sendCmdForRefreshDeviceLQI, getLastDeviceLQI, getSeniorAbility, getGatewaySubDevLimit, updateRelationMesh, updateRelationBlue, updateRelationBeacon, getGatewayAbility, getSecurityDeviceLog, };
1
+ export declare const gateway: {
2
+ sendCmdForRefreshDeviceLQI: typeof ty.gateway.sendCmdForRefreshDeviceLQI;
3
+ getLastDeviceLQI: typeof ty.gateway.getLastDeviceLQI;
4
+ getSeniorAbility: typeof ty.gateway.getSeniorAbility;
5
+ getGatewaySubDevLimit: typeof ty.gateway.getGatewaySubDevLimit;
6
+ updateRelationMesh: typeof ty.gateway.updateRelationMesh;
7
+ updateRelationBlue: typeof ty.gateway.updateRelationBlue;
8
+ updateRelationBeacon: typeof ty.gateway.updateRelationBeacon;
9
+ getGatewayAbility: typeof ty.gateway.getGatewayAbility;
10
+ getSecurityDeviceLog: typeof ty.gateway.getSecurityDeviceLog;
11
+ };
@@ -26,4 +26,14 @@ const getGatewayAbility = factory('getGatewayAbility', {
26
26
  const getSecurityDeviceLog = factory('getSecurityDeviceLog', {
27
27
  namespace: 'gateway'
28
28
  });
29
- export { sendCmdForRefreshDeviceLQI, getLastDeviceLQI, getSeniorAbility, getGatewaySubDevLimit, updateRelationMesh, updateRelationBlue, updateRelationBeacon, getGatewayAbility, getSecurityDeviceLog };
29
+ export const gateway = {
30
+ sendCmdForRefreshDeviceLQI,
31
+ getLastDeviceLQI,
32
+ getSeniorAbility,
33
+ getGatewaySubDevLimit,
34
+ updateRelationMesh,
35
+ updateRelationBlue,
36
+ updateRelationBeacon,
37
+ getGatewayAbility,
38
+ getSecurityDeviceLog
39
+ };
@@ -1,18 +1,19 @@
1
- declare const addPanelUser: typeof ty.health.addPanelUser;
2
- declare const updatePanelUser: typeof ty.health.updatePanelUser;
3
- declare const deletePanelUser: typeof ty.health.deletePanelUser;
4
- declare const getPanelUserList: typeof ty.health.getPanelUserList;
5
- declare const getDefaultAvatarList: typeof ty.health.getDefaultAvatarList;
6
- declare const reportPanelBpgData: typeof ty.health.reportPanelBpgData;
7
- declare const reportSingleBpgData: typeof ty.health.reportSingleBpgData;
8
- declare const updateBpgDataRemark: typeof ty.health.updateBpgDataRemark;
9
- declare const deleteBpgData: typeof ty.health.deleteBpgData;
10
- declare const getBpgDataHistory: typeof ty.health.getBpgDataHistory;
11
- declare const getBpgDataTrendLatest: typeof ty.health.getBpgDataTrendLatest;
12
- declare const getBpgDataLevnum: typeof ty.health.getBpgDataLevnum;
13
- declare const getBpgDataTrend: typeof ty.health.getBpgDataTrend;
14
- declare const getBpgDataDays: typeof ty.health.getBpgDataDays;
15
- declare const getBpgDataUnallocated: typeof ty.health.getBpgDataUnallocated;
16
- declare const updateBpgDataUnallocated: typeof ty.health.updateBpgDataUnallocated;
17
- declare const deleteBpgDataUnallocated: typeof ty.health.deleteBpgDataUnallocated;
18
- export { addPanelUser, updatePanelUser, deletePanelUser, getPanelUserList, getDefaultAvatarList, reportPanelBpgData, reportSingleBpgData, updateBpgDataRemark, deleteBpgData, getBpgDataHistory, getBpgDataTrendLatest, getBpgDataLevnum, getBpgDataTrend, getBpgDataDays, getBpgDataUnallocated, updateBpgDataUnallocated, deleteBpgDataUnallocated, };
1
+ export declare const health: {
2
+ addPanelUser: typeof ty.health.addPanelUser;
3
+ updatePanelUser: typeof ty.health.updatePanelUser;
4
+ deletePanelUser: typeof ty.health.deletePanelUser;
5
+ getPanelUserList: typeof ty.health.getPanelUserList;
6
+ getDefaultAvatarList: typeof ty.health.getDefaultAvatarList;
7
+ reportPanelBpgData: typeof ty.health.reportPanelBpgData;
8
+ reportSingleBpgData: typeof ty.health.reportSingleBpgData;
9
+ updateBpgDataRemark: typeof ty.health.updateBpgDataRemark;
10
+ deleteBpgData: typeof ty.health.deleteBpgData;
11
+ getBpgDataHistory: typeof ty.health.getBpgDataHistory;
12
+ getBpgDataTrendLatest: typeof ty.health.getBpgDataTrendLatest;
13
+ getBpgDataLevnum: typeof ty.health.getBpgDataLevnum;
14
+ getBpgDataTrend: typeof ty.health.getBpgDataTrend;
15
+ getBpgDataDays: typeof ty.health.getBpgDataDays;
16
+ getBpgDataUnallocated: typeof ty.health.getBpgDataUnallocated;
17
+ updateBpgDataUnallocated: typeof ty.health.updateBpgDataUnallocated;
18
+ deleteBpgDataUnallocated: typeof ty.health.deleteBpgDataUnallocated;
19
+ };
@@ -50,4 +50,22 @@ const updateBpgDataUnallocated = factory('updateBpgDataUnallocated', {
50
50
  const deleteBpgDataUnallocated = factory('deleteBpgDataUnallocated', {
51
51
  namespace: 'health'
52
52
  });
53
- export { addPanelUser, updatePanelUser, deletePanelUser, getPanelUserList, getDefaultAvatarList, reportPanelBpgData, reportSingleBpgData, updateBpgDataRemark, deleteBpgData, getBpgDataHistory, getBpgDataTrendLatest, getBpgDataLevnum, getBpgDataTrend, getBpgDataDays, getBpgDataUnallocated, updateBpgDataUnallocated, deleteBpgDataUnallocated };
53
+ export const health = {
54
+ addPanelUser,
55
+ updatePanelUser,
56
+ deletePanelUser,
57
+ getPanelUserList,
58
+ getDefaultAvatarList,
59
+ reportPanelBpgData,
60
+ reportSingleBpgData,
61
+ updateBpgDataRemark,
62
+ deleteBpgData,
63
+ getBpgDataHistory,
64
+ getBpgDataTrendLatest,
65
+ getBpgDataLevnum,
66
+ getBpgDataTrend,
67
+ getBpgDataDays,
68
+ getBpgDataUnallocated,
69
+ updateBpgDataUnallocated,
70
+ deleteBpgDataUnallocated
71
+ };
@@ -9,5 +9,5 @@ export * from './outdoor';
9
9
  export * from './doorlock';
10
10
  export * from './recipe';
11
11
  export * from './laser-clean';
12
- export * as health from './health';
13
- export * as gateway from './gateway';
12
+ export * from './health';
13
+ export * from './gateway';
@@ -16,5 +16,5 @@ export * from './recipe';
16
16
 
17
17
  // 激光清洁
18
18
  export * from './laser-clean';
19
- export { _health as health };
20
- export { _gateway as gateway };
19
+ export * from './health';
20
+ export * from './gateway';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/api",
3
- "version": "1.5.38",
3
+ "version": "1.5.39",
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.5.38",
33
- "@ray-js/router": "1.5.38",
32
+ "@ray-js/framework": "1.5.39",
33
+ "@ray-js/router": "1.5.39",
34
34
  "@ray-js/wechat": "^0.2.9",
35
35
  "base64-browser": "^1.0.1",
36
36
  "query-string": "^7.1.3"
37
37
  },
38
38
  "devDependencies": {
39
- "@ray-js/cli": "1.5.38",
39
+ "@ray-js/cli": "1.5.39",
40
40
  "art-template": "^4.13.2",
41
41
  "fs-extra": "^10.1.0",
42
42
  "miniprogram-api-typings": "^3.12.2",
@@ -46,5 +46,5 @@
46
46
  "access": "public",
47
47
  "registry": "https://registry.npmjs.com"
48
48
  },
49
- "gitHead": "e0ac604ffd0c1758c74a05f3fb09d1cc5a8c9a05"
49
+ "gitHead": "a35a033e7eb2abc038c99afedb2e1bde6c5d93b8"
50
50
  }