JsonDocument

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

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

import type { JsonDocument } from '@threadplane/content/json';

Declaration

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

Members

content

readonly content: string;

generation

readonly generation: string;

phase

readonly phase: 'streaming' | 'complete';