type

PluginDescriptor

PluginDescriptor is deterministic public metadata for one compiled plugin. It is copied into the canonical manifest so generators, migration planning, the admin build, and compatibility tooling all inspect the same declaration. Executable hooks, handlers, validators, and secrets never belong here.

Properties

PropertyTypeDescription
VersionstringVersion is the plugin's complete semantic release without a leading v.
GoPackagestringGoPackage is the canonical import path that provides the plugin.
APIVersionuint32APIVersion must equal PluginAPIVersion for this Ridu release.
RiduRiduCompatibilityRidu limits the framework releases allowed to compile this plugin.
Admin*AdminPluginMetadataAdmin describes the optional statically bundled admin half.
FieldTypes[]PluginFieldTypeFieldTypes maps every reusable plugin field to generated public types.

Full signature

type PluginDescriptor struct { // Version is the plugin's complete semantic release without a leading v. Version string // GoPackage is the canonical import path that provides the plugin. GoPackage string // APIVersion must equal PluginAPIVersion for this Ridu release. APIVersion uint32 // Ridu limits the framework releases allowed to compile this plugin. Ridu RiduCompatibility // Admin describes the optional statically bundled admin half. Admin *AdminPluginMetadata // FieldTypes maps every reusable plugin field to generated public types. FieldTypes []PluginFieldType }

Source core/plugin.go:24