API index and search · Build metadata
Source snapshot
packages/client/src/index.ts
1// @rindle/client — the backend-agnostic flat-change client core: typed schema, query builder,2// comparator, Backend seam, and the ArrayView contract. (The ArrayView folding impl + the3// Store/backend wiring land in later slices.)45export * from "./schema.ts"; // table/columns/primaryKey, createSchema/extendSchema, refineTable/refineSchema, string/number/boolean/json, Col, RowOf, Row, InsertOf, Insert, insertPlan, insertCell, TableDef, tableSpec, SCHEMA6export * from "./operators.ts"; // eq/ne/gt/ge/lt/le/like/notLike/ilike/notIlike/inList/notInList/is/isNot, and/or, Pred, Cond, Arg7export * from "./query.ts"; // Query, QueryRoot, queries/newQueryBuilder, defineQuery/NamedQuery, exists, notExists, defineFragment/Fragment/FragmentRef/isFragment8export * from "./view.ts"; // ArrayView, SingularArrayView, FlatArrayView, SingularView, ViewTypes9export * from "./store.ts"; // Store, WriteTx, AssembledNode, DehydratedQuery, DehydratedState10export * from "./ensure.ts"; // QueryEnsureCache, EnsureQueryOptions, QueryEnsurer11export * from "./ssr.ts"; // createServerStore, ServerStore, OneShotBackend, OneShotQueryFn, OneShotResult, ServerStoreOptions1213export { resolveChange, subRow } from "./resolve.ts"; // positional FlatChange → named rows (inverse of the wire encoder)14export type { NamedRow, ResolvedChange } from "./resolve.ts";1516export type { KeyedRow, MutationOp, ServerWriteTx } from "./mutation-ops.ts"; // isomorphic mutation op vocabulary17// shared (generator) mutator seam — one body, sync on the client + async on the server18export {19 defineMutators,20 driveMutationAsync,21 driveMutationSync,22 isGeneratorMutator,23 isoTx,24 shared,25} from "./mutation-ops.ts";26export type {27 ArgSchema,28 AsyncEffectExec,29 BatchEffect,30 IsoTx,31 IsoTxOf,32 MutationGen,33 MutatorCtx,34 QueryArg,35 QueryEffect,36 QueryResultRow,37 ReadEffect,38 SharedMutator,39 SharedMutatorWithArgs,40 SyncEffectExec,41 YieldEffect,42} from "./mutation-ops.ts";4344export { stableKey } from "./key.ts"; // canonical viewKey for an AST (shared with @rindle/react)4546// The LM stream plane's shared contract (LM-STREAM-CHECKPOINT-DESIGN.md): frame shapes + the two pure47// reassembly functions. Lives here because BOTH tiers need them — `@rindle/api-server` re-exports48// every name, and `@rindle/react`'s `useStreamedText` builds on them without a server import.49export {50 STREAM_STATUS_STREAMING,51 assembleDurableText,52 frameResumePoint,53 spliceStreamText,54} from "./stream.ts";55export type { StreamFrame, StreamStatus } from "./stream.ts";5657export { COMPARATOR_VERSION, compareNumber, compareRows, compareString, compareValue } from "./compare.ts";5859export type {60 Backend,61 BackendDevObserver,62 BackendServerDelta,63 ChangeEvent,64 ColType,65 FlatChange,66 FlatOp,67 Mutation,68 MutationEnvelope,69 MutationOutcomeFrame,70 NormalizedEvent,71 NormalizedOp,72 NormalizedSource,73 NormalizedTableSchema,74 OptimisticSource,75 PathSeg,76 ProgressFrame,77 QueryId,78 RemoteQuery,79 ResultType,80 WireNode,81 WireProjection,82 WireRel,83 WireSchema,84 WireValue,85} from "./types.ts";8687export { CLIENT_MUTATIONS_SCHEMA, CLIENT_MUTATIONS_TABLE, LMID_QUERY_NAME } from "./types.ts";8889// The Zero-wire AST types (for backends / advanced use).90export type {91 Aggregate,92 Ast,93 Bound,94 Condition,95 CorrelatedSubquery,96 Correlation,97 Dir,98 ExistsOp,99 LitValue,100 OrderPart,101 SimpleOp,102 ValuePosition,103} from "./ast.ts";104