MarkdownDocument

Unpublished development API. This package is under development and is not available as a published release.

Cumulative Markdown source for a generation; streaming updates append until completion, and a new generation replaces it.

import type { MarkdownDocument } from '@threadplane/content/markdown';

Declaration

export interface MarkdownDocument  {
  readonly content: string;
  readonly generation: string;
  readonly phase: 'streaming' | 'complete';
}

Members

content

readonly content: string;

generation

readonly generation: string;

phase

readonly phase: 'streaming' | 'complete';