@confect/react 10.0.0-next.15 → 10.0.0-next.18

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/CHANGELOG.md CHANGED
@@ -1,5 +1,148 @@
1
1
  # @confect/react
2
2
 
3
+ ## 10.0.0-next.18
4
+
5
+ ## 10.0.0-next.17
6
+
7
+ ### Patch Changes
8
+
9
+ - 8e4962e: Raise the required `effect` peer version to `^4.0.0-rc.111` (from `^4.0.0-rc.110`), and `@confect/server`'s optional `@effect/platform-node` peer version likewise.
10
+
11
+ No Confect API changed, and no call-site edits are needed. `rc.111` is a patch release of Effect with nothing removed or renamed, so upgrading is a matter of installing it alongside `@confect/*`.
12
+
13
+ ## 10.0.0-next.16
14
+
15
+ ### Major Changes
16
+
17
+ - Migrate to Effect v4. All `@confect/*` packages now require `effect@^4.0.0-beta.97`; `@effect/platform` and `@effect/cli` are no longer dependencies (their functionality moved into `effect` core and `effect/unstable/*`).
18
+
19
+ Breaking changes for users:
20
+
21
+ - **Schemas** follow Effect v4's Schema API: `Schema.Union([a, b])` (array form), `Schema.Literals([...])` for literal unions, `Schema.optionalKey` in place of `optionalWith({ exact: true })`, and checks like `Schema.String.check(Schema.isMaxLength(...))` in place of piped filters.
22
+ - **Option-returning functions** must use a codec with a serializable encoded form, such as `Schema.OptionFromNullOr(...)` — v4's `Schema.Option` encodes to an `Option` instance, which is not a Convex value.
23
+ - **Table schemas** may now be transformations (`Schema.decodeTo` chains, `Schema.encodeKeys`), branded structs, suspended schemas, or unions of these — Convex's system fields are carried through the whole encoding chain. Schemas that do not resolve to an object shape at every step (such as `Schema.Class`) are rejected with a descriptive error when the table is defined.
24
+ - **Clients**: decode failures surface as `SchemaError` rather than `ParseError` in `@confect/js` and `@confect/react`, and `@confect/react`'s `useMutation`/`useAction` handles with an `error` schema now resolve to `Result` (v4's replacement for `Either`).
25
+ - **HTTP** is now mounted through the renamed `HttpRouter` module (formerly `HttpApi`). `HttpRouter.make(routes)` takes a single route-registering `Layer` composed from Effect's own `effect/unstable/http` and `effect/unstable/httpapi` modules — `HttpApiBuilder.layer(api)` (with group handler layers supplied via `Layer.provide`; a missing group is a compile-time error), `HttpApiScalar.layer` for docs, `HttpRouter.add` for plain routes, and `HttpRouter.middleware(fn, { global: true })` for middleware, merged with `Layer.mergeAll`. The per-path-prefix record and its `api`/`apiLive`/`middleware`/`scalar` options are gone; Confect registers one catch-all Convex HTTP action at `/`, and plain Convex routes added to the returned router still take precedence. Handlers, middleware, and route-layer construction all run with Confect's Convex-aware `ConfigProvider` in context.
26
+ - **Node actions** use `effect/unstable/process` (`ChildProcessSpawner`) and `@effect/platform-node`'s `NodeServices` in place of `@effect/platform` `Command`/`NodeContext`.
27
+ - **Configuration**: Confect's Convex-aware `ConfigProvider` treats empty-string environment variables as missing values (matching Effect v4's built-in providers), so `Config.withDefault` and `Config.option` recover from them.
28
+ - **CLI**: a malformed `convex.json` now fails codegen with a descriptive error instead of being silently ignored.
29
+ - Confect queries no longer stub the global `Date.now`. Queries run with a `Clock` whose unsafe accessors return constants, so Effect-internal reads (log timestamps, spans) never evict a query from Convex's cache; explicit time reads — `Clock.currentTimeMillis`/`currentTimeNanos` or a raw `Date.now()` call — opt the query out and evict as they honestly should.
30
+
31
+ ### Patch Changes
32
+
33
+ - Raise the required `effect` peer version to `^4.0.0-beta.100` (from `^4.0.0-beta.99`).
34
+
35
+ This is a peer-range-only change with no consumer-visible API consequences. The `beta.100` release only touches `Cron` internals (month/weekday alias normalization, day/weekday rollover, and equality/hashing), CLI error message formatting (`InvalidValue` prefixes), and `Schema.toTaggedUnion` discriminants that Confect doesn't use.
36
+
37
+ - Raise the required `effect` peer version to `^4.0.0-beta.101` (from `^4.0.0-beta.100`).
38
+
39
+ This is a peer-range-only change with no consumer-visible API consequences. The `beta.101` release only touches fiber/concurrency internals (interrupt handling in concurrent traversal, stack frame annotations, `awaitAllChildren` linearization, `interruptibleMask` interrupt delivery), a `MutableList.filter` fix for empty buckets, a `Schema.Struct` required-readonly-field type display simplification, and an `HttpRouter.toWebHandler` middleware type-inference tightening that Confect doesn't need to accommodate.
40
+
41
+ - Raise the required `effect` peer version to `^4.0.0-beta.102` (from `^4.0.0-beta.101`), and `@confect/server`'s optional `@effect/platform-node` peer version likewise.
42
+ - Raise the required `effect` peer version to `^4.0.0-beta.105` (from `^4.0.0-beta.102`), and `@confect/server`'s optional `@effect/platform-node` peer version likewise.
43
+
44
+ `beta.103` separates wall-clock time from monotonic elapsed time: `Clock.Clock` now also requires `monotonicTimeNanos` and `monotonicTimeNanosUnsafe`, so a custom `Clock` provided to a Confect function has to supply both. Effects that measure elapsed time — `Effect.timed`, duration metrics, `Sink.withDuration` — read the monotonic accessors instead of the wall clock, and continue to report a zero duration inside queries and mutations, where Confect pins the unsafe accessors to constants to keep Convex's query cache from evicting on every logged span.
45
+
46
+ `beta.103` also moves synchronous Effect runs off `setImmediate`/`setTimeout` and onto the microtask queue, which Convex's query and mutation isolate permits. Confect no longer suppresses cooperative fiber yielding for the synchronous work it performs while your modules load — registration and schema-to-validator compilation — and relies on that scheduling instead. Neither the "Can't use `setTimeout` in queries and mutations" crash nor any other consumer-visible behavior changes, but this is the area to look at if module loading starts misbehaving.
47
+
48
+ `beta.104` renames Effect's schema error constructors to match their `Data` counterparts, which affects any error schema you declare for a Confect function:
49
+
50
+ **Before:**
51
+
52
+ ```ts
53
+ export class NoteNotFound extends Schema.TaggedErrorClass<NoteNotFound>()(
54
+ "NoteNotFound",
55
+ { noteId: Id("notes") },
56
+ ) {}
57
+ ```
58
+
59
+ **After:**
60
+
61
+ ```ts
62
+ export class NoteNotFound extends Schema.TaggedError<NoteNotFound>()(
63
+ "NoteNotFound",
64
+ { noteId: Id("notes") },
65
+ ) {}
66
+ ```
67
+
68
+ `Schema.ErrorClass` is likewise now `Schema.Error`; the schema for JavaScript `Error` instances that previously went by `Schema.Error` is now `Schema.ErrorInstance`, and `Schema.ErrorReviver` is now `Schema.ErrorInstanceReviver`. Confect's own error types — `DocumentDecodeError`, `BlobNotFoundError`, and the rest — are unchanged in name, shape, and message.
69
+
70
+ `beta.105` restructures how schema validation failures are reported, but not on the path Confect puts you on: decode and encode failures still surface as `Schema.SchemaError` with a formatted `message`, so error text from `@confect/js`, `@confect/react`, and document decoding is unchanged.
71
+
72
+ - Raise the required `effect` peer version to `^4.0.0-beta.106` (from `^4.0.0-beta.105`), and `@confect/server`'s optional `@effect/platform-node` peer version likewise.
73
+
74
+ `beta.106` is a patch-only Effect release. Nothing in Confect's own API changes, and your table, argument, and returns schemas still compile to the same Convex validators.
75
+
76
+ One Effect change needs a call-site edit if you derive property-test generators from those schemas: `Schema.toArbitrary` now returns a factory that takes the `fast-check` module instead of returning an arbitrary directly, and `Schema.toArbitraryLazy` and the `{ report: true }` option are gone.
77
+
78
+ **Before:**
79
+
80
+ ```ts
81
+ const NoteArbitrary = Schema.toArbitrary(Note);
82
+ ```
83
+
84
+ **After:**
85
+
86
+ ```ts
87
+ import * as FastCheck from "fast-check";
88
+
89
+ const NoteArbitrary = Schema.toArbitrary(Note)(FastCheck);
90
+ ```
91
+
92
+ HTTP actions written against `HttpRouter` also inherit Effect's stricter multipart handling: a request that exceeds the configured part count, part size, or field size limits now stops being parsed at the limit rather than being read to completion first.
93
+
94
+ - Raise the required `effect` peer version to `^4.0.0-beta.107` (from `^4.0.0-beta.106`), and `@confect/server`'s optional `@effect/platform-node` peer version likewise.
95
+
96
+ `beta.107` is a patch-only Effect release, so no Confect API changes and no call-site edits are needed — upgrade `effect` alongside `@confect/*` and everything you have written keeps compiling. Your table, argument, and returns schemas still produce the same Convex validators.
97
+
98
+ Two Effect fixes are worth knowing about if they touch your code. HTTP actions written with `HttpRouter` now collect uploaded file contents far faster on large multipart bodies, and a file part whose stream is cut short — because a parser limit was exceeded or the request body ended early — now fails instead of hanging. Separately, `Duration` values that are equal now hash equally, so a `Duration` used as a `HashMap` key or a `HashSet` member is found regardless of which constructor built it.
99
+
100
+ - Raise the required `effect` peer version to `^4.0.0-beta.98` (from `^4.0.0-beta.97`).
101
+
102
+ `effect`'s `SchemaError` is now exposed as its own public module (`effect/SchemaError`), which changes the import path TypeScript picks when Confect emits `.d.ts` declarations that reference `Schema.SchemaError` (for example in generated `services.d.ts`). Existing `Schema.SchemaError` / `Schema.isSchemaError` usage is unaffected — this is purely a declaration-emit detail that consumers relying on generated types may notice.
103
+
104
+ - Raise the required `effect` peer version to `^4.0.0-beta.99` (from `^4.0.0-beta.98`).
105
+
106
+ This is a peer-range-only change with no consumer-visible API consequences. The `beta.99` release only touches `Graph`, CLI (`Command`/`CliConfig`/wizard mode), `Tool` cloning, Redis script eval, and multipart parser internals that Confect doesn't use.
107
+
108
+ - Raise the required `effect` peer version to `^4.0.0-rc.108` (from `^4.0.0-beta.107`), and `@confect/server`'s optional `@effect/platform-node` peer version likewise. Effect v4 has left beta for release candidates, so `effect@rc` is now the tag to install alongside `@confect/*`.
109
+
110
+ No Confect API changed, and no call-site edits are needed for Confect itself. One Effect change can reach your code: the standalone `effect/SchemaError` module is gone, and `SchemaError` is now exported from `Schema`. Confect still fails decoding with the same error, so this only matters if you name the type when handling it.
111
+
112
+ Before:
113
+
114
+ ```ts
115
+ import type { SchemaError } from "effect/SchemaError";
116
+ ```
117
+
118
+ After:
119
+
120
+ ```ts
121
+ import type { SchemaError } from "effect/Schema";
122
+ ```
123
+
124
+ Also worth knowing if you serve an `HttpApi`: a query parameter declared as an array now decodes correctly when a request supplies exactly one value for it.
125
+
126
+ One internal change rides along. Queries and mutations that run long enough to trigger a cooperative fiber yield now take that yield from Effect's own scheduler, which `rc.108` made usable inside Convex's isolate for the first time. The underlying microtask primitive is identical, so behavior should not change — but it is the thing to look at if a long-running query or mutation regresses on this release.
127
+
128
+ - Raise the required `effect` peer version to `^4.0.0-rc.109` (from `^4.0.0-rc.108`), and `@confect/server`'s optional `@effect/platform-node` peer version likewise.
129
+
130
+ No Confect API changed, and no call-site edits are needed. `rc.109` is a patch release of Effect with nothing removed or renamed, so upgrading is a matter of installing it alongside `@confect/*`.
131
+
132
+ - 8e4962e: Raise the required `effect` peer version to `^4.0.0-rc.110` (from `^4.0.0-rc.109`), and `@confect/server`'s optional `@effect/platform-node` peer version likewise.
133
+
134
+ No Confect API changed, and no call-site edits are needed. `rc.110` is a patch release of Effect with nothing removed or renamed, so upgrading is a matter of installing it alongside `@confect/*`.
135
+
136
+ - 3f0255c: Build and test against `convex` 1.44.0. The published `convex` peer ranges are unchanged, so no consumer action is required.
137
+ - Sync with `main`: this prerelease line now includes all changes released in `@confect/*` 9.2.2–9.2.4 — see those versions' changelog entries.
138
+ - Sync with `main`: this prerelease line now includes all changes released in `@confect/*` 9.2.5 — see that version's changelog entries.
139
+ - Sync with `main`: this prerelease line now includes all changes released in `@confect/*` 9.3.0 — see that version's changelog entries.
140
+ - Sync with `main`: this prerelease line now includes all changes released in `@confect/*` 9.4.0 — see that version's changelog entries.
141
+
142
+ The `@effect/platform` and `@effect/cli` peer and dependency floors that 9.4.0 raises do not apply here: this line runs on Effect v4, where those packages are not dependencies at all.
143
+
144
+ - The published type declarations are now emitted by TypeScript 7 rather than TypeScript 6. No API changed, but the declaration text differs in places, so an inferred type printed in your editor or in a type error may read slightly differently than before.
145
+
3
146
  ## 10.0.0-next.15
4
147
 
5
148
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  import * as Pipeable from "effect/Pipeable";
2
- declare const TypeId = "@confect/react/PaginatedQueryResult";
2
+ declare const TypeId = "~@confect/react/PaginatedQueryResult";
3
3
  type TypeId = typeof TypeId;
4
4
  /**
5
5
  * A `PaginatedQueryResult` represents the result of a Confect paginated query.
@@ -35,14 +35,17 @@ export type PaginatedQueryResult<Item, E = never> = [E] extends [never] ? Loadin
35
35
  */
36
36
  export type Variants<Item, E = never> = LoadingFirstPage<Item, E> | LoadingMore<Item, E> | CanLoadMore<Item, E> | Exhausted<Item, E> | Failure<Item, E>;
