@abtnode/types 1.16.49-beta-20250823-082650-626c1473 → 1.16.49-beta-20250827-025603-2bb1a7ee
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/lib/rpc_pb.d.ts +24 -2
- package/lib/type_pb.d.ts +2 -0
- package/package.json +2 -2
package/lib/rpc_pb.d.ts
CHANGED
|
@@ -736,15 +736,38 @@ export type TRequestUpdateUserExtra = {
|
|
|
736
736
|
remark: string;
|
|
737
737
|
extra: string;
|
|
738
738
|
};
|
|
739
|
+
export type TQueryUserFollowOptions = {
|
|
740
|
+
includeUserInfo: boolean;
|
|
741
|
+
includeFollowStatus: boolean;
|
|
742
|
+
};
|
|
739
743
|
export type TRequestUserFollows = {
|
|
740
744
|
teamDid: string;
|
|
741
745
|
userDid: string;
|
|
742
746
|
paging?: type_pb.TPaging;
|
|
743
747
|
sort?: type_pb.TUserSort;
|
|
748
|
+
options?: TQueryUserFollowOptions;
|
|
744
749
|
};
|
|
745
750
|
export type TRequestUserFollowsStats = {
|
|
751
|
+
teamDid: string;
|
|
752
|
+
userDids: string[];
|
|
753
|
+
};
|
|
754
|
+
export type TRequestCheckFollowing = {
|
|
755
|
+
teamDid: string;
|
|
756
|
+
userDids: string[];
|
|
757
|
+
followerDid: string;
|
|
758
|
+
};
|
|
759
|
+
export type TUserFollowOptions = {
|
|
760
|
+
skipNotification: boolean;
|
|
761
|
+
};
|
|
762
|
+
export type TRequestFollowUserAction = {
|
|
746
763
|
teamDid: string;
|
|
747
764
|
userDid: string;
|
|
765
|
+
followerDid: string;
|
|
766
|
+
options?: TUserFollowOptions;
|
|
767
|
+
};
|
|
768
|
+
export type TResponseCheckFollowing = {
|
|
769
|
+
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
|
|
770
|
+
data?: Record<string, any>;
|
|
748
771
|
};
|
|
749
772
|
export type TUserFollows = {
|
|
750
773
|
userDid: string;
|
|
@@ -760,8 +783,7 @@ export type TResponseUserFollows = {
|
|
|
760
783
|
};
|
|
761
784
|
export type TResponseFollowStats = {
|
|
762
785
|
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap];
|
|
763
|
-
|
|
764
|
-
following: number;
|
|
786
|
+
data?: Record<string, any>;
|
|
765
787
|
};
|
|
766
788
|
export type TRequestUpdateUserAddress = {
|
|
767
789
|
teamDid: string;
|
package/lib/type_pb.d.ts
CHANGED
|
@@ -880,6 +880,7 @@ export type TUserInfo = {
|
|
|
880
880
|
metadata?: TUserMetadata;
|
|
881
881
|
address?: TUserAddress;
|
|
882
882
|
userSessionsCount: number;
|
|
883
|
+
isFollowing: boolean;
|
|
883
884
|
};
|
|
884
885
|
export type TUserProfile = {
|
|
885
886
|
did: string;
|
|
@@ -904,6 +905,7 @@ export type TUserQuery = {
|
|
|
904
905
|
includeUserSessions: boolean;
|
|
905
906
|
includePassports: boolean;
|
|
906
907
|
includeConnectedAccounts: boolean;
|
|
908
|
+
includeFollowStatus: boolean;
|
|
907
909
|
};
|
|
908
910
|
export type TUserSort = {
|
|
909
911
|
updatedAt: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abtnode/types",
|
|
3
|
-
"version": "1.16.49-beta-
|
|
3
|
+
"version": "1.16.49-beta-20250827-025603-2bb1a7ee",
|
|
4
4
|
"description": "Typescript definitions generated from protobuf",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"abtnode",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"bugs": {
|
|
37
37
|
"url": "https://github.com/ArcBlock/abt-node/issues"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "2b70eea34e8bc8546abb09d38935e8906d9586fd"
|
|
40
40
|
}
|