phx-node-test
Version:
PHX NODE
15 lines (14 loc) • 530 B
TypeScript
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>;
}