mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
1d228db305
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2726 Co-authored-by: BenoitRanque <25712958+BenoitRanque@users.noreply.github.com> GitOrigin-RevId: 0a7a0452ad6dc4790fb2a745b905d4ad30e35836
42 lines
1005 B
YAML
42 lines
1005 B
YAML
# 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
|
|
# JsonSchema: './src/types/**.schema.json'
|
|
Typescript: "./src/types/**.ts"
|
|
|
|
# Output file directory
|
|
output_directory: "./generated"
|
|
|
|
# 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:
|
|
python-version: "3.7"
|
|
# ruby: ~
|
|
# rust: ~
|
|
schema: ~
|
|
# swift: ~
|
|
# typescript:
|
|
# just-types: true
|