UNPKG

ts-api-core

Version:

Nodejs api framework core

13 lines (12 loc) 495 B
import { RequestContext } from '../context/request.context'; import { BaseRouteRawWrapper } from './base.route.raw.wrapper'; import { WrapperResult } from './base.wrapper'; /** * 动态执行 `GraphQL` 请求数据加工基类 */ export declare class BaseRouteGraphWrapper extends BaseRouteRawWrapper { private readonly TAG; executeRequest(context: RequestContext): Promise<WrapperResult<any | undefined>>; /** 发起 GraphQL 查询请求 */ private callGraphQL; }