fix: type errors in console-core and session
- Fix ExtractTablesWithRelations type compatibility with drizzle-orm beta - Migrate Session.list() and Session.children() from Storage to SQLite
This commit is contained in:
parent
b7a323355c
commit
4ec6293054
2 changed files with 15 additions and 15 deletions
|
|
@ -4,7 +4,6 @@ export * from "drizzle-orm"
|
|||
import { Client } from "@planetscale/database"
|
||||
|
||||
import { MySqlTransaction, type MySqlTransactionConfig } from "drizzle-orm/mysql-core"
|
||||
import type { ExtractTablesWithRelations } from "drizzle-orm"
|
||||
import type { PlanetScalePreparedQueryHKT, PlanetscaleQueryResultHKT } from "drizzle-orm/planetscale-serverless"
|
||||
import { Context } from "../context"
|
||||
import { memo } from "../util/memo"
|
||||
|
|
@ -14,7 +13,7 @@ export namespace Database {
|
|||
PlanetscaleQueryResultHKT,
|
||||
PlanetScalePreparedQueryHKT,
|
||||
Record<string, never>,
|
||||
ExtractTablesWithRelations<Record<string, never>>
|
||||
any
|
||||
>
|
||||
|
||||
const client = memo(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue