feat: add friend request tab in notifications

This commit is contained in:
gosangam
2026-06-18 22:45:40 +05:30
parent 0178f89f2b
commit 25db9d0eee
3 changed files with 170 additions and 25 deletions
+5
View File
@@ -741,6 +741,11 @@ export const relationships = {
`/u/${encodeURIComponent(handle)}/following?${followListQuery(opts)}`,
);
},
/** The caller's pending incoming follow requests (people who asked to follow
* you) — the notifications "Friend Requests" tab. Same shape as followers. */
incomingRequests(opts: FollowListParams = {}) {
return call<FollowList>(`/follow-requests?${followListQuery(opts)}`);
},
};
/** Lightweight user row in a followers / following list. */