@replyke/core
Version:
Replyke: Build interactive apps with social features like comments, votes, feeds, user lists, notifications, and more.
19 lines (18 loc) • 520 B
TypeScript
import { AuthUser } from "../../interfaces/models/User";
export type UpdateUserParams = {
name?: string | null;
username?: string | null;
avatar?: string | null;
bio?: string;
birthdate?: Date | null;
location?: {
latitude: number;
longitude: number;
} | null;
metadata?: Record<string, any>;
secureMetadata?: Record<string, any>;
};
declare function useUpdateUser(): ({ update }: {
update: UpdateUserParams;
}) => Promise<AuthUser>;
export default useUpdateUser;