Skip to content

PromptScript API


Interface: CompileResult

Defined in: compiler/src/types.ts:121

Result of a compilation.

Properties

errors

errors: CompileError[]

Defined in: compiler/src/types.ts:127

Errors encountered during compilation


outputs

outputs: Map\<string, FormatterOutput>

Defined in: compiler/src/types.ts:125

Formatter outputs keyed by formatter name


stats

stats: CompileStats

Defined in: compiler/src/types.ts:131

Compilation statistics


success

success: boolean

Defined in: compiler/src/types.ts:123

Whether compilation succeeded


warnings

warnings: ValidationMessage[]

Defined in: compiler/src/types.ts:129

Warnings from validation