@stacksjs/query-builder 0.70.256 → 0.70.257

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +9 -1
  2. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -124,7 +124,15 @@ export declare interface IdentifierValidation {
124
124
  valid: boolean
125
125
  reason?: 'invalid-shape' | 'not-in-allowlist' | 'empty' | 'too-long'
126
126
  }
127
- export type StacksDialect = import('bun-query-builder').SupportedDialect | 'singlestore';
127
+ /**
128
+ * Dialects Stacks accepts in `config/database.ts`.
129
+ *
130
+ * A superset of what bun-query-builder renders for: `vitess` speaks MySQL's
131
+ * wire protocol and identical DML, so it collapses onto the `mysql` renderer
132
+ * (see `toQueryBuilderDialect` in @stacksjs/database) and diverges only in
133
+ * DDL and transaction semantics, which the framework handles itself.
134
+ */
135
+ export type StacksDialect = import('bun-query-builder').SupportedDialect | 'singlestore' | 'vitess';
128
136
  declare type QueryHooks = import('bun-query-builder').QueryHooks;
129
137
  declare type QueryBuilderConfig = Parameters<typeof setBunQueryBuilderConfig>[0];
130
138
  // bun-query-builder types `unsafe()` as returning `Promise<any>`, but at
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@stacksjs/query-builder",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.70.256",
5
+ "version": "0.70.257",
6
6
  "description": "The Stacks Query Builder integration",
7
7
  "author": "Chris Breuer",
8
8
  "contributors": [
@@ -49,11 +49,11 @@
49
49
  "prepublishOnly": "bun run build"
50
50
  },
51
51
  "devDependencies": {
52
- "@stacksjs/database": "0.70.256",
52
+ "@stacksjs/database": "0.70.257",
53
53
  "better-dx": "^0.2.17",
54
- "@stacksjs/types": "0.70.256"
54
+ "@stacksjs/types": "0.70.257"
55
55
  },
56
56
  "dependencies": {
57
- "bun-query-builder": "^0.2.4"
57
+ "bun-query-builder": "^0.2.6"
58
58
  }
59
59
  }