Interface PromptValidationResult

Validation result for prompt variables

interface PromptValidationResult {
    valid: boolean;
    errors: Record<string, string>;
    missingRequired: string[];
    typeMismatches: Record<string, { expected: string; actual: string }>;
}

Properties

valid: boolean

Whether validation passed

errors: Record<string, string>

Validation errors by variable name

missingRequired: string[]

Missing required variables

typeMismatches: Record<string, { expected: string; actual: string }>

Variables with type mismatches