UNPKG

phx-node

Version:

PHX NODE

16 lines (15 loc) 693 B
import { HttpService } from "@nestjs/axios"; import { QueryOrPersistedId, SchemaGroup } from "./types"; export type GrpcRequestTypeV6 = QueryOrPersistedId & { variables?: Record<string, any> | null | undefined; } & SchemaGroup; export declare class PHXGrpcClientSystemServiceV6 { private readonly httpService; private readonly logger; private readonly internalGrpcGateway; private readonly projectSource; constructor(httpService: HttpService); debug(hostname: string): void; query({ query, variables, persistedId, schemaGroup, }: GrpcRequestTypeV6): Promise<any>; mutation({ query, variables, persistedId, schemaGroup }: GrpcRequestTypeV6): Promise<any>; }