mise API - v0.0.0
    Preparing search index...

    Interface DataFactsIO

    How the sweep reads: injected, so it is testable without a daemon, and so the provider that owns output paths can hand its reader in.

    interface DataFactsIO {
        header(path: string): Promise<DicomTagSet | null>;
        list(path: string): Promise<VFSItem[] | "refused" | null>;
        outputPath(instanceID: number): Promise<string | null>;
        series?(
            path: string,
        ): Promise<{ modality?: string; seriesDescription?: string } | null>;
    }
    Index
    • A folder's first entries; null when it is not there, refused when the store will not show it to this identity (a shared feed's data in someone else's uploads).

      Parameters

      • path: string

      Returns Promise<VFSItem[] | "refused" | null>

    • A job's output folder, or null when it has none.

      Parameters

      • instanceID: number

      Returns Promise<string | null>

    • What CUBE's own series record says of a series in its PACS store (modality, description), or null: asked before a header is read, since a record costs no file.

      Parameters

      • path: string

      Returns Promise<{ modality?: string; seriesDescription?: string } | null>