UNPKG

@graphql-mesh/odata

Version:
12 lines (11 loc) 494 B
import type { GetMeshSourcePayload, MeshHandler, MeshHandlerOptions, MeshSource, YamlConfig } from '@graphql-mesh/types'; export default class ODataHandler implements MeshHandler { private name; private config; private logger; private importFn; private baseDir; private schema; constructor({ name, config, baseDir, importFn, logger, store, }: MeshHandlerOptions<YamlConfig.ODataHandler>); getMeshSource({ fetchFn }: GetMeshSourcePayload): Promise<MeshSource>; }