@voltro/database 0.10.0 → 0.11.1
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/CHANGELOG.md +134 -0
- package/dist/index.d.ts +192 -20
- package/dist/index.js +618 -560
- package/dist/sql.d.ts +2 -1
- package/package.json +2 -2
package/dist/sql.d.ts
CHANGED
|
@@ -151,11 +151,12 @@ export declare type BootMigrationOutcome = {
|
|
|
151
151
|
* producing a complete, non-overlapping partition of the table list. */
|
|
152
152
|
export declare const chunkTables: <T>(xs: ReadonlyArray<T>, n: number) => T[][];
|
|
153
153
|
|
|
154
|
-
declare interface ColumnDefinition<TsType, Type extends ColumnType = ColumnType> {
|
|
154
|
+
declare interface ColumnDefinition<TsType, Type extends ColumnType = ColumnType, HasDefault extends boolean = boolean> {
|
|
155
155
|
readonly type: Type;
|
|
156
156
|
readonly nullable: boolean;
|
|
157
157
|
readonly unique: boolean;
|
|
158
158
|
readonly hasDefault: boolean;
|
|
159
|
+
/* Excluded from this release type: __hasDefault */
|
|
159
160
|
readonly defaultValue?: unknown;
|
|
160
161
|
/**
|
|
161
162
|
* Application-side default factory. When set, the MutationStore
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voltro/database",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"description": "Browser-safe schema DSL, query builder, and cross-dialect migration planner for Voltro — one schema, every SQL backend.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"voltro",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@effect/sql": "^0.51.1",
|
|
46
|
-
"@voltro/logger": "0.
|
|
46
|
+
"@voltro/logger": "0.11.1",
|
|
47
47
|
"typeid-js": "^1.2.0",
|
|
48
48
|
"ulidx": "^2.4.1"
|
|
49
49
|
},
|