@blocklet/server-js 1.16.49-beta-20250821-102221-1b7283d6 → 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.
@@ -10757,6 +10757,88 @@
10757
10757
  "enumValues": null,
10758
10758
  "possibleTypes": null
10759
10759
  },
10760
+ {
10761
+ "kind": "INPUT_OBJECT",
10762
+ "name": "RequestUserFollowsInput",
10763
+ "description": null,
10764
+ "fields": null,
10765
+ "inputFields": [
10766
+ {
10767
+ "name": "teamDid",
10768
+ "description": null,
10769
+ "type": {
10770
+ "kind": "SCALAR",
10771
+ "name": "String",
10772
+ "ofType": null
10773
+ },
10774
+ "defaultValue": null
10775
+ },
10776
+ {
10777
+ "name": "userDid",
10778
+ "description": null,
10779
+ "type": {
10780
+ "kind": "SCALAR",
10781
+ "name": "String",
10782
+ "ofType": null
10783
+ },
10784
+ "defaultValue": null
10785
+ },
10786
+ {
10787
+ "name": "paging",
10788
+ "description": null,
10789
+ "type": {
10790
+ "kind": "INPUT_OBJECT",
10791
+ "name": "PagingInput",
10792
+ "ofType": null
10793
+ },
10794
+ "defaultValue": null
10795
+ },
10796
+ {
10797
+ "name": "sort",
10798
+ "description": null,
10799
+ "type": {
10800
+ "kind": "INPUT_OBJECT",
10801
+ "name": "UserSortInput",
10802
+ "ofType": null
10803
+ },
10804
+ "defaultValue": null
10805
+ }
10806
+ ],
10807
+ "interfaces": null,
10808
+ "enumValues": null,
10809
+ "possibleTypes": null
10810
+ },
10811
+ {
10812
+ "kind": "INPUT_OBJECT",
10813
+ "name": "RequestUserFollowsStatsInput",
10814
+ "description": null,
10815
+ "fields": null,
10816
+ "inputFields": [
10817
+ {
10818
+ "name": "teamDid",
10819
+ "description": null,
10820
+ "type": {
10821
+ "kind": "SCALAR",
10822
+ "name": "String",
10823
+ "ofType": null
10824
+ },
10825
+ "defaultValue": null
10826
+ },
10827
+ {
10828
+ "name": "userDid",
10829
+ "description": null,
10830
+ "type": {
10831
+ "kind": "SCALAR",
10832
+ "name": "String",
10833
+ "ofType": null
10834
+ },
10835
+ "defaultValue": null
10836
+ }
10837
+ ],
10838
+ "interfaces": null,
10839
+ "enumValues": null,
10840
+ "possibleTypes": null
10841
+ },
10760
10842
  {
10761
10843
  "kind": "INPUT_OBJECT",
10762
10844
  "name": "RequestUserSessionsInput",
@@ -21467,18 +21549,6 @@
21467
21549
  },
21468
21550
  "isDeprecated": false,
21469
21551
  "deprecationReason": null
21470
- },
21471
- {
21472
- "name": "proxyMaxMemoryLimit",
21473
- "description": null,
21474
- "args": [],
21475
- "type": {
21476
- "kind": "SCALAR",
21477
- "name": "Uint32",
21478
- "ofType": null
21479
- },
21480
- "isDeprecated": false,
21481
- "deprecationReason": null
21482
21552
  }
21483
21553
  ],
21484
21554
  "inputFields": null,
@@ -26331,6 +26401,53 @@
26331
26401
  "enumValues": null,
26332
26402
  "possibleTypes": null
26333
26403
  },
