Rindle

API index and search · Build metadata

Source snapshot

packages/remote/src/index.ts

Source revision 05d0bf2c2e56 · build details
Source revision: 05d0bf2c2e56.
TypeScript input SHA-256: aabe6cfcc4172b870d5e272142958e9ea8d8784c2aa23133156e5a7ee633318e
Generated 2026-09-04T23:58:25.590Z with TypeScript 6.0.3. Public TypeScript checks and declaration emit passed. Package runtime tests are separate.
1// @rindle/remote — the network backend for @rindle/client: a `RemoteBackend` over a transport,2// driving the SAME Store/ArrayView as the local (wasm/replica) backends. Also exports the3// wire protocol (frames + `Publisher`/`Subscriber` + `schemaFp`) a server uses to talk to it.4// Re-exports @rindle/client so an app can import everything from here.56export * from "@rindle/client";78export { RemoteBackend, createRemoteStore } from "./backend.ts";9export type { RemoteBackendOptions } from "./backend.ts";10export { WsTransport } from "./transport.ts";11export type { Transport } from "./transport.ts";1213// Browser-side follower-affinity ticket transport (FOLLOWER-AFFINITY-DESIGN.md §3, §5).14export { WS_SUBPROTOCOL, createAffinityTicketStore, offerSubprotocols } from "./affinity.ts";15export type { AffinityTicketStore, TicketPersistence } from "./affinity.ts";16export type {17  MutationEnvelopeSender,18  RawMutationSender,19  SubscribeMode,20  SubscribeRequest,21  SubscribeResolver,22  SubscribeTarget,23} from "./subscribe.ts";2425export { COMPARATOR_VERSION, Publisher, ProtocolError, Subscriber, schemaFp } from "./protocol.ts";26export type { Batch, ClientMsg, Hello, ProtocolErrorKind, ServerMsg, SubscribeClientMsg } from "./protocol.ts";2728// The normalized subscription protocol (the path-free twin) + the client-side source.29export { NormalizedSubscriber, normalizedFp } from "./normalized.ts";30export type { NormalizedBatch, NormalizedHello } from "./normalized.ts";31export { RemoteNormalizedSource, createRemoteNormalizedSource } from "./remote-source.ts";32export type { RemoteNormalizedSourceOptions } from "./remote-source.ts";3334// The optimistic-writes source (the normalized stream + mutation push + progress frames).35export { RemoteOptimisticSource, createRemoteOptimisticSource } from "./optimistic-source.ts";36export type {37  RemoteOptimisticConnection,38  RemoteOptimisticSourceOptions,39  TransportFactory,40} from "./optimistic-source.ts";4142// The serverless mutation queue: confirmed, in-order batches over an unordered HTTP hop.43export { createQueuedMutationSender } from "./mutation-queue.ts";44export type { PushOutcome, QueuedMutationSenderOptions } from "./mutation-queue.ts";45