type

PluginFieldType

Generated Go, TypeScript, and JSON Schema contracts for a plugin field.

Properties

PropertyTypeDescription
EmbeddedTypes[]stringEmbeddedTypes lists tree.case selectors supplying ordered generic payload type arguments.
KeystringThe Key value.
TypeScriptPackagestringThe TypeScriptPackage value.
TypeScriptOutputstringThe TypeScriptOutput value.
TypeScriptInputstringThe TypeScriptInput value.
TypeScriptWherestringThe TypeScriptWhere value.
GoPackagestringThe GoPackage value.
GoTypestringThe GoType value.
JSONSchemajson.RawMessageThe JSONSchema value.

Full signature

type PluginFieldType struct { // EmbeddedTypes lists tree.case selectors supplying ordered generic payload type arguments. EmbeddedTypes []string `json:"embeddedTypes,omitempty"` Key string `json:"key"` TypeScriptPackage string `json:"typescriptPackage"` TypeScriptOutput string `json:"typescriptOutput"` TypeScriptInput string `json:"typescriptInput"` TypeScriptWhere string `json:"typescriptWhere,omitempty"` GoPackage string `json:"goPackage,omitempty"` GoType string `json:"goType,omitempty"` JSONSchema json.RawMessage `json:"jsonSchema,omitempty"` }

Source schema/manifest.go:200