@stacksjs/query-builder 0.59.11 → 0.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/query-builder",
3
3
  "type": "module",
4
- "version": "0.59.11",
4
+ "version": "0.61.0",
5
5
  "description": "The Stacks Query Builder integration",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -47,14 +47,18 @@
47
47
  "peerDependencies": {
48
48
  "@stacksjs/database": "latest",
49
49
  "@stacksjs/types": "latest",
50
- "kysely": "^0.27.2"
50
+ "kysely": "^0.27.3"
51
51
  },
52
52
  "dependencies": {
53
53
  "@stacksjs/database": "latest",
54
54
  "@stacksjs/types": "latest",
55
- "kysely": "^0.27.2"
55
+ "kysely": "^0.27.3",
56
+ "kysely-bun-worker": "^0.6.1",
57
+ "mysql2": "^3.9.7",
58
+ "pg": "^8.11.5"
56
59
  },
57
60
  "devDependencies": {
58
- "@stacksjs/development": "latest"
61
+ "@stacksjs/development": "latest",
62
+ "@types/pg": "^8.11.6"
59
63
  }
60
64
  }
package/src/kysely.ts CHANGED
@@ -22,11 +22,8 @@ interface MysqlConfig {
22
22
  // export const Cursor = qbCursor
23
23
 
24
24
  export const sql = qbSql
25
-
26
25
  export const QueryBuilder = Kysely
27
-
28
26
  export const MysqlDialect = qbMysqlDialect
29
-
30
27
  export const PostgresDialect = qbPostgresql
31
28
 
32
29
  // export function createPostgresPool(config: PostgresqlConfig) {
package/src/types.ts ADDED
File without changes
package/dist/index.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './kysely';
package/dist/kysely.d.ts DELETED
@@ -1,17 +0,0 @@
1
- import { Kysely, MysqlDialect as qbMysqlDialect, PostgresDialect as qbPostgresql } from 'kysely';
2
- import type { Pool } from 'mysql2';
3
- interface MysqlConfig {
4
- driver?: string;
5
- url?: string;
6
- host?: string;
7
- port?: number;
8
- database?: string;
9
- user?: string;
10
- password?: string;
11
- }
12
- export declare const sql: import("kysely").Sql;
13
- export declare const QueryBuilder: typeof Kysely;
14
- export declare const MysqlDialect: typeof qbMysqlDialect;
15
- export declare const PostgresDialect: typeof qbPostgresql;
16
- export declare function createMysqlPool(config: MysqlConfig): Pool;
17
- export {};