UNPKG

@replyke/core

Version:

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

9 lines (8 loc) 376 B
import { Entity } from "../../interfaces/models/Entity"; declare function useFetchSingleEntity(): ({ entityId, referenceId, shortId, createIfNotFound, }: { entityId?: string | null | undefined; referenceId?: string | null | undefined; shortId?: string | null | undefined; createIfNotFound?: boolean; }) => Promise<Entity>; export default useFetchSingleEntity;