@graphprotocol/graph-cli
Version:
CLI for building for and deploying to The Graph
12 lines (11 loc) • 485 B
TypeScript
import immutable from 'immutable';
import Protocol from '../protocols/index.js';
import * as tsCodegen from './typescript.js';
export default class DataSourceTemplateCodeGenerator {
template: immutable.Map<any, any>;
protocolTemplateCodeGen: any;
constructor(template: immutable.Map<any, any>, protocol: Protocol);
generateModuleImports(): tsCodegen.ModuleImports[];
generateTypes(): immutable.List<tsCodegen.Class>;
_generateTemplateType(): tsCodegen.Class;
}