@maschinenlesbar.org/openka-cli
    Preparing search index...

    Interface SourceStateStore

    interface SourceStateStore {
        getSourceState(source: string): SourceState;
        putSourceState(state: SourceState): void;
        sourceStateKeys(): string[];
    }

    Hierarchy (View Summary)

    Index
    • Parameters

      • source: string

      Returns SourceState

    • Parameters

      Returns void

    • Every source that has state in this corpus, sorted — including one that synced and stored nothing. The health report needs it: a source is otherwise only visible through the records it produced, so the very case worth flagging (discovery returned nothing) is the case that leaves no trace.

      Returns string[]