tornado-subgraph/mustache/yaml.mustache

37 lines
797 B
Plaintext
Raw Permalink Normal View History

2021-06-09 14:34:06 +02: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}}
file: {{&path}}
{{/abis}}
eventHandlers:
{{#events}}
- event: {{event}}
handler: {{handler}}
{{/events}}
{{/dataSources}}
{{/yaml}}