@pgxsinkit/contracts 0.1.51 → 0.2.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/dist/apply-strategy.d.ts +9 -0
- package/dist/apply-strategy.d.ts.map +1 -1
- package/dist/config.d.ts +47 -11
- package/dist/config.d.ts.map +1 -1
- package/dist/index.js +116 -22
- package/dist/index.js.map +7 -7
- package/dist/mutation.d.ts.map +1 -1
- package/dist/projection.d.ts.map +1 -1
- package/dist/registry.d.ts +72 -14
- package/dist/registry.d.ts.map +1 -1
- package/dist/runtime.d.ts +1 -1
- package/package.json +1 -1
- package/skills/registry-authoring/SKILL.md +71 -6
- package/src/apply-strategy.ts +22 -3
- package/src/config.ts +58 -19
- package/src/mutation.ts +1 -2
- package/src/projection.ts +3 -0
- package/src/registry.ts +239 -44
- package/src/runtime.ts +1 -1
package/dist/mutation.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mutation.d.ts","sourceRoot":"","sources":["../src/mutation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,kBAAkB;;;;EAAyC,CAAC;AACzE;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;EAQ/B,CAAC;AACH;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB;;;;;EAAwD,CAAC;AAE7F,eAAO,MAAM,eAAe,uCAA+D,CAAC;AAE5F,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"mutation.d.ts","sourceRoot":"","sources":["../src/mutation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,kBAAkB;;;;EAAyC,CAAC;AACzE;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;EAQ/B,CAAC;AACH;;;;;;GAMG;AACH,eAAO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AO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
package/dist/projection.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projection.d.ts","sourceRoot":"","sources":["../src/projection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,OAAO,KAAK,EAAgC,cAAc,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAElG;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,UAAU,CAAC,MAAM,SAAS,UAAU,EAAE,WAAW,SAAS,UAAU,EAClF,KAAK,EAAE,cAAc,CAAC,MAAM,EAAE,WAAW,CAAC,GACzC,cAAc,CAAC,MAAM,EAAE,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"projection.d.ts","sourceRoot":"","sources":["../src/projection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,OAAO,KAAK,EAAgC,cAAc,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAElG;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,UAAU,CAAC,MAAM,SAAS,UAAU,EAAE,WAAW,SAAS,UAAU,EAClF,KAAK,EAAE,cAAc,CAAC,MAAM,EAAE,WAAW,CAAC,GACzC,cAAc,CAAC,MAAM,EAAE,WAAW,CAAC,CA8BrC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,aAAa,CAAC,MAAM,SAAS,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,GAAG,MAAM,CAExG;AAED;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,MAAM,SAAS,cAAc,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAEhF;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,2BAA2B,CACzC,aAAa,EAAE,iBAAiB,EAChC,UAAU,EAAE,iBAAiB,EAC7B,OAAO,CAAC,EAAE;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,GAC3B,IAAI,CAsBN"}
|
package/dist/registry.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { pgSchema } from "drizzle-orm/pg-core";
|
|
|
4
4
|
import type { ExtractTablesWithRelations } from "drizzle-orm/relations";
|
|
5
5
|
import { getColumns } from "drizzle-orm/utils";
|
|
6
6
|
import { type ApplyStrategy, type SyncColumnType } from "./apply-strategy";
|
|
7
|
-
import { type ClientProjectionSpec, type ConflictPolicy, type DeferrableConstraintSpec, type ManagedFieldApplyOn, type ManagedFieldSpec, type ManagedFieldStrategy, type PrimaryKeySpec, type Retention, type RowFilterSpec, type ServerProjectionSpec, type ShapeSpec, type ShapeSpecInput, type SubscriptionTiming, type TableGovernanceSpec as TableGovernanceSpecBase, type TableMode, type WriteMode } from "./config";
|
|
7
|
+
import { type ClientProjectionSpec, type ConflictPolicy, type DeferrableConstraintSpec, type ManagedFieldApplyOn, type ManagedFieldSpec, type ManagedFieldStrategy, type PrimaryKeySpec, type Retention, type RowFilterSpec, type ServerProjectionSpec, type ShapeSpec, type ShapeSpecInput, type SubscriptionTiming, type SyncStorageDeclaration, type TableGovernanceSpec as TableGovernanceSpecBase, type TableMode, type WriteMode } from "./config";
|
|
8
8
|
type PgSchemaType = ReturnType<typeof pgSchema>;
|
|
9
9
|
type AnyPgView = PgView;
|
|
10
10
|
type TableColumnsShape<TTable extends AnyPgTable> = TTable extends {
|
|
@@ -51,6 +51,15 @@ export interface SyncTableEntry<TTable extends AnyPgTable = AnyPgTable, TLocalTa
|
|
|
51
51
|
view?: AnyPgView | undefined;
|
|
52
52
|
mode: TableMode;
|
|
53
53
|
primaryKey: PrimaryKeySpec;
|
|
54
|
+
/**
|
|
55
|
+
* CDC insert-apply policy (ADR-0045). Default `"insert"`: a server CDC `insert` is applied as a plain
|
|
56
|
+
* INSERT, so a genuine primary-key collision surfaces (the ADR-0014 collision-surfacing invariant).
|
|
57
|
+
* `"upsert"`: this table legitimately receives locally-derived provisional rows (e.g. written by a
|
|
58
|
+
* local trigger from another synced table), so server CDC inserts are applied idempotently as
|
|
59
|
+
* `INSERT … ON CONFLICT (pk) DO UPDATE` — the authoritative server row overwrites the provisional
|
|
60
|
+
* local row instead of failing the commit. Resolved to `"insert"` when omitted.
|
|
61
|
+
*/
|
|
62
|
+
applyMode: "insert" | "upsert";
|
|
54
63
|
shape?: ShapeSpec;
|
|
55
64
|
clientProjection?: ClientProjectionSpecForTable<TTable>;
|
|
56
65
|
serverProjection?: ServerProjectionSpec;
|
|
@@ -65,8 +74,9 @@ export interface SyncTableEntry<TTable extends AnyPgTable = AnyPgTable, TLocalTa
|
|
|
65
74
|
* Consistency group (ADR-0009 decision 2). Tables sharing a `consistencyGroup` are synced on one
|
|
66
75
|
* `MultiShapeStream` and committed atomically at a shared LSN frontier, so a local reader never
|
|
67
76
|
* sees one grouped table advanced past another for the same server transaction. Omitted → the
|
|
68
|
-
* table is its own singleton group (independent frontier,
|
|
69
|
-
*
|
|
77
|
+
* table is its own singleton group (independent frontier, no cross-table atomicity — the resolution
|
|
78
|
+
* for a table that declares no group). The latency cost (a group advances only as fast as its
|
|
79
|
+
* slowest shape) is contained to the tables that opt in.
|
|
70
80
|
*/
|
|
71
81
|
consistencyGroup?: string;
|
|
72
82
|
/**
|
|
@@ -159,14 +169,13 @@ export type SyncTableInputProjection<TColumns extends Record<string, ColumnBuild
|
|
|
159
169
|
omitColumns?: TOmittedColumns;
|
|
160
170
|
};
|
|
161
171
|
/**
|
|
162
|
-
* A row filter for {@link defineSyncTable}'s `shape
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
* rename-safe column objects instead of hand-written column-name strings.
|
|
172
|
+
* A row filter for {@link defineSyncTable}'s `shape`, authored from the table's built, typed columns.
|
|
173
|
+
* Reference columns through `c(columns.x)` exactly as `extras` does with its `self` argument, so
|
|
174
|
+
* `customWhere` builds parameterized Electric `where`s from real, rename-safe column objects instead
|
|
175
|
+
* of hand-written column-name strings.
|
|
167
176
|
*/
|
|
168
|
-
export type RowFilterInput<TColumns extends Record<string, ColumnBuilderBase>> =
|
|
169
|
-
/** {@link ShapeSpecInput} whose `rowFilter`
|
|
177
|
+
export type RowFilterInput<TColumns extends Record<string, ColumnBuilderBase>> = (columns: PgBuildExtraConfigColumns<TColumns>) => RowFilterSpec;
|
|
178
|
+
/** {@link ShapeSpecInput} whose `rowFilter` is authored from the built columns (typed by `TColumns`). */
|
|
170
179
|
export type ShapeSpecInputFor<TColumns extends Record<string, ColumnBuilderBase>> = Omit<ShapeSpecInput, "rowFilter"> & {
|
|
171
180
|
rowFilter?: RowFilterInput<TColumns>;
|
|
172
181
|
};
|
|
@@ -192,10 +201,34 @@ export type SyncTableInput<TName extends string, TColumns extends Record<string,
|
|
|
192
201
|
/** @default "readonly" */
|
|
193
202
|
mode?: TableMode;
|
|
194
203
|
/**
|
|
195
|
-
*
|
|
196
|
-
*
|
|
204
|
+
* THE primary key of the server table — the single source of truth for its physical
|
|
205
|
+
* `PRIMARY KEY` constraint. `defineSyncTable` emits it as the constraint, named
|
|
206
|
+
* `` `${tableName}_pkey` `` (matching Postgres's inline-PK default, so existing consumer
|
|
207
|
+
* databases see no rename churn) unless the object form overrides `name`.
|
|
208
|
+
*
|
|
209
|
+
* Defaults to `["id"]`. Use an array with multiple entries for composite keys, or the object
|
|
210
|
+
* form `{ name, columns }` to name the constraint.
|
|
211
|
+
*
|
|
212
|
+
* A single-column key MAY equivalently be declared via the column's own `.primaryKey()`
|
|
213
|
+
* (idiomatic drizzle); it must match this spec, and emission is then skipped because the
|
|
214
|
+
* column already carries the constraint. A table-level `primaryKey(...)` in `extras`/`policies`
|
|
215
|
+
* is REJECTED — declare the key here instead.
|
|
216
|
+
*/
|
|
217
|
+
primaryKey?: string[] | {
|
|
218
|
+
name: string;
|
|
219
|
+
columns: string[];
|
|
220
|
+
};
|
|
221
|
+
/**
|
|
222
|
+
* CDC insert-apply policy (ADR-0045). **Default `"insert"`** — a CDC insert is a plain INSERT, so a
|
|
223
|
+
* genuine PK collision must surface (the ADR-0014 collision-surfacing invariant; a synced cache table
|
|
224
|
+
* is server-authoritative and a duplicate insert is a real bug). Set `"upsert"` **only** when this
|
|
225
|
+
* table legitimately receives locally-DERIVED provisional rows — e.g. a local trigger on another
|
|
226
|
+
* synced table inserts a provisional row here, and the server independently creates the same row so
|
|
227
|
+
* its CDC insert would collide (23505). With `"upsert"`, server CDC inserts are applied idempotently
|
|
228
|
+
* as `INSERT … ON CONFLICT (pk) DO UPDATE`; the authoritative server row overwrites the provisional
|
|
229
|
+
* local row. Declare the exception here, where it lives — do not weaken the invariant repo-wide.
|
|
197
230
|
*/
|
|
198
|
-
|
|
231
|
+
applyMode?: "insert" | "upsert";
|
|
199
232
|
shape?: ShapeSpecInputFor<TColumns>;
|
|
200
233
|
clientProjection?: SyncTableInputProjection<TColumns, TOmittedColumns>;
|
|
201
234
|
/** Server-side response-path projection (e.g. `rowTransform`). Server authority, not client shape. */
|
|
@@ -231,8 +264,17 @@ export type SyncTableRegistry = Record<string, SyncTableEntry>;
|
|
|
231
264
|
export interface SyncRegistryDefinition<TRegistry extends SyncTableRegistry> {
|
|
232
265
|
schema?: string;
|
|
233
266
|
tables: TRegistry;
|
|
267
|
+
/**
|
|
268
|
+
* The storage contract for every store this registry mints (ADR-0049 decision 1, ADR-0047). Part of the
|
|
269
|
+
* DATA contract, not a per-open knob: `durability` binds every toolkit-minted open (relaxed default),
|
|
270
|
+
* and `backend` scopes the BROWSER store only (`opfs` default; Node/`file` and `memory` clones
|
|
271
|
+
* unaffected). Validated at {@link defineSyncRegistry} (fail-closed at module-eval); carried through on
|
|
272
|
+
* the returned registry and read back with {@link getSyncRegistryStorage}. See {@link SyncStorageDeclaration}.
|
|
273
|
+
*/
|
|
274
|
+
storage?: SyncStorageDeclaration;
|
|
234
275
|
}
|
|
235
276
|
export declare const syncRegistrySchemaSymbol: unique symbol;
|
|
277
|
+
export declare const syncRegistryStorageSymbol: unique symbol;
|
|
236
278
|
export type RegistryTables<TRegistry extends SyncTableRegistry> = {
|
|
237
279
|
[TKey in keyof TRegistry]: TRegistry[TKey]["table"];
|
|
238
280
|
};
|
|
@@ -273,6 +315,7 @@ export declare function defineSyncTable<const TName extends string, const TColum
|
|
|
273
315
|
writeMode?: WriteMode;
|
|
274
316
|
mode: TableMode;
|
|
275
317
|
primaryKey: PrimaryKeySpec;
|
|
318
|
+
applyMode: "insert" | "upsert";
|
|
276
319
|
shape?: ShapeSpec;
|
|
277
320
|
governance?: TableGovernanceSpecForTable<PgTableWithColumns<{
|
|
278
321
|
name: TName;
|
|
@@ -645,7 +688,7 @@ export declare function defineReadProjection<const TOwnerTable extends AnyPgTabl
|
|
|
645
688
|
/** Column keys (of the owner) to sync locally + fetch from Electric. The PK is always kept. Omit → all. */
|
|
646
689
|
columns?: TColumns;
|
|
647
690
|
/** Row filter for this shape; the callback form receives the owner's full (physical) columns. */
|
|
648
|
-
rowFilter?:
|
|
691
|
+
rowFilter?: (columns: TableColumnsShape<TOwnerTable>) => RowFilterSpec;
|
|
649
692
|
/**
|
|
650
693
|
* Server-side egress projection (ADR-0004) for THIS shape — typically a `rowTransform` that redacts a
|
|
651
694
|
* sub-document of a kept column conditionally on row data. A projection does NOT inherit its owner's
|
|
@@ -724,5 +767,20 @@ export declare function getLocalSyncedTablePrimaryKeyColumns<TTable extends AnyP
|
|
|
724
767
|
export declare function resolveServerVersionColumnName<TTable extends AnyPgTable>(entry: SyncTableEntry<TTable>): string | undefined;
|
|
725
768
|
export declare function attachSyncRegistrySchema<TRegistry extends SyncTableRegistry>(registry: TRegistry, schema?: string): TRegistry;
|
|
726
769
|
export declare function getSyncRegistrySchema<TRegistry extends SyncTableRegistry>(registry: TRegistry): string;
|
|
770
|
+
/**
|
|
771
|
+
* Stamp the registry's storage declaration (ADR-0049 decision 1, ADR-0047) onto the registry value as a
|
|
772
|
+
* non-enumerable symbol — the storage twin of {@link attachSyncRegistrySchema}. Carries the data-contract
|
|
773
|
+
* storage through {@link defineSyncRegistry} so client code reads it back via {@link getSyncRegistryStorage}.
|
|
774
|
+
* A `null`/`undefined` declaration attaches nothing (the bare-registry-map overload), leaving the reader to
|
|
775
|
+
* resolve the ADR-0047 defaults at the mint seam.
|
|
776
|
+
*/
|
|
777
|
+
export declare function attachSyncRegistryStorage<TRegistry extends SyncTableRegistry>(registry: TRegistry, storage: SyncStorageDeclaration | undefined): TRegistry;
|
|
778
|
+
/**
|
|
779
|
+
* Read the storage declaration (ADR-0049 decision 1, ADR-0047) a registry was built with, or `undefined`
|
|
780
|
+
* when none was declared (a bare registry map, or a definition with no `storage`). The client resolves the
|
|
781
|
+
* effective mint durability as `getSyncRegistryStorage(registry)?.durability ?? "relaxed"` at its single
|
|
782
|
+
* mint seam — the storage twin of {@link getSyncRegistrySchema}.
|
|
783
|
+
*/
|
|
784
|
+
export declare function getSyncRegistryStorage<TRegistry extends SyncTableRegistry>(registry: TRegistry): SyncStorageDeclaration | undefined;
|
|
727
785
|
export {};
|
|
728
786
|
//# sourceMappingURL=registry.d.ts.map
|
package/dist/registry.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../src/registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACzF,OAAO,EAKL,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AAc,CAAC,MAAM,CAAC,YAEtG;AAED,wBAAgB,oCAAoC,CAAC,MAAM,SAAS,UAAU,EAAE,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,YAE5G;AAED;;;;;;GAMG;AACH,wBAAgB,8BAA8B,CAAC,MAAM,SAAS,UAAU,EACtE,KAAK,EAAE,cAAc,CAAC,MAAM,CAAC,GAC5B,MAAM,GAAG,SAAS,CAapB;AAED,wBAAgB,wBAAwB,CAAC,SAAS,SAAS,iBAAiB,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,CAAC,EAAE,MAAM,aAwCjH;AAED,wBAAgB,qBAAqB,CAAC,SAAS,SAAS,iBAAiB,EAAE,QAAQ,EAAE,SAAS,UAG7F;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CAAC,SAAS,SAAS,iBAAiB,EAC3E,QAAQ,EAAE,SAAS,EACnB,OAAO,EAAE,sBAAsB,GAAG,SAAS,aA0B5C;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,SAAS,SAAS,iBAAiB,EACxE,QAAQ,EAAE,SAAS,GAClB,sBAAsB,GAAG,SAAS,CAGpC"}
|
package/dist/runtime.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ export interface MutationDiagnostics {
|
|
|
43
43
|
lastAckAtUs?: string;
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
|
-
* A registry-wide mutation-journal summary
|
|
46
|
+
* A registry-wide mutation-journal summary for warm-store observability: the
|
|
47
47
|
* per-status counts across EVERY writable table's journal, folded from one aggregate query/subscription over
|
|
48
48
|
* the `pgxsinkit_all_mutations` view — so a consumer renders a global sync indicator with ONE subscription
|
|
49
49
|
* instead of one live query per writable journal. Cheap enough to mount permanently.
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@ description: >-
|
|
|
15
15
|
metadata:
|
|
16
16
|
type: core
|
|
17
17
|
library: "@pgxsinkit/contracts"
|
|
18
|
-
library_version: "0.
|
|
18
|
+
library_version: "0.2.0"
|
|
19
19
|
source: https://pgxsinkit.github.io/start/getting-started/
|
|
20
20
|
---
|
|
21
21
|
|
|
@@ -56,6 +56,50 @@ widgets: defineSyncTable({
|
|
|
56
56
|
}),
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
+
**Column types don't constrain sync.** The read-path backfill picks a bulk-insert tier (COPY / JSON /
|
|
60
|
+
per-row `INSERT`) statically from a table's Drizzle column types; enum columns and `GENERATED ALWAYS AS
|
|
61
|
+
IDENTITY` primary keys are fully supported (enum labels round-trip through COPY/JSON, and a synced
|
|
62
|
+
identity PK keeps the server's value via `OVERRIDING SYSTEM VALUE`), so you never need to avoid them for
|
|
63
|
+
sync's sake.
|
|
64
|
+
|
|
65
|
+
## The `primaryKey` spec emits the physical PRIMARY KEY — it is the single source of truth
|
|
66
|
+
|
|
67
|
+
`defineSyncTable` **emits** the `primaryKey` spec as the server table's physical `PRIMARY KEY` constraint,
|
|
68
|
+
named `` `${tableName}_pkey` `` — Postgres's default inline-PK constraint name (which drizzle's own naming
|
|
69
|
+
does not produce), so DDL declared through pgxsinkit agrees with plain-Postgres inline-PK DDL and
|
|
70
|
+
drizzle-kit sees no rename churn against a real Postgres database. The spec was runtime-only metadata
|
|
71
|
+
until a consumer had drizzle-kit DROP a live composite key — seeing no PK in the generated DDL — so the
|
|
72
|
+
spec now drives DDL directly.
|
|
73
|
+
|
|
74
|
+
- **Composite / non-`id` key:** `primaryKey: ["org_id", "person_id"]` (default `["id"]`). Constraint
|
|
75
|
+
columns follow spec order.
|
|
76
|
+
- **Custom constraint name:** the object form `primaryKey: { name: "org_person_pk", columns: [...] }`.
|
|
77
|
+
- **Single-column key, idiomatic drizzle:** declaring `id: uuid("id").primaryKey()` on the column is
|
|
78
|
+
allowed and equivalent — it must match the spec, and emission is skipped (the column already carries
|
|
79
|
+
the constraint), so a single-`id` table's DDL agrees with plain-Postgres inline-PK DDL. A custom constraint name
|
|
80
|
+
cannot be combined with a column-level `.primaryKey()` (a named constraint needs `defineSyncTable` to
|
|
81
|
+
emit it).
|
|
82
|
+
- **Rejected:** a table-level `primaryKey(...)` passed through `extras`/`policies`, and more than one
|
|
83
|
+
column-level `.primaryKey()` — declare composite keys via the `primaryKey` option instead.
|
|
84
|
+
|
|
85
|
+
## `applyMode` — CDC insert-apply policy (default stays strict)
|
|
86
|
+
|
|
87
|
+
`applyMode` chooses how a **server CDC insert** for this table is applied on the client (ADR-0045).
|
|
88
|
+
|
|
89
|
+
- **`"insert"` (default):** a CDC insert is a plain INSERT with no conflict clause, so a genuine
|
|
90
|
+
primary-key collision **surfaces** (the ADR-0014 invariant — a synced cache table is
|
|
91
|
+
server-authoritative, and a duplicate insert is a real bug). Do not change this without a reason below.
|
|
92
|
+
- **`"upsert"`:** server CDC inserts are applied idempotently as `INSERT … ON CONFLICT (pk) DO UPDATE`
|
|
93
|
+
(or a pk-targeted `DO NOTHING` for a pk-only table); the authoritative server row overwrites the
|
|
94
|
+
provisional local row.
|
|
95
|
+
|
|
96
|
+
**When to use `"upsert"`:** only when this table legitimately receives locally-**derived** provisional
|
|
97
|
+
rows — e.g. a local trigger on another synced table writes a provisional row here, and the server
|
|
98
|
+
independently creates the same row, so its CDC insert would otherwise collide (23505) and degrade the
|
|
99
|
+
engine. It routes all three CDC-insert paths (initial bulk snapshot, steady-state fold, per-message)
|
|
100
|
+
through the idempotent applier. Declare the exception on the table where it lives; never weaken the
|
|
101
|
+
strict default repo-wide.
|
|
102
|
+
|
|
59
103
|
## Managed fields are server-assigned — never send them
|
|
60
104
|
|
|
61
105
|
A managed field is stamped by the apply function under the verified request claims. Two strategies:
|
|
@@ -139,11 +183,10 @@ defineSyncTable({
|
|
|
139
183
|
});
|
|
140
184
|
```
|
|
141
185
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
`DENY_ALL` the obvious deny.
|
|
186
|
+
The column callback is the only authoring form. **Prefer a typed SQL fragment over the raw string escape
|
|
187
|
+
hatch:** a `customWhere` that returns `null`/`""` means _no filter — all rows visible_, so an owner filter
|
|
188
|
+
that returns `null` for "no claim" silently exposes every row; the typed form makes `DENY_ALL` the obvious
|
|
189
|
+
deny.
|
|
147
190
|
|
|
148
191
|
## Cross-table filters: compose a self-contained subquery from the typed columns, never a string
|
|
149
192
|
|
|
@@ -333,6 +376,28 @@ no transform but records the raw-egress decision at the definition site). `"unre
|
|
|
333
376
|
transform-less owner is itself rejected — a stale opt-out would silently pre-authorize a leak if the owner
|
|
334
377
|
later gains a transform.
|
|
335
378
|
|
|
379
|
+
## Storage declaration: `storage.backend` and `storage.durability` (browser stores)
|
|
380
|
+
|
|
381
|
+
The registry carries the browser store's storage contract — `SyncRegistryDefinition.storage`,
|
|
382
|
+
`{ backend?: "opfs" | "idbfs"; durability?: "relaxed" | "strict" }`. It lives on the registry, not on a
|
|
383
|
+
minting surface, worker entry, or attach site, because both properties follow the DATA: one declaration
|
|
384
|
+
binds every open of every store minted from that registry, so no tab can disagree with another.
|
|
385
|
+
|
|
386
|
+
- **`backend`** (default `"opfs"`) — `"opfs"` is the normal boot on every platform: the toolkit probes
|
|
387
|
+
OPFS sync-access at boot and runs the `opfs-repacked` engine wherever handles are granted, falling back
|
|
388
|
+
automatically to in-SharedWorker idbfs (declared durability kept) only where the platform provides no
|
|
389
|
+
OPFS sync access anywhere. `backend: "idbfs"` is the one opt-out — no probe, no election, the engine
|
|
390
|
+
boots in the SharedWorker on idb. Where the engine runs is never a consumer knob; the only decision you
|
|
391
|
+
declare is whether to force idb.
|
|
392
|
+
- **`durability`** (default `"relaxed"`) — relaxed returns the local write before the physical flush and
|
|
393
|
+
schedules it asynchronously; `"strict"` awaits the flush per commit. Relaxed is the right default for a
|
|
394
|
+
sync toolkit (the local write is instant, the server is the source of truth, and the loss window is one
|
|
395
|
+
recent action); declare `"strict"` only for local-only data you cannot re-derive and cannot lose on a
|
|
396
|
+
crash. See ADR-0047.
|
|
397
|
+
|
|
398
|
+
The declaration scopes the **browser** store only; Node mints stay `file://` and throwaway export clones
|
|
399
|
+
stay memory (environment resolution is orthogonal).
|
|
400
|
+
|
|
336
401
|
## Consistency groups: scope them to the joined cluster
|
|
337
402
|
|
|
338
403
|
`consistencyGroup` binds tables onto one shape stream committing **atomically** at a shared LSN
|
package/src/apply-strategy.ts
CHANGED
|
@@ -24,14 +24,25 @@ export interface SyncColumnType {
|
|
|
24
24
|
sqlType: string;
|
|
25
25
|
/** True when the column is an array of any dimension. */
|
|
26
26
|
isArray: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* True when the column is a Drizzle `pgEnum` column. An enum's {@link sqlType} is its custom type NAME
|
|
29
|
+
* (not a base type), so it is not in {@link COPY_SAFE_BASE_TYPES} — but enum labels round-trip
|
|
30
|
+
* losslessly through both the COPY text format and a `json_to_recordset` cast (whose cast type is the
|
|
31
|
+
* enum type name), so an enum column is COPY-safe / JSON-safe. This flag carries that positively rather
|
|
32
|
+
* than trying to whitelist every enum type name. When true, {@link sqlType} is the enum type name,
|
|
33
|
+
* usable as a cast type once the applier identifier-quotes (and schema-qualifies) it.
|
|
34
|
+
*/
|
|
35
|
+
isEnum: boolean;
|
|
27
36
|
}
|
|
28
37
|
|
|
29
38
|
/**
|
|
30
39
|
* Postgres scalar types whose JS→CSV-text rendering is unambiguous, so PGlite `COPY ... FROM`
|
|
31
40
|
* round-trips them losslessly. Deliberately **conservative** (ADR-0009 decision 3): never add a
|
|
32
41
|
* type here unless `COPY` truly handles it. Notably EXCLUDES timestamps/dates (format nuances),
|
|
33
|
-
* `numeric` (precision/format), `bytea`, `interval`,
|
|
34
|
-
*
|
|
42
|
+
* `numeric` (precision/format), `bytea`, `interval`, `json`/`jsonb`, and arrays — those route to the
|
|
43
|
+
* `json` tier (if json-representable) or the always-correct `insert` floor. Enums are NOT listed by
|
|
44
|
+
* type name (each is a distinct custom type) but ARE COPY-safe — carried via {@link SyncColumnType.isEnum}
|
|
45
|
+
* rather than this base-type set, since their labels round-trip through COPY text losslessly.
|
|
35
46
|
*/
|
|
36
47
|
const COPY_SAFE_BASE_TYPES = new Set<string>([
|
|
37
48
|
"text",
|
|
@@ -71,7 +82,15 @@ function normalizeBaseType(sqlType: string): string {
|
|
|
71
82
|
}
|
|
72
83
|
|
|
73
84
|
function isCopySafe(column: SyncColumnType): boolean {
|
|
74
|
-
|
|
85
|
+
if (column.isArray) {
|
|
86
|
+
return false;
|
|
87
|
+
}
|
|
88
|
+
// Enum labels are plain text on the COPY wire; PGlite's COPY input casts them into the enum type
|
|
89
|
+
// losslessly, so an enum column is COPY-safe even though its `sqlType` (the enum name) is not a base type.
|
|
90
|
+
if (column.isEnum) {
|
|
91
|
+
return true;
|
|
92
|
+
}
|
|
93
|
+
return COPY_SAFE_BASE_TYPES.has(normalizeBaseType(column.sqlType));
|
|
75
94
|
}
|
|
76
95
|
|
|
77
96
|
/**
|
package/src/config.ts
CHANGED
|
@@ -12,14 +12,15 @@ export type TableMode = "readonly" | "writeonly" | "readwrite";
|
|
|
12
12
|
* interleaved). It is a **required** declaration on every writable table; there is no silent default
|
|
13
13
|
* (registry validation rejects an undeclared writable table — the third hard-require). v1:
|
|
14
14
|
*
|
|
15
|
-
* - `last-write-wins` — apply the stale write anyway.
|
|
16
|
-
*
|
|
15
|
+
* - `last-write-wins` — apply the stale write anyway. A required, named declaration: the toolkit never
|
|
16
|
+
* silently clobbers under an unspecified default, so choosing this is an explicit acceptance of the
|
|
17
|
+
* stale-overwrite semantics.
|
|
17
18
|
* - `reject-if-stale` — do not apply; surface the conflict so the user's edit is kept (the optimistic
|
|
18
19
|
* Overlay stays, marked conflicted) and resolved as a new write.
|
|
19
20
|
*
|
|
20
21
|
* `field-merge` (apply only the changed fields over the current row) and `custom-resolver` (a client
|
|
21
|
-
* re-resolution protocol) are reserved
|
|
22
|
-
*
|
|
22
|
+
* re-resolution protocol) are reserved values for future policies — declared here so the policy surface
|
|
23
|
+
* names its full intended range.
|
|
23
24
|
*/
|
|
24
25
|
export type ConflictPolicy = "last-write-wins" | "reject-if-stale";
|
|
25
26
|
|
|
@@ -99,6 +100,59 @@ export function isWriteMode(value: unknown): value is WriteMode {
|
|
|
99
100
|
return typeof value === "string" && (WRITE_MODES as readonly string[]).includes(value);
|
|
100
101
|
}
|
|
101
102
|
|
|
103
|
+
/**
|
|
104
|
+
* The registry-declared BROWSER storage backend (ADR-0049 decision 1). `opfs` (default) is the store's
|
|
105
|
+
* normal boot on every platform — the capability machinery selects the `opfs-repacked` VFS where a home
|
|
106
|
+
* can hold sync-access handles, and falls back to in-SharedWorker `idbfs` when no home can. `idbfs` is the
|
|
107
|
+
* one way to opt out of that machinery entirely: no probe, no election, the engine boots on idb.
|
|
108
|
+
*
|
|
109
|
+
* Scopes the BROWSER store only. Environment resolution is orthogonal and unchanged (ADR-0049 decision 14):
|
|
110
|
+
* a Node mint stays `file://` and the export clone stays memory regardless of this declaration.
|
|
111
|
+
*/
|
|
112
|
+
export type StorageBackend = "opfs" | "idbfs";
|
|
113
|
+
|
|
114
|
+
/** The {@link StorageBackend} values. Source of truth for {@link SyncStorageDeclaration} validation. */
|
|
115
|
+
export const STORAGE_BACKENDS = ["opfs", "idbfs"] as const satisfies readonly StorageBackend[];
|
|
116
|
+
|
|
117
|
+
/** Type guard: is `value` a {@link StorageBackend}? */
|
|
118
|
+
export function isStorageBackend(value: unknown): value is StorageBackend {
|
|
119
|
+
return typeof value === "string" && (STORAGE_BACKENDS as readonly string[]).includes(value);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* The registry-declared durability mode (ADR-0047; ADR-0049 decision 9). `relaxed` (default) returns a
|
|
124
|
+
* write before its durable flush and schedules the flush asynchronously — the local-first "instant write"
|
|
125
|
+
* the toolkit exists to deliver. `strict` reinstates the synchronous flush boundary (a ~50ms+ per-statement
|
|
126
|
+
* floor on idb; cheap on `opfs-repacked`). It binds EVERY open of EVERY store minted from the registry, so
|
|
127
|
+
* no minting/open site takes a durability option to contradict it, and an opfs→idbfs capability fallback
|
|
128
|
+
* keeps the declared mode.
|
|
129
|
+
*/
|
|
130
|
+
export type StorageDurability = "relaxed" | "strict";
|
|
131
|
+
|
|
132
|
+
/** The {@link StorageDurability} values. Source of truth for {@link SyncStorageDeclaration} validation. */
|
|
133
|
+
export const STORAGE_DURABILITIES = ["relaxed", "strict"] as const satisfies readonly StorageDurability[];
|
|
134
|
+
|
|
135
|
+
/** Type guard: is `value` a {@link StorageDurability}? */
|
|
136
|
+
export function isStorageDurability(value: unknown): value is StorageDurability {
|
|
137
|
+
return typeof value === "string" && (STORAGE_DURABILITIES as readonly string[]).includes(value);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* The registry's storage contract (ADR-0049 decision 1, ADR-0047). Storage is PART OF THE DATA CONTRACT:
|
|
142
|
+
* whether losing the last not-yet-flushed action is acceptable, and whether OPFS may be used at all, is
|
|
143
|
+
* decided by what the data IS — so it is declared once on the registry, not at any minting/open site.
|
|
144
|
+
*
|
|
145
|
+
* - {@link StorageDurability durability} defaults to `"relaxed"` and binds every toolkit-minted open of
|
|
146
|
+
* every store the registry mints (its own boot AND the provision/spare path). No open-site option exists
|
|
147
|
+
* to contradict it; a capability fallback keeps the declared mode. A no-op on `memory` clones.
|
|
148
|
+
* - {@link StorageBackend backend} defaults to `"opfs"` and scopes the BROWSER store only; Node/`file` and
|
|
149
|
+
* `memory` clones are unaffected. `"idbfs"` opts the store out of the capability/election machinery.
|
|
150
|
+
*/
|
|
151
|
+
export interface SyncStorageDeclaration {
|
|
152
|
+
backend?: StorageBackend;
|
|
153
|
+
durability?: StorageDurability;
|
|
154
|
+
}
|
|
155
|
+
|
|
102
156
|
/**
|
|
103
157
|
* Minimal verified-JWT claim shape the sync layer understands. Providers may
|
|
104
158
|
* attach arbitrary extra claims; those stay reachable through index access and
|
|
@@ -316,21 +370,6 @@ export interface RowFilterSpec {
|
|
|
316
370
|
revision?: string | number;
|
|
317
371
|
}
|
|
318
372
|
|
|
319
|
-
/**
|
|
320
|
-
* The non-parameterized inline `where` for a filter: the string a `customWhere` returns (the raw
|
|
321
|
-
* escape hatch), or `null` when there is no filter or `customWhere` returns a Drizzle `SQL` fragment
|
|
322
|
-
* (which is parameterized by {@link buildRowFilterShape}, not inlined here). Most callers want
|
|
323
|
-
* `buildRowFilterShape` — this is the inline-string view it composes from.
|
|
324
|
-
*/
|
|
325
|
-
export function buildRowFilterWhere(
|
|
326
|
-
filter: RowFilterSpec,
|
|
327
|
-
claims: JwtClaims | null,
|
|
328
|
-
params?: Record<string, unknown>,
|
|
329
|
-
): string | null {
|
|
330
|
-
const custom = filter.customWhere?.(claims ?? {}, params);
|
|
331
|
-
return typeof custom === "string" && custom ? custom : null;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
373
|
/**
|
|
335
374
|
* A **bare** (table-unqualified) quoted identifier for a Drizzle column — `"workspace_id"`, never
|
|
336
375
|
* `"work_items"."workspace_id"`. Electric's shape `where` grammar requires *plain* column references
|
package/src/mutation.ts
CHANGED
|
@@ -49,8 +49,7 @@ export const mutationEnvelopeSchema = z
|
|
|
49
49
|
* at enqueue for a chain head, or its predecessor's resolved version for a chained write. The
|
|
50
50
|
* applier compares the row's *current* Server version to it — `current > base` ⇒ a stale write
|
|
51
51
|
* (an external write interleaved). Absent on a `create` (its conflict is a PK collision, a
|
|
52
|
-
* separate concern) and on
|
|
53
|
-
* check runs.
|
|
52
|
+
* separate concern) and on blind authoritative writes; absence means no stale check runs.
|
|
54
53
|
*/
|
|
55
54
|
baseServerVersion: unixMicrosecondsSchema.optional(),
|
|
56
55
|
})
|
package/src/projection.ts
CHANGED
|
@@ -51,6 +51,9 @@ export function asReadonly<TTable extends AnyPgTable, TLocalTable extends AnyPgT
|
|
|
51
51
|
localTable: entry.localTable,
|
|
52
52
|
mode: "readonly",
|
|
53
53
|
primaryKey: entry.primaryKey,
|
|
54
|
+
// Read-relevant (ADR-0045): a readonly projection over a table that receives locally-derived rows must
|
|
55
|
+
// apply CDC inserts with the same idempotent policy, so carry the resolved applyMode verbatim.
|
|
56
|
+
applyMode: entry.applyMode,
|
|
54
57
|
...(entry.shape != null ? { shape: entry.shape } : {}),
|
|
55
58
|
...(readonlyProjection != null ? { clientProjection: readonlyProjection } : {}),
|
|
56
59
|
...(entry.serverProjection != null ? { serverProjection: entry.serverProjection } : {}),
|