26404
+ {
26405
+ "kind": "OBJECT",
26406
+ "name": "ResponseFollowStats",
26407
+ "description": null,
26408
+ "fields": [
26409
+ {
26410
+ "name": "code",
26411
+ "description": null,
26412
+ "args": [],
26413
+ "type": {
26414
+ "kind": "ENUM",
26415
+ "name": "StatusCode",
26416
+ "ofType": null
26417
+ },
26418
+ "isDeprecated": false,
26419
+ "deprecationReason": null
26420
+ },
26421
+ {
26422
+ "name": "followers",
26423
+ "description": null,
26424
+ "args": [],
26425
+ "type": {
26426
+ "kind": "SCALAR",
26427
+ "name": "Uint32",
26428
+ "ofType": null
26429
+ },
26430
+ "isDeprecated": false,
26431
+ "deprecationReason": null
26432
+ },
26433
+ {
26434
+ "name": "following",
26435
+ "description": null,
26436
+ "args": [],
26437
+ "type": {
26438
+ "kind": "SCALAR",
26439
+ "name": "Uint32",
26440
+ "ofType": null
26441
+ },
26442
+ "isDeprecated": false,
26443
+ "deprecationReason": null
26444
+ }
26445
+ ],
26446
+ "inputFields": null,
26447
+ "interfaces": [],
26448
+ "enumValues": null,
26449
+ "possibleTypes": null
26450
+ },
26334
26451
  {
26335
26452
  "kind": "OBJECT",
26336
26453
  "name": "ResponseGateway",
@@ -29011,6 +29128,61 @@
29011
29128
  "enumValues": null,
29012
29129
  "possibleTypes": null
29013
29130
  },
29131
+ {
29132
+ "kind": "OBJECT",
29133
+ "name": "ResponseUserFollows",
29134
+ "description": null,
29135
+ "fields": [
29136
+ {
29137
+ "name": "code",
29138
+ "description": null,
29139
+ "args": [],
29140
+ "type": {
29141
+ "kind": "ENUM",
29142
+ "name": "StatusCode",
29143
+ "ofType": null
29144
+ },
29145
+ "isDeprecated": false,
29146
+ "deprecationReason": null
29147
+ },
29148
+ {
29149
+ "name": "data",
29150
+ "description": null,
29151
+ "args": [],
29152
+ "type": {
29153
+ "kind": "LIST",
29154
+ "name": null,
29155
+ "ofType": {
29156
+ "kind": "NON_NULL",
29157
+ "name": null,
29158
+ "ofType": {
29159
+ "kind": "OBJECT",
29160
+ "name": "UserFollows",
29161
+ "ofType": null
29162
+ }
29163
+ }
29164
+ },
29165
+ "isDeprecated": false,
29166
+ "deprecationReason": null
29167
+ },
29168
+ {
29169
+ "name": "paging",
29170
+ "description": null,
29171
+ "args": [],
29172
+ "type": {
29173
+ "kind": "OBJECT",
29174
+ "name": "Paging",
29175
+ "ofType": null
29176
+ },
29177
+ "isDeprecated": false,
29178
+ "deprecationReason": null
29179
+ }
29180
+ ],
29181
+ "inputFields": null,
29182
+ "interfaces": [],
29183
+ "enumValues": null,
29184
+ "possibleTypes": null
29185
+ },
29014
29186
  {
29015
29187
  "kind": "OBJECT",
29016
29188
  "name": "ResponseUserSessions",
@@ -30939,6 +31111,77 @@
30939
31111
  "enumValues": null,
30940
31112
  "possibleTypes": null
30941
31113
  },
