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
| Property | Type | Description |
|---|---|---|
Version | string | Version is the plugin's complete semantic release without a leading v. |
GoPackage | string | GoPackage is the canonical import path that provides the plugin. |
APIVersion | uint32 | APIVersion must equal PluginAPIVersion for this Ridu release. |
Ridu | RiduCompatibility | Ridu limits the framework releases allowed to compile this plugin. |
Admin | *AdminPluginMetadata | Admin describes the optional statically bundled admin half. |
FieldTypes | []PluginFieldType | FieldTypes 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
}