phx-node
Version:
PHX NODE
19 lines (18 loc) • 906 B
TypeScript
import { HttpService } from "@nestjs/axios";
import { QueryOrPersistedId, SchemaGroup } from "./types";
import { GrpcRequestDataCenterType } from "./grpc-client-system.service";
export type GrpcRequestTypeV5 = QueryOrPersistedId & {
hostname: string;
variables?: Record<string, any> | null | undefined;
} & SchemaGroup;
export declare class PHXGrpcClientSystemServiceV5 {
private readonly httpService;
private readonly logger;
private readonly internalGrpcGateway;
private readonly projectSource;
constructor(httpService: HttpService);
debug(hostname: string): void;
query({ query, variables, hostname, persistedId, schemaGroup, }: GrpcRequestTypeV5): Promise<any>;
mutation({ query, variables, hostname, persistedId, schemaGroup }: GrpcRequestTypeV5): Promise<any>;
queryAllSchool({ query, variables, persistedId, }: GrpcRequestDataCenterType): Promise<any>;
}