UNPKG

phx-node-test

Version:

PHX NODE

15 lines (14 loc) 530 B
import { HttpService } from "@nestjs/axios"; export interface GrpcRequestType { query: string; variables?: Record<string, any> | null | undefined; hostname: string; } export declare class PHXGrpcBackgroundService { private readonly httpService; private readonly grpcGatewayUrl; private readonly projectSource; constructor(httpService: HttpService); query({ query, variables, hostname }: GrpcRequestType): Promise<any>; mutation({ query, variables, hostname }: GrpcRequestType): Promise<any>; }