UNPKG

@replyke/core

Version:

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

18 lines (17 loc) 716 B
import { Space, SpaceIncludeParam } from "../../interfaces/models/Space"; import { PaginatedResponse } from "../../interfaces/PaginatedResponse"; import { SpaceListSortByOptions } from "../../interfaces/SpaceListSortByOptions"; export interface FetchManySpacesProps { page?: number; limit?: number; sortBy?: SpaceListSortByOptions; searchSlug?: string | null; searchName?: string | null; searchDescription?: string | null; searchAny?: string | null; memberOf?: boolean; parentSpaceId?: string | null; include?: SpaceIncludeParam; } declare function useFetchManySpaces(): (params?: FetchManySpacesProps) => Promise<PaginatedResponse<Space>>; export default useFetchManySpaces;