UNPKG

@graphql-mesh/raml

Version:
15 lines (14 loc) 577 B
import { GetMeshSourceOptions, MeshHandler, MeshSource, YamlConfig } from '@graphql-mesh/types'; import { RAMLLoaderBundle } from '@omnigraph/raml'; export default class RAMLHandler implements MeshHandler { private name; private config; private bundleStoreProxy; private baseDir; private logger; private fetch; private pubsub; constructor({ name, config, baseDir, fetchFn, store, pubsub, logger }: GetMeshSourceOptions<YamlConfig.RAMLHandler>); getDereferencedBundle(): Promise<RAMLLoaderBundle>; getMeshSource(): Promise<MeshSource>; }