UNPKG

@graphql-mesh/fusion-execution

Version:
19 lines (18 loc) 1.13 kB
import { ExecutableResolverOperationNode } from './execution.cjs'; import { ResolverOperationNode } from './query-planning.cjs'; export interface SerializedResolverOperationNode { id?: number; subgraph: string; resolverOperationDocument: string; resolverDependencies?: SerializedResolverOperationNode[]; resolverDependencyFieldMap?: Record<string, SerializedResolverOperationNode[]>; resolverPreDependencies?: SerializedResolverOperationNode[]; batch?: boolean; defer?: boolean; } export declare function serializeResolverOperationNode(resolverOperationNode: ResolverOperationNode & { id?: number; }): SerializedResolverOperationNode; export declare function deserializeResolverOperationNode(serializedResolverOperationNode: SerializedResolverOperationNode): ResolverOperationNode; export declare function deserializeResolverOperationNodeExecutable(serializedNode: SerializedResolverOperationNode): ExecutableResolverOperationNode; export declare function serializeExecutableResolverOperationNode(executableResolverOperationNode: ExecutableResolverOperationNode): SerializedResolverOperationNode;