37
37
  export declare namespace PaginatedQueryResult {
38
- interface Proto<Item, E> extends Pipeable.Pipeable {
39
- readonly [TypeId]: {
40
- readonly E: (_: never) => E;
41
- readonly Item: (_: never) => Item;
42
- };
38
+ interface Proto<out Item, out E> extends Pipeable.Pipeable {
39
+ readonly [TypeId]: TypeId;
40
+ readonly "~Item": Item;
41
+ readonly "~E": E;
43
42
  }
44
- type Item<R> = R extends Proto<infer Item_, infer _E> ? Item_ : never;
45
- type Failure<R> = R extends Proto<infer _Item, infer E> ? E : never;
43
+ type Item<R> = R extends {
44
+ readonly "~Item": infer Item_;
45
+ } ? Item_ : never;
46
+ type Failure<R> = R extends {
47
+ readonly "~E": infer E;
48
+ } ? E : never;
46
49
  }
47
50
  export interface LoadingFirstPage<Item, E = never> extends PaginatedQueryResult.Proto<Item, E> {
48
51
  readonly _tag: "LoadingFirstPage";
@@ -1 +1 @@
1
- {"version":3,"file":"PaginatedQueryResult.d.ts","sourceRoot":"","sources":["../src/PaginatedQueryResult.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAG5C,QAAA,MAAM,MAAM,wCAAwC,CAAC;AACrD,KAAK,MAAM,GAAG,OAAO,MAAM,CAAC;AAE5B;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAM,MAAM,oBAAoB,CAAC,IAAI,EAAE,CAAC,GAAG,KAAK,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,GAE/D,gBAAgB,CAAC,IAAI,EAAE,CAAC,CAAC,GACzB,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,GACpB,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,GACpB,SAAS,CAAC,IAAI,EAAE,CAAC,CAAC,GAElB,gBAAgB,CAAC,IAAI,EAAE,CAAC,CAAC,GACzB,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,GACpB,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC,GACpB,SAAS,CAAC,IAAI,EAAE,CAAC,CAAC,GAClB,OAAO,CAAC,IAAI,EA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AAG,CAAC,GAAG,CAAC,GACb,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAEtB;;;;GAIG;AACH,eAAO,MAAM,KAAK,EAAE;IAClB,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,GAAG,KAAK,EAC7B,OAAO,EAAE,YAAY,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,GAC5C,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,KAAK,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/D,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,GAAG,KAAK,EAC7B,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,EACvB,OAAO,EAAE,YAAY,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,GAC5C,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;CA8BnC,CAAC"}
@@ -1,8 +1,7 @@
1
1
  import { __exportAll } from "./_virtual/_rolldown/runtime.js";
2
2
  import * as Match from "effect/Match";
3
- import * as Function from "effect/Function";
4
- import { identity } from "effect/Function";
5
3
  import * as Equal from "effect/Equal";
4
+ import * as Function from "effect/Function";
6
5
  import * as Hash from "effect/Hash";
7
6
  import * as Pipeable from "effect/Pipeable";
8
7
  import * as Predicate from "effect/Predicate";
@@ -22,13 +21,10 @@ var PaginatedQueryResult_exports = /* @__PURE__ */ __exportAll({
22
21
  loadingMore: () => loadingMore,
23
22
  match: () => match
24
23
  });
25
- const TypeId = "@confect/react/PaginatedQueryResult";
24
+ const TypeId = "~@confect/react/PaginatedQueryResult";
26
25
  const isPaginatedQueryResult = (u) => Predicate.hasProperty(u, TypeId);
27
26
  const PaginatedQueryResultProto = {
28
- [TypeId]: {
29
- E: identity,
30
- Item: identity
31
- },
27
+ [TypeId]: TypeId,
32
28
  pipe(...args) {
33
29
  return Pipeable.pipeArguments(this, args);
34
30
  },
@@ -1 +1 @@
1
- {"version":3,"file":"PaginatedQueryResult.js","names":[],"sources":["../src/PaginatedQueryResult.ts"],"sourcesContent":["import { identity } from \"effect/Function\";\nimport * as Equal from \"effect/Equal\";\nimport * as Function from \"effect/Function\";\nimport * as Hash from \"effect/Hash\";\nimport * as Match from \"effect/Match\";\nimport * as Pipeable from \"effect/Pipeable\";\nimport * as Predicate from \"effect/Predicate\";\n\nconst TypeId = \"@confect/react/PaginatedQueryResult\";\ntype TypeId = typeof TypeId;\n\n/**\n * A `PaginatedQueryResult` represents the result of a Confect paginated query.\n * The non-`Failure` variants mirror the statuses of `usePaginatedQuery` from\n * `convex/react` and all carry `results` and `isLoading`, so the common UI\n * shape — render the list, show a spinner while loading — needs only an\n * {@link isFailure} early-out and plain field access.\n *\n * Every variant carries `results`, including `Failure`: when a later page\n * fails, the pages already loaded are still worth rendering alongside the\n * error, so they are not discarded. `Failure` additionally carries the\n * query's decoded typed error.\n *\n * `loadMore` appears only on `CanLoadMore`, the one state it can make\n * progress from. The underlying Convex hook exposes it on every status, but\n * calling it while a page is in flight, once the list is exhausted, or after\n * a failure is an intentional no-op there; narrowing to `CanLoadMore` — via\n * {@link isCanLoadMore} or {@link match} — makes that statically apparent\n * instead of silently dropping the call.\n *\n * When the query declares no `error` schema (`E` is `never`), the `Failure`\n * variant is excluded from the type entirely, so `isLoading` is accessible\n * without any narrowing.\n *\n * @typeParam Item - The type of a decoded page item.\n * @typeParam E - The type of the decoded typed error in the `Failure` variant.\n */\nexport type PaginatedQueryResult<Item, E = never> = [E] extends [never]\n ?\n | LoadingFirstPage<Item, E>\n | LoadingMore<Item, E>\n | CanLoadMore<Item, E>\n | Exhausted<Item, E>\n :\n | LoadingFirstPage<Item, E>\n | LoadingMore<Item, E>\n | CanLoadMore<Item, E>\n | Exhausted<Item, E>\n | Failure<Item, E>;\n\n/**\n * Every variant regardless of `E` — the parameter type for guards and\n * {@link match}, since `PaginatedQueryResult` itself excludes `Failure` when\n * `E` is `never`.\n */\nexport type Variants<Item, E = never> =\n | LoadingFirstPage<Item, E>\n | LoadingMore<Item, E>\n | CanLoadMore<Item, E>\n | Exhausted<Item, E>\n | Failure<Item, E>;\n\nexport declare namespace PaginatedQueryResult {\n // eslint-disable-next-line @typescript-eslint/no-shadow, import/namespace -- oxlint's namespace resolution misses type-only exports, and `Pipeable` is an interface\n export interface Proto<Item, E> extends Pipeable.Pipeable {\n readonly [TypeId]: {\n readonly E: (_: never) => E;\n readonly Item: (_: never) => Item;\n };\n }\n\n export type Item<R> = R extends Proto<infer Item_, infer _E> ? Item_ : never;\n\n // eslint-disable-next-line @typescript-eslint/no-shadow\n export type Failure<R> = R extends Proto<infer _Item, infer E> ? E : never;\n}\n\nexport interface LoadingFirstPage<\n Item,\n E = never,\n> extends PaginatedQueryResult.Proto<Item, E> {\n readonly _tag: \"LoadingFirstPage\";\n readonly skipped: boolean;\n readonly results: ReadonlyArray<Item>;\n readonly isLoading: true;\n}\n\nexport interface LoadingMore<\n Item,\n E = never,\n> extends PaginatedQueryResult.Proto<Item, E> {\n readonly _tag: \"LoadingMore\";\n readonly results: ReadonlyArray<Item>;\n readonly isLoading: true;\n}\n\nexport interface CanLoadMore<\n Item,\n E = never,\n> extends PaginatedQueryResult.Proto<Item, E> {\n readonly _tag: \"CanLoadMore\";\n readonly results: ReadonlyArray<Item>;\n readonly isLoading: false;\n readonly loadMore: (numItems: number) => void;\n}\n\nexport interface Exhausted<Item, E = never> extends PaginatedQueryResult.Proto<\n Item,\n E\n> {\n readonly _tag: \"Exhausted\";\n readonly results: ReadonlyArray<Item>;\n readonly isLoading: false;\n}\n\nexport interface Failure<Item, E = never> extends PaginatedQueryResult.Proto<\n Item,\n E\n> {\n readonly _tag: \"Failure\";\n readonly error: E;\n /** The pages loaded before the failure. */\n readonly results: ReadonlyArray<Item>;\n}\n\nexport const isPaginatedQueryResult = (\n u: unknown,\n): u is Variants<unknown, unknown> => Predicate.hasProperty(u, TypeId);\n\nconst PaginatedQueryResultProto = {\n [TypeId]: {\n E: identity,\n Item: identity,\n },\n pipe(this: Variants<any, any>, ...args: ReadonlyArray<unknown>) {\n return Pipeable.pipeArguments(\n this,\n args as unknown as Parameters<typeof Pipeable.pipeArguments>[1],\n );\n },\n /**\n * `CanLoadMore`'s `loadMore` is excluded from equality and hashing, like\n * function fields generally: two results that render identically are equal\n * even though their callbacks differ by identity.\n */\n [Equal.symbol](this: Variants<any, any>, that: Variants<any, any>): boolean {\n if (this._tag !== that._tag) {\n return false;\n }\n return Match.value(this).pipe(\n Match.tag(\n \"LoadingFirstPage\",\n (self) => self.skipped === (that as LoadingFirstPage<any, any>).skipped,\n ),\n Match.tag(\"LoadingMore\", \"CanLoadMore\", \"Exhausted\", (self) =>\n Equal.equals(self.results, that.results),\n ),\n Match.tag(\n \"Failure\",\n (self) =>\n Equal.equals(self.error, (that as Failure<any, any>).error) &&\n Equal.equals(self.results, (that as Failure<any, any>).results),\n ),\n Match.exhaustive,\n );\n },\n [Hash.symbol](this: Variants<any, any>): number {\n const tagHash = Hash.string(this._tag);\n return Match.value(this).pipe(\n Match.tag(\"LoadingFirstPage\", (self) =>\n Hash.combine(tagHash)(Hash.hash(self.skipped)),\n ),\n Match.tag(\"LoadingMore\", \"CanLoadMore\", \"Exhausted\", (self) =>\n Hash.combine(tagHash)(Hash.hash(self.results)),\n ),\n Match.tag(\"Failure\", (self) =>\n Hash.combine(tagHash)(\n Hash.combine(Hash.hash(self.error))(Hash.hash(self.results)),\n ),\n ),\n Match.exhaustive,\n );\n },\n};\n\nconst noResults: ReadonlyArray<never> = [];\n\nexport const loadingFirstPage = <Item = never, E = never>(options: {\n skipped: boolean;\n}): LoadingFirstPage<Item, E> =>\n Object.assign(Object.create(PaginatedQueryResultProto), {\n _tag: \"LoadingFirstPage\" as const,\n skipped: options.skipped,\n results: noResults,\n isLoading: true as const,\n });\n\nexport const loadingMore = <Item, E = never>(options: {\n results: ReadonlyArray<Item>;\n}): LoadingMore<Item, E> =>\n Object.assign(Object.create(PaginatedQueryResultProto), {\n _tag: \"LoadingMore\" as const,\n results: options.results,\n isLoading: true as const,\n });\n\nexport const canLoadMore = <Item, E = never>(options: {\n results: ReadonlyArray<Item>;\n loadMore: (numItems: number) => void;\n}): CanLoadMore<Item, E> =>\n Object.assign(Object.create(PaginatedQueryResultProto), {\n _tag: \"CanLoadMore\" as const,\n results: options.results,\n isLoading: false as const,\n loadMore: options.loadMore,\n });\n\nexport const exhausted = <Item, E = never>(options: {\n results: ReadonlyArray<Item>;\n}): Exhausted<Item, E> =>\n Object.assign(Object.create(PaginatedQueryResultProto), {\n _tag: \"Exhausted\" as const,\n results: options.results,\n isLoading: false as const,\n });\n\nexport const failure = <E, Item = never>(options: {\n error: E;\n results: ReadonlyArray<Item>;\n}): Failure<Item, E> =>\n Object.assign(Object.create(PaginatedQueryResultProto), {\n _tag: \"Failure\" as const,\n error: options.error,\n results: options.results,\n });\n\nexport const isLoadingFirstPage = <Item, E>(\n result: Variants<Item, E>,\n): result is LoadingFirstPage<Item, E> => result._tag === \"LoadingFirstPage\";\n\nexport const isLoadingMore = <Item, E>(\n result: Variants<Item, E>,\n): result is LoadingMore<Item, E> => result._tag === \"LoadingMore\";\n\nexport const isCanLoadMore = <Item, E>(\n result: Variants<Item, E>,\n): result is CanLoadMore<Item, E> => result._tag === \"CanLoadMore\";\n\nexport const isExhausted = <Item, E>(\n result: Variants<Item, E>,\n): result is Exhausted<Item, E> => result._tag === \"Exhausted\";\n\nexport const isFailure = <Item, E>(\n result: Variants<Item, E>,\n): result is Failure<Item, E> => result._tag === \"Failure\";\n\nexport const isLoading = <Item, E>(\n result: Variants<Item, E>,\n): result is LoadingFirstPage<Item, E> | LoadingMore<Item, E> =>\n result._tag === \"LoadingFirstPage\" || result._tag === \"LoadingMore\";\n\ntype MatchOptions<Item, E, V, W, X, Y, Z> = {\n readonly onLoadingFirstPage: (skipped: boolean) => V;\n readonly onLoadingMore: (results: ReadonlyArray<Item>) => W;\n readonly onCanLoadMore: (\n results: ReadonlyArray<Item>,\n loadMore: (numItems: number) => void,\n ) => X;\n readonly onExhausted: (results: ReadonlyArray<Item>) => Y;\n} & ([E] extends [never]\n ? {}\n : {\n readonly onFailure: (error: E, results: ReadonlyArray<Item>) => Z;\n });\n\ntype MatchReturns<E, V, W, X, Y, Z> = [E] extends [never]\n ? V | W | X | Y\n : V | W | X | Y | Z;\n\n/**\n * Matches a {@link PaginatedQueryResult} to the appropriate handler based on\n * its tag. If the provided result cannot fail (i.e. `E` is `never`),\n * `onFailure` is not required.\n */\nexport const match: {\n <Item, E, V, W, X, Y, Z = never>(\n options: MatchOptions<Item, E, V, W, X, Y, Z>,\n ): (self: Variants<Item, E>) => MatchReturns<E, V, W, X, Y, Z>;\n <Item, E, V, W, X, Y, Z = never>(\n self: Variants<Item, E>,\n options: MatchOptions<Item, E, V, W, X, Y, Z>,\n ): MatchReturns<E, V, W, X, Y, Z>;\n} = Function.dual(\n 2,\n <Item, E, V, W, X, Y, Z = never>(\n self: Variants<Item, E>,\n options: MatchOptions<Item, E, V, W, X, Y, Z>,\n ): MatchReturns<E, V, W, X, Y, Z> =>\n Match.value(self).pipe(\n Match.tag(\"LoadingFirstPage\", (loadingFirstPage_) =>\n options.onLoadingFirstPage(loadingFirstPage_.skipped),\n ),\n Match.tag(\"LoadingMore\", (loadingMore_) =>\n options.onLoadingMore(loadingMore_.results),\n ),\n Match.tag(\"CanLoadMore\", (canLoadMore_) =>\n options.onCanLoadMore(canLoadMore_.results, canLoadMore_.loadMore),\n ),\n Match.tag(\"Exhausted\", (exhausted_) =>\n options.onExhausted(exhausted_.results),\n ),\n Match.tag(\"Failure\", (failure_) => {\n if (Predicate.hasProperty(options, \"onFailure\")) {\n return options.onFailure(failure_.error, failure_.results);\n }\n throw new Error(\n \"`onFailure` is required when error schema is provided\",\n );\n }),\n Match.exhaustive,\n ) as MatchReturns<E, V, W, X, Y, Z>,\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAQA,MAAM,SAAS;AAqHf,MAAa,0BACX,MACoC,UAAU,YAAY,GAAG,MAAM;AAErE,MAAM,4BAA4B;EAC/B,SAAS;EACR,GAAG;EACH,MAAM;CACR;CACA,KAA+B,GAAG,MAA8B;EAC9D,OAAO,SAAS,cACd,MACA,IACF;CACF;;;;;;CAMA,CAAC,MAAM,QAAkC,MAAmC;EAC1E,IAAI,KAAK,SAAS,KAAK,MACrB,OAAO;EAET,OAAO,MAAM,MAAM,IAAI,CAAC,CAAC,KACvB,MAAM,IACJ,qBACC,SAAS,KAAK,YAAa,KAAoC,OAClE,GACA,MAAM,IAAI,eAAe,eAAe,cAAc,SACpD,MAAM,OAAO,KAAK,SAAS,KAAK,OAAO,CACzC,GACA,MAAM,IACJ,YACC,SACC,MAAM,OAAO,KAAK,OAAQ,KAA2B,KAAK,KAC1D,MAAM,OAAO,KAAK,SAAU,KAA2B,OAAO,CAClE,GACA,MAAM,UACR;CACF;CACA,CAAC,KAAK,UAA0C;EAC9C,MAAM,UAAU,KAAK,OAAO,KAAK,IAAI;EACrC,OAAO,MAAM,MAAM,IAAI,CAAC,CAAC,KACvB,MAAM,IAAI,qBAAqB,SAC7B,KAAK,QAAQ,OAAO,CAAC,CAAC,KAAK,KAAK,KAAK,OAAO,CAAC,CAC/C,GACA,MAAM,IAAI,eAAe,eAAe,cAAc,SACpD,KAAK,QAAQ,OAAO,CAAC,CAAC,KAAK,KAAK,KAAK,OAAO,CAAC,CAC/C,GACA,MAAM,IAAI,YAAY,SACpB,KAAK,QAAQ,OAAO,CAAC,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O,CAC5C,GACA,MAAM,IAAI,gBAAgB,iBACxB,QAAQ,cAAc,aAAa,SAAS,aAAa,QAAQ,CACnE,GACA,MAAM,IAAI,cAAc,eACtB,QAAQ,YAAY,WAAW,OAAO,CACxC,GACA,MAAM,IAAI,YAAY,aAAa;CACjC,IAAI,UAAU,YAAY,SAAS,WAAW,GAC5C,OAAO,QAAQ,UAAU,SAAS,OAAO,SAAS,OAAO;CAE3D,MAAM,IAAI,MACR,uDACF;AACF,CAAC,GACD,MAAM,UACR,CACJ"}
1
+ {"version":3,"file":"PaginatedQueryResult.js","names":[],"sources":["../src/PaginatedQueryResult.ts"],"sourcesContent":["import * as Equal from \"effect/Equal\";\nimport * as Function from \"effect/Function\";\nimport * as Hash from \"effect/Hash\";\nimport * as Match from \"effect/Match\";\nimport * as Pipeable from \"effect/Pipeable\";\nimport * as Predicate from \"effect/Predicate\";\n\nconst TypeId = \"~@confect/react/PaginatedQueryResult\";\ntype TypeId = typeof TypeId;\n\n/**\n * A `PaginatedQueryResult` represents the result of a Confect paginated query.\n * The non-`Failure` variants mirror the statuses of `usePaginatedQuery` from\n * `convex/react` and all carry `results` and `isLoading`, so the common UI\n * shape — render the list, show a spinner while loading — needs only an\n * {@link isFailure} early-out and plain field access.\n *\n * Every variant carries `results`, including `Failure`: when a later page\n * fails, the pages already loaded are still worth rendering alongside the\n * error, so they are not discarded. `Failure` additionally carries the\n * query's decoded typed error.\n *\n * `loadMore` appears only on `CanLoadMore`, the one state it can make\n * progress from. The underlying Convex hook exposes it on every status, but\n * calling it while a page is in flight, once the list is exhausted, or after\n * a failure is an intentional no-op there; narrowing to `CanLoadMore` — via\n * {@link isCanLoadMore} or {@link match} — makes that statically apparent\n * instead of silently dropping the call.\n *\n * When the query declares no `error` schema (`E` is `never`), the `Failure`\n * variant is excluded from the type entirely, so `isLoading` is accessible\n * without any narrowing.\n *\n * @typeParam Item - The type of a decoded page item.\n * @typeParam E - The type of the decoded typed error in the `Failure` variant.\n */\nexport type PaginatedQueryResult<Item, E = never> = [E] extends [never]\n ?\n | LoadingFirstPage<Item, E>\n | LoadingMore<Item, E>\n | CanLoadMore<Item, E>\n | Exhausted<Item, E>\n :\n | LoadingFirstPage<Item, E>\n | LoadingMore<Item, E>\n | CanLoadMore<Item, E>\n | Exhausted<Item, E>\n | Failure<Item, E>;\n\n/**\n * Every variant regardless of `E` — the parameter type for guards and\n * {@link match}, since `PaginatedQueryResult` itself excludes `Failure` when\n * `E` is `never`.\n */\nexport type Variants<Item, E = never> =\n | LoadingFirstPage<Item, E>\n | LoadingMore<Item, E>\n | CanLoadMore<Item, E>\n | Exhausted<Item, E>\n | Failure<Item, E>;\n\nexport declare namespace PaginatedQueryResult {\n // eslint-disable-next-line @typescript-eslint/no-shadow, import/namespace -- oxlint's namespace resolution misses type-only exports, and `Pipeable` is an interface\n export interface Proto<out Item, out E> extends Pipeable.Pipeable {\n readonly [TypeId]: TypeId;\n readonly \"~Item\": Item;\n readonly \"~E\": E;\n }\n\n export type Item<R> = R extends { readonly \"~Item\": infer Item_ }\n ? Item_\n : never;\n\n // eslint-disable-next-line @typescript-eslint/no-shadow\n export type Failure<R> = R extends { readonly \"~E\": infer E } ? E : never;\n}\n\nexport interface LoadingFirstPage<\n Item,\n E = never,\n> extends PaginatedQueryResult.Proto<Item, E> {\n readonly _tag: \"LoadingFirstPage\";\n readonly skipped: boolean;\n readonly results: ReadonlyArray<Item>;\n readonly isLoading: true;\n}\n\nexport interface LoadingMore<\n Item,\n E = never,\n> extends PaginatedQueryResult.Proto<Item, E> {\n readonly _tag: \"LoadingMore\";\n readonly results: ReadonlyArray<Item>;\n readonly isLoading: true;\n}\n\nexport interface CanLoadMore<\n Item,\n E = never,\n> extends PaginatedQueryResult.Proto<Item, E> {\n readonly _tag: \"CanLoadMore\";\n readonly results: ReadonlyArray<Item>;\n readonly isLoading: false;\n readonly loadMore: (numItems: number) => void;\n}\n\nexport interface Exhausted<Item, E = never> extends PaginatedQueryResult.Proto<\n Item,\n E\n> {\n readonly _tag: \"Exhausted\";\n readonly results: ReadonlyArray<Item>;\n readonly isLoading: false;\n}\n\nexport interface Failure<Item, E = never> extends PaginatedQueryResult.Proto<\n Item,\n E\n> {\n readonly _tag: \"Failure\";\n readonly error: E;\n /** The pages loaded before the failure. */\n readonly results: ReadonlyArray<Item>;\n}\n\nexport const isPaginatedQueryResult = (\n u: unknown,\n): u is Variants<unknown, unknown> => Predicate.hasProperty(u, TypeId);\n\nconst PaginatedQueryResultProto = {\n [TypeId]: TypeId,\n pipe(this: Variants<any, any>, ...args: ReadonlyArray<unknown>) {\n return Pipeable.pipeArguments(\n this,\n args as unknown as Parameters<typeof Pipeable.pipeArguments>[1],\n );\n },\n /**\n * `CanLoadMore`'s `loadMore` is excluded from equality and hashing, like\n * function fields generally: two results that render identically are equal\n * even though their callbacks differ by identity.\n */\n [Equal.symbol](this: Variants<any, any>, that: Variants<any, any>): boolean {\n if (this._tag !== that._tag) {\n return false;\n }\n return Match.value(this).pipe(\n Match.tag(\n \"LoadingFirstPage\",\n (self) => self.skipped === (that as LoadingFirstPage<any, any>).skipped,\n ),\n Match.tag(\"LoadingMore\", \"CanLoadMore\", \"Exhausted\", (self) =>\n Equal.equals(self.results, that.results),\n ),\n Match.tag(\n \"Failure\",\n (self) =>\n Equal.equals(self.error, (that as Failure<any, any>).error) &&\n Equal.equals(self.results, (that as Failure<any, any>).results),\n ),\n Match.exhaustive,\n );\n },\n [Hash.symbol](this: Variants<any, any>): number {\n const tagHash = Hash.string(this._tag);\n return Match.value(this).pipe(\n Match.tag(\"LoadingFirstPage\", (self) =>\n Hash.combine(tagHash)(Hash.hash(self.skipped)),\n ),\n Match.tag(\"LoadingMore\", \"CanLoadMore\", \"Exhausted\", (self) =>\n Hash.combine(tagHash)(Hash.hash(self.results)),\n ),\n Match.tag(\"Failure\", (self) =>\n Hash.combine(tagHash)(\n Hash.combine(Hash.hash(self.error))(Hash.hash(self.results)),\n ),\n ),\n Match.exhaustive,\n );\n },\n};\n\nconst noResults: ReadonlyArray<never> = [];\n\nexport const loadingFirstPage = <Item = never, E = never>(options: {\n skipped: boolean;\n}): LoadingFirstPage<Item, E> =>\n Object.assign(Object.create(PaginatedQueryResultProto), {\n _tag: \"LoadingFirstPage\" as const,\n skipped: options.skipped,\n results: noResults,\n isLoading: true as const,\n });\n\nexport const loadingMore = <Item, E = never>(options: {\n results: ReadonlyArray<Item>;\n}): LoadingMore<Item, E> =>\n Object.assign(Object.create(PaginatedQueryResultProto), {\n _tag: \"LoadingMore\" as const,\n results: options.results,\n isLoading: true as const,\n });\n\nexport const canLoadMore = <Item, E = never>(options: {\n results: ReadonlyArray<Item>;\n loadMore: (numItems: number) => void;\n}): CanLoadMore<Item, E> =>\n Object.assign(Object.create(PaginatedQueryResultProto), {\n _tag: \"CanLoadMore\" as const,\n results: options.results,\n isLoading: false as const,\n loadMore: options.loadMore,\n });\n\nexport const exhausted = <Item, E = never>(options: {\n results: ReadonlyArray<Item>;\n}): Exhausted<Item, E> =>\n Object.assign(Object.create(PaginatedQueryResultProto), {\n _tag: \"Exhausted\" as const,\n results: options.results,\n isLoading: false as const,\n });\n\nexport const failure = <E, Item = never>(options: {\n error: E;\n results: ReadonlyArray<Item>;\n}): Failure<Item, E> =>\n Object.assign(Object.create(PaginatedQueryResultProto), {\n _tag: \"Failure\" as const,\n error: options.error,\n results: options.results,\n });\n\nexport const isLoadingFirstPage = <Item, E>(\n result: Variants<Item, E>,\n): result is LoadingFirstPage<Item, E> => result._tag === \"LoadingFirstPage\";\n\nexport const isLoadingMore = <Item, E>(\n result: Variants<Item, E>,\n): result is LoadingMore<Item, E> => result._tag === \"LoadingMore\";\n\nexport const isCanLoadMore = <Item, E>(\n result: Variants<Item, E>,\n): result is CanLoadMore<Item, E> => result._tag === \"CanLoadMore\";\n\nexport const isExhausted = <Item, E>(\n result: Variants<Item, E>,\n): result is Exhausted<Item, E> => result._tag === \"Exhausted\";\n\nexport const isFailure = <Item, E>(\n result: Variants<Item, E>,\n): result is Failure<Item, E> => result._tag === \"Failure\";\n\nexport const isLoading = <Item, E>(\n result: Variants<Item, E>,\n): result is LoadingFirstPage<Item, E> | LoadingMore<Item, E> =>\n result._tag === \"LoadingFirstPage\" || result._tag === \"LoadingMore\";\n\ntype MatchOptions<Item, E, V, W, X, Y, Z> = {\n readonly onLoadingFirstPage: (skipped: boolean) => V;\n readonly onLoadingMore: (results: ReadonlyArray<Item>) => W;\n readonly onCanLoadMore: (\n results: ReadonlyArray<Item>,\n loadMore: (numItems: number) => void,\n ) => X;\n readonly onExhausted: (results: ReadonlyArray<Item>) => Y;\n} & ([E] extends [never]\n ? {}\n : {\n readonly onFailure: (error: E, results: ReadonlyArray<Item>) => Z;\n });\n\ntype MatchReturns<E, V, W, X, Y, Z> = [E] extends [never]\n ? V | W | X | Y\n : V | W | X | Y | Z;\n\n/**\n * Matches a {@link PaginatedQueryResult} to the appropriate handler based on\n * its tag. If the provided result cannot fail (i.e. `E` is `never`),\n * `onFailure` is not required.\n */\nexport const match: {\n <Item, E, V, W, X, Y, Z = never>(\n options: MatchOptions<Item, E, V, W, X, Y, Z>,\n ): (self: Variants<Item, E>) => MatchReturns<E, V, W, X, Y, Z>;\n <Item, E, V, W, X, Y, Z = never>(\n self: Variants<Item, E>,\n options: MatchOptions<Item, E, V, W, X, Y, Z>,\n ): MatchReturns<E, V, W, X, Y, Z>;\n} = Function.dual(\n 2,\n <Item, E, V, W, X, Y, Z = never>(\n self: Variants<Item, E>,\n options: MatchOptions<Item, E, V, W, X, Y, Z>,\n ): MatchReturns<E, V, W, X, Y, Z> =>\n Match.value(self).pipe(\n Match.tag(\"LoadingFirstPage\", (loadingFirstPage_) =>\n options.onLoadingFirstPage(loadingFirstPage_.skipped),\n ),\n Match.tag(\"LoadingMore\", (loadingMore_) =>\n options.onLoadingMore(loadingMore_.results),\n ),\n Match.tag(\"CanLoadMore\", (canLoadMore_) =>\n options.onCanLoadMore(canLoadMore_.results, canLoadMore_.loadMore),\n ),\n Match.tag(\"Exhausted\", (exhausted_) =>\n options.onExhausted(exhausted_.results),\n ),\n Match.tag(\"Failure\", (failure_) => {\n if (Predicate.hasProperty(options, \"onFailure\")) {\n return options.onFailure(failure_.error, failure_.results);\n }\n throw new Error(\n \"`onFailure` is required when error schema is provided\",\n );\n }),\n Match.exhaustive,\n ) as MatchReturns<E, V, W, X, Y, Z>,\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAOA,MAAM,SAAS;AAsHf,MAAa,0BACX,MACoC,UAAU,YAAY,GAAG,MAAM;AAErE,MAAM,4BAA4B;EAC/B,SAAS;CACV,KAA+B,GAAG,MAA8B;EAC9D,OAAO,SAAS,cACd,MACA,IACF;CACF;;;;;;CAMA,CAAC,MAAM,QAAkC,MAAmC;EAC1E,IAAI,KAAK,SAAS,KAAK,MACrB,OAAO;EAET,OAAO,MAAM,MAAM,IAAI,CAAC,CAAC,KACvB,MAAM,IACJ,qBACC,SAAS,KAAK,YAAa,KAAoC,OAClE,GACA,MAAM,IAAI,eAAe,eAAe,cAAc,SACpD,MAAM,OAAO,KAAK,SAAS,KAAK,OAAO,CACzC,GACA,MAAM,IACJ,YACC,SACC,MAAM,OAAO,KAAK,OAAQ,KAA2B,KAAK,KAC1D,MAAM,OAAO,KAAK,SAAU,KAA2B,OAAO,CAClE,GACA,MAAM,UACR;CACF;CACA,CAAC,KAAK,UAA0C;EAC9C,MAAM,UAAU,KAAK,OAAO,KAAK,IAAI;EACrC,OAAO,MAAM,MAAM,IAAI,CAAC,CAAC,KACvB,MAAM,IAAI,qBAAqB,SAC7B,KAAK,QAAQ,OAAO,CAAC,CAAC,KAAK,KAAK,KAAK,OAAO,CAAC,CAC/C,GACA,MAAM,IAAI,eAAe,eAAe,cAAc,SACpD,KAAK,QAAQ,OAAO,CAAC,CAAC,KAAK,KAAK,KAAK,OAAO,CAAC,CAC/C,GACA,MAAM,IAAI,YAAY,SACpB,KAAK,QAAQ,OAAO,CAAC,CACnB,KAAK,QAAQ,KAAK,KAAK,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gB,iBACxB,QAAQ,cAAc,aAAa,SAAS,aAAa,QAAQ,CACnE,GACA,MAAM,IAAI,cAAc,eACtB,QAAQ,YAAY,WAAW,OAAO,CACxC,GACA,MAAM,IAAI,YAAY,aAAa;CACjC,IAAI,UAAU,YAAY,SAAS,WAAW,GAC5C,OAAO,QAAQ,UAAU,SAAS,OAAO,SAAS,OAAO;CAE3D,MAAM,IAAI,MACR,uDACF;AACF,CAAC,GACD,MAAM,UACR,CACJ"}
@@ -1,5 +1,5 @@
1
1
  import * as Pipeable from "effect/Pipeable";
2
- declare const TypeId = "@confect/react/QueryResult";
2
+ declare const TypeId = "~@confect/react/QueryResult";
3
3
  type TypeId = typeof TypeId;
4
4
  /**
5
5
  * A `QueryResult` represents the result of a Confect query.
@@ -9,14 +9,17 @@ type TypeId = typeof TypeId;
9
9
  */
10
10
  export type QueryResult<A, E = never> = Loading<A, E> | Success<A, E> | Failure<A, E>;
11
11
  export declare namespace QueryResult {
12
- interface Proto<A, E> extends Pipeable.Pipeable {
13
- readonly [TypeId]: {
14
- readonly E: (_: never) => E;
15
- readonly A: (_: never) => A;
16
- };
12
+ interface Proto<out A, out E> extends Pipeable.Pipeable {
13
+ readonly [TypeId]: TypeId;
14
+ readonly "~A": A;
15
+ readonly "~E": E;
17
16
  }
18
- type Success<R> = R extends QueryResult<infer A, infer _E> ? A : never;
19
- type Failure<R> = R extends QueryResult<infer _A, infer E> ? E : never;
17
+ type Success<R> = R extends {
18
+ readonly "~A": infer A;
19
+ } ? A : never;
20
+ type Failure<R> = R extends {
21
+ readonly "~E": infer E;
22
+ } ? E : never;
20
23
  }
21
24
  export interface Loading<A, E = never> extends QueryResult.Proto<A, E> {
22
25
  readonly _tag: "Loading";
@@ -1 +1 @@
1
- {"version":3,"file":"QueryResult.d.ts","sourceRoot":"","sources":["../src/QueryResult.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAC;AAG5C,QAAA,MAAM,MAAM,+BAA+B,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CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;CAoB7B,CAAC"}
@@ -1,8 +1,7 @@
1
1
  import { __exportAll } from "./_virtual/_rolldown/runtime.js";
2
2
  import * as Match from "effect/Match";
3
- import * as Function from "effect/Function";
4
- import { identity } from "effect/Function";
5
3
  import * as Equal from "effect/Equal";
4
+ import * as Function from "effect/Function";
6
5
  import * as Hash from "effect/Hash";
7
6
  import * as Pipeable from "effect/Pipeable";
8
7
  import * as Predicate from "effect/Predicate";
@@ -17,13 +16,10 @@ var QueryResult_exports = /* @__PURE__ */ __exportAll({
17
16
  match: () => match,
18
17
  succeed: () => succeed
19
18
  });
20
- const TypeId = "@confect/react/QueryResult";
19
+ const TypeId = "~@confect/react/QueryResult";
21
20
  const isQueryResult = (u) => Predicate.hasProperty(u, TypeId);
22
21
  const QueryResultProto = {
23
- [TypeId]: {
24
- E: identity,
25
- A: identity
26
- },
22
+ [TypeId]: TypeId,
27
23
  pipe(...args) {
28
24
  return Pipeable.pipeArguments(this, args);
29
25
  },
@@ -1 +1 @@
1
- {"version":3,"file":"QueryResult.js","names":[],"sources":["../src/QueryResult.ts"],"sourcesContent":["import { identity } from \"effect/Function\";\nimport * as Equal from \"effect/Equal\";\nimport * as Function from \"effect/Function\";\nimport * as Hash from \"effect/Hash\";\nimport * as Match from \"effect/Match\";\nimport * as Pipeable from \"effect/Pipeable\";\nimport * as Predicate from \"effect/Predicate\";\n\nconst TypeId = \"@confect/react/QueryResult\";\ntype TypeId = typeof TypeId;\n\n/**\n * A `QueryResult` represents the result of a Confect query.\n *\n * @typeParam A - The type of the decoded `returns` value in the `Success` variant.\n * @typeParam E - The type of the decoded typed error in the `Failure` variant.\n */\nexport type QueryResult<A, E = never> =\n | Loading<A, E>\n | Success<A, E>\n | Failure<A, E>;\n\nexport declare namespace QueryResult {\n // eslint-disable-next-line import/namespace -- oxlint's namespace resolution misses type-only exports, and `Pipeable` is an interface\n export interface Proto<A, E> extends Pipeable.Pipeable {\n readonly [TypeId]: {\n readonly E: (_: never) => E;\n readonly A: (_: never) => A;\n };\n }\n\n // eslint-disable-next-line @typescript-eslint/no-shadow\n export type Success<R> = R extends QueryResult<infer A, infer _E> ? A : never;\n\n // eslint-disable-next-line @typescript-eslint/no-shadow\n export type Failure<R> = R extends QueryResult<infer _A, infer E> ? E : never;\n}\n\nexport interface Loading<A, E = never> extends QueryResult.Proto<A, E> {\n readonly _tag: \"Loading\";\n readonly skipped: boolean;\n}\n\nexport interface Success<A, E = never> extends QueryResult.Proto<A, E> {\n readonly _tag: \"Success\";\n readonly value: A;\n}\n\nexport interface Failure<A, E = never> extends QueryResult.Proto<A, E> {\n readonly _tag: \"Failure\";\n readonly error: E;\n}\n\nexport const isQueryResult = (u: unknown): u is QueryResult<unknown, unknown> =>\n Predicate.hasProperty(u, TypeId);\n\nconst QueryResultProto = {\n [TypeId]: {\n E: identity,\n A: identity,\n },\n pipe(this: QueryResult<any, any>, ...args: ReadonlyArray<unknown>) {\n return Pipeable.pipeArguments(\n this,\n args as unknown as Parameters<typeof Pipeable.pipeArguments>[1],\n );\n },\n [Equal.symbol](\n this: QueryResult<any, any>,\n that: QueryResult<any, any>,\n ): boolean {\n if (this._tag !== that._tag) {\n return false;\n }\n return Match.value(this).pipe(\n Match.tag(\n \"Loading\",\n (self) => self.skipped === (that as Loading<any, any>).skipped,\n ),\n Match.tag(\"Success\", (self) =>\n Equal.equals(self.value, (that as Success<any, any>).value),\n ),\n Match.tag(\"Failure\", (self) =>\n Equal.equals(self.error, (that as Failure<any, any>).error),\n ),\n Match.exhaustive,\n );\n },\n [Hash.symbol](this: QueryResult<any, any>): number {\n const tagHash = Hash.string(this._tag);\n return Match.value(this).pipe(\n Match.tag(\"Loading\", (self) =>\n Hash.combine(tagHash)(Hash.hash(self.skipped)),\n ),\n Match.tag(\"Success\", (self) =>\n Hash.combine(tagHash)(Hash.hash(self.value)),\n ),\n Match.tag(\"Failure\", (self) =>\n Hash.combine(tagHash)(Hash.hash(self.error)),\n ),\n Match.exhaustive,\n );\n },\n};\n\nexport const load = <A = never, E = never>(skipped: boolean): Loading<A, E> =>\n Object.assign(Object.create(QueryResultProto), {\n _tag: \"Loading\" as const,\n skipped,\n });\n\nexport const succeed = <A, E = never>(value: A): Success<A, E> =>\n Object.assign(Object.create(QueryResultProto), {\n _tag: \"Success\" as const,\n value,\n });\n\nexport const fail = <E, A = never>(error: E): Failure<A, E> =>\n Object.assign(Object.create(QueryResultProto), {\n _tag: \"Failure\" as const,\n error,\n });\n\nexport const isLoading = <A, E>(\n queryResult: QueryResult<A, E>,\n): queryResult is Loading<A, E> => queryResult._tag === \"Loading\";\n\nexport const isSuccess = <A, E>(\n queryResult: QueryResult<A, E>,\n): queryResult is Success<A, E> => queryResult._tag === \"Success\";\n\nexport const isFailure = <A, E>(\n queryResult: QueryResult<A, E>,\n): queryResult is Failure<A, E> => queryResult._tag === \"Failure\";\n\ntype MatchOptions<A, E, X, Y, Z> = {\n readonly onLoading: (skipped: boolean) => X;\n readonly onSuccess: (value: A) => Y;\n} & ([E] extends [never] ? {} : { readonly onFailure: (error: E) => Z });\n\ntype MatchReturns<E, X, Y, Z> = [E] extends [never] ? X | Y : X | Y | Z;\n\n/**\n * Matches a {@link QueryResult} to the appropriate handler based on its tag. If\n * the provided `QueryResult` cannot fail (i.e. `E` is `never`), `onFailure` is\n * not required.\n *\n * @example\n * ```tsx\n * const result = QueryResult.match(queryResult, {\n * onLoading: (skipped) => skipped ? null : <p>Loading…</p>,\n * onSuccess: (value) => <p>{value.text}</p>,\n * onFailure: (error) => <p>Error: {error.message}</p>,\n * });\n */\nexport const match: {\n <A, E, X, Y, Z = never>(\n options: MatchOptions<A, E, X, Y, Z>,\n ): (self: QueryResult<A, E>) => MatchReturns<E, X, Y, Z>;\n <A, E, X, Y, Z = never>(\n self: QueryResult<A, E>,\n options: MatchOptions<A, E, X, Y, Z>,\n ): MatchReturns<E, X, Y, Z>;\n} = Function.dual(\n 2,\n <A, E, X, Y, Z = never>(\n self: QueryResult<A, E>,\n options: MatchOptions<A, E, X, Y, Z>,\n ): MatchReturns<E, X, Y, Z> =>\n Match.value(self).pipe(\n Match.tag(\"Loading\", (loading) => options.onLoading(loading.skipped)),\n Match.tag(\"Success\", (success) => options.onSuccess(success.value)),\n Match.tag(\"Failure\", (failure) => {\n if (Predicate.hasProperty(options, \"onFailure\")) {\n return options.onFailure(failure.error);\n }\n throw new Error(\n \"`onFailure` is required when error schema is provided\",\n );\n }),\n Match.exhaustive,\n ) as MatchReturns<E, X, Y, Z>,\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAQA,MAAM,SAAS;AA6Cf,MAAa,iBAAiB,MAC5B,UAAU,YAAY,GAAG,MAAM;AAEjC,MAAM,mBAAmB;EACtB,SAAS;EACR,GAAG;EACH,GAAG;CACL;CACA,KAAkC,GAAG,MAA8B;EACjE,OAAO,SAAS,cACd,MACA,IACF;CACF;CACA,CAAC,MAAM,QAEL,MACS;EACT,IAAI,KAAK,SAAS,KAAK,MACrB,OAAO;EAET,OAAO,MAAM,MAAM,IAAI,CAAC,CAAC,KACvB,MAAM,IACJ,YACC,SAAS,KAAK,YAAa,KAA2B,OACzD,GACA,MAAM,IAAI,YAAY,SACpB,MAAM,OAAO,KAAK,OAAQ,KAA2B,KAAK,CAC5D,GACA,MAAM,IAAI,YAAY,SACpB,MAAM,OAAO,KAAK,OAAQ,KAA2B,KAAK,CAC5D,GACA,MAAM,UACR;CACF;CACA,CAAC,KAAK,UAA6C;EACjD,MAAM,UAAU,KAAK,OAAO,KAAK,IAAI;EACrC,OAAO,MAAM,MAAM,IAAI,CAAC,CAAC,KACvB,MAAM,IAAI,YAAY,SACpB,KAAK,QAAQ,OAAO,CAAC,CAAC,KAAK,KAAK,KAAK,OAAO,CAAC,CAC/C,GACA,MAAM,IAAI,YAAY,SACpB,KAAK,QAAQ,OAAO,CAAC,CAAC,KAAK,KAAK,KAAK,KAAK,CAAC,CAC7C,GACA,MAAM,IAAI,YAAY,SACpB,KAAK,QAAQ,OAAO,CAAC,CAAC,KAAK,KAAK,KAAK,KAAK,CAAC,CAC7C,GACA,MAAM,UACR;CACF;AACF;AAEA,MAAa,QAA8B,YACzC,OAAO,OAAO,OAAO,OAAO,gBAAgB,GAAG;CAC7C,MAAM;CACN;AACF,CAAC;AAEH,MAAa,WAAyB,UACpC,OAAO,OAAO,OAAO,OAAO,gBAAgB,GAAG;CAC7C,MAAM;CACN;AACF,CAAC;AAEH,MAAa,QAAsB,UACjC,OAAO,OAAO,OAAO,OAAO,gBAAgB,GAAG;CAC7C,MAAM;CACN;AACF,CAAC;AAEH,MAAa,aACX,gBACiC,YAAY,SAAS;AAExD,MAAa,aACX,gBACiC,YAAY,SAAS;AAExD,MAAa,aACX,gBACiC,YAAY,SAAS;;;;;;;;;;;;;;AAsBxD,MAAa,QAQT,SAAS,KACX,IAEE,MACA,YAEA,MAAM,MAAM,IAAI,CAAC,CAAC,KAChB,MAAM,IAAI,YAAY,YAAY,QAAQ,UAAU,QAAQ,OAAO,CAAC,GACpE,MAAM,IAAI,YAAY,YAAY,QAAQ,UAAU,QAAQ,KAAK,CAAC,GAClE,MAAM,IAAI,YAAY,YAAY;CAChC,IAAI,UAAU,YAAY,SAAS,WAAW,GAC5C,OAAO,QAAQ,UAAU,QAAQ,KAAK;CAExC,MAAM,IAAI,MACR,uDACF;AACF,CAAC,GACD,MAAM,UACR,CACJ"}
1
+ {"version":3,"file":"QueryResult.js","names":[],"sources":["../src/QueryResult.ts"],"sourcesContent":["import * as Equal from \"effect/Equal\";\nimport * as Function from \"effect/Function\";\nimport * as Hash from \"effect/Hash\";\nimport * as Match from \"effect/Match\";\nimport * as Pipeable from \"effect/Pipeable\";\nimport * as Predicate from \"effect/Predicate\";\n\nconst TypeId = \"~@confect/react/QueryResult\";\ntype TypeId = typeof TypeId;\n\n/**\n * A `QueryResult` represents the result of a Confect query.\n *\n * @typeParam A - The type of the decoded `returns` value in the `Success` variant.\n * @typeParam E - The type of the decoded typed error in the `Failure` variant.\n */\nexport type QueryResult<A, E = never> =\n | Loading<A, E>\n | Success<A, E>\n | Failure<A, E>;\n\nexport declare namespace QueryResult {\n // eslint-disable-next-line import/namespace -- oxlint's namespace resolution misses type-only exports, and `Pipeable` is an interface\n export interface Proto<out A, out E> extends Pipeable.Pipeable {\n readonly [TypeId]: TypeId;\n readonly \"~A\": A;\n readonly \"~E\": E;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-shadow\n export type Success<R> = R extends { readonly \"~A\": infer A } ? A : never;\n\n // eslint-disable-next-line @typescript-eslint/no-shadow\n export type Failure<R> = R extends { readonly \"~E\": infer E } ? E : never;\n}\n\nexport interface Loading<A, E = never> extends QueryResult.Proto<A, E> {\n readonly _tag: \"Loading\";\n readonly skipped: boolean;\n}\n\nexport interface Success<A, E = never> extends QueryResult.Proto<A, E> {\n readonly _tag: \"Success\";\n readonly value: A;\n}\n\nexport interface Failure<A, E = never> extends QueryResult.Proto<A, E> {\n readonly _tag: \"Failure\";\n readonly error: E;\n}\n\nexport const isQueryResult = (u: unknown): u is QueryResult<unknown, unknown> =>\n Predicate.hasProperty(u, TypeId);\n\nconst QueryResultProto = {\n [TypeId]: TypeId,\n pipe(this: QueryResult<any, any>, ...args: ReadonlyArray<unknown>) {\n return Pipeable.pipeArguments(\n this,\n args as unknown as Parameters<typeof Pipeable.pipeArguments>[1],\n );\n },\n [Equal.symbol](\n this: QueryResult<any, any>,\n that: QueryResult<any, any>,\n ): boolean {\n if (this._tag !== that._tag) {\n return false;\n }\n return Match.value(this).pipe(\n Match.tag(\n \"Loading\",\n (self) => self.skipped === (that as Loading<any, any>).skipped,\n ),\n Match.tag(\"Success\", (self) =>\n Equal.equals(self.value, (that as Success<any, any>).value),\n ),\n Match.tag(\"Failure\", (self) =>\n Equal.equals(self.error, (that as Failure<any, any>).error),\n ),\n Match.exhaustive,\n );\n },\n [Hash.symbol](this: QueryResult<any, any>): number {\n const tagHash = Hash.string(this._tag);\n return Match.value(this).pipe(\n Match.tag(\"Loading\", (self) =>\n Hash.combine(tagHash)(Hash.hash(self.skipped)),\n ),\n Match.tag(\"Success\", (self) =>\n Hash.combine(tagHash)(Hash.hash(self.value)),\n ),\n Match.tag(\"Failure\", (self) =>\n Hash.combine(tagHash)(Hash.hash(self.error)),\n ),\n Match.exhaustive,\n );\n },\n};\n\nexport const load = <A = never, E = never>(skipped: boolean): Loading<A, E> =>\n Object.assign(Object.create(QueryResultProto), {\n _tag: \"Loading\" as const,\n skipped,\n });\n\nexport const succeed = <A, E = never>(value: A): Success<A, E> =>\n Object.assign(Object.create(QueryResultProto), {\n _tag: \"Success\" as const,\n value,\n });\n\nexport const fail = <E, A = never>(error: E): Failure<A, E> =>\n Object.assign(Object.create(QueryResultProto), {\n _tag: \"Failure\" as const,\n error,\n });\n\nexport const isLoading = <A, E>(\n queryResult: QueryResult<A, E>,\n): queryResult is Loading<A, E> => queryResult._tag === \"Loading\";\n\nexport const isSuccess = <A, E>(\n queryResult: QueryResult<A, E>,\n): queryResult is Success<A, E> => queryResult._tag === \"Success\";\n\nexport const isFailure = <A, E>(\n queryResult: QueryResult<A, E>,\n): queryResult is Failure<A, E> => queryResult._tag === \"Failure\";\n\ntype MatchOptions<A, E, X, Y, Z> = {\n readonly onLoading: (skipped: boolean) => X;\n readonly onSuccess: (value: A) => Y;\n} & ([E] extends [never] ? {} : { readonly onFailure: (error: E) => Z });\n\ntype MatchReturns<E, X, Y, Z> = [E] extends [never] ? X | Y : X | Y | Z;\n\n/**\n * Matches a {@link QueryResult} to the appropriate handler based on its tag. If\n * the provided `QueryResult` cannot fail (i.e. `E` is `never`), `onFailure` is\n * not required.\n *\n * @example\n * ```tsx\n * const result = QueryResult.match(queryResult, {\n * onLoading: (skipped) => skipped ? null : <p>Loading…</p>,\n * onSuccess: (value) => <p>{value.text}</p>,\n * onFailure: (error) => <p>Error: {error.message}</p>,\n * });\n */\nexport const match: {\n <A, E, X, Y, Z = never>(\n options: MatchOptions<A, E, X, Y, Z>,\n ): (self: QueryResult<A, E>) => MatchReturns<E, X, Y, Z>;\n <A, E, X, Y, Z = never>(\n self: QueryResult<A, E>,\n options: MatchOptions<A, E, X, Y, Z>,\n ): MatchReturns<E, X, Y, Z>;\n} = Function.dual(\n 2,\n <A, E, X, Y, Z = never>(\n self: QueryResult<A, E>,\n options: MatchOptions<A, E, X, Y, Z>,\n ): MatchReturns<E, X, Y, Z> =>\n Match.value(self).pipe(\n Match.tag(\"Loading\", (loading) => options.onLoading(loading.skipped)),\n Match.tag(\"Success\", (success) => options.onSuccess(success.value)),\n Match.tag(\"Failure\", (failure) => {\n if (Predicate.hasProperty(options, \"onFailure\")) {\n return options.onFailure(failure.error);\n }\n throw new Error(\n \"`onFailure` is required when error schema is provided\",\n );\n }),\n Match.exhaustive,\n ) as MatchReturns<E, X, Y, Z>,\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;AAOA,MAAM,SAAS;AA4Cf,MAAa,iBAAiB,MAC5B,UAAU,YAAY,GAAG,MAAM;AAEjC,MAAM,mBAAmB;EACtB,SAAS;CACV,KAAkC,GAAG,MAA8B;EACjE,OAAO,SAAS,cACd,MACA,IACF;CACF;CACA,CAAC,MAAM,QAEL,MACS;EACT,IAAI,KAAK,SAAS,KAAK,MACrB,OAAO;EAET,OAAO,MAAM,MAAM,IAAI,CAAC,CAAC,KACvB,MAAM,IACJ,YACC,SAAS,KAAK,YAAa,KAA2B,OACzD,GACA,MAAM,IAAI,YAAY,SACpB,MAAM,OAAO,KAAK,OAAQ,KAA2B,KAAK,CAC5D,GACA,MAAM,IAAI,YAAY,SACpB,MAAM,OAAO,KAAK,OAAQ,KAA2B,KAAK,CAC5D,GACA,MAAM,UACR;CACF;CACA,CAAC,KAAK,UAA6C;EACjD,MAAM,UAAU,KAAK,OAAO,KAAK,IAAI;EACrC,OAAO,MAAM,MAAM,IAAI,CAAC,CAAC,KACvB,MAAM,IAAI,YAAY,SACpB,KAAK,QAAQ,OAAO,CAAC,CAAC,KAAK,KAAK,KAAK,OAAO,CAAC,CAC/C,GACA,MAAM,IAAI,YAAY,SACpB,KAAK,QAAQ,OAAO,CAAC,CAAC,KAAK,KAAK,KAAK,KAAK,CAAC,CAC7C,GACA,MAAM,IAAI,YAAY,SACpB,KAAK,QAAQ,OAAO,CAAC,CAAC,KAAK,KAAK,KAAK,KAAK,CAAC,CAC7C,GACA,MAAM,UACR;CACF;AACF;AAEA,MAAa,QAA8B,YACzC,OAAO,OAAO,OAAO,OAAO,gBAAgB,GAAG;CAC7C,MAAM;CACN;AACF,CAAC;AAEH,MAAa,WAAyB,UACpC,OAAO,OAAO,OAAO,OAAO,gBAAgB,GAAG;CAC7C,MAAM;CACN;AACF,CAAC;AAEH,MAAa,QAAsB,UACjC,OAAO,OAAO,OAAO,OAAO,gBAAgB,GAAG;CAC7C,MAAM;CACN;AACF,CAAC;AAEH,MAAa,aACX,gBACiC,YAAY,SAAS;AAExD,MAAa,aACX,gBACiC,YAAY,SAAS;AAExD,MAAa,aACX,gBACiC,YAAY,SAAS;;;;;;;;;;;;;;AAsBxD,MAAa,QAQT,SAAS,KACX,IAEE,MACA,YAEA,MAAM,MAAM,IAAI,CAAC,CAAC,KAChB,MAAM,IAAI,YAAY,YAAY,QAAQ,UAAU,QAAQ,OAAO,CAAC,GACpE,MAAM,IAAI,YAAY,YAAY,QAAQ,UAAU,QAAQ,KAAK,CAAC,GAClE,MAAM,IAAI,YAAY,YAAY;CAChC,IAAI,UAAU,YAAY,SAAS,WAAW,GAC5C,OAAO,QAAQ,UAAU,QAAQ,KAAK;CAExC,MAAM,IAAI,MACR,uDACF;AACF,CAAC,GACD,MAAM,UACR,CACJ"}
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@confect/react",
3
3
  "description": "Client-side bindings for React apps",
4
- "version": "10.0.0-next.15",
4
+ "version": "10.0.0-next.18",
5
5
  "author": "RJ Dellecese",
6
6
  "bugs": {
7
7
  "url": "https://github.com/rjdellecese/confect/issues"
8
8
  },
9
9
  "devDependencies": {
10
- "@effect/vitest": "4.0.0-rc.109",
10
+ "@effect/vitest": "4.0.0-rc.111",
11
11
  "@testing-library/react": "16.3.2",
12
- "@types/node": "26.2.0",
12
+ "@types/node": "22.20.1",
13
13
  "@types/react": "19.2.18",
14
14
  "@types/react-dom": "19.2.4",
15
- "convex": "1.43.0",
16
- "effect": "4.0.0-rc.109",
15
+ "convex": "1.44.0",
16
+ "effect": "4.0.0-rc.111",
17
17
  "happy-dom": "20.11.2",
18
18
  "react": "19.2.8",
19
19
  "react-dom": "19.2.8",
@@ -42,6 +42,7 @@
42
42
  "LICENSE",
43
43
  "README.md",
44
44
  "dist",
45
+ "!dist/*.tsbuildinfo",
45
46
  "package.json",
46
47
  "src"
47
48
  ],
@@ -56,20 +57,20 @@
56
57
  "module": "./dist/index.js",
57
58
  "peerDependencies": {
58
59
  "convex": "^1.36.0",
59
- "effect": "^4.0.0-rc.109",
60
+ "effect": "^4.0.0-rc.111",
60
61
  "react": "^18.0.0 || ^19.0.0",
61
- "@confect/core": "^10.0.0-next.15"
62
+ "@confect/core": "^10.0.0-next.18"
62
63
  },
63
64
  "repository": {
64
65
  "type": "git",
65
- "url": "https://github.com/rjdellecese/confect.git"
66
+ "url": "git+https://github.com/rjdellecese/confect.git"
66
67
  },
67
68
  "sideEffects": false,
68
69
  "type": "module",
69
70
  "types": "./dist/index.d.ts",
70
71
  "scripts": {
71
72
  "clean": "shx rm -rf dist coverage node_modules",
72
- "dev": "tsdown --watch --config-loader unrun",
73
+ "dev": "tsdown --watch --no-clean --config-loader unrun",
73
74
  "typecheck": "tsc -b tsconfig.src.json"
74
75
  }
75
76
  }
@@ -1,4 +1,3 @@
1
- import { identity } from "effect/Function";
2
1
  import * as Equal from "effect/Equal";
3
2
  import * as Function from "effect/Function";
4
3
  import * as Hash from "effect/Hash";
@@ -6,7 +5,7 @@ import * as Match from "effect/Match";
6
5
  import * as Pipeable from "effect/Pipeable";
7
6
  import * as Predicate from "effect/Predicate";
8
7
 
9
- const TypeId = "@confect/react/PaginatedQueryResult";
8
+ const TypeId = "~@confect/react/PaginatedQueryResult";
10
9
  type TypeId = typeof TypeId;
11
10
 
12
11
  /**
@@ -62,17 +61,18 @@ export type Variants<Item, E = never> =
62
61
 
63
62
  export declare namespace PaginatedQueryResult {
64
63
  // eslint-disable-next-line @typescript-eslint/no-shadow, import/namespace -- oxlint's namespace resolution misses type-only exports, and `Pipeable` is an interface
65
- export interface Proto<Item, E> extends Pipeable.Pipeable {
66
- readonly [TypeId]: {
67
- readonly E: (_: never) => E;
68
- readonly Item: (_: never) => Item;
69
- };
64
+ export interface Proto<out Item, out E> extends Pipeable.Pipeable {
65
+ readonly [TypeId]: TypeId;
66
+ readonly "~Item": Item;
67
+ readonly "~E": E;
70
68
  }
71
69
 
72
- export type Item<R> = R extends Proto<infer Item_, infer _E> ? Item_ : never;
70
+ export type Item<R> = R extends { readonly "~Item": infer Item_ }
71
+ ? Item_
72
+ : never;
73
73
 
74
74
  // eslint-disable-next-line @typescript-eslint/no-shadow
75
- export type Failure<R> = R extends Proto<infer _Item, infer E> ? E : never;
75
+ export type Failure<R> = R extends { readonly "~E": infer E } ? E : never;
76
76
  }
77
77
 
78
78
  export interface LoadingFirstPage<
@@ -128,10 +128,7 @@ export const isPaginatedQueryResult = (
128
128
  ): u is Variants<unknown, unknown> => Predicate.hasProperty(u, TypeId);
129
129
 
130
130
  const PaginatedQueryResultProto = {
131
- [TypeId]: {
132
- E: identity,
133
- Item: identity,
134
- },
131
+ [TypeId]: TypeId,
135
132
  pipe(this: Variants<any, any>, ...args: ReadonlyArray<unknown>) {
136
133
  return Pipeable.pipeArguments(
137
134
  this,
@@ -1,4 +1,3 @@
1
- import { identity } from "effect/Function";
2
1
  import * as Equal from "effect/Equal";
3
2
  import * as Function from "effect/Function";
4
3
  import * as Hash from "effect/Hash";
@@ -6,7 +5,7 @@ import * as Match from "effect/Match";
6
5
  import * as Pipeable from "effect/Pipeable";
7
6
  import * as Predicate from "effect/Predicate";
8
7
 
9
- const TypeId = "@confect/react/QueryResult";
8
+ const TypeId = "~@confect/react/QueryResult";
10
9
  type TypeId = typeof TypeId;
11
10
 
12
11
  /**
@@ -22,18 +21,17 @@ export type QueryResult<A, E = never> =
22
21
 
23
22
  export declare namespace QueryResult {
24
23
  // eslint-disable-next-line import/namespace -- oxlint's namespace resolution misses type-only exports, and `Pipeable` is an interface
25
- export interface Proto<A, E> extends Pipeable.Pipeable {
26
- readonly [TypeId]: {
27
- readonly E: (_: never) => E;
28
- readonly A: (_: never) => A;
29
- };
24
+ export interface Proto<out A, out E> extends Pipeable.Pipeable {
25
+ readonly [TypeId]: TypeId;
26
+ readonly "~A": A;
27
+ readonly "~E": E;
30
28
  }
31
29
 
32
30
  // eslint-disable-next-line @typescript-eslint/no-shadow
33
- export type Success<R> = R extends QueryResult<infer A, infer _E> ? A : never;
31
+ export type Success<R> = R extends { readonly "~A": infer A } ? A : never;
34
32
 
35
33
  // eslint-disable-next-line @typescript-eslint/no-shadow
36
- export type Failure<R> = R extends QueryResult<infer _A, infer E> ? E : never;
34
+ export type Failure<R> = R extends { readonly "~E": infer E } ? E : never;
37
35
  }
38
36
 
39
37
  export interface Loading<A, E = never> extends QueryResult.Proto<A, E> {
@@ -55,10 +53,7 @@ export const isQueryResult = (u: unknown): u is QueryResult<unknown, unknown> =>
55
53
  Predicate.hasProperty(u, TypeId);
56
54
 
57
55
  const QueryResultProto = {
58
- [TypeId]: {
59
- E: identity,
60
- A: identity,
61
- },
56
+ [TypeId]: TypeId,
62
57
  pipe(this: QueryResult<any, any>, ...args: ReadonlyArray<unknown>) {
63
58
  return Pipeable.pipeArguments(
64
59
  this,
@@ -1 +0,0 @@
1
- {"version":"7.0.2+effect-tsgo.0.36.4","root":[[307,309],324],"packageJsons":["../../../node_modules/.pnpm/@standard-schema+spec@1.1.0/node_modules/@standard-schema/spec/package.json","../../../node_modules/.pnpm/@types+react@19.2.18/node_modules/@types/react/package.json","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/browser/package.json","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/package.json","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/package.json","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/react/package.json","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/server/package.json","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/values/package.json","../../../node_modules/.pnpm/csstype@3.2.3/node_modules/csstype/package.json","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/package.json","../../../node_modules/.pnpm/fast-check@4.9.0/node_modules/fast-check/package.json","../../../node_modules/.pnpm/pure-rand@8.4.2/node_modules/pure-rand/lib/esm/package.json","../../../node_modules/.pnpm/pure-rand@8.4.2/node_modules/pure-rand/package.json","../../../node_modules/.pnpm/react@19.2.8/node_modules/react/package.json","../../core/package.json","../package.json"],"missingPackageJsons":["../../../node_modules/.pnpm/@standard-schema+spec@1.1.0/node_modules/@standard-schema/spec/dist/package.json","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/@auth0/auth0-react/package.json","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/@clerk/clerk-react/package.json","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/@clerk/react/package.json","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/browser/package.json","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/browser/sync/package.json","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/react/package.json","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/components/package.json","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/impl/package.json","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/package.json","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/values/package.json","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/vendor/package.json","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/node_modules/react/package.json","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/package.json","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/testing/package.json","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/unstable/package.json","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/unstable/persistence/package.json","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/unstable/reactivity/package.json","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/unstable/sql/package.json","../../../node_modules/.pnpm/fast-check@4.9.0/node_modules/fast-check/lib/package.json","../../../node_modules/.pnpm/fast-check@4.9.0/node_modules/pure-rand/types/JumpableRandomGenerator/package.json","../../../node_modules/.pnpm/fast-check@4.9.0/node_modules/pure-rand/types/RandomGenerator/package.json","../../../node_modules/.pnpm/pure-rand@8.4.2/node_modules/pure-rand/lib/esm/types/package.json","../../core/node_modules/effect/Context/package.json","../../core/node_modules/effect/Data/package.json","../../core/node_modules/effect/Effect/package.json","../../core/node_modules/effect/Option/package.json","../../core/node_modules/effect/Ref/package.json","../../core/node_modules/effect/Schema/package.json","../../core/node_modules/effect/SchemaAST/package.json","../../core/node_modules/effect/Struct/package.json","../../core/node_modules/effect/Unify/package.json","../node_modules/effect/Cause/package.json","../node_modules/effect/Effect/package.json","../node_modules/effect/Equal/package.json","../node_modules/effect/Exit/package.json","../node_modules/effect/Function/package.json","../node_modules/effect/Hash/package.json","../node_modules/effect/Match/package.json","../node_modules/effect/Option/package.json","../node_modules/effect/Pipeable/package.json","../node_modules/effect/Predicate/package.json","../node_modules/effect/Result/package.json"],"fileNames":["lib.es5.d.ts","lib.es2015.d.ts","lib.es2016.d.ts","lib.es2017.d.ts","lib.es2018.d.ts","lib.es2019.d.ts","lib.es2020.d.ts","lib.es2021.d.ts","lib.es2022.d.ts","lib.es2023.d.ts","lib.es2024.d.ts","lib.es2025.d.ts","lib.esnext.d.ts","lib.dom.d.ts","lib.es2015.core.d.ts","lib.es2015.collection.d.ts","lib.es2015.generator.d.ts","lib.es2015.iterable.d.ts","lib.es2015.promise.d.ts","lib.es2015.proxy.d.ts","lib.es2015.reflect.d.ts","lib.es2015.symbol.d.ts","lib.es2015.symbol.wellknown.d.ts","lib.es2016.array.include.d.ts","lib.es2016.intl.d.ts","lib.es2017.arraybuffer.d.ts","lib.es2017.date.d.ts","lib.es2017.object.d.ts","lib.es2017.sharedmemory.d.ts","lib.es2017.string.d.ts","lib.es2017.intl.d.ts","lib.es2017.typedarrays.d.ts","lib.es2018.asyncgenerator.d.ts","lib.es2018.asynciterable.d.ts","lib.es2018.intl.d.ts","lib.es2018.promise.d.ts","lib.es2018.regexp.d.ts","lib.es2019.array.d.ts","lib.es2019.object.d.ts","lib.es2019.string.d.ts","lib.es2019.symbol.d.ts","lib.es2019.intl.d.ts","lib.es2020.bigint.d.ts","lib.es2020.date.d.ts","lib.es2020.promise.d.ts","lib.es2020.sharedmemory.d.ts","lib.es2020.string.d.ts","lib.es2020.symbol.wellknown.d.ts","lib.es2020.intl.d.ts","lib.es2020.number.d.ts","lib.es2021.promise.d.ts","lib.es2021.string.d.ts","lib.es2021.weakref.d.ts","lib.es2021.intl.d.ts","lib.es2022.array.d.ts","lib.es2022.error.d.ts","lib.es2022.intl.d.ts","lib.es2022.object.d.ts","lib.es2022.string.d.ts","lib.es2022.regexp.d.ts","lib.es2023.array.d.ts","lib.es2023.collection.d.ts","lib.es2023.intl.d.ts","lib.es2024.arraybuffer.d.ts","lib.es2024.collection.d.ts","lib.es2024.object.d.ts","lib.es2024.promise.d.ts","lib.es2024.regexp.d.ts","lib.es2024.sharedmemory.d.ts","lib.es2024.string.d.ts","lib.es2025.collection.d.ts","lib.es2025.float16.d.ts","lib.es2025.intl.d.ts","lib.es2025.iterator.d.ts","lib.es2025.promise.d.ts","lib.es2025.regexp.d.ts","lib.esnext.array.d.ts","lib.esnext.collection.d.ts","lib.esnext.date.d.ts","lib.esnext.decorators.d.ts","lib.esnext.disposable.d.ts","lib.esnext.error.d.ts","lib.esnext.intl.d.ts","lib.esnext.sharedmemory.d.ts","lib.esnext.temporal.d.ts","lib.esnext.typedarrays.d.ts","lib.decorators.d.ts","lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/values/value.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/type_utils.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/values/validators.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/values/validator.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/values/base64.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/values/errors.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/values/compare.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/values/size.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/values/index.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/authentication.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/system_fields.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/data_model.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/filter_builder.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/index_range_builder.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/pagination.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/search_filter_builder.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/query.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/schema.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/database.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/api.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/meta.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/scheduler.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/vector_search.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/registration.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/impl/registration_impl.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/storage.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/cron.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/router.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/components/paths.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/components/index.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/logVars.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/audit_logging.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/log.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/server/index.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Types.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/HKT.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Function.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Ordering.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Order.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Combiner.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Reducer.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Equivalence.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Predicate.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Inspectable.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Pipeable.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Unify.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Utils.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Result.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Filter.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Option.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Record.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Array.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Hash.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Equal.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Duration.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Clock.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/NonEmptyIterable.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Chunk.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Exit.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/LogLevel.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Deferred.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Latch.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/MutableList.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/MutableRef.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Scope.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/PubSub.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Pull.d.ts","../../../node_modules/.pnpm/@standard-schema+spec@1.1.0/node_modules/@standard-schema/spec/dist/index.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/BigDecimal.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/DateTime.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Differ.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Formatter.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/HashMap.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/HashSet.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/JsonPatch.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/JsonSchema.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/SchemaIssue.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/SchemaGetter.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/SchemaTransformation.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/SchemaAST.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Optic.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Redacted.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/SchemaParser.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/SchemaRepresentation.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Struct.d.ts","../../../node_modules/.pnpm/pure-rand@8.4.2/node_modules/pure-rand/lib/esm/RandomGenerator-DcXj09Ch.d.ts","../../../node_modules/.pnpm/pure-rand@8.4.2/node_modules/pure-rand/lib/esm/types/RandomGenerator.d.ts","../../../node_modules/.pnpm/pure-rand@8.4.2/node_modules/pure-rand/lib/esm/types/JumpableRandomGenerator.d.ts","../../../node_modules/.pnpm/fast-check@4.9.0/node_modules/fast-check/lib/fast-check.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/testing/FastCheck.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Schema.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Brand.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/PlatformError.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Cron.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Schedule.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Take.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Tracer.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Stream.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Sink.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/FileSystem.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Logger.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/References.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Fiber.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Scheduler.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Queue.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Channel.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Layer.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/ExecutionPlan.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Metric.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Request.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/MutableHashMap.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Cache.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/PrimaryKey.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/unstable/reactivity/Reactivity.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/unstable/sql/SqlError.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/unstable/sql/SqlConnection.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/unstable/sql/Statement.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/unstable/sql/SqlClient.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Path.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/unstable/persistence/KeyValueStore.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/unstable/persistence/Redis.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/unstable/persistence/Persistence.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/unstable/persistence/Persistable.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/RequestResolver.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/TxRef.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Effect.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Context.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Cause.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Data.d.ts","../../core/dist/PaginationOptions.d.ts","../../core/dist/PaginationResult.d.ts","../../core/dist/FunctionProvenance.d.ts","../../core/dist/RuntimeAndFunctionType.d.ts","../../core/dist/FunctionSpec.d.ts","../../core/dist/GenericId.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/BigInt.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Boolean.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/ChannelSchema.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/ConfigProvider.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Config.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Console.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Crypto.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Effectable.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Encoding.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/ErrorReporter.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/FiberHandle.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/FiberMap.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/FiberSet.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Graph.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/HashRing.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Iterable.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/JsonPointer.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/RcMap.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/LayerMap.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/RcRef.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/LayerRef.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/ManagedRuntime.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Match.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/MutableHashSet.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Newtype.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Number.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/PartitionedSemaphore.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Semaphore.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Pool.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Random.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Redactable.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Ref.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/RegExp.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/SynchronizedRef.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/ScopedRef.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Resource.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Runtime.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/ScopedCache.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Stdio.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/String.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/SubscriptionRef.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Symbol.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Terminal.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Trie.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/Tuple.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/TxChunk.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/TxDeferred.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/TxHashMap.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/TxHashSet.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/TxPriorityQueue.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/TxQueue.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/TxPubSub.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/TxReentrantLock.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/TxSemaphore.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/TxSubscriptionRef.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/UndefinedOr.d.ts","../../../node_modules/.pnpm/effect@4.0.0-rc.109/node_modules/effect/dist/index.d.ts","../../core/dist/GroupSpec.d.ts","../../core/dist/GroupPath.d.ts","../../core/dist/Identifier.d.ts","../../core/dist/Lazy.d.ts","../../core/dist/Ref.d.ts","../../core/dist/Spec.d.ts","../../core/dist/Refs.d.ts","../../core/dist/Registry.d.ts","../../core/dist/SystemFields.d.ts","../../core/dist/Types.d.ts","../../core/dist/UserIdentity.d.ts","../../core/dist/index.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/browser/sync/function_result.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/browser/logging.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/browser/sync/optimistic_updates.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/vendor/long.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/browser/sync/protocol.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/browser/sync/udf_path_utils.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/browser/sync/local_state.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/browser/sync/authentication_manager.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/browser/sync/client.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/browser/sync/pagination.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/browser/simple_client.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/browser/http_client.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/browser/query_options.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/browser/index.d.ts","../src/OptimisticLocalStore.ts","../src/PaginatedQueryResult.ts","../src/QueryResult.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/index.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/react/use_paginated_query.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/react/use_paginated_query2.d.ts","../../../node_modules/.pnpm/@types+react@19.2.18/node_modules/@types/react/global.d.ts","../../../node_modules/.pnpm/csstype@3.2.3/node_modules/csstype/index.d.ts","../../../node_modules/.pnpm/@types+react@19.2.18/node_modules/@types/react/index.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/react/client.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/browser/sync/paginated_query_client.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/react/queries_observer.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/react/use_queries.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/react/auth_helpers.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/react/ConvexAuthState.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/react/hydration.d.ts","../../../node_modules/.pnpm/convex@1.43.0_react@19.2.8/node_modules/convex/dist/esm-types/react/index.d.ts","../src/index.ts"],"fileInfos":[{"version":"16934abaab7026ac114da441aabea1a0","affectsGlobalScope":true,"impliedNodeFormat":1},"d4306fb2e47f74835e8674ffac07d76f","e437c5c1302869326c3bb93da85bbbcf","e4324975a566567b21d350615f1fc6ac","333b1b9a2a9ac3b8497dba5c63b5ba50","6cffacd662b6eb5fa7a36aa2ea366bfa","b4c34f9c23304dbef2d23698637ed638","e5cb86a5fc491796ecd1d2dd348d208f","feb6c6fb19cdb246a5d8acb36a6901c7","9443a7f109277ffaa79d893ed2549995","793cee405385076e27c24f409659dccd","09f69c6610266eaee1ac9e3e30df2c71","62bad718844246b8e17547f37bad6085",{"version":"aae8996e8b5684814785a42cbbefcd79","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"926204c28cd3d073865348473ae28d2e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f25e42c801b2cb3cf2b39792006a9beb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6344b55f26a4e81d9608777dbfb877dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3c0ed28e53d3695b363e256ec1c023fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4c2761daba7f17141c25baa0821ac5da","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b87656acabd63e69379ff6ffcfe52fc7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"597469522da047a5af5222cc6989f405","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1708ea4d34dc37fadadc63ca01127e80","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"55d97a8c6fbf34a30450a7b1e5f7a298","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0ee05eb59426d33e374226d8dcfa708b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e347c14030993906efcfbb88915b6a05","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b0231263857c9b6a03641acdc9280ceb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3b15c4a83b598cacb4067676e6f0abed","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b417d97b7934cef63b1889abec0bbfbf","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"09a6cf4032ebba60ce22a501e663f881","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2b056277dd138e8f5650fc04e20eaa8d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"e22cc07e3f3cc242ba52fa3f8ea1fc58","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2c45da767a1bfbb220848df1bc4029e4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b44c3e0fbaf2130cdcf6ac38b120ffa1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b612fb5cf8e5d964b92063a75207632a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"02705151a5e1551b9162a9ed8ab763f7","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"41025e398be9215d32e4337335da8f0b","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"52684c2b1f353a5538e4f275182a54cd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6dedb6a4f90d1df3a6fbe5693e44886c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ca3f36fe3562c07e0f0d71c2bebd3f6d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"409974d6129befbb8226ddd1c6558568","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4d9cfde2a1ae1b4925f1f9bc10848e5d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7e1daecc66dd564144e3bb1a0266b5fd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a8e1d9bb35fd0637f2f9fd2b2a54f2ec","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4f168501772a6543182765bfd5f2fbfe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a19c80aad1b2162103496f5ba293a732","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b69afa63cd5d059851c78adb2856ee09","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ae2fc5d954e9b0f5feee3d481b953c27","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1cfd3091a071d8b6feec15277643bafe","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1da2c1f258970fd3cc91184f69e91a9d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"a0d87491913d843139e0c993650a3235","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4ef72aa378127e7b7abba915b0110b1e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"3ec74c6a7d4463f0254db3a74cf75646","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"84c2bdfa470d075526cce6322d81b0b6","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0b3844c2b8c73e4e1ab91431411cad11","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"4fc71cf4a15b8d99675a31df77f26e07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d1b49564ddaeca3df5b6dbae925d2242","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6a25be566d60ccfc2d6e8b7bfdeefa83","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8a20e27646985dfd58c57ca6566553dd","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9969f02ad3cdcbf4f709405cda44167f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"9c9be4792a7a4f42c15ae7360bf28779","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"8cf777fe00349b71ee9c4b6f3fe7fd19","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"74f96bc192530c9723f572bfff3d3078","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1df91c56b25955c56387426f378173c5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"38856f70edcd2115c355d96ec77cc09e","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"de8700156c1275465bcd473c28b359aa","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d47cfdb6ede40518357bb5a4cd7cd9fb","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6e5773860cd9e5b15e683113f642ab47","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"30ff5fe1682f7fcd629880476ca3c2e0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"bf23d7d1b40b9015b694ddc2f011752f","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"2cc585d42e2c548f9f24a30a1989fd33","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"713906ce9d332d2242b7f05ed9304be3","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"0219894bfe5042c7e1aa2d22e4a91ed0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"6009ffff7e43c93318804d2d28e37fe3","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"03be89b227587594fbb50509fc1c2e45","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"b30df52dc24740c0bad7c55c3511df7d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"ab8d3c9b5ed5c2ab8f383607eef439f0","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d950ec671d0a8e07f3c1a31e94abed86","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1abef2ace5eccb02d60dd73cd5a5ee4c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f5f0a3044029d1cc081b5887eb4deb07","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d57c697f1446940ec4bfe669c962e2c4","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"be41035d7b941482a1e1ae6a5c5dcca5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"10f7d9da7564f27f8ddf4a162b6da6d3","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"1d0520af549e0c3581f15173cc713ca1","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"d65083f97fd741cff028472563eddb79","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"da7f24f00653ebac660ac1c0821ed33d","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"7cb5ae9e65516ea2235f0721f6aac43c","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"f64453cbf9671f28158677fa5c43967a","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"33f317af5428801f944a478d2c1e38e5","affectsGlobalScope":true,"impliedNodeFormat":1},{"version":"417a3c7ff356cdd26d2035de35152e30","impliedNodeFormat":99},{"version":"2d2053c804f52bea67387403ff8421b6","impliedNodeFormat":99},{"version":"22671a79ad08093d4fa83c057aeab559","impliedNodeFormat":99},{"version":"dd72b2537dc74d3f33f2e82bcfb3c927","impliedNodeFormat":99},{"version":"ca974b561a78d689fc9f0edd2a2d955f","impliedNodeFormat":99},{"version":"935f8119f2ae0fd80797b653136ae7e7","impliedNodeFormat":99},{"version":"a77e102763d1c7ff910fc3ad592a90bf","impliedNodeFormat":99},{"version":"5709df037350c7860c034741825a5b43","impliedNodeFormat":99},{"version":"a959a33180dd9ea6bb01488f7e81584c","impliedNodeFormat":99},{"version":"d8ee02ab18933292f1179035ca3fa113","impliedNodeFormat":99},{"version":"6bf883ed3038eaa5d2e310289f524572","impliedNodeFormat":99},{"version":"3c1b7bf231a9f92749549789c4100dee","impliedNodeFormat":99},{"version":"5d733ba77daed383ec1eef8959d5c418","impliedNodeFormat":99},{"version":"228ace30f2e3454e7b80e0ec7277881d","impliedNodeFormat":99},{"version":"99a884523f52a3759f4d3d6dfc686d0f","impliedNodeFormat":99},{"version":"37f217bfcbc097e070b9f1bfe361f202","impliedNodeFormat":99},{"version":"6820daa096def1e834f4f1670e490586","impliedNodeFormat":99},{"version":"4105c897a3f4a7a8adf10d9e35c05275","impliedNodeFormat":99},{"version":"f900614d4d1d12ea411d24682a415fb2","impliedNodeFormat":99},{"version":"2d2b7aa6a2c985adeb6d713a51e43975","impliedNodeFormat":99},{"version":"41d6e3b990121ad7b7c5c0de92fc99ab","impliedNodeFormat":99},{"version":"a130438c4d9915439eb6b718a13cf6c1","impliedNodeFormat":99},{"version":"cf3e4b26252de9997edb8400ca70e581","impliedNodeFormat":99},{"version":"a5e2fa6226532d2732b28fbc1edd0a3f","impliedNodeFormat":99},{"version":"aeae900ef5ef25ae4445930e8f325527","impliedNodeFormat":99},{"version":"ca12cb8ce74663715c0179d61dc15e36","impliedNodeFormat":99},{"version":"9ea1ca2f6cd304af723f976759215cb8","impliedNodeFormat":99},{"version":"20d1e40a94c2e2d992f53ba96ccbe880","impliedNodeFormat":99},{"version":"875dc0ba8a94d39b82488a9deb32d36b","impliedNodeFormat":99},{"version":"c488bb6c2978e61edd3d4550797a6e66","impliedNodeFormat":99},{"version":"fcc8cbc95a597ccd8b253b1cae7fd655","impliedNodeFormat":99},{"version":"08bdc1b1acbb01bd33041b35c4d17a9a","impliedNodeFormat":99},{"version":"4e1124e56c52e7a497f946d95f4609df","impliedNodeFormat":99},{"version":"24610500558b29ea97dede0acfb77ce8","impliedNodeFormat":99},{"version":"e69e43b936ff88233ca187b004be89ab","impliedNodeFormat":99},{"version":"d6c77ca2691ba3fc3144e70afb6a0d88","impliedNodeFormat":99},{"version":"8f13fe4c414610923fda39465f3655ad","impliedNodeFormat":99},{"version":"4f64043f0b8cdd958ca3dc8fc54e6fb9","impliedNodeFormat":99},{"version":"fc6ea7c7d8c4d90b9db7cb0f5f130a70","impliedNodeFormat":99},{"version":"a68233899b85fa7912a325f6ef283dd1","impliedNodeFormat":99},{"version":"cde55e46297363ecb2e9e9428d616185","impliedNodeFormat":99},{"version":"569993cd9a8370c95c730627f65eb447","impliedNodeFormat":99},{"version":"73386045996c4a599dcd074c65a79b07","impliedNodeFormat":99},{"version":"b01e6e2c739a56d42da6437ac810ad21","impliedNodeFormat":99},{"version":"15f3be8da310ac62e4140f4eae77c103","impliedNodeFormat":99},{"version":"b1847db96f47f0a8e02cb7cd85aab462","impliedNodeFormat":99},{"version":"e76a3c28a1c4d1e68311182a11385c92","impliedNodeFormat":99},{"version":"bd2a05c8edaa8574ff17ac20302ea671","impliedNodeFormat":99},{"version":"93ad54e877fedaa48ecf0a17e674d6d6","impliedNodeFormat":99},{"version":"7df25d0e3eba30089a6796f25afa79f5","impliedNodeFormat":99},{"version":"0ae3a09d0670d6c61f309b3b4d9dc7ca","impliedNodeFormat":99},{"version":"6a4748c2a3f950c79e4735f897a638ee","impliedNodeFormat":99},{"version":"84ba042893da8f04af1c46a8f111f364","impliedNodeFormat":99},{"version":"8294ddb11a628bfbfd9d3d868af5bd00","impliedNodeFormat":99},{"version":"5cadb4f0df8164d63a59151d922bb4cb","impliedNodeFormat":99},{"version":"b628906cb3ed4e43e6f83a138480d3a5","impliedNodeFormat":99},{"version":"b425cb59a119055768030f40a839f9d2","impliedNodeFormat":99},{"version":"5f4ed4af9c86f97f4279f6cf1bec9955","impliedNodeFormat":99},{"version":"b95bd72688d115d0ba14d8ec0ecc5feb","impliedNodeFormat":99},{"version":"b90f7b2dd18e65dc235f101963e294be","impliedNodeFormat":99},{"version":"2f6ee9003990a7ed3846ba7d73c64c98","impliedNodeFormat":99},{"version":"c288be1685b031884ec6bf901ec8eb1a","impliedNodeFormat":99},{"version":"8fd1ab0e0e1f5c2c994455da4c2c45b9","impliedNodeFormat":99},{"version":"b5877eb3e3ed7ad86b1190eb30616645","impliedNodeFormat":99},{"version":"894647471052450e760f870f76cd99d3","impliedNodeFormat":99},{"version":"f3c0fefaecbd27bf0cdfe070ecedbc0c","impliedNodeFormat":99},{"version":"647e2522cc76b8eba807eafef2b6c0eb","impliedNodeFormat":99},{"version":"4509fca76e721cdf9edb2d028395a117","impliedNodeFormat":99},{"version":"49f8be201984ee0089ef6148899e5a06","impliedNodeFormat":99},{"version":"9cb4a8c1eac1edf0e9915247dbff9e94","impliedNodeFormat":99},{"version":"7d56355c1ebb21a4c86f48d810eaaabd","impliedNodeFormat":99},{"version":"df9563feb9ae1f488e3eaf8aa56d0ff6","impliedNodeFormat":99},{"version":"f863bfefb84f29c5435cd5630e0b6760","impliedNodeFormat":99},{"version":"9c6b02bd1e9996c9eb82aeb9af16399e","impliedNodeFormat":99},{"version":"992cdeaede1ba0252d86bff63a134aa3","impliedNodeFormat":99},{"version":"2a3a5dd2f6b60121dc7172a528dce376","impliedNodeFormat":99},{"version":"5848d912888b088be8826c22aa1decd2","impliedNodeFormat":99},{"version":"26854d31c0ea180d9cadc48afdbb0d29","impliedNodeFormat":99},{"version":"22769560992d57a404644030a7500fef","impliedNodeFormat":99},{"version":"4f0211c69accdae9ce591eebdf6ec50b","impliedNodeFormat":99},{"version":"9d190128648531573e3a9b6ff81348f4","impliedNodeFormat":99},{"version":"e7ee951227476301e940768be435c53f","impliedNodeFormat":99},{"version":"20951bd6ab2770df560ba1f46d6504b3","impliedNodeFormat":99},{"version":"c086db55b03830969322032bcaf50c86","impliedNodeFormat":99},{"version":"8cc82ac20ed5864325b20961b18cd5da","impliedNodeFormat":99},{"version":"238d99f14c44af839ea823106f42f3a9","impliedNodeFormat":99},{"version":"64a335bdd843e4cc8de6767a61d5c634","impliedNodeFormat":99},{"version":"74f9a6f95ba4b075eeccf027659cc7e8","impliedNodeFormat":99},{"version":"c963eec70989e7e52b3989f0039103e5","impliedNodeFormat":99},{"version":"46adf4c3534293d9ba7b9242b0cfb890","impliedNodeFormat":99},{"version":"ea3b49741423da410ad3d0b9d375f2bf","impliedNodeFormat":99},{"version":"5cda4f741b2a7fbd5a86743c255d04a8","impliedNodeFormat":99},{"version":"cd272c92b999cd0aea3cc06757e27dae","impliedNodeFormat":99},{"version":"af091e1b630304b415af21af647c833c","impliedNodeFormat":99},{"version":"f1d6801612691289ac81f87dbb728618","impliedNodeFormat":99},{"version":"095c835ff5b6d9a8c898d248251c0826","impliedNodeFormat":99},{"version":"1fe6646ca906db86145b6e7b14b98de6","impliedNodeFormat":99},{"version":"7f5f494f4552df306d87b08ee09a7f76","impliedNodeFormat":99},{"version":"8f62dd8f7e379bf0a93a06216896deed","impliedNodeFormat":99},{"version":"92c4fedf37cc61e0d94c406256ebc570","impliedNodeFormat":99},{"version":"3e11e22170ae6dbd6ccc55da3982ce78","impliedNodeFormat":99},{"version":"6e3ed475c319985a9129fd732169d5a9","impliedNodeFormat":99},{"version":"b3619d2c966d5a2c62fea58b6a338274","impliedNodeFormat":99},{"version":"3beaa366567c7f22448c5e3c9c0f01be","impliedNodeFormat":99},{"version":"3546667a577affc4f01b5c8882132063","impliedNodeFormat":99},{"version":"dc0a0982e110b074981f1d60e43d0a6e","impliedNodeFormat":99},{"version":"d6db46a9de4dfc09674cdb8b452156d3","impliedNodeFormat":99},{"version":"e88a8aa5be341022b2533f799627db09","impliedNodeFormat":99},{"version":"f2887b08c94e76695378131b98b2b773","impliedNodeFormat":99},{"version":"fb4ddb6db9693c410fa9d917f30c56c9","impliedNodeFormat":99},{"version":"98e3e99b82050cd8f6afebc802fafc18","impliedNodeFormat":99},{"version":"d2c2f02706d19e154386b5bd62aecb89","impliedNodeFormat":99},{"version":"b8c8f6f5685cee18bdec8ceeac715778","impliedNodeFormat":99},{"version":"d71c7112f10ea398daa85fd0f0ab6a44","impliedNodeFormat":99},{"version":"616b3c1de57c85e8c58d8901be8b806b","impliedNodeFormat":99},{"version":"959aa6ccd2795d9bdcf9567bfc4e851a","impliedNodeFormat":99},{"version":"c91a51e3b63ff88639d807c413166bed","impliedNodeFormat":99},{"version":"9b12cf56a2d569ada985947eb343abd1","impliedNodeFormat":99},{"version":"d3b269886d056370e3556405aa745533","impliedNodeFormat":99},{"version":"cbb5f2ada92ca80c0b15e157cff31706","impliedNodeFormat":99},{"version":"af11f809b3556db146dc173707896610","impliedNodeFormat":99},{"version":"d407b188760bd151e2c49b8b79723ca9","impliedNodeFormat":99},{"version":"b73ffa3970ac52d70ca0635630f3fb07","impliedNodeFormat":99},{"version":"73fb95a43c3342d2455de8d38387f7f6","impliedNodeFormat":99},{"version":"0d34cb87ef1d050841cfc0f2a4f08936","impliedNodeFormat":99},{"version":"5bb75f29b0f77d5b8907d1cb56ad7ef0","impliedNodeFormat":99},{"version":"65ba798fbe04458be9c9cffdaddaec66","impliedNodeFormat":99},{"version":"bfb783cf6c827e3d06325aafc602b40c","impliedNodeFormat":99},{"version":"7d62856e7ca4f8a6aba200cbad53beaf","impliedNodeFormat":99},"008ff9dd649b5a01a4eadd583bb95118","814f182bfde5eaffd89327ec53277916","04dee0f659cf014a80be66d63593d9e3","29c9e894921a0d43220f9f60776711c5","5897e2683453aa02aa6bad605f03507b","689c394ab894d38099a1f8c92da8f6a6",{"version":"4df6625f14d419f374205da101c6a428","impliedNodeFormat":99},{"version":"35410889996c3398518c0a21678842bb","impliedNodeFormat":99},{"version":"dc062e2fdb1c5da53af5b099893590f5","impliedNodeFormat":99},{"version":"af7727af73a364778572c7175bc1f610","impliedNodeFormat":99},{"version":"dc71711738a0829b5c64c4705bda10d0","impliedNodeFormat":99},{"version":"7a8785c51ab43934b2bb91f990fff1a9","impliedNodeFormat":99},{"version":"1d9a35a5f543fec23befb3efbe9bb63d","impliedNodeFormat":99},{"version":"eee67cfa8f7cefb16a5fb8a793471b13","impliedNodeFormat":99},{"version":"08177f1bf4dbece907a2adc7bb6da4de","impliedNodeFormat":99},{"version":"baa35f45d1697e23a0e75979c7a374d1","affectsGlobalScope":true,"impliedNodeFormat":99},{"version":"068e34bf1c5d24415834f583b2819a46","impliedNodeFormat":99},{"version":"44188fd2ed29ef6f319530bc23b4856c","impliedNodeFormat":99},{"version":"87c76f9d99cffc771ccadf94926be7db","impliedNodeFormat":99},{"version":"c82074ce33e333f8c2fc4ca2f10d9947","impliedNodeFormat":99},{"version":"7523403801d99c3fc9a4b1a04c5d2998","impliedNodeFormat":99},{"version":"fabc960b50e2c7fa8ca0e09d512fdacf","impliedNodeFormat":99},{"version":"23548026947c0589a75215b3411367e3","impliedNodeFormat":99},{"version":"c08d45077c8bdca77150c693cb9b9554","impliedNodeFormat":99},{"version":"e61914bb03d65d53ad1a3683f6beab8e","impliedNodeFormat":99},{"version":"fce6aa3ce2ab024b40c40aacb9563e90","impliedNodeFormat":99},{"version":"f2c44e0bbde654e6713a8cb6a49cba7a","impliedNodeFormat":99},{"version":"db97100185e41d26854232a213e4fd96","impliedNodeFormat":99},{"version":"b455de23dc7734f69043ef7c0ed8ed5b","impliedNodeFormat":99},{"version":"c63e9cd4d4edcbf81d892c56ff0b1040","impliedNodeFormat":99},{"version":"5d95ebbb669a31896031b5392278dfcd","impliedNodeFormat":99},{"version":"563a44db85eef09c5406d8cbbf8aa77d","impliedNodeFormat":99},{"version":"ac0c178a7c61bedef5f2f2bdd7a39087","impliedNodeFormat":99},{"version":"9883ae6363c5c35c64120a844687e5e2","impliedNodeFormat":99},{"version":"0aca3e8e28e5d748978859e8219b8ea3","impliedNodeFormat":99},{"version":"c0efcd821aa0ba3820f3f222c1ba668a","impliedNodeFormat":99},{"version":"74c911ae719336b515c784d44d0849fa","impliedNodeFormat":99},{"version":"413065bf82938860e09d9d9fedb5e516","impliedNodeFormat":99},{"version":"6a3506c915b14ec26e72ab513313fabb","impliedNodeFormat":99},{"version":"ba888298e0b32e56d76c50d899229fc3","impliedNodeFormat":99},{"version":"6ac69c2280fdb483282a13e627314bf7","impliedNodeFormat":99},{"version":"bf8c23ef2c659591b2e4271b55ad9c53","impliedNodeFormat":99},{"version":"20256f004e86ce86729c37665a45fbf1","affectsGlobalScope":true,"impliedNodeFormat":99},{"version":"6e407570e7fd82e31c211afc033df000","impliedNodeFormat":99},{"version":"0754341ea4b99470fc2e951e62fcbca6","impliedNodeFormat":99},{"version":"465e94044c450c9dc557a5970cc65267","impliedNodeFormat":99},{"version":"26612ba1a4066f9dbd03dd0ce3ee8f53","impliedNodeFormat":99},{"version":"d97864a05ce9c84087f9d2cfe7d15f0f","impliedNodeFormat":99},{"version":"5b9f0efe2e62e10ed2752440c580387e","impliedNodeFormat":99},{"version":"76dad222a460c47de5fd8a83dc3a456d","impliedNodeFormat":99},{"version":"3dffcaceec3aa47111570ed6b8c929d1","impliedNodeFormat":99},{"version":"69621c4ad7d0ce10d81e1a6e04468079","impliedNodeFormat":99},{"version":"b65572948a524fd463c597ef35746dfa","impliedNodeFormat":99},{"version":"aff090d02325aac01f629c32cf09af9c","impliedNodeFormat":99},{"version":"d3939ebc81dc8301bc51f3071c3d4d7a","impliedNodeFormat":99},{"version":"c15c7073650cfc43157c168f63512dfe","impliedNodeFormat":99},{"version":"e32e0cf9c60ec217c97757fb41cb17c4","impliedNodeFormat":99},{"version":"4139d3e5ff822bba057384649c69e084","impliedNodeFormat":99},{"version":"d86a64956237edaccfb3118cbf1a4767","impliedNodeFormat":99},{"version":"aaa37772a15d3a5ec080ad2e3f31bad8","impliedNodeFormat":99},{"version":"1e28172695f406aa6837413d08cd09b4","impliedNodeFormat":99},{"version":"2b048a877b17ab6a3e851778b25bbe61","impliedNodeFormat":99},{"version":"15921830b008f509682b955204406ee2","impliedNodeFormat":99},"ec8dd83c4203e263ac231a49425cb2f1","1327f947ef5e30390c00c87dcef2def8","9241836948c454c1e41d473ae028d585","e1dc47d3e6b4e0f719e779893d424e7f","772a24f0a1e6f672693d754c978f858a","d4eeb41ba91e9079d00449670a3af3a2","8f0c89d99936f4cb94e776cd46c39930","abcf6c256a115b091812574e7866a4a2","19065534fb8d11381b7e7483e87e0e09","4f8aaea66fb808b30ea94a7007820740","a5ed38cbbc030634ae5202300c9f37ba","c819b7de48163275f55ba1187eafdf87",{"version":"7b5acd3e67189eb53c7b58d2a8dc331e","impliedNodeFormat":99},{"version":"74224e038c43024e7a8070cd365c9bf4","impliedNodeFormat":99},{"version":"ed408ce20046eee5ea81ac108fa94e4b","impliedNodeFormat":99},{"version":"d7162cbbe984619f1a5f331e68ae1b5c","impliedNodeFormat":99},{"version":"311c0831b3ec4ccfea4790913edee148","impliedNodeFormat":99},{"version":"f622eeba4c2c2ea4d5e26196abbcd543","impliedNodeFormat":99},{"version":"33ec33c9683658e7549f73c375bd5bcb","impliedNodeFormat":99},{"version":"4d93d0c75f754e15e854474ee751042b","impliedNodeFormat":99},{"version":"70cd49e1ad2dbe8d0c875298db87dd0b","impliedNodeFormat":99},{"version":"7f50cea08de3aa66475b9695ae41019c","impliedNodeFormat":99},{"version":"9e5c59b7e60d506c86d4b5395c39daac","impliedNodeFormat":99},{"version":"a1a067ca34786e21ba14622ed55ac7d1","impliedNodeFormat":99},{"version":"f76cff0b0f7a49a629371cd203d7591d","impliedNodeFormat":99},{"version":"3a05de47db5a771d06e852f5ba72886d","impliedNodeFormat":99},{"version":"fd66ed2d9727fa13b81753be82e6eaf2","signature":"314af73416f142685960a3aced2c13ee","impliedNodeFormat":1},{"version":"4585e91606a0f4159ec3f7fb7b028262","signature":"9d9049e9bdb2f7b7e96ec310d4453b90","impliedNodeFormat":1},{"version":"7cc6d17e0000cab5d1409ba40d42ac33","signature":"e321cde7a101d25bfa891764c94eb25e","impliedNodeFormat":1},{"version":"148c1cf89fded11e74fb771d1c6737fd","impliedNodeFormat":99},{"version":"57b0a39e9f02a54b0c5a5d43372811e1","impliedNodeFormat":99},{"version":"9e83d4836cf7651af3a3a2fbe832824b","impliedNodeFormat":99},{"version":"086b8ccc1aa2a8df8144951e6a412a39","affectsGlobalScope":true,"impliedNodeFormat":1},"8244c8f803a86fcac606483469eb85c3","e644181676469d5cd6b0031bbda670e9",{"version":"9234bbc7c1c084fc9cc01e92f2ed39d8","impliedNodeFormat":99},{"version":"d8dcf70d53d405816f1ae83e4aa66a55","impliedNodeFormat":99},{"version":"04f4eb9acc243970c43782200018b42b","impliedNodeFormat":99},{"version":"5e020504608dbaef2543e0fd6f85771e","impliedNodeFormat":99},{"version":"a20a938e52b641cf0c04c43448a1f07e","impliedNodeFormat":99},{"version":"07e43be6be2068aae682edfdcd918898","impliedNodeFormat":99},{"version":"5c2c0b772ff516f3f37f58b37ce8c575","impliedNodeFormat":99},{"version":"c9954804bd2de51e2dcc8251f2dc6781","impliedNodeFormat":99},{"version":"1ee5dabf7c3dca5671d0532453ffd538","signature":"4ebb6ae15e80644caa6529aa6824956a","impliedNodeFormat":1}],"fileIdsList":[[313,314],[108,122,294],[293,295,297,298,301,302,303,304,305],[97,293],[108],[122,300,301,302],[294,297,299],[97,293,294,295,296,297,298,300],[97],[97,297,298],[97,108],[97,298,301,302],[97,122],[97,98,296],[301,315],[315],[97,108,112,294,297,301,302,305,306,315],[301,305,311,312,316,319,320,321,322],[97,108,297,302,316,317,319],[90,97,108,122,306],[311],[97,108,318],[90,103,112],[119],[90,91,92,108,112,117],[97,108,110],[97,99],[89,97,99,100,105,106],[97,100],[100,112],[90,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,118,120,121],[100],[119,120],[108,112],[89,91],[100,101,102,103,104],[89,90,91,92,100,108,109,110,111,122],[112],[89,108],[90,91,92,99,100],[90,97,100],[89,100],[89],[89,91,92,93,94,95,96],[89,90,91,97],[89,90,92,97],[123,124,125,127,129,130,131,136,138,139],[126,127,130,132,133,138,142],[126,127,128,129,130,138],[125,127,129,130],[123,136,138,165,168,179],[131,133,138,143,147,191,199,214],[123,132,133,136,138,142,190,191,214,215],[123,125,131,133,134,137,138,140,146,147,148,153,154,155,183,184,185,193,195,214,215,216],[140,179,194],[123,124,127,130,131,132,133,136,137,138,140,142,145],[143,214,215],[127],[138,143,148,168,170,179,214,227],[123,133,153,181,188,195,207,214,215,216],[153,214,215],[123,125,132,133,138,142,214],[123,130,132,133,136,138,142,158,216],[181,214,215],[123,133,134,216],[125,127,130,132,133,138,143,195,214,215,216],[123,125,133,138,147,214,216],[127,128,129,130,132,133,138,142],[123,124,125,131,132,133,134,136,137,138,140,143,144,147,148,153,183,185,189,191,192,195,196,197,198,212,213,215,216],[191,214],[123,136,216],[130,141],[124,129],[139,148,153,191,195,214,215,216],[133,140,143,183,195,214,215,216],[123,136,138,214,216],[123,133,140,147,148,153,185,190,192,214,215],[132,133,138,149,153,191,192,214],[132,133,138,149,153,191,199,214],[132,133,149,153,191,214],[138,153,180,181,186,187,195,214,215],[123,131,136,138,214],[124],[123,132,133,138,142,216,217],[123],[123,132,133,136,138,142],[133,201],[123,131,132,133,142],[123,136,138,139,140],[179],[214],[123,125,133,134,140,147,153,185,186,194,214,215,216],[123,143,153,195,214,215,241],[143,153,183,195,214,215,243],[127,130,214],[133,143,148,153,181,188,191,195,214,215,216],[147,153,191,195,214,215],[123,131,133,134,136,138],[123,133,143,147,195,214,215],[132,133,138,140],[132,133,199],[132,133],[127,128,129,130,169],[126,127,129,130,138],[123,124,125,127,128,129,130,131,132,133,134,135,136,137],[124,126,129],[125,129],[138,214],[181,195,214,215],[123,216,217],[133,143,147,150,153,214,251],[123,124],[123,125,133,138,140,149,150,151,152,153,214],[136,147,214,216],[123,132,138,140,147,151,155,192,214,216],[140,145,214,215,216],[133,143,149,153,191,199,214,215,216],[123,133,143,153,214],[123,124,128,129,130,136,138],[215],[123,130,133,142],[128],[123,133,138,152,214],[139,148,185,189,192,215],[123,147,214,215,216],[123,133,140,143,153,179,185,198,200,210,211,214],[133,147,153,183,214,258],[123,124,125,130,131,132,133,134,135,138],[147,191,214],[123,133,136,140,143,155,158,182,214,215],[191,215],[123,127,130,133,134,136,138,143,146,147,156,157,158,159,160,161,162,163,164,165,166,168,169,170,171,172,173,178,180,214,216],[133,165,167,179,214],[133,138,158,165,168,179,214],[156,160,168,179],[136,138,147,165,168,179,214],[164,168,179],[138,143,157,158,165,166,168,214],[147,214,215],[131,133,138,143,147,149,153,199,214],[125,133,153,214,257],[123,125,131,133,134,137,138,140,143,147,153,154,155,186,193,194,214,215,216],[181,186,187,195,214,215],[123,124,125,131,133,134,136,137,138,140,143,147,148,153,154,155,183,184,185,187,188,193,194,195,196,214,215,216],[126,127,129,130,131,138,140],[127,128,129,130],[123,133,138,154,186,214,251],[138,214,251,255],[140,147,155],[138,153,179,181,193,214,215,216],[125,138,147,148,191,215],[127,128,129,130,131,173],[123,132,133,146,213,214],[132,133,136,138,213,214],[132,133,136,138,161,213,214],[123,131,132,133,162,213,214],[127,131,132,133,138,146,213,214],[132,133,153,214,274],[123,132,138,140,155,213,214,216,269],[132,133,153,214],[123,133,214],[132,133,153,213,214],[132,133,153,186,214,274],[125,128,129],[123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,207,212,213,214,215,216,217,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279],[177],[123,125,138,179,181,188,195,206,207,214,215,216],[123,143,147,179,198,201,210,214],[140,143,144,147,153,179,195,206,208,209,211,214,215,216],[179,214,215,216],[139,153,186,193,195,214,215],[123,139,153,186,193,202,203,204,205,214,215],[153,186,203,214,215],[179,216],[185,186,191,203,204,214,215],[175,176],[174],[122,134,179,217,218,219],[122,179,220,221],[97,138,168,179],[280,281],[221,222],[97,122,138,179,214,221,222],[222,280,281,285,286],[215,255],[281],[97,122,173,179],[97,122,280],[218,219,220,221,222,223,281,282,283,284,285,286,287,288,289,290,291],[138,292,306],[125,131,133,141,142,246],[97,122,136,138,147,214,216,246,292,306,307,308,309,310,315,323]],"options":{"allowJs":false,"checkJs":false,"composite":true,"emitDeclarationOnly":true,"declaration":true,"declarationMap":true,"exactOptionalPropertyTypes":true,"isolatedDeclarations":false,"jsx":4,"module":99,"noErrorTruncation":false,"noFallthroughCasesInSwitch":true,"noImplicitAny":true,"noImplicitThis":true,"noImplicitReturns":false,"noUncheckedIndexedAccess":false,"noEmitOnError":false,"noUnusedLocals":true,"noUnusedParameters":false,"outDir":"./","removeComments":false,"rootDir":"../src","skipLibCheck":true,"strict":true,"strictNullChecks":true,"stripInternal":true,"sourceMap":true,"target":99,"tsBuildInfoFile":"./tsconfig.src.tsbuildinfo","esModuleInterop":true},"effect":{"refactors":true,"diagnostics":true,"includeSuggestionsInTsc":true,"quickinfo":true,"completions":true,"goto":true,"renames":true,"diagnosticSeverity":{"deterministicKeys":"error"}},"referencedMap":[[315,1],[304,2],[306,3],[294,4],[305,5],[303,6],[300,7],[301,8],[293,9],[299,10],[295,11],[317,12],[302,13],[297,14],[298,9],[321,15],[320,16],[316,17],[322,5],[323,18],[318,19],[311,20],[312,21],[319,22],[108,23],[120,24],[98,9],[118,25],[115,26],[100,27],[107,28],[101,29],[113,30],[122,31],[102,32],[121,33],[109,34],[103,35],[105,36],[112,37],[116,38],[110,39],[106,40],[104,32],[114,9],[99,41],[111,42],[95,43],[94,43],[97,44],[96,43],[92,45],[91,46],[140,47],[157,48],[224,49],[225,50],[180,51],[200,52],[216,53],[194,54],[226,55],[146,56],[144,57],[128,58],[228,59],[227,60],[229,61],[215,62],[182,63],[230,64],[217,65],[158,66],[149,67],[143,68],[214,69],[231,70],[232,71],[142,72],[130,73],[233,74],[196,75],[147,76],[191,77],[234,78],[235,79],[236,80],[188,81],[137,82],[125,83],[237,84],[124,85],[161,86],[238,87],[162,88],[239,89],[163,90],[150,91],[195,92],[242,93],[244,94],[148,95],[189,96],[245,97],[246,98],[197,99],[199,100],[247,101],[152,102],[248,103],[249,104],[169,51],[138,105],[127,106],[126,107],[250,108],[207,109],[181,110],[252,111],[131,112],[154,113],[155,114],[193,115],[253,116],[241,117],[243,118],[139,119],[254,120],[170,121],[129,122],[255,123],[190,124],[198,125],[212,126],[259,127],[136,128],[260,129],[183,130],[192,131],[179,132],[168,133],[166,134],[165,135],[171,136],[172,137],[167,138],[153,139],[261,140],[258,141],[251,108],[187,142],[262,143],[186,144],[263,145],[173,146],[264,147],[257,148],[184,149],[266,150],[185,151],[267,86],[268,152],[269,153],[270,154],[271,155],[272,156],[273,157],[275,158],[274,159],[276,160],[213,161],[277,162],[278,163],[279,164],[135,112],[280,165],[178,166],[208,167],[211,168],[210,169],[209,170],[202,171],[206,172],[204,173],[203,174],[205,175],[177,176],[176,177],[175,177],[220,178],[222,179],[223,180],[282,181],[281,182],[218,90],[219,90],[285,183],[287,184],[288,185],[286,186],[289,187],[290,188],[291,90],[292,189],[307,190],[308,191],[309,191],[324,192]],"latestChangedDtsFile":"./index.d.ts"}