@replyke/core
Version:
Replyke: Build interactive apps with social features like comments, votes, feeds, user lists, notifications, and more.
15 lines (14 loc) • 535 B
TypeScript
import type { User } from "../../../interfaces/models/User";
import { PaginatedResponse } from "../../../interfaces/PaginatedResponse";
export interface FollowingWithFollowInfo {
followId: string;
user: User;
followedAt: string;
}
export interface FetchFollowingByUserIdParams {
userId: string;
page?: number;
limit?: number;
}
declare function useFetchFollowingByUserId(): (params: FetchFollowingByUserIdParams) => Promise<PaginatedResponse<FollowingWithFollowInfo>>;
export default useFetchFollowingByUserId;