# @sqltools/types

> SQLTools interfaces and types

Latest version **0.2.1** (published 2026-06-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install @sqltools/types
pnpm add @sqltools/types
yarn add @sqltools/types
bun add @sqltools/types
```

## Health

**Score 55/100 (C)** — status: active.

Positive: has types; no vulnerabilities; high maintenance score.

Warnings: low downloads; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2026-06-10 |
| First published | 2020-05-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 31.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1767 |
| Maintainers | mtxr, gjsjohnmurray |
| Keywords | sqltools, vscode-sqltools |

## Links

- npm: https://www.npmjs.com/package/@sqltools/types
- Repository: https://github.com/mtxr/vscode-sqltools
- Homepage: https://github.com/mtxr/vscode-sqltools#readme
- Issues: https://github.com/mtxr/vscode-sqltools/issues
- npm.io page: https://npm.io/package/@sqltools/types

## Recent versions

- 0.2.1 (latest) — 2026-06-10
- 0.1.6 (beta) — 2022-08-21
- 0.2.0 — 2025-05-07
- 0.1.7 — 2023-01-04
- 0.1.5 — 2020-06-22
- 0.1.3 — 2020-06-02
- 0.1.2 — 2020-06-02
- 0.1.1 — 2020-06-02
- 0.1.0 — 2020-05-29
- 0.0.8 — 2020-05-28
- 0.0.7 — 2020-05-28
- 0.0.6 — 2020-05-26
- 0.0.5 — 2020-05-26
- 0.0.4 — 2020-05-25
- 0.0.3 — 2020-05-23
- … 3 more at https://npm.io/package/@sqltools/types/versions

## README

# SQLTools Interfaces & Types

[![GitHub](https://img.shields.io/github/license/mtxr/vscode-sqltools)](https://github.com/mtxr/vscode-sqltools/blob/dev/LICENSE)

Package with types and interfaces to develop SQLTools Plugins.

Please refer to @TBD

This package is part of [vscode-sqltools](https://vscode-sqltools.mteixeira.dev?umd_source=repository&utm_medium=readme&utm_campaign=types) extension.

# Changelog

### v0.2.1

- Add `passphrase` on createSshTunnel() to align with SSH tunneling enhancement implemented in AbstractDriver in @sqltools/base-driver@0.2.4

### v0.2.0

- Add IConnectionDriver.createSshTunnel() to align with SSH tunneling support implemented in AbstractDriver in @sqltools/base-driver@0.2.0

### v0.1.7

- New 0.27.0 features:
    - `variables` property of connections. [#1064](https://github.com/mtxr/vscode-sqltools/pull/1064)
    - `disableNodeDetectNotifications` setting. [#1060](https://github.com/mtxr/vscode-sqltools/pull/1060)
    - IDriverExtensionApi.resolveConnection(). [#1066](https://github.com/mtxr/vscode-sqltools/pull/1066)
    - Connection's runtime `isPasswordResolved` property. [#1066](https://github.com/mtxr/vscode-sqltools/pull/1066)

### v0.1.6

- IBaseQueries.fetchDatabases() can optionally pass an MConnectionExplorer.IChildItem in versions after 0.23.0.

### v0.1.5

- Allow IConnection to have any properties.

### v0.1.4

- Add boolean option `highlightQuery` to extension configuration so query highlight can be disabled/enabled.

### v0.1.3

- fixed `checkDependencies` being required. It's optional

### v0.1.2

- updated IConnectionDriver to export checkDependencies internal method

### v0.1.1

- vscode-languageserver and vscode-languageclient as devDependencies instead of peerDependecies

### v0.1.0

- First release

---
_Source: https://npm.io/package/@sqltools/types · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
