qubu 0.4.1 → 0.4.2

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/dist/ddl.d.mts CHANGED
@@ -110,9 +110,9 @@ declare function ddlEmitterForDialect(dialect: SchemaDialect): DdlEmitter;
110
110
  declare function emitMigrationPlan(plan: MigrationPlan, dialect: SchemaDialect, options?: DdlEmissionOptions): DdlEmission;
111
111
  /** Convenient defaults for callers that already selected a plan dialect. */
112
112
  declare const ddlDialects: Readonly<{
113
- postgresql: SchemaDialect<"on-conflict" | "json" | "ilike" | "row-locking">;
114
- sqlite: SchemaDialect<"on-conflict" | "json">;
115
- mysql: SchemaDialect<"json" | "row-locking">;
113
+ postgresql: SchemaDialect<"row-locking" | "json" | "ilike" | "on-conflict">;
114
+ sqlite: SchemaDialect<"json" | "on-conflict">;
115
+ mysql: SchemaDialect<"row-locking" | "json">;
116
116
  }>;
117
117
  //#endregion
118
118
  export { DdlDiagnostic, DdlDiagnosticCode, DdlEmission, DdlEmissionOptions, DdlEmissionResult, DdlEmitter, DdlFeatures, DdlStatement, createDdlEmitter, ddlDialects, ddlEmitterForDialect, emitMigrationPlan, emitMysqlDdl, emitMysqlMigrationPlan, emitPostgresDdl, emitPostgresMigrationPlan, emitPostgresqlDdl, emitPostgresqlMigrationPlan, emitSqliteDdl, emitSqliteMigrationPlan, mysqlDdlEmitter, postgresDdlEmitter, sqliteDdlEmitter };
package/dist/mysql.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { V as Dialect } from "./types-BK1COGZe.mjs";
2
2
  //#region src/dialects/mysql.d.ts
3
- declare function mysqlDialect(): Dialect<"json" | "row-locking">;
3
+ declare function mysqlDialect(): Dialect<"row-locking" | "json">;
4
4
  //#endregion
5
5
  export { mysqlDialect };
@@ -4,7 +4,7 @@ import { Au as SqlBoolean, Do as SqlCapabilityValidation, Du as AnySqlType, Eo a
4
4
  * PostgreSQL's only core rendering difference is positional parameters. PostgreSQL-specific
5
5
  * expressions and clauses should remain separate modules.
6
6
  */
7
- declare function postgresDialect(): Dialect<"on-conflict" | "json" | "ilike" | "row-locking">;
7
+ declare function postgresDialect(): Dialect<"row-locking" | "json" | "ilike" | "on-conflict">;
8
8
  /** PostgreSQL's case-insensitive pattern-match operator. */
9
9
  declare function ilike<TLeft extends ExpressionWithOutput<string>, R extends Operand<string>>(left: TLeft & ComparisonValidation<TLeft, R, "ILIKE">, pattern: R): SchemaExpression<ResultMeta<boolean, ((MetadataOf<TLeft & SqlCapabilityValidation<(MetadataOf<TLeft> extends (infer T) ? T extends MetadataOf<TLeft> ? T extends {
10
10
  readonly kind: "result";
package/dist/sqlite.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { V as Dialect, _n as doNothing, bn as onConflict, dn as ConflictAction, fn as ConflictTarget, gn as OnConflictClause, hn as ExcludedSource, mn as DoUpdateAction, pn as DoNothingAction, vn as doUpdate, yn as excluded } from "./types-BK1COGZe.mjs";
2
2
  //#region src/dialects/sqlite.d.ts
3
- declare function sqliteDialect(): Dialect<"on-conflict" | "json">;
3
+ declare function sqliteDialect(): Dialect<"json" | "on-conflict">;
4
4
  //#endregion
5
5
  export { type ConflictAction, type ConflictTarget, type DoNothingAction, type DoUpdateAction, type ExcludedSource, type OnConflictClause, doNothing, doUpdate, excluded, onConflict, sqliteDialect };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qubu",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/aleclarson/qubu"