add support for Query Follower\Following(s) ...
This commit is contained in:
@@ -144,6 +144,9 @@ namespace xIdentityService.Constants
|
||||
[StringValue("Account/Friendship/{destUser}/RejectRequest")]
|
||||
RejectRequest,
|
||||
|
||||
[StringValue("Account/Friendship/{destUser}/FriendshipInfo")]
|
||||
FriendshipInfo,
|
||||
|
||||
[StringValue("Account/Friendship/{destUser}/IsFollower")]
|
||||
IsFollower,
|
||||
|
||||
@@ -159,6 +162,12 @@ namespace xIdentityService.Constants
|
||||
[StringValue("Account/Friendship/AllFollowers")]
|
||||
AllFollowers,
|
||||
|
||||
[StringValue("Account/Friendship/FollowersList")]
|
||||
FollowersList,
|
||||
|
||||
[StringValue("Account/Friendship/QueryFollowers")]
|
||||
QueryFollowers,
|
||||
|
||||
[StringValue("Account/Friendship/{destUser}/IsFollowing")]
|
||||
IsFollowing,
|
||||
|
||||
@@ -177,11 +186,8 @@ namespace xIdentityService.Constants
|
||||
[StringValue("Account/Friendship/FollowingsList")]
|
||||
FollowingsList,
|
||||
|
||||
[StringValue("Account/Friendship/FollowersList")]
|
||||
FollowersList,
|
||||
|
||||
[StringValue("Account/Friendship/{destUser}/FriendshipInfo")]
|
||||
FriendshipInfo,
|
||||
[StringValue("Account/Friendship/QueryFollowings")]
|
||||
QueryFollowings,
|
||||
#endregion
|
||||
|
||||
//
|
||||
|
||||
@@ -217,6 +217,11 @@ namespace xIdentityService.Interfaces
|
||||
string destUser
|
||||
);
|
||||
|
||||
Task<XFriendshipInfoDto> GetFriendshipInfo(
|
||||
XTokenResponse tokens,
|
||||
string destUser
|
||||
);
|
||||
|
||||
Task<bool> IsFollower(
|
||||
XTokenResponse tokens,
|
||||
string destUser
|
||||
@@ -236,6 +241,13 @@ namespace xIdentityService.Interfaces
|
||||
|
||||
Task<IEnumerable<XFriendshipFollower>> GetAllFollowers(XTokenResponse tokens);
|
||||
|
||||
Task<IEnumerable<string>> GetFollowingList(XTokenResponse tokens);
|
||||
|
||||
Task<XQueryResult<XFriendDto>> QueryFollowers(
|
||||
XQuery query,
|
||||
XTokenResponse tokens
|
||||
);
|
||||
|
||||
Task<bool> IsFollowing(
|
||||
XTokenResponse tokens,
|
||||
string destUser
|
||||
@@ -255,13 +267,11 @@ namespace xIdentityService.Interfaces
|
||||
|
||||
Task<IEnumerable<XFriendshipFollowing>> GetAllFollowings(XTokenResponse tokens);
|
||||
|
||||
Task<IEnumerable<string>> GetFollowingList(XTokenResponse tokens);
|
||||
|
||||
Task<IEnumerable<string>> GetFollowersList(XTokenResponse tokens);
|
||||
|
||||
Task<XFriendshipInfoDto> GetFriendshipInfo(
|
||||
XTokenResponse tokens,
|
||||
string destUser
|
||||
Task<XQueryResult<XFriendDto>> QueryFollowings(
|
||||
XQuery query,
|
||||
XTokenResponse tokens
|
||||
);
|
||||
#endregion
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user