| 1 | import { IPluginConfig, PluginConfigAnswers } from '../types' |
| 2 | |
| 3 | interface EvaluatePluginConfigOptions { |
| 4 | /** |
| 5 | * Optional logger callback invoked when a `choices` or `default` function |
| 6 | * throws. The runtime can wire this to `ctx.log.warn` so degraded fields |
| 7 | * are visible. Receives `(fieldName, kind, error)`. |
| 8 | */ |
| 9 | onError?: (fieldName: string, kind: 'choices' | 'default', error: unknown) => void |
| 10 | } |
| 11 | |
| 12 | /** |
| 13 | * Evaluate a Plugin Config Schema, resolving function-form `choices` and |
nothing calls this directly
no outgoing calls
no test coverage detected