@vibeorm/sql 2.1.0 → 2.2.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.
@@ -0,0 +1,25 @@
1
+ import type { SqlDialect } from "./dialect.ts";
2
+ /** Optional provenance storage on the existing migration journal. */
3
+ export declare const MODULE_JOURNAL_COLUMN: string;
4
+ /** Journal operations use bound values; only dialects choose SQL spelling. */
5
+ export declare function renderModuleJournal(params: {
6
+ dialect: SqlDialect;
7
+ table: string;
8
+ operation: {
9
+ kind: "columns" | "addColumn" | "read";
10
+ } | {
11
+ kind: "insert";
12
+ name: string;
13
+ checksum: string;
14
+ index: number;
15
+ entry: string;
16
+ } | {
17
+ kind: "complete";
18
+ name: string;
19
+ entry: string;
20
+ };
21
+ }): {
22
+ text: string;
23
+ values: unknown[];
24
+ };
25
+ //# sourceMappingURL=module-journal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"module-journal.d.ts","sourceRoot":"","sources":["../src/module-journal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG/C,qEAAqE;AACrE,eAAO,MAAM,qBAAqB,EAAE,MAAwB,CAAC;AAE7D,8EAA8E;AAC9E,wBAAgB,mBAAmB,CAAC,MAAM,EAAE;IAC1C,OAAO,EAAE,UAAU,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EACL;QAAE,IAAI,EAAE,SAAS,GAAG,WAAW,GAAG,MAAM,CAAA;KAAE,GAC1C;QAAE,IAAI,EAAE,QAAQ,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GAChF;QAAE,IAAI,EAAE,UAAU,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;CACvD,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,OAAO,EAAE,CAAA;CAAE,CAsBtC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibeorm/sql",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "Dialect-aware SQL layer for VibeORM v2 — SQL AST, renderers and capability tables for postgres, sqlite and mysql",
5
5
  "keywords": [
6
6
  "orm",
@@ -44,7 +44,7 @@
44
44
  "bun": ">=1.2.0"
45
45
  },
46
46
  "dependencies": {
47
- "@vibeorm/schema": "2.1.0"
47
+ "@vibeorm/schema": "2.2.0"
48
48
  },
49
49
  "publishConfig": {
50
50
  "access": "public"