UNPKG

@graphprotocol/graph-cli

Version:

CLI for building for and deploying to The Graph

15 lines (14 loc) 584 B
import { URL } from 'node:url'; import Compiler from '../compiler/index.js'; import Protocol from '../protocols/index.js'; interface CreateCompilerOptions { ipfs: string | URL | undefined; headers?: Headers | Record<string, string>; outputDir: string; outputFormat: string; skipMigrations: boolean; blockIpfsMethods?: RegExpMatchArray; protocol: Protocol; } export declare function createCompiler(manifest: string, { ipfs, headers, outputDir, outputFormat, skipMigrations, blockIpfsMethods, protocol, }: CreateCompilerOptions): Compiler | null; export {};