@ray-js/api 1.6.13-beta.0 → 1.6.13

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.
@@ -4,3 +4,4 @@ export * from './root';
4
4
  export * from './ipc';
5
5
  export * from './gw';
6
6
  export * from './remoteGroup';
7
+ export * from './lock';
@@ -3,4 +3,5 @@ export * from './outdoors';
3
3
  export * from './root';
4
4
  export * from './ipc';
5
5
  export * from './gw';
6
- export * from './remoteGroup';
6
+ export * from './remoteGroup';
7
+ export * from './lock';
@@ -0,0 +1,31 @@
1
+ import { ICommon } from './common';
2
+ type openFamilyAddMemberParams = {
3
+ homeId: string;
4
+ } & ICommon;
5
+ /**
6
+ * 打开新增成员页
7
+ * @param params { homeId: string }
8
+ * @returns
9
+ */
10
+ export declare function openFamilyAddMember(params?: openFamilyAddMemberParams): Promise<void>;
11
+ type openMemberInfoParams = {
12
+ /**
13
+ * 家庭 ID
14
+ */
15
+ homeId: string;
16
+ /**
17
+ * 用户 ID userId
18
+ */
19
+ memberId: string;
20
+ /**
21
+ * 1为管理员 0为普通成员 -1为分享成员 2为家庭创建者
22
+ */
23
+ role: number;
24
+ } & ICommon;
25
+ /**
26
+ * 打开成员详情页
27
+ * @param params { homeId: string, memberId: string, role: number }
28
+ * @returns
29
+ */
30
+ export declare function openMemberInfo(params?: openMemberInfoParams): Promise<void>;
31
+ export {};
@@ -0,0 +1,17 @@
1
+ import { nativeRouter } from './common';
2
+ /**
3
+ * 打开新增成员页
4
+ * @param params { homeId: string }
5
+ * @returns
6
+ */
7
+ export function openFamilyAddMember(params) {
8
+ return nativeRouter('tysh_family_add_member_rn', params);
9
+ }
10
+ /**
11
+ * 打开成员详情页
12
+ * @param params { homeId: string, memberId: string, role: number }
13
+ * @returns
14
+ */
15
+ export function openMemberInfo(params) {
16
+ return nativeRouter('member_info', params);
17
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/api",
3
- "version": "1.6.13-beta.0",
3
+ "version": "1.6.13",
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.6.13-beta.0",
33
- "@ray-js/router": "1.6.13-beta.0",
32
+ "@ray-js/framework": "1.6.13",
33
+ "@ray-js/router": "1.6.13",
34
34
  "@ray-js/wechat": "^0.2.19",
35
35
  "base64-browser": "^1.0.1",
36
36
  "query-string": "^7.1.3"
37
37
  },
38
38
  "devDependencies": {
39
- "@ray-js/cli": "1.6.13-beta.0",
39
+ "@ray-js/cli": "1.6.13",
40
40
  "art-template": "^4.13.2",
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": "fc9a900b018f61d0b7ce37ac9db633f402ba9044"
49
+ "gitHead": "bd8ee04557fc84c1131b8b07c7dbf1d1c6f6ae78"
50
50
  }