Interface
AddonKindDefinition
@ng-forge/dynamic-forms
Per-kind registration metadata.
Registered via withCustomAddon(...) features (or adapter feature
helpers like ); resolved at render time by
withPrimeNGAddons()<df-addon-slot>.
Signature
interface AddonKindDefinition<
T extends BaseAddon = BaseAddon
>Type Parameters
Properties
| Name | Type | Description |
|---|---|---|
kind | string | Discriminant matching addon.kind. |
loadComponent | LazyComponentLoader | Lazy loader for the kind's renderer component. |
validate ? | AddonShapeValidator<T> | undefined | Optional shape validator — throw DynamicFormError to drop the addon with a warning. |
schema ? | AddonKindSchema | undefined | Optional JSON Schema fragment for MCP / pre-flight tooling. |
jsonSafe ? | boolean | undefined | Whether the kind survives |
packages/dynamic-forms/src/lib/models/addon/addon-kind.ts:69