@graphprotocol/graph-cli
Version:
CLI for building for and deploying to The Graph
19 lines (18 loc) • 736 B
TypeScript
export declare function disambiguateNames<T>({ values, getName, setName, }: {
values: T[];
getName: (value: T, index: number) => string;
setName: (value: T, name: string) => void;
}): void[];
export declare function handleReservedWord(name: string): string;
export declare function isTupleType(t: string): t is "tuple";
export declare function containsTupleType(t: string): true | RegExpMatchArray | null;
export declare function isTupleArrayType(t: string): RegExpMatchArray | null;
export declare function isTupleMatrixType(t: string): RegExpMatchArray | null;
export declare const unrollTuple: ({ path, value, }: {
path: string[];
index: number;
value: any;
}) => {
path: string[];
type: string;
}[];