@leosprograms/vf-graphql-holochain
Version:
GraphQL schema bindings for the Holochain implementation of ValueFlows
20 lines (19 loc) • 510 B
TypeScript
/**
* Metadata resolvers
*
* @package: vf-graphql-holochain
* @since: 2022-07-28
*/
import { Agent } from '@leosprograms/vf-graphql';
import { VfModule, DNAIdMappings } from '../types.js';
interface RawRevision {
id: string;
time: Date;
agentPubKey: string;
}
declare const _default: (enabledVFModules: VfModule[] | undefined, dnaConfig: DNAIdMappings, conductorUri: string) => {
author: (record: RawRevision) => Promise<Agent>;
} | {
author?: undefined;
};
export default _default;