type

PluginFieldType

Generated Go, TypeScript, where, and OpenAPI mapping for a plugin field.

Source ridu.go:108

Keystring
PluginField key stored in the schema manifest.
TypeScriptPackagestring
Package exporting the named TypeScript contracts.
TypeScriptOutputstring
Stored document value type export.
TypeScriptInputstring
Create and update value type export.
TypeScriptWherestring
Optional query operand type export.
GoPackagestring
Optional generated-model Go import path.
GoTypestring
Exported type in GoPackage; both Go fields are optional together.
JSONSchema[]byte
Deterministic OpenAPI 3.1 schema for one field value.

Go type mapping is optional and falls back to json.RawMessage. TypeScript names are emitted as type-only imports. JSONSchema must be deterministic.