type
PluginFieldType
Generated Go, TypeScript, where, and OpenAPI mapping for a plugin field.
Properties
| Property | Type | Description |
|---|---|---|
EmbeddedTypes | []string | EmbeddedTypes lists tree.case selectors supplying ordered generic payload type arguments. |
Key | string | PluginField key stored in the schema manifest. |
TypeScriptPackage | string | Package exporting the named TypeScript contracts. |
TypeScriptOutput | string | Stored document value type export. |
TypeScriptInput | string | Create and update value type export. |
TypeScriptWhere | string | Optional query operand type export. |
GoPackage | string | Optional generated-model Go import path. |
GoType | string | Exported type in GoPackage; both Go fields are optional together. |
JSONSchema | []byte | Deterministic OpenAPI 3.1 schema for one field value. |
How it works
Go type mapping is optional and falls back to json.RawMessage. TypeScript names are emitted as type-only imports. JSONSchema must be deterministic.