UNPKG

phx-node

Version:

PHX NODE

15 lines (14 loc) 670 B
import { HttpService } from "@nestjs/axios"; import { QueryOrPersistedId, SchemaGroup } from "./types"; export type GrpcRequestTypeV5 = QueryOrPersistedId & { variables?: Record<string, any> | null | undefined; } & SchemaGroup; export declare class PHXGrpcClientServiceV5 { private readonly httpService; private readonly request; private readonly internalGrpcGateway; private readonly projectSource; constructor(httpService: HttpService, request: Request); query({ query, variables, persistedId, schemaGroup }: GrpcRequestTypeV5): Promise<any>; mutation({ query, variables, persistedId, schemaGroup }: GrpcRequestTypeV5): Promise<any>; }