UNPKG

phx-node-test-1

Version:

PHX NODE

17 lines (16 loc) 596 B
import { HttpService } from "@nestjs/axios"; export interface GrpcRequestType { query: string; hostname: string; variables?: Record<string, any> | null | undefined; } export declare class PHXGrpcClientCronService { private readonly httpService; private readonly logger; private readonly grpcGatewayUrl; private readonly projectSource; constructor(httpService: HttpService); debug(hostname: string): void; query({ query, variables, hostname, }: GrpcRequestType): Promise<any>; mutation({ query, variables, hostname, }: GrpcRequestType): Promise<any>; }