Interface MetabaseNodeParameters

Source
interface MetabaseNodeParameters {
    alertId?: string;
    databaseId?: string;
    dbName?: string;
    engine?:
        | "mysql"
        | "postgres"
        | "sqlite"
        | "h2"
        | "mongo"
        | "redshift";
    filePath?: string;
    format?: "json"
    | "csv"
    | "xlsx";
    fullSync?: boolean;
    host?: string;
    metricId?: string;
    name?: string;
    operation?:
        | "get"
        | "getAll"
        | "getFields"
        | "resultData"
        | "addNewDatasource";
    password?: string;
    port?: number;
    questionId?: string;
    resource?: | "questions"
    | "alerts"
    | "databases"
    | "metrics";
    simple?: boolean;
    user?: string;
}

Properties§

Source§

readonly alertId?: string

Source§

readonly databaseId?: string

Source§

readonly dbName?: string

Source§

readonly engine?:
    | "mysql"
    | "postgres"
    | "sqlite"
    | "h2"
    | "mongo"
    | "redshift"

Default: "postgres"

Source§

readonly filePath?: string

Source§

readonly format?: "json" | "csv" | "xlsx"

Default: "csv"

Source§

readonly fullSync?: boolean

Default: true

Source§

readonly host?: string

Source§

readonly metricId?: string

Source§

readonly name?: string

Source§

readonly operation?:
    | "get"
    | "getAll"
    | "getFields"
    | "resultData"
    | "addNewDatasource"

Default: "getAll"

Source§

readonly password?: string

Type options: {"password":true}

Source§

readonly port?: number

Default: 5432

Source§

readonly questionId?: string

Source§

readonly resource?: "questions" | "alerts" | "databases" | "metrics"

Default: "questions"

Source§

readonly simple?: boolean

Whether to return a simplified version of the response instead of the raw data Default: true

Source§

readonly user?: string