foldkit-remote 0.18.1 → 0.19.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 +34 -5
- package/dist/{index-86gaaCWm.d.mts → index-Bx_lCC85.d.mts} +125 -16
- package/dist/index-Bx_lCC85.d.mts.map +1 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/port.d.mts +1 -1
- package/dist/port.mjs +1 -1
- package/dist/{src-Cp71fJac.mjs → src-fsYu0YoT.mjs} +118 -20
- package/dist/src-fsYu0YoT.mjs.map +1 -0
- package/package.json +3 -3
- package/dist/index-86gaaCWm.d.mts.map +0 -1
- package/dist/src-Cp71fJac.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -1424,6 +1424,15 @@ effect on rows it did not return.
|
|
|
1424
1424
|
`Unknown` for an id never started here (or settled so long ago it left the
|
|
1425
1425
|
bounded ledger). A retry reuses its id, and the latest outcome wins.
|
|
1426
1426
|
|
|
1427
|
+
A request id names a request to this client only: it is a counter in the
|
|
1428
|
+
Model, so it restarts on reload and two clients' first requests share it. To a
|
|
1429
|
+
server, a mutation is named by its **operation**, an id minted where it is first
|
|
1430
|
+
sent (`crypto.randomUUID()`), unique across clients. A failed request keeps its
|
|
1431
|
+
operation, and a retry with the same `requestId` (`Data.mutate(model, M, input,
|
|
1432
|
+
{ requestId })`) sends it again, so a server that keeps a record of its writes
|
|
1433
|
+
can recognise the retry. After a reload the record of it is gone, and the same
|
|
1434
|
+
request id is a new operation.
|
|
1435
|
+
|
|
1427
1436
|
A mutation can say what the server may refuse it with, as data rather than a
|
|
1428
1437
|
message to parse:
|
|
1429
1438
|
|
|
@@ -1441,7 +1450,14 @@ A mutation can also be a declared write: `Mutation.write(name, write)` over a
|
|
|
1441
1450
|
`foldkit-entity` `Write.update`, `Write.insert` or `Write.delete`. Its input is
|
|
1442
1451
|
the write's, it answers nothing of its own, and `Data.mutate` shows an update's
|
|
1443
1452
|
or an insert's row until the server answers, so it needs no `optimistic` list;
|
|
1444
|
-
a delete shows nothing until its answer removes the row everywhere.
|
|
1453
|
+
a delete shows nothing until its answer removes the row everywhere. An update's
|
|
1454
|
+
`increment` is shown as a prediction: its amount is added to the value the store
|
|
1455
|
+
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 field the
|
|
1457
|
+
client has not read is not guessed; it shows the server's sum when the answer
|
|
1458
|
+
comes. The prediction is never authority: the server decides, and its answer
|
|
1459
|
+
replaces it. The [declared writes guide](../../docs/declared-writes.md) follows
|
|
1460
|
+
one write from here to the statement that lands it. `keys` names the input keys
|
|
1445
1461
|
an author changed: only those are shown, and the request carries them for the
|
|
1446
1462
|
server to write; the input is still sent and validated whole.
|
|
1447
1463
|
|
|
@@ -1454,7 +1470,18 @@ Data.mutate(model, EditProject, { id: 'p1', name: 'Apollo II', status: 'active'
|
|
|
1454
1470
|
```
|
|
1455
1471
|
|
|
1456
1472
|
`Refusal.field(key, reason)` names an input key and why; `Refusal.conflict`
|
|
1457
|
-
says the row moved on
|
|
1473
|
+
says the row moved on, and `Refusal.unmet` that it does not hold what a declared
|
|
1474
|
+
write's `when` asks of it. A `Mutation.write` is refused as unmet only when its
|
|
1475
|
+
write has a `when`, and its `Refusal` type says so: without one it stays
|
|
1476
|
+
`Conflict`, so a match over it needs no `Unmet` arm. `Refusal.invalid` says the
|
|
1477
|
+
row it would leave breaks an invariant of its Entity (`Entity.invariant`): its
|
|
1478
|
+
`rule` and `path`, which a form shows the `message` beside, or none and empty
|
|
1479
|
+
when the invariant reads something the caller may not see. Every
|
|
1480
|
+
`Mutation.write` may be refused so, since the server's Entity may hold
|
|
1481
|
+
invariants the client's does not show. `Refusal.isInvalidBy(refusal, invariant)`
|
|
1482
|
+
asks whether it names one invariant, given as `Entity.invariant` returned it
|
|
1483
|
+
(export it beside the Entity), so its id is never spelled again; an unnamed
|
|
1484
|
+
refusal matches none. The server sends the refusal encoded by this schema and
|
|
1458
1485
|
`Data.refusal` decodes it by the same one; it is none while the mutation is
|
|
1459
1486
|
pending or applied, or when it failed for another reason.
|
|
1460
1487
|
|
|
@@ -2074,9 +2101,11 @@ above.
|
|
|
2074
2101
|
`Remote.mutateInto(bound, model, mutation, input, requestId, { optimistic, now })` is
|
|
2075
2102
|
the one-step imperative start/run/settle form for SSR and tests.
|
|
2076
2103
|
|
|
2077
|
-
`Remote.mutate(mutation, input, requestId)` is the
|
|
2078
|
-
decodes the typed `Output` and returns normalized
|
|
2079
|
-
connection changes for a caller to reduce through
|
|
2104
|
+
`Remote.mutate(mutation, input, requestId, { keys, operation })` is the
|
|
2105
|
+
transport call itself. It decodes the typed `Output` and returns normalized
|
|
2106
|
+
entity patches and confirmed connection changes for a caller to reduce through
|
|
2107
|
+
`updateRemote`. It mints an operation id when none is given; a caller retrying
|
|
2108
|
+
a request passes the one it first sent.
|
|
2080
2109
|
|
|
2081
2110
|
`MutationSucceeded` reconciles at most once per `requestId`; an unknown or
|
|
2082
2111
|
already-applied settlement is a no-op. It carries `now`, the clock reading of
|
|
@@ -1,7 +1,7 @@
|
|
|
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, Dependencies, InputExpr, Query, Write } from "foldkit-entity";
|
|
4
|
+
import { AnyEntity, AnyQuery, AnyWrite, BoundWrite, ConditionedWrite, Dependencies, InputExpr, Invariant, 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";
|
|
@@ -279,12 +279,25 @@ interface NormalizedPatch {
|
|
|
279
279
|
readonly id: string;
|
|
280
280
|
readonly values: Readonly<Record<string, unknown>>;
|
|
281
281
|
}
|
|
282
|
+
/**
|
|
283
|
+
* A patch a pending request shows, and the amounts it moves fields by: each
|
|
284
|
+
* added, whenever the store is read, to the value under it, so a change that
|
|
285
|
+
* reaches the store meanwhile is added to, not hidden.
|
|
286
|
+
*/
|
|
287
|
+
interface PendingPatch extends NormalizedPatch {
|
|
288
|
+
readonly adds?: Readonly<Record<string, number>>;
|
|
289
|
+
}
|
|
282
290
|
interface MutationState {
|
|
283
291
|
readonly pending: ReadonlySet<string>;
|
|
284
292
|
readonly applied: ReadonlySet<string>;
|
|
285
293
|
readonly failed: ReadonlySet<string>;
|
|
286
294
|
/** Why each request in `failed` failed, kept exactly as long as `failed` keeps its id. */
|
|
287
295
|
readonly errors: ReadonlyMap<string, RemoteError>;
|
|
296
|
+
/**
|
|
297
|
+
* The operation id each request in `failed` was sent with, kept as `errors`
|
|
298
|
+
* is: a retry of that request id sends it again, so a server recognises it.
|
|
299
|
+
*/
|
|
300
|
+
readonly operations: ReadonlyMap<string, string>;
|
|
288
301
|
/**
|
|
289
302
|
* How many mutations this model has started. A bound domain takes its next
|
|
290
303
|
* request id from here, so `update` stays pure and the id exists before the
|
|
@@ -294,7 +307,7 @@ interface MutationState {
|
|
|
294
307
|
}
|
|
295
308
|
declare const emptyMutationState: MutationState;
|
|
296
309
|
declare const beginMutation: (state: MutationState, requestId: string) => MutationState;
|
|
297
|
-
declare const failMutation: (state: MutationState, requestId: string, error: RemoteError) => MutationState;
|
|
310
|
+
declare const failMutation: (state: MutationState, requestId: string, error: RemoteError, operation: string) => MutationState;
|
|
298
311
|
/** What Remote knows of one mutation request, by the id `mutate` returned. */
|
|
299
312
|
type MutationStatus =
|
|
300
313
|
/** Never started here, or settled so long ago its id has left the window. */
|
|
@@ -347,6 +360,18 @@ interface MutationDescriptor<Name extends string, Input, Output, Refused = unkno
|
|
|
347
360
|
*/
|
|
348
361
|
readonly write?: AnyWrite | undefined;
|
|
349
362
|
}
|
|
363
|
+
declare const conflict: Schema.TaggedStruct<"Conflict", {}>;
|
|
364
|
+
declare const unmet: Schema.TaggedStruct<"Unmet", {}>;
|
|
365
|
+
/**
|
|
366
|
+
* The row the write would leave breaks one of its Entity's invariants: which
|
|
367
|
+
* one, what to tell the author, and the fields to show it beside. None and
|
|
368
|
+
* empty when the invariant reads a member hidden from whoever asked.
|
|
369
|
+
*/
|
|
370
|
+
declare const invalid: Schema.TaggedStruct<"Invalid", {
|
|
371
|
+
readonly rule: Schema.OptionFromNullOr<Schema.String>;
|
|
372
|
+
readonly message: Schema.String;
|
|
373
|
+
readonly path: Schema.$Array<Schema.String>;
|
|
374
|
+
}>;
|
|
350
375
|
/** Refusals a form or an editor knows how to show. */
|
|
351
376
|
declare const Refusal: {
|
|
352
377
|
/** One input key was refused, for `reason`, which a form shows beside that key. */
|
|
@@ -356,6 +381,14 @@ declare const Refusal: {
|
|
|
356
381
|
}>;
|
|
357
382
|
/** The row moved on since the client read it; the author decides what wins. */
|
|
358
383
|
conflict: Schema.TaggedStruct<"Conflict", {}>;
|
|
384
|
+
/** The row does not hold what the write's `when` asks of it, where it would commit. */
|
|
385
|
+
unmet: Schema.TaggedStruct<"Unmet", {}>;
|
|
386
|
+
/** The row the write would leave breaks an invariant of its Entity. */
|
|
387
|
+
invalid: Schema.TaggedStruct<"Invalid", {
|
|
388
|
+
readonly rule: Schema.OptionFromNullOr<Schema.String>;
|
|
389
|
+
readonly message: Schema.String;
|
|
390
|
+
readonly path: Schema.$Array<Schema.String>;
|
|
391
|
+
}>;
|
|
359
392
|
/** Whether a refusal, of whatever mutation, is a `Refusal.field`. */
|
|
360
393
|
isField: <I>(input: I) => input is I & {
|
|
361
394
|
readonly _tag: "Field";
|
|
@@ -366,7 +399,30 @@ declare const Refusal: {
|
|
|
366
399
|
isConflict: <I>(input: I) => input is I & {
|
|
367
400
|
readonly _tag: "Conflict";
|
|
368
401
|
};
|
|
402
|
+
/** Whether a refusal, of whatever mutation, is `Refusal.unmet`. */
|
|
403
|
+
isUnmet: <I>(input: I) => input is I & {
|
|
404
|
+
readonly _tag: "Unmet";
|
|
405
|
+
};
|
|
406
|
+
/** Whether a refusal, of whatever mutation, is `Refusal.invalid`. */
|
|
407
|
+
isInvalid: <I>(input: I) => input is I & {
|
|
408
|
+
readonly _tag: "Invalid";
|
|
409
|
+
readonly rule: Option.Option<string>;
|
|
410
|
+
readonly message: string;
|
|
411
|
+
readonly path: readonly string[];
|
|
412
|
+
};
|
|
413
|
+
/**
|
|
414
|
+
* Whether a refusal is `Refusal.invalid` naming this invariant: the one
|
|
415
|
+
* `Entity.invariant` returned, or one `Entity.invariants` reads. An invariant
|
|
416
|
+
* over a member hidden from the asker names none, so it matches nothing.
|
|
417
|
+
*/
|
|
418
|
+
isInvalidBy: (refusal: unknown, invariant: Pick<Invariant, 'id'>) => boolean;
|
|
369
419
|
};
|
|
420
|
+
/**
|
|
421
|
+
* What a declared write may be refused with: unmet too, when it has a `when`,
|
|
422
|
+
* and invalid always, since the server's Entity may hold invariants the
|
|
423
|
+
* client's does not show.
|
|
424
|
+
*/
|
|
425
|
+
type RefusalOfWrite<W> = (W extends ConditionedWrite<any, any> ? typeof conflict.Type | typeof unmet.Type : typeof conflict.Type) | typeof invalid.Type;
|
|
370
426
|
/** A codec, or the fields of a `Schema.Struct` where one is expected. */
|
|
371
427
|
type SchemaOrFields = Schema.Codec<any, any, any, any> | Schema.Struct.Fields;
|
|
372
428
|
/** The decoded type of a codec, or of the Struct the fields describe. */
|
|
@@ -381,10 +437,10 @@ declare const patchOfWrite: (bound: BoundWrite) => NormalizedPatch;
|
|
|
381
437
|
/**
|
|
382
438
|
* What a declared write shows before the server answers: an update's or an
|
|
383
439
|
* insert's row as a patch (an update's only for the keys named, when some
|
|
384
|
-
* are). A delete shows nothing, since no operation removes a row from every
|
|
440
|
+
* are), and an update's increments as amounts over the value the store holds. A delete shows nothing, since no operation removes a row from every
|
|
385
441
|
* list it is in; its answer does.
|
|
386
442
|
*/
|
|
387
|
-
declare const optimisticOfWrite: (write: AnyWrite, input: unknown, keys: ReadonlyArray<string> | undefined) => ReadonlyArray<
|
|
443
|
+
declare const optimisticOfWrite: (write: AnyWrite, input: unknown, keys: ReadonlyArray<string> | undefined) => ReadonlyArray<PendingPatch>;
|
|
388
444
|
declare const Mutation: {
|
|
389
445
|
/**
|
|
390
446
|
* Declares a mutation. `Input` and `Output` are codecs, or the fields of the
|
|
@@ -396,10 +452,11 @@ declare const Mutation: {
|
|
|
396
452
|
* A mutation that is a declared `Write` (`update`, `insert` or `delete`): its
|
|
397
453
|
* input is the write's, and it answers nothing but the row it changed, as a
|
|
398
454
|
* patch, or its deletion. It may be refused as a conflict, for a write that
|
|
399
|
-
* `expect`s a revision the row has moved past
|
|
455
|
+
* `expect`s a revision the row has moved past, for a write with a `when` as
|
|
456
|
+
* unmet, and as invalid when the row it would leave breaks an invariant.
|
|
400
457
|
*/
|
|
401
|
-
write: <const Name extends string, Fields extends Schema.Struct.Fields>(name: Name, write: Write<any, Fields>) => MutationDescriptor<Name, Schema.Struct.Type<Fields>, {},
|
|
402
|
-
readonly write:
|
|
458
|
+
write: <const Name extends string, Fields extends Schema.Struct.Fields, W extends Write<any, Fields> = Write<any, Fields>>(name: Name, write: W & Write<any, Fields>) => MutationDescriptor<Name, Schema.Struct.Type<Fields>, {}, RefusalOfWrite<W>> & {
|
|
459
|
+
readonly write: W;
|
|
403
460
|
};
|
|
404
461
|
make: <const Name extends string, Input extends SchemaOrFields, Output extends SchemaOrFields, Refused = never>(name: Name, config: {
|
|
405
462
|
readonly Input: Input;
|
|
@@ -411,7 +468,7 @@ declare const Mutation: {
|
|
|
411
468
|
//#region src/optimistic.d.ts
|
|
412
469
|
interface EntityLayer {
|
|
413
470
|
readonly id: string;
|
|
414
|
-
readonly patches: ReadonlyArray<
|
|
471
|
+
readonly patches: ReadonlyArray<PendingPatch>;
|
|
415
472
|
}
|
|
416
473
|
/**
|
|
417
474
|
* Edges placed outside a connection's server-known region (`prepend`,
|
|
@@ -436,7 +493,7 @@ type ConnectionChange = {
|
|
|
436
493
|
readonly edge: Edge;
|
|
437
494
|
};
|
|
438
495
|
/** What a request changes before the server answers: entity patches and connection changes. */
|
|
439
|
-
type OptimisticOperation =
|
|
496
|
+
type OptimisticOperation = PendingPatch | ConnectionChange;
|
|
440
497
|
/** A connection, by identity string or by anything that carries one (a `QueryRef`). */
|
|
441
498
|
type ConnectionIdentity = string | {
|
|
442
499
|
readonly identity: string;
|
|
@@ -487,6 +544,13 @@ declare const removeOverlay: (optimistic: OptimisticState, id: string) => Optimi
|
|
|
487
544
|
* is dated `Infinity`, so freshness never plans or times it.
|
|
488
545
|
*/
|
|
489
546
|
declare const visibleStore: (base: EntityStore, optimistic: OptimisticState) => EntityStore;
|
|
547
|
+
/**
|
|
548
|
+
* Every pending patch in order, each amount added to the value under it: the
|
|
549
|
+
* store's, or an earlier layer's. A prediction, so only over a number the
|
|
550
|
+
* client holds: a field it has not read, or holds as anything else, keeps
|
|
551
|
+
* what it shows until the server answers with the sum.
|
|
552
|
+
*/
|
|
553
|
+
declare const resolvedPatches: (base: EntityStore, optimistic: OptimisticState) => ReadonlyArray<NormalizedPatch>;
|
|
490
554
|
/**
|
|
491
555
|
* A fresh page is newer than any settled overlay it covers: an edge the page
|
|
492
556
|
* carries no longer needs an insert overlay, and a `remove` overlay hiding it
|
|
@@ -801,9 +865,21 @@ declare const ReadBatchResult: Schema.Struct<{
|
|
|
801
865
|
readonly fields: Schema.$Array<Schema.String>;
|
|
802
866
|
}>>;
|
|
803
867
|
}>;
|
|
868
|
+
/**
|
|
869
|
+
* One operation's identity across every client: minted where it is first sent
|
|
870
|
+
* and sent again with each retry of it. Bounded, since a server keys a record
|
|
871
|
+
* of the write by it.
|
|
872
|
+
*/
|
|
873
|
+
declare const OperationId: Schema.String;
|
|
804
874
|
declare const MutationRequest: Schema.Struct<{
|
|
805
|
-
/**
|
|
875
|
+
/**
|
|
876
|
+
* This client's id for the request, the same on each retry of it. It is
|
|
877
|
+
* unique within one client's Model only (a counter there), so it names a
|
|
878
|
+
* request to that client; `operation` names it to a server.
|
|
879
|
+
*/
|
|
806
880
|
readonly requestId: Schema.String;
|
|
881
|
+
/** The operation's identity across clients: what a server keys a record of the write by. */
|
|
882
|
+
readonly operation: Schema.optional<Schema.String>;
|
|
807
883
|
readonly mutation: Schema.String;
|
|
808
884
|
readonly input: Schema.Unknown;
|
|
809
885
|
/** For a mutation that is a `Write`: the input keys to write, when not all of them. */
|
|
@@ -927,8 +1003,14 @@ declare const Read: Rpc.Rpc<"FoldkitRemoteRead", Schema.Struct<{
|
|
|
927
1003
|
}>>;
|
|
928
1004
|
}>, Schema.Union<readonly [typeof RemoteReadError, typeof RemoteProtocolError, typeof RemoteUnauthenticated]>, never, never>;
|
|
929
1005
|
declare const Mutate: Rpc.Rpc<"FoldkitRemoteMutate", Schema.Struct<{
|
|
930
|
-
/**
|
|
1006
|
+
/**
|
|
1007
|
+
* This client's id for the request, the same on each retry of it. It is
|
|
1008
|
+
* unique within one client's Model only (a counter there), so it names a
|
|
1009
|
+
* request to that client; `operation` names it to a server.
|
|
1010
|
+
*/
|
|
931
1011
|
readonly requestId: Schema.String;
|
|
1012
|
+
/** The operation's identity across clients: what a server keys a record of the write by. */
|
|
1013
|
+
readonly operation: Schema.optional<Schema.String>;
|
|
932
1014
|
readonly mutation: Schema.String;
|
|
933
1015
|
readonly input: Schema.Unknown;
|
|
934
1016
|
/** For a mutation that is a `Write`: the input keys to write, when not all of them. */
|
|
@@ -1171,8 +1253,14 @@ declare const RemoteRpc: RpcGroup.RpcGroup<Rpc.Rpc<"FoldkitRemoteLive", Schema.S
|
|
|
1171
1253
|
readonly cursor: Schema.Number;
|
|
1172
1254
|
readonly connection: Schema.String;
|
|
1173
1255
|
}>]>, Schema.Union<readonly [typeof RemoteLiveError, typeof RemoteProtocolError, typeof RemoteUnauthenticated]>>, Schema.Never, never, never> | Rpc.Rpc<"FoldkitRemoteMutate", Schema.Struct<{
|
|
1174
|
-
/**
|
|
1256
|
+
/**
|
|
1257
|
+
* This client's id for the request, the same on each retry of it. It is
|
|
1258
|
+
* unique within one client's Model only (a counter there), so it names a
|
|
1259
|
+
* request to that client; `operation` names it to a server.
|
|
1260
|
+
*/
|
|
1175
1261
|
readonly requestId: Schema.String;
|
|
1262
|
+
/** The operation's identity across clients: what a server keys a record of the write by. */
|
|
1263
|
+
readonly operation: Schema.optional<Schema.String>;
|
|
1176
1264
|
readonly mutation: Schema.String;
|
|
1177
1265
|
readonly input: Schema.Unknown;
|
|
1178
1266
|
/** For a mutation that is a `Write`: the input keys to write, when not all of them. */
|
|
@@ -1424,11 +1512,24 @@ declare const remoteError: (error: {
|
|
|
1424
1512
|
readonly reason?: string | undefined;
|
|
1425
1513
|
}) => RemoteError;
|
|
1426
1514
|
declare const coalescedLayer: <E, R>(layer: Layer.Layer<RemoteClient, E, R>, options?: CoalesceOptions) => Layer.Layer<RemoteClient, E, R>;
|
|
1515
|
+
/**
|
|
1516
|
+
* A new operation's identity: random, so unique across clients and reloads.
|
|
1517
|
+
* `randomUUID` exists only in a secure context, so a page served over plain
|
|
1518
|
+
* HTTP draws 128 random bits from `getRandomValues`, which exists in all.
|
|
1519
|
+
*/
|
|
1520
|
+
declare const mintOperation: () => string;
|
|
1427
1521
|
/**
|
|
1428
1522
|
* `Remote.mutate` as a standalone effect, so `Remote.mutateInto` can reuse it
|
|
1429
1523
|
* without the object literal referencing itself.
|
|
1430
1524
|
*/
|
|
1431
|
-
declare const mutateRemote: <Name extends string, Input, Output>(mutation: MutationDescriptor<Name, Input, Output, unknown>, input: Input, requestId: string,
|
|
1525
|
+
declare const mutateRemote: <Name extends string, Input, Output>(mutation: MutationDescriptor<Name, Input, Output, unknown>, input: Input, requestId: string, options?: {
|
|
1526
|
+
readonly keys?: ReadonlyArray<string> | undefined;
|
|
1527
|
+
/**
|
|
1528
|
+
* The operation's identity across clients, the same on each retry of it:
|
|
1529
|
+
* minted here when not given, so a retry must pass the one first sent.
|
|
1530
|
+
*/
|
|
1531
|
+
readonly operation?: string | undefined;
|
|
1532
|
+
} | undefined) => Effect.Effect<{
|
|
1432
1533
|
output: Output;
|
|
1433
1534
|
entities: readonly {
|
|
1434
1535
|
readonly entity: string;
|
|
@@ -2127,6 +2228,8 @@ type RemoteMessage = {
|
|
|
2127
2228
|
readonly _tag: 'MutationFailed';
|
|
2128
2229
|
readonly requestId: string;
|
|
2129
2230
|
readonly error: RemoteError;
|
|
2231
|
+
/** The operation id it was sent with, for a retry to send again. */
|
|
2232
|
+
readonly operation: string;
|
|
2130
2233
|
} |
|
|
2131
2234
|
/**
|
|
2132
2235
|
* Operations shown over the store with no request behind them, until they are
|
|
@@ -2296,6 +2399,7 @@ declare const remoteMessageCases: {
|
|
|
2296
2399
|
readonly refusal: Schema.optional<Schema.Unknown>;
|
|
2297
2400
|
readonly reason: Schema.optional<Schema.String>;
|
|
2298
2401
|
}>;
|
|
2402
|
+
operation: Schema.String;
|
|
2299
2403
|
};
|
|
2300
2404
|
OverlayShown: {
|
|
2301
2405
|
id: Schema.String;
|
|
@@ -3516,6 +3620,7 @@ declare const Remote: {
|
|
|
3516
3620
|
readonly refusal: Schema.optional<Schema.Unknown>;
|
|
3517
3621
|
readonly reason: Schema.optional<Schema.String>;
|
|
3518
3622
|
}>;
|
|
3623
|
+
operation: Schema.String;
|
|
3519
3624
|
};
|
|
3520
3625
|
OverlayShown: {
|
|
3521
3626
|
id: Schema.String;
|
|
@@ -3659,6 +3764,7 @@ declare const Remote: {
|
|
|
3659
3764
|
readonly refusal: Schema.optional<Schema.Unknown>;
|
|
3660
3765
|
readonly reason: Schema.optional<Schema.String>;
|
|
3661
3766
|
}>;
|
|
3767
|
+
operation: Schema.String;
|
|
3662
3768
|
};
|
|
3663
3769
|
OverlayShown: {
|
|
3664
3770
|
id: Schema.String;
|
|
@@ -3973,7 +4079,10 @@ declare const Remote: {
|
|
|
3973
4079
|
* returning the result's normalized patches so the caller can reconcile them
|
|
3974
4080
|
* through `updateRemote`'s `MutationSucceeded` (or `Remote.mutateInto`).
|
|
3975
4081
|
*/
|
|
3976
|
-
mutate: <Name extends string, Input, Output>(mutation: MutationDescriptor<Name, Input, Output, unknown>, input: Input, requestId: string,
|
|
4082
|
+
mutate: <Name extends string, Input, Output>(mutation: MutationDescriptor<Name, Input, Output, unknown>, input: Input, requestId: string, options?: {
|
|
4083
|
+
readonly keys?: ReadonlyArray<string> | undefined;
|
|
4084
|
+
readonly operation?: string | undefined;
|
|
4085
|
+
} | undefined) => Effect.Effect<{
|
|
3977
4086
|
output: Output;
|
|
3978
4087
|
entities: readonly {
|
|
3979
4088
|
readonly entity: string;
|
|
@@ -4020,5 +4129,5 @@ declare const Remote: {
|
|
|
4020
4129
|
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>;
|
|
4021
4130
|
};
|
|
4022
4131
|
//#endregion
|
|
4023
|
-
export { QueryExplanation as $,
|
|
4024
|
-
//# sourceMappingURL=index-
|
|
4132
|
+
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-Bx_lCC85.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-Bx_lCC85.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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B,OAAO,OAAO,YAAY,cAAY,SACrC,iCAA+B,6BAEvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuBD,aAAA,qBACA,OACA,QACA,UACA,cAAc,aAAW,OAAA,YAAA,UAAA,gBAAA,OAAA,UAAA,UAAA,mBAAA,MAAA,OAAA,kBAAA,OAAA,OAAA,mBAAA,UAAA,8BAAA,OAAA;;;;;;;;;;;;EAsCzB,UAAA,UACA,cAAc,aACd,sBACA,OACA,gBACA,QACA,UAAU,eAAa,OAEhB,YAAY,UAAU,OAAO,QAAM,SACjC,QAAQ,UAAU,OAAO,gBAAgB,SAAO,QACjD,QAAM,aACF,SAAS,kBAAkB,SAAO,UACrC,mBACR,sBAAsB,UAAU,SAAS,kBAAkB;;;;;;;;;;EAa5D,OAAA,UACA,cAAc,aACd,sBACA,OACA,gBACA,QACA,UAAU,eAAa,OAEhB,YAAY,UAAU,OAAO,QAAM,SACjC,QAAQ,UAAU,OAAO,gBAAgB,SAAO,QACjD,QAAM,aACF,SAAS,kBAAkB,SAAO,UACrC,gBACR,sBAAsB,UAAU,SAAS,kBAAkB"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as QueryExplanation, $i as
|
|
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, OptimisticOperation, OptimisticState, Page, PageSize, 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, 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, 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, retentionRootsSchema, schemaOf, segment, setStale, setUnavailable, settleFailure, settleSuccess, stableStringify, targetsOf, terminal, tombstone, unavailableOf, unknown, updateRemote, visibleItems, visibleStore, windowGrowthKey, windowKey, withRefreshRequested, writeEntities, writeEntity, writeRead };
|
|
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-Bx_lCC85.mjs";
|
|
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,
|
|
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-fsYu0YoT.mjs";
|
package/dist/port.d.mts
CHANGED
package/dist/port.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { gn as RemoteRpc, t as Remote } from "./src-fsYu0YoT.mjs";
|
|
2
2
|
import { Deferred, Effect, Exit, Layer, Queue, Scope } from "effect";
|
|
3
3
|
import { RpcClient } from "effect/rpc";
|
|
4
4
|
import * as Worker from "effect/workers/Worker";
|