bothy-sdk
    Preparing search index...

    Interface RenderContextOptions

    Options of renderContext.

    interface RenderContextOptions {
        boundary?: string;
        fileTexts?: Readonly<Record<string, string>> | ReadonlyMap<string, string>;
    }
    Index

    Properties

    boundary?: string

    The block boundary, 16 lowercase hexadecimal characters; only for tests. When a rendered text contains it, a random one is chosen instead.

    fileTexts?: Readonly<Record<string, string>> | ReadonlyMap<string, string>

    Extracted texts of attachments, keyed by file_id. Texts of files that are no attachment of the context are ignored.