2020-10-30 17:52:55 +03:00
|
|
|
# Accepts "Typescript" or "JsonSchema"
|
|
|
|
# Override this with --typescript or --jsonschema from CLI
|
|
|
|
selected_input_language: Typescript
|
|
|
|
|
|
|
|
# Glob patterns for the target input files of selected language
|
|
|
|
input_files:
|
|
|
|
# Paths can be either a string, or an array of strings
|
2021-11-10 08:36:14 +03:00
|
|
|
# JsonSchema: './src/types/**.schema.json'
|
|
|
|
Typescript: "./src/types/**.ts"
|
2020-10-30 17:52:55 +03:00
|
|
|
|
|
|
|
# Output file directory
|
2021-11-10 08:36:14 +03:00
|
|
|
output_directory: "./generated"
|
2020-10-30 17:52:55 +03:00
|
|
|
|
|
|
|
# Quicktype config per-language
|
|
|
|
# Config is an object of type "rendererOptions"
|
|
|
|
# See: https://github.com/quicktype/quicktype/blob/master/src/quicktype-core/language/TypeScriptFlow.ts#L20
|
|
|
|
quicktype_config:
|
|
|
|
# c++: ~
|
|
|
|
# crystal: ~
|
|
|
|
# csharp: ~
|
|
|
|
# dart: ~
|
|
|
|
# elm: ~
|
|
|
|
# flow: ~
|
|
|
|
go:
|
|
|
|
package: hasura_metadata
|
|
|
|
haskell: ~
|
|
|
|
# java:
|
|
|
|
# package: org.hasura.metadata
|
|
|
|
# kotlin:
|
|
|
|
# framework: kotlinx
|
|
|
|
# package: org.hasura.metadata
|
|
|
|
# objective-c: ~
|
|
|
|
# pike: ~
|
|
|
|
python:
|
2021-11-10 08:36:14 +03:00
|
|
|
python-version: "3.7"
|
2020-10-30 17:52:55 +03:00
|
|
|
# ruby: ~
|
|
|
|
# rust: ~
|
|
|
|
schema: ~
|
|
|
|
# swift: ~
|
2021-11-10 08:36:14 +03:00
|
|
|
# typescript:
|
|
|
|
# just-types: true
|