@ethlete/query 6.0.0-next.32 → 6.0.0-next.34

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.
@@ -552,6 +552,14 @@ type JsonPath = (string | number)[];
552
552
  * share one entry point. Resetting a container therefore undoes a "fill recursively" run, whose ops
553
553
  * sit on the leaves rather than on the container itself.
554
554
  *
555
+ * `pasteArrayItem` splices rather than writing at an index, and treats an absent `index` as "at the
556
+ * end": a refetch that returns a shorter array would leave an index-addressed write sitting past the
557
+ * end, turning the gap into `null`s.
558
+ *
559
+ * `deleteAt` removes whatever sits at `path` from its parent - a key from an object, or an element from
560
+ * an array by splicing it out, so the ones after it shift down rather than leaving a hole. It is the only
561
+ * op that can make a field *absent* rather than empty, which is a different thing to the code reading it.
562
+ *
555
563
  * On the preset ops, `custom` - when present - is the exact value replayed, and `preset` is only the
556
564
  * label it was generated under. Values are generated once at arm time and stored, never re-rolled
557
565
  * inside apply, so a refetch replays the same response instead of reshuffling it.
@@ -581,6 +589,14 @@ type OverrideOp = {
581
589
  type: 'duplicateArrayItem';
582
590
  path: JsonPath;
583
591
  index: number;
592
+ } | {
593
+ type: 'pasteArrayItem';
594
+ path: JsonPath;
595
+ value: unknown;
596
+ index?: number;
597
+ } | {
598
+ type: 'deleteAt';
599
+ path: JsonPath;
584
600
  } | {
585
601
  type: 'duplicateArray';
586
602
  path: JsonPath;
@@ -675,6 +691,17 @@ declare const applyQueryDevtoolsOverrides: (entries: readonly QueryDevtoolsOverr
675
691
  value: unknown;
676
692
  staleIds: string[];
677
693
  };
694
+ /**
695
+ * Accumulates the response overrides armed on one query, for the devtools panel. Instrumentation only
696
+ * creates one while {@link provideQueryDevtools} is installed - like {@link createQueryDevtoolsStats},
697
+ * an app without devtools pays nothing for it.
698
+ *
699
+ * The panel also creates one that belongs to no query at all, to record the edits made to a mock's draft
700
+ * body: the ops are flattened with {@link applyQueryDevtoolsOverrides} and thrown away on save.
701
+ *
702
+ * Part of the devtools contract. **Not part of the general public contract.**
703
+ */
704
+ declare const createQueryDevtoolsOverrides: () => QueryDevtoolsOverridesRecorder;
678
705
 
679
706
  /**
680
707
  * What a query did over its lifetime, as the devtools panel accounts for it: how often it ran, how many
@@ -834,9 +861,9 @@ type QueryDevtoolsStatsRecorder = QueryDevtoolsStatsHandle & {
834
861
  }) => void;
835
862
  };
836
863
  /**
837
- * How many bodies each query retains - {@link QueryDevtoolsOptions.responseHistory}, or `5`. Only a run
838
- * that still holds one can be an end of a response diff, so the panel reads this to say why an older run
839
- * can no longer be picked.
864
+ * How many bodies each query retains: what the panel's Settings tab asks for, or
865
+ * {@link QueryDevtoolsOptions.responseHistory}, or `5`. Only a run that still holds one can be an end of
866
+ * a response diff, so the panel reads this to say why an older run can no longer be picked.
840
867
  *
841
868
  * Part of the devtools contract. **Not part of the general public contract.**
842
869
  */
@@ -2342,6 +2369,12 @@ type HttpRequestSubtle<TArgs extends QueryArgs> = {
2342
2369
  * access token to be available.
2343
2370
  */
2344
2371
  resolveHeaders: () => HttpHeaders | undefined;
2372
+ /**
2373
+ * The headers the most recent execution actually went out with. Unlike {@link resolveHeaders} it
2374
+ * does not re-resolve the header providers, so after a token refresh it still reports the token
2375
+ * the request was sent with. `undefined` until the first execution.
2376
+ */
2377
+ lastSentHeaders: () => HttpHeaders | undefined;
2345
2378
  /**
2346
2379
  * How many HTTP attempts the current execution has made, counting from 1. Anything above that is the
2347
2380
  * retry policy having fired. Reset by the next execution, so it keeps reading `3` after a request
@@ -3430,9 +3463,12 @@ type SecureExecuteFactoryOptions<TArgs extends QueryArgs> = {
3430
3463
  * re-firing a mutation on the next login would repeat it behind the user's back.
3431
3464
  */
3432
3465
  autoExecutes: boolean;
3433
- transformAuthAndExec: (executeArgs: QueryExecuteArgs<TArgs> | undefined, tokens: {
3434
- accessToken: string;
3435
- }, headers: HttpHeaders, executeState: ReturnType<typeof setupQueryExecuteState>) => void;
3466
+ /**
3467
+ * Hands the execution over to the concrete query implementation. `executeArgs.args.headers` is a
3468
+ * provider function, not resolved headers - it must be passed through to the repository as-is, or
3469
+ * the request freezes the access token it was first built with.
3470
+ */
3471
+ transformAuthAndExec: (executeArgs: QueryExecuteArgs<TArgs> | undefined, executeState: ReturnType<typeof setupQueryExecuteState>) => void;
3436
3472
  };
3437
3473
  declare const createSecureExecuteFactory: <TArgs extends QueryArgs>(options: SecureExecuteFactoryOptions<TArgs>) => InternalQueryExecute<TArgs>;
3438
3474
 
@@ -3496,9 +3532,12 @@ type TokenRefreshQueryConfig<TArgs extends QueryArgs> = AuthQueryConfig<TArgs> &
3496
3532
  * Minimum interval between the *proactive* refreshes the expiry timer schedules, in milliseconds.
3497
3533
  * Prevents rapid refresh loops in case of issues.
3498
3534
  *
3499
- * A refresh a 401 asked for is never throttled by this - a token revoked seconds after a proactive
3500
- * refresh is exactly when the request must go out. Those are deduplicated instead: one refresh is
3501
- * in flight at a time.
3535
+ * A refresh a 401 asked for is not throttled by this - a token revoked seconds after a proactive
3536
+ * refresh is exactly when the request must go out. Those are kept in check differently: one
3537
+ * refresh is in flight at a time, a 401 from a request that went out with an older access token
3538
+ * refreshes nothing (the refresh it is asking for already happened), and once a whole streak of
3539
+ * them runs back to back - every fresh token 401ing again, with no secure request succeeding in
3540
+ * between - further ones fall back to this interval.
3502
3541
  *
3503
3542
  * @default 30000 (30 seconds)
3504
3543
  */
@@ -3750,11 +3789,24 @@ type PersistentAuthConfig<TBuilders extends readonly AnyQueryBuilder[], TKey ext
3750
3789
  key: TKey;
3751
3790
  }>>>;
3752
3791
  /**
3753
- * An array of routes where the auto login via cookie should not be triggered.
3792
+ * An array of routes where the auto login via cookie should not be triggered. Prefix-matched, so
3793
+ * `'/reset-password'` also excludes `/reset-password-templates`; reach for `shouldAutoLogin` when
3794
+ * that matters.
3754
3795
  *
3755
3796
  * @default []
3756
3797
  */
3757
3798
  excludeRoutes?: string[];
3799
+ /**
3800
+ * Decides per URL whether auto-login may run, for the policy prefix matching cannot express - an
3801
+ * exact path, a parsed `UrlTree`, a query parameter. Receives the current route as the router
3802
+ * reports it.
3803
+ *
3804
+ * Runs *in addition to* `excludeRoutes`: either one refusing is enough to skip auto-login, so
3805
+ * adding a predicate can never re-enable a route the list excluded.
3806
+ *
3807
+ * @default undefined
3808
+ */
3809
+ shouldAutoLogin?: (url: string) => boolean;
3758
3810
  };
3759
3811
  };
