UNPKG

@replyke/core

Version:

Replyke: Build interactive apps with social features like comments, votes, feeds, user lists, notifications, and more.

14 lines (13 loc) 484 B
import type { User } from "../../../interfaces/models/User"; import { PaginatedResponse } from "../../../interfaces/PaginatedResponse"; export interface FollowingWithFollowInfo { followId: string; user: User; followedAt: string; } export interface FetchFollowingParams { page?: number; limit?: number; } declare function useFetchFollowing(): (params?: FetchFollowingParams) => Promise<PaginatedResponse<FollowingWithFollowInfo>>; export default useFetchFollowing;