@ray-js/api 1.7.9 → 1.7.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.
- package/@types/api-cloud.d.ts +12 -24
- package/lib/AIKit-1.2.0.d.ts +1 -0
- package/lib/BaseKit-3.17.7.d.ts +1 -0
- package/lib/BizKit-4.10.4.d.ts +1 -0
- package/lib/DeviceKit-4.13.1.d.ts +1 -0
- package/lib/HealthKit-6.5.0.d.ts +1 -0
- package/lib/HomeKit-3.1.4.d.ts +1 -0
- package/lib/IPCKit-6.4.5.d.ts +1 -0
- package/lib/MapKit-3.4.13.d.ts +1 -0
- package/lib/MediaKit-3.4.1.d.ts +1 -0
- package/lib/MiniKit-3.14.1.d.ts +1 -0
- package/lib/OutdoorKit-1.0.4.d.ts +1 -0
- package/lib/P2PKit-2.0.3.d.ts +1 -0
- package/lib/PlayNetKit-1.3.30.d.ts +1 -0
- package/lib/cloud/doorlock/offline-pwd.d.ts +1 -1
- package/lib/cloud/energy.d.ts +1 -0
- package/lib/cloud/gateway.d.ts +1 -0
- package/lib/cloud/laser-clean/index.d.ts +1 -1
- package/lib/cloud/laser-clean/map.d.ts +1 -0
- package/lib/cloud/laser-clean/record.d.ts +1 -0
- package/lib/cloud/laser-clean/voice.d.ts +1 -0
- package/lib/hideTabBar/index.d.ts +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/lifecycles/offAppEvent/index.d.ts +1 -0
- package/lib/lifecycles/offAppHide/index.d.ts +1 -0
- package/lib/lifecycles/offAppShow/index.d.ts +1 -0
- package/lib/lifecycles/offError/index.d.ts +1 -0
- package/lib/lifecycles/offThemeChange/index.d.ts +1 -0
- package/lib/lifecycles/offWindowResize/index.d.ts +1 -0
- package/lib/lifecycles/onAppEvent/index.d.ts +1 -0
- package/lib/lifecycles/onAppHide/index.d.ts +1 -0
- package/lib/lifecycles/onAppShow/index.d.ts +1 -0
- package/lib/lifecycles/onError/index.d.ts +1 -0
- package/lib/lifecycles/onPageNotFound/index.d.ts +1 -0
- package/lib/lifecycles/onThemeChange/index.d.ts +1 -0
- package/lib/lifecycles/onWindowResize/index.d.ts +1 -0
- package/lib/navigateBack/index.d.ts +1 -0
- package/lib/navigateTo/index.d.ts +1 -0
- package/lib/reLaunch/index.d.ts +1 -0
- package/lib/redirectTo/index.d.ts +1 -0
- package/lib/requestCloud/index.d.ts +1 -0
- package/lib/setNavigationBarColor/index.d.ts +1 -0
- package/lib/setNavigationBarTitle/index.d.ts +1 -0
- package/lib/showTabBar/index.d.ts +1 -0
- package/lib/switchTab/index.d.ts +1 -0
- package/lib/viewAPI.d.ts +1 -0
- package/package.json +5 -5
package/@types/api-cloud.d.ts
CHANGED
@@ -12,9 +12,7 @@ declare namespace ty {
|
|
12
12
|
* 删除历史地图
|
13
13
|
* @returns 删除历史地图结果的 Promise
|
14
14
|
*/
|
15
|
-
function deleteMultipleMapFiles(
|
16
|
-
params: DeleteMultipleMapFilesParams
|
17
|
-
): Promise<DeleteMultipleMapFilesResponse>;
|
15
|
+
export function deleteMultipleMapFiles(params: DeleteMultipleMapFilesParams): Promise<DeleteMultipleMapFilesResponse>;
|
18
16
|
|
19
17
|
// #region 获取云存储配置
|
20
18
|
type GetSweeperStorageConfigParams = {
|
@@ -48,8 +46,8 @@ declare namespace ty {
|
|
48
46
|
* 获取云存储配置
|
49
47
|
* @returns 获取云存储配置结果的 Promise
|
50
48
|
*/
|
51
|
-
function getSweeperStorageConfig(
|
52
|
-
params: GetSweeperStorageConfigParams
|
49
|
+
export function getSweeperStorageConfig(
|
50
|
+
params: GetSweeperStorageConfigParams,
|
53
51
|
): Promise<GetSweeperStorageConfigResponse>;
|
54
52
|
|
55
53
|
// #region 获取扫地机的历史地图
|
@@ -75,9 +73,7 @@ declare namespace ty {
|
|
75
73
|
* 获取扫地机的历史地图
|
76
74
|
* @returns 获取扫地机的历史地图结果的 Promise
|
77
75
|
*/
|
78
|
-
export function getMultipleMapFiles(
|
79
|
-
params: GetMultipleMapFilesParams
|
80
|
-
): Promise<GetMultipleMapFilesResponse>;
|
76
|
+
export function getMultipleMapFiles(params: GetMultipleMapFilesParams): Promise<GetMultipleMapFilesResponse>;
|
81
77
|
|
82
78
|
// #region 获取清扫记录列表
|
83
79
|
type GetCleaningRecordsParams = {
|
@@ -102,9 +98,7 @@ declare namespace ty {
|
|
102
98
|
totalCount: number; // 清扫记录总长度
|
103
99
|
};
|
104
100
|
|
105
|
-
export function getCleaningRecords(
|
106
|
-
params: GetCleaningRecordsParams
|
107
|
-
): Promise<GetCleaningRecordsResponse>;
|
101
|
+
export function getCleaningRecords(params: GetCleaningRecordsParams): Promise<GetCleaningRecordsResponse>;
|
108
102
|
|
109
103
|
// #region 删除清扫记录
|
110
104
|
type DeleteCleaningRecordParams = {
|
@@ -118,9 +112,7 @@ declare namespace ty {
|
|
118
112
|
* 删除清扫记录
|
119
113
|
* @returns 删除清扫记录结果的 Promise
|
120
114
|
*/
|
121
|
-
function deleteCleaningRecord(
|
122
|
-
params: DeleteCleaningRecordParams
|
123
|
-
): Promise<DeleteCleaningRecordResponse>;
|
115
|
+
export function deleteCleaningRecord(params: DeleteCleaningRecordParams): Promise<DeleteCleaningRecordResponse>;
|
124
116
|
|
125
117
|
// #region 获取扫地机的语音包列表
|
126
118
|
type GetVoiceListParams = {
|
@@ -157,7 +149,7 @@ declare namespace ty {
|
|
157
149
|
* 获取扫地机的语音包列表
|
158
150
|
* @returns 获取扫地机的语音包列表结果的 Promise
|
159
151
|
*/
|
160
|
-
function getVoiceList(params: GetVoiceListParams): Promise<GetVoiceListResponse>;
|
152
|
+
export function getVoiceList(params: GetVoiceListParams): Promise<GetVoiceListResponse>;
|
161
153
|
|
162
154
|
// #region 获取陀螺仪扫地机的清扫记录
|
163
155
|
type GetGyroCleanRecordsParams = {
|
@@ -179,9 +171,7 @@ declare namespace ty {
|
|
179
171
|
* 获取陀螺仪扫地机的清扫记录
|
180
172
|
* @returns 获取陀螺仪扫地机的清扫记录结果的 Promise
|
181
173
|
*/
|
182
|
-
function getGyroCleanRecords(
|
183
|
-
params: GetGyroCleanRecordsParams
|
184
|
-
): Promise<GetGyroCleanRecordsResponse>;
|
174
|
+
export function getGyroCleanRecords(params: GetGyroCleanRecordsParams): Promise<GetGyroCleanRecordsResponse>;
|
185
175
|
|
186
176
|
// #endregion
|
187
177
|
|
@@ -207,8 +197,8 @@ declare namespace ty {
|
|
207
197
|
* 获取陀螺仪扫地机的清扫记录详情
|
208
198
|
* @returns 获取陀螺仪扫地机的清扫记录详情结果的 Promise
|
209
199
|
*/
|
210
|
-
function getGyroCleanRecordDetail(
|
211
|
-
params: GetGyroCleanRecordDetailParams
|
200
|
+
export function getGyroCleanRecordDetail(
|
201
|
+
params: GetGyroCleanRecordDetailParams,
|
212
202
|
): Promise<GetGyroCleanRecordDetailResponse>;
|
213
203
|
|
214
204
|
// #region 获取扫地机的历史地图
|
@@ -233,9 +223,7 @@ declare namespace ty {
|
|
233
223
|
* 获取陀螺仪扫地机的最新清扫地图
|
234
224
|
* @returns 获取陀螺仪扫地机的最新清扫地图结果的 Promise
|
235
225
|
*/
|
236
|
-
function getGyroLatestCleanMap(
|
237
|
-
params: GetGyroLatestCleanMapParams
|
238
|
-
): Promise<GetGyroLatestCleanMapResponse>;
|
226
|
+
export function getGyroLatestCleanMap(params: GetGyroLatestCleanMapParams): Promise<GetGyroLatestCleanMapResponse>;
|
239
227
|
|
240
228
|
// #endregion
|
241
229
|
|
@@ -252,7 +240,7 @@ declare namespace ty {
|
|
252
240
|
* 修改扫地机历史地图名称
|
253
241
|
* @returns 修改扫地机历史地图名称结果的 Promise
|
254
242
|
*/
|
255
|
-
function renameHistoryMap(params: RenameHistoryMapParams): Promise<RenameHistoryMapResponse>;
|
243
|
+
export function renameHistoryMap(params: RenameHistoryMapParams): Promise<RenameHistoryMapResponse>;
|
256
244
|
|
257
245
|
// #endregion
|
258
246
|
}
|
package/lib/AIKit-1.2.0.d.ts
CHANGED
package/lib/BaseKit-3.17.7.d.ts
CHANGED
package/lib/BizKit-4.10.4.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference path="../@types/DeviceKit.d.ts" />
|
1
2
|
export declare const unregisterLeaveBeaconFenceEvent: typeof ty.device.unregisterLeaveBeaconFenceEvent;
|
2
3
|
export declare const registerLeaveBeaconFenceEvent: typeof ty.device.registerLeaveBeaconFenceEvent;
|
3
4
|
export declare const writeBeaconFenceConfig: typeof ty.device.writeBeaconFenceConfig;
|
package/lib/HealthKit-6.5.0.d.ts
CHANGED
package/lib/HomeKit-3.1.4.d.ts
CHANGED
package/lib/IPCKit-6.4.5.d.ts
CHANGED
package/lib/MapKit-3.4.13.d.ts
CHANGED
package/lib/MediaKit-3.4.1.d.ts
CHANGED
package/lib/MiniKit-3.14.1.d.ts
CHANGED
package/lib/P2PKit-2.0.3.d.ts
CHANGED
@@ -58,4 +58,4 @@ type RevocablePwdResult = RevocablePwdResultEntry[];
|
|
58
58
|
* @returns {Promise<RevocablePwdResult>} - 响应结果的 Promise
|
59
59
|
*/
|
60
60
|
declare const getRevocableOfflinePasswords: (params: RevocablePwdParams) => Promise<RevocablePwdResult>;
|
61
|
-
export { getOfflinePassword, revokeOfflinePassword, updateOfflinePasswordName, getRevocableOfflinePasswords
|
61
|
+
export { getOfflinePassword, revokeOfflinePassword, updateOfflinePasswordName, getRevocableOfflinePasswords };
|
package/lib/cloud/energy.d.ts
CHANGED
package/lib/cloud/gateway.d.ts
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
export { getCleaningRecords, deleteCleaningRecord, getGyroCleanRecords, getGyroCleanRecordDetail
|
1
|
+
export { getCleaningRecords, deleteCleaningRecord, getGyroCleanRecords, getGyroCleanRecordDetail } from './record';
|
2
2
|
export { getVoiceList } from './voice';
|
3
3
|
export { getMultipleMapFiles, getSweeperStorageConfig, deleteMultipleMapFiles, getGyroLatestCleanMap, renameHistoryMap, } from './map';
|
package/lib/index.d.ts
CHANGED
package/lib/reLaunch/index.d.ts
CHANGED
package/lib/switchTab/index.d.ts
CHANGED
package/lib/viewAPI.d.ts
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ray-js/api",
|
3
|
-
"version": "1.7.
|
3
|
+
"version": "1.7.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.7.
|
33
|
-
"@ray-js/router": "1.7.
|
32
|
+
"@ray-js/framework": "1.7.11",
|
33
|
+
"@ray-js/router": "1.7.11",
|
34
34
|
"@ray-js/wechat": "^0.3.8",
|
35
35
|
"base64-browser": "^1.0.1",
|
36
36
|
"query-string": "^7.1.3"
|
37
37
|
},
|
38
38
|
"devDependencies": {
|
39
|
-
"@ray-js/cli": "1.7.
|
39
|
+
"@ray-js/cli": "1.7.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": "
|
49
|
+
"gitHead": "cc1011f0c0f92cd5929ab2c80c555d46cb2fc6d1"
|
50
50
|
}
|