@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 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
  }