Type object
File match metatype.yml metatype.yaml
Schema URL https://catalog.lintel.tools/schemas/schemastore/metatype-configuration/latest.json
Source https://raw.githubusercontent.com/metatypedev/metatype/main/tools/schema/metatype.json

Validate with Lintel

npx @lintel/lintel check
Type: object

Properties

typegates Record<string, object>
typegraphs object

Typegraph deployment configurations. See: https://metatype.dev/docs/reference/typegraph.

4 nested properties
python object

Configuration for loading typegraph files.

2 nested properties
include string | string[]
exclude string | string[]
javascript object

Configuration for loading typegraph files.

2 nested properties
include string | string[]
exclude string | string[]
typescript object

Configuration for loading typegraph files.

2 nested properties
include string | string[]
exclude string | string[]
materializers object

Materializer configurations for typegraphs.

1 nested properties
prisma object

Prisma materializer configuration.

1 nested properties
migrations_path string

The directory for storing Prisma migration files.

metagen object

Metagen configurations. See: https://metatype.dev/docs/reference/metagen.

1 nested properties
targets Record<string, generatorConfig[]>

Code generation target configurations.

Definitions

path string | string[]
typegraphLoaderConfig object

Configuration for loading typegraph files.

include string | string[]
exclude string | string[]
generatorConfigBase object
typegraph_name string

The name of the typegraph.

typegraph_path string

The target typegraph file path.

path string

The directory for the generated files.

template_dir string

The directory containing template files.

rustGeneratorConfigBase object
skip_cargo_toml boolean

Whether to skip generating the Cargo.toml file.

skip_lib_rs boolean

Whether to skip generating the lib.rs file.

crate_name string

Generated crate name.

clientTsGeneratorConfig object
generator const: "client_ts"
Constant: "client_ts"
clientPyGeneratorConfig object
generator const: "client_py"
Constant: "client_py"
clientRsGeneratorConfig
fdkTsGeneratorConfig object
generator const: "fdk_ts"
Constant: "fdk_ts"
stubbed_runtimes string[]
exclude_client boolean

Whether to generate metagen client code.

fdkPyGeneratorConfig object
generator const: "fdk_py"
Constant: "fdk_py"
exclude_client boolean

Whether to generate metagen client code.

fdkRsGeneratorConfig
fdkSubGeneratorConfig object
generator const: "fdk_substantial"
Constant: "fdk_substantial"
generatorConfig