| 1 | export interface ReleaseDocSource { path: string; sha256: string; content: string } |
| 2 | export interface ReleaseDocTopic { id: string; slug: string; sources: ReleaseDocSource[]; missing: string[] } |
| 3 | export interface ReleaseDocsJson { |
| 4 | format: string; |
| 5 | tag: string; |
| 6 | version: string; |
| 7 | topics: ReleaseDocTopic[]; |
| 8 | omitted: { id: string; slug: string; missing: string[] }[]; |
| 9 | } |
| 10 | type Release = { tag: string; version: string }; |
| 11 | export const RELEASE_DOCS_PATH: string; |
| 12 | export function tagResolves(tag: string): boolean; |
| 13 | export function deriveReleaseDocs(webDir: string, release: Release | null): ReleaseDocsJson | null; |
| 14 | export function serializeReleaseDocs(snapshot: ReleaseDocsJson): string; |
| 15 | export function readCommittedReleaseDocs(): ReleaseDocsJson | null; |
| 16 | export function refreshReleaseDocs(webDir: string, release: Release | null): ReleaseDocsJson | null; |
| 17 | export function checkReleaseDocs(snapshot: ReleaseDocsJson | null, release: Release | null, registry: { slug: string }[], derived: ReleaseDocsJson | null, index?: unknown, options?: { allowShallow?: boolean }): string[]; |
| 18 | export function releaseDocsIndex(snapshot: ReleaseDocsJson): { tag: string; slugs: string[]; omitted: string[] }; |
| 19 | export function readCommittedReleaseDocsIndex(): { tag: string; slugs: string[]; omitted: string[] } | null; |
| 20 | export function currentRelease(): Release | null; |
| 21 |