@blocklet/server-js 1.16.49-beta-20250822-070545-6d3344cc → 1.16.49-beta-20250826-112154-8ca981fa
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/dist/browser.d.ts +56 -0
- package/dist/bundle.js +1 -1
- package/dist/report.html +2 -2
- package/dist/schema/graphql.json +324 -0
- package/dist/types.js +134 -0
- package/dist/types.js.map +1 -1
- package/docs/QUERIES.md +331 -1
- package/lib/node.d.ts +56 -0
- package/lib/schema/graphql.json +324 -0
- package/lib/types.js +134 -0
- package/lib/types.js.map +1 -1
- package/package.json +2 -2
package/docs/QUERIES.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# ABT Node GraphQL API List
|
|
2
2
|
|
|
3
|
-
> Updated on 2025-08-
|
|
3
|
+
> Updated on 2025-08-22T10:17:28.922Z
|
|
4
4
|
|
|
5
5
|
## Table of Contents
|
|
6
6
|
|
|
@@ -6829,6 +6829,336 @@ No arguments
|
|
|
6829
6829
|
}
|
|
6830
6830
|
```
|
|
6831
6831
|
|
|
6832
|
+
### getUserFollowers
|
|
6833
|
+
|
|
6834
|
+
#### Arguments
|
|
6835
|
+
|
|
6836
|
+
- **input**, optional, null
|
|
6837
|
+
|
|
6838
|
+
#### Result Format
|
|
6839
|
+
|
|
6840
|
+
```graphql
|
|
6841
|
+
{
|
|
6842
|
+
getUserFollowers {
|
|
6843
|
+
code
|
|
6844
|
+
data {
|
|
6845
|
+
createdAt
|
|
6846
|
+
followerDid
|
|
6847
|
+
isFollowing
|
|
6848
|
+
userDid
|
|
6849
|
+
user {
|
|
6850
|
+
approved
|
|
6851
|
+
avatar
|
|
6852
|
+
createdAt
|
|
6853
|
+
did
|
|
6854
|
+
didSpace
|
|
6855
|
+
email
|
|
6856
|
+
emailVerified
|
|
6857
|
+
extra
|
|
6858
|
+
firstLoginAt
|
|
6859
|
+
fullName
|
|
6860
|
+
generation
|
|
6861
|
+
inviter
|
|
6862
|
+
lastLoginAt
|
|
6863
|
+
lastLoginIp
|
|
6864
|
+
locale
|
|
6865
|
+
phone
|
|
6866
|
+
phoneVerified
|
|
6867
|
+
pk
|
|
6868
|
+
remark
|
|
6869
|
+
role
|
|
6870
|
+
sourceAppPid
|
|
6871
|
+
sourceProvider
|
|
6872
|
+
updatedAt
|
|
6873
|
+
url
|
|
6874
|
+
userSessionsCount
|
|
6875
|
+
address {
|
|
6876
|
+
city
|
|
6877
|
+
country
|
|
6878
|
+
line1
|
|
6879
|
+
line2
|
|
6880
|
+
postalCode
|
|
6881
|
+
province
|
|
6882
|
+
}
|
|
6883
|
+
connectedAccounts {
|
|
6884
|
+
did
|
|
6885
|
+
extra
|
|
6886
|
+
id
|
|
6887
|
+
lastLoginAt
|
|
6888
|
+
pk
|
|
6889
|
+
provider
|
|
6890
|
+
userInfo {
|
|
6891
|
+
email
|
|
6892
|
+
emailVerified
|
|
6893
|
+
extraData
|
|
6894
|
+
name
|
|
6895
|
+
picture
|
|
6896
|
+
sub
|
|
6897
|
+
}
|
|
6898
|
+
}
|
|
6899
|
+
metadata {
|
|
6900
|
+
bio
|
|
6901
|
+
cover
|
|
6902
|
+
location
|
|
6903
|
+
timezone
|
|
6904
|
+
links {
|
|
6905
|
+
favicon
|
|
6906
|
+
url
|
|
6907
|
+
}
|
|
6908
|
+
phone {
|
|
6909
|
+
country
|
|
6910
|
+
phoneNumber
|
|
6911
|
+
}
|
|
6912
|
+
status {
|
|
6913
|
+
dateRange
|
|
6914
|
+
duration
|
|
6915
|
+
icon
|
|
6916
|
+
label
|
|
6917
|
+
}
|
|
6918
|
+
}
|
|
6919
|
+
passports {
|
|
6920
|
+
expirationDate
|
|
6921
|
+
id
|
|
6922
|
+
issuanceDate
|
|
6923
|
+
lastLoginAt
|
|
6924
|
+
name
|
|
6925
|
+
parentDid
|
|
6926
|
+
role
|
|
6927
|
+
scope
|
|
6928
|
+
source
|
|
6929
|
+
status
|
|
6930
|
+
title
|
|
6931
|
+
type
|
|
6932
|
+
userDid
|
|
6933
|
+
display {
|
|
6934
|
+
content
|
|
6935
|
+
type
|
|
6936
|
+
}
|
|
6937
|
+
issuer {
|
|
6938
|
+
id
|
|
6939
|
+
name
|
|
6940
|
+
pk
|
|
6941
|
+
}
|
|
6942
|
+
user {
|
|
6943
|
+
approved
|
|
6944
|
+
avatar
|
|
6945
|
+
createdAt
|
|
6946
|
+
did
|
|
6947
|
+
email
|
|
6948
|
+
fullName
|
|
6949
|
+
locale
|
|
6950
|
+
pk
|
|
6951
|
+
role
|
|
6952
|
+
updatedAt
|
|
6953
|
+
}
|
|
6954
|
+
}
|
|
6955
|
+
tags {
|
|
6956
|
+
color
|
|
6957
|
+
createdAt
|
|
6958
|
+
description
|
|
6959
|
+
id
|
|
6960
|
+
title
|
|
6961
|
+
updatedAt
|
|
6962
|
+
}
|
|
6963
|
+
userSessions {
|
|
6964
|
+
appPid
|
|
6965
|
+
createdAt
|
|
6966
|
+
extra
|
|
6967
|
+
id
|
|
6968
|
+
lastLoginIp
|
|
6969
|
+
passportId
|
|
6970
|
+
status
|
|
6971
|
+
ua
|
|
6972
|
+
updatedAt
|
|
6973
|
+
userDid
|
|
6974
|
+
visitorId
|
|
6975
|
+
}
|
|
6976
|
+
}
|
|
6977
|
+
}
|
|
6978
|
+
paging {
|
|
6979
|
+
page
|
|
6980
|
+
pageCount
|
|
6981
|
+
pageSize
|
|
6982
|
+
total
|
|
6983
|
+
}
|
|
6984
|
+
}
|
|
6985
|
+
}
|
|
6986
|
+
```
|
|
6987
|
+
|
|
6988
|
+
### getUserFollowing
|
|
6989
|
+
|
|
6990
|
+
#### Arguments
|
|
6991
|
+
|
|
6992
|
+
- **input**, optional, null
|
|
6993
|
+
|
|
6994
|
+
#### Result Format
|
|
6995
|
+
|
|
6996
|
+
```graphql
|
|
6997
|
+
{
|
|
6998
|
+
getUserFollowing {
|
|
6999
|
+
code
|
|
7000
|
+
data {
|
|
7001
|
+
createdAt
|
|
7002
|
+
followerDid
|
|
7003
|
+
isFollowing
|
|
7004
|
+
userDid
|
|
7005
|
+
user {
|
|
7006
|
+
approved
|
|
7007
|
+
avatar
|
|
7008
|
+
createdAt
|
|
7009
|
+
did
|
|
7010
|
+
didSpace
|
|
7011
|
+
email
|
|
7012
|
+
emailVerified
|
|
7013
|
+
extra
|
|
7014
|
+
firstLoginAt
|
|
7015
|
+
fullName
|
|
7016
|
+
generation
|
|
7017
|
+
inviter
|
|
7018
|
+
lastLoginAt
|
|
7019
|
+
lastLoginIp
|
|
7020
|
+
locale
|
|
7021
|
+
phone
|
|
7022
|
+
phoneVerified
|
|
7023
|
+
pk
|
|
7024
|
+
remark
|
|
7025
|
+
role
|
|
7026
|
+
sourceAppPid
|
|
7027
|
+
sourceProvider
|
|
7028
|
+
updatedAt
|
|
7029
|
+
url
|
|
7030
|
+
userSessionsCount
|
|
7031
|
+
address {
|
|
7032
|
+
city
|
|
7033
|
+
country
|
|
7034
|
+
line1
|
|
7035
|
+
line2
|
|
7036
|
+
postalCode
|
|
7037
|
+
province
|
|
7038
|
+
}
|
|
7039
|
+
connectedAccounts {
|
|
7040
|
+
did
|
|
7041
|
+
extra
|
|
7042
|
+
id
|
|
7043
|
+
lastLoginAt
|
|
7044
|
+
pk
|
|
7045
|
+
provider
|
|
7046
|
+
userInfo {
|
|
7047
|
+
email
|
|
7048
|
+
emailVerified
|
|
7049
|
+
extraData
|
|
7050
|
+
name
|
|
7051
|
+
picture
|
|
7052
|
+
sub
|
|
7053
|
+
}
|
|
7054
|
+
}
|
|
7055
|
+
metadata {
|
|
7056
|
+
bio
|
|
7057
|
+
cover
|
|
7058
|
+
location
|
|
7059
|
+
timezone
|
|
7060
|
+
links {
|
|
7061
|
+
favicon
|
|
7062
|
+
url
|
|
7063
|
+
}
|
|
7064
|
+
phone {
|
|
7065
|
+
country
|
|
7066
|
+
phoneNumber
|
|
7067
|
+
}
|
|
7068
|
+
status {
|
|
7069
|
+
dateRange
|
|
7070
|
+
duration
|
|
7071
|
+
icon
|
|
7072
|
+
label
|
|
7073
|
+
}
|
|
7074
|
+
}
|
|
7075
|
+
passports {
|
|
7076
|
+
expirationDate
|
|
7077
|
+
id
|
|
7078
|
+
issuanceDate
|
|
7079
|
+
lastLoginAt
|
|
7080
|
+
name
|
|
7081
|
+
parentDid
|
|
7082
|
+
role
|
|
7083
|
+
scope
|
|
7084
|
+
source
|
|
7085
|
+
status
|
|
7086
|
+
title
|
|
7087
|
+
type
|
|
7088
|
+
userDid
|
|
7089
|
+
display {
|
|
7090
|
+
content
|
|
7091
|
+
type
|
|
7092
|
+
}
|
|
7093
|
+
issuer {
|
|
7094
|
+
id
|
|
7095
|
+
name
|
|
7096
|
+
pk
|
|
7097
|
+
}
|
|
7098
|
+
user {
|
|
7099
|
+
approved
|
|
7100
|
+
avatar
|
|
7101
|
+
createdAt
|
|
7102
|
+
did
|
|
7103
|
+
email
|
|
7104
|
+
fullName
|
|
7105
|
+
locale
|
|
7106
|
+
pk
|
|
7107
|
+
role
|
|
7108
|
+
updatedAt
|
|
7109
|
+
}
|
|
7110
|
+
}
|
|
7111
|
+
tags {
|
|
7112
|
+
color
|
|
7113
|
+
createdAt
|
|
7114
|
+
description
|
|
7115
|
+
id
|
|
7116
|
+
title
|
|
7117
|
+
updatedAt
|
|
7118
|
+
}
|
|
7119
|
+
userSessions {
|
|
7120
|
+
appPid
|
|
7121
|
+
createdAt
|
|
7122
|
+
extra
|
|
7123
|
+
id
|
|
7124
|
+
lastLoginIp
|
|
7125
|
+
passportId
|
|
7126
|
+
status
|
|
7127
|
+
ua
|
|
7128
|
+
updatedAt
|
|
7129
|
+
userDid
|
|
7130
|
+
visitorId
|
|
7131
|
+
}
|
|
7132
|
+
}
|
|
7133
|
+
}
|
|
7134
|
+
paging {
|
|
7135
|
+
page
|
|
7136
|
+
pageCount
|
|
7137
|
+
pageSize
|
|
7138
|
+
total
|
|
7139
|
+
}
|
|
7140
|
+
}
|
|
7141
|
+
}
|
|
7142
|
+
```
|
|
7143
|
+
|
|
7144
|
+
### getUserFollowStats
|
|
7145
|
+
|
|
7146
|
+
#### Arguments
|
|
7147
|
+
|
|
7148
|
+
- **input**, optional, null
|
|
7149
|
+
|
|
7150
|
+
#### Result Format
|
|
7151
|
+
|
|
7152
|
+
```graphql
|
|
7153
|
+
{
|
|
7154
|
+
getUserFollowStats {
|
|
7155
|
+
code
|
|
7156
|
+
followers
|
|
7157
|
+
following
|
|
7158
|
+
}
|
|
7159
|
+
}
|
|
7160
|
+
```
|
|
7161
|
+
|
|
6832
7162
|
### getTags
|
|
6833
7163
|
|
|
6834
7164
|
#### Arguments
|
package/lib/node.d.ts
CHANGED
|
@@ -139,6 +139,15 @@ declare class ABTNodeClient {
|
|
|
139
139
|
): Promise<ABTNodeClient.ResponseGetPassportIssuances>;
|
|
140
140
|
logoutUser(params: PartialDeep<ABTNodeClient.LogoutUserParams>): Promise<ABTNodeClient.GeneralResponse>;
|
|
141
141
|
destroySelf(params: PartialDeep<ABTNodeClient.DestroySelfParams>): Promise<ABTNodeClient.ResponseUser>;
|
|
142
|
+
getUserFollowers(
|
|
143
|
+
params: PartialDeep<ABTNodeClient.GetUserFollowersParams>
|
|
144
|
+
): Promise<ABTNodeClient.ResponseUserFollows>;
|
|
145
|
+
getUserFollowing(
|
|
146
|
+
params: PartialDeep<ABTNodeClient.GetUserFollowingParams>
|
|
147
|
+
): Promise<ABTNodeClient.ResponseUserFollows>;
|
|
148
|
+
getUserFollowStats(
|
|
149
|
+
params: PartialDeep<ABTNodeClient.GetUserFollowStatsParams>
|
|
150
|
+
): Promise<ABTNodeClient.ResponseFollowStats>;
|
|
142
151
|
getTags(params: PartialDeep<ABTNodeClient.GetTagsParams>): Promise<ABTNodeClient.ResponseTags>;
|
|
143
152
|
getAuditLogs(params: PartialDeep<ABTNodeClient.GetAuditLogsParams>): Promise<ABTNodeClient.ResponseGetAuditLogs>;
|
|
144
153
|
getLauncherSession(
|
|
@@ -2069,6 +2078,18 @@ declare namespace ABTNodeClient {
|
|
|
2069
2078
|
sessionId: string;
|
|
2070
2079
|
}
|
|
2071
2080
|
|
|
2081
|
+
interface RequestUserFollowsInput {
|
|
2082
|
+
teamDid: string;
|
|
2083
|
+
userDid: string;
|
|
2084
|
+
paging: ABTNodeClient.PagingInput;
|
|
2085
|
+
sort: ABTNodeClient.UserSortInput;
|
|
2086
|
+
}
|
|
2087
|
+
|
|
2088
|
+
interface RequestUserFollowsStatsInput {
|
|
2089
|
+
teamDid: string;
|
|
2090
|
+
userDid: string;
|
|
2091
|
+
}
|
|
2092
|
+
|
|
2072
2093
|
interface RequestUserSessionsCountInput {
|
|
2073
2094
|
teamDid: string;
|
|
2074
2095
|
query: ABTNodeClient.UserSessionQueryInput;
|
|
@@ -3661,6 +3682,9 @@ declare namespace ABTNodeClient {
|
|
|
3661
3682
|
getPassportIssuances: ABTNodeClient.ResponseGetPassportIssuances;
|
|
3662
3683
|
logoutUser: ABTNodeClient.GeneralResponse;
|
|
3663
3684
|
destroySelf: ABTNodeClient.ResponseUser;
|
|
3685
|
+
getUserFollowers: ABTNodeClient.ResponseUserFollows;
|
|
3686
|
+
getUserFollowing: ABTNodeClient.ResponseUserFollows;
|
|
3687
|
+
getUserFollowStats: ABTNodeClient.ResponseFollowStats;
|
|
3664
3688
|
getTags: ABTNodeClient.ResponseTags;
|
|
3665
3689
|
getAuditLogs: ABTNodeClient.ResponseGetAuditLogs;
|
|
3666
3690
|
getLauncherSession: ABTNodeClient.ResponseGetLauncherSession;
|
|
@@ -3946,6 +3970,12 @@ declare namespace ABTNodeClient {
|
|
|
3946
3970
|
cert: ABTNodeClient.Certificate;
|
|
3947
3971
|
}
|
|
3948
3972
|
|
|
3973
|
+
interface ResponseFollowStats {
|
|
3974
|
+
code: ABTNodeClient.StatusCode;
|
|
3975
|
+
followers: number;
|
|
3976
|
+
following: number;
|
|
3977
|
+
}
|
|
3978
|
+
|
|
3949
3979
|
interface ResponseGateway {
|
|
3950
3980
|
code: ABTNodeClient.StatusCode;
|
|
3951
3981
|
gateway: ABTNodeClient.Gateway;
|
|
@@ -4289,6 +4319,12 @@ declare namespace ABTNodeClient {
|
|
|
4289
4319
|
user: ABTNodeClient.UserInfo;
|
|
4290
4320
|
}
|
|
4291
4321
|
|
|
4322
|
+
interface ResponseUserFollows {
|
|
4323
|
+
code: ABTNodeClient.StatusCode;
|
|
4324
|
+
data: ABTNodeClient.UserFollows[];
|
|
4325
|
+
paging: ABTNodeClient.Paging;
|
|
4326
|
+
}
|
|
4327
|
+
|
|
4292
4328
|
interface ResponseUserSessions {
|
|
4293
4329
|
code: ABTNodeClient.StatusCode;
|
|
4294
4330
|
list: ABTNodeClient.UserSession[];
|
|
@@ -4502,6 +4538,14 @@ declare namespace ABTNodeClient {
|
|
|
4502
4538
|
line2: string;
|
|
4503
4539
|
}
|
|
4504
4540
|
|
|
4541
|
+
interface UserFollows {
|
|
4542
|
+
userDid: string;
|
|
4543
|
+
followerDid: string;
|
|
4544
|
+
createdAt: number;
|
|
4545
|
+
user: ABTNodeClient.UserInfo;
|
|
4546
|
+
isFollowing: boolean;
|
|
4547
|
+
}
|
|
4548
|
+
|
|
4505
4549
|
interface UserInfo {
|
|
4506
4550
|
did: string;
|
|
4507
4551
|
pk: string;
|
|
@@ -4848,6 +4892,18 @@ declare namespace ABTNodeClient {
|
|
|
4848
4892
|
input: ABTNodeClient.RequestTeamUserInput;
|
|
4849
4893
|
}
|
|
4850
4894
|
|
|
4895
|
+
interface GetUserFollowersParams {
|
|
4896
|
+
input: ABTNodeClient.RequestUserFollowsInput;
|
|
4897
|
+
}
|
|
4898
|
+
|
|
4899
|
+
interface GetUserFollowingParams {
|
|
4900
|
+
input: ABTNodeClient.RequestUserFollowsInput;
|
|
4901
|
+
}
|
|
4902
|
+
|
|
4903
|
+
interface GetUserFollowStatsParams {
|
|
4904
|
+
input: ABTNodeClient.RequestUserFollowsStatsInput;
|
|
4905
|
+
}
|
|
4906
|
+
|
|
4851
4907
|
interface GetTagsParams {
|
|
4852
4908
|
input: ABTNodeClient.RequestTagsInput;
|
|
4853
4909
|
}
|