UNPKG

@leosprograms/vf-graphql-holochain

Version:

GraphQL schema bindings for the Holochain implementation of ValueFlows

20 lines (19 loc) 713 B
/** * Recipe Process record reference resolvers * * @package: HoloREA * @since: 2019-08-31 */ import { DNAIdMappings, VfModule, AddressableIdentifier } from '../types.js'; import { RecipeExchange, RecipeFlow } from '@leosprograms/vf-graphql'; declare const _default: (enabledVFModules: VfModule[] | undefined, dnaConfig: DNAIdMappings, conductorUri: string) => { recipeClauses: (record: RecipeExchange) => Promise<RecipeFlow[]>; recipeReciprocalClauses: (record: RecipeExchange) => Promise<RecipeFlow[]>; } & ({ revision: (record: RecipeExchange, args: { revisionId: AddressableIdentifier; }) => Promise<RecipeExchange>; } | { revision?: undefined; }); export default _default;