UNPKG

@replyke/core

Version:

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

19 lines (18 loc) 540 B
import { Entity } from "../../interfaces/models/Entity"; import { Mention } from "../../interfaces/models/Mention"; declare function useCreateEntity(): (props: { foreignId?: string; sourceId?: string; title?: string; content?: string; attachments?: Record<string, any>[]; keywords?: string[]; mentions?: Mention[]; location?: { latitude: number; longitude: number; }; metadata?: Record<string, any>; excludeUserId?: boolean; }) => Promise<Entity>; export default useCreateEntity;