@wepublish/api
Version:
API core for we.publish.
25 lines (24 loc) • 739 B
TypeScript
import { PrismaClient } from '@prisma/client';
export declare const getPeerProfile: (hostURL: string, websiteURL: string, peerProfile: PrismaClient['peerProfile']) => Promise<{
hostURL: string;
websiteURL: string;
name: string;
id: string;
logoID: string;
themeColor: string;
themeFontColor: string;
callToActionText: import(".prisma/client").Prisma.JsonValue;
callToActionURL: string;
callToActionImageURL: string;
callToActionImageID: string;
} | {
hostURL: string;
websiteURL: string;
name: string;
themeColor: string;
themeFontColor: string;
callToActionURL: string;
callToActionText: any[];
callToActionImageID: string;
callToActionImageURL: string;
}>;