UNPKG

phx-node-test-1

Version:

PHX NODE

15 lines (14 loc) 532 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 grpcGatewayUrl; private readonly projectSource; constructor(httpService: HttpService, request: Request); query({ query, variables }: GrpcRequestType): Promise<any>; mutation({ query, variables }: GrpcRequestType): Promise<any>; }