31114
+ {
31115
+ "kind": "OBJECT",
31116
+ "name": "UserFollows",
31117
+ "description": null,
31118
+ "fields": [
31119
+ {
31120
+ "name": "userDid",
31121
+ "description": null,
31122
+ "args": [],
31123
+ "type": {
31124
+ "kind": "SCALAR",
31125
+ "name": "String",
31126
+ "ofType": null
31127
+ },
31128
+ "isDeprecated": false,
31129
+ "deprecationReason": null
31130
+ },
31131
+ {
31132
+ "name": "followerDid",
31133
+ "description": null,
31134
+ "args": [],
31135
+ "type": {
31136
+ "kind": "SCALAR",
31137
+ "name": "String",
31138
+ "ofType": null
31139
+ },
31140
+ "isDeprecated": false,
31141
+ "deprecationReason": null
31142
+ },
31143
+ {
31144
+ "name": "createdAt",
31145
+ "description": null,
31146
+ "args": [],
31147
+ "type": {
31148
+ "kind": "SCALAR",
31149
+ "name": "Uint32",
31150
+ "ofType": null
31151
+ },
31152
+ "isDeprecated": false,
31153
+ "deprecationReason": null
31154
+ },
31155
+ {
31156
+ "name": "user",
31157
+ "description": null,
31158
+ "args": [],
31159
+ "type": {
31160
+ "kind": "OBJECT",
31161
+ "name": "UserInfo",
31162
+ "ofType": null
31163
+ },
31164
+ "isDeprecated": false,
31165
+ "deprecationReason": null
31166
+ },
31167
+ {
31168
+ "name": "isFollowing",
31169
+ "description": null,
31170
+ "args": [],
31171
+ "type": {
31172
+ "kind": "SCALAR",
31173
+ "name": "Boolean",
31174
+ "ofType": null
31175
+ },
31176
+ "isDeprecated": false,
31177
+ "deprecationReason": null
31178
+ }
31179
+ ],
31180
+ "inputFields": null,
31181
+ "interfaces": [],
31182
+ "enumValues": null,
31183
+ "possibleTypes": null
31184
+ },
30942
31185
  {
30943
31186
  "kind": "OBJECT",
30944
31187
  "name": "UserInfo",
@@ -37665,6 +37908,75 @@
37665
37908
  "isDeprecated": false,
37666
37909
  "deprecationReason": null
37667
37910
  },
