@powerhousedao/reactor-browser 6.2.3-dev.10 → 6.2.3-dev.100
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/{attachment-service-BW1v0OAT.d.ts → attachment-service-DXfpfp98.d.ts} +767 -108
- package/dist/attachment-service-DXfpfp98.d.ts.map +1 -0
- package/dist/auth-DzIYxeEJ.d.ts +32 -0
- package/dist/auth-DzIYxeEJ.d.ts.map +1 -0
- package/dist/client-1n_ZUXeu.js +135 -0
- package/dist/client-1n_ZUXeu.js.map +1 -0
- package/dist/{client-CxJD0Ck2.d.ts → client-BFk0MY6A.d.ts} +4 -3
- package/dist/client-BFk0MY6A.d.ts.map +1 -0
- package/dist/{client-DjK30EQ-.js → client-BFnMV-EO.js} +39 -22
- package/dist/client-BFnMV-EO.js.map +1 -0
- package/dist/dispatch-Cylwl2Dk.js +1173 -0
- package/dist/dispatch-Cylwl2Dk.js.map +1 -0
- package/dist/document-by-id-DdvqanGR.js +16 -0
- package/dist/document-by-id-DdvqanGR.js.map +1 -0
- package/dist/document-model-modules-BG-61uke.js +710 -0
- package/dist/document-model-modules-BG-61uke.js.map +1 -0
- package/dist/document-operations-D5QXcJbV.js +4609 -0
- package/dist/document-operations-D5QXcJbV.js.map +1 -0
- package/dist/global-DAAmZGCO.d.ts +612 -0
- package/dist/global-DAAmZGCO.d.ts.map +1 -0
- package/dist/{index-CBjFO54H.d.ts → index-Bj1poVfa.d.ts} +31 -100
- package/dist/index-Bj1poVfa.d.ts.map +1 -0
- package/dist/{index-BIVDXw3K.d.ts → index-rtDmzViP.d.ts} +3 -3
- package/dist/index-rtDmzViP.d.ts.map +1 -0
- package/dist/index.d.ts +907 -411
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +851 -306
- package/dist/index.js.map +1 -1
- package/dist/inspector-proxy-DODqs15F.d.ts +25 -0
- package/dist/inspector-proxy-DODqs15F.d.ts.map +1 -0
- package/dist/make-ph-event-functions-B5GU5xcR.js +180 -0
- package/dist/make-ph-event-functions-B5GU5xcR.js.map +1 -0
- package/dist/{pglite-CntadC_p-9NDG14dS.d.ts → pglite-CntadC_p-DTkdF8sr.d.ts} +11 -33
- package/dist/pglite-CntadC_p-DTkdF8sr.d.ts.map +1 -0
- package/dist/{relational-D1RB45sA.js → relational-DZuyKp2y.js} +66 -5
- package/dist/relational-DZuyKp2y.js.map +1 -0
- package/dist/{renown-rqK8sokh.js → renown-B3MUaiq7.js} +61 -31
- package/dist/renown-B3MUaiq7.js.map +1 -0
- package/dist/renown-CBoTdGrg.js +394 -0
- package/dist/renown-CBoTdGrg.js.map +1 -0
- package/dist/{types-N3Jy6Nry.d.ts → schema-Bn6L3QR1.d.ts} +255 -65
- package/dist/schema-Bn6L3QR1.d.ts.map +1 -0
- package/dist/{client-D4bkR4pH.js → schema-D0G1oAo9.js} +247 -152
- package/dist/schema-D0G1oAo9.js.map +1 -0
- package/dist/src/ai/index.d.ts +313 -79
- package/dist/src/ai/index.d.ts.map +1 -1
- package/dist/src/ai/index.js +1030 -173
- package/dist/src/ai/index.js.map +1 -1
- package/dist/src/analytics/index.d.ts +36 -44
- package/dist/src/analytics/index.d.ts.map +1 -1
- package/dist/src/analytics/index.js +4 -4
- package/dist/src/analytics/index.js.map +1 -1
- package/dist/src/document-model.d.ts +3 -4
- package/dist/src/document-model.d.ts.map +1 -1
- package/dist/src/document-model.js.map +1 -1
- package/dist/src/graphql/client.d.ts +4 -3
- package/dist/src/graphql/client.js +1 -1
- package/dist/src/graphql-client/entry.d.ts +7 -4
- package/dist/src/graphql-client/entry.js +4 -4
- package/dist/src/relational/index.d.ts +15 -9
- package/dist/src/relational/index.d.ts.map +1 -1
- package/dist/src/relational/index.js +1 -1
- package/dist/src/renown/index.d.ts +3 -2
- package/dist/src/renown/index.js +3 -3
- package/dist/src/rpc/index.d.ts +217 -140
- package/dist/src/rpc/index.d.ts.map +1 -1
- package/dist/src/rpc/index.js +600 -623
- package/dist/src/rpc/index.js.map +1 -1
- package/dist/{store-BJYcr_FL.js → store-DInXcjal.js} +1 -1
- package/dist/{store-BJYcr_FL.js.map → store-DInXcjal.js.map} +1 -1
- package/dist/switchboard-directory-CWf5SRo7.js +435 -0
- package/dist/switchboard-directory-CWf5SRo7.js.map +1 -0
- package/dist/switchboards-D-_JBUbF.d.ts +75 -0
- package/dist/switchboards-D-_JBUbF.d.ts.map +1 -0
- package/dist/{types-6vDzbRRS.d.ts → types-520nWrB3.d.ts} +2 -2
- package/dist/types-520nWrB3.d.ts.map +1 -0
- package/dist/types-CyPDurGV.d.ts +63 -0
- package/dist/types-CyPDurGV.d.ts.map +1 -0
- package/package.json +24 -23
- package/dist/attachment-service-BW1v0OAT.d.ts.map +0 -1
- package/dist/client-CxJD0Ck2.d.ts.map +0 -1
- package/dist/client-D4bkR4pH.js.map +0 -1
- package/dist/client-DjK30EQ-.js.map +0 -1
- package/dist/document-by-id-B4FIzG1w.js +0 -519
- package/dist/document-by-id-B4FIzG1w.js.map +0 -1
- package/dist/document-model-modules-bTP87nyr.js +0 -419
- package/dist/document-model-modules-bTP87nyr.js.map +0 -1
- package/dist/document-operations-Cm4EtaZs.js +0 -2603
- package/dist/document-operations-Cm4EtaZs.js.map +0 -1
- package/dist/global-CgCouXuH.d.ts +0 -401
- package/dist/global-CgCouXuH.d.ts.map +0 -1
- package/dist/index-BIVDXw3K.d.ts.map +0 -1
- package/dist/index-CBjFO54H.d.ts.map +0 -1
- package/dist/inspector-proxy-6h5VKAwt.d.ts +0 -257
- package/dist/inspector-proxy-6h5VKAwt.d.ts.map +0 -1
- package/dist/make-ph-event-functions-DBq3iWYn.js +0 -53
- package/dist/make-ph-event-functions-DBq3iWYn.js.map +0 -1
- package/dist/pglite-CntadC_p-9NDG14dS.d.ts.map +0 -1
- package/dist/relational-D1RB45sA.js.map +0 -1
- package/dist/renown-BHxwP7xU.js +0 -97
- package/dist/renown-BHxwP7xU.js.map +0 -1
- package/dist/renown-rqK8sokh.js.map +0 -1
- package/dist/switchboard-CaXQ4-5Q.js +0 -271
- package/dist/switchboard-CaXQ4-5Q.js.map +0 -1
- package/dist/types-6vDzbRRS.d.ts.map +0 -1
- package/dist/types-N3Jy6Nry.d.ts.map +0 -1
package/dist/src/rpc/index.d.ts
CHANGED
|
@@ -1,138 +1,40 @@
|
|
|
1
|
-
import { r as PGliteWithLive } from "../../index-
|
|
2
|
-
import {
|
|
3
|
-
import { DocumentModelModule } from "@powerhousedao/shared/document-model";
|
|
4
|
-
import { ChannelConfig, DriveCollectionId, IDocumentModelLoader, IDocumentModelRegistry, IEventBus, IReactorClient, ISyncManager, Remote, RemoteFilter, RemoteOptions, ShutdownStatus, SyncStatus, SyncStatusChangeCallback, Unsubscribe } from "@powerhousedao/reactor";
|
|
5
|
-
|
|
6
|
-
//#region src/rpc/
|
|
7
|
-
type
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { r as PGliteWithLive } from "../../index-rtDmzViP.js";
|
|
2
|
+
import { i as createWorkerAdminClient, n as createInspectorProxy, r as IWorkerAdminClient, t as IInspectorProxy } from "../../inspector-proxy-DODqs15F.js";
|
|
3
|
+
import { DocumentModelModule, PeerManifest, UpgradeManifest } from "@powerhousedao/shared/document-model";
|
|
4
|
+
import { ChannelConfig, DeadLetterPage, DriveCollectionId, IDocumentModelLoader, IDocumentModelRegistry, IEventBus, IInspector, IInspectorAdmin, IPeerAgreement, IReactorClient, IReactorDbQuery, ISyncAdmin, ISyncInspector, ISyncManager, InspectorAccess, LocalChannelPortRegistry, LocalPeerSyncManager, Remote, RemoteFilter, RemoteOptions, RemoteSyncInspection, ShutdownStatus, SyncHold, SyncStatus, SyncStatusChangeCallback, Unsubscribe } from "@powerhousedao/reactor";
|
|
5
|
+
import { ClientMessage, CorrelationId, ErrorInfo, ICorrelatedSubscriptions, IHostResponder, IRpcTransport, IRpcTransport as IRpcTransport$1, KeyedListeners, Listeners, MessageRouter, MessageRouter as MessageRouter$1, MethodCallMessage, OpKind, OpKind as OpKind$1, OwnerMessage, RPC_PROTOCOL_VERSION, ReactorHostServer, ReactorIdentity, ReactorIdentity as ReactorIdentity$1, RpcAdoptSyncPeer, RpcCorrelator, RpcDbOp, RpcLiveEvent, RpcLiveSubscribe, RpcLiveUnsub, RpcMessage, RpcPoster, RpcRemoveSyncPeer, RpcRequestOptions, SubscriptionStore, VersionFingerprint, VersionFingerprint as VersionFingerprint$1, WorkerInspectorInfo, WorkerMigrationState, WorkerMigrationState as WorkerMigrationState$1, WorkerPackageSource, WorkerPackageSource as WorkerPackageSource$1, createCorrelatedSubscriptions, createPortTransport, createReactorClientProxy, fromErrorInfo, hostResponder, toErrorInfo } from "@powerhousedao/reactor/rpc";
|
|
6
|
+
//#region src/rpc/adopt-sync-peer.d.ts
|
|
7
|
+
type AdoptSyncPeerParams = {
|
|
8
|
+
peerId: string;
|
|
9
|
+
channelName: string;
|
|
10
|
+
/** `DriveCollectionId.key`; the class does not survive structured clone. */
|
|
11
|
+
collectionIdKey: string;
|
|
12
|
+
remoteName: string;
|
|
13
|
+
filter: RemoteFilter;
|
|
10
14
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
declare function toVoid(promise: Promise<unknown>): Promise<void>;
|
|
16
|
-
interface IOpChannel {
|
|
17
|
-
call(method: string, args?: unknown[]): Promise<unknown>;
|
|
18
|
-
callVoid(method: string, args?: unknown[]): Promise<void>;
|
|
19
|
-
}
|
|
20
|
-
declare function opChannel(router: MessageRouter, kind: OpKind, timeoutMs?: number): IOpChannel;
|
|
21
|
-
//#endregion
|
|
22
|
-
//#region src/rpc/host-reply.d.ts
|
|
23
|
-
interface IHostResponder {
|
|
24
|
-
ok(id: CorrelationId, value?: unknown): void;
|
|
25
|
-
err(id: CorrelationId, error: unknown): void;
|
|
26
|
-
errForKind(message: ClientMessage, error: unknown): void;
|
|
27
|
-
run(id: CorrelationId, body: () => Promise<unknown>, mapOk?: (value: unknown) => unknown): Promise<void>;
|
|
28
|
-
}
|
|
29
|
-
declare function hostResponder(transport: IRpcTransport): IHostResponder;
|
|
30
|
-
//#endregion
|
|
31
|
-
//#region src/rpc/listeners.d.ts
|
|
32
|
-
declare class KeyedListeners<K, A extends unknown[] = []> {
|
|
33
|
-
private readonly map;
|
|
34
|
-
add(key: K, fn: (...a: A) => void): () => void;
|
|
35
|
-
emit(key: K, ...a: A): void;
|
|
36
|
-
emitAll(...a: A): void;
|
|
37
|
-
}
|
|
38
|
-
declare class Listeners<A extends unknown[] = []> {
|
|
39
|
-
private readonly keyed;
|
|
40
|
-
add(fn: (...a: A) => void): () => void;
|
|
41
|
-
emit(...a: A): void;
|
|
42
|
-
}
|
|
43
|
-
//#endregion
|
|
44
|
-
//#region src/rpc/subscription.d.ts
|
|
45
|
-
declare class SubscriptionStore {
|
|
46
|
-
private readonly map;
|
|
47
|
-
set(id: CorrelationId, unsubscribe: () => void): void;
|
|
48
|
-
get(id: CorrelationId): (() => void) | undefined;
|
|
49
|
-
delete(id: CorrelationId): void;
|
|
50
|
-
end(id: CorrelationId): void;
|
|
51
|
-
drain(): void;
|
|
52
|
-
}
|
|
53
|
-
interface ICorrelatedSubscriptions<Sub> {
|
|
54
|
-
subscribe(sub: Sub, open: (id: CorrelationId) => ClientMessage): () => void;
|
|
55
|
-
}
|
|
56
|
-
interface CorrelatedConfig<Sub, EK extends OwnerMessage["k"], ErrK extends OwnerMessage["k"]> {
|
|
57
|
-
idPrefix: string;
|
|
58
|
-
eventKind: EK;
|
|
59
|
-
errKind: ErrK;
|
|
60
|
-
onEvent: (sub: Sub, message: Extract<OwnerMessage, {
|
|
61
|
-
k: EK;
|
|
62
|
-
}>) => void;
|
|
63
|
-
onError: (sub: Sub, message: Extract<OwnerMessage, {
|
|
64
|
-
k: ErrK;
|
|
65
|
-
}>) => void;
|
|
66
|
-
close: (id: CorrelationId) => ClientMessage;
|
|
67
|
-
}
|
|
68
|
-
declare function createCorrelatedSubscriptions<Sub, EK extends OwnerMessage["k"], ErrK extends OwnerMessage["k"]>(router: MessageRouter, config: CorrelatedConfig<Sub, EK, ErrK>): ICorrelatedSubscriptions<Sub>;
|
|
69
|
-
//#endregion
|
|
70
|
-
//#region src/rpc/live-query-proxy.d.ts
|
|
71
|
-
type LiveQueryResultsCallback = (results: unknown) => void;
|
|
72
|
-
type LiveQueryErrorCallback = (error: unknown) => void;
|
|
73
|
-
interface ILiveQueryProxy {
|
|
74
|
-
query(sql: string, params: unknown[], onResults: LiveQueryResultsCallback, onError?: LiveQueryErrorCallback): () => void;
|
|
75
|
-
}
|
|
76
|
-
declare function createLiveQueryProxy(router: MessageRouter): ILiveQueryProxy;
|
|
77
|
-
//#endregion
|
|
78
|
-
//#region src/rpc/relational-db-proxy.d.ts
|
|
79
|
-
declare function createRelationalPgliteProxy(router: MessageRouter): PGliteWithLive;
|
|
80
|
-
//#endregion
|
|
81
|
-
//#region src/rpc/event-bus-proxy.d.ts
|
|
82
|
-
/** Tab-side IEventBus over bus-event; emit() is unsupported (the worker emits). */
|
|
83
|
-
declare class ReactorEventBusProxy implements IEventBus {
|
|
84
|
-
private readonly forwardedTypes;
|
|
85
|
-
private readonly subscribers;
|
|
86
|
-
constructor(router: MessageRouter);
|
|
87
|
-
subscribe<K>(type: number, subscriber: (type: number, event: K) => void | Promise<void>): Unsubscribe;
|
|
88
|
-
emit(): Promise<void>;
|
|
89
|
-
}
|
|
90
|
-
declare function createReactorEventBusProxy(router: MessageRouter): IEventBus;
|
|
91
|
-
//#endregion
|
|
92
|
-
//#region src/rpc/forwarded-events.d.ts
|
|
93
|
-
declare const FORWARDED_EVENT_TYPES: (20001 | 20002 | 20003 | 20004 | 20005 | 10008)[];
|
|
94
|
-
declare const FORWARDED_BUS_EVENT_TYPES: number[];
|
|
95
|
-
//#endregion
|
|
96
|
-
//#region src/rpc/connect-reactor.d.ts
|
|
97
|
-
type ReactorHello = {
|
|
98
|
-
version: VersionFingerprint;
|
|
99
|
-
construct?: unknown;
|
|
100
|
-
packages?: string[];
|
|
15
|
+
type RemoveSyncPeerParams = {
|
|
16
|
+
peerId: string;
|
|
17
|
+
channelName: string;
|
|
18
|
+
remoteName: string;
|
|
101
19
|
};
|
|
102
|
-
|
|
103
|
-
declare function
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
declare class ReactorHostServer {
|
|
107
|
-
private readonly client;
|
|
108
|
-
private readonly transport;
|
|
109
|
-
private readonly reply;
|
|
110
|
-
private readonly aborters;
|
|
111
|
-
private readonly subscriptions;
|
|
112
|
-
private readonly pages;
|
|
113
|
-
private pageCounter;
|
|
114
|
-
private detach;
|
|
115
|
-
constructor(client: IReactorClient, transport: IRpcTransport);
|
|
116
|
-
start(): void;
|
|
117
|
-
stop(): void;
|
|
118
|
-
handleMessage(message: ClientMessage): Promise<void>;
|
|
119
|
-
private handleRequest;
|
|
120
|
-
private handlePage;
|
|
121
|
-
private handleSubscribe;
|
|
122
|
-
private prepareResult;
|
|
123
|
-
private resolveMethod;
|
|
124
|
-
}
|
|
20
|
+
/** Moves `port` to the host, which adopts the peer as a local remote over it. */
|
|
21
|
+
export declare function sendAdoptSyncPeer(router: MessageRouter$1, params: AdoptSyncPeerParams, port: MessagePort): Promise<void>;
|
|
22
|
+
/** Removes the peer's remote and closes its port in the host's registry. */
|
|
23
|
+
export declare function sendRemoveSyncPeer(router: MessageRouter$1, params: RemoveSyncPeerParams): Promise<void>;
|
|
125
24
|
//#endregion
|
|
126
25
|
//#region src/rpc/reactor-host.d.ts
|
|
127
26
|
type ReactorHostOptions = {
|
|
128
27
|
client?: IReactorClient;
|
|
129
28
|
build?: (construct: unknown) => Promise<IReactorClient>;
|
|
130
|
-
registerPackages?: (specs: string[]) => Promise<void>;
|
|
29
|
+
registerPackages?: (specs: string[], sources?: WorkerPackageSource$1[]) => Promise<void>;
|
|
131
30
|
unregisterPackages?: (names: string[]) => Promise<void>;
|
|
132
|
-
onIdentity?: (user: ReactorIdentity | null) => void;
|
|
31
|
+
onIdentity?: (user: ReactorIdentity$1 | null) => void;
|
|
133
32
|
onSyncOp?: (method: string, args: unknown[]) => Promise<unknown>;
|
|
134
33
|
onDbOp?: (method: string, args: unknown[]) => Promise<unknown>;
|
|
135
34
|
onInspectorOp?: (method: string, args: unknown[]) => Promise<unknown>;
|
|
35
|
+
/** See `localSyncPeerHandlers`, which builds both over the reactor's registry. */
|
|
36
|
+
onAdoptSyncPeer?: (params: AdoptSyncPeerParams, port: MessagePort) => Promise<void>;
|
|
37
|
+
onRemoveSyncPeer?: (params: RemoveSyncPeerParams) => Promise<void>;
|
|
136
38
|
onLiveQuery?: (sql: string, params: unknown[], onResults: (results: unknown) => void) => Promise<() => void>;
|
|
137
39
|
namespace?: string;
|
|
138
40
|
appBuildId?: string;
|
|
@@ -141,22 +43,37 @@ type ReactorHostOptions = {
|
|
|
141
43
|
onAdminRestart?: () => void;
|
|
142
44
|
onAdminClearStorage?: () => Promise<void>;
|
|
143
45
|
onAdminMigrate?: () => Promise<void>;
|
|
46
|
+
/** Stops the reactor and releases its stores once the worker is retired. */
|
|
47
|
+
onRetire?: (reason: string) => Promise<void>;
|
|
48
|
+
/** Bounded; a deploy's reload waits on it while data is already refused. */
|
|
49
|
+
drainBeforeReload?: () => Promise<void>;
|
|
144
50
|
};
|
|
145
|
-
|
|
51
|
+
/** Whether a reload reason comes from a build fingerprint mismatch. */
|
|
52
|
+
export declare function isFingerprintMismatchReload(reason: string): boolean;
|
|
53
|
+
export declare const RETIRED_WORKER_RELOAD_REASON = "worker retired";
|
|
54
|
+
export declare class ReactorHost {
|
|
146
55
|
private readonly options;
|
|
147
56
|
private readonly disposers;
|
|
148
57
|
private readonly clients;
|
|
149
58
|
private clientPromise;
|
|
59
|
+
private buildFailure;
|
|
150
60
|
private baseline;
|
|
151
61
|
private readonly ownerId;
|
|
152
62
|
private readonly bootedAtMs;
|
|
153
63
|
private migrationState;
|
|
64
|
+
private retirement;
|
|
65
|
+
private reloadSent;
|
|
154
66
|
constructor(options: ReactorHostOptions);
|
|
155
|
-
connect(transport: IRpcTransport): () => void;
|
|
67
|
+
connect(transport: IRpcTransport$1): () => void;
|
|
156
68
|
connectPort(port: MessagePort): () => void;
|
|
157
69
|
broadcastBusEvent(eventType: number, event: unknown): void;
|
|
158
70
|
broadcastReload(reason: string, workerGen?: string): void;
|
|
159
|
-
|
|
71
|
+
retireAndReload(reason: string, workerGen: string): void;
|
|
72
|
+
private drainThenReload;
|
|
73
|
+
private sendReload;
|
|
74
|
+
private stopRetired;
|
|
75
|
+
setMigrationState(state: WorkerMigrationState$1): void;
|
|
76
|
+
get retired(): boolean;
|
|
160
77
|
get connectionCount(): number;
|
|
161
78
|
private handleAdmin;
|
|
162
79
|
private handleAdminAsync;
|
|
@@ -167,29 +84,115 @@ declare class ReactorHost {
|
|
|
167
84
|
private handleRegister;
|
|
168
85
|
private handleUnregister;
|
|
169
86
|
private handleOp;
|
|
87
|
+
/** An `add` or `remove` changes the remotes every tab lists. */
|
|
88
|
+
private handleSyncOp;
|
|
89
|
+
/** Closes the moved port on every failure; the sender can no longer close it. */
|
|
90
|
+
private handleAdoptSyncPeer;
|
|
91
|
+
private handleRemoveSyncPeer;
|
|
92
|
+
private broadcastRemotes;
|
|
170
93
|
private handleLiveSubscribe;
|
|
171
94
|
}
|
|
172
95
|
//#endregion
|
|
96
|
+
//#region src/rpc/local-sync-peer-handlers.d.ts
|
|
97
|
+
/** The host's adopt/remove handlers over the reactor's local peer registry. */
|
|
98
|
+
export declare function localSyncPeerHandlers(syncManager: LocalPeerSyncManager, registry: LocalChannelPortRegistry): Required<Pick<ReactorHostOptions, "onAdoptSyncPeer" | "onRemoveSyncPeer">>;
|
|
99
|
+
//#endregion
|
|
100
|
+
//#region src/rpc/inspector-ops.d.ts
|
|
101
|
+
type InspectorOpTargets = {
|
|
102
|
+
inspector: IInspector & Partial<IInspectorAdmin>;
|
|
103
|
+
dbQuery?: IReactorDbQuery;
|
|
104
|
+
};
|
|
105
|
+
/** Host side of `inspector-op`; refuses tiers `access` does not grant. */
|
|
106
|
+
export declare function dispatchInspectorOp(targets: InspectorOpTargets, access: InspectorAccess, method: string, args: unknown[]): Promise<unknown>;
|
|
107
|
+
type SyncInspectionOpTargets = {
|
|
108
|
+
inspector?: ISyncInspector;
|
|
109
|
+
admin?: ISyncAdmin;
|
|
110
|
+
};
|
|
111
|
+
/** Whether `method` is one of the `sync-op` rows `dispatchSyncInspectionOp` serves. */
|
|
112
|
+
export declare function isSyncInspectionOp(method: string): boolean;
|
|
113
|
+
/** Host side of the inspection and repair rows of `sync-op`. */
|
|
114
|
+
export declare function dispatchSyncInspectionOp(targets: SyncInspectionOpTargets, access: InspectorAccess, method: string, args: unknown[]): Promise<unknown>;
|
|
115
|
+
//#endregion
|
|
116
|
+
//#region src/rpc/op-channel.d.ts
|
|
117
|
+
export declare const RPC_DEFAULT_TIMEOUT_MS = 30000;
|
|
118
|
+
export declare function toVoid(promise: Promise<unknown>): Promise<void>;
|
|
119
|
+
interface IOpChannel {
|
|
120
|
+
call(method: string, args?: unknown[]): Promise<unknown>;
|
|
121
|
+
callVoid(method: string, args?: unknown[]): Promise<void>;
|
|
122
|
+
}
|
|
123
|
+
export declare function opChannel(router: MessageRouter$1, kind: OpKind$1, timeoutMs?: number): IOpChannel;
|
|
124
|
+
//#endregion
|
|
125
|
+
//#region src/rpc/live-query-proxy.d.ts
|
|
126
|
+
type LiveQueryResultsCallback = (results: unknown) => void;
|
|
127
|
+
type LiveQueryErrorCallback = (error: unknown) => void;
|
|
128
|
+
interface ILiveQueryProxy {
|
|
129
|
+
query(sql: string, params: unknown[], onResults: LiveQueryResultsCallback, onError?: LiveQueryErrorCallback): () => void;
|
|
130
|
+
}
|
|
131
|
+
export declare function createLiveQueryProxy(router: MessageRouter$1): ILiveQueryProxy;
|
|
132
|
+
//#endregion
|
|
133
|
+
//#region src/rpc/relational-db-proxy.d.ts
|
|
134
|
+
export declare function createRelationalPgliteProxy(router: MessageRouter$1): PGliteWithLive;
|
|
135
|
+
//#endregion
|
|
136
|
+
//#region src/rpc/event-bus-proxy.d.ts
|
|
137
|
+
/** Tab-side IEventBus over bus-event; emit() is unsupported (the worker emits). */
|
|
138
|
+
export declare class ReactorEventBusProxy implements IEventBus {
|
|
139
|
+
private readonly forwardedTypes;
|
|
140
|
+
private readonly subscribers;
|
|
141
|
+
constructor(router: MessageRouter$1);
|
|
142
|
+
subscribe<K>(type: number, subscriber: (type: number, event: K) => void | Promise<void>): Unsubscribe;
|
|
143
|
+
emit(): Promise<void>;
|
|
144
|
+
}
|
|
145
|
+
export declare function createReactorEventBusProxy(router: MessageRouter$1): IEventBus;
|
|
146
|
+
//#endregion
|
|
147
|
+
//#region src/rpc/forwarded-events.d.ts
|
|
148
|
+
export declare const FORWARDED_EVENT_TYPES: (10008 | 20001 | 20002 | 20003 | 20004 | 20005)[];
|
|
149
|
+
export declare const FORWARDED_BUS_EVENT_TYPES: number[];
|
|
150
|
+
//#endregion
|
|
151
|
+
//#region src/rpc/connect-reactor.d.ts
|
|
152
|
+
type ReactorHello = {
|
|
153
|
+
version: VersionFingerprint$1;
|
|
154
|
+
construct?: unknown;
|
|
155
|
+
packages?: string[];
|
|
156
|
+
};
|
|
157
|
+
export declare function connectReactorClient(router: MessageRouter$1, hello: ReactorHello, onReload?: (reason: string, workerGen?: string) => void, registry?: IDocumentModelRegistry): IReactorClient;
|
|
158
|
+
export declare function postReactorIdentity(router: MessageRouter$1, user: ReactorIdentity$1 | null): void;
|
|
159
|
+
//#endregion
|
|
160
|
+
//#region src/rpc/bus-event-ids.d.ts
|
|
161
|
+
export declare const SYNC_STATUS_CHANGED_EVENT = 90001;
|
|
162
|
+
export declare const SYNC_REMOTES_CHANGED_EVENT = 90002;
|
|
163
|
+
//#endregion
|
|
173
164
|
//#region src/rpc/sync-manager-proxy.d.ts
|
|
174
|
-
declare const SYNC_STATUS_CHANGED_EVENT = 90001;
|
|
175
165
|
type SyncStatusChangedBusEvent = {
|
|
176
166
|
documentId: string;
|
|
177
167
|
status: SyncStatus;
|
|
178
168
|
};
|
|
179
|
-
declare class SyncManagerProxy implements ISyncManager {
|
|
169
|
+
export declare class SyncManagerProxy implements ISyncManager, ISyncInspector, ISyncAdmin {
|
|
180
170
|
private readonly ops;
|
|
181
171
|
private readonly connectionStates;
|
|
182
172
|
private readonly connectionListeners;
|
|
183
173
|
private readonly syncStatuses;
|
|
184
174
|
private readonly syncStatusListeners;
|
|
185
175
|
private remotes;
|
|
176
|
+
private basis;
|
|
186
177
|
private seedPromise;
|
|
187
|
-
constructor(router: MessageRouter, busProxy: IEventBus);
|
|
188
|
-
|
|
178
|
+
constructor(router: MessageRouter$1, busProxy: IEventBus);
|
|
179
|
+
/** Attempts that fail while `isWaiting()` (the worker waits on a store lock) are not counted. */
|
|
180
|
+
startup({ isWaiting }?: {
|
|
181
|
+
isWaiting?: () => boolean;
|
|
182
|
+
}): Promise<void>;
|
|
189
183
|
shutdown(): ShutdownStatus;
|
|
190
184
|
getByName(name: string): Remote;
|
|
191
185
|
getById(id: string): Remote;
|
|
192
186
|
add(name: string, collectionId: DriveCollectionId, channelConfig: ChannelConfig, filter?: RemoteFilter, options?: RemoteOptions): Promise<Remote>;
|
|
187
|
+
setPeerManifest(id: string, manifest: PeerManifest | null): Promise<void>;
|
|
188
|
+
/** Fetched once; the worker's flags do not change at runtime. */
|
|
189
|
+
localManifest(): PeerManifest;
|
|
190
|
+
listHolds(filter?: {
|
|
191
|
+
remoteName?: string;
|
|
192
|
+
documentId?: string;
|
|
193
|
+
}): Promise<SyncHold[]>;
|
|
194
|
+
agreement(): IPeerAgreement;
|
|
195
|
+
private agreementBasis;
|
|
193
196
|
bindRemote(id: string, boundAddress: string): Promise<void>;
|
|
194
197
|
triggerPull(name: string): void;
|
|
195
198
|
remove(name: string): Promise<void>;
|
|
@@ -197,13 +200,53 @@ declare class SyncManagerProxy implements ISyncManager {
|
|
|
197
200
|
waitForSync(): Promise<never>;
|
|
198
201
|
getSyncStatus(documentId: string): SyncStatus | undefined;
|
|
199
202
|
onSyncStatusChange(callback: SyncStatusChangeCallback): () => void;
|
|
203
|
+
inspectRemote(remoteName: string): Promise<RemoteSyncInspection>;
|
|
204
|
+
inspectRemotes(): Promise<RemoteSyncInspection[]>;
|
|
205
|
+
listDeadLetters(remoteName: string, cursor?: string, limit?: number): Promise<DeadLetterPage>;
|
|
206
|
+
resetChannel(remoteName: string): Promise<void>;
|
|
207
|
+
requeueDeadLetter(remoteName: string, id: string): Promise<void>;
|
|
208
|
+
clearDeadLetter(remoteName: string, id: string): Promise<void>;
|
|
209
|
+
private tableOp;
|
|
200
210
|
private callSyncOp;
|
|
201
211
|
private notifyConnection;
|
|
202
212
|
private makeChannel;
|
|
203
213
|
private refreshRemotes;
|
|
214
|
+
private applyRemotes;
|
|
204
215
|
private ensureSeeded;
|
|
205
216
|
}
|
|
206
|
-
declare function createSyncManagerProxy(router: MessageRouter, busProxy: IEventBus): ISyncManager;
|
|
217
|
+
export declare function createSyncManagerProxy(router: MessageRouter$1, busProxy: IEventBus): ISyncManager;
|
|
218
|
+
//#endregion
|
|
219
|
+
//#region src/rpc/module-graph.d.ts
|
|
220
|
+
/** A bare specifier's URL in the shared table: an exact entry, else the longest trailing-slash prefix, as an import map does. */
|
|
221
|
+
export declare function resolveSharedSpecifier(specifier: string, imports: Record<string, string>): string | undefined;
|
|
222
|
+
type ModuleGraphOptions = {
|
|
223
|
+
sharedImports?: Record<string, string>;
|
|
224
|
+
/** Reads a module's source; defaults to fetch. */
|
|
225
|
+
fetchSource?: (url: string) => Promise<string>;
|
|
226
|
+
/** Makes a rewritten source importable; defaults to a blob URL. */
|
|
227
|
+
createModuleUrl?: (source: string) => string;
|
|
228
|
+
/** Told about dynamic imports with computed specifiers, which stay as they are. */
|
|
229
|
+
warn?: (message: string) => void;
|
|
230
|
+
};
|
|
231
|
+
export declare class ModuleGraph {
|
|
232
|
+
private readonly sharedImports;
|
|
233
|
+
private readonly fetchSource;
|
|
234
|
+
private readonly createModuleUrl;
|
|
235
|
+
private readonly warn;
|
|
236
|
+
private readonly parsed;
|
|
237
|
+
private readonly built;
|
|
238
|
+
constructor(options?: ModuleGraphOptions);
|
|
239
|
+
/** The URL to import in place of `entryUrl`; `entryUrl` itself when nothing needed a rewrite. */
|
|
240
|
+
resolve(entryUrl: string): Promise<string>;
|
|
241
|
+
private collect;
|
|
242
|
+
private parse;
|
|
243
|
+
private readModule;
|
|
244
|
+
private assertAcyclic;
|
|
245
|
+
private assertMapped;
|
|
246
|
+
private needsRewrite;
|
|
247
|
+
private build;
|
|
248
|
+
private rewrite;
|
|
249
|
+
}
|
|
207
250
|
//#endregion
|
|
208
251
|
//#region src/rpc/worker-package-loader.d.ts
|
|
209
252
|
type PackageImporter = (url: string) => Promise<Record<string, unknown>>;
|
|
@@ -211,33 +254,67 @@ type WorkerPackageLoaderOptions = {
|
|
|
211
254
|
cdnUrl: string;
|
|
212
255
|
importPackage: PackageImporter;
|
|
213
256
|
resolvePackages?: (documentType: string) => Promise<string[]>;
|
|
214
|
-
|
|
257
|
+
/** Absolute URLs for the shared deps a registry package leaves bare; a worker has no import map. */
|
|
258
|
+
sharedImports?: Record<string, string>;
|
|
259
|
+
} & Pick<ModuleGraphOptions, "fetchSource" | "createModuleUrl" | "warn">;
|
|
215
260
|
type PackageLoadFailure = {
|
|
216
261
|
name: string;
|
|
217
262
|
url: string;
|
|
218
263
|
error: unknown;
|
|
219
264
|
};
|
|
220
|
-
|
|
265
|
+
/** One line for a failed load: the package, its URL and why. */
|
|
266
|
+
export declare function describeLoadFailure(failure: PackageLoadFailure): string;
|
|
267
|
+
type AnyUpgradeManifest = UpgradeManifest<readonly number[]>;
|
|
268
|
+
export declare class WorkerPackageLoader implements IDocumentModelLoader {
|
|
221
269
|
private readonly cdnUrl;
|
|
222
270
|
private readonly importPackage;
|
|
223
271
|
private readonly resolvePackages;
|
|
272
|
+
private readonly moduleGraph;
|
|
224
273
|
private readonly modulesByKey;
|
|
225
|
-
private readonly
|
|
274
|
+
private readonly manifestsByType;
|
|
275
|
+
private readonly keysBySource;
|
|
276
|
+
private readonly manifestTypesBySource;
|
|
277
|
+
private readonly loadedUrls;
|
|
226
278
|
private readonly failures;
|
|
279
|
+
private readonly pendingLoads;
|
|
280
|
+
private readonly generationBySource;
|
|
281
|
+
private generation;
|
|
227
282
|
constructor(options: WorkerPackageLoaderOptions);
|
|
228
283
|
loadPackages(specs: string[]): Promise<DocumentModelModule[]>;
|
|
284
|
+
/** Loads registry packages added or updated after boot; returns the types whose modules changed, and the failures. */
|
|
285
|
+
updatePackages(specs: string[]): Promise<{
|
|
286
|
+
types: string[];
|
|
287
|
+
failures: PackageLoadFailure[];
|
|
288
|
+
}>;
|
|
289
|
+
/** Loads URL-addressed packages (local project packages). Idempotent. */
|
|
290
|
+
loadSources(sources: WorkerPackageSource$1[]): Promise<void>;
|
|
291
|
+
/**
|
|
292
|
+
* Replaces previously loaded sources with freshly imported ones (a vetra
|
|
293
|
+
* watch rebuild re-sends the same source under a cache-busted URL). Returns
|
|
294
|
+
* every document type touched - removed, re-added, or new - so the caller
|
|
295
|
+
* can replace the registry's version families. A source whose import fails
|
|
296
|
+
* keeps its previous modules and is reported in `failures`; one superseded
|
|
297
|
+
* by a newer reload of the same source contributes nothing.
|
|
298
|
+
*/
|
|
299
|
+
reloadSources(sources: WorkerPackageSource$1[]): Promise<{
|
|
300
|
+
types: string[];
|
|
301
|
+
failures: PackageLoadFailure[];
|
|
302
|
+
}>;
|
|
229
303
|
load(documentType: string): Promise<DocumentModelModule>;
|
|
230
304
|
get models(): DocumentModelModule[];
|
|
305
|
+
get upgradeManifests(): AnyUpgradeManifest[];
|
|
231
306
|
get loadFailures(): PackageLoadFailure[];
|
|
232
307
|
/** The highest registered version for a type, which is what a bare load resolves to. */
|
|
233
308
|
private latestForType;
|
|
234
309
|
private notLoadedError;
|
|
235
310
|
private loadPackage;
|
|
311
|
+
private loadFromUrl;
|
|
312
|
+
private replaceSource;
|
|
313
|
+
private importNamespace;
|
|
314
|
+
/** Registers a namespace as the key's whole contribution; returns its module types. */
|
|
315
|
+
private registerNamespace;
|
|
236
316
|
}
|
|
237
317
|
//#endregion
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
declare function fromErrorInfo(info: ErrorInfo): Error;
|
|
241
|
-
//#endregion
|
|
242
|
-
export { type ClientMessage, type CorrelationId, type ErrorInfo, FORWARDED_BUS_EVENT_TYPES, FORWARDED_EVENT_TYPES, type ICorrelatedSubscriptions, type IHostResponder, type IInspectorProxy, type ILiveQueryProxy, type IOpChannel, type IRpcTransport, type IWorkerAdminClient, KeyedListeners, Listeners, MessageRouter, type MethodCallMessage, type OpKind, type OwnerMessage, type PackageImporter, RPC_DEFAULT_TIMEOUT_MS, RPC_PROTOCOL_VERSION, ReactorEventBusProxy, type ReactorHello, ReactorHost, ReactorHostServer, type ReactorIdentity, RpcCorrelator, type RpcDbOp, type RpcLiveEvent, type RpcLiveSubscribe, type RpcLiveUnsub, type RpcMessage, type RpcPoster, type RpcRequestOptions, SYNC_STATUS_CHANGED_EVENT, SubscriptionStore, SyncManagerProxy, type SyncStatusChangedBusEvent, type VersionFingerprint, type WorkerInspectorInfo, type WorkerMigrationState, WorkerPackageLoader, type WorkerPackageLoaderOptions, connectReactorClient, createCorrelatedSubscriptions, createInspectorProxy, createLiveQueryProxy, createPortTransport, createReactorClientProxy, createReactorEventBusProxy, createRelationalPgliteProxy, createSyncManagerProxy, createWorkerAdminClient, fromErrorInfo, hostResponder, opChannel, postReactorIdentity, toErrorInfo, toVoid };
|
|
318
|
+
export { type AdoptSyncPeerParams, type ClientMessage, type CorrelationId, type ErrorInfo, type ICorrelatedSubscriptions, type IHostResponder, type IInspectorProxy, type ILiveQueryProxy, type IOpChannel, type IRpcTransport, type IWorkerAdminClient, type InspectorOpTargets, KeyedListeners, Listeners, MessageRouter, type MethodCallMessage, type ModuleGraphOptions, type OpKind, type OwnerMessage, type PackageImporter, type PackageLoadFailure, RPC_PROTOCOL_VERSION, type ReactorHello, ReactorHostServer, type ReactorIdentity, type RemoveSyncPeerParams, type RpcAdoptSyncPeer, RpcCorrelator, type RpcDbOp, type RpcLiveEvent, type RpcLiveSubscribe, type RpcLiveUnsub, type RpcMessage, type RpcPoster, type RpcRemoveSyncPeer, type RpcRequestOptions, SubscriptionStore, type SyncInspectionOpTargets, type SyncStatusChangedBusEvent, type VersionFingerprint, type WorkerInspectorInfo, type WorkerMigrationState, type WorkerPackageLoaderOptions, type WorkerPackageSource, createCorrelatedSubscriptions, createInspectorProxy, createPortTransport, createReactorClientProxy, createWorkerAdminClient, fromErrorInfo, hostResponder, toErrorInfo };
|
|
319
|
+
export {};
|
|
243
320
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/rpc/
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/rpc/adopt-sync-peer.ts","../../../src/rpc/reactor-host.ts","../../../src/rpc/local-sync-peer-handlers.ts","../../../src/rpc/inspector-ops.ts","../../../src/rpc/op-channel.ts","../../../src/rpc/live-query-proxy.ts","../../../src/rpc/relational-db-proxy.ts","../../../src/rpc/event-bus-proxy.ts","../../../src/rpc/forwarded-events.ts","../../../src/rpc/connect-reactor.ts","../../../src/rpc/bus-event-ids.ts","../../../src/rpc/sync-manager-proxy.ts","../../../src/rpc/module-graph.ts","../../../src/rpc/worker-package-loader.ts"],"mappings":";;;;;;KAIY;EACV;EACA;;EAEA;EACA;EACA,QAAQ;;KAGE;EACV;EACA;EACA;;;wBAIc,kBACd,QAAQ,iBACR,QAAQ,qBACR,MAAM,cACL;;wBAmBa,mBACd,QAAQ,iBACR,QAAQ,uBACP;;;KCQS;EACV,SAAS;EACT,SAAS,uBAAuB,QAAQ;EACxC,oBACE,iBACA,UAAU,4BACP;EACL,sBAAsB,oBAAoB;EAC1C,cAAc,MAAM;EACpB,YAAY,gBAAgB,oBAAoB;EAChD,UAAU,gBAAgB,oBAAoB;EAC9C,iBAAiB,gBAAgB,oBAAoB;;EAErD,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