tornado-subgraph/mustache/yaml.mustache

37 lines
798 B
Plaintext
Raw Permalink Normal View History

2021-06-09 15:34:06 +03:00
{{#yaml}}
specVersion: {{specVersion}}
description: {{description}}
repository: {{&repository}}
schema:
file: {{&schemaFile}}
dataSources:
{{#dataSources}}
- kind: {{&dataSourceKind}}
name: {{name}}
network: {{network}}
source:
address: {{&address}}
abi: {{abi}}
startBlock: {{startBlock}}
mapping:
kind: {{&mapping.kind}}
apiVersion: {{mapping.version}}
language: {{&mapping.language}}
file: {{&mappingFile}}
entities:
{{#entities}}
- {{.}}
{{/entities}}
abis:
{{#abis}}
- name: {{&name}}
2021-06-09 15:34:06 +03:00
file: {{&path}}
{{/abis}}
eventHandlers:
{{#events}}
- event: {{event}}
handler: {{handler}}
{{/events}}
{{/dataSources}}
{{/yaml}}