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 +3 -3
- package/dist/mysql.d.mts +1 -1
- package/dist/postgres.d.mts +1 -1
- package/dist/sqlite.d.mts +1 -1
- package/package.json +1 -1
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<"
|
|
114
|
-
sqlite: SchemaDialect<"
|
|
115
|
-
mysql: SchemaDialect<"
|
|
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
package/dist/postgres.d.mts
CHANGED
|
@@ -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<"
|
|
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<"
|
|
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 };
|