Interface SupabaseAdapterOptions

Options accepted when opening a storage adapter.

interface SupabaseAdapterOptions {
    connectionString?: string;
    poolConfig?: {
        max?: number;
        min?: number;
        idleTimeoutMillis?: number;
        connectionTimeoutMillis?: number;
    };
    ssl?: boolean | {
        rejectUnauthorized: boolean;
    };
    filePath?: string;
    readOnly?: boolean;
    adapterOptions?: Record<string, unknown>;
}

Hierarchy (view full)

Properties

connectionString?: string

Connection string (PostgreSQL, etc.).

poolConfig?: {
    max?: number;
    min?: number;
    idleTimeoutMillis?: number;
    connectionTimeoutMillis?: number;
}
ssl?: boolean | {
    rejectUnauthorized: boolean;
}
filePath?: string

Absolute path to the primary database file (when applicable).

readOnly?: boolean

Optional flag to force read-only mode.

adapterOptions?: Record<string, unknown>

Arbitrary adapter-specific options bag.