@blocklet/server-js 1.16.51 → 1.16.52-beta-20250909-073849-4e392ab1
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 +22 -16
- package/dist/bundle.js +1 -1
- package/dist/report.html +2 -2
- package/dist/schema/graphql.json +102 -79
- package/dist/types.js +55 -30
- package/dist/types.js.map +1 -1
- package/docs/QUERIES.md +152 -1
- package/lib/node.d.ts +22 -16
- package/lib/schema/graphql.json +102 -79
- package/lib/types.js +55 -30
- package/lib/types.js.map +1 -1
- package/package.json +2 -2
package/dist/schema/graphql.json
CHANGED
|
@@ -10900,7 +10900,46 @@
|
|
|
10900
10900
|
},
|
|
10901
10901
|
{
|
|
10902
10902
|
"kind": "INPUT_OBJECT",
|
|
10903
|
-
"name": "
|
|
10903
|
+
"name": "RequestUserRelationCountInput",
|
|
10904
|
+
"description": null,
|
|
10905
|
+
"fields": null,
|
|
10906
|
+
"inputFields": [
|
|
10907
|
+
{
|
|
10908
|
+
"name": "teamDid",
|
|
10909
|
+
"description": null,
|
|
10910
|
+
"type": {
|
|
10911
|
+
"kind": "SCALAR",
|
|
10912
|
+
"name": "String",
|
|
10913
|
+
"ofType": null
|
|
10914
|
+
},
|
|
10915
|
+
"defaultValue": null
|
|
10916
|
+
},
|
|
10917
|
+
{
|
|
10918
|
+
"name": "userDids",
|
|
10919
|
+
"description": null,
|
|
10920
|
+
"type": {
|
|
10921
|
+
"kind": "LIST",
|
|
10922
|
+
"name": null,
|
|
10923
|
+
"ofType": {
|
|
10924
|
+
"kind": "NON_NULL",
|
|
10925
|
+
"name": null,
|
|
10926
|
+
"ofType": {
|
|
10927
|
+
"kind": "SCALAR",
|
|
10928
|
+
"name": "String",
|
|
10929
|
+
"ofType": null
|
|
10930
|
+
}
|
|
10931
|
+
}
|
|
10932
|
+
},
|
|
10933
|
+
"defaultValue": null
|
|
10934
|
+
}
|
|
10935
|
+
],
|
|
10936
|
+
"interfaces": null,
|
|
10937
|
+
"enumValues": null,
|
|
10938
|
+
"possibleTypes": null
|
|
10939
|
+
},
|
|
10940
|
+
{
|
|
10941
|
+
"kind": "INPUT_OBJECT",
|
|
10942
|
+
"name": "RequestUserRelationQueryInput",
|
|
10904
10943
|
"description": null,
|
|
10905
10944
|
"fields": null,
|
|
10906
10945
|
"inputFields": [
|
|
@@ -10959,45 +10998,6 @@
|
|
|
10959
10998
|
"enumValues": null,
|
|
10960
10999
|
"possibleTypes": null
|
|
10961
11000
|
},
|
|
10962
|
-
{
|
|
10963
|
-
"kind": "INPUT_OBJECT",
|
|
10964
|
-
"name": "RequestUserFollowsStatsInput",
|
|
10965
|
-
"description": null,
|
|
10966
|
-
"fields": null,
|
|
10967
|
-
"inputFields": [
|
|
10968
|
-
{
|
|
10969
|
-
"name": "teamDid",
|
|
10970
|
-
"description": null,
|
|
10971
|
-
"type": {
|
|
10972
|
-
"kind": "SCALAR",
|
|
10973
|
-
"name": "String",
|
|
10974
|
-
"ofType": null
|
|
10975
|
-
},
|
|
10976
|
-
"defaultValue": null
|
|
10977
|
-
},
|
|
10978
|
-
{
|
|
10979
|
-
"name": "userDids",
|
|
10980
|
-
"description": null,
|
|
10981
|
-
"type": {
|
|
10982
|
-
"kind": "LIST",
|
|
10983
|
-
"name": null,
|
|
10984
|
-
"ofType": {
|
|
10985
|
-
"kind": "NON_NULL",
|
|
10986
|
-
"name": null,
|
|
10987
|
-
"ofType": {
|
|
10988
|
-
"kind": "SCALAR",
|
|
10989
|
-
"name": "String",
|
|
10990
|
-
"ofType": null
|
|
10991
|
-
}
|
|
10992
|
-
}
|
|
10993
|
-
},
|
|
10994
|
-
"defaultValue": null
|
|
10995
|
-
}
|
|
10996
|
-
],
|
|
10997
|
-
"interfaces": null,
|
|
10998
|
-
"enumValues": null,
|
|
10999
|
-
"possibleTypes": null
|
|
11000
|
-
},
|
|
11001
11001
|
{
|
|
11002
11002
|
"kind": "INPUT_OBJECT",
|
|
11003
11003
|
"name": "RequestUserSessionsInput",
|
|
@@ -26648,41 +26648,6 @@
|
|
|
26648
26648
|
"enumValues": null,
|
|
26649
26649
|
"possibleTypes": null
|
|
26650
26650
|
},
|
|
26651
|
-
{
|
|
26652
|
-
"kind": "OBJECT",
|
|
26653
|
-
"name": "ResponseFollowStats",
|
|
26654
|
-
"description": null,
|
|
26655
|
-
"fields": [
|
|
26656
|
-
{
|
|
26657
|
-
"name": "code",
|
|
26658
|
-
"description": null,
|
|
26659
|
-
"args": [],
|
|
26660
|
-
"type": {
|
|
26661
|
-
"kind": "ENUM",
|
|
26662
|
-
"name": "StatusCode",
|
|
26663
|
-
"ofType": null
|
|
26664
|
-
},
|
|
26665
|
-
"isDeprecated": false,
|
|
26666
|
-
"deprecationReason": null
|
|
26667
|
-
},
|
|
26668
|
-
{
|
|
26669
|
-
"name": "data",
|
|
26670
|
-
"description": null,
|
|
26671
|
-
"args": [],
|
|
26672
|
-
"type": {
|
|
26673
|
-
"kind": "SCALAR",
|
|
26674
|
-
"name": "Any",
|
|
26675
|
-
"ofType": null
|
|
26676
|
-
},
|
|
26677
|
-
"isDeprecated": false,
|
|
26678
|
-
"deprecationReason": null
|
|
26679
|
-
}
|
|
26680
|
-
],
|
|
26681
|
-
"inputFields": null,
|
|
26682
|
-
"interfaces": [],
|
|
26683
|
-
"enumValues": null,
|
|
26684
|
-
"possibleTypes": null
|
|
26685
|
-
},
|
|
26686
26651
|
{
|
|
26687
26652
|
"kind": "OBJECT",
|
|
26688
26653
|
"name": "ResponseGateway",
|
|
@@ -29418,6 +29383,41 @@
|
|
|
29418
29383
|
"enumValues": null,
|
|
29419
29384
|
"possibleTypes": null
|
|
29420
29385
|
},
|
|
29386
|
+
{
|
|
29387
|
+
"kind": "OBJECT",
|
|
29388
|
+
"name": "ResponseUserRelationCount",
|
|
29389
|
+
"description": null,
|
|
29390
|
+
"fields": [
|
|
29391
|
+
{
|
|
29392
|
+
"name": "code",
|
|
29393
|
+
"description": null,
|
|
29394
|
+
"args": [],
|
|
29395
|
+
"type": {
|
|
29396
|
+
"kind": "ENUM",
|
|
29397
|
+
"name": "StatusCode",
|
|
29398
|
+
"ofType": null
|
|
29399
|
+
},
|
|
29400
|
+
"isDeprecated": false,
|
|
29401
|
+
"deprecationReason": null
|
|
29402
|
+
},
|
|
29403
|
+
{
|
|
29404
|
+
"name": "data",
|
|
29405
|
+
"description": null,
|
|
29406
|
+
"args": [],
|
|
29407
|
+
"type": {
|
|
29408
|
+
"kind": "SCALAR",
|
|
29409
|
+
"name": "Any",
|
|
29410
|
+
"ofType": null
|
|
29411
|
+
},
|
|
29412
|
+
"isDeprecated": false,
|
|
29413
|
+
"deprecationReason": null
|
|
29414
|
+
}
|
|
29415
|
+
],
|
|
29416
|
+
"inputFields": null,
|
|
29417
|
+
"interfaces": [],
|
|
29418
|
+
"enumValues": null,
|
|
29419
|
+
"possibleTypes": null
|
|
29420
|
+
},
|
|
29421
29421
|
{
|
|
29422
29422
|
"kind": "OBJECT",
|
|
29423
29423
|
"name": "ResponseUserSessions",
|
|
@@ -38164,7 +38164,7 @@
|
|
|
38164
38164
|
"description": null,
|
|
38165
38165
|
"type": {
|
|
38166
38166
|
"kind": "INPUT_OBJECT",
|
|
38167
|
-
"name": "
|
|
38167
|
+
"name": "RequestUserRelationQueryInput",
|
|
38168
38168
|
"ofType": null
|
|
38169
38169
|
},
|
|
38170
38170
|
"defaultValue": null
|
|
@@ -38187,7 +38187,7 @@
|
|
|
38187
38187
|
"description": null,
|
|
38188
38188
|
"type": {
|
|
38189
38189
|
"kind": "INPUT_OBJECT",
|
|
38190
|
-
"name": "
|
|
38190
|
+
"name": "RequestUserRelationQueryInput",
|
|
38191
38191
|
"ofType": null
|
|
38192
38192
|
},
|
|
38193
38193
|
"defaultValue": null
|
|
@@ -38210,7 +38210,7 @@
|
|
|
38210
38210
|
"description": null,
|
|
38211
38211
|
"type": {
|
|
38212
38212
|
"kind": "INPUT_OBJECT",
|
|
38213
|
-
"name": "
|
|
38213
|
+
"name": "RequestUserRelationCountInput",
|
|
38214
38214
|
"ofType": null
|
|
38215
38215
|
},
|
|
38216
38216
|
"defaultValue": null
|
|
@@ -38218,7 +38218,7 @@
|
|
|
38218
38218
|
],
|
|
38219
38219
|
"type": {
|
|
38220
38220
|
"kind": "OBJECT",
|
|
38221
|
-
"name": "
|
|
38221
|
+
"name": "ResponseUserRelationCount",
|
|
38222
38222
|
"ofType": null
|
|
38223
38223
|
},
|
|
38224
38224
|
"isDeprecated": false,
|
|
@@ -38293,6 +38293,29 @@
|
|
|
38293
38293
|
"isDeprecated": false,
|
|
38294
38294
|
"deprecationReason": null
|
|
38295
38295
|
},
|
|
38296
|
+
{
|
|
38297
|
+
"name": "getUserInvites",
|
|
38298
|
+
"description": null,
|
|
38299
|
+
"args": [
|
|
38300
|
+
{
|
|
38301
|
+
"name": "input",
|
|
38302
|
+
"description": null,
|
|
38303
|
+
"type": {
|
|
38304
|
+
"kind": "INPUT_OBJECT",
|
|
38305
|
+
"name": "RequestUserRelationQueryInput",
|
|
38306
|
+
"ofType": null
|
|
38307
|
+
},
|
|
38308
|
+
"defaultValue": null
|
|
38309
|
+
}
|
|
38310
|
+
],
|
|
38311
|
+
"type": {
|
|
38312
|
+
"kind": "OBJECT",
|
|
38313
|
+
"name": "ResponseUsers",
|
|
38314
|
+
"ofType": null
|
|
38315
|
+
},
|
|
38316
|
+
"isDeprecated": false,
|
|
38317
|
+
"deprecationReason": null
|
|
38318
|
+
},
|
|
38296
38319
|
{
|
|
38297
38320
|
"name": "getTags",
|
|
38298
38321
|
"description": null,
|
package/dist/types.js
CHANGED
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
* // checkFollowing,
|
|
65
65
|
* // followUser,
|
|
66
66
|
* // unfollowUser,
|
|
67
|
+
* // getUserInvites,
|
|
67
68
|
* // getTags,
|
|
68
69
|
* // getAuditLogs,
|
|
69
70
|
* // getLauncherSession,
|
|
@@ -2598,24 +2599,24 @@
|
|
|
2598
2599
|
*/
|
|
2599
2600
|
|
|
2600
2601
|
/**
|
|
2601
|
-
* Structure of ABTNodeClient.
|
|
2602
|
+
* Structure of ABTNodeClient.RequestUserRelationCountInput
|
|
2602
2603
|
*
|
|
2603
2604
|
* @memberof ABTNodeClient
|
|
2604
|
-
* @typedef {object} ABTNodeClient.
|
|
2605
|
+
* @typedef {object} ABTNodeClient.RequestUserRelationCountInput
|
|
2605
2606
|
* @property {string} teamDid
|
|
2606
|
-
* @property {
|
|
2607
|
-
* @property {...ABTNodeClient.PagingInput} paging
|
|
2608
|
-
* @property {...ABTNodeClient.UserSortInput} sort
|
|
2609
|
-
* @property {...ABTNodeClient.QueryUserFollowOptionsInput} options
|
|
2607
|
+
* @property {Array<...ABTNodeClient.null>} userDids
|
|
2610
2608
|
*/
|
|
2611
2609
|
|
|
2612
2610
|
/**
|
|
2613
|
-
* Structure of ABTNodeClient.
|
|
2611
|
+
* Structure of ABTNodeClient.RequestUserRelationQueryInput
|
|
2614
2612
|
*
|
|
2615
2613
|
* @memberof ABTNodeClient
|
|
2616
|
-
* @typedef {object} ABTNodeClient.
|
|
2614
|
+
* @typedef {object} ABTNodeClient.RequestUserRelationQueryInput
|
|
2617
2615
|
* @property {string} teamDid
|
|
2618
|
-
* @property {
|
|
2616
|
+
* @property {string} userDid
|
|
2617
|
+
* @property {...ABTNodeClient.PagingInput} paging
|
|
2618
|
+
* @property {...ABTNodeClient.UserSortInput} sort
|
|
2619
|
+
* @property {...ABTNodeClient.QueryUserFollowOptionsInput} options
|
|
2619
2620
|
*/
|
|
2620
2621
|
|
|
2621
2622
|
/**
|
|
@@ -4811,10 +4812,11 @@
|
|
|
4811
4812
|
* @property {...ABTNodeClient.ResponseUser} destroySelf
|
|
4812
4813
|
* @property {...ABTNodeClient.ResponseUserFollows} getUserFollowers
|
|
4813
4814
|
* @property {...ABTNodeClient.ResponseUserFollows} getUserFollowing
|
|
4814
|
-
* @property {...ABTNodeClient.
|
|
4815
|
+
* @property {...ABTNodeClient.ResponseUserRelationCount} getUserFollowStats
|
|
4815
4816
|
* @property {...ABTNodeClient.ResponseCheckFollowing} checkFollowing
|
|
4816
4817
|
* @property {...ABTNodeClient.GeneralResponse} followUser
|
|
4817
4818
|
* @property {...ABTNodeClient.GeneralResponse} unfollowUser
|
|
4819
|
+
* @property {...ABTNodeClient.ResponseUsers} getUserInvites
|
|
4818
4820
|
* @property {...ABTNodeClient.ResponseTags} getTags
|
|
4819
4821
|
* @property {...ABTNodeClient.ResponseGetAuditLogs} getAuditLogs
|
|
4820
4822
|
* @property {...ABTNodeClient.ResponseGetLauncherSession} getLauncherSession
|
|
@@ -5553,22 +5555,6 @@
|
|
|
5553
5555
|
* @property {...ABTNodeClient.Certificate} cert
|
|
5554
5556
|
*/
|
|
5555
5557
|
|
|
5556
|
-
/**
|
|
5557
|
-
* Structure of ABTNodeClient.ResponseFollowStats
|
|
5558
|
-
*
|
|
5559
|
-
* Checkout the following snippet for the format of ResponseFollowStats:
|
|
5560
|
-
* ```json
|
|
5561
|
-
{
|
|
5562
|
-
"code": "ok"
|
|
5563
|
-
}
|
|
5564
|
-
* ```
|
|
5565
|
-
*
|
|
5566
|
-
* @memberof ABTNodeClient
|
|
5567
|
-
* @typedef {object} ABTNodeClient.ResponseFollowStats
|
|
5568
|
-
* @property {...ABTNodeClient.StatusCode} code
|
|
5569
|
-
* @property {any} data
|
|
5570
|
-
*/
|
|
5571
|
-
|
|
5572
5558
|
/**
|
|
5573
5559
|
* Structure of ABTNodeClient.ResponseGateway
|
|
5574
5560
|
*
|
|
@@ -6379,6 +6365,22 @@
|
|
|
6379
6365
|
* @property {...ABTNodeClient.Paging} paging
|
|
6380
6366
|
*/
|
|
6381
6367
|
|
|
6368
|
+
/**
|
|
6369
|
+
* Structure of ABTNodeClient.ResponseUserRelationCount
|
|
6370
|
+
*
|
|
6371
|
+
* Checkout the following snippet for the format of ResponseUserRelationCount:
|
|
6372
|
+
* ```json
|
|
6373
|
+
{
|
|
6374
|
+
"code": "ok"
|
|
6375
|
+
}
|
|
6376
|
+
* ```
|
|
6377
|
+
*
|
|
6378
|
+
* @memberof ABTNodeClient
|
|
6379
|
+
* @typedef {object} ABTNodeClient.ResponseUserRelationCount
|
|
6380
|
+
* @property {...ABTNodeClient.StatusCode} code
|
|
6381
|
+
* @property {any} data
|
|
6382
|
+
*/
|
|
6383
|
+
|
|
6382
6384
|
/**
|
|
6383
6385
|
* Structure of ABTNodeClient.ResponseUserSessions
|
|
6384
6386
|
*
|
|
@@ -7499,7 +7501,7 @@
|
|
|
7499
7501
|
*
|
|
7500
7502
|
* @memberof ABTNodeClient
|
|
7501
7503
|
* @typedef {object} ABTNodeClient.GetUserFollowersParams
|
|
7502
|
-
* @property {...ABTNodeClient.
|
|
7504
|
+
* @property {...ABTNodeClient.RequestUserRelationQueryInput} input
|
|
7503
7505
|
*/
|
|
7504
7506
|
|
|
7505
7507
|
/**
|
|
@@ -7512,7 +7514,7 @@
|
|
|
7512
7514
|
*
|
|
7513
7515
|
* @memberof ABTNodeClient
|
|
7514
7516
|
* @typedef {object} ABTNodeClient.GetUserFollowingParams
|
|
7515
|
-
* @property {...ABTNodeClient.
|
|
7517
|
+
* @property {...ABTNodeClient.RequestUserRelationQueryInput} input
|
|
7516
7518
|
*/
|
|
7517
7519
|
|
|
7518
7520
|
/**
|
|
@@ -7525,7 +7527,7 @@
|
|
|
7525
7527
|
*
|
|
7526
7528
|
* @memberof ABTNodeClient
|
|
7527
7529
|
* @typedef {object} ABTNodeClient.GetUserFollowStatsParams
|
|
7528
|
-
* @property {...ABTNodeClient.
|
|
7530
|
+
* @property {...ABTNodeClient.RequestUserRelationCountInput} input
|
|
7529
7531
|
*/
|
|
7530
7532
|
|
|
7531
7533
|
/**
|
|
@@ -7567,6 +7569,19 @@
|
|
|
7567
7569
|
* @property {...ABTNodeClient.RequestFollowUserActionInput} input
|
|
7568
7570
|
*/
|
|
7569
7571
|
|
|
7572
|
+
/**
|
|
7573
|
+
* Structure of ABTNodeClient.GetUserInvitesParams
|
|
7574
|
+
*
|
|
7575
|
+
* Checkout the following snippet for the format of GetUserInvitesParams:
|
|
7576
|
+
* ```json
|
|
7577
|
+
{}
|
|
7578
|
+
* ```
|
|
7579
|
+
*
|
|
7580
|
+
* @memberof ABTNodeClient
|
|
7581
|
+
* @typedef {object} ABTNodeClient.GetUserInvitesParams
|
|
7582
|
+
* @property {...ABTNodeClient.RequestUserRelationQueryInput} input
|
|
7583
|
+
*/
|
|
7584
|
+
|
|
7570
7585
|
/**
|
|
7571
7586
|
* Structure of ABTNodeClient.GetTagsParams
|
|
7572
7587
|
*
|
|
@@ -10206,7 +10221,7 @@
|
|
|
10206
10221
|
* @param {ABTNodeClient.GetUserFollowStatsParams} params
|
|
10207
10222
|
* @function
|
|
10208
10223
|
* @memberof ABTNodeClient
|
|
10209
|
-
* @returns {Promise<ABTNodeClient.
|
|
10224
|
+
* @returns {Promise<ABTNodeClient.ResponseUserRelationCount>} Checkout {@link ABTNodeClient.ResponseUserRelationCount} for resolved data format
|
|
10210
10225
|
*/
|
|
10211
10226
|
|
|
10212
10227
|
/**
|
|
@@ -10239,6 +10254,16 @@
|
|
|
10239
10254
|
* @returns {Promise<ABTNodeClient.GeneralResponse>} Checkout {@link ABTNodeClient.GeneralResponse} for resolved data format
|
|
10240
10255
|
*/
|
|
10241
10256
|
|
|
10257
|
+
/**
|
|
10258
|
+
* getUserInvites
|
|
10259
|
+
*
|
|
10260
|
+
* @name ABTNodeClient#getUserInvites
|
|
10261
|
+
* @param {ABTNodeClient.GetUserInvitesParams} params
|
|
10262
|
+
* @function
|
|
10263
|
+
* @memberof ABTNodeClient
|
|
10264
|
+
* @returns {Promise<ABTNodeClient.ResponseUsers>} Checkout {@link ABTNodeClient.ResponseUsers} for resolved data format
|
|
10265
|
+
*/
|
|
10266
|
+
|
|
10242
10267
|
/**
|
|
10243
10268
|
* getTags
|
|
10244
10269
|
*
|