Skip to content

PromptScript API


Interface: TargetConfig

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

Configuration for a single target.

Properties

convention?

optional convention: string

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

Output convention ('xml', 'markdown', or custom name)


enabled?

optional enabled: boolean

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

Whether this target is enabled


output?

optional output: string

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

Custom output path


version?

optional version: string

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

Target version or format variant. Use 'legacy' for deprecated formats.

Example

'legacy' | '1.0' | '2.0'