@leosprograms/vf-graphql-holochain
Version:
GraphQL schema bindings for the Holochain implementation of ValueFlows
25 lines (24 loc) • 765 B
TypeScript
/**
* Resolvers for Fulfillment fields
*
* @package: HoloREA
* @since: 2019-08-27
*/
import { DNAIdMappings, VfModule, AddressableIdentifier } from '../types.js';
import { Fulfillment, EconomicEvent, Commitment } from '@leosprograms/vf-graphql';
declare const _default: (enabledVFModules: VfModule[] | undefined, dnaConfig: DNAIdMappings, conductorUri: string) => ({
fulfills: (root: any, args: any) => Promise<Commitment>;
} | {
fulfills?: undefined;
}) & ({
fulfilledBy: (root: any, args: any) => Promise<EconomicEvent>;
} | {
fulfilledBy?: undefined;
}) & ({
revision: (record: Fulfillment, args: {
revisionId: AddressableIdentifier;
}) => Promise<Fulfillment>;
} | {
revision?: undefined;
});
export default _default;