@graphprotocol/graph-cli
Version:
CLI for building for and deploying to The Graph
10 lines (9 loc) • 333 B
TypeScript
/**
* Validates supplied IPFS URL and provides warnings for deprecated/invalid URLs
* @param ipfsUrl - The IPFS URL to validate, can be undefined
* @returns An object with the validated URL and optional warning message
*/
export declare function getGraphIpfsUrl(ipfsUrl?: string): {
ipfsUrl: string;
warning?: string;
};