@abtnode/schema 1.16.49-beta-20250823-082650-626c1473 → 1.16.49-beta-20250827-025603-2bb1a7ee
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 +36 -3
- package/lib/schema.graphqls +36 -3
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -360,6 +360,11 @@ input ProxyPolicyInput {
|
|
|
360
360
|
realIpHeader: String
|
|
361
361
|
}
|
|
362
362
|
|
|
363
|
+
input QueryUserFollowOptionsInput {
|
|
364
|
+
includeUserInfo: Boolean
|
|
365
|
+
includeFollowStatus: Boolean
|
|
366
|
+
}
|
|
367
|
+
|
|
363
368
|
input RequestAbortBlockletBackupInput {
|
|
364
369
|
appPid: String
|
|
365
370
|
}
|
|
@@ -515,6 +520,12 @@ input RequestCheckDomainsInput {
|
|
|
515
520
|
did: String
|
|
516
521
|
}
|
|
517
522
|
|
|
523
|
+
input RequestCheckFollowingInput {
|
|
524
|
+
teamDid: String
|
|
525
|
+
userDids: [String!]
|
|
526
|
+
followerDid: String
|
|
527
|
+
}
|
|
528
|
+
|
|
518
529
|
input RequestClearCacheInput {
|
|
519
530
|
teamDid: String
|
|
520
531
|
pattern: String
|
|
@@ -839,6 +850,13 @@ input RequestFindCertificateByDomainInput {
|
|
|
839
850
|
did: String
|
|
840
851
|
}
|
|
841
852
|
|
|
853
|
+
input RequestFollowUserActionInput {
|
|
854
|
+
teamDid: String
|
|
855
|
+
userDid: String
|
|
856
|
+
followerDid: String
|
|
857
|
+
options: UserFollowOptionsInput
|
|
858
|
+
}
|
|
859
|
+
|
|
842
860
|
input RequestGetAuditLogsInput {
|
|
843
861
|
paging: PagingInput
|
|
844
862
|
scope: String
|
|
@@ -1441,11 +1459,12 @@ input RequestUserFollowsInput {
|
|
|
1441
1459
|
userDid: String
|
|
1442
1460
|
paging: PagingInput
|
|
1443
1461
|
sort: UserSortInput
|
|
1462
|
+
options: QueryUserFollowOptionsInput
|
|
1444
1463
|
}
|
|
1445
1464
|
|
|
1446
1465
|
input RequestUserFollowsStatsInput {
|
|
1447
1466
|
teamDid: String
|
|
1448
|
-
|
|
1467
|
+
userDids: [String!]
|
|
1449
1468
|
}
|
|
1450
1469
|
|
|
1451
1470
|
input RequestUserSessionsInput {
|
|
@@ -1606,6 +1625,10 @@ input UserAddressInput {
|
|
|
1606
1625
|
line2: String
|
|
1607
1626
|
}
|
|
1608
1627
|
|
|
1628
|
+
input UserFollowOptionsInput {
|
|
1629
|
+
skipNotification: Boolean
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1609
1632
|
input UserInfoInput {
|
|
1610
1633
|
did: String
|
|
1611
1634
|
pk: String
|
|
@@ -1638,6 +1661,7 @@ input UserInfoInput {
|
|
|
1638
1661
|
metadata: UserMetadataInput
|
|
1639
1662
|
address: UserAddressInput
|
|
1640
1663
|
userSessionsCount: Uint32
|
|
1664
|
+
isFollowing: Boolean
|
|
1641
1665
|
}
|
|
1642
1666
|
|
|
1643
1667
|
input UserMetadataInput {
|
|
@@ -1687,6 +1711,7 @@ input UserQueryInput {
|
|
|
1687
1711
|
includeUserSessions: Boolean
|
|
1688
1712
|
includePassports: Boolean
|
|
1689
1713
|
includeConnectedAccounts: Boolean
|
|
1714
|
+
includeFollowStatus: Boolean
|
|
1690
1715
|
}
|
|
1691
1716
|
|
|
1692
1717
|
input UserSessionInput {
|
|
@@ -3003,6 +3028,11 @@ type ResponseCheckDomains {
|
|
|
3003
3028
|
code: StatusCode
|
|
3004
3029
|
}
|
|
3005
3030
|
|
|
3031
|
+
type ResponseCheckFollowing {
|
|
3032
|
+
code: StatusCode
|
|
3033
|
+
data: Any
|
|
3034
|
+
}
|
|
3035
|
+
|
|
3006
3036
|
type ResponseCheckNodeVersion {
|
|
3007
3037
|
code: StatusCode
|
|
3008
3038
|
version: String
|
|
@@ -3101,8 +3131,7 @@ type ResponseFindCertificateByDomain {
|
|
|
3101
3131
|
|
|
3102
3132
|
type ResponseFollowStats {
|
|
3103
3133
|
code: StatusCode
|
|
3104
|
-
|
|
3105
|
-
following: Uint32
|
|
3134
|
+
data: Any
|
|
3106
3135
|
}
|
|
3107
3136
|
|
|
3108
3137
|
type ResponseGateway {
|
|
@@ -3707,6 +3736,7 @@ type UserInfo {
|
|
|
3707
3736
|
metadata: UserMetadata
|
|
3708
3737
|
address: UserAddress
|
|
3709
3738
|
userSessionsCount: Uint32
|
|
3739
|
+
isFollowing: Boolean
|
|
3710
3740
|
}
|
|
3711
3741
|
|
|
3712
3742
|
type UserMetadata {
|
|
@@ -4179,6 +4209,9 @@ type Query {
|
|
|
4179
4209
|
getUserFollowers(input: RequestUserFollowsInput): ResponseUserFollows
|
|
4180
4210
|
getUserFollowing(input: RequestUserFollowsInput): ResponseUserFollows
|
|
4181
4211
|
getUserFollowStats(input: RequestUserFollowsStatsInput): ResponseFollowStats
|
|
4212
|
+
checkFollowing(input: RequestCheckFollowingInput): ResponseCheckFollowing
|
|
4213
|
+
followUser(input: RequestFollowUserActionInput): GeneralResponse
|
|
4214
|
+
unfollowUser(input: RequestFollowUserActionInput): GeneralResponse
|
|
4182
4215
|
getTags(input: RequestTagsInput): ResponseTags
|
|
4183
4216
|
getAuditLogs(input: RequestGetAuditLogsInput): ResponseGetAuditLogs
|
|
4184
4217
|
getLauncherSession(input: RequestGetLauncherSessionInput): ResponseGetLauncherSession
|
package/lib/schema.graphqls
CHANGED
|
@@ -360,6 +360,11 @@ input ProxyPolicyInput {
|
|
|
360
360
|
realIpHeader: String
|
|
361
361
|
}
|
|
362
362
|
|
|
363
|
+
input QueryUserFollowOptionsInput {
|
|
364
|
+
includeUserInfo: Boolean
|
|
365
|
+
includeFollowStatus: Boolean
|
|
366
|
+
}
|
|
367
|
+
|
|
363
368
|
input RequestAbortBlockletBackupInput {
|
|
364
369
|
appPid: String
|
|
365
370
|
}
|
|
@@ -515,6 +520,12 @@ input RequestCheckDomainsInput {
|
|
|
515
520
|
did: String
|
|
516
521
|
}
|
|
517
522
|
|
|
523
|
+
input RequestCheckFollowingInput {
|
|
524
|
+
teamDid: String
|
|
525
|
+
userDids: [String!]
|
|
526
|
+
followerDid: String
|
|
527
|
+
}
|
|
528
|
+
|
|
518
529
|
input RequestClearCacheInput {
|
|
519
530
|
teamDid: String
|
|
520
531
|
pattern: String
|
|
@@ -839,6 +850,13 @@ input RequestFindCertificateByDomainInput {
|
|
|
839
850
|
did: String
|
|
840
851
|
}
|
|
841
852
|
|
|
853
|
+
input RequestFollowUserActionInput {
|
|
854
|
+
teamDid: String
|
|
855
|
+
userDid: String
|
|
856
|
+
followerDid: String
|
|
857
|
+
options: UserFollowOptionsInput
|
|
858
|
+
}
|
|
859
|
+
|
|
842
860
|
input RequestGetAuditLogsInput {
|
|
843
861
|
paging: PagingInput
|
|
844
862
|
scope: String
|
|
@@ -1441,11 +1459,12 @@ input RequestUserFollowsInput {
|
|
|
1441
1459
|
userDid: String
|
|
1442
1460
|
paging: PagingInput
|
|
1443
1461
|
sort: UserSortInput
|
|
1462
|
+
options: QueryUserFollowOptionsInput
|
|
1444
1463
|
}
|
|
1445
1464
|
|
|
1446
1465
|
input RequestUserFollowsStatsInput {
|
|
1447
1466
|
teamDid: String
|
|
1448
|
-
|
|
1467
|
+
userDids: [String!]
|
|
1449
1468
|
}
|
|
1450
1469
|
|
|
1451
1470
|
input RequestUserSessionsInput {
|
|
@@ -1606,6 +1625,10 @@ input UserAddressInput {
|
|
|
1606
1625
|
line2: String
|
|
1607
1626
|
}
|
|
1608
1627
|
|
|
1628
|
+
input UserFollowOptionsInput {
|
|
1629
|
+
skipNotification: Boolean
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1609
1632
|
input UserInfoInput {
|
|
1610
1633
|
did: String
|
|
1611
1634
|
pk: String
|
|
@@ -1638,6 +1661,7 @@ input UserInfoInput {
|
|
|
1638
1661
|
metadata: UserMetadataInput
|
|
1639
1662
|
address: UserAddressInput
|
|
1640
1663
|
userSessionsCount: Uint32
|
|
1664
|
+
isFollowing: Boolean
|
|
1641
1665
|
}
|
|
1642
1666
|
|
|
1643
1667
|
input UserMetadataInput {
|
|
@@ -1687,6 +1711,7 @@ input UserQueryInput {
|
|
|
1687
1711
|
includeUserSessions: Boolean
|
|
1688
1712
|
includePassports: Boolean
|
|
1689
1713
|
includeConnectedAccounts: Boolean
|
|
1714
|
+
includeFollowStatus: Boolean
|
|
1690
1715
|
}
|
|
1691
1716
|
|
|
1692
1717
|
input UserSessionInput {
|
|
@@ -3003,6 +3028,11 @@ type ResponseCheckDomains {
|
|
|
3003
3028
|
code: StatusCode
|
|
3004
3029
|
}
|
|
3005
3030
|
|
|
3031
|
+
type ResponseCheckFollowing {
|
|
3032
|
+
code: StatusCode
|
|
3033
|
+
data: Any
|
|
3034
|
+
}
|
|
3035
|
+
|
|
3006
3036
|
type ResponseCheckNodeVersion {
|
|
3007
3037
|
code: StatusCode
|
|
3008
3038
|
version: String
|
|
@@ -3101,8 +3131,7 @@ type ResponseFindCertificateByDomain {
|
|
|
3101
3131
|
|
|
3102
3132
|
type ResponseFollowStats {
|
|
3103
3133
|
code: StatusCode
|
|
3104
|
-
|
|
3105
|
-
following: Uint32
|
|
3134
|
+
data: Any
|
|
3106
3135
|
}
|
|
3107
3136
|
|
|
3108
3137
|
type ResponseGateway {
|
|
@@ -3707,6 +3736,7 @@ type UserInfo {
|
|
|
3707
3736
|
metadata: UserMetadata
|
|
3708
3737
|
address: UserAddress
|
|
3709
3738
|
userSessionsCount: Uint32
|
|
3739
|
+
isFollowing: Boolean
|
|
3710
3740
|
}
|
|
3711
3741
|
|
|
3712
3742
|
type UserMetadata {
|
|
@@ -4185,6 +4215,9 @@ type Query {
|
|
|
4185
4215
|
getUserFollowers(input: RequestUserFollowsInput): ResponseUserFollows
|
|
4186
4216
|
getUserFollowing(input: RequestUserFollowsInput): ResponseUserFollows
|
|
4187
4217
|
getUserFollowStats(input: RequestUserFollowsStatsInput): ResponseFollowStats
|
|
4218
|
+
checkFollowing(input: RequestCheckFollowingInput): ResponseCheckFollowing
|
|
4219
|
+
followUser(input: RequestFollowUserActionInput): GeneralResponse
|
|
4220
|
+
unfollowUser(input: RequestFollowUserActionInput): GeneralResponse
|
|
4188
4221
|
getTags(input: RequestTagsInput): ResponseTags
|
|
4189
4222
|
getAuditLogs(input: RequestGetAuditLogsInput): ResponseGetAuditLogs
|
|
4190
4223
|
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-20250827-025603-2bb1a7ee",
|
|
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": "2b70eea34e8bc8546abb09d38935e8906d9586fd",
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@wangshijun/ts-protoc-gen": "^0.16.2"
|
|
19
19
|
}
|