Skip to main content

EXPORT_FORMATS

@forge/monorepo


@forge/monorepo / backend/src / EXPORT_FORMATS

Variable: EXPORT_FORMATS

const EXPORT_FORMATS: readonly ["pdf", "markdown"]

Defined in: backend/src/persistence/index.ts:969

A rendered export of one artifact version (#134).

Not an artifact version. #133's versions are versions of the content; a PDF is a rendering of one. Making a render a new version would bump latestVersion for a reason unrelated to the content, and "the newest version" would stop meaning "the newest thing the assistant wrote". The issue's wording said artifact version; this is the deviation, and the reason.

Keyed on (artifactId, version, format), which is what makes "re-downloaded without re-rendering" a constraint rather than a cache someone remembers to check.