@powerhousedao/reactor 6.2.3-dev.49 → 6.2.3-dev.50
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/{document-indexer-Dc_Sv6yi.js → document-indexer-DwAMDVRI.js} +2 -2
- package/dist/{document-indexer-Dc_Sv6yi.js.map → document-indexer-DwAMDVRI.js.map} +1 -1
- package/dist/{drive-container-types-D380mcB3.js → drive-container-types-Ci1pdv4X.js} +9 -9
- package/dist/{drive-container-types-D380mcB3.js.map → drive-container-types-Ci1pdv4X.js.map} +1 -1
- package/dist/entry.js +3 -2
- package/dist/entry.js.map +1 -1
- package/dist/{load-spec-D9lnje-H.js → forwarding-logger-ByfBFgMS.js} +9 -248
- package/dist/forwarding-logger-ByfBFgMS.js.map +1 -0
- package/dist/{index-Dq2f7oAC.d.ts → index-CNhT69De.d.ts} +34 -5
- package/dist/index-CNhT69De.d.ts.map +1 -0
- package/dist/index.d.ts +126 -26
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1065 -157
- package/dist/index.js.map +1 -1
- package/dist/load-spec-ZLjuyhxz.js +246 -0
- package/dist/load-spec-ZLjuyhxz.js.map +1 -0
- package/dist/projection-entry.js +3 -2
- package/dist/projection-entry.js.map +1 -1
- package/dist/{projection-shard-manager-MRJ9BjVM.js → projection-shard-manager-CQ5FwQmv.js} +2 -2
- package/dist/{projection-shard-manager-MRJ9BjVM.js.map → projection-shard-manager-CQ5FwQmv.js.map} +1 -1
- package/dist/rpc.d.ts +2 -2
- package/dist/rpc.js +3 -2
- package/dist/rpc.js.map +1 -1
- package/dist/{worker-handle-B48V1hDm.js → worker-handle-CN2-oRv-.js} +2 -2
- package/dist/{worker-handle-B48V1hDm.js.map → worker-handle-CN2-oRv-.js.map} +1 -1
- package/package.json +13 -13
- package/dist/index-Dq2f7oAC.d.ts.map +0 -1
- package/dist/load-spec-D9lnje-H.js.map +0 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Action, ActionSigner, AuthRequest, AuthSubject, DocumentModelModule, HoldReason, ISigner, Operation, OperationContext, OperationOutcome, OperationWithContext, PHDocument, PHDocumentState, PeerCapability, PeerCapabilityFlags, PeerManifest, ProtocolVersions, SignaturePolicy, SignatureVerificationHandler, Supports, UpgradeManifest, UpgradeReducer, UpgradeTransition } from "@powerhousedao/shared/document-model";
|
|
2
2
|
import { DocumentDriveDocument, DriveInput, FolderNode, Node } from "@powerhousedao/shared/document-drive";
|
|
3
3
|
import { ILogger } from "document-model";
|
|
4
|
+
import "@powerhousedao/shared/document-model/errors";
|
|
4
5
|
import { ColumnType, Generated, Insertable, Kysely, Selectable, Transaction } from "kysely";
|
|
5
6
|
import { IProcessorManager } from "@powerhousedao/shared/processors";
|
|
6
7
|
import { Pool } from "pg";
|
|
@@ -1441,7 +1442,8 @@ interface ISyncDeadLetterStorage {
|
|
|
1441
1442
|
*/
|
|
1442
1443
|
list(remoteName: string, paging?: PagingOptions, signal?: AbortSignal): Promise<PagedResults<DeadLetterRecord>>;
|
|
1443
1444
|
/**
|
|
1444
|
-
* Adds a dead letter.
|
|
1445
|
+
* Adds a dead letter. A duplicate id keeps its row but takes the new
|
|
1446
|
+
* error source, message and type. Throws
|
|
1445
1447
|
* DocumentPurgedError, persisting nothing, when the document is purged.
|
|
1446
1448
|
*
|
|
1447
1449
|
* @param deadLetter - The dead letter record to persist
|
|
@@ -1467,8 +1469,9 @@ interface ISyncDeadLetterStorage {
|
|
|
1467
1469
|
* Used to populate the quarantine set on startup.
|
|
1468
1470
|
*
|
|
1469
1471
|
* @param signal - Optional abort signal to cancel the request
|
|
1472
|
+
* @param exceptIds - Dead letter ids to leave out of the judgement
|
|
1470
1473
|
*/
|
|
1471
|
-
listQuarantinedDocumentIds(signal?: AbortSignal): Promise<string[]>;
|
|
1474
|
+
listQuarantinedDocumentIds(signal?: AbortSignal, exceptIds?: readonly string[]): Promise<string[]>;
|
|
1472
1475
|
}
|
|
1473
1476
|
//#endregion
|
|
1474
1477
|
//#region src/cache/write-cache-types.d.ts
|
|
@@ -3628,7 +3631,7 @@ interface IReactorSubscriptionManager {
|
|
|
3628
3631
|
}
|
|
3629
3632
|
//#endregion
|
|
3630
3633
|
//#region src/sync/errors.d.ts
|
|
3631
|
-
type GraphQLRequestErrorCategory = "network" | "http" | "parse" | "graphql" | "missing-data";
|
|
3634
|
+
type GraphQLRequestErrorCategory = "network" | "http" | "parse" | "graphql" | "missing-data" | "timeout";
|
|
3632
3635
|
declare class GraphQLRequestError extends Error {
|
|
3633
3636
|
readonly statusCode: number | undefined;
|
|
3634
3637
|
readonly category: GraphQLRequestErrorCategory;
|
|
@@ -3702,6 +3705,10 @@ declare class DriveRequestError extends Error {
|
|
|
3702
3705
|
* fire on every mistyped URL. See the `WWW-Authenticate` note on the endpoint
|
|
3703
3706
|
* for the signal that would let a client tell the two apart. */
|
|
3704
3707
|
declare function isDriveAuthError(error: unknown): boolean;
|
|
3708
|
+
/** A repair lever declined a request it cannot carry out safely. */
|
|
3709
|
+
declare class SyncRepairRefusedError extends Error {
|
|
3710
|
+
constructor(message: string);
|
|
3711
|
+
}
|
|
3705
3712
|
declare class PollingChannelError extends Error {
|
|
3706
3713
|
constructor(message: string);
|
|
3707
3714
|
}
|
|
@@ -3773,6 +3780,8 @@ interface IMailbox {
|
|
|
3773
3780
|
get(id: string): SyncOperation | undefined;
|
|
3774
3781
|
add(...items: SyncOperation[]): void;
|
|
3775
3782
|
remove(...items: SyncOperation[]): void;
|
|
3783
|
+
/** Keeps ackOrdinal below an unapplied item until it is applied or removed. */
|
|
3784
|
+
hold?(item: SyncOperation): void;
|
|
3776
3785
|
onAdded(callback: MailboxCallback): void;
|
|
3777
3786
|
onRemoved(callback: MailboxCallback): void;
|
|
3778
3787
|
pause(): void;
|
|
@@ -3789,6 +3798,7 @@ declare class Mailbox implements IMailbox {
|
|
|
3789
3798
|
private itemsMap;
|
|
3790
3799
|
/** Unapplied items carrying a marker, so the held ack reads only these. */
|
|
3791
3800
|
private readonly heldMarkers;
|
|
3801
|
+
private readonly held;
|
|
3792
3802
|
private addedCallbacks;
|
|
3793
3803
|
private removedCallbacks;
|
|
3794
3804
|
private paused;
|
|
@@ -3802,6 +3812,7 @@ declare class Mailbox implements IMailbox {
|
|
|
3802
3812
|
get items(): ReadonlyArray<SyncOperation>;
|
|
3803
3813
|
get ackOrdinal(): number;
|
|
3804
3814
|
get latestOrdinal(): number;
|
|
3815
|
+
hold(item: SyncOperation): void;
|
|
3805
3816
|
get(id: string): SyncOperation | undefined;
|
|
3806
3817
|
add(...items: SyncOperation[]): void;
|
|
3807
3818
|
remove(...items: SyncOperation[]): void;
|
|
@@ -4109,6 +4120,18 @@ interface ISyncManager {
|
|
|
4109
4120
|
*/
|
|
4110
4121
|
onSyncStatusChange(callback: SyncStatusChangeCallback): () => void;
|
|
4111
4122
|
}
|
|
4123
|
+
/** Repair levers for one remote's sync state; each is safe to repeat. */
|
|
4124
|
+
interface ISyncAdmin {
|
|
4125
|
+
/** Rebuilds the channel from cursor storage; never drops the remote's record. */
|
|
4126
|
+
resetChannel(remoteName: string): Promise<void>;
|
|
4127
|
+
/** Retries a dead letter; its document's quarantine lifts once none remain. */
|
|
4128
|
+
requeueDeadLetter(remoteName: string, id: string): Promise<void>;
|
|
4129
|
+
/**
|
|
4130
|
+
* Drops a dead-lettered operation from the mailbox and from storage; a no-op
|
|
4131
|
+
* for an id that is not this remote's.
|
|
4132
|
+
*/
|
|
4133
|
+
clearDeadLetter(remoteName: string, id: string): Promise<void>;
|
|
4134
|
+
}
|
|
4112
4135
|
//#endregion
|
|
4113
4136
|
//#region src/sync/peer-agreement.d.ts
|
|
4114
4137
|
interface IPeerAgreement {
|
|
@@ -6115,6 +6138,8 @@ type Database = Database$1 & DocumentViewDatabase & DocumentIndexerDatabase;
|
|
|
6115
6138
|
*/
|
|
6116
6139
|
interface SyncModule {
|
|
6117
6140
|
syncManager: ISyncManager;
|
|
6141
|
+
/** Absent where the host cannot reach the sync manager's repair levers. */
|
|
6142
|
+
syncAdmin?: ISyncAdmin;
|
|
6118
6143
|
}
|
|
6119
6144
|
/**
|
|
6120
6145
|
* Sync module composed in-process, with the full set of sync dependencies.
|
|
@@ -6290,6 +6315,10 @@ declare class NullDocumentModelResolver implements IDocumentModelResolver {
|
|
|
6290
6315
|
recoverMissingModel(documentType: string): Promise<void>;
|
|
6291
6316
|
}
|
|
6292
6317
|
//#endregion
|
|
6318
|
+
//#region src/executor/worker/load-spec.d.ts
|
|
6319
|
+
/** Loads the document model module a manifest entry's spec names. */
|
|
6320
|
+
declare function loadDocumentModelSpec(spec: DocumentModelSpec): Promise<DocumentModelModule>;
|
|
6321
|
+
//#endregion
|
|
6293
6322
|
//#region src/registry/errors.d.ts
|
|
6294
6323
|
/**
|
|
6295
6324
|
* Error thrown when a document model module is not found in the registry.
|
|
@@ -6349,6 +6378,6 @@ declare class DocumentModelRegistry implements IDocumentModelRegistry {
|
|
|
6349
6378
|
getUpgradeReducer(documentType: string, fromVersion: number, toVersion: number): UpgradeReducer<any, any>;
|
|
6350
6379
|
}
|
|
6351
6380
|
//#endregion
|
|
6352
|
-
export {
|
|
6381
|
+
export { ReadGateOptions as $, supportsLiveReadModelRegistration as $i, SanitizedArg as $n, DuplicateOperationError as $r, ISubscriptionErrorHandler as $t, instrumentPgPool as A, ISettledWatermark as Aa, PurgeLookup as Ai, SignatureVerdict as An, DocumentIndexerDatabase as Ar, ISyncAdmin as At, InsertableDocumentSnapshot as B, SyncFailedEvent as Bi, HeartbeatMessage as Bn, DocumentStreamKey as Br, Mailbox as Bt, ReactorClientModule as C, ViewFilter$1 as Ca, ConnectionState as Ci, Subscriber as Cn, IWriteCache as Cr, StreamQuery as Ct, ForwardingPoolInstrumentation as D, CatchUpThread as Da, JwtHandler as Di, SignatureRefusalCode as Dn, FileModelSource as Dr, ConnectionStateChangeCallback as Dt, SyncModule as E, CatchUpStatus as Ea, DeadLetterAddedEvent as Ei, SIGNATURE_REFUSAL_CODES as En, DocumentModelSource as Er, createPeerAgreement as Et, PurgeFence as F, RemoteRecord as Fi, DbConfig as Fn, ICollectionMembershipCache as Fr, ISyncStatusTracker as Ft, IJobExecutor as G, SyncPendingEvent as Gi, MetricsMessage as Gn, AppendConditionFailedError as Gr, DriveRequestError as Gt, IConsistencyTracker as H, SyncHold as Hi, JobWriteReadyPayload as Hn, WriteCacheConfig as Hr, SyncOperationAggregateError as Ht, ReadModelIndexingConfig as I, RemoteStatus as Ii, DocumentModelSpec as In, DriveCollectionId as Ir, SyncStatus as It, ReactorClient as J, SyncSucceededEvent as Ji, ModelManifestEntry as Jn, DocumentAlreadyExistsError as Jr, SyncRepairRefusedError as Jt, IJobExecutorManager as K, SyncPurgeRefusedEvent as Ki, ModelLoadFailedMessage as Kn, AppendConditionStream as Kr, PollingChannelError as Kt, defaultReadModelIndexingConfig as L, SyncEnvelope as Li, ErrorInfo as Ln, IOperationIndex as Lr, SyncStatusChangeCallback as Lt, BaseReadModelConfig as M, SweepResult as Ma, RemoteFilter as Mi, SignatureVerificationMode as Mn, OperationTable as Mr, PeerManifestListener as Mt, DEFAULT_COMMIT_CHUNK_SIZE as N, WatermarkStatus as Na, RemoteOptions as Ni, SignerConfig as Nn, PurgeRemovedRows as Nr, Remote as Nt, PoolInstrumentation as O, ICatchUp as Oa, LocalPeer as Oi, SignatureScheme as On, PackageModelSource as Or, IChannel as Ot, DEFAULT_READ_MODEL_YIELD_DEADLINE_MS as P, defaultCatchUpConfig as Pa, RemotePeer as Pi, AbortMessage as Pn, IDocumentMetaCache as Pr, RemoteMeta as Pt, ModelReadGate as Q, ReadModelRegistrationStage as Qi, ResultMessage as Qn, DocumentRevisions as Qr, IReactorSubscriptionManager as Qt, unchunkedReadModelIndexingConfig as R, SyncEnvelopeType as Ri, ExecuteMessage as Rn, OperationIndexEntry as Rr, SyncStatusTracker as Rt, LoadJobPlan as S, SubmittedActionResult as Sa, ChannelScheme as Si, SignatureRefusedEvent as Sn, KyselyWriteCache as Sr, Projection as St, ReactorModule as T, CatchUpConsumerStatus as Ta, ConnectionStateSnapshot as Ti, AdmissionPath as Tn, IDocumentModelRegistry as Tr, PeerAgreementBasis as Tt, makeConsistencyKey as U, SyncOperationErrorType as Ui, LoadModelMessage as Un, APPEND_CONDITION_FAILED_PREFIX as Ur, ChannelError as Ut, ConsistencyTracker as V, SyncHeldEvent as Vi, InitMessage as Vn, KeyframeSnapshot as Vr, SyncOperation as Vt, IExecutorWorker as W, SyncOperationStatus as Wi, LogMessage as Wn, AppendCondition as Wr, DRIVE_AUTH_ERROR_MESSAGES as Wt, BareReadGate as X, IReadModel as Xi, ParentMessage as Xn, DocumentGraphEdge as Xr, isRecoverableGraphQLError as Xt, ALWAYS_READABLE_SCOPES as Y, ILiveReadModelCoordinator as Yi, ModuleRef as Yn, DocumentExistence as Yr, isDriveAuthError as Yt, IReadGate as Z, IReadModelCoordinator as Zi, ReadyMessage as Zn, DocumentRelationship as Zr, DocumentDeletedInfo as Zt, ExecutionJobPlan as _, PagingOptions as _a, ViewFilter as _i, ReactorEventTypes as _n, KyselyDocumentPurger as _r, DecisionContext as _t, ModelNotWorkerImportableError as a, PurgeJobOptions as aa, ISyncCursorStorage as ai, IQueue as an, ExecutorStartedEvent as ar, decideAtHead as at, InProcessReactorModule as b, SearchFilter as ba, ChannelHealth as bi, ReadModelIndexingStage as bn, KyselyKeyframeStore as br, Evaluation as bt, DocumentModelResolver as c, ConsistencyCoordinate as ca, ISyncPurgeRefusalStorage as ci, CatchUpSweptEvent as cn, JobExecutorConfig as cr, documentDecisionModel as ct, BatchExecutionRequest as d, ErrorInfo$1 as da, OperationFilter as di, JobPendingEvent as dn, JobResult as dr, DocumentChangeEvent as dt, IJobExecutionHandle as ea, IDocumentGraph as ei, SubscriptionErrorContext as en, ShutdownMessage as er, SeededStateReader as et, BatchExecutionResult as f, JobInfo as fa, OptimisticLockError as fi, JobReadReadyEvent as fn, JobStartedEvent as fr, DocumentChangeType as ft, DegradedComponent as g, PagedResults as ga, SyncHoldRecord as gi, PurgeMarkerContext as gn, DEFAULT_PURGE_DELETE_BATCH as gr, BuiltDecisionModel as gt, Database as h, JobStatus as ha, RevisionMismatchError as hi, ModelLoadedEvent as hn, CollectionMember as hr, ProtocolSelection as ht, InvalidModuleError as i, JobRoutingMeta as ia, IOperationStore as ii, EnqueuePurgeOptions as in, ExecutorManagerStatus as ir, RegisteredDecisionModel as it, BaseReadModel as j, SweepBlockedAt as ja, RemoteCursor as ji, SignatureVerificationHandler as jn, DocumentPurgeRow as jr, ISyncManager as jt, PoolStats as k, ICatchUpConsumer as ka, PollBehavior as ki, SignatureTrustPolicy as kn, Database$1 as kr, IChannelFactory as kt, IDocumentModelResolver as l, ConsistencyKey as la, ISyncReceivedMarkerStorage as li, EventBusAggregateError as ln, JobExecutorEventTypes as lr, ActionCandidate as lt, BatchLoadResult as m, JobResultSummary as ma, ReceivedMarkerRecord as mi, JobWriteReadyEvent as mn, IExecutionScope as mr, IReactorClient as mt, DuplicateManifestError as n, JobAvailableEvent as na, IDocumentView as ni, JobAwaiter as nn, WorkerPoolConfig as nr, readDecisionModel as nt, ModuleNotFoundError as o, QueueEventTypes as oa, ISyncDeadLetterStorage as oi, IJobTracker as on, ExecutorStoppedEvent as or, selectDecisionModel as ot, BatchLoadRequest as p, JobMeta as pa, PurgeRefusalRecord as pi, JobRunningEvent as pn, ReactorFeatureFlags as pr, IDriveClient as pt, ActionEvaluationConfig as q, SyncReleasedEvent as qi, ModelLoadedMessage as qn, AtomicTxn as qr, RECOVERABLE_GRAPHQL_ERROR_CODES as qt, DuplicateModuleError as r, JobKind as ra, IKeyframeStore as ri, DocumentPurgeService as rn, DEFAULT_MAX_PURGE_OPERATIONS as rr, AdmissionDecision as rt, loadDocumentModelSpec as s, RetryAccounting as sa, ISyncHoldStorage as si, IEventBus as sn, JobCompletedEvent as sr, DocumentDecisionModel as st, DocumentModelRegistry as t, Job as ta, IDocumentIndexer as ti, IJobAwaiter as tn, WorkerMessage as tr, SubjectScopePredicate as tt, NullDocumentModelResolver as u, ConsistencyToken as ua, ISyncRemoteStorage as ui, JobFailedEvent as un, JobFailedEvent$1 as ur, ActionEvaluations as ut, IReactor as v, PropagationMode as va, ChannelConfig as vi, ReadModelBatchCompletedEvent as vn, PurgeStream as vr, DecisionModel as vt, ReactorFeatures as w, CatchUpConfig as wa, ConnectionStateChangedEvent as wi, Unsubscribe as wn, IDocumentModelLoader as wr, IPeerAgreement as wt, InProcessSyncModule as x, ShutdownStatus as xa, ChannelMeta as xi, ReadModelStage as xn, KyselyOperationStore as xr, IStreamStateReader as xt, InProcessReactorClientModule as y, RelationshipChangeType as ya, ChannelErrorSource as yi, ReadModelIndexedEvent as yn, appliedDelete as yr, DecisionTarget as yt, DocumentViewDatabase as z, SyncEventTypes as zi, FactorySpec as zn, CachedSnapshot as zr, IMailbox as zt };
|
|
6353
6382
|
export {};
|
|
6354
|
-
//# sourceMappingURL=index-
|
|
6383
|
+
//# sourceMappingURL=index-CNhT69De.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-CNhT69De.d.ts","names":[],"sources":["../src/catch-up/types.ts","../src/shared/types.ts","../src/queue/types.ts","../src/read-models/interfaces.ts","../src/sync/types.ts","../src/storage/interfaces.ts","../src/cache/write-cache-types.ts","../src/cache/operation-index-types.ts","../src/cache/collection-membership-cache.ts","../src/cache/document-meta-cache-types.ts","../src/storage/kysely/types.ts","../src/core/model-sources.ts","../src/registry/interfaces.ts","../src/cache/buffer/ring-buffer.ts","../src/cache/write/interfaces.ts","../src/cache/kysely-write-cache.ts","../src/storage/kysely/store.ts","../src/storage/kysely/keyframe-store.ts","../src/storage/kysely/document-purger.ts","../src/executor/execution-scope.ts","../src/executor/types.ts","../src/executor/worker/protocol.ts","../src/signer/types.ts","../src/events/types.ts","../src/events/interfaces.ts","../src/job-tracker/interfaces.ts","../src/queue/interfaces.ts","../src/admin/document-purge-service.ts","../src/shared/awaiter.ts","../src/subs/types.ts","../src/sync/errors.ts","../src/sync/sync-operation.ts","../src/sync/mailbox.ts","../src/sync/sync-status-tracker.ts","../src/sync/interfaces.ts","../src/sync/peer-agreement.ts","../src/decision/types.ts","../src/client/types.ts","../src/decision/document-decision-model.ts","../src/decision/registered-model.ts","../src/decision/read-gate.ts","../src/client/reactor-client.ts","../src/executor/interfaces.ts","../src/shared/consistency-tracker.ts","../src/read-models/types.ts","../src/read-models/base-read-model.ts","../src/core/group-reevaluation-trigger.ts","../src/storage/pool-instrumentation.ts","../src/core/types.ts","../src/registry/document-model-resolver.ts","../src/executor/worker/load-spec.ts","../src/registry/errors.ts","../src/registry/implementation.ts"],"mappings":";;;;;;;;KAEY;EACV;EACA;EACA;EACA;;UAGe;;WAEN;;EAET,QAAQ,SAAS,cAAc;EAC/B,UAAU,WAAW,kCAAkC;EACvD,UAAU;;KAGA;EACV;EACA;EACA;EACA;EACA;EACA;;KAGU;EACV;EACA;EACA;EACA;;EAEA;;EAEA;EACA,YAAY;;UAGG;WACN;WACA;;WAEA;EACT,MACE,wBACA,4BACA,SAAS,cACR,QAAQ;;KAGD;KAEA;EACV;EACA,QAAQ;EACR;EACA;EACA,YAAY;EACZ;;KAGU;EACV,WAAW;EACX,WAAW;;KAGD;EACV;EACA;EACA;;EAEA;;cAGW,sBAAsB;;UAQlB;EACf,UAAU;EACV,YAAY,QAAQ;;;;;;;;;;;KCnEV;EACV;EACA;EACA;;EAEA;;;;;;;EAOA,SAAS;;;;;KAMC;;;;;;;;;;MAUN;;;;;;;EAQJ,WAAW;;;;;aAMD;EACV;EACA;;;;;aAMU;EACV;EACA;;;;;;KAOU;EACV;EACA;;;;;;KAOU,UAAU,YAAY;;;;;KAQtB;EACV;EACA;;EAGA;IACE;;;;;;;;;KAUQ;;EAEV,SAAS;;EAGT;;;;;KAMU;EACV;;EAGA;EACA,QAAQ;EACR;EACA;EACA,QAAQ;EACR,eAAe;;;;;;EAOf,SAAS;;;;EAKT,kBAAkB;;;;EAKlB,MAAM;;;;EAKN,MAAM;;;;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B;;;;;;SAS5C,QAAQ,cAAc;MAezB;EAIJ;EAIA,OAAO,OAAO;;;;UCpNC;EAEf,2BACE,wBACC,QAAQ;EAGX,WAAW;;;;;;;;;;;KCWD;;;;;EAKV,OAAO;;;;EAKP;;;;;EAMA;KAAqB;;;;;;EAMrB;;;;;;;;;;;;;;;UAgBe;;;;;;;;;;;;;;;;;;EAkBf,gBACE,oBACA,gBACA,SAAS,cACR,QAAQ;;;;;;;;;;;;;;;EAgBX,kBACE,oBACA,gBACA,wBACA,SAAS,cACR,QAAQ;;;;;;;;;;;EAYX,gBACE,oBACA,gBACA,MAAM;;;;;;;;;;;EAaR,WAAW,oBAAoB;;;;EAK/B;;;;EAKA,WAAW;;;;EAKX,YAAY;;;;UCxIG;EACf,IAAI;EACJ;EACA;EACA;EACA,qBAAqB,UAAU;EAC/B;EACA;EACA;EACA;EACA,gBAAgB;EAChB;EACA;EACA;EACA;EACA;EACA;;UAGe;EACf,IAAI;EACJ;EACA;EACA;EACA;EACA;EACA;EACA,WAAW,UAAU;;UAGN;EACf;EACA;EACA;EACA;;UAGe;EACf,SAAS;EACT;EACA;EACA;EACA;EACA;EACA;EACA,qBAAqB,UAAU;EAC/B;EACA;EACA;EACA;EACA;EACA,cAAc;;UAGC;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA,yBAAyB;EAKzB,YAAY,UAAU;EACtB,YAAY,UAAU;;UAGP;EACf;EACA;EACA;EACA;EACA,YAAY,UAAU;;;;;UAMP;EACf,SAAS;EACT;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,YAAY;EACZ,YAAY,UAAU;;UAGP;EACf;EACA;EACA;EACA;EACA;EACA,gBAAgB;;;UAID;EACf;EACA;EACA;EACA;EACA,WAAW;EACX,oBAAoB;;;UAIL;EACf;EACA;EACA;EACA,mBAAmB;;;;;;UAOJ;EACf;EACA;;;KAIU;GAAsB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B,mBAAmB;;;;;;;KAQnD,4BACV,OAAO,uBACJ;;;;;;;cAQQ,iCAAiC;UAWlC;UACA;UAXF;UACA;UACA;UACA;UAGA;mBACS;EAEjB,YACU,UAAU,wBACV,QAAQ;;;;;;EAQlB,iBAAiB,MAAM;;;;;EAQvB,mBAAmB,OAAO,yBAAyB;;EAKnD,iBAAiB,SAAS;;EAW1B,qBAAqB,uBAAuB;EAKtC,oBACJ,sBACA,mBACC;EAgBG,kBAAkB,uBAAuB;UAqCjC;UA+BA;;;;;;;cAqBH,qCAAqC;UAC5B;EAApB,YAAoB,WAAW;EAE/B,kBAAkB,uBAAuB;EAazC,oBAAoB,uBAAuB;;;;;iBC5LvB,sBACpB,MAAM,oBACL,QAAQ;;;;;;cClBE,4BAA4B;WAC9B;WACA;EAET,YAAY,sBAAsB;SAU3B,QAAQ,iBAAiB,SAAS;;;cAM9B,sCAAsC;WACxC;EAET,YAAY,sBAAsB;SAS3B,QAAQ,iBAAiB,SAAS;;;;;cAU9B,6BAA6B;EACxC,YAAY,sBAAsB;SAQ3B,QAAQ,iBAAiB,SAAS;;;;;cAQ9B,2BAA2B;EACtC,YAAY;;;;;cASD,+BAA+B;EAC1C,YAAY;SAKL,QAAQ,iBAAiB,SAAS;;;;;;;;cCtD9B,iCAAiC;UACpC;UACA;EAER,mBACK,SAAS,6BACX,mBAAmB;EA4BtB,qBAAqB;EAoBrB,UAAU,sBAAsB,mBAAmB;EA4BnD,iBAAiB;EAIjB;EAKA,qBAAqB;EAgBrB,iBAAiB;EAqBjB,4BACK,qBAAqB,uCACvB,mBAAmB;EA2BtB,8BAA8B;EAoB9B,mBAAmB,uBAAuB;EAS1C,mBACE,sBACA,qBACA,oBACC;EA+BH,kBACE,sBACA,qBACA,oBACC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as ReadGateOptions, $i as supportsLiveReadModelRegistration, $n as SanitizedArg, $r as DuplicateOperationError, $t as ISubscriptionErrorHandler, A as instrumentPgPool, Aa as ISettledWatermark, Ai as PurgeLookup, An as SignatureVerdict, Ar as DocumentIndexerDatabase, At as ISyncAdmin, B as InsertableDocumentSnapshot, Bi as SyncFailedEvent, Bn as HeartbeatMessage, Br as DocumentStreamKey, Bt as Mailbox, C as ReactorClientModule, Ca as ViewFilter, Ci as ConnectionState, Cn as Subscriber, Cr as IWriteCache, Ct as StreamQuery, D as ForwardingPoolInstrumentation, Da as CatchUpThread, Di as JwtHandler, Dn as SignatureRefusalCode, Dr as FileModelSource, Dt as ConnectionStateChangeCallback, E as SyncModule, Ea as CatchUpStatus, Ei as DeadLetterAddedEvent, En as SIGNATURE_REFUSAL_CODES, Er as DocumentModelSource, Et as createPeerAgreement, F as PurgeFence, Fi as RemoteRecord, Fn as DbConfig, Fr as ICollectionMembershipCache, Ft as ISyncStatusTracker, G as IJobExecutor, Gi as SyncPendingEvent, Gn as MetricsMessage, Gr as AppendConditionFailedError, Gt as DriveRequestError, H as IConsistencyTracker, Hi as SyncHold, Hn as JobWriteReadyPayload, Hr as WriteCacheConfig, Ht as SyncOperationAggregateError, I as ReadModelIndexingConfig, Ii as RemoteStatus, In as DocumentModelSpec, Ir as DriveCollectionId, It as SyncStatus, J as ReactorClient, Ji as SyncSucceededEvent, Jn as ModelManifestEntry, Jr as DocumentAlreadyExistsError, Jt as SyncRepairRefusedError, K as IJobExecutorManager, Ki as SyncPurgeRefusedEvent, Kn as ModelLoadFailedMessage, Kr as AppendConditionStream, Kt as PollingChannelError, L as defaultReadModelIndexingConfig, Li as SyncEnvelope, Ln as ErrorInfo, Lr as IOperationIndex, Lt as SyncStatusChangeCallback, M as BaseReadModelConfig, Ma as SweepResult, Mi as RemoteFilter, Mn as SignatureVerificationMode, Mr as OperationTable, Mt as PeerManifestListener, N as DEFAULT_COMMIT_CHUNK_SIZE, Na as WatermarkStatus, Ni as RemoteOptions, Nn as SignerConfig, Nr as PurgeRemovedRows, Nt as Remote, O as PoolInstrumentation, Oa as ICatchUp, Oi as LocalPeer, On as SignatureScheme, Or as PackageModelSource, Ot as IChannel, P as DEFAULT_READ_MODEL_YIELD_DEADLINE_MS, Pa as defaultCatchUpConfig, Pi as RemotePeer, Pn as AbortMessage, Pr as IDocumentMetaCache, Pt as RemoteMeta, Q as ModelReadGate, Qi as ReadModelRegistrationStage, Qn as ResultMessage, Qr as DocumentRevisions, Qt as IReactorSubscriptionManager, R as unchunkedReadModelIndexingConfig, Ri as SyncEnvelopeType, Rn as ExecuteMessage, Rr as OperationIndexEntry, Rt as SyncStatusTracker, S as LoadJobPlan, Sa as SubmittedActionResult, Si as ChannelScheme, Sn as SignatureRefusedEvent, Sr as KyselyWriteCache, St as Projection, T as ReactorModule, Ta as CatchUpConsumerStatus, Ti as ConnectionStateSnapshot, Tn as AdmissionPath, Tr as IDocumentModelRegistry, Tt as PeerAgreementBasis, U as makeConsistencyKey, Ui as SyncOperationErrorType, Un as LoadModelMessage, Ur as APPEND_CONDITION_FAILED_PREFIX, Ut as ChannelError, V as ConsistencyTracker, Vi as SyncHeldEvent, Vn as InitMessage, Vr as KeyframeSnapshot, Vt as SyncOperation, W as IExecutorWorker, Wi as SyncOperationStatus, Wn as LogMessage, Wr as AppendCondition, Wt as DRIVE_AUTH_ERROR_MESSAGES, X as BareReadGate, Xi as IReadModel, Xn as ParentMessage, Xr as DocumentGraphEdge, Xt as isRecoverableGraphQLError, Y as ALWAYS_READABLE_SCOPES, Yi as ILiveReadModelCoordinator, Yn as ModuleRef, Yr as DocumentExistence, Yt as isDriveAuthError, Z as IReadGate, Zi as IReadModelCoordinator, Zn as ReadyMessage, Zr as DocumentRelationship, Zt as DocumentDeletedInfo, _ as ExecutionJobPlan, _a as PagingOptions, _i as ViewFilter$1, _n as ReactorEventTypes, _r as KyselyDocumentPurger, _t as DecisionContext, a as ModelNotWorkerImportableError, aa as PurgeJobOptions, ai as ISyncCursorStorage, an as IQueue, ar as ExecutorStartedEvent, at as decideAtHead, b as InProcessReactorModule, ba as SearchFilter, bi as ChannelHealth, bn as ReadModelIndexingStage, br as KyselyKeyframeStore, bt as Evaluation, c as DocumentModelResolver, ca as ConsistencyCoordinate, ci as ISyncPurgeRefusalStorage, cn as CatchUpSweptEvent, cr as JobExecutorConfig, ct as documentDecisionModel, d as BatchExecutionRequest, da as ErrorInfo$1, di as OperationFilter, dn as JobPendingEvent, dr as JobResult, dt as DocumentChangeEvent, ea as IJobExecutionHandle, ei as IDocumentGraph, en as SubscriptionErrorContext, er as ShutdownMessage, et as SeededStateReader, f as BatchExecutionResult, fa as JobInfo, fi as OptimisticLockError, fn as JobReadReadyEvent, fr as JobStartedEvent, ft as DocumentChangeType, g as DegradedComponent, ga as PagedResults, gi as SyncHoldRecord, gn as PurgeMarkerContext, gr as DEFAULT_PURGE_DELETE_BATCH, gt as BuiltDecisionModel, h as Database, ha as JobStatus, hi as RevisionMismatchError, hn as ModelLoadedEvent, hr as CollectionMember, ht as ProtocolSelection, i as InvalidModuleError, ia as JobRoutingMeta, ii as IOperationStore, in as EnqueuePurgeOptions, ir as ExecutorManagerStatus, it as RegisteredDecisionModel, j as BaseReadModel, ja as SweepBlockedAt, ji as RemoteCursor, jn as SignatureVerificationHandler, jr as DocumentPurgeRow, jt as ISyncManager, k as PoolStats, ka as ICatchUpConsumer, ki as PollBehavior, kn as SignatureTrustPolicy, kr as Database$1, kt as IChannelFactory, l as IDocumentModelResolver, la as ConsistencyKey, li as ISyncReceivedMarkerStorage, ln as EventBusAggregateError, lr as JobExecutorEventTypes, lt as ActionCandidate, m as BatchLoadResult, ma as JobResultSummary, mi as ReceivedMarkerRecord, mn as JobWriteReadyEvent, mr as IExecutionScope, mt as IReactorClient, n as DuplicateManifestError, na as JobAvailableEvent, ni as IDocumentView, nn as JobAwaiter, nr as WorkerPoolConfig, nt as readDecisionModel, o as ModuleNotFoundError, oa as QueueEventTypes, oi as ISyncDeadLetterStorage, on as IJobTracker, or as ExecutorStoppedEvent, ot as selectDecisionModel, p as BatchLoadRequest, pa as JobMeta, pi as PurgeRefusalRecord, pn as JobRunningEvent, pr as ReactorFeatureFlags, pt as IDriveClient, q as ActionEvaluationConfig, qi as SyncReleasedEvent, qn as ModelLoadedMessage, qr as AtomicTxn, qt as RECOVERABLE_GRAPHQL_ERROR_CODES, r as DuplicateModuleError, ra as JobKind, ri as IKeyframeStore, rn as DocumentPurgeService, rr as DEFAULT_MAX_PURGE_OPERATIONS, rt as AdmissionDecision, s as loadDocumentModelSpec, sa as RetryAccounting, si as ISyncHoldStorage, sn as IEventBus, sr as JobCompletedEvent, st as DocumentDecisionModel, t as DocumentModelRegistry, ta as Job, ti as IDocumentIndexer, tn as IJobAwaiter, tr as WorkerMessage, tt as SubjectScopePredicate, u as NullDocumentModelResolver, ua as ConsistencyToken, ui as ISyncRemoteStorage, un as JobFailedEvent$1, ur as JobFailedEvent, ut as ActionEvaluations, v as IReactor, va as PropagationMode, vi as ChannelConfig, vn as ReadModelBatchCompletedEvent, vr as PurgeStream, vt as DecisionModel, w as ReactorFeatures, wa as CatchUpConfig, wi as ConnectionStateChangedEvent, wn as Unsubscribe, wr as IDocumentModelLoader, wt as IPeerAgreement, x as InProcessSyncModule, xa as ShutdownStatus, xi as ChannelMeta, xn as ReadModelStage, xr as KyselyOperationStore, xt as IStreamStateReader, y as InProcessReactorClientModule, ya as RelationshipChangeType, yi as ChannelErrorSource, yn as ReadModelIndexedEvent, yr as appliedDelete, yt as DecisionTarget, z as DocumentViewDatabase, zi as SyncEventTypes, zn as FactorySpec, zr as CachedSnapshot, zt as IMailbox } from "./index-CNhT69De.js";
|
|
2
2
|
import { Action, AuthSubject, CreateDocumentActionInput, DocumentModelModule, ISigner, Operation, OperationContext, OperationWithContext, OperationWithContext as OperationWithContext$1, PHAuthState, PHDocument, PHDocumentState, PURGE_DOCUMENT, PeerCapability, PeerManifest, PurgeDocumentAction, PurgeDocumentActionInput, PurgeMarkerOperation, SignaturePolicy, UpgradeDocumentActionInput, UpgradeManifest, actions as documentActions, isPurgeMarker } from "@powerhousedao/shared/document-model";
|
|
3
3
|
import { DocumentDriveDocument, DriveInput, FolderNode, Node } from "@powerhousedao/shared/document-drive";
|
|
4
4
|
import { ILogger } from "document-model";
|
|
5
|
-
import { Kysely, Transaction } from "kysely";
|
|
5
|
+
import { DatabaseIntrospector, Dialect, DialectAdapter, Driver, Kysely, QueryCompiler, Transaction } from "kysely";
|
|
6
6
|
import { IProcessor, IProcessorHostModuleBase, IProcessorHostModuleBase as IProcessorHostModuleBase$1, IProcessorManager, IProcessorManager as IProcessorManager$1, IRelationalDb, ProcessorApp, ProcessorFactory, ProcessorFactory as ProcessorFactory$1, ProcessorFactoryBuilder, ProcessorFilter, ProcessorRecord, ProcessorRecord as ProcessorRecord$1, ProcessorStatus, RelationalDbProcessor, TrackedProcessor, TrackedProcessor as TrackedProcessor$1, createRelationalDb } from "@powerhousedao/shared/processors";
|
|
7
7
|
import "node:worker_threads";
|
|
8
8
|
//#region src/attachments/types.d.ts
|
|
@@ -749,6 +749,7 @@ export declare class ReactorBuilder {
|
|
|
749
749
|
* every job and received row into them is refused.
|
|
750
750
|
*/
|
|
751
751
|
withUnsupportedStoredDocuments(mode: UnsupportedStoredDocuments): this;
|
|
752
|
+
/** Mutually exclusive with {@link withChannelScheme}; setting both fails the build. */
|
|
752
753
|
withSync(syncBuilder: SyncBuilder): this;
|
|
753
754
|
/** Tunes the read-side catch-up sweep. */
|
|
754
755
|
withCatchUp(config: Partial<CatchUpConfig>): this;
|
|
@@ -779,6 +780,7 @@ export declare class ReactorBuilder {
|
|
|
779
780
|
*/
|
|
780
781
|
withInstrumentedPool(instrumentation: PoolInstrumentation): this;
|
|
781
782
|
withQueue(queue: IQueue): this;
|
|
783
|
+
/** Mutually exclusive with {@link withSync}; setting both fails the build. */
|
|
782
784
|
withChannelScheme(scheme: ChannelScheme): this;
|
|
783
785
|
withJwtHandler(handler: JwtHandler): this;
|
|
784
786
|
withDocumentModelLoader(loader: IDocumentModelLoader): this;
|
|
@@ -1773,10 +1775,6 @@ export declare class SimpleJobExecutor implements IJobExecutor {
|
|
|
1773
1775
|
//#region src/executor/worker/forwarding-logger.d.ts
|
|
1774
1776
|
export declare function createForwardingLogger(post: (msg: LogMessage) => void, level?: ILogger["level"], tags?: string[]): ILogger;
|
|
1775
1777
|
//#endregion
|
|
1776
|
-
//#region src/executor/worker/load-spec.d.ts
|
|
1777
|
-
/** Loads the document model module a manifest entry's spec names. */
|
|
1778
|
-
export declare function loadDocumentModelSpec(spec: DocumentModelSpec): Promise<DocumentModelModule>;
|
|
1779
|
-
//#endregion
|
|
1780
1778
|
//#region src/executor/worker/sanitize.d.ts
|
|
1781
1779
|
export declare function errorToInfo(err: unknown): ErrorInfo;
|
|
1782
1780
|
export declare function sanitizeArg(value: unknown, depth?: number, seen?: WeakSet<object>): SanitizedArg;
|
|
@@ -1881,6 +1879,69 @@ export declare class KyselyDocumentIndexer extends BaseReadModel implements IDoc
|
|
|
1881
1879
|
private handleUpdateRelationship;
|
|
1882
1880
|
}
|
|
1883
1881
|
//#endregion
|
|
1882
|
+
//#region src/storage/kysely/pglite-dialect.d.ts
|
|
1883
|
+
/** Structural so importing this module does not pull in the PGlite wasm bundle. */
|
|
1884
|
+
type PGliteSession = {
|
|
1885
|
+
query: (sql: string, params?: unknown[]) => Promise<{
|
|
1886
|
+
rows: unknown[];
|
|
1887
|
+
affectedRows?: number;
|
|
1888
|
+
}>;
|
|
1889
|
+
/** Simple-query execution, used for the commit guard and session recovery. */
|
|
1890
|
+
exec: (sql: string) => Promise<unknown>;
|
|
1891
|
+
isInTransaction: () => boolean;
|
|
1892
|
+
};
|
|
1893
|
+
type HardenedPGliteDialectOptions = {
|
|
1894
|
+
/** Opt-in bound on waiting for the single PGlite lease; 0 (the default) waits indefinitely. */
|
|
1895
|
+
acquireTimeoutMs: number;
|
|
1896
|
+
/** Bound on a call that never settles (a dead wasm call); a long synchronous statement still finishes. 0 disables it. */
|
|
1897
|
+
statementTimeoutMs: number;
|
|
1898
|
+
/** The bound for {@link isLongRunningStatement} statements, whose runtime scales with the data. */
|
|
1899
|
+
longStatementTimeoutMs: number;
|
|
1900
|
+
/** Bound on each session recovery statement, which runs against the session that just failed. */
|
|
1901
|
+
recoveryTimeoutMs: number;
|
|
1902
|
+
/** Where unrecoverable session faults and swallowed rollbacks are reported. */
|
|
1903
|
+
onDiagnostic: (message: string, error?: unknown) => void;
|
|
1904
|
+
/** Called once, the first time the session is refused as unrecoverable; the owner should restart. */
|
|
1905
|
+
onPoisoned: (cause: Error) => void;
|
|
1906
|
+
};
|
|
1907
|
+
export declare const DEFAULT_STATEMENT_TIMEOUT_MS = 120000;
|
|
1908
|
+
export declare const DEFAULT_LONG_STATEMENT_TIMEOUT_MS = 900000;
|
|
1909
|
+
export declare const DEFAULT_RECOVERY_TIMEOUT_MS = 15000;
|
|
1910
|
+
/** Maintenance and DDL, matched on the leading keyword of the compiled SQL. */
|
|
1911
|
+
export declare function isLongRunningStatement(statement: string): boolean;
|
|
1912
|
+
type IntrospectedDatabase = Parameters<Dialect["createIntrospector"]>[0];
|
|
1913
|
+
export declare class PGliteSessionError extends Error {
|
|
1914
|
+
readonly cause?: unknown;
|
|
1915
|
+
constructor(message: string, cause?: unknown);
|
|
1916
|
+
}
|
|
1917
|
+
export declare class PGliteAcquireTimeoutError extends PGliteSessionError {
|
|
1918
|
+
constructor(timeoutMs: number);
|
|
1919
|
+
}
|
|
1920
|
+
/** The call cannot be aborted, so it is abandoned and the session treated as poisoned. */
|
|
1921
|
+
export declare class PGliteStatementTimeoutError extends PGliteSessionError {
|
|
1922
|
+
constructor(timeoutMs: number, statement: string);
|
|
1923
|
+
}
|
|
1924
|
+
export declare class PGliteAbortedTransactionError extends PGliteSessionError {
|
|
1925
|
+
constructor(cause: unknown);
|
|
1926
|
+
}
|
|
1927
|
+
/** No statement can clear the session (e.g. a stuck active portal). */
|
|
1928
|
+
export declare class PGliteSessionPoisonedError extends PGliteSessionError {
|
|
1929
|
+
constructor(cause: unknown);
|
|
1930
|
+
}
|
|
1931
|
+
/** `kysely-pglite-dialect` hardened for one shared session that a fault must not brick. */
|
|
1932
|
+
export declare class HardenedPGliteDialect implements Dialect {
|
|
1933
|
+
private readonly client;
|
|
1934
|
+
private readonly inner;
|
|
1935
|
+
private readonly options;
|
|
1936
|
+
constructor(client: PGliteSession, options?: Partial<HardenedPGliteDialectOptions>);
|
|
1937
|
+
createAdapter(): DialectAdapter;
|
|
1938
|
+
createDriver(): Driver;
|
|
1939
|
+
createQueryCompiler(): QueryCompiler;
|
|
1940
|
+
createIntrospector(db: IntrospectedDatabase): DatabaseIntrospector;
|
|
1941
|
+
}
|
|
1942
|
+
/** Raw SQL through the dialect's queue, instead of into whatever transaction holds the session. */
|
|
1943
|
+
export declare function queryThroughDialect<DB>(db: Kysely<DB>, sql: string, params?: unknown[]): Promise<unknown[]>;
|
|
1944
|
+
//#endregion
|
|
1884
1945
|
//#region src/read-models/coordinator.d.ts
|
|
1885
1946
|
/**
|
|
1886
1947
|
* Coordinates read model synchronization by listening to operation write events
|
|
@@ -2118,6 +2179,8 @@ export declare class GqlResponseChannelFactory implements IChannelFactory {
|
|
|
2118
2179
|
}
|
|
2119
2180
|
//#endregion
|
|
2120
2181
|
//#region src/sync/channels/poll-timer.d.ts
|
|
2182
|
+
/** Once `signal` aborts, settle promptly and stop mutating shared state. */
|
|
2183
|
+
type PollDelegate = (signal: AbortSignal | undefined) => Promise<void>;
|
|
2121
2184
|
/**
|
|
2122
2185
|
* Timer that controls when polling occurs.
|
|
2123
2186
|
* GqlChannel registers a delegate; the timer invokes it when appropriate.
|
|
@@ -2125,7 +2188,7 @@ export declare class GqlResponseChannelFactory implements IChannelFactory {
|
|
|
2125
2188
|
*/
|
|
2126
2189
|
type IPollTimer = {
|
|
2127
2190
|
/** Register the delegate to be called on each tick. Returns Promise that timer awaits. */
|
|
2128
|
-
setDelegate: (delegate:
|
|
2191
|
+
setDelegate: (delegate: PollDelegate) => void;
|
|
2129
2192
|
/** Start the timer (begins calling delegate periodically) */
|
|
2130
2193
|
start: () => void;
|
|
2131
2194
|
/** Stop the timer */
|
|
@@ -2135,6 +2198,8 @@ type IPollTimer = {
|
|
|
2135
2198
|
* Used by Manual polling mode to pull on demand without resuming the schedule.
|
|
2136
2199
|
*/
|
|
2137
2200
|
triggerNow: () => void;
|
|
2201
|
+
/** True while the timer polls only on demand (`triggerNow`). */
|
|
2202
|
+
isPaused?: () => boolean;
|
|
2138
2203
|
};
|
|
2139
2204
|
//#endregion
|
|
2140
2205
|
//#region src/sync/channels/gql-req-channel.d.ts
|
|
@@ -2156,6 +2221,8 @@ type GqlChannelConfig = {
|
|
|
2156
2221
|
retryBaseDelayMs: number;
|
|
2157
2222
|
/** Maximum delay in ms for exponential backoff on push retries */
|
|
2158
2223
|
retryMaxDelayMs: number;
|
|
2224
|
+
/** Bound on one request's fetch and body read; 0 disables it. */
|
|
2225
|
+
requestTimeoutMs?: number;
|
|
2159
2226
|
};
|
|
2160
2227
|
/**
|
|
2161
2228
|
* GraphQL-based synchronization channel for network communication between reactors.
|
|
@@ -2177,8 +2244,7 @@ export declare class GqlRequestChannel implements IChannel {
|
|
|
2177
2244
|
private failureCount;
|
|
2178
2245
|
private lastSuccessUtcMs?;
|
|
2179
2246
|
private lastFailureUtcMs?;
|
|
2180
|
-
private
|
|
2181
|
-
private lastPersistedOutboxOrdinal;
|
|
2247
|
+
private readonly cursorWriters;
|
|
2182
2248
|
private pushFailureCount;
|
|
2183
2249
|
private pushRetryTimer;
|
|
2184
2250
|
private pushBlocked;
|
|
@@ -2205,8 +2271,14 @@ export declare class GqlRequestChannel implements IChannel {
|
|
|
2205
2271
|
private connectionState;
|
|
2206
2272
|
/** Latest unrecoverable error was an auth rejection; cleared on connect. */
|
|
2207
2273
|
private requiresAuth;
|
|
2274
|
+
private polling;
|
|
2275
|
+
private polledSinceStart;
|
|
2208
2276
|
private readonly connectionStateCallbacks;
|
|
2209
2277
|
constructor(logger: ILogger, channelId: string, remoteName: string, cursorStorage: ISyncCursorStorage, config: GqlChannelConfig, operationIndex: IOperationIndex, pollTimer: IPollTimer);
|
|
2278
|
+
/** Advances the watermark only once the write lands; writes per row run one at a time, coalesced. */
|
|
2279
|
+
private persistCursor;
|
|
2280
|
+
/** One link of a cursor write chain; never rejects, so the chain survives. */
|
|
2281
|
+
private writeCursor;
|
|
2210
2282
|
/**
|
|
2211
2283
|
* Shuts down the channel and prevents further operations.
|
|
2212
2284
|
*/
|
|
@@ -2224,7 +2296,8 @@ export declare class GqlRequestChannel implements IChannel {
|
|
|
2224
2296
|
private hearPeer;
|
|
2225
2297
|
/**
|
|
2226
2298
|
* Re-touches once when either side's manifest moved; touching is idempotent.
|
|
2227
|
-
* False when
|
|
2299
|
+
* False only when shutting down; a failed refresh raises as a recoverable
|
|
2300
|
+
* poll failure, so the next tick retries it.
|
|
2228
2301
|
*/
|
|
2229
2302
|
private refreshManifestsIfStale;
|
|
2230
2303
|
/** Re-touches a silent remote in case it was upgraded. */
|
|
@@ -2233,11 +2306,19 @@ export declare class GqlRequestChannel implements IChannel {
|
|
|
2233
2306
|
* Initializes the channel by registering it on the remote server and starting polling.
|
|
2234
2307
|
*/
|
|
2235
2308
|
init(): Promise<void>;
|
|
2309
|
+
private startPolling;
|
|
2310
|
+
private stopPolling;
|
|
2311
|
+
/**
|
|
2312
|
+
* `"connected"` is earned by a poll completed since the loop last started; a
|
|
2313
|
+
* timer that polls only on demand earns it with the touch that started it.
|
|
2314
|
+
*/
|
|
2315
|
+
private reachedState;
|
|
2236
2316
|
private transitionConnectionState;
|
|
2237
2317
|
/**
|
|
2238
|
-
* Polls the remote for new sync envelopes.
|
|
2318
|
+
* Polls the remote for new sync envelopes; any failure of the body is recorded.
|
|
2239
2319
|
*/
|
|
2240
2320
|
private poll;
|
|
2321
|
+
private pollOnce;
|
|
2241
2322
|
/**
|
|
2242
2323
|
* Handles dead letters reported by the remote server.
|
|
2243
2324
|
* Creates local dead letter SyncOperations so the channel quiesces.
|
|
@@ -2322,9 +2403,12 @@ export declare class GqlRequestChannel implements IChannel {
|
|
|
2322
2403
|
* Gets the authorization header value using jwtHandler.
|
|
2323
2404
|
*/
|
|
2324
2405
|
private getAuthorizationHeader;
|
|
2325
|
-
/**
|
|
2326
|
-
|
|
2327
|
-
|
|
2406
|
+
/** Aborted by shutdown, tick cancellation or the deadline; `expired` bounds what ignores it. */
|
|
2407
|
+
private requestDeadline;
|
|
2408
|
+
/** A cancelled poll must not touch mailboxes or cursors the next poll will. */
|
|
2409
|
+
private throwIfPollCancelled;
|
|
2410
|
+
private withDeadline;
|
|
2411
|
+
/** Executes a GraphQL query or mutation against the remote endpoint. */
|
|
2328
2412
|
private executeGraphQL;
|
|
2329
2413
|
get poller(): IPollTimer;
|
|
2330
2414
|
/** The lowest ordinal of an outbox item the remote has not applied. */
|
|
@@ -2409,28 +2493,30 @@ type PollTimerConfig = {
|
|
|
2409
2493
|
* without leaving the paused state. Defaults to false (auto-tick on start).
|
|
2410
2494
|
*/
|
|
2411
2495
|
startPaused: boolean;
|
|
2496
|
+
/** How long a tick may run before it is cancelled; 0 disables the bound. */
|
|
2497
|
+
delegateTimeoutMs: number;
|
|
2498
|
+
/** How long the queue depth probe may take before the delegate runs anyway. */
|
|
2499
|
+
queueProbeTimeoutMs: number;
|
|
2412
2500
|
};
|
|
2413
|
-
/**
|
|
2414
|
-
* Default poll timer using setTimeout.
|
|
2415
|
-
* Waits for delegate completion before scheduling next tick.
|
|
2416
|
-
* Checks queue depth and defers polling when backpressure is detected.
|
|
2417
|
-
*/
|
|
2501
|
+
/** setTimeout poll timer; a stuck tick is cancelled and the next waits for it to settle. */
|
|
2418
2502
|
export declare class IntervalPollTimer implements IPollTimer {
|
|
2419
2503
|
private delegate;
|
|
2420
2504
|
private timer;
|
|
2505
|
+
private watchdog;
|
|
2421
2506
|
private running;
|
|
2422
2507
|
private paused;
|
|
2423
2508
|
private consecutiveFailures;
|
|
2509
|
+
private tickToken;
|
|
2510
|
+
private ticking;
|
|
2511
|
+
private tickAbort;
|
|
2512
|
+
private cancelledToken;
|
|
2513
|
+
private retriggerRequested;
|
|
2424
2514
|
private readonly queue;
|
|
2425
2515
|
private readonly config;
|
|
2426
2516
|
constructor(queue: IQueue, config?: Partial<PollTimerConfig>);
|
|
2427
|
-
setDelegate(delegate:
|
|
2517
|
+
setDelegate(delegate: PollDelegate): void;
|
|
2428
2518
|
start(): void;
|
|
2429
2519
|
stop(): void;
|
|
2430
|
-
private tick;
|
|
2431
|
-
private scheduleNext;
|
|
2432
|
-
private scheduleRetry;
|
|
2433
|
-
private scheduleBackpressureRecheck;
|
|
2434
2520
|
pause(): void;
|
|
2435
2521
|
resume(): void;
|
|
2436
2522
|
triggerNow(): void;
|
|
@@ -2438,6 +2524,19 @@ export declare class IntervalPollTimer implements IPollTimer {
|
|
|
2438
2524
|
isRunning(): boolean;
|
|
2439
2525
|
getIntervalMs(): number;
|
|
2440
2526
|
setIntervalMs(ms: number): void;
|
|
2527
|
+
private tick;
|
|
2528
|
+
private runDelegate;
|
|
2529
|
+
/** `"unknown"` when the probe timed out or rejected; `"cancelled"` when the tick was. */
|
|
2530
|
+
private measureQueue;
|
|
2531
|
+
private settle;
|
|
2532
|
+
/** Cancels rather than abandons the tick, so two delegates never overlap. */
|
|
2533
|
+
private armWatchdog;
|
|
2534
|
+
private cancelTick;
|
|
2535
|
+
private clearWatchdog;
|
|
2536
|
+
private clearTimer;
|
|
2537
|
+
private scheduleNext;
|
|
2538
|
+
private scheduleRetry;
|
|
2539
|
+
private scheduleBackpressureRecheck;
|
|
2441
2540
|
}
|
|
2442
2541
|
//#endregion
|
|
2443
2542
|
//#region src/sync/channels/utils.d.ts
|
|
@@ -2579,7 +2678,8 @@ export declare function syncOperationErrorType(error: ChannelError | undefined):
|
|
|
2579
2678
|
/**
|
|
2580
2679
|
* A held auth operation must not quarantine: reconciling the two policies needs
|
|
2581
2680
|
* the traffic a quarantine would stop. A protocol refusal concerns one peer,
|
|
2582
|
-
* and quarantine is global to the document.
|
|
2681
|
+
* and quarantine is global to the document. A missing ancestor arrives through
|
|
2682
|
+
* exactly the traffic a quarantine stops.
|
|
2583
2683
|
*/
|
|
2584
2684
|
export declare function quarantinesDocument(errorType: SyncOperationErrorType): boolean;
|
|
2585
2685
|
//#endregion
|
|
@@ -2825,6 +2925,6 @@ export declare function findPurged(db: Kysely<any>, ids: Iterable<string>): Prom
|
|
|
2825
2925
|
/** Every tombstoned id, read in the handle's schema. */
|
|
2826
2926
|
export declare function listPurged(db: Kysely<any>): Promise<string[]>;
|
|
2827
2927
|
//#endregion
|
|
2828
|
-
export { ALWAYS_READABLE_SCOPES, APPEND_CONDITION_FAILED_PREFIX, type AbortMessage, type ActionCandidate, type ActionEvaluationConfig, type ActionEvaluations, type AdmissionDecision, type AdmissionPath, type AppendCondition, AppendConditionFailedError, type AppendConditionStream, type AtomicTxn, type AttachmentHash, type AttachmentRef, type AuthDecisionModel, BareReadGate, BaseReadModel, type BaseReadModelConfig, type BatchExecutionRequest, type BatchExecutionResult, type BatchLoadRequest, type BatchLoadResult, type BuiltDecisionModel, type BuiltInReadModelKind, type CachedSnapshot, type CatchUpConfig, type CatchUpConsumerStatus, type CatchUpStatus, type CatchUpSweptEvent, type CatchUpThread, type ChannelConfig, ChannelError, ChannelErrorSource, type ChannelHealth, type ChannelMeta, ChannelScheme, type CollectionMember, type ConnectionState, type ConnectionStateChangeCallback, type ConnectionStateChangedEvent, type ConnectionStateSnapshot, type ConsistencyCoordinate, type ConsistencyKey, type ConsistencyToken, ConsistencyTracker, DEFAULT_COMMIT_CHUNK_SIZE, DEFAULT_MAX_PURGE_OPERATIONS, DEFAULT_PURGE_DELETE_BATCH, DEFAULT_READ_MODEL_YIELD_DEADLINE_MS, DRIVE_AUTH_ERROR_MESSAGES, type Database, type DbConfig, type DeadLetterAddedEvent, type DecisionContext, type DecisionModel, type DecisionTarget, type DegradedComponent, type DeliveryLookup, type DeliveryMembership, type DeliveryRow, DocumentAlreadyExistsError, type DocumentChangeEvent, DocumentChangeType, type DocumentDecisionModel, type DocumentDeletedInfo, DocumentExistence, type DocumentGraphEdge, type DocumentIndexerDatabase, DocumentModelRegistry, DocumentModelResolver, type DocumentModelSource, type DocumentModelSpec, type DocumentPurgeRow, DocumentPurgeService, type DocumentRelationship, type DocumentRevisions, type DocumentStreamKey, type DocumentViewDatabase, DriveCollectionId, DriveRequestError, DuplicateManifestError, DuplicateModuleError, DuplicateOperationError, type EnqueuePurgeOptions, type Evaluation, EventBusAggregateError, type ExecuteMessage, type ExecutionJobPlan, type ExecutorStartedEvent, type ExecutorStoppedEvent, type FactorySpec, type FileModelSource, type GqlChannelConfig, type HeartbeatMessage, type HybridProjectionCoordinatorOptions, type HybridProjectionOptions, type ICatchUp, type ICatchUpConsumer, type IChannel, type IChannelFactory, type IConsistencyTracker, type IDeliveryTracking, type IDocumentGraph, type IDocumentIndexer, type IDocumentIntegrityService, type IDocumentModelLoader, type IDocumentModelRegistry, type IDocumentModelResolver, type IDocumentView, type IDriveClient, type IEventBus, type IJobAwaiter, type IJobExecutor, type IJobExecutorManager, type IJobTracker, type IKeyframeStore, type ILiveReadModelCoordinator, type IMailbox, type IOperationIndex, type IOperationStore, type IPeerAgreement, type IPollTimer, type IProcessor, type IProcessorHostModuleBase, type IProcessorManager, type IProjectionTransport, type IPurgeRefusalRecorder, type IQueue, type IReactor, type IReactorClient, type IReactorProcessorHostModuleBase, type IReactorSubscriptionManager, type IReadGate, type IReadModel, type IReadModelCoordinator, type IRelationalDb, type ISettledWatermark, type IStreamStateReader, type ISubscriptionErrorHandler, type ISyncCursorStorage, type ISyncHoldStorage, type ISyncManager, type ISyncPurgeRefusalStorage, type ISyncReceivedMarkerStorage, type ISyncRemoteStorage, type ISyncStatusTracker, type IWriteCache, SimpleJobExecutor as InMemoryJobExecutor, type InProcessReactorClientModule, type InProcessReactorModule, type InProcessSyncModule, type InitMessage, type InsertableDocumentSnapshot, InvalidModuleError, type Job, type JobAvailableEvent, JobAwaiter, type JobCompletedEvent, type JobExecutorConfig, JobExecutorEventTypes, type JobExecutorFactory, type JobFailedEvent, type JobInfo, type JobKind, type JobPendingEvent, type JobReadReadyEvent, type JobResult, type JobResultSummary, type JobRunningEvent, type JobStartedEvent, JobStatus, type JobWriteReadyEvent, type JobWriteReadyPayload, type JwtHandler, type KeyframeSnapshot, type KeyframeValidationIssue, KyselyDocumentPurger, KyselyKeyframeStore, KyselyOperationStore, KyselyWriteCache, type LoadJobPlan, type LoadModelMessage, type LocalPeer, type LogMessage, Mailbox, type MetricsMessage, type ModelLoadFailedMessage, type ModelLoadedEvent, type ModelLoadedMessage, type ModelManifestEntry, ModelNotWorkerImportableError, ModelReadGate, ModuleNotFoundError, type ModuleRef, NullDocumentModelResolver, type OperationBatch, type OperationContext, type OperationFilter, type OperationIndexEntry, type OperationTable, type OperationWithContext, OptimisticLockError, type OutOfOrderPair, PURGE_DOCUMENT, type PackageModelSource, type PagedResults, type PagingOptions, type ParentMessage, type ParsedDriveUrl, type ParsedPaging, type ParsedSnapshot, type PeerAgreementBasis, type PendingDelivery, PollBehavior, type PolledMarkerRefusal, PollingChannelError, type PoolInstrumentation, type PoolStats, type ProbeReading, type ProcessorApp, type ProcessorFactory, type ProcessorFactoryBuilder, type ProcessorFilter, type ProcessorRecord, type ProcessorStatus, type Projection, type ProjectionShardBuilderConfig, type ProjectionShardHooks, type ProjectionShardManagerConfig, type ProjectionWorkerFactory, PropagationMode, type ProtocolSelection, type PurgeDocumentAction, type PurgeDocumentActionInput, type PurgeFence, type PurgeJobOptions, type PurgeLockMode, type PurgeLookup, type PurgeMarkerContext, type PurgeMarkerOperation, type PurgeRefusalRecord, type PurgeRemovedRows, type PurgeStream, QueueEventTypes, RECOVERABLE_GRAPHQL_ERROR_CODES, ReactorClient, type ReactorClientModule, ReactorEventTypes, type ReactorFeatureFlags, type ReactorFeatures, type ReactorHostModuleBaseOptions, type JobFailedEvent$1 as ReactorJobFailedEvent, type ReactorModule, type ReactorReadModels, type ReadGateOptions, type ReadModelBatchCompletedEvent, type ReadModelCoordinatorFactory, type ReadModelCoordinatorFactoryDeps, type ReadModelFactory, type ReadModelFactoryDeps, type ReadModelIndexedEvent, type ReadModelIndexingConfig, type ReadModelIndexingStage, type ReadModelRegistrationStage, type ReadModelStage, type ReadyMessage, type RebuildResult, type ReceivedMarkerRecord, type RegisteredDecisionModel, RelationalDbProcessor, RelationshipChangeType, type Remote, type RemoteCursor, type RemoteFilter, type RemoteMeta, type RemoteOptions, type RemotePeer, type RemoteRecord, type RemoteStatus, type ResultMessage, RetryAccounting, RevisionMismatchError, SIGNATURE_REFUSAL_CODES, type SanitizedArg, type SearchFilter, SeededStateReader, type ShutdownMessage, type ShutdownStatus, type SignatureRefusalCode, type SignatureRefusedEvent, type SignatureScheme, type SignatureTrustPolicy, type SignatureVerificationHandler, type SignatureVerificationMode, type SignerConfig, type SnapshotFunctions, type SnapshotValidationIssue, type Database$1 as StorageDatabase, type StreamOrderIssue, type StreamQuery, type SubjectScopePredicate, type SubmittedActionResult, type SubscriptionErrorContext, type SweepBlockedAt, type SweepResult, type SyncEnvelope, type SyncEnvelopeType, SyncEventTypes, type SyncFailedEvent, type SyncHeldEvent, type SyncHold, type SyncHoldRecord, type SyncModule, SyncOperation, SyncOperationAggregateError, type SyncOperationErrorType, SyncOperationStatus, type SyncPendingEvent, type SyncPurgeRefusedEvent, type SyncReleasedEvent, SyncStatus, type SyncStatusChangeCallback, SyncStatusTracker, type SyncSucceededEvent, type TrackedProcessor, type Unsubscribe, type UnsupportedStoredDocuments, type ValidationResult, type VerificationTarget, type ViewFilter, type WatermarkProbe, type WatermarkStatus, type ErrorInfo as WorkerErrorInfo, type WorkerMessage, type WorkerPoolConfig, type WorkerPoolOptions, type WriteCacheConfig, appliedDelete, createPeerAgreement, createRelationalDb, decideAtHead, defaultCatchUpConfig, defaultReadModelIndexingConfig, documentActions, documentDecisionModel, instrumentPgPool, isDriveAuthError, isPurgeMarker, isRecoverableGraphQLError, makeConsistencyKey, readDecisionModel, selectDecisionModel, supportsLiveReadModelRegistration, unchunkedReadModelIndexingConfig };
|
|
2928
|
+
export { ALWAYS_READABLE_SCOPES, APPEND_CONDITION_FAILED_PREFIX, type AbortMessage, type ActionCandidate, type ActionEvaluationConfig, type ActionEvaluations, type AdmissionDecision, type AdmissionPath, type AppendCondition, AppendConditionFailedError, type AppendConditionStream, type AtomicTxn, type AttachmentHash, type AttachmentRef, type AuthDecisionModel, BareReadGate, BaseReadModel, type BaseReadModelConfig, type BatchExecutionRequest, type BatchExecutionResult, type BatchLoadRequest, type BatchLoadResult, type BuiltDecisionModel, type BuiltInReadModelKind, type CachedSnapshot, type CatchUpConfig, type CatchUpConsumerStatus, type CatchUpStatus, type CatchUpSweptEvent, type CatchUpThread, type ChannelConfig, ChannelError, ChannelErrorSource, type ChannelHealth, type ChannelMeta, ChannelScheme, type CollectionMember, type ConnectionState, type ConnectionStateChangeCallback, type ConnectionStateChangedEvent, type ConnectionStateSnapshot, type ConsistencyCoordinate, type ConsistencyKey, type ConsistencyToken, ConsistencyTracker, DEFAULT_COMMIT_CHUNK_SIZE, DEFAULT_MAX_PURGE_OPERATIONS, DEFAULT_PURGE_DELETE_BATCH, DEFAULT_READ_MODEL_YIELD_DEADLINE_MS, DRIVE_AUTH_ERROR_MESSAGES, type Database, type DbConfig, type DeadLetterAddedEvent, type DecisionContext, type DecisionModel, type DecisionTarget, type DegradedComponent, type DeliveryLookup, type DeliveryMembership, type DeliveryRow, DocumentAlreadyExistsError, type DocumentChangeEvent, DocumentChangeType, type DocumentDecisionModel, type DocumentDeletedInfo, DocumentExistence, type DocumentGraphEdge, type DocumentIndexerDatabase, DocumentModelRegistry, DocumentModelResolver, type DocumentModelSource, type DocumentModelSpec, type DocumentPurgeRow, DocumentPurgeService, type DocumentRelationship, type DocumentRevisions, type DocumentStreamKey, type DocumentViewDatabase, DriveCollectionId, DriveRequestError, DuplicateManifestError, DuplicateModuleError, DuplicateOperationError, type EnqueuePurgeOptions, type Evaluation, EventBusAggregateError, type ExecuteMessage, type ExecutionJobPlan, type ExecutorStartedEvent, type ExecutorStoppedEvent, type FactorySpec, type FileModelSource, type GqlChannelConfig, type HardenedPGliteDialectOptions, type HeartbeatMessage, type HybridProjectionCoordinatorOptions, type HybridProjectionOptions, type ICatchUp, type ICatchUpConsumer, type IChannel, type IChannelFactory, type IConsistencyTracker, type IDeliveryTracking, type IDocumentGraph, type IDocumentIndexer, type IDocumentIntegrityService, type IDocumentModelLoader, type IDocumentModelRegistry, type IDocumentModelResolver, type IDocumentView, type IDriveClient, type IEventBus, type IJobAwaiter, type IJobExecutor, type IJobExecutorManager, type IJobTracker, type IKeyframeStore, type ILiveReadModelCoordinator, type IMailbox, type IOperationIndex, type IOperationStore, type IPeerAgreement, type IPollTimer, type IProcessor, type IProcessorHostModuleBase, type IProcessorManager, type IProjectionTransport, type IPurgeRefusalRecorder, type IQueue, type IReactor, type IReactorClient, type IReactorProcessorHostModuleBase, type IReactorSubscriptionManager, type IReadGate, type IReadModel, type IReadModelCoordinator, type IRelationalDb, type ISettledWatermark, type IStreamStateReader, type ISubscriptionErrorHandler, type ISyncAdmin, type ISyncCursorStorage, type ISyncHoldStorage, type ISyncManager, type ISyncPurgeRefusalStorage, type ISyncReceivedMarkerStorage, type ISyncRemoteStorage, type ISyncStatusTracker, type IWriteCache, SimpleJobExecutor as InMemoryJobExecutor, type InProcessReactorClientModule, type InProcessReactorModule, type InProcessSyncModule, type InitMessage, type InsertableDocumentSnapshot, InvalidModuleError, type Job, type JobAvailableEvent, JobAwaiter, type JobCompletedEvent, type JobExecutorConfig, JobExecutorEventTypes, type JobExecutorFactory, type JobFailedEvent, type JobInfo, type JobKind, type JobPendingEvent, type JobReadReadyEvent, type JobResult, type JobResultSummary, type JobRunningEvent, type JobStartedEvent, JobStatus, type JobWriteReadyEvent, type JobWriteReadyPayload, type JwtHandler, type KeyframeSnapshot, type KeyframeValidationIssue, KyselyDocumentPurger, KyselyKeyframeStore, KyselyOperationStore, KyselyWriteCache, type LoadJobPlan, type LoadModelMessage, type LocalPeer, type LogMessage, Mailbox, type MetricsMessage, type ModelLoadFailedMessage, type ModelLoadedEvent, type ModelLoadedMessage, type ModelManifestEntry, ModelNotWorkerImportableError, ModelReadGate, ModuleNotFoundError, type ModuleRef, NullDocumentModelResolver, type OperationBatch, type OperationContext, type OperationFilter, type OperationIndexEntry, type OperationTable, type OperationWithContext, OptimisticLockError, type OutOfOrderPair, type PGliteSession, PURGE_DOCUMENT, type PackageModelSource, type PagedResults, type PagingOptions, type ParentMessage, type ParsedDriveUrl, type ParsedPaging, type ParsedSnapshot, type PeerAgreementBasis, type PendingDelivery, PollBehavior, type PollDelegate, type PolledMarkerRefusal, PollingChannelError, type PoolInstrumentation, type PoolStats, type ProbeReading, type ProcessorApp, type ProcessorFactory, type ProcessorFactoryBuilder, type ProcessorFilter, type ProcessorRecord, type ProcessorStatus, type Projection, type ProjectionShardBuilderConfig, type ProjectionShardHooks, type ProjectionShardManagerConfig, type ProjectionWorkerFactory, PropagationMode, type ProtocolSelection, type PurgeDocumentAction, type PurgeDocumentActionInput, type PurgeFence, type PurgeJobOptions, type PurgeLockMode, type PurgeLookup, type PurgeMarkerContext, type PurgeMarkerOperation, type PurgeRefusalRecord, type PurgeRemovedRows, type PurgeStream, QueueEventTypes, RECOVERABLE_GRAPHQL_ERROR_CODES, ReactorClient, type ReactorClientModule, ReactorEventTypes, type ReactorFeatureFlags, type ReactorFeatures, type ReactorHostModuleBaseOptions, type JobFailedEvent$1 as ReactorJobFailedEvent, type ReactorModule, type ReactorReadModels, type ReadGateOptions, type ReadModelBatchCompletedEvent, type ReadModelCoordinatorFactory, type ReadModelCoordinatorFactoryDeps, type ReadModelFactory, type ReadModelFactoryDeps, type ReadModelIndexedEvent, type ReadModelIndexingConfig, type ReadModelIndexingStage, type ReadModelRegistrationStage, type ReadModelStage, type ReadyMessage, type RebuildResult, type ReceivedMarkerRecord, type RegisteredDecisionModel, RelationalDbProcessor, RelationshipChangeType, type Remote, type RemoteCursor, type RemoteFilter, type RemoteMeta, type RemoteOptions, type RemotePeer, type RemoteRecord, type RemoteStatus, type ResultMessage, RetryAccounting, RevisionMismatchError, SIGNATURE_REFUSAL_CODES, type SanitizedArg, type SearchFilter, SeededStateReader, type ShutdownMessage, type ShutdownStatus, type SignatureRefusalCode, type SignatureRefusedEvent, type SignatureScheme, type SignatureTrustPolicy, type SignatureVerificationHandler, type SignatureVerificationMode, type SignerConfig, type SnapshotFunctions, type SnapshotValidationIssue, type Database$1 as StorageDatabase, type StreamOrderIssue, type StreamQuery, type SubjectScopePredicate, type SubmittedActionResult, type SubscriptionErrorContext, type SweepBlockedAt, type SweepResult, type SyncEnvelope, type SyncEnvelopeType, SyncEventTypes, type SyncFailedEvent, type SyncHeldEvent, type SyncHold, type SyncHoldRecord, type SyncModule, SyncOperation, SyncOperationAggregateError, type SyncOperationErrorType, SyncOperationStatus, type SyncPendingEvent, type SyncPurgeRefusedEvent, type SyncReleasedEvent, SyncRepairRefusedError, SyncStatus, type SyncStatusChangeCallback, SyncStatusTracker, type SyncSucceededEvent, type TrackedProcessor, type Unsubscribe, type UnsupportedStoredDocuments, type ValidationResult, type VerificationTarget, type ViewFilter, type WatermarkProbe, type WatermarkStatus, type ErrorInfo as WorkerErrorInfo, type WorkerMessage, type WorkerPoolConfig, type WorkerPoolOptions, type WriteCacheConfig, appliedDelete, createPeerAgreement, createRelationalDb, decideAtHead, defaultCatchUpConfig, defaultReadModelIndexingConfig, documentActions, documentDecisionModel, instrumentPgPool, isDriveAuthError, isPurgeMarker, isRecoverableGraphQLError, loadDocumentModelSpec, makeConsistencyKey, readDecisionModel, selectDecisionModel, supportsLiveReadModelRegistration, unchunkedReadModelIndexingConfig };
|
|
2829
2929
|
export {};
|
|
2830
2930
|
//# sourceMappingURL=index.d.ts.map
|