Open Pioneer Trails Packages
    Preparing search index...

    Type Alias SelectionSourceStatusObject

    SelectionSourceStatusObject:
        | { kind: "available" }
        | { kind: "unavailable"; reason?: string }

    Advanced form of the SelectionSourceStatus that allows providing a reason why the source is not available.

    Type declaration

    • { kind: "available" }
    • { kind: "unavailable"; reason?: string }
      • kind: "unavailable"
      • Optionalreason?: string

        If the status of this source is unavailable, the reason for this can be stored here.

        This will be displayed by the user interface.

        If it is not defined, a default message will be displayed instead.