@blocklet/sdk 1.7.26 → 1.7.27
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/README.md +23 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -48,7 +48,29 @@ Get owner of the app
|
|
|
48
48
|
|
|
49
49
|
Get all users of the app
|
|
50
50
|
|
|
51
|
-
- _@
|
|
51
|
+
- _@param_ **paging** `Object`
|
|
52
|
+
- **paging.pageSize** ``
|
|
53
|
+
- **paging.page** ``
|
|
54
|
+
- _@param_ **query** `Object`
|
|
55
|
+
- **query.role** `String` Match users by role name
|
|
56
|
+
- `$none`: Match users which does not have a role
|
|
57
|
+
- **query.approved** `Boolean` Match users by approved
|
|
58
|
+
- **query.search** `String` Match users by did or fullName
|
|
59
|
+
- _@param_ **sort** `Object`
|
|
60
|
+
- **sort.createdAt** `Number`
|
|
61
|
+
- **sort.updatedAt** `Number`
|
|
62
|
+
- **sort.lastLoginAt** `Number`
|
|
63
|
+
- > `-1`: The latest time is at first. `1`: The latest time is at last.
|
|
64
|
+
- _@return_ `{ code, users, paging }`
|
|
65
|
+
|
|
66
|
+
```
|
|
67
|
+
Paging {
|
|
68
|
+
total: number of users
|
|
69
|
+
pageSize: number of users per page
|
|
70
|
+
pageCount: number of page
|
|
71
|
+
page: current page number
|
|
72
|
+
}
|
|
73
|
+
```
|
|
52
74
|
|
|
53
75
|
#### client.getPermissionsByRole(role)
|
|
54
76
|
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.7.
|
|
6
|
+
"version": "1.7.27",
|
|
7
7
|
"description": "graphql client to read/write data on abt node",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
"author": "linchen1987 <linchen.1987@foxmail.com> (http://github.com/linchen1987)",
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@abtnode/client": "1.7.
|
|
23
|
-
"@abtnode/constant": "1.7.
|
|
24
|
-
"@abtnode/logger": "1.7.
|
|
22
|
+
"@abtnode/client": "1.7.27",
|
|
23
|
+
"@abtnode/constant": "1.7.27",
|
|
24
|
+
"@abtnode/logger": "1.7.27",
|
|
25
25
|
"@arcblock/did-auth": "1.17.0",
|
|
26
26
|
"@arcblock/jwt": "1.17.0",
|
|
27
27
|
"@arcblock/ws": "1.17.0",
|
|
28
|
-
"@blocklet/meta": "1.7.
|
|
28
|
+
"@blocklet/meta": "1.7.27",
|
|
29
29
|
"@nedb/core": "^1.2.2",
|
|
30
30
|
"@ocap/mcrypto": "1.17.0",
|
|
31
31
|
"@ocap/wallet": "1.17.0",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"detect-port": "^1.3.0",
|
|
41
41
|
"jest": "^27.4.5"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "81a5492df66389b0aede13f033d1e493450833bc"
|
|
44
44
|
}
|