@graphprotocol/graph-cli
Version:
CLI for building for and deploying to The Graph
11 lines (10 loc) • 366 B
TypeScript
/// <reference types="node" />
import { URL } from 'url';
export declare const SUBGRAPH_STUDIO_URL = "https://api.studio.thegraph.com/deploy/";
export declare const validateNodeUrl: (node: string) => URL;
export declare const normalizeNodeUrl: (node: string) => string;
export declare function chooseNodeUrl({ node }: {
node?: string;
}): {
node: string;
};