DocumentBlock
Defined in: src/types/media.ts:339
Document content block.
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DocumentBlock(data): DocumentBlock;Defined in: src/types/media.ts:370
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
data | DocumentBlockData |
Returns
Section titled “Returns”DocumentBlock
Properties
Section titled “Properties”readonly type: "documentBlock";Defined in: src/types/media.ts:343
Discriminator for document content.
readonly name: string;Defined in: src/types/media.ts:348
Document name.
Implementation of
Section titled “Implementation of”format
Section titled “format”readonly format: DocumentFormat;Defined in: src/types/media.ts:353
Document format.
Implementation of
Section titled “Implementation of”source
Section titled “source”readonly source: DocumentSource;Defined in: src/types/media.ts:358
Document source.
Implementation of
Section titled “Implementation of”citations?
Section titled “citations?”readonly optional citations: { enabled: boolean;};Defined in: src/types/media.ts:363
Citation configuration.
enabled
Section titled “enabled”enabled: boolean;Implementation of
Section titled “Implementation of”context?
Section titled “context?”readonly optional context: string;Defined in: src/types/media.ts:368
Context information for the document.