UNPKG

phx-node

Version:

PHX NODE

16 lines (15 loc) 771 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 PHXGrpcClientServiceV6 { private readonly httpService; private readonly request; private readonly internalGrpcGateway; private readonly projectSource; constructor(httpService: HttpService, request: Request); query({ query, variables, persistedId, schemaGroup }: GrpcRequestTypeV6): Promise<any>; mutation({ query, variables, persistedId, schemaGroup }: GrpcRequestTypeV6): Promise<any>; queryAllSchool({ query, variables, persistedId, schemaGroup }: GrpcRequestTypeV6): Promise<any>; }