@ray-js/api 1.5.16 → 1.5.18
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/lib/cloud/interface.d.ts
CHANGED
@@ -1209,7 +1209,16 @@ export type IGetBindRuleListResponse = Array<{
|
|
1209
1209
|
/**
|
1210
1210
|
* 关联实体的值列表
|
1211
1211
|
*/
|
1212
|
-
associativeEntityValueList: IGetSceneListResponseV2
|
1212
|
+
associativeEntityValueList: Array<IGetSceneListResponseV2[number] & {
|
1213
|
+
/**
|
1214
|
+
* 无线开关规则是否启用
|
1215
|
+
*/
|
1216
|
+
triggerRuleEnable: boolean;
|
1217
|
+
/**
|
1218
|
+
* 无线开关执行规则 id
|
1219
|
+
*/
|
1220
|
+
triggerRuleId: string;
|
1221
|
+
}>;
|
1213
1222
|
/**
|
1214
1223
|
* 绑定 id,一般用来解绑
|
1215
1224
|
*/
|
@@ -4,7 +4,7 @@ type OpenSceneCreateParams = {
|
|
4
4
|
} & ICommon;
|
5
5
|
export declare function openSceneCreate(params?: OpenSceneCreateParams): Promise<void>;
|
6
6
|
export declare const openCreateScene: typeof openSceneCreate;
|
7
|
-
export declare function
|
7
|
+
export declare function openCreateTapToRunScene(params?: ICommon): Promise<void>;
|
8
8
|
export declare function openUniversalCreateScene(params?: OpenSceneCreateParams): Promise<void>;
|
9
9
|
type OpenSceneEdit = {
|
10
10
|
devId?: string;
|
@@ -6,7 +6,7 @@ export function openSceneCreate(params) {
|
|
6
6
|
export const openCreateScene = openSceneCreate;
|
7
7
|
|
8
8
|
// App 基线 5.13.0 以上开始支持
|
9
|
-
export function
|
9
|
+
export function openCreateTapToRunScene(params) {
|
10
10
|
const p = _objectSpread({
|
11
11
|
biz_type: 'click_execution'
|
12
12
|
}, params);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ray-js/api",
|
3
|
-
"version": "1.5.
|
3
|
+
"version": "1.5.18",
|
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.
|
33
|
-
"@ray-js/router": "1.5.
|
32
|
+
"@ray-js/framework": "1.5.18",
|
33
|
+
"@ray-js/router": "1.5.18",
|
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.
|
39
|
+
"@ray-js/cli": "1.5.18",
|
40
40
|
"art-template": "^4.13.2",
|
41
41
|
"fs-extra": "^10.1.0",
|
42
42
|
"miniprogram-api-typings": "^3.12.2",
|
@@ -44,7 +44,7 @@
|
|
44
44
|
},
|
45
45
|
"publishConfig": {
|
46
46
|
"access": "public",
|
47
|
-
"registry": "https://registry.npmjs.
|
47
|
+
"registry": "https://registry.npmjs.com"
|
48
48
|
},
|
49
|
-
"gitHead": "
|
49
|
+
"gitHead": "511cd3f8d57c2888411700526781e65959037c5b"
|
50
50
|
}
|
package/LICENSE.md
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
Copyright © 2014-2022 Tuya.inc
|
2
|
-
|
3
|
-
MIT License
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
|
-
|
7
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
8
|
-
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|