@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.
package/dist/browser.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;
@@ -3345,7 +3366,6 @@ declare namespace ABTNodeClient {
3345
3366
  interface NodeRuntimeConfig {
3346
3367
  blockletMaxMemoryLimit: number;
3347
3368
  daemonMaxMemoryLimit: number;
3348
- proxyMaxMemoryLimit: number;
3349
3369
  }
3350
3370
 
3351
3371
  interface NodeState {
@@ -3662,6 +3682,9 @@ declare namespace ABTNodeClient {
3662
3682
  getPassportIssuances: ABTNodeClient.ResponseGetPassportIssuances;
3663
3683
  logoutUser: ABTNodeClient.GeneralResponse;
3664
3684
  destroySelf: ABTNodeClient.ResponseUser;
3685
+ getUserFollowers: ABTNodeClient.ResponseUserFollows;
3686
+ getUserFollowing: ABTNodeClient.ResponseUserFollows;
3687
+ getUserFollowStats: ABTNodeClient.ResponseFollowStats;
3665
3688
  getTags: ABTNodeClient.ResponseTags;
3666
3689
  getAuditLogs: ABTNodeClient.ResponseGetAuditLogs;
3667
3690
  getLauncherSession: ABTNodeClient.ResponseGetLauncherSession;
@@ -3947,6 +3970,12 @@ declare namespace ABTNodeClient {
3947
3970
  cert: ABTNodeClient.Certificate;
3948
3971
  }
3949
3972
 
3973
+ interface ResponseFollowStats {
3974
+ code: ABTNodeClient.StatusCode;
3975
+ followers: number;
3976
+ following: number;
3977
+ }
3978
+
3950
3979
  interface ResponseGateway {
3951
3980
  code: ABTNodeClient.StatusCode;
3952
3981
  gateway: ABTNodeClient.Gateway;
@@ -4290,6 +4319,12 @@ declare namespace ABTNodeClient {
4290
4319
  user: ABTNodeClient.UserInfo;
4291
4320
  }
4292
4321
 
4322
+ interface ResponseUserFollows {
4323
+ code: ABTNodeClient.StatusCode;
4324
+ data: ABTNodeClient.UserFollows[];
4325
+ paging: ABTNodeClient.Paging;
4326
+ }
4327
+
4293
4328
  interface ResponseUserSessions {
4294
4329
  code: ABTNodeClient.StatusCode;
4295
4330
  list: ABTNodeClient.UserSession[];
@@ -4503,6 +4538,14 @@ declare namespace ABTNodeClient {
4503
4538
  line2: string;
4504
4539
  }
4505
4540
 
4541
+ interface UserFollows {
4542
+ userDid: string;
4543
+ followerDid: string;
4544
+ createdAt: number;
4545
+ user: ABTNodeClient.UserInfo;
4546
+ isFollowing: boolean;
4547
+ }
4548
+
4506
4549
  interface UserInfo {
4507
4550
  did: string;
4508
4551
  pk: string;
@@ -4849,6 +4892,18 @@ declare namespace ABTNodeClient {
4849
4892
  input: ABTNodeClient.RequestTeamUserInput;
4850
4893
  }
4851
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
+
4852
4907
  interface GetTagsParams {
4853
4908
  input: ABTNodeClient.RequestTagsInput;
4854
4909
  }