@abtnode/schema 1.16.49-beta-20250822-070545-6d3344cc → 1.16.49-beta-20250823-082650-626c1473
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/index.js +35 -0
- package/lib/schema.graphqls +35 -0
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -1436,6 +1436,18 @@ input RequestUpgradeNodeVersionInput {
|
|
|
1436
1436
|
sessionId: String
|
|
1437
1437
|
}
|
|
1438
1438
|
|
|
1439
|
+
input RequestUserFollowsInput {
|
|
1440
|
+
teamDid: String
|
|
1441
|
+
userDid: String
|
|
1442
|
+
paging: PagingInput
|
|
1443
|
+
sort: UserSortInput
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
input RequestUserFollowsStatsInput {
|
|
1447
|
+
teamDid: String
|
|
1448
|
+
userDid: String
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1439
1451
|
input RequestUserSessionsInput {
|
|
1440
1452
|
teamDid: String
|
|
1441
1453
|
query: UserSessionQueryInput
|
|
@@ -3087,6 +3099,12 @@ type ResponseFindCertificateByDomain {
|
|
|
3087
3099
|
cert: Certificate
|
|
3088
3100
|
}
|
|
3089
3101
|
|
|
3102
|
+
type ResponseFollowStats {
|
|
3103
|
+
code: StatusCode
|
|
3104
|
+
followers: Uint32
|
|
3105
|
+
following: Uint32
|
|
3106
|
+
}
|
|
3107
|
+
|
|
3090
3108
|
type ResponseGateway {
|
|
3091
3109
|
code: StatusCode
|
|
3092
3110
|
gateway: Gateway
|
|
@@ -3430,6 +3448,12 @@ type ResponseUser {
|
|
|
3430
3448
|
user: UserInfo
|
|
3431
3449
|
}
|
|
3432
3450
|
|
|
3451
|
+
type ResponseUserFollows {
|
|
3452
|
+
code: StatusCode
|
|
3453
|
+
data: [UserFollows!]
|
|
3454
|
+
paging: Paging
|
|
3455
|
+
}
|
|
3456
|
+
|
|
3433
3457
|
type ResponseUserSessions {
|
|
3434
3458
|
code: StatusCode
|
|
3435
3459
|
list: [UserSession!]
|
|
@@ -3643,6 +3667,14 @@ type UserAddress {
|
|
|
3643
3667
|
line2: String
|
|
3644
3668
|
}
|
|
3645
3669
|
|
|
3670
|
+
type UserFollows {
|
|
3671
|
+
userDid: String
|
|
3672
|
+
followerDid: String
|
|
3673
|
+
createdAt: Uint32
|
|
3674
|
+
user: UserInfo
|
|
3675
|
+
isFollowing: Boolean
|
|
3676
|
+
}
|
|
3677
|
+
|
|
3646
3678
|
type UserInfo {
|
|
3647
3679
|
did: String
|
|
3648
3680
|
pk: String
|
|
@@ -4144,6 +4176,9 @@ type Query {
|
|
|
4144
4176
|
getPassportIssuances(input: RequestGetPassportIssuancesInput): ResponseGetPassportIssuances
|
|
4145
4177
|
logoutUser(input: RequestLogoutUserInput): GeneralResponse
|
|
4146
4178
|
destroySelf(input: RequestTeamUserInput): ResponseUser
|
|
4179
|
+
getUserFollowers(input: RequestUserFollowsInput): ResponseUserFollows
|
|
4180
|
+
getUserFollowing(input: RequestUserFollowsInput): ResponseUserFollows
|
|
4181
|
+
getUserFollowStats(input: RequestUserFollowsStatsInput): ResponseFollowStats
|
|
4147
4182
|
getTags(input: RequestTagsInput): ResponseTags
|
|
4148
4183
|
getAuditLogs(input: RequestGetAuditLogsInput): ResponseGetAuditLogs
|
|
4149
4184
|
getLauncherSession(input: RequestGetLauncherSessionInput): ResponseGetLauncherSession
|
package/lib/schema.graphqls
CHANGED
|
@@ -1436,6 +1436,18 @@ input RequestUpgradeNodeVersionInput {
|
|
|
1436
1436
|
sessionId: String
|
|
1437
1437
|
}
|
|
1438
1438
|
|
|
1439
|
+
input RequestUserFollowsInput {
|
|
1440
|
+
teamDid: String
|
|
1441
|
+
userDid: String
|
|
1442
|
+
paging: PagingInput
|
|
1443
|
+
sort: UserSortInput
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
input RequestUserFollowsStatsInput {
|
|
1447
|
+
teamDid: String
|
|
1448
|
+
userDid: String
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1439
1451
|
input RequestUserSessionsInput {
|
|
1440
1452
|
teamDid: String
|
|
1441
1453
|
query: UserSessionQueryInput
|
|
@@ -3087,6 +3099,12 @@ type ResponseFindCertificateByDomain {
|
|
|
3087
3099
|
cert: Certificate
|
|
3088
3100
|
}
|
|
3089
3101
|
|
|
3102
|
+
type ResponseFollowStats {
|
|
3103
|
+
code: StatusCode
|
|
3104
|
+
followers: Uint32
|
|
3105
|
+
following: Uint32
|
|
3106
|
+
}
|
|
3107
|
+
|
|
3090
3108
|
type ResponseGateway {
|
|
3091
3109
|
code: StatusCode
|
|
3092
3110
|
gateway: Gateway
|
|
@@ -3430,6 +3448,12 @@ type ResponseUser {
|
|
|
3430
3448
|
user: UserInfo
|
|
3431
3449
|
}
|
|
3432
3450
|
|
|
3451
|
+
type ResponseUserFollows {
|
|
3452
|
+
code: StatusCode
|
|
3453
|
+
data: [UserFollows!]
|
|
3454
|
+
paging: Paging
|
|
3455
|
+
}
|
|
3456
|
+
|
|
3433
3457
|
type ResponseUserSessions {
|
|
3434
3458
|
code: StatusCode
|
|
3435
3459
|
list: [UserSession!]
|
|
@@ -3643,6 +3667,14 @@ type UserAddress {
|
|
|
3643
3667
|
line2: String
|
|
3644
3668
|
}
|
|
3645
3669
|
|
|
3670
|
+
type UserFollows {
|
|
3671
|
+
userDid: String
|
|
3672
|
+
followerDid: String
|
|
3673
|
+
createdAt: Uint32
|
|
3674
|
+
user: UserInfo
|
|
3675
|
+
isFollowing: Boolean
|
|
3676
|
+
}
|
|
3677
|
+
|
|
3646
3678
|
type UserInfo {
|
|
3647
3679
|
did: String
|
|
3648
3680
|
pk: String
|
|
@@ -4150,6 +4182,9 @@ type Query {
|
|
|
4150
4182
|
getPassportIssuances(input: RequestGetPassportIssuancesInput): ResponseGetPassportIssuances
|
|
4151
4183
|
logoutUser(input: RequestLogoutUserInput): GeneralResponse
|
|
4152
4184
|
destroySelf(input: RequestTeamUserInput): ResponseUser
|
|
4185
|
+
getUserFollowers(input: RequestUserFollowsInput): ResponseUserFollows
|
|
4186
|
+
getUserFollowing(input: RequestUserFollowsInput): ResponseUserFollows
|
|
4187
|
+
getUserFollowStats(input: RequestUserFollowsStatsInput): ResponseFollowStats
|
|
4153
4188
|
getTags(input: RequestTagsInput): ResponseTags
|
|
4154
4189
|
getAuditLogs(input: RequestGetAuditLogsInput): ResponseGetAuditLogs
|
|
4155
4190
|
getLauncherSession(input: RequestGetLauncherSessionInput): ResponseGetLauncherSession
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.16.49-beta-
|
|
6
|
+
"version": "1.16.49-beta-20250823-082650-626c1473",
|
|
7
7
|
"description": "",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"keywords": [],
|
|
14
14
|
"author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
|
|
15
15
|
"license": "Apache-2.0",
|
|
16
|
-
"gitHead": "
|
|
16
|
+
"gitHead": "54d2281fc6f72dadd12ed86b38d5a4e150bcaba8",
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@wangshijun/ts-protoc-gen": "^0.16.2"
|
|
19
19
|
}
|