37911
+ {
37912
+ "name": "getUserFollowers",
37913
+ "description": null,
37914
+ "args": [
37915
+ {
37916
+ "name": "input",
37917
+ "description": null,
37918
+ "type": {
37919
+ "kind": "INPUT_OBJECT",
37920
+ "name": "RequestUserFollowsInput",
37921
+ "ofType": null
37922
+ },
37923
+ "defaultValue": null
37924
+ }
37925
+ ],
37926
+ "type": {
37927
+ "kind": "OBJECT",
37928
+ "name": "ResponseUserFollows",
37929
+ "ofType": null
37930
+ },
37931
+ "isDeprecated": false,
37932
+ "deprecationReason": null
37933
+ },
37934
+ {
37935
+ "name": "getUserFollowing",
37936
+ "description": null,
37937
+ "args": [
37938
+ {
37939
+ "name": "input",
37940
+ "description": null,
37941
+ "type": {
37942
+ "kind": "INPUT_OBJECT",
37943
+ "name": "RequestUserFollowsInput",
37944
+ "ofType": null
37945
+ },
37946
+ "defaultValue": null
37947
+ }
37948
+ ],
37949
+ "type": {
37950
+ "kind": "OBJECT",
37951
+ "name": "ResponseUserFollows",
37952
+ "ofType": null
37953
+ },
37954
+ "isDeprecated": false,
37955
+ "deprecationReason": null
37956
+ },
37957
+ {
37958
+ "name": "getUserFollowStats",
37959
+ "description": null,
37960
+ "args": [
37961
+ {
37962
+ "name": "input",
37963
+ "description": null,
37964
+ "type": {
37965
+ "kind": "INPUT_OBJECT",
37966
+ "name": "RequestUserFollowsStatsInput",
37967
+ "ofType": null
37968
+ },
37969
+ "defaultValue": null
37970
+ }
37971
+ ],
37972
+ "type": {
37973
+ "kind": "OBJECT",
37974
+ "name": "ResponseFollowStats",
37975
+ "ofType": null
37976
+ },
37977
+ "isDeprecated": false,
37978
+ "deprecationReason": null
37979
+ },
37668
37980
  {
37669
37981
  "name": "getTags",
37670
37982
  "description": null,
package/dist/types.js CHANGED
@@ -58,6 +58,9 @@
58
58
  * // getPassportIssuances,
59
59
  * // logoutUser,
60
60
  * // destroySelf,
61
+ * // getUserFollowers,
62
+ * // getUserFollowing,
63
+ * // getUserFollowStats,
61
64
  * // getTags,
62
65
  * // getAuditLogs,
63
66
  * // getLauncherSession,
@@ -2560,6 +2563,26 @@
2560
2563
  * @property {string} sessionId
2561
2564
  */
2562
2565
 
2566
+ /**
2567
+ * Structure of ABTNodeClient.RequestUserFollowsInput
2568
+ *
2569
+ * @memberof ABTNodeClient
2570
+ * @typedef {object} ABTNodeClient.RequestUserFollowsInput
2571
+ * @property {string} teamDid
2572
+ * @property {string} userDid
2573
+ * @property {...ABTNodeClient.PagingInput} paging
2574
+ * @property {...ABTNodeClient.UserSortInput} sort
2575
+ */
2576
+
2577
+ /**
2578
+ * Structure of ABTNodeClient.RequestUserFollowsStatsInput
2579
+ *
2580
+ * @memberof ABTNodeClient
2581
+ * @typedef {object} ABTNodeClient.RequestUserFollowsStatsInput
2582
+ * @property {string} teamDid
2583
+ * @property {string} userDid
2584
+ */
2585
+
2563
2586
  /**
2564
2587
  * Structure of ABTNodeClient.RequestUserSessionsCountInput
2565
2588
  *
@@ -4340,7 +4363,6 @@
4340
4363
  * @typedef {object} ABTNodeClient.NodeRuntimeConfig
4341
4364
  * @property {number} blockletMaxMemoryLimit
4342
4365
  * @property {number} daemonMaxMemoryLimit
4343
- * @property {number} proxyMaxMemoryLimit
4344
4366
  */
4345
4367
 
4346
4368
  /**
@@ -4741,6 +4763,9 @@
4741
4763
  * @property {...ABTNodeClient.ResponseGetPassportIssuances} getPassportIssuances
4742
4764
  * @property {...ABTNodeClient.GeneralResponse} logoutUser
4743
4765
  * @property {...ABTNodeClient.ResponseUser} destroySelf
4766
+ * @property {...ABTNodeClient.ResponseUserFollows} getUserFollowers
4767
+ * @property {...ABTNodeClient.ResponseUserFollows} getUserFollowing
4768
+ * @property {...ABTNodeClient.ResponseFollowStats} getUserFollowStats
4744
4769
  * @property {...ABTNodeClient.ResponseTags} getTags
4745
4770
  * @property {...ABTNodeClient.ResponseGetAuditLogs} getAuditLogs
4746
4771
  * @property {...ABTNodeClient.ResponseGetLauncherSession} getLauncherSession
@@ -5463,6 +5488,23 @@
5463
5488
  * @property {...ABTNodeClient.Certificate} cert
5464
5489
  */
5465
5490
 
5491
+ /**
5492
+ * Structure of ABTNodeClient.ResponseFollowStats
5493
+ *
5494
+ * Checkout the following snippet for the format of ResponseFollowStats:
5495
+ * ```json
5496
+ {
5497
+ "code": "ok"
5498
+ }
5499
+ * ```
5500
+ *
5501
+ * @memberof ABTNodeClient
5502
+ * @typedef {object} ABTNodeClient.ResponseFollowStats
5503
+ * @property {...ABTNodeClient.StatusCode} code
5504
+ * @property {number} followers
5505
+ * @property {number} following
5506
+ */
5507
+
5466
5508
  /**
5467
5509
  * Structure of ABTNodeClient.ResponseGateway
5468
5510
  *
@@ -6263,6 +6305,16 @@
6263
6305
  * @property {...ABTNodeClient.UserInfo} user
6264
6306
  */
6265
6307
 
6308
+ /**
6309
+ * Structure of ABTNodeClient.ResponseUserFollows
6310
+ *
6311
+ * @memberof ABTNodeClient
6312
+ * @typedef {object} ABTNodeClient.ResponseUserFollows
6313
+ * @property {...ABTNodeClient.StatusCode} code
6314
+ * @property {Array<...ABTNodeClient.null>} data
6315
+ * @property {...ABTNodeClient.Paging} paging
6316
+ */
6317
+
6266
6318
  /**
6267
6319
  * Structure of ABTNodeClient.ResponseUserSessions
6268
6320
  *
@@ -6595,6 +6647,18 @@
6595
6647
  * @property {string} line2
6596
6648
  */
6597
6649
 
6650
+ /**
6651
+ * Structure of ABTNodeClient.UserFollows
6652
+ *
6653
+ * @memberof ABTNodeClient
6654
+ * @typedef {object} ABTNodeClient.UserFollows
6655
+ * @property {string} userDid
6656
+ * @property {string} followerDid
6657
+ * @property {number} createdAt
6658
+ * @property {...ABTNodeClient.UserInfo} user
6659
+ * @property {boolean} isFollowing
6660
+ */
6661
+
6598
6662
  /**
6599
6663
  * Structure of ABTNodeClient.UserInfo
6600
6664
  *
@@ -7360,6 +7424,45 @@
7360
7424
  * @property {...ABTNodeClient.RequestTeamUserInput} input
7361
7425
  */
7362
7426
 
7427
+ /**
7428
+ * Structure of ABTNodeClient.GetUserFollowersParams
7429
+ *
7430
+ * Checkout the following snippet for the format of GetUserFollowersParams:
7431
+ * ```json
7432
+ {}
7433
+ * ```
7434
+ *
7435
+ * @memberof ABTNodeClient
7436
+ * @typedef {object} ABTNodeClient.GetUserFollowersParams
7437
+ * @property {...ABTNodeClient.RequestUserFollowsInput} input
7438
+ */
7439
+
7440
+ /**
7441
+ * Structure of ABTNodeClient.GetUserFollowingParams
7442
+ *
7443
+ * Checkout the following snippet for the format of GetUserFollowingParams:
7444
+ * ```json
7445
+ {}
7446
+ * ```
7447
+ *
7448
+ * @memberof ABTNodeClient
7449
+ * @typedef {object} ABTNodeClient.GetUserFollowingParams
7450
+ * @property {...ABTNodeClient.RequestUserFollowsInput} input
7451
+ */
7452
+
7453
+ /**
7454
+ * Structure of ABTNodeClient.GetUserFollowStatsParams
7455
+ *
7456
+ * Checkout the following snippet for the format of GetUserFollowStatsParams:
7457
+ * ```json
7458
+ {}
7459
+ * ```
7460
+ *
7461
+ * @memberof ABTNodeClient
7462
+ * @typedef {object} ABTNodeClient.GetUserFollowStatsParams
7463
+ * @property {...ABTNodeClient.RequestUserFollowsStatsInput} input
7464
+ */
7465
+
7363
7466
  /**
7364
7467
  * Structure of ABTNodeClient.GetTagsParams
7365
7468
  *
@@ -9972,6 +10075,36 @@
9972
10075
  * @returns {Promise<ABTNodeClient.ResponseUser>} Checkout {@link ABTNodeClient.ResponseUser} for resolved data format
9973
10076
  */
9974
10077
 
10078
+ /**
10079
+ * getUserFollowers
10080
+ *
10081
+ * @name ABTNodeClient#getUserFollowers
10082
+ * @param {ABTNodeClient.GetUserFollowersParams} params
10083
+ * @function
10084
+ * @memberof ABTNodeClient
10085
+ * @returns {Promise<ABTNodeClient.ResponseUserFollows>} Checkout {@link ABTNodeClient.ResponseUserFollows} for resolved data format
10086
+ */
10087
+
10088
+ /**
10089
+ * getUserFollowing
10090
+ *
10091
+ * @name ABTNodeClient#getUserFollowing
10092
+ * @param {ABTNodeClient.GetUserFollowingParams} params
10093
+ * @function
10094
+ * @memberof ABTNodeClient
10095
+ * @returns {Promise<ABTNodeClient.ResponseUserFollows>} Checkout {@link ABTNodeClient.ResponseUserFollows} for resolved data format
10096
+ */
10097
+
10098
+ /**
10099
+ * getUserFollowStats
10100
+ *
10101
+ * @name ABTNodeClient#getUserFollowStats
10102
+ * @param {ABTNodeClient.GetUserFollowStatsParams} params
10103
+ * @function
10104
+ * @memberof ABTNodeClient
10105
+ * @returns {Promise<ABTNodeClient.ResponseFollowStats>} Checkout {@link ABTNodeClient.ResponseFollowStats} for resolved data format
10106
+ */
10107
+
9975
10108
  /**
9976
10109
  * getTags
9977
10110
  *