Flarum (2.x)
    Preparing search index...
    interface EditConnectionModalAttrs {
        connection?: Connection;
        driver?: string;
        listedAs?: string | null;
        lists?: ModelLists;
        name?: string;
        onsave: (name: string, connection: Connection) => void;
        takenNames: string[];
    }

    Hierarchy (View Summary)

    Index
    connection?: Connection
    driver?: string

    The provider a new connection starts with.

    listedAs?: string | null

    The saved connection whose models can be listed, if this is one.

    lists?: ModelLists
    name?: string

    Set when editing; a new connection has none yet.

    onsave: (name: string, connection: Connection) => void
    takenNames: string[]