foldkit-remote 0.19.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -8
- package/dist/{index-Bx_lCC85.d.mts → index-YyucgTYm.d.mts} +59 -77
- package/dist/index-YyucgTYm.d.mts.map +1 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/port.d.mts +1 -3
- package/dist/port.d.mts.map +1 -1
- package/dist/port.mjs +2 -3
- package/dist/{src-fsYu0YoT.mjs → src-lVP_7bf4.mjs} +156 -131
- package/dist/src-lVP_7bf4.mjs.map +1 -0
- package/package.json +4 -4
- package/dist/index-Bx_lCC85.d.mts.map +0 -1
- package/dist/src-fsYu0YoT.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -66,7 +66,7 @@ Its unit is the collection; a screen queries what is already local. Remote's
|
|
|
66
66
|
unit is the field: a screen declares which fields of which entities it reads,
|
|
67
67
|
and only those are fetched, so there is no collection to load first and a page
|
|
68
68
|
carries what it shows. Remote has no live query engine: `Data.filtered` and
|
|
69
|
-
`
|
|
69
|
+
`matching` judge the rows a list already holds, and a new list is a
|
|
70
70
|
server query. Where TanStack DB syncs client-authored writes through a sync
|
|
71
71
|
engine, that job here belongs to [`foldkit-sync`](../sync), and Remote stays
|
|
72
72
|
the disposable cache of what the server owns.
|
|
@@ -1122,13 +1122,14 @@ The server stays authoritative for which rows exist.
|
|
|
1122
1122
|
|
|
1123
1123
|
A connection's rows are edges the server delivered, and a query body describes
|
|
1124
1124
|
*which rows* — so until something evaluates the body on the client, nothing here
|
|
1125
|
-
can say whether a row belongs to a query. `
|
|
1125
|
+
can say whether a row belongs to a query. `matching`, exported by
|
|
1126
|
+
`foldkit-remote`, says:
|
|
1126
1127
|
|
|
1127
1128
|
```ts
|
|
1128
|
-
const judged =
|
|
1129
|
+
const judged = matching(Data.storeOf(model), ProjectsByOwner, { ownerId: 'u1' })
|
|
1129
1130
|
|
|
1130
1131
|
judged.matched // keys satisfying the body, in the order it asks for
|
|
1131
|
-
judged.skipped // keys held, but
|
|
1132
|
+
judged.skipped // keys held, but not judged either way
|
|
1132
1133
|
```
|
|
1133
1134
|
|
|
1134
1135
|
It is pure, and it runs the **same interpreter the server checks itself
|
|
@@ -1145,7 +1146,9 @@ keys — so it is in the shape. A caller that knows it holds the whole populatio
|
|
|
1145
1146
|
complete answer.
|
|
1146
1147
|
|
|
1147
1148
|
**`skipped` is the honest half.** A row missing a field the body reads cannot be
|
|
1148
|
-
judged: it is neither a match nor a non-match.
|
|
1149
|
+
judged: it is neither a match nor a non-match. Nor can a row holding a value no
|
|
1150
|
+
interpreter answers for (text with a NUL); each row is judged alone, so one such
|
|
1151
|
+
row is skipped and the others are still answered. Dropping it silently would turn
|
|
1149
1152
|
"I could not tell" into "no", so it is named instead, and the caller decides
|
|
1150
1153
|
whether to fetch the field, ask the server, or say the answer is partial.
|
|
1151
1154
|
|
|
@@ -1382,6 +1385,12 @@ the store the answer left:
|
|
|
1382
1385
|
it. Declare the order in the body (`Query.orderBy`) to keep a list that a
|
|
1383
1386
|
change provably did not move.
|
|
1384
1387
|
|
|
1388
|
+
**The client runs a body's primitive operators by its own table.**
|
|
1389
|
+
`Remote.make({ ..., operators })` (`Operators.kernel` by default) is the table
|
|
1390
|
+
it matches, filters and places rows with. A body calling an operator the table
|
|
1391
|
+
does not run is judged by the server, as any row the client cannot judge is:
|
|
1392
|
+
`Data.filtered` answers it incomplete and a change to it refetches.
|
|
1393
|
+
|
|
1385
1394
|
**A placement can be checked against the server.** `Remote.make({ ...,
|
|
1386
1395
|
verifyPlacement: true })` places as usual, and also fetches each list it placed
|
|
1387
1396
|
what the server said in (an answer, as above, or a read or a live patch, as
|
|
@@ -1453,9 +1462,11 @@ or an insert's row until the server answers, so it needs no `optimistic` list;
|
|
|
1453
1462
|
a delete shows nothing until its answer removes the row everywhere. An update's
|
|
1454
1463
|
`increment` is shown as a prediction: its amount is added to the value the store
|
|
1455
1464
|
holds whenever the row is read, so a change that reaches the store meanwhile is
|
|
1456
|
-
added to rather than hidden, and two pending increments add up. A
|
|
1457
|
-
|
|
1458
|
-
|
|
1465
|
+
added to rather than hidden, and two pending increments add up. A computed
|
|
1466
|
+
field is predicted the same way, by `Remote.make`'s `operators` over the row as
|
|
1467
|
+
it is read (`Write.apply`), so a live change to what it reads changes the
|
|
1468
|
+
prediction. A field the client has not read, or a computation by an operator its
|
|
1469
|
+
table lacks, is not guessed; it shows the server's value when the answer comes. The prediction is never authority: the server decides, and its answer
|
|
1459
1470
|
replaces it. The [declared writes guide](../../docs/declared-writes.md) follows
|
|
1460
1471
|
one write from here to the statement that lands it. `keys` names the input keys
|
|
1461
1472
|
an author changed: only those are shown, and the request carries them for the
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { Context, Data, Duration, Effect, Layer, Option, Result, Schema, Stream } from "effect";
|
|
2
2
|
import { KeyValueStore } from "effect/persistence";
|
|
3
3
|
import * as Domain from "foldkit-entity";
|
|
4
|
-
import { AnyEntity, AnyQuery, AnyWrite, BoundWrite, ConditionedWrite, Dependencies, InputExpr, Invariant, Query, Write } from "foldkit-entity";
|
|
4
|
+
import { AnyEntity, AnyQuery, AnyWrite, BoundWrite, Computation, ConditionedWrite, Dependencies, InputExpr, Invariant, MemoryOperators, Query, Write } from "foldkit-entity";
|
|
5
5
|
import { Command } from "foldkit/command";
|
|
6
6
|
import { EntryWithoutKeepAlive } from "foldkit/subscription";
|
|
7
7
|
import { ActiveSurface, Contract, Invalid, Metadata, ModelRef, Projection, Surface, SurfaceSource, Wiring } from "foldkit-surface";
|
|
8
8
|
import { Rpc, RpcClientError, RpcGroup } from "effect/rpc";
|
|
9
9
|
import * as Update from "foldkit/update";
|
|
10
|
-
//#region src/store.d.ts
|
|
11
10
|
type EntityKey = string;
|
|
12
11
|
interface EntityEntry {
|
|
13
12
|
readonly values: Readonly<Record<string, unknown>>;
|
|
@@ -92,8 +91,6 @@ declare const readField: (store: EntityStore, key: EntityKey, field: string) =>
|
|
|
92
91
|
* writer that does not record windows cannot cause a refetch loop.
|
|
93
92
|
*/
|
|
94
93
|
declare const missingFields: (store: EntityStore, key: EntityKey, fields: Iterable<string>, windows?: Readonly<Record<string, string>>) => ReadonlyArray<string>;
|
|
95
|
-
//#endregion
|
|
96
|
-
//#region src/connection.d.ts
|
|
97
94
|
interface EdgeRef {
|
|
98
95
|
readonly entity: string;
|
|
99
96
|
readonly id: string;
|
|
@@ -137,8 +134,6 @@ declare const hasPrevious: (connection: Connection) => boolean;
|
|
|
137
134
|
declare const hasNext: (connection: Connection) => boolean;
|
|
138
135
|
/** A connection with more than one segment has an explicit unknown gap. */
|
|
139
136
|
declare const isGapped: (connection: Connection) => boolean;
|
|
140
|
-
//#endregion
|
|
141
|
-
//#region src/remoteData.d.ts
|
|
142
137
|
interface RemoteError {
|
|
143
138
|
readonly _tag: string;
|
|
144
139
|
readonly message: string;
|
|
@@ -272,20 +267,21 @@ declare const RemoteData: {
|
|
|
272
267
|
denied: (error: RemoteError) => Option.Option<Denied>;
|
|
273
268
|
map: <A, B>(data: RemoteData<A>, f: (value: A) => B) => RemoteData<B>;
|
|
274
269
|
};
|
|
275
|
-
//#endregion
|
|
276
|
-
//#region src/mutation.d.ts
|
|
277
270
|
interface NormalizedPatch {
|
|
278
271
|
readonly entity: string;
|
|
279
272
|
readonly id: string;
|
|
280
273
|
readonly values: Readonly<Record<string, unknown>>;
|
|
281
274
|
}
|
|
282
275
|
/**
|
|
283
|
-
* A patch a pending request shows,
|
|
284
|
-
*
|
|
285
|
-
* reaches the store meanwhile is added
|
|
276
|
+
* A patch a pending request shows, the amounts it moves fields by, and the
|
|
277
|
+
* fields it computes: each worked out, whenever the store is read, over the
|
|
278
|
+
* row as it then is, so a change that reaches the store meanwhile is added
|
|
279
|
+
* to or computed from, not hidden. A computation is data (operators by name),
|
|
280
|
+
* never a descriptor, since a pending patch sits in the Model.
|
|
286
281
|
*/
|
|
287
282
|
interface PendingPatch extends NormalizedPatch {
|
|
288
283
|
readonly adds?: Readonly<Record<string, number>>;
|
|
284
|
+
readonly computes?: Readonly<Record<string, Computation>>;
|
|
289
285
|
}
|
|
290
286
|
interface MutationState {
|
|
291
287
|
readonly pending: ReadonlySet<string>;
|
|
@@ -437,8 +433,9 @@ declare const patchOfWrite: (bound: BoundWrite) => NormalizedPatch;
|
|
|
437
433
|
/**
|
|
438
434
|
* What a declared write shows before the server answers: an update's or an
|
|
439
435
|
* insert's row as a patch (an update's only for the keys named, when some
|
|
440
|
-
* are), and an update's increments
|
|
441
|
-
*
|
|
436
|
+
* are), and an update's increments and computed fields, worked out over the
|
|
437
|
+
* row the store holds when it is read. A delete shows nothing, since no
|
|
438
|
+
* operation removes a row from every list it is in; its answer does.
|
|
442
439
|
*/
|
|
443
440
|
declare const optimisticOfWrite: (write: AnyWrite, input: unknown, keys: ReadonlyArray<string> | undefined) => ReadonlyArray<PendingPatch>;
|
|
444
441
|
declare const Mutation: {
|
|
@@ -464,8 +461,6 @@ declare const Mutation: {
|
|
|
464
461
|
readonly Refusal?: Schema.Codec<Refused, any>;
|
|
465
462
|
}) => MutationDescriptor<Name, TypeOf<Input>, TypeOf<Output>, Refused>;
|
|
466
463
|
};
|
|
467
|
-
//#endregion
|
|
468
|
-
//#region src/optimistic.d.ts
|
|
469
464
|
interface EntityLayer {
|
|
470
465
|
readonly id: string;
|
|
471
466
|
readonly patches: ReadonlyArray<PendingPatch>;
|
|
@@ -543,14 +538,17 @@ declare const removeOverlay: (optimistic: OptimisticState, id: string) => Optimi
|
|
|
543
538
|
* entity only a request holds (a temporary id) is not the server's to age, and
|
|
544
539
|
* is dated `Infinity`, so freshness never plans or times it.
|
|
545
540
|
*/
|
|
546
|
-
declare const visibleStore: (base: EntityStore, optimistic: OptimisticState) => EntityStore;
|
|
541
|
+
declare const visibleStore: (base: EntityStore, optimistic: OptimisticState, operators?: MemoryOperators) => EntityStore;
|
|
547
542
|
/**
|
|
548
|
-
* Every pending patch in order, each amount added
|
|
549
|
-
*
|
|
550
|
-
*
|
|
551
|
-
*
|
|
543
|
+
* Every pending patch in order, each amount added and each computed field
|
|
544
|
+
* worked out over the row under it (the store's, with earlier layers over
|
|
545
|
+
* it) by `Write.apply`, with the client's table (the kernel's when not
|
|
546
|
+
* given). A prediction, so only over
|
|
547
|
+
* what the client holds: a field it has not read, an amount over anything
|
|
548
|
+
* but a number, or a computation by an operator its table lacks keeps what
|
|
549
|
+
* it shows until the server answers.
|
|
552
550
|
*/
|
|
553
|
-
declare const resolvedPatches: (base: EntityStore, optimistic: OptimisticState) => ReadonlyArray<NormalizedPatch>;
|
|
551
|
+
declare const resolvedPatches: (base: EntityStore, optimistic: OptimisticState, operators?: MemoryOperators) => ReadonlyArray<NormalizedPatch>;
|
|
554
552
|
/**
|
|
555
553
|
* A fresh page is newer than any settled overlay it covers: an edge the page
|
|
556
554
|
* carries no longer needs an insert overlay, and a `remove` overlay hiding it
|
|
@@ -583,8 +581,6 @@ declare const settleFailure: (optimistic: OptimisticState, requestId: string) =>
|
|
|
583
581
|
* Boundaries still come from the connection's segments.
|
|
584
582
|
*/
|
|
585
583
|
declare const visibleItems: (connection: Connection, connectionId: string, overlays: ReadonlyArray<ConnectionOverlay>, store?: EntityStore) => ReadonlyArray<Edge>;
|
|
586
|
-
//#endregion
|
|
587
|
-
//#region src/query.d.ts
|
|
588
584
|
type LiveInsertion = 'visible' | 'boundary' | 'invalidate' | 'ignore';
|
|
589
585
|
interface LivePolicy {
|
|
590
586
|
readonly prepend?: LiveInsertion;
|
|
@@ -656,9 +652,12 @@ declare const Query$1: {
|
|
|
656
652
|
where: <const P extends ReadonlyArray<import("foldkit-entity").Predicate>>(...predicates: P) => <E extends AnyEntity>(self: Query<E> & (string extends import("foldkit-entity").ReadsOf<P[number]> ? unknown : [import("foldkit-entity").ReadsOf<P[number]>] extends [E["name"]] ? unknown : import("foldkit-entity").Invalid<`foldkit-entity: a predicate reads ${Exclude<import("foldkit-entity").ReadsOf<P[number]>, E["name"]>}, but the query is from ${E["name"]}`>)) => Query<E>;
|
|
657
653
|
orderBy: <const T extends ReadonlyArray<import("foldkit-entity").Ordering>>(...terms: T) => <E extends AnyEntity>(self: Query<E> & (string extends import("foldkit-entity").ReadsOf<T[number]> ? unknown : [import("foldkit-entity").ReadsOf<T[number]>] extends [E["name"]] ? unknown : import("foldkit-entity").Invalid<`foldkit-entity: an ordering term reads ${Exclude<import("foldkit-entity").ReadsOf<T[number]>, E["name"]>}, but the query is from ${E["name"]}`>)) => Query<E>;
|
|
658
654
|
orderFor: (self: AnyQuery, input: Readonly<Record<string, unknown>>) => ReadonlyArray<import("foldkit-entity").OrderTerm>;
|
|
659
|
-
placement: (self: AnyQuery, input: Readonly<Record<string, unknown
|
|
655
|
+
placement: (self: AnyQuery, input: Readonly<Record<string, unknown>>, options?: {
|
|
656
|
+
readonly operators?: import("foldkit-entity").OperatorTable | undefined;
|
|
657
|
+
}) => import("foldkit-entity").Placement;
|
|
658
|
+
operators: (self: AnyQuery) => ReadonlyArray<string>;
|
|
660
659
|
dependencies: (self: AnyQuery) => import("foldkit-entity").QueryDependencies;
|
|
661
|
-
unsupported: (self: AnyQuery, supported: ReadonlyArray<import("foldkit-entity").Operation
|
|
660
|
+
unsupported: (self: AnyQuery, supported: ReadonlyArray<import("foldkit-entity").Operation>, operators?: import("foldkit-entity").OperatorTable) => ReadonlyArray<string>;
|
|
662
661
|
show: (self: AnyQuery) => string;
|
|
663
662
|
/** Declares the entity and options a query's result is a connection over. */
|
|
664
663
|
connection: <Entity extends string>(entity: {
|
|
@@ -711,8 +710,6 @@ declare const Query$1: {
|
|
|
711
710
|
after: (cursor: Cursor) => <R extends QueryRef<string, unknown>>(ref: R) => R;
|
|
712
711
|
before: (cursor: Cursor) => <R extends QueryRef<string, unknown>>(ref: R) => R;
|
|
713
712
|
};
|
|
714
|
-
//#endregion
|
|
715
|
-
//#region src/requirement.d.ts
|
|
716
713
|
/**
|
|
717
714
|
* The slice required of an entity. `windows` carries a pagination window per
|
|
718
715
|
* relation field, and `relations` the slice required of each relation's
|
|
@@ -770,8 +767,6 @@ declare const requirementsOf: (projection: {
|
|
|
770
767
|
declare const connectionsOf: (projection: {
|
|
771
768
|
readonly metadata: Metadata;
|
|
772
769
|
}) => ReadonlyArray<ConnectionRequirement>;
|
|
773
|
-
//#endregion
|
|
774
|
-
//#region src/wire.d.ts
|
|
775
770
|
/**
|
|
776
771
|
* The read/live protocol version. A batch names the version it speaks and the
|
|
777
772
|
* server refuses a mismatch with `RemoteProtocolError`, so a shape change never
|
|
@@ -1363,8 +1358,6 @@ declare const RemoteRpc: RpcGroup.RpcGroup<Rpc.Rpc<"FoldkitRemoteLive", Schema.S
|
|
|
1363
1358
|
readonly fields: Schema.$Array<Schema.String>;
|
|
1364
1359
|
}>>;
|
|
1365
1360
|
}>, Schema.Union<readonly [typeof RemoteReadError, typeof RemoteProtocolError, typeof RemoteUnauthenticated]>, never, never>>;
|
|
1366
|
-
//#endregion
|
|
1367
|
-
//#region src/coalesce.d.ts
|
|
1368
1361
|
type Batch = Schema.Schema.Type<typeof ReadBatch>;
|
|
1369
1362
|
type BatchResult = Schema.Schema.Type<typeof ReadBatchResult>;
|
|
1370
1363
|
type ReadError = RemoteReadError | RemoteProtocolError | RemoteUnauthenticated;
|
|
@@ -1394,8 +1387,6 @@ declare const coalesceQueries: (query: QueryRun, options?: CoalesceOptions) => E
|
|
|
1394
1387
|
* idempotent, so writing it more than once is harmless.
|
|
1395
1388
|
*/
|
|
1396
1389
|
declare const coalesceReads: (read: BatchRead, options?: CoalesceOptions) => Effect.Effect<BatchRead>;
|
|
1397
|
-
//#endregion
|
|
1398
|
-
//#region src/live.d.ts
|
|
1399
1390
|
type LiveCursor = number;
|
|
1400
1391
|
type LiveEvent = {
|
|
1401
1392
|
readonly _tag: 'EntityPatched';
|
|
@@ -1469,8 +1460,6 @@ declare const applyConnectionEvent: (state: LiveState, optimistic: OptimisticSta
|
|
|
1469
1460
|
declare const liveHasPrevious: (connection: Connection, state: LiveState, connectionId: string) => boolean;
|
|
1470
1461
|
/** `hasNext` accounting for edges recorded outside the loaded boundary. */
|
|
1471
1462
|
declare const liveHasNext: (connection: Connection, state: LiveState, connectionId: string) => boolean;
|
|
1472
|
-
//#endregion
|
|
1473
|
-
//#region src/client.d.ts
|
|
1474
1463
|
declare const RemoteClient_base: Context.ServiceClass<RemoteClient, "foldkit-remote/RemoteClient", {
|
|
1475
1464
|
readonly read: (batch: Schema.Schema.Type<typeof ReadBatch>) => Effect.Effect<Schema.Schema.Type<typeof ReadBatchResult>, RemoteReadError | RemoteProtocolError | RemoteUnauthenticated>;
|
|
1476
1465
|
readonly query: (request: Schema.Schema.Type<typeof QueryRequest>) => Effect.Effect<Schema.Schema.Type<typeof QueryResult>, RemoteQueryError | RemoteUnauthenticated>;
|
|
@@ -1544,8 +1533,6 @@ declare const mutateRemote: <Name extends string, Input, Output>(mutation: Mutat
|
|
|
1544
1533
|
readonly id: string;
|
|
1545
1534
|
}[];
|
|
1546
1535
|
}, RemoteForbidden | RemoteMutationError | RemoteUnauthenticated, RemoteClient>;
|
|
1547
|
-
//#endregion
|
|
1548
|
-
//#region src/relation.d.ts
|
|
1549
1536
|
interface RefParts {
|
|
1550
1537
|
readonly entity: string;
|
|
1551
1538
|
readonly id: string;
|
|
@@ -1601,8 +1588,6 @@ declare const isRefPage: (value: unknown) => value is RefPageValue;
|
|
|
1601
1588
|
* scalar field, which cannot take a nested selection.
|
|
1602
1589
|
*/
|
|
1603
1590
|
declare const relationShape: (schema: Schema.Top) => RelationShape | undefined;
|
|
1604
|
-
//#endregion
|
|
1605
|
-
//#region src/selection.d.ts
|
|
1606
1591
|
/** One page of a paginated relation with each target assembled through a nested selection. */
|
|
1607
1592
|
interface Page<Item> {
|
|
1608
1593
|
readonly items: ReadonlyArray<Item>;
|
|
@@ -1683,8 +1668,6 @@ declare const assemble: (store: EntityStore, key: string, requirement: RelationR
|
|
|
1683
1668
|
* cannot assemble rather than waiting on a field nothing will fetch.
|
|
1684
1669
|
*/
|
|
1685
1670
|
declare const unavailableOf: (store: EntityStore, key: string, requirement: RelationRequirement) => string | undefined;
|
|
1686
|
-
//#endregion
|
|
1687
|
-
//#region src/entity.d.ts
|
|
1688
1671
|
type AnySchema = Schema.Schema<unknown>;
|
|
1689
1672
|
declare const entityRefFields: unique symbol;
|
|
1690
1673
|
/**
|
|
@@ -1785,8 +1768,6 @@ declare const Entity$2: {
|
|
|
1785
1768
|
*/
|
|
1786
1769
|
patch: <Name extends string, F extends Schema.Struct.Fields>(ref: EntityRef<Name, F>, patch: Partial<Schema.Struct.Encoded<F>>) => EntityPatch<Name, F>;
|
|
1787
1770
|
};
|
|
1788
|
-
//#endregion
|
|
1789
|
-
//#region src/matching.d.ts
|
|
1790
1771
|
/**
|
|
1791
1772
|
* An answer over the rows the client holds — never over the rows that exist.
|
|
1792
1773
|
*
|
|
@@ -1817,7 +1798,10 @@ interface Matched<A> {
|
|
|
1817
1798
|
interface Judged {
|
|
1818
1799
|
/** Keys of the rows that satisfy the body, in the order the body asks for. */
|
|
1819
1800
|
readonly matched: ReadonlyArray<EntityKey>;
|
|
1820
|
-
/**
|
|
1801
|
+
/**
|
|
1802
|
+
* Keys of rows held but not judged either way: missing a field the body
|
|
1803
|
+
* reads, or holding a value the interpreter refuses (text with a NUL).
|
|
1804
|
+
*/
|
|
1821
1805
|
readonly skipped: ReadonlyArray<EntityKey>;
|
|
1822
1806
|
}
|
|
1823
1807
|
interface MatchingOptions {
|
|
@@ -1827,6 +1811,8 @@ interface MatchingOptions {
|
|
|
1827
1811
|
* it, a caller narrows to a connection's own edges.
|
|
1828
1812
|
*/
|
|
1829
1813
|
readonly among?: ReadonlyArray<EntityKey> | undefined;
|
|
1814
|
+
/** How the body's primitive operators are run: `Remote.make`'s `operators`. */
|
|
1815
|
+
readonly operators?: MemoryOperators | undefined;
|
|
1830
1816
|
}
|
|
1831
1817
|
/**
|
|
1832
1818
|
* The rows of `descriptor`'s Entity that the store holds and the body matches.
|
|
@@ -1870,9 +1856,7 @@ type Belongs = 'yes' | 'no' | 'unknown';
|
|
|
1870
1856
|
* asymmetry with `matching`, which takes a decoded input, is the shape of the
|
|
1871
1857
|
* two real callers rather than an oversight.
|
|
1872
1858
|
*/
|
|
1873
|
-
declare const belongsEncoded: <Name extends string, Input>(store: EntityStore, descriptor: QueryDescriptor<Name, Input, unknown>, encoded: Readonly<Record<string, unknown>>, key: EntityKey) => Belongs;
|
|
1874
|
-
//#endregion
|
|
1875
|
-
//#region src/retain.d.ts
|
|
1859
|
+
declare const belongsEncoded: <Name extends string, Input>(store: EntityStore, descriptor: QueryDescriptor<Name, Input, unknown>, encoded: Readonly<Record<string, unknown>>, key: EntityKey, operators?: MemoryOperators | undefined) => Belongs;
|
|
1876
1860
|
/** A connection to keep: its identity, and what a page of it selects of each item, if a projection reads it. */
|
|
1877
1861
|
interface ConnectionRoot {
|
|
1878
1862
|
readonly identity: string;
|
|
@@ -1901,8 +1885,6 @@ declare const reachable: (store: EntityStore, roots: RetentionRoots, connections
|
|
|
1901
1885
|
declare const gc: (state: Retained & {
|
|
1902
1886
|
readonly mutations: MutationState;
|
|
1903
1887
|
}, roots: RetentionRoots) => Retained;
|
|
1904
|
-
//#endregion
|
|
1905
|
-
//#region src/persistence.d.ts
|
|
1906
1888
|
/** Bump when the serialized shape changes; a mismatch discards the cache. */
|
|
1907
1889
|
declare const REMOTE_CACHE_VERSION = 5;
|
|
1908
1890
|
/**
|
|
@@ -2010,8 +1992,6 @@ declare const RemotePersistence: {
|
|
|
2010
1992
|
readonly key: string;
|
|
2011
1993
|
} & SnapshotOptions) => Effect.Effect<Snapshot, KeyValueStore.KeyValueStoreError, KeyValueStore.KeyValueStore>;
|
|
2012
1994
|
};
|
|
2013
|
-
//#endregion
|
|
2014
|
-
//#region src/model.d.ts
|
|
2015
1995
|
/**
|
|
2016
1996
|
* The normalized cache as a Foldkit Submodel. `Remote.define` returns a schema
|
|
2017
1997
|
* and an `update` for this shape; `updateRemote` reconciles every producer.
|
|
@@ -2553,8 +2533,6 @@ declare const failureOf: (model: RemoteModel, entity: string, id: string, relati
|
|
|
2553
2533
|
* reducing `writeEntity` by hand.
|
|
2554
2534
|
*/
|
|
2555
2535
|
declare const writeRead: (store: EntityStore, requests: ReadonlyArray<Requirement>, result: Schema.Schema.Type<typeof ReadBatchResult>, now?: number) => EntityStore;
|
|
2556
|
-
//#endregion
|
|
2557
|
-
//#region src/inspect.d.ts
|
|
2558
2536
|
/** A query body's `Dependencies` as plain data: each field by its Entity's name and key. */
|
|
2559
2537
|
interface ExplainedDependencies {
|
|
2560
2538
|
readonly fields: ReadonlyArray<{
|
|
@@ -2563,6 +2541,11 @@ interface ExplainedDependencies {
|
|
|
2563
2541
|
}>;
|
|
2564
2542
|
readonly inputs: Dependencies['inputs'];
|
|
2565
2543
|
readonly operations: Dependencies['operations'];
|
|
2544
|
+
/** Each operator it calls, by its id and version. */
|
|
2545
|
+
readonly operators: ReadonlyArray<{
|
|
2546
|
+
readonly id: string;
|
|
2547
|
+
readonly version: number;
|
|
2548
|
+
}>;
|
|
2566
2549
|
}
|
|
2567
2550
|
/** A serializable summary of a RemoteModel for DevTools and diagnostics. */
|
|
2568
2551
|
interface RemoteInspection {
|
|
@@ -2699,8 +2682,6 @@ interface QueryExplanation {
|
|
|
2699
2682
|
readonly tag: string;
|
|
2700
2683
|
}> | undefined;
|
|
2701
2684
|
}
|
|
2702
|
-
//#endregion
|
|
2703
|
-
//#region src/plan.d.ts
|
|
2704
2685
|
type Window = NonNullable<Requirement['windows']>[string];
|
|
2705
2686
|
/** A stable key for a window, so two equal windows compare equal. */
|
|
2706
2687
|
declare const windowKey: (window: Window) => string;
|
|
@@ -2732,8 +2713,6 @@ interface Deadline {
|
|
|
2732
2713
|
*/
|
|
2733
2714
|
declare const deadlineOf: (store: EntityStore, requirements: readonly Requirement[], freshness: PlanFreshness) => Deadline | undefined;
|
|
2734
2715
|
declare const plan: (store: EntityStore, requirements: readonly Requirement[], options?: PlanOptions) => ReadonlyArray<Requirement>;
|
|
2735
|
-
//#endregion
|
|
2736
|
-
//#region src/policy.d.ts
|
|
2737
2716
|
type RemotePolicy =
|
|
2738
2717
|
/** Fetch only fields the store lacks (missing, stale, or re-windowed). */
|
|
2739
2718
|
{
|
|
@@ -2773,8 +2752,6 @@ declare const RemotePolicy: {
|
|
|
2773
2752
|
*/
|
|
2774
2753
|
refreshes: (policy: RemotePolicy) => boolean;
|
|
2775
2754
|
};
|
|
2776
|
-
//#endregion
|
|
2777
|
-
//#region src/resume.d.ts
|
|
2778
2755
|
/**
|
|
2779
2756
|
* A resume part, in the shape `foldkit-ssr`'s `SSR.plan` takes in `parts`.
|
|
2780
2757
|
* Declared here structurally, so neither package depends on the other.
|
|
@@ -2800,8 +2777,6 @@ declare const resumePart: <AppModel, Store extends RemoteModel>(domain: {
|
|
|
2800
2777
|
}, options?: {
|
|
2801
2778
|
readonly id?: string | undefined;
|
|
2802
2779
|
}) => RemoteResumePart<AppModel>;
|
|
2803
|
-
//#endregion
|
|
2804
|
-
//#region src/json.d.ts
|
|
2805
2780
|
/** A request: which of Remote's calls, and its payload as the RPC protocol encodes it. */
|
|
2806
2781
|
declare const RemoteJsonRequest: Schema.Struct<{
|
|
2807
2782
|
readonly operation: Schema.Literals<readonly ["read", "query", "mutate"]>;
|
|
@@ -2845,8 +2820,6 @@ declare const http: (url: string, options?: {
|
|
|
2845
2820
|
readonly headers?: (() => Readonly<Record<string, string>>) | undefined;
|
|
2846
2821
|
readonly fetch?: typeof fetch | undefined;
|
|
2847
2822
|
}) => RemoteRpcClient;
|
|
2848
|
-
//#endregion
|
|
2849
|
-
//#region src/sse.d.ts
|
|
2850
2823
|
/** What `httpWithLive` needs besides the URL. Mirrors `http`, plus the fetch itself. */
|
|
2851
2824
|
interface LiveFetchOptions {
|
|
2852
2825
|
/** Read per request, so a token that changes reaches the next call. */
|
|
@@ -2861,8 +2834,6 @@ declare const liveFetch: (url: string, options?: LiveFetchOptions) => RemoteRpcC
|
|
|
2861
2834
|
* `http` sends them, live as `liveFetch` streams it, for `clientLayer`.
|
|
2862
2835
|
*/
|
|
2863
2836
|
declare const httpWithLive: (url: string, options?: LiveFetchOptions) => RemoteRpcClient;
|
|
2864
|
-
//#endregion
|
|
2865
|
-
//#region src/placement.d.ts
|
|
2866
2837
|
/** Where a row falls in a loaded list. */
|
|
2867
2838
|
type RowPlace = Data.TaggedEnum<{
|
|
2868
2839
|
/** Just before this edge, in this segment. */
|
|
@@ -2978,13 +2949,11 @@ declare const RowPlace: {
|
|
|
2978
2949
|
};
|
|
2979
2950
|
/**
|
|
2980
2951
|
* Where the row stored under `key` falls in `connection`, by `body`'s order
|
|
2981
|
-
* for `input` (encoded, as a connection's identity carries it)
|
|
2982
|
-
* edge, if the list holds it, is left out:
|
|
2983
|
-
* where it goes now.
|
|
2952
|
+
* for `input` (encoded, as a connection's identity carries it), a call in it
|
|
2953
|
+
* run by `operators`. The row's own edge, if the list holds it, is left out:
|
|
2954
|
+
* placing a row that moved asks where it goes now.
|
|
2984
2955
|
*/
|
|
2985
|
-
declare const placeIn: (store: EntityStore, connection: Connection, body: AnyQuery, input: Readonly<Record<string, unknown>>, key: string) => RowPlace;
|
|
2986
|
-
//#endregion
|
|
2987
|
-
//#region src/index.d.ts
|
|
2956
|
+
declare const placeIn: (store: EntityStore, connection: Connection, body: AnyQuery, input: Readonly<Record<string, unknown>>, key: string, operators: MemoryOperators) => RowPlace;
|
|
2988
2957
|
/** What a domain registers: a Remote descriptor, or a `foldkit-entity` Entity (read through `Entity.from`). */
|
|
2989
2958
|
type EntityLike = EntityDescriptor<any, any> | Domain.AnyEntity;
|
|
2990
2959
|
/**
|
|
@@ -3039,6 +3008,11 @@ interface BoundRemote<AppModel, Store extends RemoteModel, Names extends string
|
|
|
3039
3008
|
readonly store: ModelRef<AppModel, Store>;
|
|
3040
3009
|
/** For `Module`: owns the store's Model path. */
|
|
3041
3010
|
readonly contract: Contract;
|
|
3011
|
+
/**
|
|
3012
|
+
* How the client runs primitive operators: `Remote.make`'s table, which a
|
|
3013
|
+
* pending computed assignment is predicted by wherever the store is read.
|
|
3014
|
+
*/
|
|
3015
|
+
readonly operators: MemoryOperators;
|
|
3042
3016
|
/** Phantom: the entity names this Remote definition registers. */
|
|
3043
3017
|
readonly [boundRemoteNames]?: Names;
|
|
3044
3018
|
}
|
|
@@ -3500,8 +3474,6 @@ declare const defineRemote: <const Entities extends readonly EntityLike[], const
|
|
|
3500
3474
|
readonly queries?: Queries;
|
|
3501
3475
|
readonly mutations?: Mutations;
|
|
3502
3476
|
}) => RemoteDescriptor<Entities, Queries, Mutations>;
|
|
3503
|
-
/** Binds a Remote domain to its store's location in the application Model. */
|
|
3504
|
-
declare const bindRemote: <AppModel, Store extends RemoteModel, Entities extends readonly EntityLike[], Queries extends readonly QueryDescriptor<any, any, any>[], Mutations extends readonly MutationDescriptor<any, any, any>[]>(definition: RemoteDescriptor<Entities, Queries, Mutations>, store: ModelRef<AppModel, Store>) => BoundRemote<AppModel, Store, EntityName<Entities[number]>>;
|
|
3505
3477
|
/** A query the read entry runs, as its dependencies carry it: plain data Foldkit compares. */
|
|
3506
3478
|
declare const PlannedQuery: Schema.Struct<{
|
|
3507
3479
|
readonly identity: Schema.String;
|
|
@@ -3879,6 +3851,13 @@ declare const Remote: {
|
|
|
3879
3851
|
* a collation that drifts should be found.
|
|
3880
3852
|
*/
|
|
3881
3853
|
readonly verifyPlacement?: boolean | undefined;
|
|
3854
|
+
/**
|
|
3855
|
+
* How the client runs a body's primitive operators when it judges rows it
|
|
3856
|
+
* holds (`Operators`): the kernel's when not given. A body calling one this
|
|
3857
|
+
* table lacks is judged by the server instead, as any row the client cannot
|
|
3858
|
+
* judge is.
|
|
3859
|
+
*/
|
|
3860
|
+
readonly operators?: MemoryOperators | undefined;
|
|
3882
3861
|
}) => RemoteDomain<AppModel, Store, Entities, Queries, Mutations>;
|
|
3883
3862
|
/**
|
|
3884
3863
|
* Declares a Remote domain without binding it: its entities, queries, and
|
|
@@ -3889,9 +3868,13 @@ declare const Remote: {
|
|
|
3889
3868
|
/**
|
|
3890
3869
|
* Binds a Remote domain to its store's location in the application Model. The
|
|
3891
3870
|
* registered entity names are carried on the returned value, so `Remote.select`
|
|
3892
|
-
* rejects a selection for an entity this domain never declared.
|
|
3871
|
+
* rejects a selection for an entity this domain never declared. `operators`
|
|
3872
|
+
* is the client's table, which a pending computed assignment is predicted by
|
|
3873
|
+
* (`Operators.kernel` when not given), as `Remote.make`'s is.
|
|
3893
3874
|
*/
|
|
3894
|
-
at:
|
|
3875
|
+
at: <AppModel, Store extends RemoteModel, Entities extends readonly EntityLike[], Queries extends readonly QueryDescriptor<any, any, any>[], Mutations extends readonly MutationDescriptor<any, any, any>[]>(definition: RemoteDescriptor<Entities, Queries, Mutations>, store: ModelRef<AppModel, Store>, options?: {
|
|
3876
|
+
readonly operators?: MemoryOperators | undefined;
|
|
3877
|
+
}) => BoundRemote<AppModel, Store, EntityName<Entities[number]>>;
|
|
3895
3878
|
/**
|
|
3896
3879
|
* The resume part for this domain, for `foldkit-ssr`'s `SSR.plan({ parts })`:
|
|
3897
3880
|
* a server render sends what the plan's active Surfaces read from the store,
|
|
@@ -4128,6 +4111,5 @@ declare const Remote: {
|
|
|
4128
4111
|
*/
|
|
4129
4112
|
live: <AppModel, Store extends RemoteModel, Names extends string, Model, SurfaceMessage, Params, Message = RemoteMessage>(bound: BoundRemote<AppModel, Store, Names>, surface: Surface<AppModel, Model, SurfaceMessage, Params>, params: Params, toMessage?: (message: RemoteMessage) => Message, options?: LiveOptions) => EntryWithoutKeepAlive<AppModel, Message, LiveDependencies, RemoteClient>;
|
|
4130
4113
|
};
|
|
4131
|
-
//#endregion
|
|
4132
4114
|
export { QueryExplanation as $, emptyConnection as $i, coalesceQueries as $n, stableStringify as $r, Entity$2 as $t, RemoteWiring as A, TypeOf as Ai, RemoteRpcClient as An, RemoteReadError as Ar, remoteModelSchema as At, liveFetch as B, Freshness as Bi, LiveCursor as Bn, Requirement as Br, SnapshotOptions as Bt, Registered as C, remove as Ca, MutationStatus as Ci, isRefPage as Cn, ReadRequest as Cr, noFailures as Ct, RemoteEntry as D, writeEntities as Da, Refusal as Di, relationShape as Dn, RemoteMutationError as Dr, refreshedAt as Dt, RemoteDomain as E, tombstone as Ea, Reconciled as Ei, relationAlias as En, RemoteLiveError as Er, refreshIsInFlight as Et, SubscriptionsOptions as F, optimisticOfWrite as Fi, mutateRemote as Fn, WireBoundary as Fr, writeRead as Ft, RemotePolicy as G, Boundary as Gi, applyEntityEvent as Gn, LiveInsertion as Gr, reachable as Gt, RemoteJsonRequest as H, RemoteError as Hi, LiveOutcome as Hn, requirementsOf as Hr, Retained as Ht, RowPlace as I, patchOfWrite as Ii, remoteError as In, ConnectionRequirement as Ir, MergePolicy as It, PlanOptions as J, Edge as Ji, liveHasNext as Jn, QueryDescriptor as Jr, Matched as Jt, Deadline as K, Connection as Ki, classifyLive as Kn, LivePolicy as Kr, Belongs as Kt, placeIn as L, reconcileMutation as Li, BoundaryCounts as Ln, RelationRequirement as Lr, REMOTE_CACHE_VERSION as Lt, SatisfyOptions as M, emptyMutationState as Mi, connectionChangeOf as Mn, RemoteUnauthenticated as Mr, updateRemote as Mt, SelectsEntity as N, failMutation as Ni, liveEventOf as Nn, SettledFields as Nr, windowGrowthKey as Nt, RemoteFold as O, writeEntity as Oa, RefusalOfWrite as Oi, targetsOf as On, RemoteProtocolError as Or, remoteMessageCases as Ot, SubscriptionEntries as P, mutationStatus as Pi, mintOperation as Pn, WindowSchema as Pr, withRefreshRequested as Pt, ExplainedDependencies as Q, edge as Qi, QueryRun as Qn, ResultOf as Qr, AnySchema as Qt, LiveFetchOptions as R, schemaOf as Ri, ConnectionApplied as Rn, RemoteConnections as Rr, RemotePersistence as Rt, ReadMeta as S, readField as Sa, MutationState as Si, aliasedField as Sn, ReadBatchResult as Sr, isRemoteMessage as St, RemoteDescriptor as T, setUnavailable as Ta, PendingPatch as Ti, refsIn as Tn, RemoteForbidden as Tr, overlaysOf as Tt, RemoteJsonSend as U, remoteDataSchema as Ui, LiveState as Un, ConnectionSpec as Ur, RetentionRoots as Ut, RemoteJsonAnswer as V, RemoteData as Vi, LiveEvent as Vn, connectionsOf as Vr, ConnectionRoot as Vt, RemoteResumePart as W, remoteErrorSchema as Wi, applyConnectionEvent as Wn, IDENTITY_SEPARATOR as Wr, gc as Wt, plan as X, Segment as Xi, BatchRead as Xn, QueryRef as Xr, belongsEncoded as Xt, deadlineOf as Y, EdgeRef as Yi, liveHasPrevious as Yn, QueryInputs as Yr, MatchingOptions as Yt, windowKey as Z, cursor as Zi, CoalesceOptions as Zn, QueryWindow as Zr, matching as Zt, QueryOptions as _, isFieldStale as _a, visibleItems as _i, RefParts as _n, QueryResult as _r, invalidateConnections as _t, EntitySelection as a, segment as aa, OptimisticState as ai, RefPage as an, LiveEdge as ar, PlacedOrder as at, QueryWindowOptions as b, markStale as ba, MutationAnswer as bi, RelationKind as bn, Read as br, isLoadingThrough as bt, LiveOptions as c, EntityEntry as ca, beginOptimistic as ci, SelectionOf as cn, MAX_RELATION_DEPTH as cr, RemoteMessage as ct, MutateOptions as d, EntityWrite as da, pruneOverlays as di, assemble as dn, MutationResult as dr, RemoteModel as dt, hasNext as ea, ConnectionChange as ei, EntityDescriptor as en, coalesceReads as er, ReadDiagnosis as et, MutationStarted as f, clearStale as fa, removeLayer as fi, pageSchema as fn, NormalizedEntity as fr, StreamHealth as ft, QueryInput as g, hasField as ga, settleSuccess as gi, RefPageValue as gn, QueryRequest as gr, initialRemoteModel as gt, QueryEntity as h, entry as ha, settleFailure as hi, RELATION_ALIAS as hn, QueryEdge as hr, forgetRemote as ht, EntityLike as i, merge as ia, OptimisticOperation as ii, RefKey as in, LiveChange as ir, Failures as it, RetainOptions as j, beginMutation as ji, coalescedLayer as jn, RemoteRpc as jr, retentionRootsSchema as jt, RemoteUnsatisfied as k, SchemaOrFields as ki, RemoteClient as kn, RemoteQueryError as kr, remoteMessageSchema as kt, LiveStatus as l, EntityKey as la, connectionIdentity as li, SelectionValue as ln, Mutate as lr, RemoteMessageInput as lt, PersistenceOptions as m, entityKey as ma, resolvedPatches as mi, unavailableOf as mn, PageSize as mr, failureOf as mt, BoundRemote as n, isGapped as na, ConnectionOverlay as ni, EntityRef as nn, ConnectionChangeSchema as nr, inspectEntity as nt, FoldedMutationStarted as o, terminal as oa, addLayer as oi, Page as on, LiveRequirement as or, PlacementMismatch as ot, ObserveOptions as p, emptyStore as pa, removeOverlay as pi, relationOf as pn, OperationId as pr, emptyRefresh as pt, PlanFreshness as q, Cursor as qi, emptyLiveState as qn, Query$1 as qr, Judged as qt, DomainMutateOptions as r, items as ra, EntityLayer as ri, FieldsFrom as rn, Live as rr, inspectRemote as rt, LiveDependencies as s, unknown as sa, addOverlay as si, Selection as sn, MAX_FIELDS_PER_REQUEST as sr, RefreshState as st, ActiveEntry as t, hasPrevious as ta, ConnectionIdentity as ti, EntityPatch as tn, requirementKey as tr, RemoteInspection as tt, ModelOfDomain as u, EntityStore as ua, emptyOptimistic as ui, SelectionValueOf as un, MutationRequest as ur, RemoteMessageTag as ut, QueryProjection as v, isFieldUnavailable as va, visibleStore as vi, RelationAnnotation as vn, QueryRpc as vr, isFieldFailed as vt, Remote as w, setStale as wa, NormalizedPatch as wi, refParts as wn, RelationRequest as wr, onlyOverlaid as wt, ReadDependencies as x, missingFields as xa, MutationDescriptor as xi, RelationShape as xn, ReadBatch as xr, isQueryLoading as xt, QueryRequirement as y, isTombstone as ya, Mutation as yi, RelationEntityAnnotation as yn, REMOTE_PROTOCOL_VERSION as yr, isLoading as yt, httpWithLive as z, Denied as zi, EntityApplied as zn, RemoteRequirements as zr, Snapshot as zt };
|
|
4133
|
-
//# sourceMappingURL=index-
|
|
4115
|
+
//# sourceMappingURL=index-YyucgTYm.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-YyucgTYm.d.mts","names":["RelationalQuery","Query","Entity","_$__store_js0.EntityEntry","jsonClient","httpClient","httpWithLiveClient","_$__optimistic_js0.ConnectionChange","_$__wire_js0.RemoteForbidden"],"sources":["../src/store.ts","../src/connection.ts","../src/remoteData.ts","../src/mutation.ts","../src/optimistic.ts","../src/query.ts","../src/requirement.ts","../src/wire.ts","../src/coalesce.ts","../src/live.ts","../src/client.ts","../src/relation.ts","../src/selection.ts","../src/entity.ts","../src/matching.ts","../src/retain.ts","../src/persistence.ts","../src/model.ts","../src/inspect.ts","../src/plan.ts","../src/policy.ts","../src/resume.ts","../src/json.ts","../src/sse.ts","../src/placement.ts","../src/index.ts"],"mappings":";;;;;;;;;KAYY;UAEK;WACN,QAAQ,SAAS;WACjB,SAAS;;WAET,OAAO;;;;;;WAMP,aAAa;;WAEb;;WAEA;;;;;WAKA,SAAS,SAAS;;KAGjB,cAAc,SAAS,OAAO,WAAW;;cAGxC,YAAS,gBAAkB,eAAe;cAY1C,YAAY;UAiDR;WACN,KAAK;WACL,QAAQ,SAAS;;WAEjB,UAAU,SAAS;;WAEnB;;;;;;;cAQE,gBAAa,OACjB,aAAW,QACV,cAAc,cAAY,iBAEjC;;cAeU,cAAW,OACf,aAAW,KACb,WAAS,QACN,SAAS,0BAAwB,cAAA,UAE/B,SAAS,4BAClB;;;;;;cAOU,WAAQ,OACZ,aAAW,OACX,wBAAwB,KAAK,WAAW,QAAQ,oBAAkB,mBAExE;;cAoBU,YAAS,OACb,aAAW,KACb,WAAS,QACN,qBACP;;cAGU,aAAU,OACd,aAAW,KACb,WAAS,QACN,qBACP;;;;;;cAOU,iBAAc,OAClB,aAAW,OACX,wBAAwB,KAAK,WAAW,QAAQ,oBAAkB,yBAExE;;cAmBU,qBAAkB,OAAW,aAAW,KAAO,WAAS;;cAMxD,YAAS,OAAW,aAAW,KAAO,cAAY;;cAclD,SAAM,OAAW,aAAW,KAAO,cAAY;cAO/C,QAAK,OAAW,aAAW,KAAO,cAAY,OAAO,OAAO;cAK5D,cAAW,OAAW,aAAW,KAAO;;cAIxC,WAAQ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Stringify, $t as Entity, A as RemoteWiring, Ai as TypeOf, An as RemoteRpcClient, Ar as RemoteReadError, At as remoteModelSchema, B as liveFetch, Bi as Freshness, Bn as LiveCursor, Br as Requirement, Bt as SnapshotOptions, C as Registered, Ca as remove, Ci as MutationStatus, Cn as isRefPage, Cr as ReadRequest, Ct as noFailures, D as RemoteEntry, Da as writeEntities, Di as Refusal, Dn as relationShape, Dr as RemoteMutationError, Dt as refreshedAt, E as RemoteDomain, Ea as tombstone, Ei as Reconciled, En as relationAlias, Er as RemoteLiveError, Et as refreshIsInFlight, F as SubscriptionsOptions, Fi as optimisticOfWrite, Fn as mutateRemote, Fr as WireBoundary, Ft as writeRead, G as RemotePolicy, Gi as Boundary, Gn as applyEntityEvent, Gr as LiveInsertion, Gt as reachable, H as RemoteJsonRequest, Hi as RemoteError, Hn as LiveOutcome, Hr as requirementsOf, Ht as Retained, I as RowPlace, Ii as patchOfWrite, In as remoteError, Ir as ConnectionRequirement, It as MergePolicy, J as PlanOptions, Ji as Edge, Jn as liveHasNext, Jr as QueryDescriptor, Jt as Matched, K as Deadline, Ki as Connection, Kn as classifyLive, Kr as LivePolicy, Kt as Belongs, L as placeIn, Li as reconcileMutation, Ln as BoundaryCounts, Lr as RelationRequirement, Lt as REMOTE_CACHE_VERSION, M as SatisfyOptions, Mi as emptyMutationState, Mn as connectionChangeOf, Mr as RemoteUnauthenticated, Mt as updateRemote, N as SelectsEntity, Ni as failMutation, Nn as liveEventOf, Nr as SettledFields, Nt as windowGrowthKey, O as RemoteFold, Oa as writeEntity, Oi as RefusalOfWrite, On as targetsOf, Or as RemoteProtocolError, Ot as remoteMessageCases, P as SubscriptionEntries, Pi as mutationStatus, Pn as mintOperation, Pr as WindowSchema, Pt as withRefreshRequested, Q as ExplainedDependencies, Qi as edge, Qn as QueryRun, Qr as ResultOf, Qt as AnySchema, R as LiveFetchOptions, Ri as schemaOf, Rn as ConnectionApplied, Rr as RemoteConnections, Rt as RemotePersistence, S as ReadMeta, Sa as readField, Si as MutationState, Sn as aliasedField, Sr as ReadBatchResult, St as isRemoteMessage, T as RemoteDescriptor, Ta as setUnavailable, Ti as PendingPatch, Tn as refsIn, Tr as RemoteForbidden, Tt as overlaysOf, U as RemoteJsonSend, Ui as remoteDataSchema, Un as LiveState, Ur as ConnectionSpec, Ut as RetentionRoots, V as RemoteJsonAnswer, Vi as RemoteData, Vn as LiveEvent, Vr as connectionsOf, Vt as ConnectionRoot, W as RemoteResumePart, Wi as remoteErrorSchema, Wn as applyConnectionEvent, Wr as IDENTITY_SEPARATOR, Wt as gc, X as plan, Xi as Segment, Xn as BatchRead, Xr as QueryRef, Xt as belongsEncoded, Y as deadlineOf, Yi as EdgeRef, Yn as liveHasPrevious, Yr as QueryInputs, Yt as MatchingOptions, Z as windowKey, Zi as cursor, Zn as CoalesceOptions, Zr as QueryWindow, Zt as matching, _ as QueryOptions, _a as isFieldStale, _i as visibleItems, _n as RefParts, _r as QueryResult, _t as invalidateConnections, a as EntitySelection, aa as segment, ai as OptimisticState, an as RefPage, ar as LiveEdge, at as PlacedOrder, b as QueryWindowOptions, ba as markStale, bi as MutationAnswer, bn as RelationKind, br as Read, bt as isLoadingThrough, c as LiveOptions, ca as EntityEntry, ci as beginOptimistic, cn as SelectionOf, cr as MAX_RELATION_DEPTH, ct as RemoteMessage, d as MutateOptions, da as EntityWrite, di as pruneOverlays, dn as assemble, dr as MutationResult, dt as RemoteModel, ea as hasNext, ei as ConnectionChange, en as EntityDescriptor, er as coalesceReads, et as ReadDiagnosis, f as MutationStarted, fa as clearStale, fi as removeLayer, fn as pageSchema, fr as NormalizedEntity, ft as StreamHealth, g as QueryInput, ga as hasField, gi as settleSuccess, gn as RefPageValue, gr as QueryRequest, gt as initialRemoteModel, h as QueryEntity, ha as entry, hi as settleFailure, hn as RELATION_ALIAS, hr as QueryEdge, ht as forgetRemote, i as EntityLike, ia as merge, ii as OptimisticOperation, in as RefKey, ir as LiveChange, it as Failures, j as RetainOptions, ji as beginMutation, jn as coalescedLayer, jr as RemoteRpc, jt as retentionRootsSchema, k as RemoteUnsatisfied, ki as SchemaOrFields, kn as RemoteClient, kr as RemoteQueryError, kt as remoteMessageSchema, l as LiveStatus, la as EntityKey, li as connectionIdentity, ln as SelectionValue, lr as Mutate, lt as RemoteMessageInput, m as PersistenceOptions, ma as entityKey, mi as resolvedPatches, mn as unavailableOf, mr as PageSize, mt as failureOf, n as BoundRemote, na as isGapped, ni as ConnectionOverlay, nn as EntityRef, nr as ConnectionChangeSchema, nt as inspectEntity, o as FoldedMutationStarted, oa as terminal, oi as addLayer, on as Page, or as LiveRequirement, ot as PlacementMismatch, p as ObserveOptions, pa as emptyStore, pi as removeOverlay, pn as relationOf, pr as OperationId, pt as emptyRefresh, q as PlanFreshness, qi as Cursor, qn as emptyLiveState, qr as Query, qt as Judged, r as DomainMutateOptions, ra as items, ri as EntityLayer, rn as FieldsFrom, rr as Live, rt as inspectRemote, s as LiveDependencies, sa as unknown, si as addOverlay, sn as Selection, sr as MAX_FIELDS_PER_REQUEST, st as RefreshState, t as ActiveEntry, ta as hasPrevious, ti as ConnectionIdentity, tn as EntityPatch, tr as requirementKey, tt as RemoteInspection, u as ModelOfDomain, ua as EntityStore, ui as emptyOptimistic, un as SelectionValueOf, ur as MutationRequest, ut as RemoteMessageTag, v as QueryProjection, va as isFieldUnavailable, vi as visibleStore, vn as RelationAnnotation, vr as QueryRpc, vt as isFieldFailed, w as Remote, wa as setStale, wi as NormalizedPatch, wn as refParts, wr as RelationRequest, wt as onlyOverlaid, x as ReadDependencies, xa as missingFields, xi as MutationDescriptor, xn as RelationShape, xr as ReadBatch, xt as isQueryLoading, y as QueryRequirement, ya as isTombstone, yi as Mutation, yn as RelationEntityAnnotation, yr as REMOTE_PROTOCOL_VERSION, yt as isLoading, z as httpWithLive, zi as Denied, zn as EntityApplied, zr as RemoteRequirements, zt as Snapshot } from "./index-
|
|
1
|
+
import { $ as QueryExplanation, $i as emptyConnection, $n as coalesceQueries, $r as stableStringify, $t as Entity, A as RemoteWiring, Ai as TypeOf, An as RemoteRpcClient, Ar as RemoteReadError, At as remoteModelSchema, B as liveFetch, Bi as Freshness, Bn as LiveCursor, Br as Requirement, Bt as SnapshotOptions, C as Registered, Ca as remove, Ci as MutationStatus, Cn as isRefPage, Cr as ReadRequest, Ct as noFailures, D as RemoteEntry, Da as writeEntities, Di as Refusal, Dn as relationShape, Dr as RemoteMutationError, Dt as refreshedAt, E as RemoteDomain, Ea as tombstone, Ei as Reconciled, En as relationAlias, Er as RemoteLiveError, Et as refreshIsInFlight, F as SubscriptionsOptions, Fi as optimisticOfWrite, Fn as mutateRemote, Fr as WireBoundary, Ft as writeRead, G as RemotePolicy, Gi as Boundary, Gn as applyEntityEvent, Gr as LiveInsertion, Gt as reachable, H as RemoteJsonRequest, Hi as RemoteError, Hn as LiveOutcome, Hr as requirementsOf, Ht as Retained, I as RowPlace, Ii as patchOfWrite, In as remoteError, Ir as ConnectionRequirement, It as MergePolicy, J as PlanOptions, Ji as Edge, Jn as liveHasNext, Jr as QueryDescriptor, Jt as Matched, K as Deadline, Ki as Connection, Kn as classifyLive, Kr as LivePolicy, Kt as Belongs, L as placeIn, Li as reconcileMutation, Ln as BoundaryCounts, Lr as RelationRequirement, Lt as REMOTE_CACHE_VERSION, M as SatisfyOptions, Mi as emptyMutationState, Mn as connectionChangeOf, Mr as RemoteUnauthenticated, Mt as updateRemote, N as SelectsEntity, Ni as failMutation, Nn as liveEventOf, Nr as SettledFields, Nt as windowGrowthKey, O as RemoteFold, Oa as writeEntity, Oi as RefusalOfWrite, On as targetsOf, Or as RemoteProtocolError, Ot as remoteMessageCases, P as SubscriptionEntries, Pi as mutationStatus, Pn as mintOperation, Pr as WindowSchema, Pt as withRefreshRequested, Q as ExplainedDependencies, Qi as edge, Qn as QueryRun, Qr as ResultOf, Qt as AnySchema, R as LiveFetchOptions, Ri as schemaOf, Rn as ConnectionApplied, Rr as RemoteConnections, Rt as RemotePersistence, S as ReadMeta, Sa as readField, Si as MutationState, Sn as aliasedField, Sr as ReadBatchResult, St as isRemoteMessage, T as RemoteDescriptor, Ta as setUnavailable, Ti as PendingPatch, Tn as refsIn, Tr as RemoteForbidden, Tt as overlaysOf, U as RemoteJsonSend, Ui as remoteDataSchema, Un as LiveState, Ur as ConnectionSpec, Ut as RetentionRoots, V as RemoteJsonAnswer, Vi as RemoteData, Vn as LiveEvent, Vr as connectionsOf, Vt as ConnectionRoot, W as RemoteResumePart, Wi as remoteErrorSchema, Wn as applyConnectionEvent, Wr as IDENTITY_SEPARATOR, Wt as gc, X as plan, Xi as Segment, Xn as BatchRead, Xr as QueryRef, Xt as belongsEncoded, Y as deadlineOf, Yi as EdgeRef, Yn as liveHasPrevious, Yr as QueryInputs, Yt as MatchingOptions, Z as windowKey, Zi as cursor, Zn as CoalesceOptions, Zr as QueryWindow, Zt as matching, _ as QueryOptions, _a as isFieldStale, _i as visibleItems, _n as RefParts, _r as QueryResult, _t as invalidateConnections, a as EntitySelection, aa as segment, ai as OptimisticState, an as RefPage, ar as LiveEdge, at as PlacedOrder, b as QueryWindowOptions, ba as markStale, bi as MutationAnswer, bn as RelationKind, br as Read, bt as isLoadingThrough, c as LiveOptions, ca as EntityEntry, ci as beginOptimistic, cn as SelectionOf, cr as MAX_RELATION_DEPTH, ct as RemoteMessage, d as MutateOptions, da as EntityWrite, di as pruneOverlays, dn as assemble, dr as MutationResult, dt as RemoteModel, ea as hasNext, ei as ConnectionChange, en as EntityDescriptor, er as coalesceReads, et as ReadDiagnosis, f as MutationStarted, fa as clearStale, fi as removeLayer, fn as pageSchema, fr as NormalizedEntity, ft as StreamHealth, g as QueryInput, ga as hasField, gi as settleSuccess, gn as RefPageValue, gr as QueryRequest, gt as initialRemoteModel, h as QueryEntity, ha as entry, hi as settleFailure, hn as RELATION_ALIAS, hr as QueryEdge, ht as forgetRemote, i as EntityLike, ia as merge, ii as OptimisticOperation, in as RefKey, ir as LiveChange, it as Failures, j as RetainOptions, ji as beginMutation, jn as coalescedLayer, jr as RemoteRpc, jt as retentionRootsSchema, k as RemoteUnsatisfied, ki as SchemaOrFields, kn as RemoteClient, kr as RemoteQueryError, kt as remoteMessageSchema, l as LiveStatus, la as EntityKey, li as connectionIdentity, ln as SelectionValue, lr as Mutate, lt as RemoteMessageInput, m as PersistenceOptions, ma as entityKey, mi as resolvedPatches, mn as unavailableOf, mr as PageSize, mt as failureOf, n as BoundRemote, na as isGapped, ni as ConnectionOverlay, nn as EntityRef, nr as ConnectionChangeSchema, nt as inspectEntity, o as FoldedMutationStarted, oa as terminal, oi as addLayer, on as Page, or as LiveRequirement, ot as PlacementMismatch, p as ObserveOptions, pa as emptyStore, pi as removeOverlay, pn as relationOf, pr as OperationId, pt as emptyRefresh, q as PlanFreshness, qi as Cursor, qn as emptyLiveState, qr as Query, qt as Judged, r as DomainMutateOptions, ra as items, ri as EntityLayer, rn as FieldsFrom, rr as Live, rt as inspectRemote, s as LiveDependencies, sa as unknown, si as addOverlay, sn as Selection, sr as MAX_FIELDS_PER_REQUEST, st as RefreshState, t as ActiveEntry, ta as hasPrevious, ti as ConnectionIdentity, tn as EntityPatch, tr as requirementKey, tt as RemoteInspection, u as ModelOfDomain, ua as EntityStore, ui as emptyOptimistic, un as SelectionValueOf, ur as MutationRequest, ut as RemoteMessageTag, v as QueryProjection, va as isFieldUnavailable, vi as visibleStore, vn as RelationAnnotation, vr as QueryRpc, vt as isFieldFailed, w as Remote, wa as setStale, wi as NormalizedPatch, wn as refParts, wr as RelationRequest, wt as onlyOverlaid, x as ReadDependencies, xa as missingFields, xi as MutationDescriptor, xn as RelationShape, xr as ReadBatch, xt as isQueryLoading, y as QueryRequirement, ya as isTombstone, yi as Mutation, yn as RelationEntityAnnotation, yr as REMOTE_PROTOCOL_VERSION, yt as isLoading, z as httpWithLive, zi as Denied, zn as EntityApplied, zr as RemoteRequirements, zt as Snapshot } from "./index-YyucgTYm.mjs";
|
|
2
2
|
export { ActiveEntry, AnySchema, BatchRead, Belongs, BoundRemote, Boundary, BoundaryCounts, CoalesceOptions, Connection, ConnectionApplied, ConnectionChange, ConnectionChangeSchema, ConnectionIdentity, ConnectionOverlay, ConnectionRequirement, ConnectionRoot, ConnectionSpec, Cursor, Deadline, Denied, DomainMutateOptions, Edge, EdgeRef, Entity, EntityApplied, EntityDescriptor, EntityEntry, EntityKey, EntityLayer, EntityLike, EntityPatch, EntityRef, EntitySelection, EntityStore, EntityWrite, ExplainedDependencies, Failures, FieldsFrom, FoldedMutationStarted, Freshness, IDENTITY_SEPARATOR, Judged, Live, LiveChange, LiveCursor, LiveDependencies, LiveEdge, LiveEvent, type LiveFetchOptions, LiveInsertion, LiveOptions, LiveOutcome, LivePolicy, LiveRequirement, LiveState, LiveStatus, MAX_FIELDS_PER_REQUEST, MAX_RELATION_DEPTH, Matched, MatchingOptions, MergePolicy, ModelOfDomain, Mutate, MutateOptions, Mutation, MutationAnswer, MutationDescriptor, MutationRequest, MutationResult, MutationStarted, MutationState, MutationStatus, NormalizedEntity, NormalizedPatch, ObserveOptions, OperationId, OptimisticOperation, OptimisticState, Page, PageSize, PendingPatch, PersistenceOptions, PlacedOrder, PlacementMismatch, PlanFreshness, PlanOptions, Query, QueryDescriptor, QueryEdge, QueryEntity, QueryExplanation, QueryInput, QueryInputs, QueryOptions, QueryProjection, QueryRef, QueryRequest, QueryRequirement, QueryResult, QueryRpc, QueryRun, QueryWindow, QueryWindowOptions, RELATION_ALIAS, REMOTE_CACHE_VERSION, REMOTE_PROTOCOL_VERSION, Read, ReadBatch, ReadBatchResult, ReadDependencies, ReadDiagnosis, ReadMeta, ReadRequest, Reconciled, RefKey, RefPage, RefPageValue, RefParts, RefreshState, Refusal, RefusalOfWrite, Registered, RelationAnnotation, RelationEntityAnnotation, RelationKind, RelationRequest, RelationRequirement, RelationShape, Remote, RemoteClient, RemoteConnections, RemoteData, RemoteDescriptor, RemoteDomain, RemoteEntry, RemoteError, RemoteFold, RemoteForbidden, RemoteInspection, RemoteJsonAnswer, RemoteJsonRequest, type RemoteJsonSend, RemoteLiveError, RemoteMessage, RemoteMessageInput, RemoteMessageTag, RemoteModel, RemoteMutationError, RemotePersistence, RemotePolicy, RemoteProtocolError, RemoteQueryError, RemoteReadError, RemoteRequirements, type RemoteResumePart, RemoteRpc, RemoteRpcClient, RemoteUnauthenticated, RemoteUnsatisfied, RemoteWiring, Requirement, ResultOf, RetainOptions, Retained, RetentionRoots, RowPlace, SatisfyOptions, SchemaOrFields, Segment, Selection, SelectionOf, SelectionValue, SelectionValueOf, SelectsEntity, SettledFields, Snapshot, SnapshotOptions, StreamHealth, SubscriptionEntries, SubscriptionsOptions, TypeOf, WindowSchema, WireBoundary, addLayer, addOverlay, aliasedField, applyConnectionEvent, applyEntityEvent, assemble, beginMutation, beginOptimistic, belongsEncoded, classifyLive, clearStale, coalesceQueries, coalesceReads, coalescedLayer, connectionChangeOf, connectionIdentity, connectionsOf, cursor, deadlineOf, edge, emptyConnection, emptyLiveState, emptyMutationState, emptyOptimistic, emptyRefresh, emptyStore, entityKey, entry, failMutation, failureOf, forgetRemote, gc, hasField, hasNext, hasPrevious, httpWithLive, initialRemoteModel, inspectEntity, inspectRemote, invalidateConnections, isFieldFailed, isFieldStale, isFieldUnavailable, isGapped, isLoading, isLoadingThrough, isQueryLoading, isRefPage, isRemoteMessage, isTombstone, items, liveEventOf, liveFetch, liveHasNext, liveHasPrevious, markStale, matching, merge, mintOperation, missingFields, mutateRemote, mutationStatus, noFailures, onlyOverlaid, optimisticOfWrite, overlaysOf, pageSchema, patchOfWrite, placeIn, plan, pruneOverlays, reachable, readField, reconcileMutation, refParts, refreshIsInFlight, refreshedAt, refsIn, relationAlias, relationOf, relationShape, remoteDataSchema, remoteError, remoteErrorSchema, remoteMessageCases, remoteMessageSchema, remoteModelSchema, remove, removeLayer, removeOverlay, requirementKey, requirementsOf, resolvedPatches, retentionRootsSchema, schemaOf, segment, setStale, setUnavailable, settleFailure, settleSuccess, stableStringify, targetsOf, terminal, tombstone, unavailableOf, unknown, updateRemote, visibleItems, visibleStore, windowGrowthKey, windowKey, withRefreshRequested, writeEntities, writeEntity, writeRead };
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { J as ConnectionChange, Vt as ConnectionChangeSchema, j as Denied, mt as Entity, xn as IDENTITY_SEPARATOR, Ht as Live, Ut as LiveChange, Wt as LiveEdge, Gt as LiveRequirement, Kt as MAX_FIELDS_PER_REQUEST, qt as MAX_RELATION_DEPTH, Jt as Mutate, wn as Mutation, Yt as MutationRequest, Xt as MutationResult, Zt as NormalizedEntity, Qt as OperationId, $t as PageSize, Sn as Query, en as QueryEdge, tn as QueryRequest, nn as QueryResult, rn as QueryRpc, Zn as RELATION_ALIAS, F as REMOTE_CACHE_VERSION, in as REMOTE_PROTOCOL_VERSION, an as Read, on as ReadBatch, sn as ReadBatchResult, cn as ReadRequest, Tn as Refusal, Qn as RelationAnnotation, $n as RelationEntityAnnotation, ln as RelationRequest, t as Remote, jt as RemoteClient, sr as RemoteConnections, M as RemoteData, un as RemoteForbidden, a as RemoteJsonAnswer, o as RemoteJsonRequest, dn as RemoteLiveError, fn as RemoteMutationError, I as RemotePersistence, s as RemotePolicy, pn as RemoteProtocolError, mn as RemoteQueryError, hn as RemoteReadError, cr as RemoteRequirements, gn as RemoteRpc, _n as RemoteUnauthenticated, n as RemoteUnsatisfied, lr as Requirement, ft as RowPlace, ht as Selection, vn as SettledFields, yn as WindowSchema, bn as WireBoundary, Y as addLayer, X as addOverlay, er as aliasedField, H as applyConnectionEvent, U as applyEntityEvent, gt as assemble, En as beginMutation, Z as beginOptimistic, ut as belongsEncoded, W as classifyLive, Pn as clearStale, Rt as coalesceQueries, zt as coalesceReads, Mt as coalescedLayer, Nt as connectionChangeOf, Q as connectionIdentity, ur as connectionsOf, bt as cursor, z as deadlineOf, xt as edge, St as emptyConnection, G as emptyLiveState, Dn as emptyMutationState, $ as emptyOptimistic, c as emptyRefresh, Fn as emptyStore, In as entityKey, Ln as entry, On as failMutation, l as failureOf, u as forgetRemote, L as gc, Rn as hasField, Ct as hasNext, wt as hasPrevious, r as httpWithLive, d as initialRemoteModel, ct as inspectEntity, lt as inspectRemote, f as invalidateConnections, p as isFieldFailed, zn as isFieldStale, Bn as isFieldUnavailable, Tt as isGapped, m as isLoading, h as isLoadingThrough, g as isQueryLoading, tr as isRefPage, _ as isRemoteMessage, Vn as isTombstone, Et as items, Pt as liveEventOf, i as liveFetch, K as liveHasNext, q as liveHasPrevious, Hn as markStale, dt as matching, Dt as merge, Ft as mintOperation, Un as missingFields, It as mutateRemote, kn as mutationStatus, v as noFailures, y as onlyOverlaid, An as optimisticOfWrite, b as overlaysOf, _t as pageSchema, jn as patchOfWrite, pt as placeIn, B as plan, et as pruneOverlays, R as reachable, Wn as readField, Mn as reconcileMutation, nr as refParts, x as refreshIsInFlight, S as refreshedAt, rr as refsIn, ir as relationAlias, vt as relationOf, ar as relationShape, N as remoteDataSchema, Lt as remoteError, P as remoteErrorSchema, C as remoteMessageCases, w as remoteMessageSchema, T as remoteModelSchema, Gn as remove, tt as removeLayer, nt as removeOverlay, Bt as requirementKey, dr as requirementsOf, rt as resolvedPatches, E as retentionRootsSchema, Nn as schemaOf, Ot as segment, Kn as setStale, qn as setUnavailable, it as settleFailure, at as settleSuccess, Cn as stableStringify, or as targetsOf, kt as terminal, Jn as tombstone, yt as unavailableOf, At as unknown, D as updateRemote, ot as visibleItems, st as visibleStore, O as windowGrowthKey, V as windowKey, k as withRefreshRequested, Yn as writeEntities, Xn as writeEntity, A as writeRead } from "./src-
|
|
1
|
+
export { J as ConnectionChange, Vt as ConnectionChangeSchema, j as Denied, mt as Entity, xn as IDENTITY_SEPARATOR, Ht as Live, Ut as LiveChange, Wt as LiveEdge, Gt as LiveRequirement, Kt as MAX_FIELDS_PER_REQUEST, qt as MAX_RELATION_DEPTH, Jt as Mutate, wn as Mutation, Yt as MutationRequest, Xt as MutationResult, Zt as NormalizedEntity, Qt as OperationId, $t as PageSize, Sn as Query, en as QueryEdge, tn as QueryRequest, nn as QueryResult, rn as QueryRpc, Zn as RELATION_ALIAS, F as REMOTE_CACHE_VERSION, in as REMOTE_PROTOCOL_VERSION, an as Read, on as ReadBatch, sn as ReadBatchResult, cn as ReadRequest, Tn as Refusal, Qn as RelationAnnotation, $n as RelationEntityAnnotation, ln as RelationRequest, t as Remote, jt as RemoteClient, sr as RemoteConnections, M as RemoteData, un as RemoteForbidden, a as RemoteJsonAnswer, o as RemoteJsonRequest, dn as RemoteLiveError, fn as RemoteMutationError, I as RemotePersistence, s as RemotePolicy, pn as RemoteProtocolError, mn as RemoteQueryError, hn as RemoteReadError, cr as RemoteRequirements, gn as RemoteRpc, _n as RemoteUnauthenticated, n as RemoteUnsatisfied, lr as Requirement, ft as RowPlace, ht as Selection, vn as SettledFields, yn as WindowSchema, bn as WireBoundary, Y as addLayer, X as addOverlay, er as aliasedField, H as applyConnectionEvent, U as applyEntityEvent, gt as assemble, En as beginMutation, Z as beginOptimistic, ut as belongsEncoded, W as classifyLive, Pn as clearStale, Rt as coalesceQueries, zt as coalesceReads, Mt as coalescedLayer, Nt as connectionChangeOf, Q as connectionIdentity, ur as connectionsOf, bt as cursor, z as deadlineOf, xt as edge, St as emptyConnection, G as emptyLiveState, Dn as emptyMutationState, $ as emptyOptimistic, c as emptyRefresh, Fn as emptyStore, In as entityKey, Ln as entry, On as failMutation, l as failureOf, u as forgetRemote, L as gc, Rn as hasField, Ct as hasNext, wt as hasPrevious, r as httpWithLive, d as initialRemoteModel, ct as inspectEntity, lt as inspectRemote, f as invalidateConnections, p as isFieldFailed, zn as isFieldStale, Bn as isFieldUnavailable, Tt as isGapped, m as isLoading, h as isLoadingThrough, g as isQueryLoading, tr as isRefPage, _ as isRemoteMessage, Vn as isTombstone, Et as items, Pt as liveEventOf, i as liveFetch, K as liveHasNext, q as liveHasPrevious, Hn as markStale, dt as matching, Dt as merge, Ft as mintOperation, Un as missingFields, It as mutateRemote, kn as mutationStatus, v as noFailures, y as onlyOverlaid, An as optimisticOfWrite, b as overlaysOf, _t as pageSchema, jn as patchOfWrite, pt as placeIn, B as plan, et as pruneOverlays, R as reachable, Wn as readField, Mn as reconcileMutation, nr as refParts, x as refreshIsInFlight, S as refreshedAt, rr as refsIn, ir as relationAlias, vt as relationOf, ar as relationShape, N as remoteDataSchema, Lt as remoteError, P as remoteErrorSchema, C as remoteMessageCases, w as remoteMessageSchema, T as remoteModelSchema, Gn as remove, tt as removeLayer, nt as removeOverlay, Bt as requirementKey, dr as requirementsOf, rt as resolvedPatches, E as retentionRootsSchema, Nn as schemaOf, Ot as segment, Kn as setStale, qn as setUnavailable, it as settleFailure, at as settleSuccess, Cn as stableStringify, or as targetsOf, kt as terminal, Jn as tombstone, yt as unavailableOf, At as unknown, D as updateRemote, ot as visibleItems, st as visibleStore, O as windowGrowthKey, V as windowKey, k as withRefreshRequested, Yn as writeEntities, Xn as writeEntity, A as writeRead } from "./src-lVP_7bf4.mjs";
|
package/dist/port.d.mts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { kn as RemoteClient } from "./index-
|
|
1
|
+
import { kn as RemoteClient } from "./index-YyucgTYm.mjs";
|
|
2
2
|
import { Effect, Layer } from "effect";
|
|
3
3
|
import { RpcClient } from "effect/rpc";
|
|
4
4
|
import * as WorkerRunner from "effect/workers/WorkerRunner";
|
|
5
5
|
import { WorkerError } from "effect/workers/WorkerError";
|
|
6
|
-
//#region src/port.d.ts
|
|
7
6
|
/**
|
|
8
7
|
* Effect's RPC worker protocol over a `MessagePort`: what `port` runs on, for
|
|
9
8
|
* an RPC client of `RemoteRpc` made by hand. `open` is called for each
|
|
@@ -24,5 +23,4 @@ export declare const portRunner: (served: MessagePort) => {
|
|
|
24
23
|
readonly platform: WorkerRunner.WorkerRunnerPlatform['Service'];
|
|
25
24
|
readonly closed: Effect.Effect<void>;
|
|
26
25
|
};
|
|
27
|
-
//#endregion
|
|
28
26
|
//# sourceMappingURL=port.d.mts.map
|
package/dist/port.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"port.d.mts","names":[],"sources":["../src/port.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"port.d.mts","names":[],"sources":["../src/port.ts"],"mappings":";;;;;;;;;;;;qBA8Ca,eAAY,YACX,gBACX,MAAM,MAAM,UAAU,UAAU;;qBAWtB,OAAI,YAAgB,gBAAc,MAAM,MAAM;;;;;;;qBAc9C,aAAU,QACb;WAEC,UAAU,aAAa;WACvB,QAAQ,OAAO"}
|