qubu 0.7.1 → 0.7.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/postgres.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ import { Ad as MetadataOf, Dr as UpdateFromClause, Gu as ExpressionWithOutput, K
|
|
|
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<"json" | "ilike" | "on-conflict" | "row-locking" | "update-from">;
|
|
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
|
@@ -27,6 +27,6 @@ type SqliteTimestampColumn<TOptions extends SqliteTimestampOptions = {}> = Colum
|
|
|
27
27
|
}>;
|
|
28
28
|
/** Declare a SQLite `INTEGER` timestamp with a live Date codec. */
|
|
29
29
|
declare function sqliteTimestamp<const TOptions extends SqliteTimestampOptions = {}>(options?: TOptions): SqliteTimestampColumn<TOptions>;
|
|
30
|
-
declare function sqliteDialect(): Dialect<"
|
|
30
|
+
declare function sqliteDialect(): Dialect<"json" | "on-conflict">;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { type ConflictAction, type ConflictTarget, type DoNothingAction, type DoUpdateAction, type ExcludedSource, type OnConflictClause, SqliteTimestampColumn, SqliteTimestampMode, SqliteTimestampOptions, doNothing, doUpdate, excluded, onConflict, sqliteDialect, sqliteTimestamp };
|
|
@@ -9,8 +9,10 @@ libSQL application:
|
|
|
9
9
|
pnpm add @qubu/cli @qubu/migrate @qubu/adapter-libsql @libsql/client
|
|
10
10
|
```
|
|
11
11
|
|
|
12
|
-
The `qubu` command
|
|
13
|
-
|
|
12
|
+
The `qubu` command looks for `qubu.config.js`, then `qubu.config.ts`, in the
|
|
13
|
+
current working directory. If both exist, `.js` takes precedence. Use
|
|
14
|
+
`--config <path>` to select a configuration module explicitly. TypeScript
|
|
15
|
+
configs require a runtime that can import TypeScript; Qubu does not transpile them.
|
|
14
16
|
|
|
15
17
|
Every command accepts:
|
|
16
18
|
|