@sequenceholdings/orm 2.9.0 → 2.11.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.
- package/README.md +71 -0
- package/dist/authoring.cjs +796 -7
- package/dist/authoring.cjs.map +1 -1
- package/dist/authoring.d.cts +11 -2
- package/dist/authoring.d.ts +11 -2
- package/dist/authoring.js +796 -7
- package/dist/authoring.js.map +1 -1
- package/dist/canonical.cjs +777 -6
- package/dist/canonical.cjs.map +1 -1
- package/dist/canonical.d.cts +43 -43
- package/dist/canonical.d.ts +43 -43
- package/dist/canonical.js +777 -6
- package/dist/canonical.js.map +1 -1
- package/dist/cli.cjs +7585 -7512
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.d.cts +10 -1
- package/dist/cli.d.ts +10 -1
- package/dist/cli.js +7584 -7513
- package/dist/cli.js.map +1 -1
- package/dist/compiler.cjs +1059 -50
- package/dist/compiler.cjs.map +1 -1
- package/dist/compiler.d.cts +182 -2
- package/dist/compiler.d.ts +182 -2
- package/dist/compiler.js +1054 -51
- package/dist/compiler.js.map +1 -1
- package/dist/index.cjs +3720 -3447
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +96 -31
- package/dist/index.d.ts +96 -31
- package/dist/index.js +3714 -3446
- package/dist/index.js.map +1 -1
- package/dist/ir.cjs +787 -14
- package/dist/ir.cjs.map +1 -1
- package/dist/ir.d.cts +70 -59
- package/dist/ir.d.ts +70 -59
- package/dist/ir.js +787 -15
- package/dist/ir.js.map +1 -1
- package/dist/predicate-v2.cjs +802 -30
- package/dist/predicate-v2.cjs.map +1 -1
- package/dist/predicate-v2.d.cts +2 -0
- package/dist/predicate-v2.d.ts +2 -0
- package/dist/predicate-v2.js +802 -30
- package/dist/predicate-v2.js.map +1 -1
- package/dist/sdl.cjs +794 -24
- package/dist/sdl.cjs.map +1 -1
- package/dist/sdl.js +794 -24
- package/dist/sdl.js.map +1 -1
- package/package.json +1 -1
- package/dist/{definition-B99BsOAO.d.cts → definition-CevES7lM.d.cts} +2 -2
- package/dist/{definition-B99BsOAO.d.ts → definition-CevES7lM.d.ts} +2 -2
package/dist/authoring.d.cts
CHANGED
|
@@ -3,7 +3,7 @@ import { b as CellPart } from './constants-D2o0vK6U.cjs';
|
|
|
3
3
|
import { ColumnsSelection } from 'drizzle-orm';
|
|
4
4
|
import { TypedQueryBuilder } from 'drizzle-orm/query-builders/query-builder';
|
|
5
5
|
import { QueryBuilder, PgView, PgTable, AnyPgColumn } from 'drizzle-orm/pg-core';
|
|
6
|
-
export { S as SqlOperationDefinition, d as defineOperation } from './definition-
|
|
6
|
+
export { S as SqlOperationDefinition, d as defineOperation } from './definition-CevES7lM.cjs';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import './policy-1iZbGnZZ.cjs';
|
|
9
9
|
|
|
@@ -615,7 +615,8 @@ interface SyncedTablePoliciesInput {
|
|
|
615
615
|
}
|
|
616
616
|
/**
|
|
617
617
|
* Config for a read-only qualified-source reflection. Columns (typed overload) are a contract
|
|
618
|
-
* for views/clients
|
|
618
|
+
* for views/clients. The sync owns the relation's columns, keys and rows; the ORM owns only
|
|
619
|
+
* the secondary `indexes` a typed synced table declares.
|
|
619
620
|
*/
|
|
620
621
|
interface SyncedTableConfig {
|
|
621
622
|
/** Reflected read-only source as a safe qualified identifier: `<schema>.<table>`. */
|
|
@@ -634,6 +635,14 @@ interface SyncedTableConfig {
|
|
|
634
635
|
primaryKey?: readonly string[];
|
|
635
636
|
links?: Record<string, SeqLink>;
|
|
636
637
|
policies?: SyncedTablePoliciesInput;
|
|
638
|
+
/**
|
|
639
|
+
* Secondary (non-unique) btree indexes on the physical synced relation —
|
|
640
|
+
* typed synced tables only. Apply creates them on the relation the serving
|
|
641
|
+
* stage bound (on a partitioned parent, so every attached partition gets
|
|
642
|
+
* one) and re-asserts them every apply. The build cannot run CONCURRENTLY
|
|
643
|
+
* on a partitioned parent and blocks the sync's writes while it runs.
|
|
644
|
+
*/
|
|
645
|
+
indexes?: readonly IndexInput[];
|
|
637
646
|
}
|
|
638
647
|
/** @deprecated Alias — typed and untyped share SyncedTableConfig. */
|
|
639
648
|
type TypedSyncedTableConfig = SyncedTableConfig;
|
package/dist/authoring.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { b as CellPart } from './constants-D2o0vK6U.js';
|
|
|
3
3
|
import { ColumnsSelection } from 'drizzle-orm';
|
|
4
4
|
import { TypedQueryBuilder } from 'drizzle-orm/query-builders/query-builder';
|
|
5
5
|
import { QueryBuilder, PgView, PgTable, AnyPgColumn } from 'drizzle-orm/pg-core';
|
|
6
|
-
export { S as SqlOperationDefinition, d as defineOperation } from './definition-
|
|
6
|
+
export { S as SqlOperationDefinition, d as defineOperation } from './definition-CevES7lM.js';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import './policy-1iZbGnZZ.js';
|
|
9
9
|
|
|
@@ -615,7 +615,8 @@ interface SyncedTablePoliciesInput {
|
|
|
615
615
|
}
|
|
616
616
|
/**
|
|
617
617
|
* Config for a read-only qualified-source reflection. Columns (typed overload) are a contract
|
|
618
|
-
* for views/clients
|
|
618
|
+
* for views/clients. The sync owns the relation's columns, keys and rows; the ORM owns only
|
|
619
|
+
* the secondary `indexes` a typed synced table declares.
|
|
619
620
|
*/
|
|
620
621
|
interface SyncedTableConfig {
|
|
621
622
|
/** Reflected read-only source as a safe qualified identifier: `<schema>.<table>`. */
|
|
@@ -634,6 +635,14 @@ interface SyncedTableConfig {
|
|
|
634
635
|
primaryKey?: readonly string[];
|
|
635
636
|
links?: Record<string, SeqLink>;
|
|
636
637
|
policies?: SyncedTablePoliciesInput;
|
|
638
|
+
/**
|
|
639
|
+
* Secondary (non-unique) btree indexes on the physical synced relation —
|
|
640
|
+
* typed synced tables only. Apply creates them on the relation the serving
|
|
641
|
+
* stage bound (on a partitioned parent, so every attached partition gets
|
|
642
|
+
* one) and re-asserts them every apply. The build cannot run CONCURRENTLY
|
|
643
|
+
* on a partitioned parent and blocks the sync's writes while it runs.
|
|
644
|
+
*/
|
|
645
|
+
indexes?: readonly IndexInput[];
|
|
637
646
|
}
|
|
638
647
|
/** @deprecated Alias — typed and untyped share SyncedTableConfig. */
|
|
639
648
|
type TypedSyncedTableConfig = SyncedTableConfig;
|