UNPKG

phx-node-test-1

Version:

PHX NODE

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