Riksdagsmonitor Intelligence Platform - v0.7.19
    Preparing search index...

    Interface PipelineOptions

    Common options accepted by every ContentPipeline.run() implementation.

    interface PipelineOptions {
        languages?: Language[];
        writeArticle?: (html: string, filename: string) => Promise<void>;
        allowDegradedContent?: boolean;
    }
    Index

    Properties

    languages?: Language[]

    Language variants to generate. Defaults to ['en', 'sv'].

    writeArticle?: (html: string, filename: string) => Promise<void>

    Callback invoked after each article HTML is generated. Used by the orchestrator to write files. When null the article is generated in-memory only (useful for tests / dry-run mode).

    allowDegradedContent?: boolean

    When true articles are generated even when source data is sparse. Defaults to false.