diff options
author | 2024-06-10 09:53:38 -0600 | |
---|---|---|
committer | 2024-06-10 16:53:38 +0100 | |
commit | 29463dff52f2e74d0d522168afe6faf70ff2fabb (patch) | |
tree | 1b4e579af974548cc317af8023bd4cee8d7d5886 /packages/db/src/runtime/virtual.ts | |
parent | 2bdca27ff4002efd330667b0b4ca3e00d5b7a2db (diff) | |
download | astro-29463dff52f2e74d0d522168afe6faf70ff2fabb.tar.gz astro-29463dff52f2e74d0d522168afe6faf70ff2fabb.tar.zst astro-29463dff52f2e74d0d522168afe6faf70ff2fabb.zip |
Export type Database from db/runtime (#11216)
* import and export in index.ts
* remove import and export from virtual.ts
* add changset
* Update .changeset/warm-pets-tap.md
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
---------
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Diffstat (limited to '')
-rw-r--r-- | packages/db/src/runtime/virtual.ts | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/packages/db/src/runtime/virtual.ts b/packages/db/src/runtime/virtual.ts index 4159e74c1..6f008fe0d 100644 --- a/packages/db/src/runtime/virtual.ts +++ b/packages/db/src/runtime/virtual.ts @@ -11,10 +11,6 @@ import type { TextColumnOpts, } from '../core/types.js'; -import type { LibSQLDatabase } from 'drizzle-orm/libsql'; - -export type Database = Omit<LibSQLDatabase, 'transaction'>; - function createColumn<S extends string, T extends Record<string, unknown>>(type: S, schema: T) { return { type, |