foldkit-remote 0.16.0 → 0.18.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 CHANGED
@@ -361,10 +361,18 @@ const overHttp = Remote.clientLayer(
361
361
  ```
362
362
 
363
363
  `headers` is read for each request, so a token that changes reaches the next
364
- call. A 403 whose body does not say `forbidden` itself, as Remote's server's
365
- does, comes from middleware in front of it refusing a session (a bare
366
- `{ error }` included): it fails a mutation as `Forbidden` and any other call
367
- with the status. Neither carries live data. For live data over the same `POST`s,
364
+ call. A 401 fails every call kind, a read, a query, a mutation or a live
365
+ stream, with `_tag: 'Unauthenticated'` (and `reason` when the server gave
366
+ one): the server could not tell who is asking. `RemoteData.denied(error)`
367
+ reads a failure as that or a 403 (`Forbidden`), typed, and as none for any
368
+ other, so a view tells "sign in again" from "could not load" without
369
+ comparing tags. Remote treats it as any failure: a read or query is `Failed`, and a live stream restarts with its
370
+ backoff, refused again each time, until the application signs in again and
371
+ calls `Remote.forget`. A 403 whose body does not
372
+ say `forbidden` itself, as Remote's server's does, comes from middleware in
373
+ front of it refusing a session (a bare `{ error }` included): it fails a
374
+ mutation as `Forbidden` and any other call with the status. A 401 is read the
375
+ same whatever its body says. Neither carries live data. For live data over the same `POST`s,
368
376
  `Remote.httpWithLive` keeps reads, queries, and mutations as `http` sends
369
377
  them and streams live requirements as a `text/event-stream` of changes;
370
378
  [`serveFetch`](../remote-server/README.md#over-fetch-workers) is the other
@@ -147,9 +147,27 @@ interface RemoteError {
147
147
  * decoded, by its mutation, with `Data.refusal`.
148
148
  */
149
149
  readonly refusal?: unknown;
150
- /** Why the server refused who is asking (`_tag: 'Forbidden'`), when it said. */
151
- readonly reason?: string;
150
+ /**
151
+ * Why the server refused who is asking (`_tag: 'Unauthenticated'` or
152
+ * `'Forbidden'`), when it said. Read it with `RemoteData.denied`.
153
+ */
154
+ readonly reason?: string | undefined;
152
155
  }
156
+ /**
157
+ * The server would not answer who is asking: their session ended or was
158
+ * never there (`Unauthenticated`, a 401), or they may not (`Forbidden`, a
159
+ * 403). `reason` is the server's sentence, when it gave one. Not a mutation's
160
+ * declared `refusal`, which the server answered and `Data.refusal` reads.
161
+ */
162
+ declare const Denied: import("foldkit/schema").TaggedUnion<{
163
+ readonly Unauthenticated: {
164
+ reason: Schema.Option<Schema.String>;
165
+ };
166
+ readonly Forbidden: {
167
+ reason: Schema.Option<Schema.String>;
168
+ };
169
+ }>;
170
+ type Denied = typeof Denied.Type;
153
171
  type RemoteData<A> = {
154
172
  readonly _tag: 'Initial';
155
173
  } | {
@@ -239,6 +257,19 @@ declare const RemoteData: {
239
257
  readonly failed: (error: RemoteError) => R;
240
258
  readonly data: (value: A, freshness: Freshness) => R;
241
259
  }) => R;
260
+ /**
261
+ * The denial a failure was, typed, or none for any other failure (a
262
+ * network error, a protocol mismatch): what to read before telling a reader
263
+ * to sign in again.
264
+ *
265
+ * ```ts
266
+ * Option.match(RemoteData.denied(error), {
267
+ * onNone: () => 'Could not load',
268
+ * onSome: Denied.match({ Unauthenticated: () => 'Sign in again', Forbidden: () => 'Not yours' }),
269
+ * })
270
+ * ```
271
+ */
272
+ denied: (error: RemoteError) => Option.Option<Denied>;
242
273
  map: <A, B>(data: RemoteData<A>, f: (value: A) => B) => RemoteData<B>;
243
274
  };
244
275
  //#endregion
@@ -558,8 +589,8 @@ type ResultOf<Result> = Result extends {
558
589
  type RelationalQueryOf<E extends AnyEntity> = ReturnType<typeof Query.from<E>>;
559
590
  declare const Query$1: {
560
591
  from: <E extends AnyEntity>(entity: E) => Query<E>;
561
- where: (...predicates: ReadonlyArray<import("foldkit-entity").Predicate>) => <E extends AnyEntity>(self: Query<E>) => Query<E>;
562
- orderBy: (...terms: ReadonlyArray<import("foldkit-entity").Ordering>) => <E extends AnyEntity>(self: Query<E>) => Query<E>;
592
+ 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>;
593
+ 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>;
563
594
  orderFor: (self: AnyQuery, input: Readonly<Record<string, unknown>>) => ReadonlyArray<import("foldkit-entity").OrderTerm>;
564
595
  placement: (self: AnyQuery, input: Readonly<Record<string, unknown>>) => import("foldkit-entity").Placement;
565
596
  dependencies: (self: AnyQuery) => import("foldkit-entity").QueryDependencies;
@@ -703,6 +734,17 @@ declare const RemoteForbidden_base: Schema.Class<RemoteForbidden, Schema.TaggedS
703
734
  * words for the person who asked; without it the refusal says nothing of why.
704
735
  */
705
736
  declare class RemoteForbidden extends RemoteForbidden_base {}
737
+ declare const RemoteUnauthenticated_base: Schema.Class<RemoteUnauthenticated, Schema.TaggedStruct<"Unauthenticated", {
738
+ readonly message: Schema.String;
739
+ readonly reason: Schema.optional<Schema.String>;
740
+ }>, import("effect/Cause").YieldableError>;
741
+ /**
742
+ * The server could not tell who is asking: a credential was sent and no
743
+ * longer holds, or none was sent where one is needed. Asking again as the
744
+ * same caller is refused again; signing in again is the remedy. `reason` is
745
+ * words for the person who asked; without it the refusal says nothing of why.
746
+ */
747
+ declare class RemoteUnauthenticated extends RemoteUnauthenticated_base {}
706
748
  declare const RemoteLiveError_base: Schema.Class<RemoteLiveError, Schema.TaggedStruct<"RemoteLiveError", {
707
749
  readonly message: Schema.String;
708
750
  }>, import("effect/Cause").YieldableError>;
@@ -883,7 +925,7 @@ declare const Read: Rpc.Rpc<"FoldkitRemoteRead", Schema.Struct<{
883
925
  readonly id: Schema.String;
884
926
  readonly fields: Schema.$Array<Schema.String>;
885
927
  }>>;
886
- }>, Schema.Union<readonly [typeof RemoteReadError, typeof RemoteProtocolError]>, never, never>;
928
+ }>, Schema.Union<readonly [typeof RemoteReadError, typeof RemoteProtocolError, typeof RemoteUnauthenticated]>, never, never>;
887
929
  declare const Mutate: Rpc.Rpc<"FoldkitRemoteMutate", Schema.Struct<{
888
930
  /** Stable across transport retries so a mutation is not applied twice. */
889
931
  readonly requestId: Schema.String;
@@ -922,7 +964,7 @@ declare const Mutate: Rpc.Rpc<"FoldkitRemoteMutate", Schema.Struct<{
922
964
  readonly entity: Schema.String;
923
965
  readonly id: Schema.String;
924
966
  }>>>;
925
- }>, Schema.Union<readonly [typeof RemoteMutationError, typeof RemoteForbidden]>, never, never>;
967
+ }>, Schema.Union<readonly [typeof RemoteMutationError, typeof RemoteForbidden, typeof RemoteUnauthenticated]>, never, never>;
926
968
  declare const Live: Rpc.Rpc<"FoldkitRemoteLive", Schema.Struct<{
927
969
  readonly version: Schema.Number;
928
970
  readonly requirements: Schema.$Array<Schema.Codec<Requirement, Requirement, never, never>>;
@@ -963,7 +1005,7 @@ declare const Live: Rpc.Rpc<"FoldkitRemoteLive", Schema.Struct<{
963
1005
  readonly _tag: Schema.Literal<"ConnectionInvalidate">;
964
1006
  readonly cursor: Schema.Number;
965
1007
  readonly connection: Schema.String;
966
- }>]>, Schema.Union<readonly [typeof RemoteLiveError, typeof RemoteProtocolError]>>, Schema.Never, never, never>;
1008
+ }>]>, Schema.Union<readonly [typeof RemoteLiveError, typeof RemoteProtocolError, typeof RemoteUnauthenticated]>>, Schema.Never, never, never>;
967
1009
  declare const RemoteQueryError_base: Schema.Class<RemoteQueryError, Schema.TaggedStruct<"RemoteQueryError", {
968
1010
  readonly message: Schema.String;
969
1011
  }>, import("effect/Cause").YieldableError>;
@@ -1087,7 +1129,7 @@ declare const QueryRpc: Rpc.Rpc<"FoldkitRemoteQuery", Schema.Struct<{
1087
1129
  readonly id: Schema.String;
1088
1130
  readonly fields: Schema.$Array<Schema.String>;
1089
1131
  }>>>;
1090
- }>, typeof RemoteQueryError, never, never>;
1132
+ }>, Schema.Union<readonly [typeof RemoteQueryError, typeof RemoteUnauthenticated]>, never, never>;
1091
1133
  declare const RemoteRpc: RpcGroup.RpcGroup<Rpc.Rpc<"FoldkitRemoteLive", Schema.Struct<{
1092
1134
  readonly version: Schema.Number;
1093
1135
  readonly requirements: Schema.$Array<Schema.Codec<Requirement, Requirement, never, never>>;
@@ -1128,7 +1170,7 @@ declare const RemoteRpc: RpcGroup.RpcGroup<Rpc.Rpc<"FoldkitRemoteLive", Schema.S
1128
1170
  readonly _tag: Schema.Literal<"ConnectionInvalidate">;
1129
1171
  readonly cursor: Schema.Number;
1130
1172
  readonly connection: Schema.String;
1131
- }>]>, Schema.Union<readonly [typeof RemoteLiveError, typeof RemoteProtocolError]>>, Schema.Never, never, never> | Rpc.Rpc<"FoldkitRemoteMutate", Schema.Struct<{
1173
+ }>]>, Schema.Union<readonly [typeof RemoteLiveError, typeof RemoteProtocolError, typeof RemoteUnauthenticated]>>, Schema.Never, never, never> | Rpc.Rpc<"FoldkitRemoteMutate", Schema.Struct<{
1132
1174
  /** Stable across transport retries so a mutation is not applied twice. */
1133
1175
  readonly requestId: Schema.String;
1134
1176
  readonly mutation: Schema.String;
@@ -1166,7 +1208,7 @@ declare const RemoteRpc: RpcGroup.RpcGroup<Rpc.Rpc<"FoldkitRemoteLive", Schema.S
1166
1208
  readonly entity: Schema.String;
1167
1209
  readonly id: Schema.String;
1168
1210
  }>>>;
1169
- }>, Schema.Union<readonly [typeof RemoteMutationError, typeof RemoteForbidden]>, never, never> | Rpc.Rpc<"FoldkitRemoteQuery", Schema.Struct<{
1211
+ }>, Schema.Union<readonly [typeof RemoteMutationError, typeof RemoteForbidden, typeof RemoteUnauthenticated]>, never, never> | Rpc.Rpc<"FoldkitRemoteQuery", Schema.Struct<{
1170
1212
  readonly query: Schema.String;
1171
1213
  readonly input: Schema.Unknown;
1172
1214
  readonly window: Schema.Struct<{
@@ -1218,7 +1260,7 @@ declare const RemoteRpc: RpcGroup.RpcGroup<Rpc.Rpc<"FoldkitRemoteLive", Schema.S
1218
1260
  readonly id: Schema.String;
1219
1261
  readonly fields: Schema.$Array<Schema.String>;
1220
1262
  }>>>;
1221
- }>, typeof RemoteQueryError, never, never> | Rpc.Rpc<"FoldkitRemoteRead", Schema.Struct<{
1263
+ }>, Schema.Union<readonly [typeof RemoteQueryError, typeof RemoteUnauthenticated]>, never, never> | Rpc.Rpc<"FoldkitRemoteRead", Schema.Struct<{
1222
1264
  readonly version: Schema.Number;
1223
1265
  readonly requests: Schema.$Array<Schema.Codec<Requirement, Requirement, never, never>>;
1224
1266
  }>, Schema.Struct<{
@@ -1232,16 +1274,17 @@ declare const RemoteRpc: RpcGroup.RpcGroup<Rpc.Rpc<"FoldkitRemoteLive", Schema.S
1232
1274
  readonly id: Schema.String;
1233
1275
  readonly fields: Schema.$Array<Schema.String>;
1234
1276
  }>>;
1235
- }>, Schema.Union<readonly [typeof RemoteReadError, typeof RemoteProtocolError]>, never, never>>;
1277
+ }>, Schema.Union<readonly [typeof RemoteReadError, typeof RemoteProtocolError, typeof RemoteUnauthenticated]>, never, never>>;
1236
1278
  //#endregion
1237
1279
  //#region src/coalesce.d.ts
1238
1280
  type Batch = Schema.Schema.Type<typeof ReadBatch>;
1239
1281
  type BatchResult = Schema.Schema.Type<typeof ReadBatchResult>;
1240
- type ReadError = RemoteReadError | RemoteProtocolError;
1282
+ type ReadError = RemoteReadError | RemoteProtocolError | RemoteUnauthenticated;
1283
+ type QueryError = RemoteQueryError | RemoteUnauthenticated;
1241
1284
  type BatchRead = (batch: Batch) => Effect.Effect<BatchResult, ReadError>;
1242
1285
  type QueryRequestValue = Schema.Schema.Type<typeof QueryRequest>;
1243
1286
  type QueryResultValue = Schema.Schema.Type<typeof QueryResult>;
1244
- type QueryRun = (request: QueryRequestValue) => Effect.Effect<QueryResultValue, RemoteQueryError>;
1287
+ type QueryRun = (request: QueryRequestValue) => Effect.Effect<QueryResultValue, QueryError>;
1245
1288
  interface CoalesceOptions {
1246
1289
  /**
1247
1290
  * How long a batch waits to collect more requirements before it runs.
@@ -1341,13 +1384,13 @@ declare const liveHasNext: (connection: Connection, state: LiveState, connection
1341
1384
  //#endregion
1342
1385
  //#region src/client.d.ts
1343
1386
  declare const RemoteClient_base: Context.ServiceClass<RemoteClient, "foldkit-remote/RemoteClient", {
1344
- readonly read: (batch: Schema.Schema.Type<typeof ReadBatch>) => Effect.Effect<Schema.Schema.Type<typeof ReadBatchResult>, RemoteReadError | RemoteProtocolError>;
1345
- readonly query: (request: Schema.Schema.Type<typeof QueryRequest>) => Effect.Effect<Schema.Schema.Type<typeof QueryResult>, RemoteQueryError>;
1346
- readonly mutate: (request: Schema.Schema.Type<typeof MutationRequest>) => Effect.Effect<Schema.Schema.Type<typeof MutationResult>, RemoteMutationError | RemoteForbidden>;
1387
+ readonly read: (batch: Schema.Schema.Type<typeof ReadBatch>) => Effect.Effect<Schema.Schema.Type<typeof ReadBatchResult>, RemoteReadError | RemoteProtocolError | RemoteUnauthenticated>;
1388
+ readonly query: (request: Schema.Schema.Type<typeof QueryRequest>) => Effect.Effect<Schema.Schema.Type<typeof QueryResult>, RemoteQueryError | RemoteUnauthenticated>;
1389
+ readonly mutate: (request: Schema.Schema.Type<typeof MutationRequest>) => Effect.Effect<Schema.Schema.Type<typeof MutationResult>, RemoteMutationError | RemoteForbidden | RemoteUnauthenticated>;
1347
1390
  readonly live: (request: {
1348
1391
  readonly requirements: ReadonlyArray<Requirement>;
1349
1392
  readonly after: LiveCursor;
1350
- }) => Stream.Stream<LiveEvent, RemoteLiveError | RemoteProtocolError>;
1393
+ }) => Stream.Stream<LiveEvent, RemoteLiveError | RemoteProtocolError | RemoteUnauthenticated>;
1351
1394
  }>;
1352
1395
  /**
1353
1396
  * The transport boundary. `foldkit-remote` never talks to a transport directly;
@@ -1365,10 +1408,10 @@ declare class RemoteClient extends RemoteClient_base {}
1365
1408
  * `never` for in-process handlers.
1366
1409
  */
1367
1410
  interface RemoteRpcClient<R = never, TransportError = never> {
1368
- readonly FoldkitRemoteRead: (payload: Schema.Schema.Type<typeof ReadBatch>) => Effect.Effect<Schema.Schema.Type<typeof ReadBatchResult>, RemoteReadError | RemoteProtocolError | TransportError, R>;
1369
- readonly FoldkitRemoteQuery: (payload: Schema.Schema.Type<typeof QueryRequest>) => Effect.Effect<Schema.Schema.Type<typeof QueryResult>, RemoteQueryError | TransportError, R>;
1370
- readonly FoldkitRemoteMutate: (payload: Schema.Schema.Type<typeof MutationRequest>) => Effect.Effect<Schema.Schema.Type<typeof MutationResult>, RemoteMutationError | RemoteForbidden | TransportError, R>;
1371
- readonly FoldkitRemoteLive: (payload: Schema.Schema.Type<typeof LiveRequirement>) => Stream.Stream<Schema.Schema.Type<typeof LiveChange>, RemoteLiveError | RemoteProtocolError | TransportError, R>;
1411
+ readonly FoldkitRemoteRead: (payload: Schema.Schema.Type<typeof ReadBatch>) => Effect.Effect<Schema.Schema.Type<typeof ReadBatchResult>, RemoteReadError | RemoteProtocolError | RemoteUnauthenticated | TransportError, R>;
1412
+ readonly FoldkitRemoteQuery: (payload: Schema.Schema.Type<typeof QueryRequest>) => Effect.Effect<Schema.Schema.Type<typeof QueryResult>, RemoteQueryError | RemoteUnauthenticated | TransportError, R>;
1413
+ readonly FoldkitRemoteMutate: (payload: Schema.Schema.Type<typeof MutationRequest>) => Effect.Effect<Schema.Schema.Type<typeof MutationResult>, RemoteMutationError | RemoteForbidden | RemoteUnauthenticated | TransportError, R>;
1414
+ readonly FoldkitRemoteLive: (payload: Schema.Schema.Type<typeof LiveRequirement>) => Stream.Stream<Schema.Schema.Type<typeof LiveChange>, RemoteLiveError | RemoteProtocolError | RemoteUnauthenticated | TransportError, R>;
1372
1415
  }
1373
1416
  /** Reconstructs the client's `ConnectionChange` from the wire's flattened edge. */
1374
1417
  declare const connectionChangeOf: (change: Schema.Schema.Type<typeof ConnectionChangeSchema>) => ConnectionChange;
@@ -1399,7 +1442,7 @@ declare const mutateRemote: <Name extends string, Input, Output>(mutation: Mutat
1399
1442
  readonly entity: string;
1400
1443
  readonly id: string;
1401
1444
  }[];
1402
- }, RemoteForbidden | RemoteMutationError, RemoteClient>;
1445
+ }, RemoteForbidden | RemoteMutationError | RemoteUnauthenticated, RemoteClient>;
1403
1446
  //#endregion
1404
1447
  //#region src/relation.d.ts
1405
1448
  interface RefParts {
@@ -2671,6 +2714,10 @@ declare const RemoteJsonAnswer: Schema.Union<readonly [Schema.Struct<{
2671
2714
  readonly forbidden: Schema.optional<Schema.Struct<{
2672
2715
  readonly reason: Schema.optional<Schema.String>;
2673
2716
  }>>;
2717
+ /** Who is asking could not be told, with the reason when one was given; a 401. */
2718
+ readonly unauthenticated: Schema.optional<Schema.Struct<{
2719
+ readonly reason: Schema.optional<Schema.String>;
2720
+ }>>;
2674
2721
  }>]>;
2675
2722
  type RemoteJsonAnswer = typeof RemoteJsonAnswer.Type;
2676
2723
  /**
@@ -2682,9 +2729,10 @@ type RemoteJsonSend = (request: string) => Promise<unknown>;
2682
2729
  declare const json: (send: RemoteJsonSend) => RemoteRpcClient;
2683
2730
  /**
2684
2731
  * Remote's client over HTTP: each call a `POST` of the request to `url`, the
2685
- * answer its JSON body whatever its status. A 403 is answered as forbidden
2686
- * unless its body says so itself, as the server's own does: one from
2687
- * middleware in front of Remote (a refused session) may say only `{ error }`.
2732
+ * answer its JSON body whatever its status. A 401 is answered as
2733
+ * unauthenticated, for every call kind, and a 403 as forbidden, whatever the
2734
+ * body says: the server's own says why, and middleware in front of Remote
2735
+ * may say anything.
2688
2736
  * `headers` is read per request, so a token that changes reaches the next
2689
2737
  * call. `fetch` defaults to the global one; pass it to route calls through
2690
2738
  * another implementation in tests.
@@ -2980,7 +3028,7 @@ type LiveStatus =
2980
3028
  };
2981
3029
  interface SubscriptionsOptions extends ObserveOptions, LiveOptions, RetainOptions {}
2982
3030
  /** A Remote domain's wiring for an assembly: it routes Remote's Messages into `reduce`, brings its Subscriptions and contract, and requires `RemoteClient` from the runtime's resources Layer. */
2983
- type RemoteWiring<AppModel> = Wiring<AppModel, RemoteMessage | RemoteMessageInput, RemoteClient>;
3031
+ type RemoteWiring<AppModel> = Wiring<AppModel, RemoteMessage | RemoteMessageInput, RemoteClient, keyof typeof remoteMessageCases>;
2984
3032
  /** What `RemoteDomain.mutate` hands `update`: the Model with the request started, and the Command that settles it. */
2985
3033
  interface MutationStarted<AppModel> {
2986
3034
  readonly model: AppModel;
@@ -3154,7 +3202,7 @@ interface RemoteDomain<AppModel, Store extends RemoteModel, Entities extends rea
3154
3202
  * projection's pending queries first, then the fields it lacks (the pages'
3155
3203
  * items included). For SSR, route or hover prefetch, and tests.
3156
3204
  */
3157
- prefetch<Value>(model: AppModel, projection: Projection<AppModel, Value>, options?: ObserveOptions): Effect.Effect<AppModel, RemoteReadError | RemoteProtocolError | RemoteQueryError, RemoteClient>;
3205
+ prefetch<Value>(model: AppModel, projection: Projection<AppModel, Value>, options?: ObserveOptions): Effect.Effect<AppModel, RemoteReadError | RemoteProtocolError | RemoteQueryError | RemoteUnauthenticated, RemoteClient>;
3158
3206
  /**
3159
3207
  * The Model with everything the active Surfaces read, for a render that
3160
3208
  * fetches nothing (SSR, a prerender). Each pass prefetches every Surface
@@ -3163,9 +3211,11 @@ interface RemoteDomain<AppModel, Store extends RemoteModel, Entities extends rea
3163
3211
  * the same one, when it comes later in `active`). It stops at the first
3164
3212
  * pass that plans nothing, and fails with `RemoteUnsatisfied` when
3165
3213
  * `options.passes` run out first. Reads are cache-first: a field already
3166
- * held is not asked again.
3214
+ * held is not asked again. A server that could not tell who is asking
3215
+ * fails it with `RemoteUnauthenticated`, for the host to answer as it
3216
+ * answers a lost session.
3167
3217
  */
3168
- satisfy(model: AppModel, active: Readonly<Record<string, ActiveEntry<AppModel>>>, options?: SatisfyOptions): Effect.Effect<AppModel, RemoteReadError | RemoteProtocolError | RemoteQueryError | RemoteUnsatisfied, RemoteClient>;
3218
+ satisfy(model: AppModel, active: Readonly<Record<string, ActiveEntry<AppModel>>>, options?: SatisfyOptions): Effect.Effect<AppModel, RemoteReadError | RemoteProtocolError | RemoteQueryError | RemoteUnauthenticated | RemoteUnsatisfied, RemoteClient>;
3169
3219
  /**
3170
3220
  * `satisfy` from `update`, for a destination the reader has not reached:
3171
3221
  * a hover over a link, or a navigation the app expects. `model` is the
@@ -3791,7 +3841,7 @@ declare const Remote: {
3791
3841
  * `policy` decides what a present field means (default cache-first); `now`
3792
3842
  * is the clock it reads, so the planner itself stays pure and time-injected.
3793
3843
  */
3794
- prefetch: <AppModel, Store extends RemoteModel, Value>(bound: BoundRemote<AppModel, Store, string>, model: AppModel, projection: Projection<AppModel, Value>, options?: ObserveOptions | undefined) => Effect.Effect<Readonly<Record<string, EntityEntry>>, RemoteProtocolError | RemoteReadError, RemoteClient>;
3844
+ prefetch: <AppModel, Store extends RemoteModel, Value>(bound: BoundRemote<AppModel, Store, string>, model: AppModel, projection: Projection<AppModel, Value>, options?: ObserveOptions | undefined) => Effect.Effect<Readonly<Record<string, EntityEntry>>, RemoteProtocolError | RemoteReadError | RemoteUnauthenticated, RemoteClient>;
3795
3845
  /**
3796
3846
  * Marks what a projection, or a Surface without params, requires as due again.
3797
3847
  * Called from `update`: every selected field the store holds reads `Refreshing`,
@@ -3911,7 +3961,7 @@ declare const Remote: {
3911
3961
  readonly id: string;
3912
3962
  readonly fields: readonly string[];
3913
3963
  }[] | undefined;
3914
- }, RemoteQueryError, RemoteClient>;
3964
+ }, RemoteQueryError | RemoteUnauthenticated, RemoteClient>;
3915
3965
  /** The `RemoteMessage` that merges a query page into its connection. */
3916
3966
  queryMessage: <Name extends string, Input>(ref: QueryRef<Name, Input>, result: Schema.Schema.Type<typeof QueryResult>, select?: RelationRequirement | undefined, now?: number | undefined) => RemoteMessage;
3917
3967
  /** A pure, serializable view of the whole cache. */
@@ -3937,7 +3987,7 @@ declare const Remote: {
3937
3987
  readonly entity: string;
3938
3988
  readonly id: string;
3939
3989
  }[];
3940
- }, RemoteForbidden | RemoteMutationError, RemoteClient>;
3990
+ }, RemoteForbidden | RemoteMutationError | RemoteUnauthenticated, RemoteClient>;
3941
3991
  /**
3942
3992
  * Runs a mutation and reconciles its patches into a `RemoteModel` in one step,
3943
3993
  * returning the new model alongside the typed Output. The model-level form of
@@ -3948,7 +3998,7 @@ declare const Remote: {
3948
3998
  mutateInto: <Name extends string, Input, Output, AppModel, Store extends RemoteModel>(bound: BoundRemote<AppModel, Store, string>, model: AppModel, mutation: MutationDescriptor<Name, Input, Output, unknown>, input: Input, requestId: string, options?: MutateOptions | undefined) => Effect.Effect<{
3949
3999
  output: Output;
3950
4000
  model: AppModel;
3951
- }, RemoteForbidden | RemoteMutationError, RemoteClient>;
4001
+ }, RemoteForbidden | RemoteMutationError | RemoteUnauthenticated, RemoteClient>;
3952
4002
  /**
3953
4003
  * A Foldkit Subscription entry that plans a Surface's missing fields from the
3954
4004
  * Model and fetches them through `RemoteClient`, emitting a `RemoteMessage`
@@ -3970,5 +4020,5 @@ declare const Remote: {
3970
4020
  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>;
3971
4021
  };
3972
4022
  //#endregion
3973
- export { QueryExplanation as $, terminal as $i, coalesceReads as $n, ConnectionOverlay as $r, Entity$2 as $t, RemoteWiring as A, patchOfWrite as Ai, RemoteRpcClient as An, SettledFields as Ar, remoteModelSchema as At, liveFetch as B, Cursor as Bi, LiveEvent as Bn, ConnectionSpec as Br, SnapshotOptions as Bt, Registered as C, SchemaOrFields as Ci, isRefPage as Cn, RemoteForbidden as Cr, noFailures as Ct, RemoteEntry as D, failMutation as Di, relationShape as Dn, RemoteQueryError as Dr, refreshedAt as Dt, RemoteDomain as E, emptyMutationState as Ei, relationAlias as En, RemoteProtocolError as Er, refreshIsInFlight as Et, SubscriptionsOptions as F, RemoteError as Fi, remoteError as Fn, RemoteConnections as Fr, writeRead as Ft, RemotePolicy as G, edge as Gi, classifyLive as Gn, QueryDescriptor as Gr, reachable as Gt, RemoteJsonRequest as H, EdgeRef as Hi, LiveState as Hn, LiveInsertion as Hr, Retained as Ht, RowPlace as I, remoteDataSchema as Ii, BoundaryCounts as In, RemoteRequirements as Ir, MergePolicy as It, PlanOptions as J, hasPrevious as Ji, liveHasPrevious as Jn, QueryWindow as Jr, Matched as Jt, Deadline as K, emptyConnection as Ki, emptyLiveState as Kn, QueryInputs as Kr, Belongs as Kt, placeIn as L, remoteErrorSchema as Li, ConnectionApplied as Ln, Requirement as Lr, REMOTE_CACHE_VERSION as Lt, SatisfyOptions as M, schemaOf as Mi, connectionChangeOf as Mn, WireBoundary as Mr, updateRemote as Mt, SelectsEntity as N, Freshness as Ni, liveEventOf as Nn, ConnectionRequirement as Nr, windowGrowthKey as Nt, RemoteFold as O, mutationStatus as Oi, targetsOf as On, RemoteReadError as Or, remoteMessageCases as Ot, SubscriptionEntries as P, RemoteData as Pi, mutateRemote as Pn, RelationRequirement as Pr, withRefreshRequested as Pt, ExplainedDependencies as Q, segment as Qi, coalesceQueries as Qn, ConnectionIdentity as Qr, AnySchema as Qt, LiveFetchOptions as R, Boundary as Ri, EntityApplied as Rn, connectionsOf as Rr, RemotePersistence as Rt, ReadMeta as S, Refusal as Si, aliasedField as Sn, RelationRequest as Sr, isRemoteMessage as St, RemoteDescriptor as T, beginMutation as Ti, refsIn as Tn, RemoteMutationError as Tr, overlaysOf as Tt, RemoteJsonSend as U, Segment as Ui, applyConnectionEvent as Un, LivePolicy as Ur, RetentionRoots as Ut, RemoteJsonAnswer as V, Edge as Vi, LiveOutcome as Vn, IDENTITY_SEPARATOR as Vr, ConnectionRoot as Vt, RemoteResumePart as W, cursor as Wi, applyEntityEvent as Wn, Query$1 as Wr, gc as Wt, plan as X, items as Xi, CoalesceOptions as Xn, stableStringify as Xr, belongsEncoded as Xt, deadlineOf as Y, isGapped as Yi, BatchRead as Yn, ResultOf as Yr, MatchingOptions as Yt, windowKey as Z, merge as Zi, QueryRun as Zn, ConnectionChange as Zr, matching as Zt, QueryOptions as _, setStale as _a, MutationDescriptor as _i, RefParts as _n, REMOTE_PROTOCOL_VERSION as _r, invalidateConnections as _t, EntitySelection as a, clearStale as aa, beginOptimistic as ai, RefPage as an, LiveRequirement as ar, PlacedOrder as at, QueryWindowOptions as b, writeEntities as ba, NormalizedPatch as bi, RelationKind as bn, ReadBatchResult as br, isLoadingThrough as bt, LiveOptions as c, entry as ca, pruneOverlays as ci, SelectionOf as cn, Mutate as cr, RemoteMessage as ct, MutateOptions as d, isFieldUnavailable as da, settleFailure as di, assemble as dn, NormalizedEntity as dr, RemoteModel as dt, unknown as ea, EntityLayer as ei, EntityDescriptor as en, requirementKey as er, ReadDiagnosis as et, MutationStarted as f, isTombstone as fa, settleSuccess as fi, pageSchema as fn, PageSize as fr, StreamHealth as ft, QueryInput as g, remove as ga, MutationAnswer as gi, RefPageValue as gn, QueryRpc as gr, initialRemoteModel as gt, QueryEntity as h, readField as ha, Mutation as hi, RELATION_ALIAS as hn, QueryResult as hr, forgetRemote as ht, EntityLike as i, EntityWrite as ia, addOverlay as ii, RefKey as in, LiveEdge as ir, Failures as it, RetainOptions as j, reconcileMutation as ji, coalescedLayer as jn, WindowSchema as jr, retentionRootsSchema as jt, RemoteUnsatisfied as k, optimisticOfWrite as ki, RemoteClient as kn, RemoteRpc as kr, remoteMessageSchema as kt, LiveStatus as l, hasField as la, removeLayer as li, SelectionValue as ln, MutationRequest as lr, RemoteMessageInput as lt, PersistenceOptions as m, missingFields as ma, visibleStore as mi, unavailableOf as mn, QueryRequest as mr, failureOf as mt, BoundRemote as n, EntityKey as na, OptimisticState as ni, EntityRef as nn, Live as nr, inspectEntity as nt, FoldedMutationStarted as o, emptyStore as oa, connectionIdentity as oi, Page as on, MAX_FIELDS_PER_REQUEST as or, PlacementMismatch as ot, ObserveOptions as p, markStale as pa, visibleItems as pi, relationOf as pn, QueryEdge as pr, emptyRefresh as pt, PlanFreshness as q, hasNext as qi, liveHasNext as qn, QueryRef as qr, Judged as qt, DomainMutateOptions as r, EntityStore as ra, addLayer as ri, FieldsFrom as rn, LiveChange as rr, inspectRemote as rt, LiveDependencies as s, entityKey as sa, emptyOptimistic as si, Selection as sn, MAX_RELATION_DEPTH as sr, RefreshState as st, ActiveEntry as t, EntityEntry as ta, OptimisticOperation as ti, EntityPatch as tn, ConnectionChangeSchema as tr, RemoteInspection as tt, ModelOfDomain as u, isFieldStale as ua, removeOverlay as ui, SelectionValueOf as un, MutationResult as ur, RemoteMessageTag as ut, QueryProjection as v, setUnavailable as va, MutationState as vi, RelationAnnotation as vn, Read as vr, isFieldFailed as vt, Remote as w, TypeOf as wi, refParts as wn, RemoteLiveError as wr, onlyOverlaid as wt, ReadDependencies as x, writeEntity as xa, Reconciled as xi, RelationShape as xn, ReadRequest as xr, isQueryLoading as xt, QueryRequirement as y, tombstone as ya, MutationStatus as yi, RelationEntityAnnotation as yn, ReadBatch as yr, isLoading as yt, httpWithLive as z, Connection as zi, LiveCursor as zn, requirementsOf as zr, Snapshot as zt };
3974
- //# sourceMappingURL=index-eVkkbhPA.d.mts.map
4023
+ export { QueryExplanation as $, merge as $i, coalesceReads as $n, ConnectionIdentity as $r, Entity$2 as $t, RemoteWiring as A, optimisticOfWrite as Ai, RemoteRpcClient as An, RemoteUnauthenticated as Ar, remoteModelSchema as At, liveFetch as B, Boundary as Bi, LiveEvent as Bn, requirementsOf as Br, SnapshotOptions as Bt, Registered as C, writeEntity as Ca, Refusal as Ci, isRefPage as Cn, RemoteForbidden as Cr, noFailures as Ct, RemoteEntry as D, emptyMutationState as Di, relationShape as Dn, RemoteQueryError as Dr, refreshedAt as Dt, RemoteDomain as E, beginMutation as Ei, relationAlias as En, RemoteProtocolError as Er, refreshIsInFlight as Et, SubscriptionsOptions as F, Freshness as Fi, remoteError as Fn, RelationRequirement as Fr, writeRead as Ft, RemotePolicy as G, Segment as Gi, classifyLive as Gn, Query$1 as Gr, reachable as Gt, RemoteJsonRequest as H, Cursor as Hi, LiveState as Hn, IDENTITY_SEPARATOR as Hr, Retained as Ht, RowPlace as I, RemoteData as Ii, BoundaryCounts as In, RemoteConnections as Ir, MergePolicy as It, PlanOptions as J, emptyConnection as Ji, liveHasPrevious as Jn, QueryRef as Jr, Matched as Jt, Deadline as K, cursor as Ki, emptyLiveState as Kn, QueryDescriptor as Kr, Belongs as Kt, placeIn as L, RemoteError as Li, ConnectionApplied as Ln, RemoteRequirements as Lr, REMOTE_CACHE_VERSION as Lt, SatisfyOptions as M, reconcileMutation as Mi, connectionChangeOf as Mn, WindowSchema as Mr, updateRemote as Mt, SelectsEntity as N, schemaOf as Ni, liveEventOf as Nn, WireBoundary as Nr, windowGrowthKey as Nt, RemoteFold as O, failMutation as Oi, targetsOf as On, RemoteReadError as Or, remoteMessageCases as Ot, SubscriptionEntries as P, Denied as Pi, mutateRemote as Pn, ConnectionRequirement as Pr, withRefreshRequested as Pt, ExplainedDependencies as Q, items as Qi, coalesceQueries as Qn, ConnectionChange as Qr, AnySchema as Qt, LiveFetchOptions as R, remoteDataSchema as Ri, EntityApplied as Rn, Requirement as Rr, RemotePersistence as Rt, ReadMeta as S, writeEntities as Sa, Reconciled as Si, aliasedField as Sn, RelationRequest as Sr, isRemoteMessage as St, RemoteDescriptor as T, TypeOf as Ti, refsIn as Tn, RemoteMutationError as Tr, overlaysOf as Tt, RemoteJsonSend as U, Edge as Ui, applyConnectionEvent as Un, LiveInsertion as Ur, RetentionRoots as Ut, RemoteJsonAnswer as V, Connection as Vi, LiveOutcome as Vn, ConnectionSpec as Vr, ConnectionRoot as Vt, RemoteResumePart as W, EdgeRef as Wi, applyEntityEvent as Wn, LivePolicy as Wr, gc as Wt, plan as X, hasPrevious as Xi, CoalesceOptions as Xn, ResultOf as Xr, belongsEncoded as Xt, deadlineOf as Y, hasNext as Yi, BatchRead as Yn, QueryWindow as Yr, MatchingOptions as Yt, windowKey as Z, isGapped as Zi, QueryRun as Zn, stableStringify as Zr, matching as Zt, QueryOptions as _, readField as _a, MutationAnswer as _i, RefParts as _n, REMOTE_PROTOCOL_VERSION as _r, invalidateConnections as _t, EntitySelection as a, EntityStore as aa, addOverlay as ai, RefPage as an, LiveRequirement as ar, PlacedOrder as at, QueryWindowOptions as b, setUnavailable as ba, MutationStatus as bi, RelationKind as bn, ReadBatchResult as br, isLoadingThrough as bt, LiveOptions as c, emptyStore as ca, emptyOptimistic as ci, SelectionOf as cn, Mutate as cr, RemoteMessage as ct, MutateOptions as d, hasField as da, removeOverlay as di, assemble as dn, NormalizedEntity as dr, RemoteModel as dt, segment as ea, ConnectionOverlay as ei, EntityDescriptor as en, requirementKey as er, ReadDiagnosis as et, MutationStarted as f, isFieldStale as fa, settleFailure as fi, pageSchema as fn, PageSize as fr, StreamHealth as ft, QueryInput as g, missingFields as ga, Mutation as gi, RefPageValue as gn, QueryRpc as gr, initialRemoteModel as gt, QueryEntity as h, markStale as ha, visibleStore as hi, RELATION_ALIAS as hn, QueryResult as hr, forgetRemote as ht, EntityLike as i, EntityKey as ia, addLayer as ii, RefKey as in, LiveEdge as ir, Failures as it, RetainOptions as j, patchOfWrite as ji, coalescedLayer as jn, SettledFields as jr, retentionRootsSchema as jt, RemoteUnsatisfied as k, mutationStatus as ki, RemoteClient as kn, RemoteRpc as kr, remoteMessageSchema as kt, LiveStatus as l, entityKey as la, pruneOverlays as li, SelectionValue as ln, MutationRequest as lr, RemoteMessageInput as lt, PersistenceOptions as m, isTombstone as ma, visibleItems as mi, unavailableOf as mn, QueryRequest as mr, failureOf as mt, BoundRemote as n, unknown as na, OptimisticOperation as ni, EntityRef as nn, Live as nr, inspectEntity as nt, FoldedMutationStarted as o, EntityWrite as oa, beginOptimistic as oi, Page as on, MAX_FIELDS_PER_REQUEST as or, PlacementMismatch as ot, ObserveOptions as p, isFieldUnavailable as pa, settleSuccess as pi, relationOf as pn, QueryEdge as pr, emptyRefresh as pt, PlanFreshness as q, edge as qi, liveHasNext as qn, QueryInputs as qr, Judged as qt, DomainMutateOptions as r, EntityEntry as ra, OptimisticState as ri, FieldsFrom as rn, LiveChange as rr, inspectRemote as rt, LiveDependencies as s, clearStale as sa, connectionIdentity as si, Selection as sn, MAX_RELATION_DEPTH as sr, RefreshState as st, ActiveEntry as t, terminal as ta, EntityLayer as ti, EntityPatch as tn, ConnectionChangeSchema as tr, RemoteInspection as tt, ModelOfDomain as u, entry as ua, removeLayer as ui, SelectionValueOf as un, MutationResult as ur, RemoteMessageTag as ut, QueryProjection as v, remove as va, MutationDescriptor as vi, RelationAnnotation as vn, Read as vr, isFieldFailed as vt, Remote as w, SchemaOrFields as wi, refParts as wn, RemoteLiveError as wr, onlyOverlaid as wt, ReadDependencies as x, tombstone as xa, NormalizedPatch as xi, RelationShape as xn, ReadRequest as xr, isQueryLoading as xt, QueryRequirement as y, setStale as ya, MutationState as yi, RelationEntityAnnotation as yn, ReadBatch as yr, isLoading as yt, httpWithLive as z, remoteErrorSchema as zi, LiveCursor as zn, connectionsOf as zr, Snapshot as zt };
4024
+ //# sourceMappingURL=index-86gaaCWm.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-86gaaCWm.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,OAAW,aAAW,KAAO,WAAS;;cAQ9C,eAAY,OAAW,aAAW,KAAO,WAAS;;;;;cASlD,YAAS,OACb,aAAW,KACb,WAAS,kBAEb,OAAO;;;;;;;;;cAcG,gBAAa,OACjB,aAAW,KACb,WAAS,QACN,kBAAgB,UACd,SAAS,4BAClB;;;UCrR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AAU,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 terminal, $n as coalesceReads, $r as ConnectionOverlay, $t as Entity, A as RemoteWiring, Ai as patchOfWrite, An as RemoteRpcClient, Ar as SettledFields, At as remoteModelSchema, B as liveFetch, Bi as Cursor, Bn as LiveEvent, Br as ConnectionSpec, Bt as SnapshotOptions, C as Registered, Ci as SchemaOrFields, Cn as isRefPage, Cr as RemoteForbidden, Ct as noFailures, D as RemoteEntry, Di as failMutation, Dn as relationShape, Dr as RemoteQueryError, Dt as refreshedAt, E as RemoteDomain, Ei as emptyMutationState, En as relationAlias, Er as RemoteProtocolError, Et as refreshIsInFlight, F as SubscriptionsOptions, Fi as RemoteError, Fn as remoteError, Fr as RemoteConnections, Ft as writeRead, G as RemotePolicy, Gi as edge, Gn as classifyLive, Gr as QueryDescriptor, Gt as reachable, H as RemoteJsonRequest, Hi as EdgeRef, Hn as LiveState, Hr as LiveInsertion, Ht as Retained, I as RowPlace, Ii as remoteDataSchema, In as BoundaryCounts, Ir as RemoteRequirements, It as MergePolicy, J as PlanOptions, Ji as hasPrevious, Jn as liveHasPrevious, Jr as QueryWindow, Jt as Matched, K as Deadline, Ki as emptyConnection, Kn as emptyLiveState, Kr as QueryInputs, Kt as Belongs, L as placeIn, Li as remoteErrorSchema, Ln as ConnectionApplied, Lr as Requirement, Lt as REMOTE_CACHE_VERSION, M as SatisfyOptions, Mi as schemaOf, Mn as connectionChangeOf, Mr as WireBoundary, Mt as updateRemote, N as SelectsEntity, Ni as Freshness, Nn as liveEventOf, Nr as ConnectionRequirement, Nt as windowGrowthKey, O as RemoteFold, Oi as mutationStatus, On as targetsOf, Or as RemoteReadError, Ot as remoteMessageCases, P as SubscriptionEntries, Pi as RemoteData, Pn as mutateRemote, Pr as RelationRequirement, Pt as withRefreshRequested, Q as ExplainedDependencies, Qi as segment, Qn as coalesceQueries, Qr as ConnectionIdentity, Qt as AnySchema, R as LiveFetchOptions, Ri as Boundary, Rn as EntityApplied, Rr as connectionsOf, Rt as RemotePersistence, S as ReadMeta, Si as Refusal, Sn as aliasedField, Sr as RelationRequest, St as isRemoteMessage, T as RemoteDescriptor, Ti as beginMutation, Tn as refsIn, Tr as RemoteMutationError, Tt as overlaysOf, U as RemoteJsonSend, Ui as Segment, Un as applyConnectionEvent, Ur as LivePolicy, Ut as RetentionRoots, V as RemoteJsonAnswer, Vi as Edge, Vn as LiveOutcome, Vr as IDENTITY_SEPARATOR, Vt as ConnectionRoot, W as RemoteResumePart, Wi as cursor, Wn as applyEntityEvent, Wr as Query, Wt as gc, X as plan, Xi as items, Xn as CoalesceOptions, Xr as stableStringify, Xt as belongsEncoded, Y as deadlineOf, Yi as isGapped, Yn as BatchRead, Yr as ResultOf, Yt as MatchingOptions, Z as windowKey, Zi as merge, Zn as QueryRun, Zr as ConnectionChange, Zt as matching, _ as QueryOptions, _a as setStale, _i as MutationDescriptor, _n as RefParts, _r as REMOTE_PROTOCOL_VERSION, _t as invalidateConnections, a as EntitySelection, aa as clearStale, ai as beginOptimistic, an as RefPage, ar as LiveRequirement, at as PlacedOrder, b as QueryWindowOptions, ba as writeEntities, bi as NormalizedPatch, bn as RelationKind, br as ReadBatchResult, bt as isLoadingThrough, c as LiveOptions, ca as entry, ci as pruneOverlays, cn as SelectionOf, cr as Mutate, ct as RemoteMessage, d as MutateOptions, da as isFieldUnavailable, di as settleFailure, dn as assemble, dr as NormalizedEntity, dt as RemoteModel, ea as unknown, ei as EntityLayer, en as EntityDescriptor, er as requirementKey, et as ReadDiagnosis, f as MutationStarted, fa as isTombstone, fi as settleSuccess, fn as pageSchema, fr as PageSize, ft as StreamHealth, g as QueryInput, ga as remove, gi as MutationAnswer, gn as RefPageValue, gr as QueryRpc, gt as initialRemoteModel, h as QueryEntity, ha as readField, hi as Mutation, hn as RELATION_ALIAS, hr as QueryResult, ht as forgetRemote, i as EntityLike, ia as EntityWrite, ii as addOverlay, in as RefKey, ir as LiveEdge, it as Failures, j as RetainOptions, ji as reconcileMutation, jn as coalescedLayer, jr as WindowSchema, jt as retentionRootsSchema, k as RemoteUnsatisfied, ki as optimisticOfWrite, kn as RemoteClient, kr as RemoteRpc, kt as remoteMessageSchema, l as LiveStatus, la as hasField, li as removeLayer, ln as SelectionValue, lr as MutationRequest, lt as RemoteMessageInput, m as PersistenceOptions, ma as missingFields, mi as visibleStore, mn as unavailableOf, mr as QueryRequest, mt as failureOf, n as BoundRemote, na as EntityKey, ni as OptimisticState, nn as EntityRef, nr as Live, nt as inspectEntity, o as FoldedMutationStarted, oa as emptyStore, oi as connectionIdentity, on as Page, or as MAX_FIELDS_PER_REQUEST, ot as PlacementMismatch, p as ObserveOptions, pa as markStale, pi as visibleItems, pn as relationOf, pr as QueryEdge, pt as emptyRefresh, q as PlanFreshness, qi as hasNext, qn as liveHasNext, qr as QueryRef, qt as Judged, r as DomainMutateOptions, ra as EntityStore, ri as addLayer, rn as FieldsFrom, rr as LiveChange, rt as inspectRemote, s as LiveDependencies, sa as entityKey, si as emptyOptimistic, sn as Selection, sr as MAX_RELATION_DEPTH, st as RefreshState, t as ActiveEntry, ta as EntityEntry, ti as OptimisticOperation, tn as EntityPatch, tr as ConnectionChangeSchema, tt as RemoteInspection, u as ModelOfDomain, ua as isFieldStale, ui as removeOverlay, un as SelectionValueOf, ur as MutationResult, ut as RemoteMessageTag, v as QueryProjection, va as setUnavailable, vi as MutationState, vn as RelationAnnotation, vr as Read, vt as isFieldFailed, w as Remote, wi as TypeOf, wn as refParts, wr as RemoteLiveError, wt as onlyOverlaid, x as ReadDependencies, xa as writeEntity, xi as Reconciled, xn as RelationShape, xr as ReadRequest, xt as isQueryLoading, y as QueryRequirement, ya as tombstone, yi as MutationStatus, yn as RelationEntityAnnotation, yr as ReadBatch, yt as isLoading, z as httpWithLive, zi as Connection, zn as LiveCursor, zr as requirementsOf, zt as Snapshot } from "./index-eVkkbhPA.mjs";
2
- export { ActiveEntry, AnySchema, BatchRead, Belongs, BoundRemote, Boundary, BoundaryCounts, CoalesceOptions, Connection, ConnectionApplied, ConnectionChange, ConnectionChangeSchema, ConnectionIdentity, ConnectionOverlay, ConnectionRequirement, ConnectionRoot, ConnectionSpec, Cursor, Deadline, 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, 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 merge, $n as coalesceReads, $r as ConnectionIdentity, $t as Entity, A as RemoteWiring, Ai as optimisticOfWrite, An as RemoteRpcClient, Ar as RemoteUnauthenticated, At as remoteModelSchema, B as liveFetch, Bi as Boundary, Bn as LiveEvent, Br as requirementsOf, Bt as SnapshotOptions, C as Registered, Ca as writeEntity, Ci as Refusal, Cn as isRefPage, Cr as RemoteForbidden, Ct as noFailures, D as RemoteEntry, Di as emptyMutationState, Dn as relationShape, Dr as RemoteQueryError, Dt as refreshedAt, E as RemoteDomain, Ei as beginMutation, En as relationAlias, Er as RemoteProtocolError, Et as refreshIsInFlight, F as SubscriptionsOptions, Fi as Freshness, Fn as remoteError, Fr as RelationRequirement, Ft as writeRead, G as RemotePolicy, Gi as Segment, Gn as classifyLive, Gr as Query, Gt as reachable, H as RemoteJsonRequest, Hi as Cursor, Hn as LiveState, Hr as IDENTITY_SEPARATOR, Ht as Retained, I as RowPlace, Ii as RemoteData, In as BoundaryCounts, Ir as RemoteConnections, It as MergePolicy, J as PlanOptions, Ji as emptyConnection, Jn as liveHasPrevious, Jr as QueryRef, Jt as Matched, K as Deadline, Ki as cursor, Kn as emptyLiveState, Kr as QueryDescriptor, Kt as Belongs, L as placeIn, Li as RemoteError, Ln as ConnectionApplied, Lr as RemoteRequirements, Lt as REMOTE_CACHE_VERSION, M as SatisfyOptions, Mi as reconcileMutation, Mn as connectionChangeOf, Mr as WindowSchema, Mt as updateRemote, N as SelectsEntity, Ni as schemaOf, Nn as liveEventOf, Nr as WireBoundary, Nt as windowGrowthKey, O as RemoteFold, Oi as failMutation, On as targetsOf, Or as RemoteReadError, Ot as remoteMessageCases, P as SubscriptionEntries, Pi as Denied, Pn as mutateRemote, Pr as ConnectionRequirement, Pt as withRefreshRequested, Q as ExplainedDependencies, Qi as items, Qn as coalesceQueries, Qr as ConnectionChange, Qt as AnySchema, R as LiveFetchOptions, Ri as remoteDataSchema, Rn as EntityApplied, Rr as Requirement, Rt as RemotePersistence, S as ReadMeta, Sa as writeEntities, Si as Reconciled, Sn as aliasedField, Sr as RelationRequest, St as isRemoteMessage, T as RemoteDescriptor, Ti as TypeOf, Tn as refsIn, Tr as RemoteMutationError, Tt as overlaysOf, U as RemoteJsonSend, Ui as Edge, Un as applyConnectionEvent, Ur as LiveInsertion, Ut as RetentionRoots, V as RemoteJsonAnswer, Vi as Connection, Vn as LiveOutcome, Vr as ConnectionSpec, Vt as ConnectionRoot, W as RemoteResumePart, Wi as EdgeRef, Wn as applyEntityEvent, Wr as LivePolicy, Wt as gc, X as plan, Xi as hasPrevious, Xn as CoalesceOptions, Xr as ResultOf, Xt as belongsEncoded, Y as deadlineOf, Yi as hasNext, Yn as BatchRead, Yr as QueryWindow, Yt as MatchingOptions, Z as windowKey, Zi as isGapped, Zn as QueryRun, Zr as stableStringify, Zt as matching, _ as QueryOptions, _a as readField, _i as MutationAnswer, _n as RefParts, _r as REMOTE_PROTOCOL_VERSION, _t as invalidateConnections, a as EntitySelection, aa as EntityStore, ai as addOverlay, an as RefPage, ar as LiveRequirement, at as PlacedOrder, b as QueryWindowOptions, ba as setUnavailable, bi as MutationStatus, bn as RelationKind, br as ReadBatchResult, bt as isLoadingThrough, c as LiveOptions, ca as emptyStore, ci as emptyOptimistic, cn as SelectionOf, cr as Mutate, ct as RemoteMessage, d as MutateOptions, da as hasField, di as removeOverlay, dn as assemble, dr as NormalizedEntity, dt as RemoteModel, ea as segment, ei as ConnectionOverlay, en as EntityDescriptor, er as requirementKey, et as ReadDiagnosis, f as MutationStarted, fa as isFieldStale, fi as settleFailure, fn as pageSchema, fr as PageSize, ft as StreamHealth, g as QueryInput, ga as missingFields, gi as Mutation, gn as RefPageValue, gr as QueryRpc, gt as initialRemoteModel, h as QueryEntity, ha as markStale, hi as visibleStore, hn as RELATION_ALIAS, hr as QueryResult, ht as forgetRemote, i as EntityLike, ia as EntityKey, ii as addLayer, in as RefKey, ir as LiveEdge, it as Failures, j as RetainOptions, ji as patchOfWrite, jn as coalescedLayer, jr as SettledFields, jt as retentionRootsSchema, k as RemoteUnsatisfied, ki as mutationStatus, kn as RemoteClient, kr as RemoteRpc, kt as remoteMessageSchema, l as LiveStatus, la as entityKey, li as pruneOverlays, ln as SelectionValue, lr as MutationRequest, lt as RemoteMessageInput, m as PersistenceOptions, ma as isTombstone, mi as visibleItems, mn as unavailableOf, mr as QueryRequest, mt as failureOf, n as BoundRemote, na as unknown, ni as OptimisticOperation, nn as EntityRef, nr as Live, nt as inspectEntity, o as FoldedMutationStarted, oa as EntityWrite, oi as beginOptimistic, on as Page, or as MAX_FIELDS_PER_REQUEST, ot as PlacementMismatch, p as ObserveOptions, pa as isFieldUnavailable, pi as settleSuccess, pn as relationOf, pr as QueryEdge, pt as emptyRefresh, q as PlanFreshness, qi as edge, qn as liveHasNext, qr as QueryInputs, qt as Judged, r as DomainMutateOptions, ra as EntityEntry, ri as OptimisticState, rn as FieldsFrom, rr as LiveChange, rt as inspectRemote, s as LiveDependencies, sa as clearStale, si as connectionIdentity, sn as Selection, sr as MAX_RELATION_DEPTH, st as RefreshState, t as ActiveEntry, ta as terminal, ti as EntityLayer, tn as EntityPatch, tr as ConnectionChangeSchema, tt as RemoteInspection, u as ModelOfDomain, ua as entry, ui as removeLayer, un as SelectionValueOf, ur as MutationResult, ut as RemoteMessageTag, v as QueryProjection, va as remove, vi as MutationDescriptor, vn as RelationAnnotation, vr as Read, vt as isFieldFailed, w as Remote, wi as SchemaOrFields, wn as refParts, wr as RemoteLiveError, wt as onlyOverlaid, x as ReadDependencies, xa as tombstone, xi as NormalizedPatch, xn as RelationShape, xr as ReadRequest, xt as isQueryLoading, y as QueryRequirement, ya as setStale, yi as MutationState, yn as RelationEntityAnnotation, yr as ReadBatch, yt as isLoading, z as httpWithLive, zi as remoteErrorSchema, zn as LiveCursor, zr as connectionsOf, zt as Snapshot } from "./index-86gaaCWm.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, 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 };
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- export { q as ConnectionChange, Rt as ConnectionChangeSchema, ft as Entity, gn as IDENTITY_SEPARATOR, zt as Live, Bt as LiveChange, Vt as LiveEdge, Ht as LiveRequirement, Ut as MAX_FIELDS_PER_REQUEST, Wt as MAX_RELATION_DEPTH, Gt as Mutate, yn as Mutation, Kt as MutationRequest, qt as MutationResult, Jt as NormalizedEntity, Yt as PageSize, _n as Query, Xt as QueryEdge, Zt as QueryRequest, Qt as QueryResult, $t as QueryRpc, Kn as RELATION_ALIAS, P as REMOTE_CACHE_VERSION, en as REMOTE_PROTOCOL_VERSION, tn as Read, nn as ReadBatch, rn as ReadBatchResult, in as ReadRequest, bn as Refusal, qn as RelationAnnotation, Jn as RelationEntityAnnotation, an as RelationRequest, t as Remote, kt as RemoteClient, nr as RemoteConnections, j as RemoteData, on as RemoteForbidden, a as RemoteJsonAnswer, o as RemoteJsonRequest, sn as RemoteLiveError, cn as RemoteMutationError, F as RemotePersistence, s as RemotePolicy, ln as RemoteProtocolError, un as RemoteQueryError, dn as RemoteReadError, rr as RemoteRequirements, fn as RemoteRpc, n as RemoteUnsatisfied, ir as Requirement, ut as RowPlace, pt as Selection, pn as SettledFields, mn as WindowSchema, hn as WireBoundary, J as addLayer, Y as addOverlay, Yn as aliasedField, V as applyConnectionEvent, H as applyEntityEvent, mt as assemble, xn as beginMutation, X as beginOptimistic, ct as belongsEncoded, U as classifyLive, kn as clearStale, Ft as coalesceQueries, It as coalesceReads, At as coalescedLayer, jt as connectionChangeOf, Z as connectionIdentity, ar as connectionsOf, vt as cursor, R as deadlineOf, yt as edge, bt as emptyConnection, W as emptyLiveState, Sn as emptyMutationState, Q as emptyOptimistic, c as emptyRefresh, An as emptyStore, jn as entityKey, Mn as entry, Cn as failMutation, l as failureOf, u as forgetRemote, I as gc, Nn as hasField, xt as hasNext, St as hasPrevious, r as httpWithLive, d as initialRemoteModel, ot as inspectEntity, st as inspectRemote, f as invalidateConnections, p as isFieldFailed, Pn as isFieldStale, Fn as isFieldUnavailable, Ct as isGapped, m as isLoading, h as isLoadingThrough, g as isQueryLoading, Xn as isRefPage, _ as isRemoteMessage, In as isTombstone, wt as items, Mt as liveEventOf, i as liveFetch, G as liveHasNext, K as liveHasPrevious, Ln as markStale, lt as matching, Tt as merge, Rn as missingFields, Nt as mutateRemote, wn as mutationStatus, v as noFailures, y as onlyOverlaid, Tn as optimisticOfWrite, b as overlaysOf, ht as pageSchema, En as patchOfWrite, dt as placeIn, z as plan, $ as pruneOverlays, L as reachable, zn as readField, Dn as reconcileMutation, Zn as refParts, x as refreshIsInFlight, S as refreshedAt, Qn as refsIn, $n as relationAlias, gt as relationOf, er as relationShape, M as remoteDataSchema, Pt as remoteError, N as remoteErrorSchema, C as remoteMessageCases, w as remoteMessageSchema, T as remoteModelSchema, Bn as remove, et as removeLayer, tt as removeOverlay, Lt as requirementKey, or as requirementsOf, E as retentionRootsSchema, On as schemaOf, Et as segment, Vn as setStale, Hn as setUnavailable, nt as settleFailure, rt as settleSuccess, vn as stableStringify, tr as targetsOf, Dt as terminal, Un as tombstone, _t as unavailableOf, Ot as unknown, D as updateRemote, it as visibleItems, at as visibleStore, O as windowGrowthKey, B as windowKey, k as withRefreshRequested, Wn as writeEntities, Gn as writeEntity, A as writeRead } from "./src-oVKXbiTu.mjs";
1
+ export { J as ConnectionChange, zt as ConnectionChangeSchema, j as Denied, pt as Entity, vn as IDENTITY_SEPARATOR, Bt as Live, Vt as LiveChange, Ht as LiveEdge, Ut as LiveRequirement, Wt as MAX_FIELDS_PER_REQUEST, Gt as MAX_RELATION_DEPTH, Kt as Mutate, xn as Mutation, qt as MutationRequest, Jt as MutationResult, Yt as NormalizedEntity, Xt as PageSize, yn as Query, Zt as QueryEdge, Qt as QueryRequest, $t as QueryResult, en as QueryRpc, Jn as RELATION_ALIAS, F as REMOTE_CACHE_VERSION, tn as REMOTE_PROTOCOL_VERSION, nn as Read, rn as ReadBatch, in as ReadBatchResult, an as ReadRequest, Sn as Refusal, Yn as RelationAnnotation, Xn as RelationEntityAnnotation, on as RelationRequest, t as Remote, At as RemoteClient, ir as RemoteConnections, M as RemoteData, sn as RemoteForbidden, a as RemoteJsonAnswer, o as RemoteJsonRequest, cn as RemoteLiveError, ln as RemoteMutationError, I as RemotePersistence, s as RemotePolicy, un as RemoteProtocolError, dn as RemoteQueryError, fn as RemoteReadError, ar as RemoteRequirements, pn as RemoteRpc, mn as RemoteUnauthenticated, n as RemoteUnsatisfied, or as Requirement, dt as RowPlace, mt as Selection, hn as SettledFields, gn as WindowSchema, _n as WireBoundary, Y as addLayer, X as addOverlay, Zn as aliasedField, H as applyConnectionEvent, U as applyEntityEvent, ht as assemble, Cn as beginMutation, Z as beginOptimistic, lt as belongsEncoded, W as classifyLive, jn as clearStale, It as coalesceQueries, Lt as coalesceReads, jt as coalescedLayer, Mt as connectionChangeOf, Q as connectionIdentity, sr as connectionsOf, yt as cursor, z as deadlineOf, bt as edge, xt as emptyConnection, G as emptyLiveState, wn as emptyMutationState, $ as emptyOptimistic, c as emptyRefresh, Mn as emptyStore, Nn as entityKey, Pn as entry, Tn as failMutation, l as failureOf, u as forgetRemote, L as gc, Fn as hasField, St as hasNext, Ct as hasPrevious, r as httpWithLive, d as initialRemoteModel, st as inspectEntity, ct as inspectRemote, f as invalidateConnections, p as isFieldFailed, In as isFieldStale, Ln as isFieldUnavailable, wt as isGapped, m as isLoading, h as isLoadingThrough, g as isQueryLoading, Qn as isRefPage, _ as isRemoteMessage, Rn as isTombstone, Tt as items, Nt as liveEventOf, i as liveFetch, K as liveHasNext, q as liveHasPrevious, zn as markStale, ut as matching, Et as merge, Bn as missingFields, Pt as mutateRemote, En as mutationStatus, v as noFailures, y as onlyOverlaid, Dn as optimisticOfWrite, b as overlaysOf, gt as pageSchema, On as patchOfWrite, ft as placeIn, B as plan, et as pruneOverlays, R as reachable, Vn as readField, kn as reconcileMutation, $n as refParts, x as refreshIsInFlight, S as refreshedAt, er as refsIn, tr as relationAlias, _t as relationOf, nr as relationShape, N as remoteDataSchema, Ft as remoteError, P as remoteErrorSchema, C as remoteMessageCases, w as remoteMessageSchema, T as remoteModelSchema, Hn as remove, tt as removeLayer, nt as removeOverlay, Rt as requirementKey, cr as requirementsOf, E as retentionRootsSchema, An as schemaOf, Dt as segment, Un as setStale, Wn as setUnavailable, rt as settleFailure, it as settleSuccess, bn as stableStringify, rr as targetsOf, Ot as terminal, Gn as tombstone, vt as unavailableOf, kt as unknown, D as updateRemote, at as visibleItems, ot as visibleStore, O as windowGrowthKey, V as windowKey, k as withRefreshRequested, Kn as writeEntities, qn as writeEntity, A as writeRead } from "./src-Cp71fJac.mjs";
package/dist/port.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { kn as RemoteClient } from "./index-eVkkbhPA.mjs";
1
+ import { kn as RemoteClient } from "./index-86gaaCWm.mjs";
2
2
  import { Effect, Layer } from "effect";
3
3
  import { RpcClient } from "effect/rpc";
4
4
  import * as WorkerRunner from "effect/workers/WorkerRunner";
package/dist/port.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { fn as RemoteRpc, t as Remote } from "./src-oVKXbiTu.mjs";
1
+ import { pn as RemoteRpc, t as Remote } from "./src-Cp71fJac.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";