UNPKG

@replyke/core

Version:

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

11 lines (10 loc) 435 B
import { Space, SpaceIncludeParam } from "../../interfaces/models/Space"; import { PaginatedResponse } from "../../interfaces/PaginatedResponse"; export interface FetchSpaceChildrenProps { spaceId: string; page?: number; limit?: number; include?: SpaceIncludeParam; } declare function useFetchSpaceChildren(): (props: FetchSpaceChildrenProps) => Promise<PaginatedResponse<Space>>; export default useFetchSpaceChildren;