@ray-js/api 1.5.16 → 1.5.17

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.
@@ -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 openCreateOneClickScene(params?: ICommon): Promise<void>;
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 openCreateOneClickScene(params) {
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.16",
3
+ "version": "1.5.17",
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.16",
33
- "@ray-js/router": "1.5.16",
32
+ "@ray-js/framework": "1.5.17",
33
+ "@ray-js/router": "1.5.17",
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.16",
39
+ "@ray-js/cli": "1.5.17",
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.org"
48
48
  },
49
- "gitHead": "ce198714e778b994aa70f43f2546e132b509feaf"
49
+ "gitHead": "75e528047b1398d46fcbab0eb3184c501c63cd64"
50
50
  }