Skip to content

PromptScript API


Interface: SimpleFormatterResult

Defined in: formatters/src/create-simple-formatter.ts:53

Return type from the factory: the class itself (with static getSupportedVersions()) plus the pre-built VERSIONS constant.

Properties

Formatter

Formatter: {(): MarkdownInstructionFormatter; getSupportedVersions: SimpleFormatterVersions; }

Defined in: formatters/src/create-simple-formatter.ts:55

Concrete formatter class (instantiable via new)

Returns

MarkdownInstructionFormatter

getSupportedVersions()

getSupportedVersions(): SimpleFormatterVersions

Returns

SimpleFormatterVersions


VERSIONS

VERSIONS: SimpleFormatterVersions

Defined in: formatters/src/create-simple-formatter.ts:60

Pre-built version map, exported as <NAME>_VERSIONS