@pgxsinkit/client 0.1.53 → 0.2.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/README.md +22 -0
- package/dist/adoption.d.ts +118 -0
- package/dist/adoption.d.ts.map +1 -0
- package/dist/boot-report.d.ts +54 -15
- package/dist/boot-report.d.ts.map +1 -1
- package/dist/convergence.d.ts +2 -1
- package/dist/convergence.d.ts.map +1 -1
- package/dist/export-store.d.ts +1 -1
- package/dist/export-store.d.ts.map +1 -1
- package/dist/index.d.ts +286 -51
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4795 -1519
- package/dist/index.js.map +34 -24
- package/dist/live-rows-sql.d.ts +1 -1
- package/dist/local-store.d.ts +16 -31
- package/dist/local-store.d.ts.map +1 -1
- package/dist/local-tables.d.ts +4 -4
- package/dist/mutation.d.ts +18 -15
- package/dist/mutation.d.ts.map +1 -1
- package/dist/opfs-effects.d.ts +51 -0
- package/dist/opfs-effects.d.ts.map +1 -0
- package/dist/placement-probe.d.ts +75 -0
- package/dist/placement-probe.d.ts.map +1 -0
- package/dist/schema.d.ts +11 -16
- package/dist/schema.d.ts.map +1 -1
- package/dist/store-boot.d.ts +77 -0
- package/dist/store-boot.d.ts.map +1 -0
- package/dist/store-lifecycle.d.ts +153 -0
- package/dist/store-lifecycle.d.ts.map +1 -0
- package/dist/store-meta.d.ts +190 -0
- package/dist/store-meta.d.ts.map +1 -0
- package/dist/store-path.d.ts +77 -7
- package/dist/store-path.d.ts.map +1 -1
- package/dist/sync/apply.d.ts.map +1 -1
- package/dist/sync/shape-inbox.d.ts +1 -1
- package/dist/sync/types.d.ts +3 -3
- package/dist/testing.js.map +3 -3
- package/dist/worker/attach-sync-client.d.ts +300 -16
- package/dist/worker/attach-sync-client.d.ts.map +1 -1
- package/dist/worker/define-sync-worker.d.ts +164 -23
- package/dist/worker/define-sync-worker.d.ts.map +1 -1
- package/dist/worker/election-coordinator.d.ts +95 -0
- package/dist/worker/election-coordinator.d.ts.map +1 -0
- package/dist/worker/engine-control.d.ts +266 -0
- package/dist/worker/engine-control.d.ts.map +1 -0
- package/dist/worker/engine-router.d.ts +75 -0
- package/dist/worker/engine-router.d.ts.map +1 -0
- package/dist/worker/live-query-manager.d.ts.map +1 -1
- package/dist/worker/protocol.d.ts +47 -31
- package/dist/worker/protocol.d.ts.map +1 -1
- package/dist/worker/sw-placement.d.ts +37 -0
- package/dist/worker/sw-placement.d.ts.map +1 -0
- package/package.json +4 -3
- package/skills/core/SKILL.md +15 -12
- package/skills/operating/SKILL.md +142 -46
- package/src/adoption.ts +275 -0
- package/src/boot-report.ts +70 -17
- package/src/convergence.ts +2 -1
- package/src/export-store.ts +1 -1
- package/src/index.ts +1157 -115
- package/src/live-rows-sql.ts +1 -1
- package/src/local-store.ts +18 -40
- package/src/local-tables.ts +2 -2
- package/src/mutation.ts +115 -53
- package/src/mutations-api.ts +3 -3
- package/src/opfs-effects.ts +160 -0
- package/src/placement-probe.ts +168 -0
- package/src/schema.ts +17 -22
- package/src/store-boot.ts +343 -0
- package/src/store-lifecycle.ts +227 -0
- package/src/store-meta.ts +459 -0
- package/src/store-path.ts +197 -22
- package/src/sync/apply.ts +63 -63
- package/src/sync/index.ts +2 -2
- package/src/sync/shape-inbox.ts +1 -1
- package/src/sync/types.ts +3 -3
- package/src/testing.ts +2 -2
- package/src/worker/attach-sync-client.ts +1753 -102
- package/src/worker/define-sync-worker.ts +1034 -71
- package/src/worker/election-coordinator.ts +462 -0
- package/src/worker/engine-control.ts +379 -0
- package/src/worker/engine-router.ts +355 -0
- package/src/worker/live-query-manager.ts +4 -1
- package/src/worker/protocol.ts +46 -16
- package/src/worker/sw-placement.ts +64 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { type QueryOptions, type Results } from "@electric-sql/pglite";
|
|
2
2
|
import { type PGliteWithLive } from "@electric-sql/pglite/live";
|
|
3
3
|
import type { PgliteDatabase } from "drizzle-orm/pglite";
|
|
4
|
-
import type { MutationAck, MutationDiagnostics, MutationSummary, RegistryRelations, RegistryViews, SyncRuntimeStatus, SyncTableCreateInput, SyncTableName, SyncTableRegistry, SyncTableUpdateInput, WriteMode } from "@pgxsinkit/contracts";
|
|
4
|
+
import type { MutationAck, MutationDiagnostics, MutationSummary, RegistryRelations, RegistryViews, SyncRuntimeStatus, SyncTableCreateInput, SyncStorageDeclaration, SyncTableName, SyncTableRegistry, SyncTableUpdateInput, StorageDurability, WriteMode } from "@pgxsinkit/contracts";
|
|
5
|
+
import type { CreateOpfsRepackedPGliteOptions, OpfsRepackedPGlite } from "@pgxsinkit/pglite-opfs-repacked";
|
|
6
|
+
import { type AdoptionDeclaration, type AdoptionEffects, type AdoptionOutcome } from "./adoption";
|
|
5
7
|
import { type BootReport } from "./boot-report";
|
|
6
8
|
import { type ConvergenceTrigger } from "./convergence";
|
|
7
9
|
import { type DataExportOptions, type DataExportResult } from "./export-data";
|
|
@@ -10,7 +12,10 @@ import { type StoreExportOptions, type StoreExportResult } from "./export-store"
|
|
|
10
12
|
import { type LocalStoreVersionEvent } from "./local-store";
|
|
11
13
|
import { type MutationBatchItem, type MutationDetail, type MutationKind } from "./mutation";
|
|
12
14
|
import { type MutationsApi } from "./mutations-api";
|
|
15
|
+
import { type OpfsEffectsDeps } from "./opfs-effects";
|
|
13
16
|
import { generateLocalSchemaSql } from "./schema";
|
|
17
|
+
import { type ResolvedStorageBackend, type StoreBootResolution } from "./store-boot";
|
|
18
|
+
import { type StoreBootVerdict, type StoreMetaDeps } from "./store-meta";
|
|
14
19
|
import { type StorePathInput } from "./store-path";
|
|
15
20
|
import { type SyncEngine } from "./sync";
|
|
16
21
|
import { type LiveQueryDiagnostics } from "./worker/live-query-manager";
|
|
@@ -20,7 +25,12 @@ export type { BootReport } from "./boot-report";
|
|
|
20
25
|
export { type CloneDumpPhases, type CloneDumpResult, type DiagnosticExportDeps, type DiagnosticExportOptions, type DiagnosticExportResult, performDiagnosticExport, runThrowawayCloneDump, } from "./export-dump";
|
|
21
26
|
export { type DataExportDeps, DataExportDrainError, type DataExportOptions, type DataExportResult, DEFAULT_DRAIN_TIMEOUT_MS, type DrainJournalOption, type DrainJournalOptions, performDataExport, } from "./export-data";
|
|
22
27
|
export { type DataExportReport, deriveStoreId, type DiagnosticDumpReport, type ExportReport, type ExportReportCommon, performDatadirDump, performStoreExport, type StoreBackupReport, type StoreExportDeps, type StoreExportOptions, type StoreExportResult, } from "./export-store";
|
|
28
|
+
export { type AdoptionDeclaration, type AdoptionEffects, adoptionEligible, type AdoptionOutcome, runAdoptionTransition, runManualAdoption, } from "./adoption";
|
|
23
29
|
export { createLifecycleSlot, LifecycleBusyError, type LifecycleSlot } from "./lifecycle-slot";
|
|
30
|
+
export { destroyStoreArtifacts, type ElectedEngineWorker, ElectedEngineUnconstructibleError, quiesceStoreWorker, StoreDestroyRefusedError, type StoreDestructionRetryOptions, type StoreWorkerQuiesceOptions, type StoreWorkerQuiesceOutcome, wrapEngineWorker, } from "./worker/attach-sync-client";
|
|
31
|
+
export { ENGINE_RELOCATED_CODE, EngineRelocatedError, type EngineRelocatedOutcome, type ExecutionLimitConfig, ExecutionLimitMismatchError, } from "./worker/engine-control";
|
|
32
|
+
export { createOpfsEffects, type OpfsEffects, type OpfsEffectsDeps } from "./opfs-effects";
|
|
33
|
+
export { resolveStoreBoot, type ResolvedStorageBackend, type ResolveStoreBootOptions, type StoreBootResolution, } from "./store-boot";
|
|
24
34
|
export { InvalidStorePathError, NonPersistentStoreError, resolveStoreDataDir, RestoreTargetExistsError, storeIndexedDbDatabaseName, storeTargetExists, } from "./store-path";
|
|
25
35
|
export { type ConvergenceClient, type ConvergenceDriver, type ConvergenceDriverOptions, type ConvergenceTrigger, createBrowserConvergenceTrigger, createConvergenceDriver, createIntervalConvergenceTrigger, } from "./convergence";
|
|
26
36
|
export { instrumentShapeFetch, setSyncDebugSink, syncDebug, timeAsync } from "./debug";
|
|
@@ -29,7 +39,7 @@ export { defineSyncWorker, type DefineSyncWorkerOptions, type SyncWorkerHost } f
|
|
|
29
39
|
export { computeLiveDiff, type LiveDiffState, LiveRowsMaterializer, rowKey, seedLiveDiffState, } from "./worker/live-diff";
|
|
30
40
|
export type { LiveQueryDiagnostics };
|
|
31
41
|
export { createWorkerTokenCache, type WorkerTokenCache } from "./worker/token-cache";
|
|
32
|
-
export { type AttachAckPayload, type AttachPayload, type AuthTokenSnapshot, BRIDGE_CHANNEL, BRIDGE_PROTOCOL_VERSION, type BridgeCodec, type BridgeEnvelope, type BridgeEvent, type BridgeMessageType, type BridgePort, encodeEnvelope, type ExportArtefactWire, identityCodec, isBridgeEnvelope, type LiveDiffPayload, type LiveInitialPayload, postBridgeMessage, type ProvisionAckPayload, type ProvisionPayload, type RpcOp, type RpcPayload, type RpcResultPayload, type SetOnlinePayload, type SubscribePayload, type TokenRequestPayload, type TokenResponsePayload, type WakePayload, } from "./worker/protocol";
|
|
42
|
+
export { type AttachAckPayload, type AttachPayload, type AuthTokenSnapshot, BRIDGE_CHANNEL, BRIDGE_PROTOCOL_VERSION, type BridgeCodec, type BridgeEnvelope, type BridgeEvent, type BridgeMessageType, type BridgePort, type BridgeTransferable, encodeEnvelope, type ExportArtefactWire, identityCodec, isBridgeEnvelope, type LiveDiffPayload, type LiveInitialPayload, postBridgeMessage, type ProvisionAckPayload, type ProvisionPayload, type RpcOp, type RpcPayload, type RpcResultPayload, type SetOnlinePayload, type SubscribePayload, type TokenRequestPayload, type TokenResponsePayload, type WakePayload, } from "./worker/protocol";
|
|
33
43
|
export { assertLazyRefsActivated, buildLazyGuardIndex, findReferencedLazyKeysInSql, findReferencedSyncedKeysInSql, type LazyGuardIndex, LazyRelationNotActivatedError, } from "./lazy-guard";
|
|
34
44
|
export { type AllMutationsView, getAllMutationsView, getJournalTable, getLocalMetaTable, getOverlayTable, getReadModelView, getSyncedLocalTable, getSyncStateView, type JournalTable, type LocalMetaTable, type OverlayTable, type ReadModelView, type SyncStateView, } from "./local-tables";
|
|
35
45
|
export { createMutationsApi, type MutationListOptions, type MutationListSubscription, type MutationsApi, type MutationsApiDeps, type MutationSummaryDetail, type MutationSummarySubscription, } from "./mutations-api";
|
|
@@ -76,20 +86,18 @@ export interface CreateClientPGliteOptions {
|
|
|
76
86
|
*/
|
|
77
87
|
bootAssets?: Promise<PgliteBootAssets>;
|
|
78
88
|
/**
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
* (ADR-0036), so relaxing their flush TIMING — not their persistence — costs nothing durable; consumer
|
|
90
|
-
* local-only tables carry whatever risk the consumer accepts. Opt out with `relaxedDurability: false`.
|
|
89
|
+
* @internal Toolkit-internal durability carrier (ADR-0047), NOT a public per-open knob. Durability is
|
|
90
|
+
* registry-declared: {@link createSyncClient} resolves `storage.durability ?? "relaxed"` off its registry
|
|
91
|
+
* and threads the resolved mode in here — the ONE resolution point — for every mint it funnels through this
|
|
92
|
+
* factory (its own boot, the worker provision/spare mint, the pre-expose idb drain read). Defaults to
|
|
93
|
+
* `"relaxed"` when absent and is stamped onto the `boot pglite.create` rail (ADR-0047 D3). On idb, relaxed
|
|
94
|
+
* returns before the whole-datadir snapshot flush and schedules it asynchronously; strict keeps that
|
|
95
|
+
* synchronous snapshot (~100–200ms per statement). On OPFS-repacked the package factory keeps PGlite on its
|
|
96
|
+
* awaited host path: relaxed routine sync asserts health without an ordinary physical flush, while strict
|
|
97
|
+
* flushes arena data before metadata. Initialization, activation, and open-state close retain strict
|
|
98
|
+
* ordering in both OPFS modes.
|
|
91
99
|
*/
|
|
92
|
-
|
|
100
|
+
durability?: StorageDurability;
|
|
93
101
|
/**
|
|
94
102
|
* @internal Test-only storage-backend override (ADR-0036). `"memory"` resolves the store to a
|
|
95
103
|
* scheme-selected in-memory store — the sanctioned unit-test/ephemeral lane. Never a product
|
|
@@ -104,6 +112,27 @@ export interface CreateClientPGliteOptions {
|
|
|
104
112
|
* freshness check of its own. A corrupt/foreign tarball surfaces as a PGlite boot failure here.
|
|
105
113
|
*/
|
|
106
114
|
restoreFrom?: File | Blob;
|
|
115
|
+
/**
|
|
116
|
+
* @internal ADR-0049 (capability-driven engine placement) step 10a: the placement probe's result, threaded
|
|
117
|
+
* from the caller (the boot path resolves it via {@link resolveStoreBoot}). Default `false` keeps today's
|
|
118
|
+
* behavior BYTE-IDENTICAL — the store resolves to `idb://` / `file://` / `memory://` exactly as before.
|
|
119
|
+
* `true` resolves the browser store to `opfs://`, which routes to the opfs-repacked factory below.
|
|
120
|
+
*/
|
|
121
|
+
hasOpfsSyncAccess?: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* @internal ADR-0049 step 10a: the opfs-repacked factory + store-directory seam, injectable so Bun unit
|
|
124
|
+
* tests exercise the `opfs://` branch WITHOUT loading real WASM/OPFS. In production both default to the real
|
|
125
|
+
* implementations (`createOpfsRepackedPGlite` via a lazy `import()`, and the OPFS effects' store directory
|
|
126
|
+
* handle). Never consumer-facing.
|
|
127
|
+
*/
|
|
128
|
+
pgliteFactories?: {
|
|
129
|
+
/** The opfs-repacked PGlite factory; defaults to a lazily-imported `createOpfsRepackedPGlite`. */
|
|
130
|
+
createOpfsRepacked?: (options: CreateOpfsRepackedPGliteOptions) => Promise<OpfsRepackedPGlite>;
|
|
131
|
+
/** The create-if-absent store directory handle for the factory; defaults to the real OPFS effects. */
|
|
132
|
+
getStoreDirectoryHandle?: () => Promise<unknown>;
|
|
133
|
+
/** Backoff between bounded open retries (ms); defaults to a small real delay. Tests pass `0`. */
|
|
134
|
+
retryDelayMs?: number;
|
|
135
|
+
};
|
|
107
136
|
}
|
|
108
137
|
/**
|
|
109
138
|
* Create the raw local PGlite store the sync client runs on — the SAME `PGlite.create` call
|
|
@@ -111,25 +140,189 @@ export interface CreateClientPGliteOptions {
|
|
|
111
140
|
* consumption, and the `boot pglite.create` rail stamp), extracted so exactly one implementation exists
|
|
112
141
|
* and a host can create the store EAGERLY on an earlier screen. Hand the returned (still-pending)
|
|
113
142
|
* instance to {@link CreateSyncClientOptions.precreatedPglite}: the client then owns schema exec, prepare
|
|
114
|
-
* hooks, journal recovery and
|
|
143
|
+
* hooks, journal recovery, and registry reconciliation, exactly as its own `storePath` path does.
|
|
115
144
|
*
|
|
116
|
-
* Takes a plain store path (ADR-0036), never a storage URL — the backend is DERIVED
|
|
117
|
-
* browser
|
|
145
|
+
* Takes a plain store path (ADR-0036), never a storage URL — the backend is DERIVED from the engine home
|
|
146
|
+
* (capability-selected opfs-repacked with IndexedDB fallback in a browser, or the filesystem on Bun/Node);
|
|
147
|
+
* a scheme-bearing path throws {@link InvalidStorePathError}.
|
|
118
148
|
* Also accepts the testing helper's output (`createClientPGlite(memoryStoreForTests("x"))`) so a test can
|
|
119
149
|
* mint a memory store without naming a backend.
|
|
120
150
|
*
|
|
121
151
|
* The instance is deliberately **schemaless** — the registry-derived local schema is role/registry
|
|
122
152
|
* dependent, so it is applied post-create by `createSyncClient`. The eager create buys only the expensive
|
|
123
|
-
* initdb (+
|
|
153
|
+
* initdb (+ persistent-store open), which is the dominant cold-boot cost once the WASM is pre-warmed.
|
|
124
154
|
*
|
|
125
155
|
* `bootAssets` is the pre-warmed WASM/fs bundle (see {@link CreateSyncClientOptions.pgliteBootAssets}); a
|
|
126
156
|
* rejected warm is caught to `undefined`, so PGlite falls back to loading its own assets — never a failure.
|
|
127
157
|
*/
|
|
128
158
|
export declare function createClientPGlite(store: StorePathInput, options?: CreateClientPGliteOptions): Promise<ClientPGlite>;
|
|
159
|
+
/**
|
|
160
|
+
* A store is being actively held by a live in-process client. The manual {@link adoptStore} API is a
|
|
161
|
+
* CREATION-PATH operation (like `restoreFrom`): it must be called INSTEAD of {@link createSyncClient}, never
|
|
162
|
+
* against a store an open client already owns — an idb→opfs migration under a live engine would strand the
|
|
163
|
+
* engine's writes. Detected via a module-level live-store registry (every {@link createSyncClient} that mints a
|
|
164
|
+
* client-owned store registers its path and unregisters on `stop()`/`destroy()`).
|
|
165
|
+
*/
|
|
166
|
+
export declare class StoreInUseError extends Error {
|
|
167
|
+
constructor(storePath: string);
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* @internal Injectable seams for the boot-time adoption decision (step 11b). Real defaults in production; unit
|
|
171
|
+
* tests inject fakes so the wiring is exercised without real IndexedDB/OPFS/WASM. Shared by the automatic boot
|
|
172
|
+
* path ({@link runBootAdoption}) and the manual {@link adoptStore} API.
|
|
173
|
+
*/
|
|
174
|
+
export interface AdoptionWiringSeams {
|
|
175
|
+
/** Non-creating recordless idb existence check (adoption only ever migrates an EXISTING idb store). */
|
|
176
|
+
idbStoreExists?: (storePath: string) => Promise<boolean>;
|
|
177
|
+
/** The boot classifier + executor (`store-boot.ts`) — its verdict drives {@link adoptionEligible}. */
|
|
178
|
+
resolveStoreBoot?: (storePath: string) => Promise<StoreBootResolution>;
|
|
179
|
+
/** The real {@link AdoptionEffects} factory; injected in tests with recording fakes. */
|
|
180
|
+
buildEffects?: (storePath: string) => AdoptionEffects;
|
|
181
|
+
/** Diagnostics sink; defaults to the boot debug rail. */
|
|
182
|
+
log?: (message: string, data?: Record<string, unknown>) => void;
|
|
183
|
+
/** The store-meta IndexedDB seam (defaults to `globalThis.indexedDB`). */
|
|
184
|
+
meta?: StoreMetaDeps;
|
|
185
|
+
/** The OPFS root seam (defaults to `navigator.storage.getDirectory`). */
|
|
186
|
+
opfs?: OpfsEffectsDeps;
|
|
187
|
+
/** The external PGlite create boundary; the real adoption transition and inner createSyncClient remain intact. */
|
|
188
|
+
createPglite?: typeof createClientPGlite;
|
|
189
|
+
/** The live-store guard the manual {@link adoptStore} consults (defaults to the module-level registry). */
|
|
190
|
+
isStoreLive?: (storePath: string) => boolean;
|
|
191
|
+
}
|
|
192
|
+
/** The bootstrap context an adoption transition's real effects need (registry + endpoints + auth + gate). */
|
|
193
|
+
interface AdoptionBootContext<TRegistry extends SyncTableRegistry> {
|
|
194
|
+
registry: TRegistry;
|
|
195
|
+
electricUrl: string;
|
|
196
|
+
batchWriteUrl: string;
|
|
197
|
+
getAuthToken?: () => Promise<string | undefined>;
|
|
198
|
+
requestHeaders?: Record<string, string>;
|
|
199
|
+
/** The effective app-level sync toggle — a `false` here fails the gate (adoption cannot reconstruct offline-by-config). */
|
|
200
|
+
syncEnabled: boolean;
|
|
201
|
+
/** Bounded wait for the eager Consistency groups' initial catch-up before the gate fails (offline/unauthorized). */
|
|
202
|
+
gateDeadlineMs?: number;
|
|
203
|
+
meta?: StoreMetaDeps;
|
|
204
|
+
opfs?: OpfsEffectsDeps;
|
|
205
|
+
createPglite?: typeof createClientPGlite;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* @internal The boot-time AUTOMATIC adoption decision (step 11b). Returns whether the subsequent client-owned
|
|
209
|
+
* mint should open the OPFS backend (`bootHasOpfs`) after any adoption transition ran. Adoption ONLY ever
|
|
210
|
+
* migrates an EXISTING idb store (a committed-opfs or virgin store has no idb predecessor), so a non-creating
|
|
211
|
+
* idb existence check gates the whole path; then the boot classifier's verdict drives {@link adoptionEligible}.
|
|
212
|
+
* On `adopted: true` the opfs successor is committed and the mint opens it; on any `adopted: false` (owed
|
|
213
|
+
* journal / gate unmet / barrier failed) the idb store stays authoritative and the mint opens idb.
|
|
214
|
+
*/
|
|
215
|
+
export declare function runBootAdoption<TRegistry extends SyncTableRegistry>(storePath: string, declaration: AdoptionDeclaration, ctx: AdoptionBootContext<TRegistry>, seamsOverride?: AdoptionWiringSeams): Promise<{
|
|
216
|
+
bootHasOpfs: boolean;
|
|
217
|
+
outcome?: AdoptionOutcome;
|
|
218
|
+
}>;
|
|
219
|
+
/**
|
|
220
|
+
* @internal Injectable seams for the FRESH/RESTORE commitment boot wiring (step 11c). Real defaults in
|
|
221
|
+
* production (`globalThis.indexedDB` / `navigator.storage`); unit tests inject fakes so the phase machine and
|
|
222
|
+
* the commitment barrier are exercised without real IndexedDB / OPFS / WASM. Mirrors {@link AdoptionWiringSeams}:
|
|
223
|
+
* the IO surfaces are faked, the barrier runs over the REAL `resolveStoreBoot` / `createOpfsEffects` /
|
|
224
|
+
* `writeStoreMetaRecord` so the record-before-directory ordering and the sentinel/phase writes are real.
|
|
225
|
+
*/
|
|
226
|
+
export interface FreshCommitmentSeams {
|
|
227
|
+
/** The boot classifier + executor (`store-boot.ts`); its verdict decides whether a candidate needs the barrier. */
|
|
228
|
+
resolveStoreBoot?: (storePath: string) => Promise<StoreBootResolution>;
|
|
229
|
+
/** Diagnostics sink; defaults to the boot debug rail. */
|
|
230
|
+
log?: (message: string, data?: Record<string, unknown>) => void;
|
|
231
|
+
/** The store-meta IndexedDB seam (defaults to `globalThis.indexedDB`). */
|
|
232
|
+
meta?: StoreMetaDeps;
|
|
233
|
+
/** The OPFS root seam (defaults to `navigator.storage.getDirectory`). */
|
|
234
|
+
opfs?: OpfsEffectsDeps;
|
|
235
|
+
/** The recordless non-creating idb existence check (defaults to store-meta's `idbStoreExists`). */
|
|
236
|
+
idbExists?: (storePath: string) => Promise<boolean>;
|
|
237
|
+
}
|
|
238
|
+
/** The PRE-MINT outcome of {@link resolveFreshBoot}: the resolved backend and whether the milestone owes a barrier. */
|
|
239
|
+
export interface FreshBootResolution {
|
|
240
|
+
/** Whether the client-owned mint should open the OPFS backend (a classification landing on idb flips this false). */
|
|
241
|
+
bootHasOpfs: boolean;
|
|
242
|
+
/** The resolved backend, for diagnostics (ADR-0049). */
|
|
243
|
+
storageBackend: ResolvedStorageBackend;
|
|
244
|
+
/** The executed boot verdict (absent on the short-circuited non-opfs path). */
|
|
245
|
+
verdict?: StoreBootVerdict;
|
|
246
|
+
/**
|
|
247
|
+
* Whether an UNCOMMITTED opfs candidate was stood up that the shared commitment barrier must promote at the
|
|
248
|
+
* local-init milestone ({@link runFreshCommitmentBarrier}) BEFORE exposure. True only for the two fresh
|
|
249
|
+
* candidate verdicts (`virgin-create` / `delete-candidate-and-rebuild`) landing on `opfs-repacked`; a
|
|
250
|
+
* committed store (`open-committed` / `repair-record-then-open-committed`) is already committed (no re-run).
|
|
251
|
+
*/
|
|
252
|
+
needsCommitmentBarrier: boolean;
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* @internal ADR-0049 step 11c — Phase 1 (PRE-MINT). Route a client-owned OPFS-home boot through the boot phase
|
|
256
|
+
* machine ({@link resolveStoreBoot}) so: a virgin/restore boot stands up an UNCOMMITTED opfs candidate (record
|
|
257
|
+
* BEFORE directory, invariant 12); a committed store resolves `open-committed` (no barrier re-run); a recordless
|
|
258
|
+
* idb store (adoption not declared) downgrades to idb (invariant 14 — never a fresh opfs mint over an existing
|
|
259
|
+
* idb store's data); and an interrupted destruction/adoption/candidate is recovered by the classifier itself. Returns
|
|
260
|
+
* whether the mint opens opfs and whether the local-init milestone must run the commitment barrier. A `false`
|
|
261
|
+
* `hasOpfsSyncAccess` SHORT-CIRCUITS (an idbfs/file home opens directly — the opfs commitment phase machine never
|
|
262
|
+
* runs), which is also how this composes with 11b: a deferred/failed adoption flips the grant to `false`.
|
|
263
|
+
*/
|
|
264
|
+
export declare function resolveFreshBoot(storePath: string, hasOpfsSyncAccess: boolean, backendOverride: "memory" | undefined, seams?: FreshCommitmentSeams): Promise<FreshBootResolution>;
|
|
265
|
+
export declare function runFreshCommitmentBarrier(storePath: string, strictSyncReturns: () => Promise<void>, seams?: FreshCommitmentSeams): Promise<void>;
|
|
266
|
+
/**
|
|
267
|
+
* @internal ADR-0049 D6 — the VIRGIN-UNCREATABLE session idbfs fallback (plan step 13 gap; plan fault row "opfs
|
|
268
|
+
* uncreatable, virgin → Session idbfs fallback after bounded retries, record written"). The COUNTERPART to
|
|
269
|
+
* {@link runFreshCommitmentBarrier}: instead of committing a candidate that opened, this handles a candidate
|
|
270
|
+
* that could NOT open. When the client-owned opfs mint exhausts {@link openWithBoundedRetries} on a
|
|
271
|
+
* VIRGIN/candidate boot, tear the never-committed candidate down and re-mint on idbfs FOR THIS SESSION. Returns
|
|
272
|
+
* the verbatim open-failure reason (`Name: message`) the caller stamps via the step-13 `storageFallbackReason`
|
|
273
|
+
* seam.
|
|
274
|
+
*
|
|
275
|
+
* APPLIES ONLY to the positive-absence virgin/candidate path. {@link createSyncClient} gates this on
|
|
276
|
+
* `commitmentBarrierPending` (= {@link FreshBootResolution.needsCommitmentBarrier}), which is true ONLY for
|
|
277
|
+
* `virgin-create` / `delete-candidate-and-rebuild` landing on opfs — a boot that published NO sentinel and holds
|
|
278
|
+
* an unexposed candidate. A COMMITTED store (record `opfs-committed`, or a present sentinel reading committed →
|
|
279
|
+
* `open-committed` / `repair-record-then-open-committed`) owes NO barrier, so the gate is false and its open
|
|
280
|
+
* failure PROPAGATES HARD (CONTEXT § "Commitment marker": "once committed, any opfs boot failure is a hard
|
|
281
|
+
* failure"; accepted-risk register). This function is therefore never reached for a committed store.
|
|
282
|
+
*
|
|
283
|
+
* Teardown: delete-if-present the sentinel (a stale sentinel is impossible before the barrier, but symmetric
|
|
284
|
+
* with `delete-candidate-and-rebuild`) AND the candidate directory, then set the meta record to
|
|
285
|
+
* `idb-authoritative` — NOT delete it.
|
|
286
|
+
*
|
|
287
|
+
* STICKINESS (reconciling the plan's D6 "non-sticky, opfs retried next boot" verdict with the LATER phase
|
|
288
|
+
* machine): the record is the first-use authority, and an idb fallback store IS a recorded idb store (boot
|
|
289
|
+
* classification 7's caution / invariant 14 — the same as the no-handle virgin path, which already records
|
|
290
|
+
* `idb-authoritative`). So the next boot classifies `boot-idb-authoritative` (classification 5) and boots idb;
|
|
291
|
+
* it does NOT loop through virgin re-creation each boot. Retry-to-opfs is the DESIGNED non-destructive ADOPTION
|
|
292
|
+
* re-entry (a declared consumer re-adopts to opfs on a later drained boot) — the phase machine's intended,
|
|
293
|
+
* supervised re-entry — rather than a destructive per-boot re-probe. This keeps the fault row true ("record
|
|
294
|
+
* written") and the fault-row semantics honest for the composition actually shipped.
|
|
295
|
+
*/
|
|
296
|
+
export declare function fallbackVirginCandidateToIdb(storePath: string, openError: unknown, seams?: FreshCommitmentSeams): Promise<string>;
|
|
297
|
+
/** Options for the manual {@link adoptStore} API — the creation-path adoption trigger. */
|
|
298
|
+
export interface AdoptStoreOptions<TRegistry extends SyncTableRegistry> {
|
|
299
|
+
registry: TRegistry;
|
|
300
|
+
electricUrl: string;
|
|
301
|
+
batchWriteUrl: string;
|
|
302
|
+
/** The store to adopt (a plain path/name; the idb predecessor is migrated to a committed OPFS successor). */
|
|
303
|
+
storePath?: string;
|
|
304
|
+
getAuthToken?: () => Promise<string | undefined>;
|
|
305
|
+
requestHeaders?: Record<string, string>;
|
|
306
|
+
syncEnabled?: boolean;
|
|
307
|
+
/** Bounded wait (ms) for the eager Consistency groups' catch-up before the gate fails closed. */
|
|
308
|
+
gateDeadlineMs?: number;
|
|
309
|
+
/** @internal test seams (fake effects / idb existence / meta+opfs IO). */
|
|
310
|
+
seams?: AdoptionWiringSeams;
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* The MANUAL adoption API (ADR-0049 D7, plan step 11b): migrate an EXISTING idb-authoritative store into a
|
|
314
|
+
* committed OPFS successor ON DEMAND, without the automatic {@link CreateSyncClientOptions.adoption} declaration
|
|
315
|
+
* — the consumer's explicit call IS the authorization (they were told to export/migrate any local-only data
|
|
316
|
+
* first). Like `restoreFrom` it is a CREATION-PATH operation: call it INSTEAD of {@link createSyncClient},
|
|
317
|
+
* before any client opens the store — it REFUSES with {@link StoreInUseError} while a live in-process client
|
|
318
|
+
* holds the store. The drain predicate still gates it (a store that owes the server work is not adoptable), and
|
|
319
|
+
* every failure recovery is identical to the automatic path (idb stays authoritative; nothing strands).
|
|
320
|
+
*/
|
|
321
|
+
export declare function adoptStore<const TRegistry extends SyncTableRegistry>(options: AdoptStoreOptions<TRegistry>): Promise<AdoptionOutcome>;
|
|
129
322
|
export interface CreateSyncClientOptions<TRegistry extends SyncTableRegistry> {
|
|
130
323
|
registry: TRegistry;
|
|
131
324
|
electricUrl: string;
|
|
132
|
-
|
|
325
|
+
batchWriteUrl: string;
|
|
133
326
|
getAuthToken?: () => Promise<string | undefined>;
|
|
134
327
|
/**
|
|
135
328
|
* Static headers added to **every** read-shape and write request, alongside the per-request
|
|
@@ -152,13 +345,45 @@ export interface CreateSyncClientOptions<TRegistry extends SyncTableRegistry> {
|
|
|
152
345
|
syncEnabled?: boolean;
|
|
153
346
|
/**
|
|
154
347
|
* The local store's name (ADR-0036) — a PLAIN path/name, never a PGlite storage URL. The storage backend
|
|
155
|
-
* is DERIVED from the
|
|
348
|
+
* is DERIVED from the engine home (capability-selected opfs-repacked with IndexedDB fallback in a browser,
|
|
349
|
+
* or the filesystem on Bun/Node); a
|
|
156
350
|
* scheme-bearing string (anything containing `://`) is rejected with {@link InvalidStorePathError}
|
|
157
351
|
* at boot. Defaults to a built-in overlay store name when omitted. A memory-backed store is not a product
|
|
158
352
|
* configuration — for the test/ephemeral lane, spread `memoryStoreForTests(...)` from
|
|
159
353
|
* `@pgxsinkit/client/testing` instead of naming one here.
|
|
160
354
|
*/
|
|
161
355
|
storePath?: string;
|
|
356
|
+
/**
|
|
357
|
+
* @internal Toolkit-internal WIRE-declaration carrier (ADR-0050), NOT a public per-boot knob. The worker
|
|
358
|
+
* host threads the store's BOUND storage declaration (registry static + the first payload's wire
|
|
359
|
+
* declaration + defaults) in here, and this boot's single storage resolution point folds it with the
|
|
360
|
+
* registry's own static declaration — an explicit disagreement is a typed
|
|
361
|
+
* `StorageDeclarationRefusedError` (the worker handlers refuse conflicts before this ever throws).
|
|
362
|
+
* In-process consumers never set it: their registry IS the declaration.
|
|
363
|
+
*/
|
|
364
|
+
storage?: SyncStorageDeclaration;
|
|
365
|
+
/**
|
|
366
|
+
* ADR-0049 D1: the placement probe's OPFS-sync-access grant, threaded from the SharedWorker's engine home
|
|
367
|
+
* (`defineSyncWorker`'s SW-direct bootstrap) into this boot so the client-owned create opens the OPFS-repacked
|
|
368
|
+
* backend. Absent/false is the honest IDBFS home — the declared `backend: "idbfs"` mode or a capability-absence
|
|
369
|
+
* fallback (a main thread can never hold handles either). Forwarded verbatim to {@link createClientPGlite}, which
|
|
370
|
+
* resolves the actual dataDir from it.
|
|
371
|
+
*/
|
|
372
|
+
hasOpfsSyncAccess?: boolean;
|
|
373
|
+
/**
|
|
374
|
+
* ADR-0049 (capability-driven engine placement) decision 7, plan step 11b: the consumer's explicit
|
|
375
|
+
* reconstructibility DECLARATION authorizing AUTOMATIC adoption of an existing idb-authoritative store into a
|
|
376
|
+
* committed OPFS successor. DEFAULT OFF (`undefined`) — hook absence is NEVER authority (`rawExec` writes
|
|
377
|
+
* documented local-only state on any store), so only this explicit `"server-reconstructible"` value (or the
|
|
378
|
+
* manual {@link adoptStore} API) authorizes deleting the idb predecessor. Honoured ONLY on the browser
|
|
379
|
+
* OPFS-home boot path (when {@link hasOpfsSyncAccess} is granted and the client owns the create — never the
|
|
380
|
+
* BYO-instance / restore paths): a boot that finds an idb-authoritative store runs the pre-expose drain check,
|
|
381
|
+
* reconstructs the successor through the Adoption-bootstrap gate (authorized online reconstruction — the eager
|
|
382
|
+
* Consistency groups' initial catch-up), commits it via the strict barrier, and only then deletes the idb
|
|
383
|
+
* predecessor. Any deferral/failure (owed journal, gate unmet, barrier failed) leaves the idb store
|
|
384
|
+
* authoritative and boots it normally.
|
|
385
|
+
*/
|
|
386
|
+
adoption?: AdoptionDeclaration;
|
|
162
387
|
/**
|
|
163
388
|
* Pre-warmed PGlite boot assets (the WASM modules + filesystem bundle), awaited and passed straight
|
|
164
389
|
* into `PGlite.create`. The intent is to hide PGlite's ~2.5s cold `boot pglite.create` cost —
|
|
@@ -170,33 +395,20 @@ export interface CreateSyncClientOptions<TRegistry extends SyncTableRegistry> {
|
|
|
170
395
|
* falls back to loading its own assets, so this is a pure best-effort accelerator.
|
|
171
396
|
*/
|
|
172
397
|
pgliteBootAssets?: Promise<PgliteBootAssets>;
|
|
173
|
-
/**
|
|
174
|
-
* Relax PGlite's per-query durability for the client-owned store create (default `true`; ADR-0047).
|
|
175
|
-
* Forwarded verbatim to {@link createClientPGlite}, where the default is resolved — on the idb backend the
|
|
176
|
-
* per-query synchronous flush to IndexedDB dominates local write latency, so the toolkit defaults to
|
|
177
|
-
* relaxed (the query returns before the flush; the flush is scheduled asynchronously).
|
|
178
|
-
*
|
|
179
|
-
* Loss window: only the writes not yet covered by a completed flush (typically the last one or two under human-rate input) can be at risk, and only on a crash before
|
|
180
|
-
* BOTH their journal rows reach the write API (within ~hundreds of ms of enqueue) AND the scheduled idb
|
|
181
|
-
* flush lands. Synced tables are recoverable from the server by construction, so this relaxes flush
|
|
182
|
-
* TIMING, not persistence (ADR-0036); consumer local-only tables carry whatever risk the consumer
|
|
183
|
-
* accepts. Ignored on the {@link pgliteInstance} path (the caller owns that store's create). Opt out with
|
|
184
|
-
* `relaxedDurability: false`.
|
|
185
|
-
*/
|
|
186
|
-
relaxedDurability?: boolean;
|
|
187
398
|
resetSubscriptionKeys?: string[];
|
|
188
399
|
prepareLocalDbBeforeSchema?: (pglite: ClientPGlite) => Promise<void>;
|
|
189
|
-
|
|
400
|
+
prepareLocalDbAfterSchema?: (pglite: ClientPGlite) => Promise<void>;
|
|
190
401
|
onStatusChange?: (status: SyncRuntimeStatus) => void;
|
|
191
402
|
onTableInitialSync?: (tableKey: string) => void;
|
|
192
403
|
/**
|
|
193
404
|
* A fully-provisioned PGlite instance the CALLER owns end-to-end. The client runs NONE of its
|
|
194
|
-
* post-create boot steps against it — no schema exec, prepare hooks, or
|
|
405
|
+
* post-create boot steps against it — no schema exec, prepare hooks, or registry reconciliation
|
|
195
406
|
* (journal recovery still runs, as it does on every path). Use it only when the caller has already
|
|
196
407
|
* applied the registry schema itself. Contrast the three PGlite-provenance seams:
|
|
197
408
|
* - {@link storePath} (default) — the client creates the store AND runs every post-create step.
|
|
198
409
|
* - {@link precreatedPglite} — the caller creates the raw store (via {@link createClientPGlite}), but
|
|
199
|
-
* the client still runs every post-create step (schema
|
|
410
|
+
* the client still runs every post-create step (schema, prepare hooks, and reconciliation), exactly as
|
|
411
|
+
* `storePath` does.
|
|
200
412
|
* - `pgliteInstance` — the caller creates AND provisions the store; the client runs none of them.
|
|
201
413
|
*
|
|
202
414
|
* A caller-owned instance is REFUSED with {@link NonPersistentStoreError} if it is provably
|
|
@@ -210,9 +422,10 @@ export interface CreateSyncClientOptions<TRegistry extends SyncTableRegistry> {
|
|
|
210
422
|
/**
|
|
211
423
|
* A raw PGlite instance the caller created EAGERLY (via {@link createClientPGlite}) — typically on an
|
|
212
424
|
* earlier screen, to hide the ~1.9s cold `initdb`/IDBFS open behind user think-time — but for which the
|
|
213
|
-
* client still owns EVERYTHING else: schema exec, prepare hooks, journal recovery, and
|
|
214
|
-
*
|
|
215
|
-
* {@link pgliteInstance} (which skips schema
|
|
425
|
+
* client still owns EVERYTHING else: schema exec, prepare hooks, journal recovery, and registry
|
|
426
|
+
* reconciliation all run exactly as on the {@link storePath} path. This is the difference from
|
|
427
|
+
* {@link pgliteInstance} (which skips schema, prepare hooks, and reconciliation because the caller owns
|
|
428
|
+
* them); see that
|
|
216
429
|
* option's JSDoc for the three-way distinction.
|
|
217
430
|
*
|
|
218
431
|
* The promise form lets the still-pending eager create be handed straight in. Precedence/validation:
|
|
@@ -256,8 +469,8 @@ export interface CreateSyncClientOptions<TRegistry extends SyncTableRegistry> {
|
|
|
256
469
|
* PROVABLY-fresh store hint (ADR-0032 S4 / backlog-0003): the caller guarantees this store is brand-new
|
|
257
470
|
* and schemaless — no prior schema, no synced rows, no persisted subscription state. When set (and sync
|
|
258
471
|
* is enabled, and the client owns schema exec — i.e. not the {@link pgliteInstance} path), the shape
|
|
259
|
-
* catch-up is started BEFORE the local boot phases (schema exec, journal recovery,
|
|
260
|
-
*
|
|
472
|
+
* catch-up is started BEFORE the local boot phases (schema exec, journal recovery, and registry
|
|
473
|
+
* reconciliation) and buffered in memory, with commits gated until those phases finish — so the network
|
|
261
474
|
* catch-up overlaps them instead of running strictly after. On a far-from-database caller this collapses
|
|
262
475
|
* boot from `local-phases + catch-up` toward `max(local-phases, catch-up)`.
|
|
263
476
|
*
|
|
@@ -293,10 +506,8 @@ export interface CreateSyncClientOptions<TRegistry extends SyncTableRegistry> {
|
|
|
293
506
|
*/
|
|
294
507
|
onReject?: (rejected: MutationDetail[]) => void | Promise<void>;
|
|
295
508
|
/**
|
|
296
|
-
* Invoked
|
|
297
|
-
*
|
|
298
|
-
* new shape; `deferred` = un-flushed/quarantined writes are still owed, so the rebuild is
|
|
299
|
-
* postponed (and retried on a later boot) rather than dropping owed data.
|
|
509
|
+
* Invoked when a supported store's registry fingerprint changes. `rebuilt` means the clean read cache was
|
|
510
|
+
* rebuilt at the new shape; `deferred` means local mutations are still owed and must drain first.
|
|
300
511
|
*/
|
|
301
512
|
onSchemaChange?: (event: LocalStoreVersionEvent) => void | Promise<void>;
|
|
302
513
|
/**
|
|
@@ -326,6 +537,22 @@ export interface CreateSyncClientOptions<TRegistry extends SyncTableRegistry> {
|
|
|
326
537
|
* absent → `"in-process"`. Not a behavior knob — it only labels the report.
|
|
327
538
|
*/
|
|
328
539
|
bootMode?: BootReport["mode"];
|
|
540
|
+
/**
|
|
541
|
+
* @internal Engine home stamped into the {@link BootReport} (ADR-0049 decision 12). Threaded by
|
|
542
|
+
* `defineSyncWorker` from the SharedWorker placement decision — `"shared-worker"` (SW-direct) or
|
|
543
|
+
* `"elected-worker"`. Absent only for a plain non-worker scope that cannot derive a browser engine home; the
|
|
544
|
+
* in-process client stamps `"in-process"` itself. Report-label only.
|
|
545
|
+
*/
|
|
546
|
+
engineHome?: BootReport["engineHome"];
|
|
547
|
+
/**
|
|
548
|
+
* @internal Capability-absence fallback reason stamped into the {@link BootReport} (ADR-0049 D1/D12). Threaded
|
|
549
|
+
* by `defineSyncWorker` when the placement bootstrap opened the in-SharedWorker IDBFS engine because OPFS was
|
|
550
|
+
* CAPABLE but no home could hold sync-access handles (every probe denied / the OPFS API absent). Unlike the
|
|
551
|
+
* client's own internal fallback reasons (adoption-deferred, recordless-idb — set only under a granted probe),
|
|
552
|
+
* this externally-supplied reason is stamped verbatim on an idbfs boot. Absent on a granted opfs boot and on the
|
|
553
|
+
* declared `backend: "idbfs"` mode (that is the data contract, not a fallback). Report-label only.
|
|
554
|
+
*/
|
|
555
|
+
storageFallbackReason?: string;
|
|
329
556
|
/**
|
|
330
557
|
* @internal Provision timing for a boot that ADOPTS a pre-provisioned store (ADR-0034). When the store was
|
|
331
558
|
* minted ahead of boot (a spare's off-thread initdb), the provisioner stamps its create cost and ready
|
|
@@ -450,7 +677,7 @@ export interface SubscribeLiveRowsInput {
|
|
|
450
677
|
* same-named columns even in a plain query. When supplied, the seam wraps the query so every output
|
|
451
678
|
* column gets its alias and rows come back KEYED BY THESE ALIASES; the consumer's row-mapper must read
|
|
452
679
|
* by alias (the `@pgxsinkit/react` hooks do). Omit for a raw or non-colliding query — the seam then
|
|
453
|
-
* leaves the SQL untouched and rows stay keyed by the underlying column names
|
|
680
|
+
* leaves the SQL untouched and rows stay keyed by the underlying column names.
|
|
454
681
|
*/
|
|
455
682
|
fields?: readonly string[];
|
|
456
683
|
/**
|
|
@@ -517,8 +744,8 @@ export interface SyncClient<TRegistry extends SyncTableRegistry> {
|
|
|
517
744
|
[TKey in SyncTableName<TRegistry>]: SyncClientTableHandle<TRegistry, TKey>;
|
|
518
745
|
};
|
|
519
746
|
/**
|
|
520
|
-
* Local-read readiness (ADR-0041): resolves once PGlite is open, the durable schema is
|
|
521
|
-
*
|
|
747
|
+
* Local-read readiness (ADR-0041): resolves once PGlite is open, the durable schema is ready, registry
|
|
748
|
+
* reconciliation has completed, and the drizzle read
|
|
522
749
|
* facade is built — so cached rows are queryable. Resolving this stage requires NO write runtime, NO sync
|
|
523
750
|
* start, and NO network I/O, so an offline boot resolves it promptly. Under the ADR-0041 Option B contract
|
|
524
751
|
* `createSyncClient()` (and, in stage 2, `attachSyncClient()`) resolves at exactly this stage; the write and
|
|
@@ -543,6 +770,14 @@ export interface SyncClient<TRegistry extends SyncTableRegistry> {
|
|
|
543
770
|
ready: Promise<void>;
|
|
544
771
|
status: SyncRuntimeStatus;
|
|
545
772
|
start: () => Promise<void>;
|
|
773
|
+
/**
|
|
774
|
+
* Synchronously abort all sync/write activity (in-flight write fetches, shape-stream long-polls, convergence
|
|
775
|
+
* scheduling) without awaiting. Idempotent. The first action of every teardown path — stop()/destroy() call it,
|
|
776
|
+
* and the SharedWorker host calls it before draining subscribes / disposing live queries so no teardown step
|
|
777
|
+
* races a still-live engine. Not a substitute for stop()/destroy(): the awaited teardown (unsubscribe, dispose,
|
|
778
|
+
* pglite.close) still follows. Callers rarely invoke it directly.
|
|
779
|
+
*/
|
|
780
|
+
haltActivity: () => void;
|
|
546
781
|
stop: () => Promise<void>;
|
|
547
782
|
/**
|
|
548
783
|
* Wipe the entire local store (synced cache + overlay + journal) and close the handle
|
|
@@ -594,7 +829,7 @@ export interface SyncClient<TRegistry extends SyncTableRegistry> {
|
|
|
594
829
|
mutation: MutationDiagnostics;
|
|
595
830
|
}>;
|
|
596
831
|
/**
|
|
597
|
-
* The registry-wide reactive mutation-status surface
|
|
832
|
+
* The registry-wide reactive mutation-status surface: a global per-status summary and a
|
|
598
833
|
* filtered normalized detail list over EVERY writable journal, each available one-shot or as a live
|
|
599
834
|
* subscription. Identical on the in-process and worker-attached client. Render a global sync indicator with
|
|
600
835
|
* ONE `subscribeSummary` instead of one journal live query per writable table; consumers never touch the
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,YAAY,EAAE,KAAK,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/E,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAIzD,OAAO,KAAK,E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