UNPKG

@omnigraph/odata

Version:
10 lines (9 loc) 529 B
import type { GraphQLFieldResolver } from 'graphql'; import type { DataloaderFactory } from '../getDataloaderFactory.js'; export interface BoundFunctionResolverOpts { functionRef: string; expandNavProps: boolean; dataloaderFactory: DataloaderFactory; headersFactory: (resolverData: any, method: string) => Record<string, string>; } export declare function createBoundFunctionResolver({ functionRef, expandNavProps, dataloaderFactory, headersFactory, }: BoundFunctionResolverOpts): GraphQLFieldResolver<any, any>;