@wepublish/api
Version:
API core for we.publish.
28 lines (27 loc) • 1.06 kB
TypeScript
import { PrismaClient } from '@prisma/client';
import { GraphQLResolveInfo } from 'graphql';
import { Context } from '../../context';
export declare const getAdminPeerProfile: (hostURL: string, websiteURL: string, authenticate: Context['authenticate'], 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;
}>;
export declare const getRemotePeerProfile: (hostURL: string, token: string, authenticate: Context['authenticate'], info: GraphQLResolveInfo, setting: PrismaClient['setting']) => Promise<any>;