Skip to content

Commit a816579

Browse files
committedNov 23, 2024
feat(dialect): expose config type
#12
1 parent afad450 commit a816579

File tree

5 files changed

+5
-1
lines changed

5 files changed

+5
-1
lines changed
 

‎packages/dialect-bun-worker/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ bun install kysely kysely-bun-worker
1515
```ts
1616
import { BunWorkerDialect } from 'kysely-bun-worker'
1717

18-
const dialect = new SqliteWorkerDialect({
18+
const dialect = new BunWorkerDialect({
1919
url: ':memory:',
2020
})
2121
```

‎packages/dialect-bun-worker/src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import type { BunWorkerDialectConfig } from './type'
33
import { SqliteAdapter, SqliteIntrospector, SqliteQueryCompiler } from 'kysely'
44
import { BunWorkerDriver } from './driver'
55

6+
export type { BunWorkerDialectConfig, Promisable } from './type'
67
export { createOnMessageCallback } from './worker/utils'
78

89
export class BunWorkerDialect implements Dialect {

‎packages/dialect-sqlite-worker/src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import type { SqliteWorkerDialectConfig } from './type'
33
import { SqliteAdapter, SqliteIntrospector, SqliteQueryCompiler } from 'kysely'
44
import { SqliteWorkerDriver } from './driver'
55

6+
export type { Promisable, SqliteWorkerDialectConfig } from './type'
67
export { createOnMessageCallback } from './worker/util'
78

89
export class SqliteWorkerDialect implements Dialect {

‎packages/dialect-tauri/src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import type { TauriSqliteDialectConfig } from './type'
33
import { SqliteAdapter, SqliteIntrospector, SqliteQueryCompiler } from 'kysely'
44
import { TauriSqliteDriver } from './driver'
55

6+
export type { TauriSqliteDialectConfig } from './type'
67
/**
78
* https://github.com/tauri-apps/plugins-workspace/tree/dev/plugins/sql
89
*/

‎packages/dialect-wasqlite-worker/src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import type { WaSqliteWorkerDialectConfig } from './type'
33
import { SqliteAdapter, SqliteIntrospector, SqliteQueryCompiler } from 'kysely'
44
import { WaSqliteWorkerDriver } from './driver'
55

6+
export type { Promisable, WaSqliteWorkerDialectConfig } from './type'
67
export { createOnMessageCallback } from './worker/utils'
78

89
export {

0 commit comments

Comments
 (0)
Please sign in to comment.