3760
3812
  type PersistentAuthFeature = {
@@ -4018,6 +4070,8 @@ type BearerAuthProviderEarlySetupContext = {
4018
4070
  applyTokens: (access: string, refresh: string) => void;
4019
4071
  /** Ends the session, exactly as the provider's own `logout()` does. */
4020
4072
  logout: (cause?: BearerAuthSessionEndCause) => void;
4073
+ /** Why the last session ended, as {@link BearerAuthProvider.sessionEndCause} reports it. */
4074
+ sessionEndCause: Signal<BearerAuthSessionEndCause | null>;
4021
4075
  };
4022
4076
  /**
4023
4077
  * How a tab that is not the leader gets a refresh out of the tab that is. Contributed by
@@ -4206,6 +4260,8 @@ type BearerAuthProviderFeatureContext<TBearerData = unknown, TBuilders extends r
4206
4260
  sessionEndCause: Signal<BearerAuthSessionEndCause | null>;
4207
4261
  };
4208
4262
  type BearerAuthProviderQueryContext<TBearerData = unknown, TBuilders extends readonly AnyQueryBuilder[] = readonly AnyQueryBuilder[]> = {
4263
+ /** The provider's own name, as `createBearerAuthProvider({ name })` was given it. */
4264
+ name: string;
4209
4265
  accessToken: WritableSignal<string | null>;
4210
4266
  refreshToken: WritableSignal<string | null>;
4211
4267
  bearerDecryptFn: ((token: string) => TBearerData) | undefined;
@@ -4316,6 +4372,118 @@ type AuthGuard = {
4316
4372
  */
4317
4373
  declare const createAuthGuard: (providerRef: AnyCreateBearerAuthProviderResult, config: AuthGuardConfig) => AuthGuard;
4318
4374
 
4375
+ /**
4376
+ * Free-form build information about the application itself - version, commit SHA, environment name,
4377
+ * anything else a bug report should carry. The SDK cannot derive any of it, so it is handed in via
4378
+ * `provideQueryDevtools({ about })`.
4379
+ */
4380
+ type QueryDevtoolsAppInfo = Record<string, string | number | boolean>;
4381
+ type QueryDevtoolsAbout = {
4382
+ /** Loaded `@ethlete/*` packages by short name (`core`, `query`, `components`), each a real version. */
4383
+ ethlete: Record<string, string>;
4384
+ angular: string;
4385
+ app: QueryDevtoolsAppInfo | null;
4386
+ };
4387
+ /**
4388
+ * Records that an `@ethlete/*` package is loaded, and at which version. Each lib passes its own
4389
+ * generated constant; a package that is never imported never reports one, which is what makes the
4390
+ * list "what is actually loaded" rather than "what is declared as a peer dependency".
4391
+ */
4392
+ declare const registerEthleteVersion: (name: string, version: string) => void;
4393
+ declare const setQueryDevtoolsAppInfo: (info: QueryDevtoolsAppInfo | undefined) => void;
4394
+ /**
4395
+ * Everything the devtools know about what is running: the loaded `@ethlete/*` versions, the Angular
4396
+ * version, and whatever the application handed to `provideQueryDevtools({ about })`.
4397
+ *
4398
+ * Also mirrored onto `window.ethlete` - the same idea as Angular's `window.ng`, so the versions behind
4399
+ * a bug report can be read straight from the console without opening the panel.
4400
+ */
4401
+ declare const queryDevtoolsAbout: () => QueryDevtoolsAbout;
4402
+
4403
+ /**
4404
+ * Where one kind of devtools state is kept between page loads. `none` means it is not kept at all -
4405
+ * what that costs differs per kind, which is why every kind picks its own.
4406
+ */
4407
+ type QueryDevtoolsStorageScope = 'none' | 'session' | 'local';
4408
+ /**
4409
+ * The devtools' own configuration: where each kind of panel state is kept, and the limits the panel
4410
+ * would otherwise hold as constants. Read it as {@link queryDevtoolsSettings}, change it with
4411
+ * {@link setQueryDevtoolsSettings}.
4412
+ */
4413
+ type QueryDevtoolsSettings = {
4414
+ /** Panel chrome and view state: dock, sizes, open tab, filters, selections. */
4415
+ viewState: QueryDevtoolsStorageScope;
4416
+ /** The entry ids sorted to the top of the Queries list. */
4417
+ pins: QueryDevtoolsStorageScope;
4418
+ /**
4419
+ * Armed response overrides, replayed as queries register on the next load. `none` by default: an app
4420
+ * that stays tampered with across reloads is hours of debugging the wrong thing.
4421
+ */
4422
+ overrides: QueryDevtoolsStorageScope;
4423
+ /** The library of designed mocks - the authoring, not whether any of them is armed. */
4424
+ mocks: QueryDevtoolsStorageScope;
4425
+ /**
4426
+ * Which mocks are **armed**, as opposed to the library above. `none` by default: an app that silently
4427
+ * serves designed data tomorrow morning is worse than arming them again, so keeping them is a choice
4428
+ * someone makes rather than the way the panel ships.
4429
+ */
4430
+ armedMocks: QueryDevtoolsStorageScope;
4431
+ /** The faults armed per client, for the same reason and with the same default. */
4432
+ armedFaults: QueryDevtoolsStorageScope;
4433
+ /** How many entries the Events log keeps. */
4434
+ maxEvents: number;
4435
+ /** How many dropped cache entries the Cache tab remembers, per client. */
4436
+ maxDroppedCacheEntries: number;
4437
+ /**
4438
+ * How many bodies each query retains, overriding `provideQueryDevtools({ responseHistory })` for the
4439
+ * rest of this page. `null` leaves the application's value alone.
4440
+ */
4441
+ responseHistory: number | null;
4442
+ };
4443
+ /**
4444
+ * How the devtools are configured. Every consumer reads the live value rather than a copy, so a change
4445
+ * in the panel's Settings takes effect without a reload.
4446
+ *
4447
+ * Part of the devtools contract. **Not part of the general public contract.**
4448
+ */
4449
+ declare const queryDevtoolsSettings: Signal<QueryDevtoolsSettings>;
4450
+ /**
4451
+ * The `Storage` a scope names, or `null` for `none` and for a browser that refuses one (private mode,
4452
+ * storage disabled, server-side rendering). Callers treat "no storage" and "not persisted" alike.
4453
+ *
4454
+ * Part of the devtools contract. **Not part of the general public contract.**
4455
+ */
4456
+ declare const queryDevtoolsStorage: (scope: QueryDevtoolsStorageScope) => Storage | null;
4457
+ /**
4458
+ * Reads one JSON-encoded devtools key from the store a scope names, or `null`.
4459
+ *
4460
+ * Part of the devtools contract. **Not part of the general public contract.**
4461
+ */
4462
+ declare const readQueryDevtoolsStore: <T>(scope: QueryDevtoolsStorageScope, key: string) => T | null;
4463
+ /**
4464
+ * Writes one devtools key into the store a scope names. A scope of `none` writes nothing.
4465
+ *
4466
+ * Part of the devtools contract. **Not part of the general public contract.**
4467
+ */
4468
+ declare const writeQueryDevtoolsStore: (scope: QueryDevtoolsStorageScope, key: string, value: unknown) => void;
4469
+ /**
4470
+ * Removes one devtools key from **both** stores, whatever the scope currently is - so a scope that
4471
+ * changed cannot leave a stale copy behind for the next load to read.
4472
+ *
4473
+ * Part of the devtools contract. **Not part of the general public contract.**
4474
+ */
4475
+ declare const clearQueryDevtoolsStore: (key: string) => void;
4476
+ /**
4477
+ * Changes part of the devtools configuration and stores it. Values outside the range a field allows are
4478
+ * clamped rather than rejected.
4479
+ *
4480
+ * Overrides are the one field not to set here: their scope moves an existing store, so it goes through
4481
+ * `setQueryDevtoolsOverridesScope()` instead.
4482
+ *
4483
+ * Part of the devtools contract. **Not part of the general public contract.**
4484
+ */
4485
+ declare const setQueryDevtoolsSettings: (patch: Partial<QueryDevtoolsSettings>) => void;
4486
+
4319
4487
  /**
4320
4488
  * A fault armed on one query client from the devtools panel. Unlike the panel's forced states - which
4321
4489
  * write a query's signals directly - an armed fault is applied inside the request pipeline, so retries,
@@ -4351,6 +4519,17 @@ declare const QUERY_DEVTOOLS_FAULT_STATUSES: {
4351
4519
  * are absent rather than present with an {@link EMPTY_QUERY_DEVTOOLS_FAULT}.
4352
4520
  */
4353
4521
  declare const queryDevtoolsFaults: Signal<Record<string, QueryDevtoolsFault>>;
4522
+ /**
4523
+ * Whether what is armed right now came back from a previous page load rather than being armed by hand.
4524
+ * The panel's armed bar says so, because injected failures nobody remembers arming look exactly like a
4525
+ * broken API.
4526
+ */
4527
+ declare const queryDevtoolsFaultsRestored: Signal<boolean>;
4528
+ /**
4529
+ * Where the armed faults are kept. Switching to a scope that keeps them stores whatever is armed right
4530
+ * now; switching to `none` empties the store and leaves this page's faults exactly where they are.
4531
+ */
4532
+ declare const setQueryDevtoolsFaultsScope: (next: QueryDevtoolsStorageScope) => void;
4354
4533
  /** Whether anything at all is armed on a fault. */
4355
4534
  declare const isQueryDevtoolsFaultArmed: (fault: QueryDevtoolsFault) => boolean;
4356
4535
  /**
@@ -4574,6 +4753,324 @@ type QueryDevtoolsResolvedFault = {
4574
4753
  /** The status to fail the attempt with instead of sending it, or `null` to let it through. */
4575
4754
  status: number | null;
4576
4755
  };
4756
+ /** What a mock resolver matches against - the same three things a fault resolver sees. */
4757
+ type QueryDevtoolsMockTarget = QueryDevtoolsFaultTarget;
4758
+ /** The response the devtools want served instead of one upcoming attempt. */
4759
+ type QueryDevtoolsResolvedMock = {
4760
+ /** The status to respond with. `400` and above are delivered as an `HttpErrorResponse`. */
4761
+ status: number;
4762
+ body: unknown;
4763
+ /** How long to wait before the mocked response settles. */
4764
+ latencyMs: number;
4765
+ };
4766
+
4767
+ /**
4768
+ * A response designed in the devtools panel and served in place of a request. An override edits what came
4769
+ * back; a mock replaces the request itself, so it can be armed for a route that has never run - or does
4770
+ * not exist yet.
4771
+ */
4772
+ type QueryDevtoolsMock = {
4773
+ /** `clientName|method|pattern` - stable across reloads, and what the armed set holds. */
4774
+ id: string;
4775
+ /** Display name of the query client this is served for. */
4776
+ clientName: string;
4777
+ method: string;
4778
+ /** The route with its path params as `:name`, matched against a request's path. */
4779
+ pattern: string;
4780
+ /**
4781
+ * Query parameters the request must carry for this mock to answer it, as a query string
4782
+ * (`page=2&limit=10`). Every declared pair has to match; anything else on the request is ignored. Empty
4783
+ * matches whatever the request asks for.
4784
+ */
4785
+ query: string;
4786
+ /** The status the mock responds with. `400` and above arrive as an `HttpErrorResponse`. */
4787
+ status: number;
4788
+ body: unknown;
4789
+ /** Delay before the mocked response settles, so a mocked route still has a loading state. */
4790
+ latencyMs: number;
4791
+ /** When the body was captured from a real response, or `null` if it was authored from nothing. */
4792
+ capturedAt: number | null;
4793
+ /**
4794
+ * The schema the body was seeded from, when it came from the application's API description - so the
4795
+ * designer can label its fields with their declared types again after a reload.
4796
+ */
4797
+ schemaName?: string | null;
4798
+ };
4799
+ /** The designed mocks, armed or not. Persisted, because losing an hour of authoring is unacceptable. */
4800
+ declare const queryDevtoolsMocks: Signal<readonly QueryDevtoolsMock[]>;
4801
+ /**
4802
+ * The ids currently being served. Not kept across page loads unless the `armedMocks` setting asks for it -
4803
+ * an app that silently serves designed data tomorrow morning is worse than losing which mocks were armed.
4804
+ */
4805
+ declare const queryDevtoolsArmedMocks: Signal<ReadonlySet<string>>;
4806
+ /**
4807
+ * Whether what is armed right now came back from a previous page load rather than being armed by hand.
4808
+ * The panel's armed bar says so, because mocks nobody remembers arming look exactly like a broken API.
4809
+ */
4810
+ declare const queryDevtoolsArmedMocksRestored: Signal<boolean>;
4811
+ /**
4812
+ * The identity of a designed mock: one per client, method, route **and** declared query. The query is part
4813
+ * of it so `/posts?page=1` and `/posts?page=2` can hold different bodies.
4814
+ */
4815
+ declare const queryDevtoolsMockId: (parts: Pick<QueryDevtoolsMock, "clientName" | "method" | "pattern"> & {
4816
+ query?: string;
4817
+ }) => string;
4818
+ /** The path of a request URL, without its origin or query string - what a pattern is matched against. */
4819
+ declare const queryDevtoolsRequestPath: (url: string) => string;
4820
+ /**
4821
+ * Whether a request carries every query parameter a mock declares. Extra parameters are ignored - a mock
4822
+ * says what the request must ask for, not everything it may.
4823
+ */
4824
+ declare const matchesQueryDevtoolsMockQuery: (declared: string, url: string) => boolean;
4825
+ /**
4826
+ * Whether a request path is the route a pattern describes. A `:param` segment matches any single
4827
+ * non-empty segment, which is the whole point: a mock is armed for a route, not for the one URL a query
4828
+ * happened to build.
4829
+ */
4830
+ declare const matchesQueryDevtoolsMockPattern: (pattern: string, path: string) => boolean;
4831
+ /**
4832
+ * Adds a designed mock, or replaces the one already under its id. Arming is untouched: re-designing a
4833
+ * body while it is being served changes what the next request gets.
4834
+ */
4835
+ declare const saveQueryDevtoolsMock: (mock: QueryDevtoolsMock) => void;
4836
+ /** Removes a designed mock, disarming it on the way out. */
4837
+ declare const deleteQueryDevtoolsMock: (id: string) => void;
4838
+ /** Starts or stops serving one designed mock. Arming a mock that is not in the library does nothing. */
4839
+ declare const armQueryDevtoolsMock: (id: string, isArmed: boolean) => void;
4840
+ /** Starts serving every mock in the library - the counterpart of {@link clearQueryDevtoolsArmedMocks}. */
4841
+ declare const armAllQueryDevtoolsMocks: () => void;
4842
+ /** Stops serving every mock, leaving the library alone - the armed bar's one-click way out. */
4843
+ declare const clearQueryDevtoolsArmedMocks: () => void;
4844
+ /**
4845
+ * Where the armed set is kept. Switching to a scope that keeps it stores whatever is armed right now, so
4846
+ * the choice reads as "keep these"; switching to `none` empties the store and leaves this page serving
4847
+ * exactly what it was already serving.
4848
+ */
4849
+ declare const setQueryDevtoolsArmedMocksScope: (next: QueryDevtoolsStorageScope) => void;
4850
+ /** Empties the designed library and disarms everything - the panel's "Reset devtools". */
4851
+ declare const clearQueryDevtoolsMockStore: () => void;
4852
+
4853
+ /** One entry id the last page load left ops for, as the panel's banner reports it. */
4854
+ type RestoredQueryDevtoolsOverrides = {
4855
+ /** The devtools entry id the ops were stored under. */
4856
+ id: string;
4857
+ /** How many ops were stored for it. */
4858
+ count: number;
4859
+ /**
4860
+ * Whether a query with this id has registered and taken them. `false` means the store outlived the
4861
+ * query it was written for - a route that no longer runs, or a creation order that shifted - so those
4862
+ * ops are sitting on nothing rather than quietly landing somewhere else.
4863
+ */
4864
+ armed: boolean;
4865
+ };
4866
+ /**
4867
+ * Whether armed response overrides are stored and replayed on the next page load - that is, whether
4868
+ * their scope is anything other than `none`. Off by default.
4869
+ */
4870
+ declare const queryDevtoolsOverridePersistence: Signal<boolean>;
4871
+ /**
4872
+ * Where armed response overrides are kept. Switching to a scope that keeps them captures whatever is
4873
+ * armed right now, so the choice reads as "keep these" rather than "keep the next ones"; switching
4874
+ * between `session` and `local` moves the store; switching to `none` empties it and leaves every armed
4875
+ * op exactly where it is for the rest of this page.
4876
+ */
4877
+ declare const setQueryDevtoolsOverridesScope: (next: QueryDevtoolsStorageScope) => void;
4878
+ /**
4879
+ * Turns persistence on or off - the panel's "Keep across reloads" toggle. On restores the last scope
4880
+ * that kept them (`session` unless Settings picked `local`).
4881
+ */
4882
+ declare const setQueryDevtoolsOverridePersistence: (value: boolean) => void;
4883
+ /**
4884
+ * Empties the override store in both browser stores and disarms everything a reload brought back,
4885
+ * without changing where overrides are kept - the panel's "Reset devtools".
4886
+ */
4887
+ declare const clearQueryDevtoolsOverrideStore: () => void;
4888
+ /**
4889
+ * The ops this page load inherited from the previous one, and for each id whether a live query has taken
4890
+ * it. Overrides that outlive the page that armed them have to announce themselves, because an app being
4891
+ * lied to looks exactly like an app that is broken.
4892
+ */
4893
+ declare const restoredQueryDevtoolsOverrides: Signal<readonly RestoredQueryDevtoolsOverrides[]>;
4894
+ /**
4895
+ * The scope those ops came back from, or `null` when this page inherited none. `local` is the one worth
4896
+ * naming in the banner: it means they outlived closing the tab, not just a reload.
4897
+ */
4898
+ declare const queryDevtoolsRestoredOverridesScope: Signal<QueryDevtoolsStorageScope | null>;
4899
+ /** Disarms every op this page load inherited and empties the store - the banner's one-click way out. */
4900
+ declare const clearRestoredQueryDevtoolsOverrides: () => void;
4901
+
4902
+ declare const TRANSFER_KIND = "ethlete-query-overrides";
4903
+ /**
4904
+ * A whole armed override set, as the devtools panel writes it to the clipboard: pretty-printed JSON so
4905
+ * it can be pasted onto another query, into a ticket, or hand-edited on the way. `source` is only ever
4906
+ * a human's bearing on where it came from - a paste never resolves against it.
4907
+ */
4908
+ type QueryDevtoolsOverrideTransfer = {
4909
+ kind: typeof TRANSFER_KIND;
4910
+ version: number;
4911
+ source?: {
4912
+ id?: string;
4913
+ url?: string;
4914
+ };
4915
+ ops: OverrideOp[];
4916
+ };
4917
+ /** What {@link parseQueryDevtoolsOverrideTransfer} makes of a piece of clipboard text. */
4918
+ type QueryDevtoolsOverrideTransferParse = {
4919
+ ok: true;
4920
+ ops: OverrideOp[];
4921
+ /** Ops the payload held that this build has no `type` for - a newer panel wrote them. */
4922
+ skipped: number;
4923
+ source?: {
4924
+ id?: string;
4925
+ url?: string;
4926
+ };
4927
+ } | {
4928
+ ok: false;
4929
+ reason: string;
4930
+ };
4931
+ /**
4932
+ * Serializes the ops armed on one query into clipboard text. `reset` never reaches a recorder's list, so
4933
+ * what comes out is exactly what a paste can put back.
4934
+ */
4935
+ declare const serializeQueryDevtoolsOverrideTransfer: (entries: readonly QueryDevtoolsOverrideEntry[], source?: {
4936
+ id?: string;
4937
+ url?: string;
4938
+ }) => string;
4939
+ /**
4940
+ * Reads clipboard text back into ops. A bare array of ops is accepted alongside the full envelope, so a
4941
+ * set pasted out of a ticket and trimmed by hand still lands; an op whose `type` this build doesn't know
4942
+ * is counted in `skipped` rather than failing the whole paste, so an older panel can take a newer one's
4943
+ * set minus the parts it cannot replay.
4944
+ */
4945
+ declare const parseQueryDevtoolsOverrideTransfer: (text: string) => QueryDevtoolsOverrideTransferParse;
4946
+ /**
4947
+ * How many of `ops` would not resolve against `raw` - what a paste onto a differently-shaped query
4948
+ * reports, so ops sitting on nothing say so instead of looking armed. Replays them the same way the
4949
+ * pipeline will, since an earlier op can be what makes a later one's path exist.
4950
+ */
4951
+ declare const countUnresolvedQueryDevtoolsOverrides: (ops: readonly OverrideOp[], raw: unknown) => number;
4952
+ /** Arms every op of a parsed set onto a query, on top of whatever it already has armed. */
4953
+ declare const armQueryDevtoolsOverrideTransfer: (recorder: QueryDevtoolsOverridesRecorder, ops: readonly OverrideOp[]) => void;
4954
+
4955
+ /**
4956
+ * How an application hands its API description to the devtools, so a designed mock can start from the
4957
+ * real shape of a response instead of a guess. TypeScript types are erased at runtime, so a generated
4958
+ * `.d.ts` is not readable from here - the document the types were generated *from* is.
4959
+ *
4960
+ * OpenAPI 3.x, Swagger 2 and a bare JSON Schema document all work: named schemas are read from
4961
+ * `components.schemas`, `definitions` or `$defs`, and routes from `paths`.
4962
+ *
4963
+ * The loader is called at most once, and only when the panel first asks for it - so returning a dynamic
4964
+ * `import()` keeps the document out of the application bundle entirely.
4965
+ *
4966
+ * @example
4967
+ * ```ts
4968
+ * provideQueryDevtools({ schema: () => import('../openapi.json') })
4969
+ * provideQueryDevtools({ schema: () => fetch('/openapi.json').then((res) => res.json()) })
4970
+ * ```
4971
+ */
4972
+ type QueryDevtoolsSchemaLoader = () => Promise<unknown> | unknown;
4973
+ /**
4974
+ * Where the API description stands. `unavailable` means the application never handed one in, which is
4975
+ * what the panel shows the seeding controls on.
4976
+ */
4977
+ type QueryDevtoolsSchemaState = {
4978
+ status: 'unavailable';
4979
+ } | {
4980
+ status: 'idle';
4981
+ } | {
4982
+ status: 'loading';
4983
+ } | {
4984
+ status: 'ready';
4985
+ } | {
4986
+ status: 'error';
4987
+ message: string;
4988
+ };
4989
+ /** One route the description declares, whether or not the application has ever called it. */
4990
+ type QueryDevtoolsSchemaRoute = {
4991
+ method: string;
4992
+ /** The route with its path params as `:name`, so it reads the way a mock's pattern does. */
4993
+ pattern: string;
4994
+ /** The operation's summary, its `operationId`, or empty - whatever the document offers as a label. */
4995
+ summary: string;
4996
+ };
4997
+ /**
4998
+ * A body generated from the description, plus everything that could not be read off it with certainty.
4999
+ * A seed is a starting point for the designer, never a claim about what the API returns.
5000
+ */
5001
+ type QueryDevtoolsSchemaSeed = {
5002
+ body: unknown;
5003
+ /** The named schema the body was generated from, when the document named one. */
5004
+ schemaName: string | null;
5005
+ /**
5006
+ * The declared type of each field, keyed by its path with array indices as `*` (`items.*.id`) - so one
5007
+ * entry annotates every element of an array, however many the designer goes on to add.
5008
+ */
5009
+ types: ReadonlyMap<string, string>;
5010
+ /** What had to be guessed, skipped or cut short, so a seeded body is never mistaken for the contract. */
5011
+ notes: readonly string[];
5012
+ };
5013
+ /**
5014
+ * Where the API description stands, for the panel's seeding controls.
5015
+ *
5016
+ * Part of the devtools contract. **Not part of the general public contract.**
5017
+ */
5018
+ declare const queryDevtoolsSchemaState: Signal<QueryDevtoolsSchemaState>;
5019
+ /**
5020
+ * Loads the API description, once. Calling it while it is loading or after it has loaded does nothing;
5021
+ * calling it after a failure retries.
5022
+ *
5023
+ * Part of the devtools contract. **Not part of the general public contract.**
5024
+ */
5025
+ declare const loadQueryDevtoolsSchema: () => void;
5026
+ /**
5027
+ * Every schema the description names, sorted - the designer's "seed from a type" list.
5028
+ *
5029
+ * Part of the devtools contract. **Not part of the general public contract.**
5030
+ */
5031
+ declare const queryDevtoolsSchemaNames: Signal<readonly string[]>;
5032
+ /**
5033
+ * Generates a body from one named schema (`MatchView`), or `null` when the description does not name it.
5034
+ *
5035
+ * Part of the devtools contract. **Not part of the general public contract.**
5036
+ */
5037
+ declare const seedQueryDevtoolsSchemaBody: (name: string) => QueryDevtoolsSchemaSeed | null;
5038
+ /** Everything a set of named schemas needs to resolve on its own, lifted out of the description. */
5039
+ type QueryDevtoolsSchemaComponents = {
5040
+ /**
5041
+ * The named schemas plus everything they transitively `$ref`, keyed as `components.schemas` wants
5042
+ * them. A name the description does not declare is simply absent, which is what a caller checks.
5043
+ */
5044
+ schemas: Record<string, unknown>;
5045
+ /** Refs that could not be brought along, so an exported document says why it does not resolve. */
5046
+ notes: readonly string[];
5047
+ };
5048
+ /**
5049
+ * Collects the named schemas a set of routes was designed against, ready to be handed back as the
5050
+ * `components.schemas` of an exported document - so a route seeded from `MatchView` can reference
5051
+ * `MatchView` instead of an anonymous shape inferred from one body.
5052
+ *
5053
+ * Part of the devtools contract. **Not part of the general public contract.**
5054
+ */
5055
+ declare const collectQueryDevtoolsSchemaComponents: (names: readonly string[]) => QueryDevtoolsSchemaComponents;
5056
+ /**
5057
+ * Every route the description declares, as the designer offers them - including the ones no query has
5058
+ * ever called, which is the case a mock exists for.
5059
+ *
5060
+ * Part of the devtools contract. **Not part of the general public contract.**
5061
+ */
5062
+ declare const queryDevtoolsSchemaRoutes: Signal<readonly QueryDevtoolsSchemaRoute[]>;
5063
+ /**
5064
+ * Generates a body for one route from the description's own success response - the seed that makes a
5065
+ * designed mock a real view model rather than a guess. `null` when the document does not declare the
5066
+ * route, or declares no JSON response for it.
5067
+ *
5068
+ * Part of the devtools contract. **Not part of the general public contract.**
5069
+ */
5070
+ declare const seedQueryDevtoolsSchemaRoute: (target: {
5071
+ method: string;
5072
+ pattern: string;
5073
+ }) => QueryDevtoolsSchemaSeed | null;
4577
5074
 
4578
5075
  /**
4579
5076
  * The reactive list of every registered devtools entry, consumed by the `<et-query-devtools>` UI.
@@ -4591,8 +5088,24 @@ type QueryDevtoolsOptions = {
4591
5088
  * How many of each query's most recent runs keep their response (or error) body, which is what the
4592
5089
  * panel's response diff compares. Defaults to `5`. Bodies dominate what the run buffer retains, so
4593
5090
  * raise this only as far as the reach you actually need - a polling query holds one per run.
5091
+ *
5092
+ * This is the default; the panel's Settings tab can raise it for the rest of a page.
4594
5093
  */
4595
5094
  responseHistory?: number;
5095
+ /**
5096
+ * Build information about the application - version, commit SHA, environment name. Shown on the
5097
+ * panel's About tab, included in the session export and exposed on `window.ethlete`, so a bug report
5098
+ * says which build it came from. Generate it rather than typing it:
5099
+ * `nx g @ethlete/core:devtools-about <app>`.
5100
+ */
5101
+ about?: QueryDevtoolsAppInfo;
5102
+ /**
5103
+ * The application's OpenAPI (or JSON Schema) document, so the panel's mock designer can seed a
5104
+ * response from the real shape of a route and label each field with the type it is declared as. The
5105
+ * loader runs at most once, and only when the designer first asks for it - see
5106
+ * {@link QueryDevtoolsSchemaLoader}.
5107
+ */
5108
+ schema?: QueryDevtoolsSchemaLoader;
4596
5109
  };
