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

    Class SessionConfig

    Manages session-specific configuration such as current working directory (CWD), active feed, and active plugin.

    Index
    cwdFile: string
    cwdFilename: string
    feedFile: string
    feedFilename: string
    pacsserverFile: string
    pacsserverFilename: string
    pluginFile: string
    pluginFilename: string
    • Set the active feed context.

      Parameters

      • feedID: string

        The ID of the feed.

      Returns Promise<boolean>

      True if successful.

    • Get the active PACS server context.

      Returns Promise<string | null>

      The saved PACS server identifier or null if not found.

    • Set the active PACS server context.

      Parameters

      • pacsServer: string

        The PACS server identifier.

      Returns Promise<boolean>

      True if successful.

    • Get the current working directory context.

      Returns Promise<string | null>

      The saved path or null if not found.

    • Set the current working directory context.

      Parameters

      • path: string

        The path to save.

      Returns Promise<boolean>

      True if successful.

    • Get the active plugin context.

      Returns Promise<string | null>

      The saved plugin ID or null if not found.

    • Set the active plugin context.

      Parameters

      • pluginID: string

        The ID of the plugin.

      Returns Promise<boolean>

      True if successful.