UNPKG

phx-node-test

Version:

PHX NODE

17 lines (16 loc) 651 B
import { HttpService } from "@nestjs/axios"; import { ConfigService } from "@nestjs/config"; export interface GrpcRequestType { query: string; variables?: Record<string, any> | null | undefined; } export declare class PHXGrpcClientService { private readonly httpService; private readonly configService; private readonly request; private readonly internalGrpcGateway; private readonly projectSource; constructor(httpService: HttpService, configService: ConfigService, request: Request); query({ query, variables }: GrpcRequestType): Promise<any>; mutation({ query, variables }: GrpcRequestType): Promise<any>; }