4597
5110
  /**
4598
5111
  * Enables the `@ethlete/query` devtools. Add this to your application providers (e.g. in
@@ -4611,6 +5124,64 @@ type QueryDevtoolsOptions = {
4611
5124
  */
4612
5125
  declare const provideQueryDevtools: (options?: QueryDevtoolsOptions) => EnvironmentProviders;
4613
5126
 
5127
+ /**
5128
+ * The longest lifetime an armed override may claim, in seconds (7 days). Anything beyond it is never
5129
+ * refreshed at all, which is what arming nothing already does.
5130
+ */
5131
+ declare const QUERY_DEVTOOLS_TOKEN_TTL_LIMIT = 604800;
5132
+ /**
5133
+ * The access-token lifetime armed per auth provider name, in seconds, consumed by the
5134
+ * `<et-query-devtools>` panel. A provider on its token's real lifetime is absent rather than present
5135
+ * with it.
5136
+ */
5137
+ declare const queryDevtoolsTokenTtls: Signal<Record<string, number>>;
5138
+ /**
5139
+ * Whether an overridden lifetime can be applied to a decoded access token at all. It needs the claim
5140
+ * carrying the expiry - so a lifetime is never invented for a token that declares none - plus `iat` or
5141
+ * `nbf` to measure the new lifetime from.
5142
+ */
5143
+ declare const canOverrideQueryDevtoolsTokenTtl: (options: {
5144
+ payload: Record<string, unknown> | null;
5145
+ expiresInPropertyName?: string;
5146
+ }) => boolean;
5147
+ /**
5148
+ * Presents one auth provider's access token as living `seconds` from the moment it was issued, rather
5149
+ * than as long as it says it does. Everything that reads the expiry sees the shortened lifetime - the
5150
+ * proactive refresh schedule, `withBearerAuthTokenExpirationWarning`, and the panel's own countdown -
5151
+ * so arming 60 seconds makes a real refresh happen a minute after each token is issued, and keeps
5152
+ * happening for every token that refresh brings back.
5153
+ *
5154
+ * It is a lifetime, not a remaining time: `0` presents the current token as long expired, which is what
5155
+ * makes a refresh happen at once. Nothing is persisted, so a reload leaves every provider on its real
5156
+ * lifetime.
5157
+ *
5158
+ * Part of the devtools contract consumed by `<et-query-devtools>`; a token's lifetime is not something
5159
+ * an application should override on itself.
5160
+ */
5161
+ declare const setQueryDevtoolsTokenTtl: (options: {
5162
+ providerName: string;
5163
+ seconds: number;
5164
+ }) => void;
5165
+ /**
5166
+ * Puts one provider back on its token's real lifetime, or every provider when no name is given.
5167
+ *
5168
+ * @see setQueryDevtoolsTokenTtl
5169
+ */
5170
+ declare const clearQueryDevtoolsTokenTtl: (providerName?: string) => void;
5171
+ /**
5172
+ * The decoded access token as the devtools want it seen: the claim carrying the expiry rewritten to the
5173
+ * armed lifetime, measured from `iat`. Returns `payload` untouched when nothing is armed for the
5174
+ * provider, or when the token cannot carry the override - see {@link canOverrideQueryDevtoolsTokenTtl}.
5175
+ *
5176
+ * Installed as the token payload patcher by `provideQueryDevtools()`, and called directly by the panel
5177
+ * for its own countdown.
5178
+ */
5179
+ declare const applyQueryDevtoolsTokenTtl: <T>(options: {
5180
+ payload: T;
5181
+ providerName: string;
5182
+ expiresInPropertyName?: string;
5183
+ }) => T;
5184
+
4614
5185
  /**
4615
5186
  * How many destroyed queries the registry keeps. A tombstone holds the last response body it captured,
4616
5187
  * so the list is capped for the same reason the repository caps its unused entries.
@@ -6870,7 +7441,7 @@ declare class QueryDevtoolsComponent {
6870
7441
  readonly cookieExpiresInDays: number | "30 (default)";
6871
7442
  readonly cookiePath: string;
6872
7443
  readonly cookieEnabled: boolean | "true (default)";
6873
- readonly cookieSameSite: "strict" | "none" | "lax" | "lax (default)";
7444
+ readonly cookieSameSite: "none" | "strict" | "lax" | "lax (default)";
6874
7445
  readonly refreshBuffer: number | "30000 (default)";
6875
7446
  readonly expiresInPropertyName: string;
6876
7447
  readonly strategy: _ethlete_query.AuthBearerRefreshStrategy | "AuthBearerRefreshStrategy.BeforeExpiration (default)";
@@ -7706,5 +8277,8 @@ type WebSocketClientResult<TMessageData extends SocketMessageView = SocketMessag
7706
8277
  type AnyWebSocketClient<TMessageData extends SocketMessageView = SocketMessageView> = WebSocketClientResult<TMessageData>;
7707
8278
  declare const createWebSocketClient: <TMessageData extends SocketMessageView = SocketMessageView>(options: CreateWebSocketClientConfigOptions) => WebSocketClientResult<TMessageData>;
7708
8279
 
7709
- export { AuthBearerRefreshStrategy, BasicAuthProvider, BearerAuthFeatureType, BooleanArrayQueryField, CLEAR_QUERY_ARGS, CustomHeaderAuthProvider, DEFAULT_KEEP_UNUSED_FOR, DEFAULT_QUERY_PERSISTENCE_MAX_AGE, DEFAULT_QUERY_PERSISTENCE_MAX_ENTRIES, DEFAULT_QUERY_PERSISTENCE_VERSION, DEFAULT_QUERY_PERSISTENCE_WRITE_DELAY, DateArrayQueryField, DateQueryField, EMPTY_QUERY_DEVTOOLS_FAULT, EntityStore, IGNORED_FILTER_COUNT_FIELDS, INFINITY_QUERY_TOKEN, InfinityQuery, InfinityQueryDirective, InfinityQueryTriggerDirective, LegacyQuery, LegacyQueryCreator, MAX_QUERY_DEVTOOLS_TOMBSTONES, MAX_UNUSED_ENTRIES, NumberArrayQueryField, ParseHttpErrorCodeToMessageDePipe, ParseHttpErrorCodeToMessageEnPipe, ParseHttpErrorCodeToTitleDePipe, ParseHttpErrorCodeToTitleEnPipe, QUERY_CLIENT_DEVTOOLS_TOKEN, QUERY_DEVTOOLS_FAULT_STATUSES, QUERY_PERSISTENCE_STORE_VERSION, QUERY_SYNC_PROTOCOL_VERSION, QueryClientFeatureType, QueryDevtoolsComponent, QueryDirective, QueryFeatureType, QueryField, QueryForm, QueryRuntimeErrorCode, QueryShortNamePipe, QueryStateType, QueryStore, SERVER_ERROR_KIND, SERVER_VIOLATION_ERROR_KIND, SPEED_BUFFER_TIME_IN_MS, SearchQueryField, SortQueryField, StringArrayQueryField, V2BearerAuthProvider, V2Query, V2QueryClient, V2QueryCreator, addQueryContainerHandling, applyQueryDevtoolsOverrides, applyQueryFeatures, authExtractTokensResponseMissingAccessToken, authExtractTokensResponseMissingRefreshToken, authExtractTokensResponseNotObject, authProviderFeatureUsedMultipleTimes, booleanArrayQueryField, buildQueryCacheKey, buildQueryString, buildRoute, buildTimestampFromSeconds, castQueryCreatorTypes, circularQueryDependency, circularQueryDependencyChecker, clearQueryDevtoolsFaults, clearQueryDevtoolsTombstones, collectLeafPaths, computeQueryAuthHeader, computeQueryBody, computeQueryHeaders, computeQueryMethod, computeQueryQueryParams, contentfulGqlLikePaginationAdapter, createAuthGuard, createBaseQuery, createBaseQueryCreator, createBearerAuthProvider, createDeleteQuery, createExecuteFn, createGetQuery, createGqlExecuteFn, createGqlMutationViaGet, createGqlMutationViaPost, createGqlQuery, createGqlQueryCreator, createGqlQueryViaGet, createGqlQueryViaPost, createHttpRequest, createIndexedDbQueryPersistenceAdapter, createInfinityQueryConfig, createLegacyQueryCreator, createNoopQueryPersistenceAdapter, createPagedQueryStack, createPatchQuery, createPersistentAuthFeature, createPostQuery, createPutQuery, createQuery, createQueryClient, createQueryCollection, createQueryCollectionSignal, createQueryCollectionSubject, createQueryContext, createQueryCreator, createQueryErrorResponse, createQueryFeature, createQueryInvalidationFilter, createQueryKeyLockManager, createQueryObject, createQueryPersistenceEngine, createQueryRepository, createQuerySnapshotFn, createQueryStack, createQuerySyncEngine, createQuerySyncTransport, createSecureDeleteQuery, createSecureExecuteFactory, createSecureExecuteFn, createSecureGetQuery, createSecureGqlExecuteFn, createSecureGqlMutationViaGet, createSecureGqlMutationViaPost, createSecureGqlQuery, createSecureGqlQueryCreator, createSecureGqlQueryViaGet, createSecureGqlQueryViaPost, createSecurePatchQuery, createSecurePostQuery, createSecurePutQuery, createSecureQuery, createSecureQueryCreator, createTrackingFeature, createWebSocketClient, dateArrayQueryField, dateQueryField, decryptBearer, deepFreeze, def, defineQueryForm, detectContentTypeHeader, detectPaginationShape, dynLikePaginationAdapter, effectComputed, emptyQueryArgs, ethletePaginationAdapter, executeUntilSettled, extractExpiresInSeconds, extractFormViolations, extractHtmlErrorMessage, extractQuery, fakePaginationAdapter, filterFailure, filterNull, filterQueryStates, filterSuccess, forEachHeader, generateQueryDevtoolsNumberPreset, generateQueryDevtoolsStringPreset, getDefaultHeaders, getQueryFeatureUsage, getResponseUrl, ggLikePaginationAdapter, gql, gqlDataPropertyMissingInResponse, hasHeader, hasQueryDevtoolsOverridesAtPath, htmlErrorPayload, htmlQueryErrorParser, ignoreAutoRefresh, injectInfinityQueryResponseDelay, injectQueryContext, insertFrom, invalidBaseRouteError, invalidBodyError, invalidRouteError, invalidStateInsideSecureExecuteFactory, isAutoRefresh, isBasicAuthProvider, isBearerAuthProvider, isClassValidatorError, isCreateGqlQueryOptions, isCustomHeaderAuthProvider, isDateShapedLeaf, isEmptyString, isGqlQueryConfig, isHtmlErrorPayload, isLegacyQuery, isNaN, isPageOutOfRangeError, isQuery, isQueryCollection, isQueryDevtoolsFaultArmed, isQueryErrorResponse, isQueryStateCancelled, isQueryStateFailure, isQueryStateLoading, isQueryStatePrepared, isQueryStateSuccess, isRequestError, isSymfonyError, isSymfonyFormViolationListError, isSymfonyListError, isSymfonyPagerfantaOutOfRangeError, isUnderInvalidatedUrl, legacyPrepareWithoutInjectionContext, mapToPaginated, mapViolationsToFormErrors, maybeExecute, measureQueryDevtoolsPayload, mergeHeaders, nestedEffect, numberArrayQueryField, pagedQueryStackNextPageCalledWithoutPreviousPage, pagedQueryStackPageBiggerThanTotalPages, pagedQueryStackPreviousPageCalledButAlreadyAtFirstPage, paginatedEntityValueUpdater, parseAllXhrResponseHeaders, parseHttpErrorCodeToMessageDe, parseHttpErrorCodeToMessageEn, parseHttpErrorCodeToTitleDe, parseHttpErrorCodeToTitleEn, pathParamsMissingInRouteFunctionError, provideInfinityQueryResponseDelay, provideLegacyPrepareFallback, provideQueryClientForDevtools, provideQueryDevtools, queryArrayComputed, queryClientFeatureUsedMultipleTimes, queryComputed, queryComputedTillTruthy, queryDevtoolsEntries, queryDevtoolsFaults, queryDevtoolsResponseHistory, queryErrorMessage, queryErrorMessages, queryExecute, queryFeatureUsedMultipleTimes, queryField, querySequence, querySequenceAlreadyRunning, queryStackTotalQueriesAndExpectedQueriesMismatch, queryStackWithArgsUsed, queryStackWithResponseUpdateUsed, queryStateAlreadyHasKeyError, queryStateCannotTransformError, queryStateDoesNotContainKeyError, queryStateErrorSignal, queryStateLoadingSignal, queryStateResponseSignal, queryStateSignal, registerQueryErrorParser, removeFrom, request, resetExecuteState, resetPageOnError, resolveInvalidationUrl, searchQueryField, serializeBody, setDefaultQueryRetryFn, setQueryDevtoolsFault, setupQueryDependencies, setupQueryExecuteState, setupQueryState, shouldAutoExecuteGqlQuery, shouldAutoExecuteQuery, shouldCacheQuery, shouldRetryRequest, silenceMissingWithArgsFeatureErrorUsedButWithArgsPresent, skipPaginationPageParamCalculator, smartDuplicateArrayItem, snapshotQueryDevtoolsHandle, sortQueryField, splitQueryConfig, stringArrayQueryField, stringifyQueryRouteParts, sumQueryDevtoolsStats, switchQueryCollectionState, switchQueryState, symfonyQueryErrorParser, takeUntilResponse, toQuerySignal, toQuerySubject, tokensNotAvailableInsideAuthAndExec, tombstoneOf, transformArrayResponse, transformExecStateToQueryState, transformGql, transformMethod, transformPaginatedResponse, transformToBoolean, transformToBooleanArray, transformToDate, transformToDateArray, transformToNumber, transformToNumberArray, transformToSort, transformToSortQueryParam, transformToString, transformToStringArray, uncacheableRequestHasAllowCacheParam, uncacheableRequestHasCacheKeyParam, unwrapQuerySyncMessage, v2BuildQueryCacheKey, v2ExtractExpiresInSeconds, v2ShouldCacheQuery, v2ShouldRetryRequest, validateWithQuery, validateWithV2Query, withArgs, withArgsQueryFeatureMissingButRouteIsFunction, withAuthenticationQuery, withAutoRefresh, withAutoRefreshUsedInManualQuery, withAutoRefreshUsedOnUnsupportedHttpMethod, withBearerAuthMultiTabSync, withDefaultRetry, withErrorHandling, withEthleteApiErrors, withHtmlErrorParsing, withInactivityLogout, withLogging, withMultiTabSync, withPageResetOnError, withPersistentAuth, withPolling, withPollingUsedOnUnsupportedHttpMethod, withQueryPersistence, withRefreshQuery, withResponseUpdate, withSuccessHandling, withSymfonyErrors, withTokenExpirationWarning, withTokenRevocation, withTracking, wrapAsObservableSignal, wrapQuerySyncMessage };
7710
- export type { AnyBearerAuthProvider, AnyCreateBearerAuthProviderResult, AnyCreateGqlQueryCreatorOptions, AnyCreateQueryClientResult, AnyGqlQueryConfig, AnyInfinityQuery, AnyInfinityQueryConfig, AnyLegacyQuery, AnyLegacyQueryCreator, AnyNewQuery, AnyPagedQueryStack, AnyQueryBuilder, AnyQueryClient, AnyQueryCollection, AnyQueryCollectionData, AnyQueryCollectionResponse, AnyQueryCreator, AnyQueryCreatorCollection, AnyQueryForm, AnyQuerySnapshot, AnyQueryStack, AnyRestQueryConfig, AnyRoute, AnyV2Query, AnyV2QueryCreator, AnyWebSocketClient, AppendItemsLocation, ApplyExternalResponseOptions, ApplyPersistedResponseOptions, AuthGuard, AuthGuardConfig, AuthGuardTarget, AuthProvider, AuthProviderBasicConfig, AuthProviderBearerConfig, AuthProviderCustomHeaderConfig, AuthQueryBuilder, AuthQueryConfig, BaseArguments, BaseQueryCreatorFactoryOptions, BaseQueryCreatorOptions, BaseQueryCreatorOptionsSubtle, BearerAuthExecutionState, BearerAuthExecutionStateError, BearerAuthExecutionStateLoading, BearerAuthExecutionStateLogout, BearerAuthExecutionStateSuccess, BearerAuthExecutionStateTokenSeed, BearerAuthFeature, BearerAuthMultiTabSyncConfig, BearerAuthMultiTabSyncFeature, BearerAuthProvider, BearerAuthProviderEarlySetup, BearerAuthProviderEarlySetupContext, BearerAuthProviderEarlySetupResult, BearerAuthProviderFeatureContext, BearerAuthProviderOf, BearerAuthProviderQueryContext, BearerAuthProviderRef, BearerAuthProviderTokens, BearerAuthRefreshCoordination, BearerAuthSessionEndCause, BearerAuthSessionStatus, BearerRefreshConfig, BodyType, BuildQueryStringConfig, CacheAdapterFn, Cancelled, ClassValidatorError, ClearQueryArgs, ConstructQuery, CreateBaseQueryOptions, CreateBearerAuthProviderConfig, CreateGqlQueryCreatorOptions, CreateGqlQueryExecuteOptions, CreateGqlQueryOptions, CreateHttpRequestDependencies, CreateHttpRequestOptions, CreateIndexedDbQueryPersistenceAdapterOptions, CreateLegacyQueryCreatorOptions, CreateLegacyQueryOptions, CreatePagedQueryStackOptions, CreateQueryClientConfigOptions, CreateQueryCreatorOptions, CreateQueryExecuteOptions, CreateQueryObjectOptions, CreateQueryOptions, CreateQueryPersistenceEngineOptions, CreateQueryRepositoryConfig, CreateQuerySnapshotOptions, CreateQueryStackOptions, CreateQuerySyncEngineOptions, CreateSecureGqlQueryExecuteOptions, CreateSecureGqlQueryOptions, CreateSecureQueryExecuteOptions, CreateSecureQueryOptions, CreateWebSocketClientConfigOptions, CreateWebSocketClientTransport, DefineQueryFormConfig, DescribableFeature, DestroyCleanupCallback, EmptyObject, EntityGetParams, EntityIdParams, EntityKey, EntitySetParams, EntityStoreConfig, ExecuteFactory, ExecuteQueryOptions, ExtractQueryArgs, ExtractQueryKey, Failure, FeatureRegistry, GQL, GqlQueryArgs, GqlQueryConfig, GqlQueryConfigWithoutMethod, GqlQueryMethod, GqlQueryTransport, GqlTransferOption, GqlTransformer, GqlVariablesType, HttpErrorEvent, HttpRequest, HttpRequestLoadingProgressState, HttpRequestLoadingState, HttpRequestResponseType, HttpRequestRetryState, HttpRequestSubtle, HttpRequestTransferCacheConfig, InactivityLogoutConfig, InactivityLogoutFeature, InfinityQueryConfig, InfinityQueryConfigType, InfinityQueryOf, InfinityQueryParamLocation, InsertFromConfig, InternalCreateGqlQueryCreatorOptions, InternalCreateQueryCreatorOptions, InternalQueryExecute, InternalSecureCreateGqlQueryCreatorOptions, InternalSecureCreateQueryCreatorOptions, InternalWebSocketRoom, JsonPath, LeaderInstanceCountChangeEventData, LeaderStatusChangeEventData, LegacyArgumentsOfQueryArgs, LegacyQueryPrepareFn, Loading, LogoutEventData, MapViolationsToFormErrorsOptions, Method, ObservableSignal, OptionalQueryFieldOptions, OverrideOp, PageParamCalculatorOptions, PagedQueryStack, PagedQueryStackDirection, PagedQueryStackExecuteOptions, PagedQueryStackResetOptions, PartialXhrState, PathParams, PathParamsType, PersistedQueryBody, PersistedQueryEntry, PersistedQueryEntryMeta, PersistentAuthConfig, PersistentAuthFeature, PollConfig, Prepared, Query, QueryArgs, QueryArgsOf, QueryArgsOfLegacyArguments, QueryAutoRefreshConfig, QueryBase, QueryClient, QueryClientDevtoolsOptions, QueryClientErrorPipelineFeature, QueryClientFeature, QueryClientFeatureContext, QueryClientFeatureFn, QueryClientMultiTabSyncFeature, QueryClientPersistenceFeature, QueryClientRef, QueryClientSubtle, QueryCollectionKeysOf, QueryCollectionOf, QueryCollectionWithNullableQuery, QueryConfig, QueryConfigBase, QueryConfigWithoutMethod, QueryContainerConfig, QueryContext, QueryCreator, QueryDataOf, QueryDependencies, QueryDevtoolsAuthQuery, QueryDevtoolsEntry, QueryDevtoolsEntryKind, QueryDevtoolsEntryMeta, QueryDevtoolsFault, QueryDevtoolsFaultTarget, QueryDevtoolsFeature, QueryDevtoolsFeatureDescriber, QueryDevtoolsFeatureDetail, QueryDevtoolsFormField, QueryDevtoolsFormHandle, QueryDevtoolsFormLinksHandle, QueryDevtoolsFormLinksRecorder, QueryDevtoolsOptions, QueryDevtoolsOverrideEntry, QueryDevtoolsOverridesHandle, QueryDevtoolsOverridesRecorder, QueryDevtoolsPayload, QueryDevtoolsRegistrar, QueryDevtoolsRegistration, QueryDevtoolsResolvedFault, QueryDevtoolsRoutePart, QueryDevtoolsRun, QueryDevtoolsRunError, QueryDevtoolsRunStatus, QueryDevtoolsStats, QueryDevtoolsStatsHandle, QueryDevtoolsStatsRecorder, QueryDirectiveContext, QueryDirectiveType, QueryEntityConfig, QueryErrorParser, QueryErrorResponse, QueryErrorResponseItem, QueryErrorResponseList, QueryErrorResponseSingle, QueryExecute, QueryExecuteArgs, QueryExecuteEventData, QueryExecuteOptions, QueryExecuteState, QueryExecutionState, QueryExecutionStateFailure, QueryExecutionStateLoading, QueryExecutionStateLoadingWithCachedResponse, QueryExecutionStateLoadingWithNoResponse, QueryExecutionStateSuccess, QueryFailureEventData, QueryFeature, QueryFeatureContext, QueryFeatureFlags, QueryFeatureFn, QueryFieldConfig, QueryFieldDef, QueryFieldOptions, QueryFieldValue, QueryFilterConfig, QueryFormBranch, QueryFormChange, QueryFormFields, QueryFormGroup, QueryFormGroupControls, QueryFormModel, QueryFormObserveOptions, QueryFormOf, QueryFormOptions, QueryFormSignals, QueryFormSignalsObserveOptions, QueryFormSignalsWriteOptions, QueryFormValue, QueryFormValueEvent, QueryFormWriteOptions, QueryInvalidationCandidate, QueryInvalidationFilterFn, QueryInvalidationOptions, QueryKey, QueryKeyLockHold, QueryKeyLockManager, QueryKeyLockState, QueryMethod, QueryMockConfig, QueryMultiTabSyncConfig, QueryOf, QueryParams, QueryParamsType, QueryPersistenceAdapter, QueryPersistenceCandidate, QueryPersistenceConfig, QueryPersistenceEngine, QueryPrepareFn, QueryRefreshCause, QueryRegistry, QueryRegistryEntry, QueryRepository, QueryRepositoryCacheEntry, QueryRepositoryDependencies, QueryRepositoryEntryDestroyedCause, QueryRepositoryEvent, QueryRepositoryItem, QueryRepositoryRefreshFilterFn, QueryRepositoryRequestOptions, QueryRepositorySubtle, QueryResponseOf, QueryRouteOf, QuerySequence, QuerySequenceResult, QuerySequenceStatus, QuerySequenceStepArgs, QuerySnapshot, QueryStack, QueryStackSubtle, QueryState, QueryStateMeta, QueryStateResponseOf, QueryStateSignal, QueryStateSubtle, QueryStateSuccessMeta, QueryStoreIdOf, QueryStoreOf, QuerySubtle, QuerySuccessEventData, QuerySyncEngine, QuerySyncEnvelope, QuerySyncInvalidateMessage, QuerySyncMessage, QuerySyncMessageListener, QuerySyncMutation, QuerySyncMutationFilterFn, QuerySyncMutationMessage, QuerySyncRefreshCandidate, QuerySyncRefreshOnMutationConfig, QuerySyncResponseMessage, QuerySyncTransport, QueryTrigger, RawResponseType, ReadonlyQuery, RefreshFailure, RemoveFromConfig, RequestArgs, RequestConfig, RequestError, RequestEvent, RequestHeaders, RequestHeadersMethodMap, RequestHttpEvent, RequestProgress, RequestRetryFn, RequestRetryFnConfig, RequestRetryFnResult, RequiresTransform, ResetExecuteStateOptions, ResetPageOnErrorOperatorConfig, ResponseType, RestQueryConfig, RouteString, RouteType, RunQueryCreator, RunQueryExecuteOptions, SecureExecuteFactoryOptions, ServerValidationError, ServerViolationValidationError, SetupQueryDependenciesOptions, SetupQueryStateOptions, ShouldRetryRequestFn, ShouldRetryRequestOptions, ShouldRetryRequestResult, SocketMessageView, Sort, SortDirection, Success, SymfonyError, SymfonyErrorTrace, TokenExpirationWarningConfig, TokenExpirationWarningFeature, TokenRefreshEventData, TokenRefreshQueryBuilder, TokenRefreshQueryConfig, TokenResponse, TokenRevocationConfig, TokenRevocationFeature, TotalPagesExtractorOptions, TrackingConfig, TrackingEventDataMap, TrackingEventHandler, TrackingEventName, TrackingFeature, TransformedGqlQuery, V2CacheAdapterFn, V2PrepareArgsOf, V2QueryArgsOf, V2QueryClientConfig, V2QueryConfig, V2QueryState, V2RouteString, V2RouteType, ValidateWithQueryConfig, ValidateWithV2QueryConfig, WebSocketClient, WebSocketClientIo, WebSocketClientIoOptions, WebSocketClientResult, WebSocketClientSocket, WebSocketClientSubtle, WebSocketDevtoolsHandle, WebSocketDevtoolsMessage, WebSocketRoom, WithAutoRefreshFeatureOptions, WithBody, WithConfig, WithErrorHandlingFeatureOptions, WithHeaders, WithInjector, WithLegacyConfig, WithLoggingFeatureOptions, WithMock, WithPageResetOnErrorFeatureOptions, WithPathParams, WithPollingFeatureOptions, WithQueryParams, WithResponseUpdateFeatureFnData, WithResponseUpdateFeatureOptions, WithSuccessHandlingFeatureOptions, WithVariables };
8280
+ /** The version of `@ethlete/query` this build was cut from. */
8281
+ declare const QUERY_VERSION = "6.0.0-next.34";
8282
+
8283
+ export { AuthBearerRefreshStrategy, BasicAuthProvider, BearerAuthFeatureType, BooleanArrayQueryField, CLEAR_QUERY_ARGS, CustomHeaderAuthProvider, DEFAULT_KEEP_UNUSED_FOR, DEFAULT_QUERY_PERSISTENCE_MAX_AGE, DEFAULT_QUERY_PERSISTENCE_MAX_ENTRIES, DEFAULT_QUERY_PERSISTENCE_VERSION, DEFAULT_QUERY_PERSISTENCE_WRITE_DELAY, DateArrayQueryField, DateQueryField, EMPTY_QUERY_DEVTOOLS_FAULT, EntityStore, IGNORED_FILTER_COUNT_FIELDS, INFINITY_QUERY_TOKEN, InfinityQuery, InfinityQueryDirective, InfinityQueryTriggerDirective, LegacyQuery, LegacyQueryCreator, MAX_QUERY_DEVTOOLS_TOMBSTONES, MAX_UNUSED_ENTRIES, NumberArrayQueryField, ParseHttpErrorCodeToMessageDePipe, ParseHttpErrorCodeToMessageEnPipe, ParseHttpErrorCodeToTitleDePipe, ParseHttpErrorCodeToTitleEnPipe, QUERY_CLIENT_DEVTOOLS_TOKEN, QUERY_DEVTOOLS_FAULT_STATUSES, QUERY_DEVTOOLS_TOKEN_TTL_LIMIT, QUERY_PERSISTENCE_STORE_VERSION, QUERY_SYNC_PROTOCOL_VERSION, QUERY_VERSION, QueryClientFeatureType, QueryDevtoolsComponent, QueryDirective, QueryFeatureType, QueryField, QueryForm, QueryRuntimeErrorCode, QueryShortNamePipe, QueryStateType, QueryStore, SERVER_ERROR_KIND, SERVER_VIOLATION_ERROR_KIND, SPEED_BUFFER_TIME_IN_MS, SearchQueryField, SortQueryField, StringArrayQueryField, V2BearerAuthProvider, V2Query, V2QueryClient, V2QueryCreator, addQueryContainerHandling, applyQueryDevtoolsOverrides, applyQueryDevtoolsTokenTtl, applyQueryFeatures, armAllQueryDevtoolsMocks, armQueryDevtoolsMock, armQueryDevtoolsOverrideTransfer, authExtractTokensResponseMissingAccessToken, authExtractTokensResponseMissingRefreshToken, authExtractTokensResponseNotObject, authProviderFeatureUsedMultipleTimes, booleanArrayQueryField, buildQueryCacheKey, buildQueryString, buildRoute, buildTimestampFromSeconds, canOverrideQueryDevtoolsTokenTtl, castQueryCreatorTypes, circularQueryDependency, circularQueryDependencyChecker, clearQueryDevtoolsArmedMocks, clearQueryDevtoolsFaults, clearQueryDevtoolsMockStore, clearQueryDevtoolsOverrideStore, clearQueryDevtoolsStore, clearQueryDevtoolsTokenTtl, clearQueryDevtoolsTombstones, clearRestoredQueryDevtoolsOverrides, collectLeafPaths, collectQueryDevtoolsSchemaComponents, computeQueryAuthHeader, computeQueryBody, computeQueryHeaders, computeQueryMethod, computeQueryQueryParams, contentfulGqlLikePaginationAdapter, countUnresolvedQueryDevtoolsOverrides, createAuthGuard, createBaseQuery, createBaseQueryCreator, createBearerAuthProvider, createDeleteQuery, createExecuteFn, createGetQuery, createGqlExecuteFn, createGqlMutationViaGet, createGqlMutationViaPost, createGqlQuery, createGqlQueryCreator, createGqlQueryViaGet, createGqlQueryViaPost, createHttpRequest, createIndexedDbQueryPersistenceAdapter, createInfinityQueryConfig, createLegacyQueryCreator, createNoopQueryPersistenceAdapter, createPagedQueryStack, createPatchQuery, createPersistentAuthFeature, createPostQuery, createPutQuery, createQuery, createQueryClient, createQueryCollection, createQueryCollectionSignal, createQueryCollectionSubject, createQueryContext, createQueryCreator, createQueryDevtoolsOverrides, createQueryErrorResponse, createQueryFeature, createQueryInvalidationFilter, createQueryKeyLockManager, createQueryObject, createQueryPersistenceEngine, createQueryRepository, createQuerySnapshotFn, createQueryStack, createQuerySyncEngine, createQuerySyncTransport, createSecureDeleteQuery, createSecureExecuteFactory, createSecureExecuteFn, createSecureGetQuery, createSecureGqlExecuteFn, createSecureGqlMutationViaGet, createSecureGqlMutationViaPost, createSecureGqlQuery, createSecureGqlQueryCreator, createSecureGqlQueryViaGet, createSecureGqlQueryViaPost, createSecurePatchQuery, createSecurePostQuery, createSecurePutQuery, createSecureQuery, createSecureQueryCreator, createTrackingFeature, createWebSocketClient, dateArrayQueryField, dateQueryField, decryptBearer, deepFreeze, def, defineQueryForm, deleteQueryDevtoolsMock, detectContentTypeHeader, detectPaginationShape, dynLikePaginationAdapter, effectComputed, emptyQueryArgs, ethletePaginationAdapter, executeUntilSettled, extractExpiresInSeconds, extractFormViolations, extractHtmlErrorMessage, extractQuery, fakePaginationAdapter, filterFailure, filterNull, filterQueryStates, filterSuccess, forEachHeader, generateQueryDevtoolsNumberPreset, generateQueryDevtoolsStringPreset, getDefaultHeaders, getQueryFeatureUsage, getResponseUrl, ggLikePaginationAdapter, gql, gqlDataPropertyMissingInResponse, hasHeader, hasQueryDevtoolsOverridesAtPath, htmlErrorPayload, htmlQueryErrorParser, ignoreAutoRefresh, injectInfinityQueryResponseDelay, injectQueryContext, insertFrom, invalidBaseRouteError, invalidBodyError, invalidRouteError, invalidStateInsideSecureExecuteFactory, isAutoRefresh, isBasicAuthProvider, isBearerAuthProvider, isClassValidatorError, isCreateGqlQueryOptions, isCustomHeaderAuthProvider, isDateShapedLeaf, isEmptyString, isGqlQueryConfig, isHtmlErrorPayload, isLegacyQuery, isNaN, isPageOutOfRangeError, isQuery, isQueryCollection, isQueryDevtoolsFaultArmed, isQueryErrorResponse, isQueryStateCancelled, isQueryStateFailure, isQueryStateLoading, isQueryStatePrepared, isQueryStateSuccess, isRequestError, isSymfonyError, isSymfonyFormViolationListError, isSymfonyListError, isSymfonyPagerfantaOutOfRangeError, isUnderInvalidatedUrl, legacyPrepareWithoutInjectionContext, loadQueryDevtoolsSchema, mapToPaginated, mapViolationsToFormErrors, matchesQueryDevtoolsMockPattern, matchesQueryDevtoolsMockQuery, maybeExecute, measureQueryDevtoolsPayload, mergeHeaders, nestedEffect, numberArrayQueryField, pagedQueryStackNextPageCalledWithoutPreviousPage, pagedQueryStackPageBiggerThanTotalPages, pagedQueryStackPreviousPageCalledButAlreadyAtFirstPage, paginatedEntityValueUpdater, parseAllXhrResponseHeaders, parseHttpErrorCodeToMessageDe, parseHttpErrorCodeToMessageEn, parseHttpErrorCodeToTitleDe, parseHttpErrorCodeToTitleEn, parseQueryDevtoolsOverrideTransfer, pathParamsMissingInRouteFunctionError, provideInfinityQueryResponseDelay, provideLegacyPrepareFallback, provideQueryClientForDevtools, provideQueryDevtools, queryArrayComputed, queryClientFeatureUsedMultipleTimes, queryComputed, queryComputedTillTruthy, queryDevtoolsAbout, queryDevtoolsArmedMocks, queryDevtoolsArmedMocksRestored, queryDevtoolsEntries, queryDevtoolsFaults, queryDevtoolsFaultsRestored, queryDevtoolsMockId, queryDevtoolsMocks, queryDevtoolsOverridePersistence, queryDevtoolsRequestPath, queryDevtoolsResponseHistory, queryDevtoolsRestoredOverridesScope, queryDevtoolsSchemaNames, queryDevtoolsSchemaRoutes, queryDevtoolsSchemaState, queryDevtoolsSettings, queryDevtoolsStorage, queryDevtoolsTokenTtls, queryErrorMessage, queryErrorMessages, queryExecute, queryFeatureUsedMultipleTimes, queryField, querySequence, querySequenceAlreadyRunning, queryStackTotalQueriesAndExpectedQueriesMismatch, queryStackWithArgsUsed, queryStackWithResponseUpdateUsed, queryStateAlreadyHasKeyError, queryStateCannotTransformError, queryStateDoesNotContainKeyError, queryStateErrorSignal, queryStateLoadingSignal, queryStateResponseSignal, queryStateSignal, readQueryDevtoolsStore, registerEthleteVersion, registerQueryErrorParser, removeFrom, request, resetExecuteState, resetPageOnError, resolveInvalidationUrl, restoredQueryDevtoolsOverrides, saveQueryDevtoolsMock, searchQueryField, seedQueryDevtoolsSchemaBody, seedQueryDevtoolsSchemaRoute, serializeBody, serializeQueryDevtoolsOverrideTransfer, setDefaultQueryRetryFn, setQueryDevtoolsAppInfo, setQueryDevtoolsArmedMocksScope, setQueryDevtoolsFault, setQueryDevtoolsFaultsScope, setQueryDevtoolsOverridePersistence, setQueryDevtoolsOverridesScope, setQueryDevtoolsSettings, setQueryDevtoolsTokenTtl, setupQueryDependencies, setupQueryExecuteState, setupQueryState, shouldAutoExecuteGqlQuery, shouldAutoExecuteQuery, shouldCacheQuery, shouldRetryRequest, silenceMissingWithArgsFeatureErrorUsedButWithArgsPresent, skipPaginationPageParamCalculator, smartDuplicateArrayItem, snapshotQueryDevtoolsHandle, sortQueryField, splitQueryConfig, stringArrayQueryField, stringifyQueryRouteParts, sumQueryDevtoolsStats, switchQueryCollectionState, switchQueryState, symfonyQueryErrorParser, takeUntilResponse, toQuerySignal, toQuerySubject, tokensNotAvailableInsideAuthAndExec, tombstoneOf, transformArrayResponse, transformExecStateToQueryState, transformGql, transformMethod, transformPaginatedResponse, transformToBoolean, transformToBooleanArray, transformToDate, transformToDateArray, transformToNumber, transformToNumberArray, transformToSort, transformToSortQueryParam, transformToString, transformToStringArray, uncacheableRequestHasAllowCacheParam, uncacheableRequestHasCacheKeyParam, unwrapQuerySyncMessage, v2BuildQueryCacheKey, v2ExtractExpiresInSeconds, v2ShouldCacheQuery, v2ShouldRetryRequest, validateWithQuery, validateWithV2Query, withArgs, withArgsQueryFeatureMissingButRouteIsFunction, withAuthenticationQuery, withAutoRefresh, withAutoRefreshUsedInManualQuery, withAutoRefreshUsedOnUnsupportedHttpMethod, withBearerAuthMultiTabSync, withDefaultRetry, withErrorHandling, withEthleteApiErrors, withHtmlErrorParsing, withInactivityLogout, withLogging, withMultiTabSync, withPageResetOnError, withPersistentAuth, withPolling, withPollingUsedOnUnsupportedHttpMethod, withQueryPersistence, withRefreshQuery, withResponseUpdate, withSuccessHandling, withSymfonyErrors, withTokenExpirationWarning, withTokenRevocation, withTracking, wrapAsObservableSignal, wrapQuerySyncMessage, writeQueryDevtoolsStore };
8284
+ export type { AnyBearerAuthProvider, AnyCreateBearerAuthProviderResult, AnyCreateGqlQueryCreatorOptions, AnyCreateQueryClientResult, AnyGqlQueryConfig, AnyInfinityQuery, AnyInfinityQueryConfig, AnyLegacyQuery, AnyLegacyQueryCreator, AnyNewQuery, AnyPagedQueryStack, AnyQueryBuilder, AnyQueryClient, AnyQueryCollection, AnyQueryCollectionData, AnyQueryCollectionResponse, AnyQueryCreator, AnyQueryCreatorCollection, AnyQueryForm, AnyQuerySnapshot, AnyQueryStack, AnyRestQueryConfig, AnyRoute, AnyV2Query, AnyV2QueryCreator, AnyWebSocketClient, AppendItemsLocation, ApplyExternalResponseOptions, ApplyPersistedResponseOptions, AuthGuard, AuthGuardConfig, AuthGuardTarget, AuthProvider, AuthProviderBasicConfig, AuthProviderBearerConfig, AuthProviderCustomHeaderConfig, AuthQueryBuilder, AuthQueryConfig, BaseArguments, BaseQueryCreatorFactoryOptions, BaseQueryCreatorOptions, BaseQueryCreatorOptionsSubtle, BearerAuthExecutionState, BearerAuthExecutionStateError, BearerAuthExecutionStateLoading, BearerAuthExecutionStateLogout, BearerAuthExecutionStateSuccess, BearerAuthExecutionStateTokenSeed, BearerAuthFeature, BearerAuthMultiTabSyncConfig, BearerAuthMultiTabSyncFeature, BearerAuthProvider, BearerAuthProviderEarlySetup, BearerAuthProviderEarlySetupContext, BearerAuthProviderEarlySetupResult, BearerAuthProviderFeatureContext, BearerAuthProviderOf, BearerAuthProviderQueryContext, BearerAuthProviderRef, BearerAuthProviderTokens, BearerAuthRefreshCoordination, BearerAuthSessionEndCause, BearerAuthSessionStatus, BearerRefreshConfig, BodyType, BuildQueryStringConfig, CacheAdapterFn, Cancelled, ClassValidatorError, ClearQueryArgs, ConstructQuery, CreateBaseQueryOptions, CreateBearerAuthProviderConfig, CreateGqlQueryCreatorOptions, CreateGqlQueryExecuteOptions, CreateGqlQueryOptions, CreateHttpRequestDependencies, CreateHttpRequestOptions, CreateIndexedDbQueryPersistenceAdapterOptions, CreateLegacyQueryCreatorOptions, CreateLegacyQueryOptions, CreatePagedQueryStackOptions, CreateQueryClientConfigOptions, CreateQueryCreatorOptions, CreateQueryExecuteOptions, CreateQueryObjectOptions, CreateQueryOptions, CreateQueryPersistenceEngineOptions, CreateQueryRepositoryConfig, CreateQuerySnapshotOptions, CreateQueryStackOptions, CreateQuerySyncEngineOptions, CreateSecureGqlQueryExecuteOptions, CreateSecureGqlQueryOptions, CreateSecureQueryExecuteOptions, CreateSecureQueryOptions, CreateWebSocketClientConfigOptions, CreateWebSocketClientTransport, DefineQueryFormConfig, DescribableFeature, DestroyCleanupCallback, EmptyObject, EntityGetParams, EntityIdParams, EntityKey, EntitySetParams, EntityStoreConfig, ExecuteFactory, ExecuteQueryOptions, ExtractQueryArgs, ExtractQueryKey, Failure, FeatureRegistry, GQL, GqlQueryArgs, GqlQueryConfig, GqlQueryConfigWithoutMethod, GqlQueryMethod, GqlQueryTransport, GqlTransferOption, GqlTransformer, GqlVariablesType, HttpErrorEvent, HttpRequest, HttpRequestLoadingProgressState, HttpRequestLoadingState, HttpRequestResponseType, HttpRequestRetryState, HttpRequestSubtle, HttpRequestTransferCacheConfig, InactivityLogoutConfig, InactivityLogoutFeature, InfinityQueryConfig, InfinityQueryConfigType, InfinityQueryOf, InfinityQueryParamLocation, InsertFromConfig, InternalCreateGqlQueryCreatorOptions, InternalCreateQueryCreatorOptions, InternalQueryExecute, InternalSecureCreateGqlQueryCreatorOptions, InternalSecureCreateQueryCreatorOptions, InternalWebSocketRoom, JsonPath, LeaderInstanceCountChangeEventData, LeaderStatusChangeEventData, LegacyArgumentsOfQueryArgs, LegacyQueryPrepareFn, Loading, LogoutEventData, MapViolationsToFormErrorsOptions, Method, ObservableSignal, OptionalQueryFieldOptions, OverrideOp, PageParamCalculatorOptions, PagedQueryStack, PagedQueryStackDirection, PagedQueryStackExecuteOptions, PagedQueryStackResetOptions, PartialXhrState, PathParams, PathParamsType, PersistedQueryBody, PersistedQueryEntry, PersistedQueryEntryMeta, PersistentAuthConfig, PersistentAuthFeature, PollConfig, Prepared, Query, QueryArgs, QueryArgsOf, QueryArgsOfLegacyArguments, QueryAutoRefreshConfig, QueryBase, QueryClient, QueryClientDevtoolsOptions, QueryClientErrorPipelineFeature, QueryClientFeature, QueryClientFeatureContext, QueryClientFeatureFn, QueryClientMultiTabSyncFeature, QueryClientPersistenceFeature, QueryClientRef, QueryClientSubtle, QueryCollectionKeysOf, QueryCollectionOf, QueryCollectionWithNullableQuery, QueryConfig, QueryConfigBase, QueryConfigWithoutMethod, QueryContainerConfig, QueryContext, QueryCreator, QueryDataOf, QueryDependencies, QueryDevtoolsAbout, QueryDevtoolsAppInfo, QueryDevtoolsAuthQuery, QueryDevtoolsEntry, QueryDevtoolsEntryKind, QueryDevtoolsEntryMeta, QueryDevtoolsFault, QueryDevtoolsFaultTarget, QueryDevtoolsFeature, QueryDevtoolsFeatureDescriber, QueryDevtoolsFeatureDetail, QueryDevtoolsFormField, QueryDevtoolsFormHandle, QueryDevtoolsFormLinksHandle, QueryDevtoolsFormLinksRecorder, QueryDevtoolsMock, QueryDevtoolsMockTarget, QueryDevtoolsOptions, QueryDevtoolsOverrideEntry, QueryDevtoolsOverrideTransfer, QueryDevtoolsOverrideTransferParse, QueryDevtoolsOverridesHandle, QueryDevtoolsOverridesRecorder, QueryDevtoolsPayload, QueryDevtoolsRegistrar, QueryDevtoolsRegistration, QueryDevtoolsResolvedFault, QueryDevtoolsResolvedMock, QueryDevtoolsRoutePart, QueryDevtoolsRun, QueryDevtoolsRunError, QueryDevtoolsRunStatus, QueryDevtoolsSchemaComponents, QueryDevtoolsSchemaLoader, QueryDevtoolsSchemaRoute, QueryDevtoolsSchemaSeed, QueryDevtoolsSchemaState, QueryDevtoolsSettings, QueryDevtoolsStats, QueryDevtoolsStatsHandle, QueryDevtoolsStatsRecorder, QueryDevtoolsStorageScope, QueryDirectiveContext, QueryDirectiveType, QueryEntityConfig, QueryErrorParser, QueryErrorResponse, QueryErrorResponseItem, QueryErrorResponseList, QueryErrorResponseSingle, QueryExecute, QueryExecuteArgs, QueryExecuteEventData, QueryExecuteOptions, QueryExecuteState, QueryExecutionState, QueryExecutionStateFailure, QueryExecutionStateLoading, QueryExecutionStateLoadingWithCachedResponse, QueryExecutionStateLoadingWithNoResponse, QueryExecutionStateSuccess, QueryFailureEventData, QueryFeature, QueryFeatureContext, QueryFeatureFlags, QueryFeatureFn, QueryFieldConfig, QueryFieldDef, QueryFieldOptions, QueryFieldValue, QueryFilterConfig, QueryFormBranch, QueryFormChange, QueryFormFields, QueryFormGroup, QueryFormGroupControls, QueryFormModel, QueryFormObserveOptions, QueryFormOf, QueryFormOptions, QueryFormSignals, QueryFormSignalsObserveOptions, QueryFormSignalsWriteOptions, QueryFormValue, QueryFormValueEvent, QueryFormWriteOptions, QueryInvalidationCandidate, QueryInvalidationFilterFn, QueryInvalidationOptions, QueryKey, QueryKeyLockHold, QueryKeyLockManager, QueryKeyLockState, QueryMethod, QueryMockConfig, QueryMultiTabSyncConfig, QueryOf, QueryParams, QueryParamsType, QueryPersistenceAdapter, QueryPersistenceCandidate, QueryPersistenceConfig, QueryPersistenceEngine, QueryPrepareFn, QueryRefreshCause, QueryRegistry, QueryRegistryEntry, QueryRepository, QueryRepositoryCacheEntry, QueryRepositoryDependencies, QueryRepositoryEntryDestroyedCause, QueryRepositoryEvent, QueryRepositoryItem, QueryRepositoryRefreshFilterFn, QueryRepositoryRequestOptions, QueryRepositorySubtle, QueryResponseOf, QueryRouteOf, QuerySequence, QuerySequenceResult, QuerySequenceStatus, QuerySequenceStepArgs, QuerySnapshot, QueryStack, QueryStackSubtle, QueryState, QueryStateMeta, QueryStateResponseOf, QueryStateSignal, QueryStateSubtle, QueryStateSuccessMeta, QueryStoreIdOf, QueryStoreOf, QuerySubtle, QuerySuccessEventData, QuerySyncEngine, QuerySyncEnvelope, QuerySyncInvalidateMessage, QuerySyncMessage, QuerySyncMessageListener, QuerySyncMutation, QuerySyncMutationFilterFn, QuerySyncMutationMessage, QuerySyncRefreshCandidate, QuerySyncRefreshOnMutationConfig, QuerySyncResponseMessage, QuerySyncTransport, QueryTrigger, RawResponseType, ReadonlyQuery, RefreshFailure, RemoveFromConfig, RequestArgs, RequestConfig, RequestError, RequestEvent, RequestHeaders, RequestHeadersMethodMap, RequestHttpEvent, RequestProgress, RequestRetryFn, RequestRetryFnConfig, RequestRetryFnResult, RequiresTransform, ResetExecuteStateOptions, ResetPageOnErrorOperatorConfig, ResponseType, RestQueryConfig, RestoredQueryDevtoolsOverrides, RouteString, RouteType, RunQueryCreator, RunQueryExecuteOptions, SecureExecuteFactoryOptions, ServerValidationError, ServerViolationValidationError, SetupQueryDependenciesOptions, SetupQueryStateOptions, ShouldRetryRequestFn, ShouldRetryRequestOptions, ShouldRetryRequestResult, SocketMessageView, Sort, SortDirection, Success, SymfonyError, SymfonyErrorTrace, TokenExpirationWarningConfig, TokenExpirationWarningFeature, TokenRefreshEventData, TokenRefreshQueryBuilder, TokenRefreshQueryConfig, TokenResponse, TokenRevocationConfig, TokenRevocationFeature, TotalPagesExtractorOptions, TrackingConfig, TrackingEventDataMap, TrackingEventHandler, TrackingEventName, TrackingFeature, TransformedGqlQuery, V2CacheAdapterFn, V2PrepareArgsOf, V2QueryArgsOf, V2QueryClientConfig, V2QueryConfig, V2QueryState, V2RouteString, V2RouteType, ValidateWithQueryConfig, ValidateWithV2QueryConfig, WebSocketClient, WebSocketClientIo, WebSocketClientIoOptions, WebSocketClientResult, WebSocketClientSocket, WebSocketClientSubtle, WebSocketDevtoolsHandle, WebSocketDevtoolsMessage, WebSocketRoom, WithAutoRefreshFeatureOptions, WithBody, WithConfig, WithErrorHandlingFeatureOptions, WithHeaders, WithInjector, WithLegacyConfig, WithLoggingFeatureOptions, WithMock, WithPageResetOnErrorFeatureOptions, WithPathParams, WithPollingFeatureOptions, WithQueryParams, WithResponseUpdateFeatureFnData, WithResponseUpdateFeatureOptions, WithSuccessHandlingFeatureOptions, WithVariables };