@blocklet/sdk 1.16.52-beta-20251003-083412-fdfc4e36 → 1.16.52-beta-20251005-235515-42ad5caf
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.
|
@@ -84,5 +84,11 @@ interface BlockletService {
|
|
|
84
84
|
followUser(args: OmitTeamDid<Client.RequestFollowUserActionInput>): Promise<Client.GeneralResponse>;
|
|
85
85
|
unfollowUser(args: OmitTeamDid<Client.RequestFollowUserActionInput>): Promise<Client.GeneralResponse>;
|
|
86
86
|
getUserInvites(args: OmitTeamDid<Client.RequestUserRelationQueryInput>, options: RequestHeaders): Promise<Client.ResponseUsers>;
|
|
87
|
+
getOrg(params: OmitTeamDid<Client.RequestGetOrgInput>): Promise<Client.ResponseGetOrg>;
|
|
88
|
+
getOrgs(params: OmitTeamDid<Client.RequestGetOrgsInput>): Promise<Client.ResponseGetOrgs>;
|
|
89
|
+
createOrg(params: OmitTeamDid<Client.RequestCreateOrgInput>): Promise<Client.ResponseGetOrg>;
|
|
90
|
+
getOrgResource(params: OmitTeamDid<Client.RequestGetOrgResourceInput>): Promise<Client.ResponseGetOrgResource>;
|
|
91
|
+
addOrgResource(params: OmitTeamDid<Client.RequestAddOrgResourceInput>): Promise<Client.ResponseOrgResourceOperation>;
|
|
92
|
+
migrateOrgResource(params: OmitTeamDid<Client.RequestMigrateOrgResourceInput>): Promise<Client.ResponseOrgResourceOperation>;
|
|
87
93
|
}
|
|
88
94
|
export = BlockletService;
|
package/lib/service/blocklet.js
CHANGED
|
@@ -166,6 +166,13 @@ class BlockletService {
|
|
|
166
166
|
'verifyAccessKey',
|
|
167
167
|
'getAccessKeys',
|
|
168
168
|
'getAccessKey',
|
|
169
|
+
// org
|
|
170
|
+
'getOrg',
|
|
171
|
+
'getOrgs',
|
|
172
|
+
'createOrg',
|
|
173
|
+
'getOrgResource',
|
|
174
|
+
'addOrgResource',
|
|
175
|
+
'migrateOrgResource',
|
|
169
176
|
];
|
|
170
177
|
const teamDid = process.env.BLOCKLET_DID;
|
|
171
178
|
const componentDid = process.env.BLOCKLET_COMPONENT_DID;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.52-beta-
|
|
6
|
+
"version": "1.16.52-beta-20251005-235515-42ad5caf",
|
|
7
7
|
"description": "graphql client to read/write data on abt node",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"typings": "lib/index.d.ts",
|
|
@@ -27,18 +27,18 @@
|
|
|
27
27
|
"author": "linchen1987 <linchen.1987@foxmail.com> (http://github.com/linchen1987)",
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@abtnode/constant": "1.16.52-beta-
|
|
31
|
-
"@abtnode/db-cache": "1.16.52-beta-
|
|
32
|
-
"@abtnode/util": "1.16.52-beta-
|
|
30
|
+
"@abtnode/constant": "1.16.52-beta-20251005-235515-42ad5caf",
|
|
31
|
+
"@abtnode/db-cache": "1.16.52-beta-20251005-235515-42ad5caf",
|
|
32
|
+
"@abtnode/util": "1.16.52-beta-20251005-235515-42ad5caf",
|
|
33
33
|
"@arcblock/did": "1.25.6",
|
|
34
34
|
"@arcblock/did-connect-js": "1.25.6",
|
|
35
35
|
"@arcblock/jwt": "1.25.6",
|
|
36
36
|
"@arcblock/ws": "1.25.6",
|
|
37
|
-
"@blocklet/constant": "1.16.52-beta-
|
|
38
|
-
"@blocklet/env": "1.16.52-beta-
|
|
37
|
+
"@blocklet/constant": "1.16.52-beta-20251005-235515-42ad5caf",
|
|
38
|
+
"@blocklet/env": "1.16.52-beta-20251005-235515-42ad5caf",
|
|
39
39
|
"@blocklet/error": "^0.2.5",
|
|
40
|
-
"@blocklet/meta": "1.16.52-beta-
|
|
41
|
-
"@blocklet/server-js": "1.16.52-beta-
|
|
40
|
+
"@blocklet/meta": "1.16.52-beta-20251005-235515-42ad5caf",
|
|
41
|
+
"@blocklet/server-js": "1.16.52-beta-20251005-235515-42ad5caf",
|
|
42
42
|
"@blocklet/theme": "^3.1.44",
|
|
43
43
|
"@did-connect/authenticator": "^2.2.8",
|
|
44
44
|
"@did-connect/handler": "^2.2.8",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"ts-node": "^10.9.1",
|
|
86
86
|
"typescript": "^5.6.3"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "7b295929a123edac2cb292c43f2edda0d3e3e6b8"
|
|
89
89
|
}
|