@replyke/core
Version:
Replyke: Build interactive apps with social features like comments, votes, feeds, user lists, notifications, and more.
16 lines (15 loc) • 406 B
TypeScript
import { Entity } from "../../interfaces/models/Entity";
declare function useCreateEntity(): (props: {
referenceId?: string;
resource?: string;
title?: string;
content?: string;
media?: any[];
keywords?: string[];
location?: {
latitude: number;
longitude: number;
};
metadata?: Record<string, any>;
}) => Promise<Entity>;
export default useCreateEntity;