Interface AdminQuery<Response, Result>

interface AdminQuery<Response, Result> {
    query: DocumentNode;
    transformResponse?: ((result: Response, context: QueryContext) => MaybePromise<Result>);
    variables?: {};
}

Type Parameters

  • Response extends unknown
  • Result extends unknown = Response

Properties

query: DocumentNode
transformResponse?: ((result: Response, context: QueryContext) => MaybePromise<Result>)
variables?: {}