@wepublish/api
Version:
API core for we.publish.
15 lines (14 loc) • 637 B
TypeScript
import { Prisma, PrismaClient } from '@prisma/client';
import { Context } from '../../context';
export declare const upsertPeerProfile: (input: Omit<Prisma.PeerProfileUncheckedUpdateInput, 'modifiedAt' | 'createdAt'> | Prisma.PeerProfileUncheckedCreateInput, hostURL: string, authenticate: Context['authenticate'], peerProfile: PrismaClient['peerProfile']) => Promise<{
hostURL: string;
name: string;
id: string;
logoID: string;
themeColor: string;
themeFontColor: string;
callToActionText: Prisma.JsonValue;
callToActionURL: string;
callToActionImageURL: string;
callToActionImageID: string;
}>;