/** * HoloREA GraphQL schema interface * * A GraphQL schema (suitable for use with `apollo-link-schema`) which defines * bindings between the ValueFlows protocol and a Holochain backend. * * @package: HoloREA * @since: 2019-05-20 */ import { APIOptions, DEFAULT_VF_MODULES, DNAIdMappings, CellId, VfModule } from './types.js'; import generateResolvers from './resolvers/index.js'; import * as hreaExtensionSchemas from './schema-extensions.js'; import { mapZomeFn, autoConnect, openConnection, sniffHolochainAppCells, remapCellId } from './connection.js'; export { generateResolvers, hreaExtensionSchemas, autoConnect, openConnection, sniffHolochainAppCells, mapZomeFn, DNAIdMappings, CellId, APIOptions, VfModule, DEFAULT_VF_MODULES, remapCellId, }; /** * A schema generator ready to be plugged in to a GraphQL client * * Required options: conductorUri, dnaConfig * * @return GraphQLSchema */ declare const bindSchema: (options: APIOptions) => Promise; export default bindSchema;