@ethlete/query 6.0.0-next.23 → 6.0.0-next.25

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.
@@ -13,6 +13,33 @@ import * as _angular_forms from '@angular/forms';
13
13
  import { FormControl, FormGroup } from '@angular/forms';
14
14
  import { ToObservableOptions, ToSignalOptions } from '@angular/core/rxjs-interop';
15
15
 
16
+ /**
17
+ * One configured option of a feature, as the devtools render it (`interval · 5s`). Values are
18
+ * pre-rendered strings so the panel never has to know a feature's option shape.
19
+ */
20
+ type QueryDevtoolsFeatureDetail = {
21
+ label: string;
22
+ value: string;
23
+ };
24
+ /**
25
+ * A feature applied to a query, stack or auth provider, together with how it was configured. `type`
26
+ * is the feature's `*_FEATURE_TYPE` constant (`WITH_POLLING`, `PERSISTENT_AUTH`, …).
27
+ */
28
+ type QueryDevtoolsFeature = {
29
+ type: string;
30
+ details: QueryDevtoolsFeatureDetail[];
31
+ };
32
+ /**
33
+ * Describes how a feature was configured. Only ever called while building a devtools entry, so a
34
+ * feature may render whatever it needs to here without paying for it when devtools are off.
35
+ */
36
+ type QueryDevtoolsFeatureDescriber = () => QueryDevtoolsFeatureDetail[];
37
+ /** A feature as the devtools read it: its type plus its optional self-description. */
38
+ type DescribableFeature = {
39
+ type: string;
40
+ devtools?: QueryDevtoolsFeatureDescriber;
41
+ };
42
+
16
43
  /**
17
44
  * Route building, query-string serialization and the token clock - shared by the current generation and
18
45
  * the legacy V2 client, which re-exports them under their original names.
@@ -199,6 +226,22 @@ declare const circularQueryDependencyChecker: () => {
199
226
  check: () => void;
200
227
  };
201
228
 
229
+ /**
230
+ * Why a batch of in-use entries was refreshed. The answer to "why did this refetch?", which the query
231
+ * devtools spell out per query - the entries themselves only ever see a forced execution.
232
+ */
233
+ type QueryRefreshCause = {
234
+ /**
235
+ * - `refresh` - {@link QueryClient.refreshQueriesInUse}, which narrows nothing.
236
+ * - `invalidation` - {@link QueryClient.invalidateQueries}.
237
+ * - `mutation` - the multi-tab sync engine reacting to a mutation another tab made.
238
+ */
239
+ type: 'refresh' | 'invalidation' | 'mutation';
240
+ /** The URL the refresh was narrowed to (an invalidation's scope, a mutation's URL), or `null`. */
241
+ url: string | null;
242
+ /** Whether another tab asked for it rather than this one. */
243
+ otherTab: boolean;
244
+ };
202
245
  type QueryRepositoryEvent = {
203
246
  type: 'request-error';
204
247
  error: HttpErrorResponse;
@@ -241,6 +284,16 @@ type QueryRepositoryEvent = {
241
284
  isCached: boolean;
242
285
  /** @see QueryRepositoryEvent.isPersistEnabled */
243
286
  isPersistEnabled: boolean;
287
+ } | {
288
+ /**
289
+ * A batch of in-use entries was re-executed at once. Emitted for every
290
+ * {@link QueryRepository.refreshInUse} call, including one that matched nothing - "the
291
+ * invalidation ran and hit no query" is an answer too.
292
+ */
293
+ type: 'queries-refreshed';
294
+ cause: QueryRefreshCause;
295
+ /** The requests that were re-executed, in cache order. */
296
+ requests: HttpRequest<QueryArgs>[];
244
297
  } | {
245
298
  /**
246
299
  * Every secure entry was torn down at once - a logout. Emitted after the cache is cleared so
@@ -282,6 +335,12 @@ type QueryRepositoryItem<TArgs extends QueryArgs> = {
282
335
  key: QueryKey;
283
336
  /** The request object */
284
337
  request: HttpRequest<TArgs>;
338
+ /**
339
+ * Whether this call started a network request. `false` when a fresh cache entry answered it, or when
340
+ * an identical request was already in flight - the consumer is bound to that request either way and
341
+ * still gets its response.
342
+ */
343
+ executed: boolean;
285
344
  };
286
345
  /**
287
346
  * A read-only snapshot of a single cache entry, exposed via {@link QueryRepositorySubtle.cacheEntries}
@@ -362,11 +421,12 @@ type QueryRepository = {
362
421
  * in-flight requests. Entries kept only for their `keepUnusedFor` window are skipped - nobody is
363
422
  * looking at them, and they revalidate on their own when a consumer binds again.
364
423
  *
365
- * Pass a filter to narrow it down to a subset of those entries.
424
+ * Pass a filter to narrow it down to a subset of those entries, and a cause to describe what asked
425
+ * for it - which is what the devtools report as the reason a query refetched.
366
426
  *
367
427
  * @see QueryClient.refreshQueriesInUse
368
428
  */
369
- refreshInUse: (filter?: QueryRepositoryRefreshFilterFn) => void;
429
+ refreshInUse: (filter?: QueryRepositoryRefreshFilterFn, cause?: QueryRefreshCause) => void;
370
430
  /**
371
431
  * Writes a response that another tab received onto the matching cache entry, so the same query
372
432
  * shows the same data everywhere without a second network request.
@@ -435,8 +495,179 @@ declare const DEFAULT_KEEP_UNUSED_FOR = 300000;
435
495
  declare const MAX_UNUSED_ENTRIES = 50;
436
496
  declare const createQueryRepository: (config: CreateQueryRepositoryConfig) => QueryRepository;
437
497
 
498
+ /** Which query forms a query reads while it builds its args. */
499
+ type QueryDevtoolsFormLinksHandle = {
500
+ /**
501
+ * The devtools ids of the query forms this query's args have read. Empty for a query whose args read
502
+ * none.
503
+ *
504
+ * Accumulates rather than being rebuilt per evaluation: a form's `value` is a memoized signal, so an
505
+ * args build that re-runs for an unrelated reason reads the cached value without going through the
506
+ * form again. Dropping the id there would make the link flicker; a form that a conditional branch
507
+ * stops reading keeps its link until the query is recreated instead.
508
+ */
509
+ ids: Signal<readonly string[]>;
510
+ };
511
+ /** The write side, used by the code that evaluates a query's args. */
512
+ type QueryDevtoolsFormLinksRecorder = QueryDevtoolsFormLinksHandle & {
513
+ /** Runs `build`, recording every query form whose value it reads. */
514
+ track: <T>(build: () => T) => T;
515
+ };
516
+
517
+ /**
518
+ * What a query did over its lifetime, as the devtools panel accounts for it: how often it ran, how many
519
+ * of those runs reached the network, and how much payload they moved.
520
+ */
521
+ type QueryDevtoolsStats = {
522
+ /** How often the query executed, whether or not that reached the network. */
523
+ executions: number;
524
+ /**
525
+ * How many of those executions started a request. The remainder were answered by a fresh cache entry
526
+ * or joined a request that was already in flight.
527
+ */
528
+ requests: number;
529
+ /** How many responses arrived over the network. */
530
+ responses: number;
531
+ /** How many requests failed. */
532
+ errors: number;
533
+ /**
534
+ * How many attempts the retry policy added on top of the first one. A request that succeeded on its
535
+ * third attempt counts two.
536
+ */
537
+ retries: number;
538
+ /** The total size of every response body received. */
539
+ receivedBytes: number;
540
+ /** The total size of every request body sent. */
541
+ sentBytes: number;
542
+ /**
543
+ * Whether any byte count had to be measured from a body instead of read from a `content-length`
544
+ * header. A serialized body is the decoded payload, so it does not account for transport compression -
545
+ * the real transfer was probably smaller.
546
+ */
547
+ hasEstimatedBytes: boolean;
548
+ /** When the query executed for the first time. */
549
+ firstExecutedAt: number | null;
550
+ /** When its last response arrived. */
551
+ lastResponseAt: number | null;
552
+ /**
553
+ * How long the last response took, measured from the execution that preceded it - so it includes the
554
+ * retry delays and the queueing wall clock time, not just the round trip.
555
+ */
556
+ lastDurationMs: number | null;
557
+ /** The sum of every response's duration, which together with {@link responses} gives the average. */
558
+ totalDurationMs: number;
559
+ };
560
+ /** A payload whose transferred size is to be measured, plus the headers it came with (if any). */
561
+ type QueryDevtoolsPayload = {
562
+ headers?: HttpHeaders | null;
563
+ body: unknown;
564
+ };
565
+ /**
566
+ * How one run of a query ended. `aborted` is a run whose query started another request before the
567
+ * response arrived - the previous request's events are unbound at that point, so the response it was
568
+ * waiting for can no longer reach it.
569
+ */
570
+ type QueryDevtoolsRunStatus = 'pending' | 'success' | 'error' | 'aborted';
571
+ /**
572
+ * A single run of a query, kept alongside the running totals so overlapping runs stay tellable apart -
573
+ * which is what turns "ran 40 times" into "ran 40 times in two seconds".
574
+ */
575
+ type QueryDevtoolsRun = {
576
+ /**
577
+ * Position in the query's lifetime, 1-based. Keeps climbing past the runs the buffer has dropped, so
578
+ * it is a stable identity as well as a run number.
579
+ */
580
+ index: number;
581
+ startedAt: number;
582
+ /** When the run ended, or `null` while it is still in flight. */
583
+ endedAt: number | null;
584
+ status: QueryDevtoolsRunStatus;
585
+ /**
586
+ * Whether this run is a request of the query's own. A response that arrives without one was produced
587
+ * by something else - a poll, another consumer of the same cache entry, another tab - and is recorded
588
+ * as an instant, since only its arrival time is knowable.
589
+ */
590
+ didRequest: boolean;
591
+ /**
592
+ * The URL this run went to. Kept per run rather than read off the query: a query whose args changed
593
+ * between runs would otherwise label every older run with the URL it happens to hold now.
594
+ */
595
+ url: string | null;
596
+ /**
597
+ * How many HTTP attempts this run took - 1 unless the retry policy fired, and 0 for a run that made no
598
+ * request of its own. Which is what tells a slow response apart from one that was retried into place.
599
+ */
600
+ attempts: number;
601
+ /** The size of the request body this run sent. */
602
+ sentBytes: number;
603
+ /** The size of the response body it received, or 0 until one has. */
604
+ receivedBytes: number;
605
+ /**
606
+ * The response body, so one run can be diffed against another. Only the newest few runs keep theirs -
607
+ * a polling query would otherwise retain every response it ever received.
608
+ */
609
+ response: unknown;
610
+ /** Whether {@link response} still holds this run's body; a dropped and an empty body both read `null`. */
611
+ hasResponse: boolean;
612
+ };
613
+ /** The read side of a stats recorder, as a {@link QueryDevtoolsEntry} exposes it to the panel. */
614
+ type QueryDevtoolsStatsHandle = {
615
+ /** The live stats. */
616
+ current: Signal<QueryDevtoolsStats>;
617
+ /** The query's most recent runs, oldest first. Bounded - older runs are dropped as new ones arrive. */
618
+ runs: Signal<readonly QueryDevtoolsRun[]>;
619
+ /** Clears every counter, so a measurement can be scoped to a single interaction. */
620
+ reset: () => void;
621
+ };
622
+ /** The write side, used by the instrumentation inside the query itself. */
623
+ type QueryDevtoolsStatsRecorder = QueryDevtoolsStatsHandle & {
624
+ recordExecution: (options: {
625
+ /** Whether the execution started a request, as reported by the repository. */
626
+ didRequest: boolean;
627
+ /** The request body it sent, for the outgoing byte count. */
628
+ body?: unknown;
629
+ /** The URL it went to. @see QueryDevtoolsRun.url */
630
+ url?: string;
631
+ }) => void;
632
+ recordResponse: (payload: QueryDevtoolsPayload) => void;
633
+ recordError: () => void;
634
+ /**
635
+ * Raises the attempt count of the run in flight. Idempotent per attempt, so a caller driven off a
636
+ * signal may report the same attempt more than once without inflating {@link QueryDevtoolsStats.retries}.
637
+ */
638
+ recordRetry: (options: {
639
+ attempt: number;
640
+ }) => void;
641
+ };
642
+ /**
643
+ * The size of a payload in bytes, and whether that size is the one that went over the wire. Only a
644
+ * `content-length` header is exact; everything else is measured by serializing the body.
645
+ *
646
+ * Part of the devtools contract - the panel measures the cache and the event log with it. **Not part of
647
+ * the general public contract.**
648
+ */
649
+ declare const measureQueryDevtoolsPayload: (payload: QueryDevtoolsPayload) => {
650
+ bytes: number;
651
+ isExact: boolean;
652
+ };
653
+ /**
654
+ * Adds up the stats of several entries, for a stack's or a client's total. `lastDurationMs` is taken from
655
+ * whichever entry responded most recently rather than summed.
656
+ */
657
+ declare const sumQueryDevtoolsStats: (handles: readonly (QueryDevtoolsStatsHandle | undefined)[]) => QueryDevtoolsStats;
658
+
438
659
  type SetupQueryStateOptions<TArgs extends QueryArgs> = {
439
660
  transformResponse?: (rawResponse: RawResponseType<TArgs>) => ResponseType<TArgs>;
661
+ /**
662
+ * The devtools stats recorder to feed from this state's executions, or nothing when the devtools are
663
+ * not installed.
664
+ */
665
+ devtoolsStats?: QueryDevtoolsStatsRecorder | null;
666
+ /**
667
+ * The recorder that notes which query forms the args source reads, or nothing when the devtools are
668
+ * not installed.
669
+ */
670
+ devtoolsFormLinks?: QueryDevtoolsFormLinksRecorder | null;
440
671
  };
441
672
  type QueryStateSubtle<TArgs extends QueryArgs> = {
442
673
  request: WritableSignal<HttpRequest<TArgs> | null>;
@@ -453,6 +684,10 @@ type QueryStateSubtle<TArgs extends QueryArgs> = {
453
684
  * default source returns `null`.
454
685
  */
455
686
  setArgsSource: (source: () => RequestArgs<TArgs> | null) => void;
687
+ /** @see SetupQueryStateOptions.devtoolsStats */
688
+ devtoolsStats: QueryDevtoolsStatsRecorder | null;
689
+ /** @see SetupQueryStateOptions.devtoolsFormLinks */
690
+ devtoolsFormLinks: QueryDevtoolsFormLinksRecorder | null;
456
691
  };
457
692
  type QueryState<TArgs extends QueryArgs> = {
458
693
  rawResponse: WritableSignal<RawResponseType<TArgs> | null>;
@@ -556,10 +791,13 @@ type QueryFeatureFn<TArgs extends QueryArgs> = (context: QueryFeatureContext<TAr
556
791
  type QueryFeature<TArgs extends QueryArgs> = {
557
792
  type: QueryFeatureType;
558
793
  fn: (context: QueryFeatureContext<TArgs>) => void;
794
+ /** How the feature was configured, for the devtools. Only called while devtools are enabled. */
795
+ devtools?: QueryDevtoolsFeatureDescriber;
559
796
  };
560
797
  declare const createQueryFeature: <TArgs extends QueryArgs>(config: {
561
798
  type: QueryFeatureType;
562
799
  fn: QueryFeatureFn<TArgs>;
800
+ devtools?: QueryDevtoolsFeatureDescriber;
563
801
  }) => QueryFeature<TArgs>;
564
802
  /**
565
803
  * A query feature that allows you to set the arguments of the query.
@@ -851,6 +1089,17 @@ type QueryCreator<TArgs extends QueryArgs> = {
851
1089
  * ```
852
1090
  */
853
1091
  clone: (additionalOptions: Partial<BaseQueryCreatorOptions<TArgs>>) => QueryCreator<TArgs>;
1092
+ /**
1093
+ * What the creator was built with - `route`, `method` and the client for an HTTP creator, the
1094
+ * GraphQL document for a GraphQL one.
1095
+ *
1096
+ * Advanced: for tooling that has to describe a query (the devtools' Insomnia export builds an auth
1097
+ * provider's token-refresh request from it) without instantiating one.
1098
+ */
1099
+ subtle: {
1100
+ creatorInternals: Record<string, unknown>;
1101
+ creatorOptions: Record<string, unknown> | undefined;
1102
+ };
854
1103
  };
855
1104
  type AnyQueryCreator = QueryCreator<any>;
856
1105
  type QueryArgsOf<T extends AnyQueryCreator | AnyNewQuery> = T extends QueryCreator<infer TArgs> ? TArgs : T extends Query<infer TArgs> ? TArgs : never;
@@ -1425,10 +1674,14 @@ type QueryClientFeatureContext = {
1425
1674
  type QueryClientMultiTabSyncFeature = {
1426
1675
  type: typeof QueryClientFeatureType.MULTI_TAB_SYNC;
1427
1676
  instance: QuerySyncEngine | null;
1677
+ /** How the feature was configured, for the devtools. Only called while devtools are enabled. */
1678
+ devtools?: QueryDevtoolsFeatureDescriber;
1428
1679
  };
1429
1680
  type QueryClientPersistenceFeature = {
1430
1681
  type: typeof QueryClientFeatureType.PERSISTENCE;
1431
1682
  instance: QueryPersistenceEngine | null;
1683
+ /** How the feature was configured, for the devtools. Only called while devtools are enabled. */
1684
+ devtools?: QueryDevtoolsFeatureDescriber;
1432
1685
  };
1433
1686
  /**
1434
1687
  * A feature that only installs error-pipeline behavior. It has no per-client instance: how an error
@@ -1664,6 +1917,11 @@ type QueryClientSubtle = {
1664
1917
  * feature (or runs on the server).
1665
1918
  */
1666
1919
  persistence: QueryPersistenceEngine | null;
1920
+ /**
1921
+ * The client's features and the options each was configured with, for the devtools panel. Empty
1922
+ * unless `provideQueryDevtools()` is used.
1923
+ */
1924
+ devtoolsFeatures: QueryDevtoolsFeature[];
1667
1925
  };
1668
1926
  type QueryClient = {
1669
1927
  repository: QueryRepository;
@@ -1761,6 +2019,8 @@ type CreateHttpRequestOptions<TArgs extends QueryArgs> = {
1761
2019
  dependencies: QueryRepositoryDependencies;
1762
2020
  /** The client options of the request */
1763
2021
  clientOptions?: CreateQueryCreatorOptions;
2022
+ /** Display name of the owning query client. Scopes devtools fault injection, which is armed per client. */
2023
+ clientName?: string;
1764
2024
  /**
1765
2025
  * Headers configured on the query client, applied to every request it makes. Per-request
1766
2026
  * `args.headers` are merged on top and win per header name.
@@ -1792,11 +2052,26 @@ type HttpRequestLoadingProgressState = {
1792
2052
  loaded: number;
1793
2053
  /** The percentage of the transfer that is completed */
1794
2054
  percentage: number;
1795
- /** The speed of the transfer in bytes per millisecond */
2055
+ /** The speed of the transfer in bytes per second */
1796
2056
  speed: number | null;
1797
2057
  /** The estimated remaining time in milliseconds */
1798
2058
  remainingTime: number | null;
1799
2059
  };
2060
+ /**
2061
+ * A retry the request has scheduled and is waiting out. Present only during the backoff itself - the
2062
+ * attempt that follows clears it - which is what lets a slow request be told apart from one that is
2063
+ * sitting out a delay.
2064
+ */
2065
+ type HttpRequestRetryState = {
2066
+ /** The attempt the backoff leads up to, 1-based: the first retry is attempt 2. */
2067
+ attempt: number;
2068
+ /** The delay the retry policy asked for, in ms. */
2069
+ delayMs: number;
2070
+ /** When the attempt starts, as a timestamp. */
2071
+ startsAt: number;
2072
+ /** The status of the response that caused the retry, or 0 when the request never reached the server. */
2073
+ status: number;
2074
+ };
1800
2075
  /**
1801
2076
  * Advanced request internals. **Not part of the general public contract** - do not build
1802
2077
  * application logic on top of these.
@@ -1847,12 +2122,42 @@ type HttpRequestSubtle<TArgs extends QueryArgs> = {
1847
2122
  * the query devtools to show which entries are showing data from a previous session.
1848
2123
  */
1849
2124
  lastPersistedResponseAt: Signal<number | null>;
2125
+ /**
2126
+ * The headers this request sends, resolved the way an execution resolves them: the client's headers
2127
+ * with the per-request ones merged on top. Read by the query devtools to export a request that can be
2128
+ * replayed outside the app.
2129
+ *
2130
+ * Throws whatever a header provider function throws - a secure query's provider, for one, requires an
2131
+ * access token to be available.
2132
+ */
2133
+ resolveHeaders: () => HttpHeaders | undefined;
2134
+ /**
2135
+ * How many HTTP attempts the current execution has made, counting from 1. Anything above that is the
2136
+ * retry policy having fired. Reset by the next execution, so it keeps reading `3` after a request
2137
+ * that took three attempts to succeed.
2138
+ */
2139
+ attempts: Signal<number>;
2140
+ /** The retry currently being waited out, or `null` when none is. @see HttpRequestRetryState */
2141
+ retryState: Signal<HttpRequestRetryState | null>;
2142
+ /**
2143
+ * How long the last settled execution took, measured from the `execute()` that started it - so it
2144
+ * covers every attempt and the backoff between them, not just the last round trip. `null` until one
2145
+ * has settled, and untouched by a response adopted from another tab or from disk, neither of which
2146
+ * this request spent any time on.
2147
+ */
2148
+ lastDurationMs: Signal<number | null>;
1850
2149
  };
1851
2150
  type HttpRequest<TArgs extends QueryArgs> = {
1852
2151
  /** The HTTP method of the request. */
1853
2152
  method: QueryMethod;
1854
2153
  /** The full URL of the request (base + path + query params). */
1855
2154
  url: string;
2155
+ /**
2156
+ * The args this request was built from - the resolved path params, query params, body and headers
2157
+ * behind {@link HttpRequest.url}. Read by the query devtools to show what a query actually sent,
2158
+ * which a query executed imperatively (`execute({ args })`) does not keep on its own `args` signal.
2159
+ */
2160
+ args: RequestArgs<TArgs> | null;
1856
2161
  /**
1857
2162
  * Executes the request.
1858
2163
  *
@@ -2483,7 +2788,7 @@ declare const gqlDataPropertyMissingInResponse: () => RuntimeError<600>;
2483
2788
  declare const tokensNotAvailableInsideAuthAndExec: () => RuntimeError<700>;
2484
2789
  declare const invalidStateInsideSecureExecuteFactory: () => RuntimeError<701>;
2485
2790
  declare const circularQueryDependency: () => RuntimeError<800>;
2486
- declare const legacyPrepareWithoutInjectionContext: (creatorName: string | undefined) => RuntimeError<950>;
2791
+ declare const legacyPrepareWithoutInjectionContext: (creatorName: string | undefined, method?: "prepare" | "createSubject" | "createSignal") => RuntimeError<950>;
2487
2792
  declare const querySequenceAlreadyRunning: () => RuntimeError<900>;
2488
2793
 
2489
2794
  /** The last element of a tuple type - the response of the step a `.then()` callback follows. */
@@ -3041,6 +3346,10 @@ type InactivityLogoutFeature = {
3041
3346
  declare const withInactivityLogout: <TBuilders extends readonly AnyQueryBuilder[]>(config?: InactivityLogoutConfig) => (context: BearerAuthProviderFeatureContext<unknown, TBuilders>) => {
3042
3347
  type: "INACTIVITY_LOGOUT";
3043
3348
  instance: InactivityLogoutFeature;
3349
+ devtools: () => {
3350
+ label: string;
3351
+ value: string;
3352
+ }[];
3044
3353
  };
3045
3354
 
3046
3355
  type BearerAuthMultiTabSyncConfig = {
@@ -3096,6 +3405,10 @@ type BearerAuthMultiTabSyncFeature = {
3096
3405
  declare const withBearerAuthMultiTabSync: <TBuilders extends readonly AnyQueryBuilder[]>(config?: BearerAuthMultiTabSyncConfig) => ((_context: BearerAuthProviderFeatureContext<unknown, TBuilders>) => {
3097
3406
  type: "MULTI_TAB_SYNC";
3098
3407
  instance: BearerAuthMultiTabSyncFeature;
3408
+ devtools: () => {
3409
+ label: string;
3410
+ value: string;
3411
+ }[];
3099
3412
  }) & {
3100
3413
  earlySetup: (context: BearerAuthProviderEarlySetupContext) => _ethlete_query.BearerAuthProviderEarlySetupResult;
3101
3414
  };
@@ -3177,6 +3490,10 @@ type PersistentAuthFeature = {
3177
3490
  declare const withPersistentAuth: <TBuilders extends readonly AnyQueryBuilder[], TKey extends ExtractQueryKey<TBuilders[number]> = ExtractQueryKey<TBuilders[number]>>(config: PersistentAuthConfig<TBuilders, TKey>) => (context: BearerAuthProviderFeatureContext<unknown, TBuilders>) => {
3178
3491
  type: "PERSISTENT_AUTH";
3179
3492
  instance: PersistentAuthFeature;
3493
+ devtools: () => {
3494
+ label: string;
3495
+ value: string;
3496
+ }[];
3180
3497
  };
3181
3498
  declare const createPersistentAuthFeature: <TBuilders extends readonly AnyQueryBuilder[], TKey extends ExtractQueryKey<TBuilders[number]> = ExtractQueryKey<TBuilders[number]>>(config: PersistentAuthConfig<TBuilders, TKey>, context: BearerAuthProviderFeatureContext<unknown, TBuilders>) => PersistentAuthFeature;
3182
3499
 
@@ -3209,6 +3526,10 @@ type TokenExpirationWarningFeature = {
3209
3526
  declare const withTokenExpirationWarning: <TBuilders extends readonly AnyQueryBuilder[]>(config?: NoInfer<TokenExpirationWarningConfig>) => (context: BearerAuthProviderFeatureContext<unknown, TBuilders>) => {
3210
3527
  type: "TOKEN_EXPIRATION_WARNING";
3211
3528
  instance: TokenExpirationWarningFeature;
3529
+ devtools: () => {
3530
+ label: string;
3531
+ value: string;
3532
+ }[];
3212
3533
  };
3213
3534
 
3214
3535
  type TokenRevocationConfig<TBuilders extends readonly AnyQueryBuilder[], TKey extends ExtractQueryKey<TBuilders[number]> = ExtractQueryKey<TBuilders[number]>> = {
@@ -3256,6 +3577,10 @@ declare const withTokenRevocation: <TBuilders extends readonly AnyQueryBuilder[]
3256
3577
  instance: TokenRevocationFeature<QuerySnapshot<ExtractQueryArgs<Extract<TBuilders[number], {
3257
3578
  key: TKey;
3258
3579
  }>>>>;
3580
+ devtools: () => {
3581
+ label: string;
3582
+ value: string;
3583
+ }[];
3259
3584
  };
3260
3585
 
3261
3586
  type TrackingEventName<TBuilders extends readonly AnyQueryBuilder[]> = `${ExtractQueryKey<TBuilders[number]>}Execute` | `${ExtractQueryKey<TBuilders[number]>}Success` | `${ExtractQueryKey<TBuilders[number]>}Failure` | 'tokenRefreshSuccess' | 'logout' | 'leaderStatusChange' | 'leaderInstanceCountChange';
@@ -3313,6 +3638,10 @@ type TrackingFeature<TBuilders extends readonly AnyQueryBuilder[]> = {
3313
3638
  declare const withTracking: <TBuilders extends readonly AnyQueryBuilder[]>(config?: TrackingConfig<TBuilders>) => (context: BearerAuthProviderFeatureContext<unknown, TBuilders>) => {
3314
3639
  type: "TRACKING";
3315
3640
  instance: TrackingFeature<TBuilders>;
3641
+ devtools: () => {
3642
+ label: string;
3643
+ value: string;
3644
+ }[];
3316
3645
  };
3317
3646
  declare const createTrackingFeature: <TBuilders extends readonly AnyQueryBuilder[]>(context: BearerAuthProviderFeatureContext<unknown, TBuilders>, config?: TrackingConfig<TBuilders>) => TrackingFeature<TBuilders>;
3318
3647
 
@@ -3347,6 +3676,8 @@ type BearerAuthFeatureType = (typeof BearerAuthFeatureType)[keyof typeof BearerA
3347
3676
  type BearerAuthFeature<TBuilders extends readonly AnyQueryBuilder[], TBearerData> = {
3348
3677
  type: BearerAuthFeatureType;
3349
3678
  setup: (context: BearerAuthProviderFeatureContext<TBearerData, TBuilders>) => unknown;
3679
+ /** How the feature was configured, for the devtools. Only called while devtools are enabled. */
3680
+ devtools?: QueryDevtoolsFeatureDescriber;
3350
3681
  };
3351
3682
  /**
3352
3683
  * What a feature gets before the provider's queries are wired up. Only the tokens and the client
@@ -3559,11 +3890,138 @@ type AnyBearerAuthProvider = Omit<NonNullable<ReturnType<AnyCreateBearerAuthProv
3559
3890
  queries: any;
3560
3891
  };
3561
3892
 
3893
+ /**
3894
+ * A fault armed on one query client from the devtools panel. Unlike the panel's forced states - which
3895
+ * write a query's signals directly - an armed fault is applied inside the request pipeline, so retries,
3896
+ * error handling features and the cache all see it exactly as they would see a real one.
3897
+ */
3898
+ type QueryDevtoolsFault = {
3899
+ /** Extra latency in ms added before every attempt starts. `0` disables it. */
3900
+ latencyMs: number;
3901
+ /**
3902
+ * How many upcoming attempts fail before the client is let through again, counted down as they are
3903
+ * consumed. `0` disables it.
3904
+ */
3905
+ failNext: number;
3906
+ /** The percentage of attempts that fail, rolled per attempt. `0` disables it, `100` fails everything. */
3907
+ failRate: number;
3908
+ /** The status an injected failure responds with. */
3909
+ status: number;
3910
+ };
3911
+ /** The neutral fault: nothing armed. */
3912
+ declare const EMPTY_QUERY_DEVTOOLS_FAULT: QueryDevtoolsFault;
3913
+ /**
3914
+ * Statuses worth injecting, and whether the SDK's default retry policy retries them. A picker built from
3915
+ * this cannot arm a 500 and then leave you wondering why no retry fired.
3916
+ * @see runDefaultQueryRetry
3917
+ */
3918
+ declare const QUERY_DEVTOOLS_FAULT_STATUSES: {
3919
+ status: number;
3920
+ label: string;
3921
+ retryable: boolean;
3922
+ }[];
3923
+ /**
3924
+ * The faults armed per client name, consumed by the `<et-query-devtools>` UI. Clients with nothing armed
3925
+ * are absent rather than present with an {@link EMPTY_QUERY_DEVTOOLS_FAULT}.
3926
+ */
3927
+ declare const queryDevtoolsFaults: Signal<Record<string, QueryDevtoolsFault>>;
3928
+ /** Whether anything at all is armed on a fault. */
3929
+ declare const isQueryDevtoolsFaultArmed: (fault: QueryDevtoolsFault) => boolean;
3930
+ /**
3931
+ * Arms (or updates) the fault of one client. Only the given fields change; the rest keep their current
3932
+ * value. A client whose resulting fault has nothing armed is dropped from {@link queryDevtoolsFaults}.
3933
+ *
3934
+ * Part of the devtools contract consumed by `<et-query-devtools>`; a fault is a debugging tool, not
3935
+ * something an application should arm on itself.
3936
+ */
3937
+ declare const setQueryDevtoolsFault: (options: {
3938
+ clientName: string;
3939
+ patch: Partial<QueryDevtoolsFault>;
3940
+ }) => void;
3941
+ /**
3942
+ * Disarms every fault of one client, or of all clients when no name is given.
3943
+ *
3944
+ * @see setQueryDevtoolsFault
3945
+ */
3946
+ declare const clearQueryDevtoolsFaults: (clientName?: string) => void;
3947
+
3948
+ /**
3949
+ * One field of a query form, as the devtools panel reads it: what it holds, what it puts in the URL,
3950
+ * and the rules that decide when either changes.
3951
+ */
3952
+ type QueryDevtoolsFormField = {
3953
+ key: string;
3954
+ /** The query-param key the field serializes to, with the form's prefix applied. */
3955
+ paramKey: string;
3956
+ /** The committed value - what the query args are built from. */
3957
+ value: unknown;
3958
+ /** The live value of the bound control, which differs from {@link value} while a debounce is pending. */
3959
+ liveValue: unknown;
3960
+ defaultValue: unknown;
3961
+ /** Whether the committed value is the default one. */
3962
+ isDefault: boolean;
3963
+ /** What the field writes to the URL, or `undefined` when it writes nothing. */
3964
+ queryParam: unknown;
3965
+ /** How long a change waits before it is committed, or `null` when it commits immediately. */
3966
+ debounceMs: number | null;
3967
+ /** The sibling fields whose change resets this one back to its default. */
3968
+ isResetBy: readonly string[];
3969
+ /** Whether the field counts towards {@link QueryDevtoolsFormHandle.activeFilterCount}. */
3970
+ countsAsFilter: boolean;
3971
+ };
3972
+ /**
3973
+ * The live state of a query form, as `<et-query-devtools>` renders it. Part of the devtools contract -
3974
+ * not a general-purpose query-form API.
3975
+ */
3976
+ type QueryDevtoolsFormHandle = {
3977
+ fields: Signal<QueryDevtoolsFormField[]>;
3978
+ /** The committed value of the whole form. */
3979
+ value: Signal<Record<string, unknown>>;
3980
+ /** The value of every field before the most recent commit, or `null` before the first one. */
3981
+ previousValue: Signal<Record<string, unknown> | null>;
3982
+ defaultValue: Record<string, unknown>;
3983
+ /** @see QueryFormSignals.activeFilterCount */
3984
+ activeFilterCount: Signal<number>;
3985
+ /** Whether every field sits at its default. */
3986
+ isAtDefaults: Signal<boolean>;
3987
+ /** Whether a change is waiting out its debounce, so the committed value is one edit behind. */
3988
+ isCommitPending: Signal<boolean>;
3989
+ /** Whether the form is syncing with the URL, i.e. whether `observe()` has been called. */
3990
+ isObserving: Signal<boolean>;
3991
+ resetField: (key: string) => void;
3992
+ resetAll: () => void;
3993
+ };
3994
+
3562
3995
  /**
3563
3996
  * The kind of object a {@link QueryDevtoolsEntry} describes. Part of the devtools contract consumed
3564
3997
  * by `<et-query-devtools>` - not a general-purpose query API.
3565
3998
  */
3566
- type QueryDevtoolsEntryKind = 'query' | 'query-stack' | 'paged-query-stack' | 'query-sequence' | 'auth-provider' | 'ws-client';
3999
+ type QueryDevtoolsEntryKind = 'query' | 'query-stack' | 'paged-query-stack' | 'query-sequence' | 'auth-provider' | 'ws-client' | 'query-form';
4000
+ /**
4001
+ * One chunk of a parsed query route: either literal text (`param: null`) or a path param, whose name
4002
+ * is in {@link QueryDevtoolsRoutePart.text}. Lets the devtools tell a route's static parts from its
4003
+ * dynamic ones and fill the latter in with the values a query actually used.
4004
+ */
4005
+ type QueryDevtoolsRoutePart = {
4006
+ text: string;
4007
+ param: string | null;
4008
+ };
4009
+ /**
4010
+ * One of a bearer auth provider's queries, described without instantiating it - which is what lets
4011
+ * tooling build the token-refresh request of a provider whose refresh query has not run yet.
4012
+ */
4013
+ type QueryDevtoolsAuthQuery = {
4014
+ key: string;
4015
+ /** `token-refresh` for the query registered via `withRefreshQuery`, `auth` for the rest. */
4016
+ kind: 'auth' | 'token-refresh';
4017
+ method: string;
4018
+ /** Stringified route with path params rendered as `:name`. */
4019
+ route: string;
4020
+ /** The args a token refresh sends for a given refresh token. Only set on the refresh query. */
4021
+ buildArgs?: (refreshToken: string) => {
4022
+ body?: unknown;
4023
+ };
4024
+ };
3567
4025
  /**
3568
4026
  * Descriptive, mostly-static metadata about a registered devtools entry. The live, reactive state
3569
4027
  * is read from the entry's {@link QueryDevtoolsEntry.handle} instead.
@@ -3579,12 +4037,20 @@ type QueryDevtoolsEntryMeta = {
3579
4037
  url?: string;
3580
4038
  /** The GraphQL document string, for GraphQL queries. */
3581
4039
  gqlQuery?: string;
3582
- /** Stringified route with path params rendered as `:param`, for queries. */
4040
+ /** Stringified route with path params rendered as `:name`, for queries. */
3583
4041
  route?: string;
4042
+ /** The same route, split into its literal and path-param parts. */
4043
+ routeParts?: QueryDevtoolsRoutePart[];
3584
4044
  /** Human readable HTTP/GQL method, for queries (e.g. `GET`, `GQL QUERY`). */
3585
4045
  method?: string;
3586
- /** The feature types applied at creation, for queries. */
3587
- featureTypes?: QueryFeatureType[];
4046
+ /** The features applied at creation, with the options each was configured with. */
4047
+ features?: QueryDevtoolsFeature[];
4048
+ /** Whether the query authenticates through a bearer auth provider, for queries. */
4049
+ isSecure?: boolean;
4050
+ /** Name of the bearer auth provider a secure query authenticates with. */
4051
+ authProviderName?: string;
4052
+ /** The provider's own queries, for auth providers. */
4053
+ authQueries?: QueryDevtoolsAuthQuery[];
3588
4054
  /** The query config passed at creation, for queries. */
3589
4055
  queryConfig?: QueryConfig;
3590
4056
  /** The creator options passed at creation, for queries. */
@@ -3612,6 +4078,13 @@ type QueryDevtoolsEntry = {
3612
4078
  meta: QueryDevtoolsEntryMeta;
3613
4079
  handle: unknown;
3614
4080
  createdAt: number;
4081
+ /**
4082
+ * What the entry has done since it was created - executions, requests, payload sizes. Present for
4083
+ * queries; stacks, sequences and auth providers aggregate the stats of the queries they own instead.
4084
+ */
4085
+ stats?: QueryDevtoolsStatsHandle;
4086
+ /** The query forms this entry's args read, for queries created with a `withArgs` feature. */
4087
+ formLinks?: QueryDevtoolsFormLinksHandle;
3615
4088
  };
3616
4089
  /**
3617
4090
  * What an instrumentation site hands to the registry. Raw values (`route`, `clientRef`) are rendered
@@ -3627,14 +4100,45 @@ type QueryDevtoolsRegistration = {
3627
4100
  route?: unknown;
3628
4101
  /** The owning client, whose display name is derived by the registry. */
3629
4102
  clientRef?: AnyCreateQueryClientResult;
4103
+ /**
4104
+ * The bearer auth provider a secure query authenticates with, whose display name is derived by the
4105
+ * registry. Typed structurally so the registry does not have to import the auth layer it registers.
4106
+ */
4107
+ authProviderRef?: {
4108
+ token?: unknown;
4109
+ };
4110
+ /** The auth provider's queries, whose routes are stringified by the registry. */
4111
+ authQueries?: (Omit<QueryDevtoolsAuthQuery, 'route'> & {
4112
+ route?: unknown;
4113
+ })[];
4114
+ /** @see QueryDevtoolsEntry.stats */
4115
+ stats?: QueryDevtoolsStatsHandle;
4116
+ /** @see QueryDevtoolsEntry.formLinks */
4117
+ formLinks?: QueryDevtoolsFormLinksHandle;
3630
4118
  };
3631
4119
  /** The registry {@link provideQueryDevtools} installs. */
3632
4120
  type QueryDevtoolsRegistrar = (entry: QueryDevtoolsRegistration) => () => void;
4121
+ /** The request an upcoming attempt belongs to, for the fault resolver to match against. */
4122
+ type QueryDevtoolsFaultTarget = {
4123
+ /** Display name of the owning query client. Faults are armed per client. */
4124
+ clientName: string;
4125
+ method: string;
4126
+ url: string;
4127
+ };
4128
+ /** What the devtools want done with one upcoming attempt. */
4129
+ type QueryDevtoolsResolvedFault = {
4130
+ /** Extra latency in ms to wait out before the attempt starts. */
4131
+ latencyMs: number;
4132
+ /** The status to fail the attempt with instead of sending it, or `null` to let it through. */
4133
+ status: number | null;
4134
+ };
3633
4135
 
3634
4136
  /**
3635
4137
  * The reactive list of every registered devtools entry, consumed by the `<et-query-devtools>` UI.
3636
4138
  */
3637
4139
  declare const queryDevtoolsEntries: Signal<QueryDevtoolsEntry[]>;
4140
+ /** Renders parsed route parts as a template, e.g. `/team/:teamId/players`. */
4141
+ declare const stringifyQueryRouteParts: (parts: QueryDevtoolsRoutePart[]) => string;
3638
4142
  /**
3639
4143
  * Enables the `@ethlete/query` devtools. Add this to your application providers (e.g. in
3640
4144
  * `bootstrapApplication`) to make query clients, queries, stacks, sequences and auth providers
@@ -3713,11 +4217,20 @@ type CreateSecureGqlQueryExecuteOptions<TArgs extends GqlQueryArgs> = {
3713
4217
  };
3714
4218
  declare const createSecureGqlExecuteFn: <TArgs extends GqlQueryArgs>(executeOptions: CreateSecureGqlQueryExecuteOptions<TArgs>) => InternalQueryExecute<TArgs>;
3715
4219
 
4220
+ /**
4221
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4222
+ */
3716
4223
  type EntityKey = string | number;
4224
+ /**
4225
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4226
+ */
3717
4227
  type EntityStoreConfig = {
3718
4228
  name: string;
3719
4229
  logActions?: boolean;
3720
4230
  };
4231
+ /**
4232
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4233
+ */
3721
4234
  type InsertFromConfig<OriginStoreType, OriginKeys extends keyof NonNullable<OriginStoreType>, IdFn extends (value: NonNullable<OriginStoreType>) => EntityKey | EntityKey[]> = {
3722
4235
  /**
3723
4236
  * The property key of which the value should be replaced.
@@ -3728,6 +4241,9 @@ type InsertFromConfig<OriginStoreType, OriginKeys extends keyof NonNullable<Orig
3728
4241
  */
3729
4242
  id: IdFn;
3730
4243
  };
4244
+ /**
4245
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4246
+ */
3731
4247
  type RemoveFromConfig<T> = {
3732
4248
  /**
3733
4249
  * The where function to select the entities to remove.
@@ -3739,6 +4255,9 @@ type RemoveFromConfig<T> = {
3739
4255
  id: (entity: T) => EntityKey;
3740
4256
  };
3741
4257
 
4258
+ /**
4259
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4260
+ */
3742
4261
  declare class EntityStore<T> {
3743
4262
  private readonly _config;
3744
4263
  constructor(_config: EntityStoreConfig);
@@ -3763,17 +4282,30 @@ declare class EntityStore<T> {
3763
4282
  private normalizeKeys;
3764
4283
  }
3765
4284
 
4285
+ /**
4286
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4287
+ */
3766
4288
  declare function mapToPaginated<T>(response: Paginated<T>): rxjs.OperatorFunction<unknown, Paginated<T>>;
3767
4289
  /**
3768
4290
  * Use an other store to represent a property of the current entity.
4291
+ *
4292
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
3769
4293
  */
3770
4294
  declare const insertFrom: <OriginStoreType, OriginKeys extends keyof NonNullable<OriginStoreType>, SubStoreType extends (NonNullable<OriginStoreType>[OriginKeys] extends Array<infer U> ? U : NonNullable<OriginStoreType>[OriginKeys]), IdFn extends (value: NonNullable<OriginStoreType>) => EntityKey | EntityKey[], ComputedEntityType extends (ReturnType<IdFn> extends Array<unknown> ? OriginStoreType : Omit<OriginStoreType, OriginKeys> & { [K in OriginKeys]: SubStoreType | null; })>(store: EntityStore<SubStoreType>, { for: key, id }: InsertFromConfig<OriginStoreType, OriginKeys, IdFn>) => rxjs.OperatorFunction<OriginStoreType, ComputedEntityType | null>;
3771
4295
  /**
3772
4296
  * Remove entities from a store based on a where function.
4297
+ *
4298
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
3773
4299
  */
3774
4300
  declare const removeFrom: <T>(store: EntityStore<T>, { where, id }: RemoveFromConfig<T>) => void;
3775
4301
 
4302
+ /**
4303
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4304
+ */
3776
4305
  type Method = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS' | 'TRACE' | 'CONNECT' | 'PURGE' | 'LINK' | 'UNLINK' | 'GQL_QUERY' | 'GQL_MUTATE' | 'CUSTOM';
4306
+ /**
4307
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4308
+ */
3777
4309
  type RequestError<Detail = unknown> = {
3778
4310
  url: string;
3779
4311
  status: number;
@@ -3781,28 +4313,52 @@ type RequestError<Detail = unknown> = {
3781
4313
  detail: Detail;
3782
4314
  httpErrorResponse: HttpErrorResponse;
3783
4315
  };
4316
+ /**
4317
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4318
+ */
3784
4319
  type RequestHeaders = Record<string, string>;
3785
4320
 
4321
+ /**
4322
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4323
+ */
3786
4324
  type V2CacheAdapterFn = (headers: RequestHeaders) => number | null;
4325
+ /**
4326
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4327
+ */
3787
4328
  type RequestHeadersMethodMap = {
3788
4329
  [M in Method]?: RequestHeaders;
3789
4330
  };
4331
+ /**
4332
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4333
+ */
3790
4334
  type PartialXhrState = {
3791
4335
  headers: RequestHeaders;
3792
4336
  status: number;
3793
4337
  statusText: string;
3794
4338
  url: string;
3795
4339
  };
4340
+ /**
4341
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4342
+ */
3796
4343
  type RequestRetryFnConfig = {
3797
4344
  error: RequestError;
3798
4345
  headers: RequestHeaders;
3799
4346
  currentRetryCount: number;
3800
4347
  };
4348
+ /**
4349
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4350
+ */
3801
4351
  type RequestRetryFnResult = {
3802
4352
  retry: boolean;
3803
4353
  delay?: number;
3804
4354
  };
4355
+ /**
4356
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4357
+ */
3805
4358
  type RequestRetryFn = (config: RequestRetryFnConfig) => RequestRetryFnResult;
4359
+ /**
4360
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4361
+ */
3806
4362
  type RequestConfig = {
3807
4363
  method: Method;
3808
4364
  urlWithParams: string;
@@ -3814,11 +4370,17 @@ type RequestConfig = {
3814
4370
  cacheAdapter?: V2CacheAdapterFn;
3815
4371
  retryFn?: RequestRetryFn;
3816
4372
  };
4373
+ /**
4374
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4375
+ */
3817
4376
  type RequestProgress = {
3818
4377
  current: number;
3819
4378
  percentage?: number;
3820
4379
  total?: number;
3821
4380
  };
4381
+ /**
4382
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4383
+ */
3822
4384
  type RequestEvent<Response = unknown> = {
3823
4385
  type: 'start';
3824
4386
  headers: RequestHeaders;
@@ -3853,20 +4415,53 @@ type RequestEvent<Response = unknown> = {
3853
4415
  headers: RequestHeaders;
3854
4416
  };
3855
4417
 
4418
+ /**
4419
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4420
+ */
3856
4421
  declare const request: <Response = unknown>(config: RequestConfig) => Observable<RequestEvent<Response>>;
3857
4422
 
4423
+ /**
4424
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4425
+ */
3858
4426
  declare const isRequestError: <T = unknown>(error: unknown) => error is RequestError<T>;
4427
+ /**
4428
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4429
+ */
3859
4430
  declare const v2ExtractExpiresInSeconds: (headers: RequestHeaders) => number | null;
4431
+ /**
4432
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4433
+ */
3860
4434
  declare const serializeBody: (body: unknown) => ArrayBuffer | URLSearchParams | Blob | FormData | string | null;
4435
+ /**
4436
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4437
+ */
3861
4438
  declare const transformMethod: (config: {
3862
4439
  method: Method;
3863
4440
  transferVia?: "GET" | "POST";
3864
4441
  }) => "GET" | "OPTIONS" | "HEAD" | "POST" | "PUT" | "DELETE" | "PATCH" | "TRACE" | "CONNECT" | "PURGE" | "LINK" | "UNLINK" | "CUSTOM";
4442
+ /**
4443
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4444
+ */
3865
4445
  declare const detectContentTypeHeader: (body: unknown) => string | null;
4446
+ /**
4447
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4448
+ */
3866
4449
  declare const hasHeader: (headers: RequestHeaders, header: string) => boolean;
4450
+ /**
4451
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4452
+ */
3867
4453
  declare const forEachHeader: (headers: RequestHeaders, callback: (value: string, key: string) => void) => void;
4454
+ /**
4455
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4456
+ */
3868
4457
  declare const parseAllXhrResponseHeaders: (xhr: XMLHttpRequest) => RequestHeaders;
4458
+ /**
4459
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4460
+ */
3869
4461
  declare const getResponseUrl: (xhr: XMLHttpRequest) => string | null;
4462
+ /**
4463
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4464
+ */
3870
4465
  declare const v2ShouldRetryRequest: RequestRetryFn;
3871
4466
 
3872
4467
  type QueryFieldOptions<T = unknown> = {
@@ -4173,12 +4768,57 @@ declare class QueryForm<T extends Record<string, QueryField<any>>> {
4173
4768
  private cleanup;
4174
4769
  }
4175
4770
 
4771
+ /**
4772
+ * Lets `prepare()` fall back to the application's root injector when it is called outside any injection
4773
+ * context, instead of throwing `ET950`.
4774
+ *
4775
+ * Opt-in, and **browser only**. Two things degrade when the fallback is used, both matching v2, which had
4776
+ * no injector to scope to at all:
4777
+ *
4778
+ * - **The query's lifetime becomes the application's.** Nothing tears it down when a component dies, so
4779
+ * cleanup rests entirely on a query container or `config: { destroyOnResponse: true }`.
4780
+ * - **The devtools lose the host element**, so "inspect" cannot jump to the component. Already the case
4781
+ * for any query created from a root or environment injector.
4782
+ *
4783
+ * It refuses to stash anything on the server: a module-global injector would be shared across concurrent
4784
+ * requests, which is data bleed rather than a leak. Server-side renders keep throwing `ET950`, so a call
4785
+ * site that only works in the browser fails loudly where it matters.
4786
+ *
4787
+ * Prefer passing `injector` at the call site - it keeps the query scoped to whatever created it. Reach for
4788
+ * this when a migration has too many call sites to thread by hand.
4789
+ *
4790
+ * @example
4791
+ * ```ts
4792
+ * bootstrapApplication(AppComponent, {
4793
+ * providers: [provideLegacyPrepareFallback()],
4794
+ * });
4795
+ * ```
4796
+ *
4797
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4798
+ */
4799
+ declare const provideLegacyPrepareFallback: () => EnvironmentProviders;
4800
+
4801
+ /**
4802
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4803
+ */
4176
4804
  type CreateLegacyQueryOptions<TArgs extends QueryArgs> = {
4177
4805
  query: Query<TArgs>;
4178
4806
  };
4807
+ /**
4808
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4809
+ */
4179
4810
  declare const transformExecStateToQueryState: <TArgs extends QueryArgs>(execState: QueryExecutionState<TArgs> | null) => V2QueryState<ResponseType<TArgs>>;
4811
+ /**
4812
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4813
+ */
4180
4814
  declare const isLegacyQuery: <T extends AnyLegacyQuery>(query: unknown) => query is T;
4815
+ /**
4816
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4817
+ */
4181
4818
  type AnyLegacyQuery = LegacyQuery<any, any, any, any, any, any, any>;
4819
+ /**
4820
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4821
+ */
4182
4822
  declare class LegacyQuery<Response, Arguments extends BaseArguments | undefined, Route extends V2RouteType<Arguments>, Store extends EntityStore<unknown>, Data, Id, TNewQuery extends AnyNewQuery> {
4183
4823
  newQuery: TNewQuery;
4184
4824
  _arguments: RequestArgs<QueryArgsOf<TNewQuery>>;
@@ -4192,7 +4832,14 @@ declare class LegacyQuery<Response, Arguments extends BaseArguments | undefined,
4192
4832
  *
4193
4833
  * @internal
4194
4834
  */
4195
- _isInert?: boolean);
4835
+ _isInert?: boolean,
4836
+ /**
4837
+ * Whether the underlying request is cacheable. Resolved by the creator, which is the only place that
4838
+ * knows the method before the first execution.
4839
+ *
4840
+ * @internal
4841
+ */
4842
+ _canBeCached?: boolean);
4196
4843
  get rawState(): V2QueryState<any>;
4197
4844
  get isExpired(): boolean | undefined;
4198
4845
  get isInUse(): boolean;
@@ -4213,6 +4860,9 @@ declare class LegacyQuery<Response, Arguments extends BaseArguments | undefined,
4213
4860
  private teardown;
4214
4861
  }
4215
4862
 
4863
+ /**
4864
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4865
+ */
4216
4866
  type QueryContainerConfig = {
4217
4867
  /**
4218
4868
  * If `true`, the previous query will be aborted when a new query is pushed into the container.
@@ -4229,7 +4879,15 @@ type QueryContainerConfig = {
4229
4879
  * @default true // Only if the query has no other dependents and the request can be cached (GET, OPTIONS, HEAD and GQL_QUERY). Otherwise false.
4230
4880
  */
4231
4881
  stopPreviousPolling?: boolean;
4882
+ /**
4883
+ * The injector owning the container. Defaults to the current injection context; pass one to build a
4884
+ * container outside of it - the container's lifecycle then follows that injector.
4885
+ */
4886
+ injector?: Injector;
4232
4887
  };
4888
+ /**
4889
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4890
+ */
4233
4891
  type QueryFilterConfig = {
4234
4892
  /**
4235
4893
  * If `true`, the response will be cached until the next response is received or the query fails.
@@ -4237,41 +4895,91 @@ type QueryFilterConfig = {
4237
4895
  */
4238
4896
  cacheResponse?: boolean;
4239
4897
  };
4898
+ /**
4899
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4900
+ */
4240
4901
  declare const addQueryContainerHandling: (obs: Observable<AnyV2Query | AnyV2Query[] | AnyLegacyQuery | AnyLegacyQuery[] | null>, valueFn: () => AnyV2Query | AnyV2Query[] | AnyLegacyQuery | AnyLegacyQuery[] | null | undefined, config?: QueryContainerConfig) => void;
4902
+ /**
4903
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4904
+ */
4241
4905
  declare function toQuerySignal<T extends AnyV2Query | AnyLegacyQuery | null>(source: Observable<T> | Subscribable<T>): Signal<T | undefined>;
4906
+ /**
4907
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4908
+ */
4242
4909
  declare function toQuerySignal<T extends AnyV2Query | AnyLegacyQuery | null>(source: Observable<T> | Subscribable<T>, options: NoInfer<ToSignalOptions<T | undefined>> & {
4243
4910
  initialValue?: undefined;
4244
4911
  requireSync?: false;
4245
4912
  } & QueryContainerConfig): Signal<T | undefined>;
4913
+ /**
4914
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4915
+ */
4246
4916
  declare function toQuerySignal<T extends AnyV2Query | AnyLegacyQuery | null>(source: Observable<T> | Subscribable<T>, options: NoInfer<ToSignalOptions<T | null>> & {
4247
4917
  initialValue?: null;
4248
4918
  requireSync?: false;
4249
4919
  } & QueryContainerConfig): Signal<T | null>;
4920
+ /**
4921
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4922
+ */
4250
4923
  declare function toQuerySignal<T extends AnyV2Query | AnyLegacyQuery | null>(source: Observable<T> | Subscribable<T>, options: NoInfer<ToSignalOptions<T>> & {
4251
4924
  initialValue?: undefined;
4252
4925
  requireSync: true;
4253
4926
  } & QueryContainerConfig): Signal<T>;
4927
+ /**
4928
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4929
+ */
4254
4930
  declare function toQuerySignal<T extends AnyV2Query | AnyLegacyQuery | null, const U extends T>(source: Observable<T> | Subscribable<T>, options: NoInfer<ToSignalOptions<T | U>> & {
4255
4931
  initialValue: U;
4256
4932
  requireSync?: false;
4257
4933
  } & QueryContainerConfig): Signal<T | U>;
4934
+ /**
4935
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4936
+ */
4258
4937
  declare function effectComputed<T extends AnyV2Query | AnyLegacyQuery | AnyV2Query[] | AnyLegacyQuery[] | null>(computation: () => T, injector: Injector): Signal<T>;
4938
+ /**
4939
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4940
+ */
4259
4941
  declare function queryComputed<T extends AnyV2Query | AnyLegacyQuery | null>(computation: () => T, options?: CreateComputedOptions<T> & QueryContainerConfig & ToObservableOptions): Signal<T>;
4260
4942
  /**
4261
4943
  * Creates a signal that will only be reactive until the first query is created.
4262
4944
  * All subsequent changes inside the computation will be ignored.
4945
+ *
4946
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4263
4947
  */
4264
4948
  declare function queryComputedTillTruthy<T extends AnyV2Query | AnyLegacyQuery | null>(computation: () => T, options?: CreateComputedOptions<T> & QueryContainerConfig & ToObservableOptions): Signal<T | null>;
4949
+ /**
4950
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4951
+ */
4265
4952
  declare function queryArrayComputed<T extends AnyV2Query[] | AnyLegacyQuery[] | null>(computation: () => T, options?: CreateComputedOptions<T> & QueryContainerConfig & ToObservableOptions): Signal<T>;
4953
+ /**
4954
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4955
+ */
4266
4956
  declare function toQuerySubject<T extends AnyV2Query | AnyLegacyQuery | null>(source: Signal<T>, options?: ToObservableOptions & QueryContainerConfig): Observable<T>;
4957
+ /**
4958
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4959
+ */
4267
4960
  declare function queryStateSignal<T extends Signal<AnyV2Query | AnyLegacyQuery | AnyQueryCollection | null>>(source: T, options?: QueryFilterConfig): _angular_core.WritableSignal<V2QueryState<QueryDataOf<QueryOf<ReturnType<T>>>> | null>;
4961
+ /**
4962
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4963
+ */
4268
4964
  type QueryStateSignal<T extends Signal<AnyV2Query | AnyLegacyQuery | AnyQueryCollection | null>> = Signal<QueryDataOf<QueryOf<ReturnType<T>>> | null> & {
4269
4965
  reset: () => void;
4270
4966
  };
4271
- declare function queryStateResponseSignal<T extends Signal<AnyV2Query | AnyLegacyQuery | AnyQueryCollection | null>>(source: T, options?: QueryFilterConfig): QueryStateSignal<T>;
4967
+ /**
4968
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4969
+ */
4970
+ declare function queryStateResponseSignal<T extends Signal<AnyV2Query | AnyLegacyQuery | AnyQueryCollection | null>>(source: T, options?: QueryFilterConfig): QueryStateSignal<T>;
4971
+ /**
4972
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4973
+ */
4272
4974
  declare function queryStateErrorSignal<T extends Signal<AnyV2Query | AnyLegacyQuery | AnyQueryCollection | null>>(source: T): Signal<_ethlete_query.RequestError | null>;
4975
+ /**
4976
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4977
+ */
4273
4978
  declare function queryStateLoadingSignal<T extends Signal<AnyV2Query | AnyLegacyQuery | AnyQueryCollection | null>>(source: T): Signal<_ethlete_query.Loading | null>;
4274
4979
 
4980
+ /**
4981
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4982
+ */
4275
4983
  declare const deepFreeze: <T extends Record<string, unknown>>(object: T) => T;
4276
4984
 
4277
4985
  /**
@@ -4279,14 +4987,25 @@ declare const deepFreeze: <T extends Record<string, unknown>>(object: T) => T;
4279
4987
  * **This function always returns null.**
4280
4988
  * @see https://github.com/microsoft/TypeScript/issues/26242
4281
4989
  * @returns null
4990
+ *
4991
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4282
4992
  */
4283
4993
  declare const def: <Data>() => Data;
4284
4994
 
4995
+ /**
4996
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4997
+ */
4285
4998
  type LegacyArgumentsOfQueryArgs<T extends QueryArgs> = Omit<T, 'response' | 'headers'> & WithHeaders;
4999
+ /**
5000
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5001
+ */
4286
5002
  type QueryArgsOfLegacyArguments<T extends BaseArguments | undefined, J> = Omit<T, 'mock' | 'headers'> & {
4287
5003
  headers?: HttpHeaders;
4288
5004
  response?: J;
4289
5005
  };
5006
+ /**
5007
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5008
+ */
4290
5009
  type CreateLegacyQueryCreatorOptions<TArgs extends QueryArgs, Response, Store extends EntityStore<unknown>, Data, Id> = {
4291
5010
  creator: QueryCreator<TArgs>;
4292
5011
  /**
@@ -4300,6 +5019,9 @@ type CreateLegacyQueryCreatorOptions<TArgs extends QueryArgs, Response, Store ex
4300
5019
  */
4301
5020
  name?: string;
4302
5021
  };
5022
+ /**
5023
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5024
+ */
4303
5025
  type WithLegacyConfig = {
4304
5026
  /**
4305
5027
  * Additional configuration for this query.
@@ -4311,8 +5033,17 @@ type WithLegacyConfig = {
4311
5033
  destroyOnResponse?: boolean;
4312
5034
  };
4313
5035
  };
5036
+ /**
5037
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5038
+ */
4314
5039
  type LegacyQueryPrepareFn<Arguments extends BaseArguments | undefined, Response, Route extends V2RouteType<Arguments>, Store extends EntityStore<unknown>, Data, Id, TNewQuery extends AnyNewQuery> = (args: Arguments & WithHeaders & WithLegacyConfig & WithInjector) => LegacyQuery<Response, Arguments, Route, Store, Data, Id, TNewQuery>;
5040
+ /**
5041
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5042
+ */
4315
5043
  type AnyLegacyQueryCreator = LegacyQueryCreator<any, any, any, any, any>;
5044
+ /**
5045
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5046
+ */
4316
5047
  declare class LegacyQueryCreator<TArgs extends QueryArgs, Response extends ResponseType<TArgs>, Store extends EntityStore<unknown>, Id, Data = Response> {
4317
5048
  options: CreateLegacyQueryCreatorOptions<TArgs, Response, Store, Data, Id>;
4318
5049
  prepare: LegacyQueryPrepareFn<LegacyArgumentsOfQueryArgs<TArgs>, Response, V2RouteType<LegacyArgumentsOfQueryArgs<TArgs>>, Store, Data, Id, Query<TArgs>>;
@@ -4320,6 +5051,19 @@ declare class LegacyQueryCreator<TArgs extends QueryArgs, Response extends Respo
4320
5051
  createSignal: (initialValue?: ReturnType<typeof this.prepare> | null, config?: QueryContainerConfig) => _angular_core.WritableSignal<LegacyQuery<Response, LegacyArgumentsOfQueryArgs<TArgs>, V2RouteType<LegacyArgumentsOfQueryArgs<TArgs>>, Store, Data, Id, Query<TArgs>> | null>;
4321
5052
  behaviorSubject: (initialValue?: ReturnType<typeof this.prepare> | null, config?: QueryContainerConfig) => BehaviorSubject<LegacyQuery<Response, LegacyArgumentsOfQueryArgs<TArgs>, V2RouteType<LegacyArgumentsOfQueryArgs<TArgs>>, Store, Data, Id, Query<TArgs>> | null>;
4322
5053
  constructor(options: CreateLegacyQueryCreatorOptions<TArgs, Response, Store, Data, Id>);
5054
+ /**
5055
+ * Whether the underlying request is cacheable, which is what the legacy container helpers use to decide
5056
+ * their default cleanup. Resolved from the creator, so it answers before the first execution.
5057
+ */
5058
+ get canBeCached(): boolean;
5059
+ private get label();
5060
+ /**
5061
+ * v2 needed no injection context, so plenty of call sites are plain callbacks. Angular's raw NG0203
5062
+ * names neither the query nor the call site, which makes those a bisection exercise - replace it with
5063
+ * an error that does, and let every other DI failure (NG0205 from an injector mid-teardown, a missing
5064
+ * provider) through untouched.
5065
+ */
5066
+ private resolveAmbientInjector;
4323
5067
  }
4324
5068
  /**
4325
5069
  * Creates a legacy query creator.
@@ -4327,9 +5071,14 @@ declare class LegacyQueryCreator<TArgs extends QueryArgs, Response extends Respo
4327
5071
  * **NOTE**: This is a temporary solution to support legacy queries. It will be removed in the future.
4328
5072
  *
4329
5073
  * **DO NOT TURN NEW QUERY CREATORS INTO LEGACY ONES MANUALLY. THIS IS ONLY NEEDED FOR MIGRATION PURPOSES.**
5074
+ *
5075
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
4330
5076
  */
4331
5077
  declare const createLegacyQueryCreator: <TArgs extends QueryArgs, Response extends ResponseType<TArgs>, Store extends EntityStore<unknown>, Id, Data = Response>(options: CreateLegacyQueryCreatorOptions<TArgs, Response, Store, Data, Id>) => LegacyQueryCreator<TArgs, Response, Store, Id, Data>;
4332
5078
 
5079
+ /**
5080
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5081
+ */
4333
5082
  type QueryAutoRefreshConfig = {
4334
5083
  /**
4335
5084
  * Refresh the query when the query client's headers change.
@@ -4344,6 +5093,9 @@ type QueryAutoRefreshConfig = {
4344
5093
  */
4345
5094
  windowFocus?: boolean;
4346
5095
  };
5096
+ /**
5097
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5098
+ */
4347
5099
  type EntitySetParams<Store, Response, Arguments, Id> = {
4348
5100
  /**
4349
5101
  * The response data.
@@ -4362,6 +5114,9 @@ type EntitySetParams<Store, Response, Arguments, Id> = {
4362
5114
  */
4363
5115
  store: Store;
4364
5116
  };
5117
+ /**
5118
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5119
+ */
4365
5120
  type EntityGetParams<Store, Response, Arguments, Id> = {
4366
5121
  /**
4367
5122
  * The response data.
@@ -4380,6 +5135,9 @@ type EntityGetParams<Store, Response, Arguments, Id> = {
4380
5135
  */
4381
5136
  store: Store;
4382
5137
  };
5138
+ /**
5139
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5140
+ */
4383
5141
  type EntityIdParams<Response, Arguments> = {
4384
5142
  /**
4385
5143
  * The response data.
@@ -4390,6 +5148,9 @@ type EntityIdParams<Response, Arguments> = {
4390
5148
  */
4391
5149
  args: Arguments;
4392
5150
  };
5151
+ /**
5152
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5153
+ */
4393
5154
  type QueryEntityConfig<Store, Data, Response, Arguments, Id> = {
4394
5155
  /**
4395
5156
  * The entity store to use for the query.
@@ -4408,6 +5169,9 @@ type QueryEntityConfig<Store, Data, Response, Arguments, Id> = {
4408
5169
  */
4409
5170
  set?: (data: EntitySetParams<Store, Response, Arguments, Id>) => void;
4410
5171
  };
5172
+ /**
5173
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5174
+ */
4411
5175
  type QueryConfigBase<Response, Arguments extends BaseArguments | undefined, Store extends EntityStore<unknown>, Data, Id> = {
4412
5176
  /**
4413
5177
  * The http method to use for the query.
@@ -4470,13 +5234,22 @@ type QueryConfigBase<Response, Arguments extends BaseArguments | undefined, Stor
4470
5234
  */
4471
5235
  entity?: QueryEntityConfig<Store, Data, Response, Arguments, Id>;
4472
5236
  };
5237
+ /**
5238
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5239
+ */
4473
5240
  type RestQueryConfig<Route extends V2RouteType<Arguments>, Response, Arguments extends BaseArguments | undefined, Store extends EntityStore<unknown>, Data, Id> = QueryConfigBase<Response, Arguments, Store, Data, Id> & {
4474
5241
  /**
4475
5242
  * The api route to use for the query.
4476
5243
  */
4477
5244
  route: Route;
4478
5245
  };
5246
+ /**
5247
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5248
+ */
4479
5249
  type GqlTransferOption = 'GET' | 'POST';
5250
+ /**
5251
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5252
+ */
4480
5253
  type GqlQueryConfig<Route extends V2RouteType<Arguments> | undefined, Response, Arguments extends BaseArguments | undefined, Store extends EntityStore<unknown>, Data, Id> = QueryConfigBase<Response, Arguments, Store, Data, Id> & {
4481
5254
  /**
4482
5255
  * The graphql query to use for the query.
@@ -4494,17 +5267,38 @@ type GqlQueryConfig<Route extends V2RouteType<Arguments> | undefined, Response,
4494
5267
  */
4495
5268
  route?: Route;
4496
5269
  };
5270
+ /**
5271
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5272
+ */
4497
5273
  type AnyRestQueryConfig = RestQueryConfig<any, any, any, any, any, any>;
5274
+ /**
5275
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5276
+ */
4498
5277
  type AnyGqlQueryConfig = GqlQueryConfig<any, any, any, any, any, any>;
5278
+ /**
5279
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5280
+ */
4499
5281
  type QueryConfigWithoutMethod<Route extends V2RouteType<Arguments>, Response, Arguments extends BaseArguments | undefined, Store extends EntityStore<unknown>, Data, Id> = Omit<RestQueryConfig<Route, Response, Arguments, Store, Data, Id>, 'method'>;
5282
+ /**
5283
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5284
+ */
4500
5285
  type GqlQueryConfigWithoutMethod<Route extends V2RouteType<Arguments>, Response, Arguments extends BaseArguments | undefined, Store extends EntityStore<unknown>, Data, Id> = Omit<GqlQueryConfig<Route, Response, Arguments, Store, Data, Id>, 'method'>;
5286
+ /**
5287
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5288
+ */
4501
5289
  type BaseArguments = WithHeaders & WithVariables & WithBody & WithQueryParams & WithPathParams & WithMock<unknown>;
5290
+ /**
5291
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5292
+ */
4502
5293
  type WithHeaders = {
4503
5294
  /**
4504
5295
  * The headers to send with the query.
4505
5296
  */
4506
5297
  headers?: Record<string, string>;
4507
5298
  };
5299
+ /**
5300
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5301
+ */
4508
5302
  type QueryMockConfig<MockResponse> = {
4509
5303
  /**
4510
5304
  * The mock response to use for the query.
@@ -4558,9 +5352,15 @@ type QueryMockConfig<MockResponse> = {
4558
5352
  */
4559
5353
  retryIntoResponse?: boolean;
4560
5354
  };
5355
+ /**
5356
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5357
+ */
4561
5358
  type WithMock<MockResponse> = {
4562
5359
  mock?: QueryMockConfig<MockResponse>;
4563
5360
  };
5361
+ /**
5362
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5363
+ */
4564
5364
  type V2QueryConfig = {
4565
5365
  /**
4566
5366
  * Whether this query should be added to the internal query store.
@@ -4578,41 +5378,68 @@ type V2QueryConfig = {
4578
5378
  */
4579
5379
  queryStoreCacheKey?: string;
4580
5380
  };
5381
+ /**
5382
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5383
+ */
4581
5384
  type WithConfig = {
4582
5385
  /**
4583
5386
  * Additional configuration for this query.
4584
5387
  */
4585
5388
  config?: V2QueryConfig;
4586
5389
  };
5390
+ /**
5391
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5392
+ */
4587
5393
  type WithInjector = {
4588
5394
  injector?: Injector;
4589
5395
  };
5396
+ /**
5397
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5398
+ */
4590
5399
  type WithVariables = {
4591
5400
  /**
4592
5401
  * The variables for the query. (graphql only)
4593
5402
  */
4594
5403
  variables?: Record<string, unknown>;
4595
5404
  };
5405
+ /**
5406
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5407
+ */
4596
5408
  type WithBody = {
4597
5409
  /**
4598
5410
  * The body for the query. Unavailable for GET, HEAD and OPTIONS requests.
4599
5411
  */
4600
5412
  body?: unknown;
4601
5413
  };
5414
+ /**
5415
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5416
+ */
4602
5417
  type WithQueryParams = {
4603
5418
  /**
4604
5419
  * The query parameters for the query. (after the ? in the url)
4605
5420
  */
4606
5421
  queryParams?: QueryParams;
4607
5422
  };
5423
+ /**
5424
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5425
+ */
4608
5426
  type WithPathParams = {
4609
5427
  /**
4610
5428
  * The path parameters for the query. (in front of the ? in the url)
4611
5429
  */
4612
5430
  pathParams?: PathParams;
4613
5431
  };
5432
+ /**
5433
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5434
+ */
4614
5435
  type QueryTrigger = 'program' | 'poll' | 'auto';
5436
+ /**
5437
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5438
+ */
4615
5439
  type EmptyObject = {};
5440
+ /**
5441
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5442
+ */
4616
5443
  type ExecuteQueryOptions = {
4617
5444
  /**
4618
5445
  * Whether to skip the cache for this query. This will force the query to be executed. It might still be caught by the native browser cache.
@@ -4625,11 +5452,23 @@ type ExecuteQueryOptions = {
4625
5452
  */
4626
5453
  cancelPrevious?: boolean;
4627
5454
  };
5455
+ /**
5456
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5457
+ */
4628
5458
  type V2RouteType<Arguments extends BaseArguments | undefined> = Arguments extends {
4629
5459
  pathParams: infer PathParams;
4630
5460
  } ? (p: PathParams) => V2RouteString : V2RouteString;
5461
+ /**
5462
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5463
+ */
4631
5464
  type V2RouteString = `/${string}`;
5465
+ /**
5466
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5467
+ */
4632
5468
  type AnyRoute = ((p: PathParams) => string) | V2RouteString;
5469
+ /**
5470
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5471
+ */
4633
5472
  type PollConfig = {
4634
5473
  /**
4635
5474
  * The interval in milliseconds to poll the query.
@@ -4644,6 +5483,9 @@ type PollConfig = {
4644
5483
  */
4645
5484
  triggerImmediately?: boolean;
4646
5485
  };
5486
+ /**
5487
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5488
+ */
4647
5489
  declare const enum QueryStateType {
4648
5490
  Prepared = "PREPARED",
4649
5491
  Loading = "LOADING",
@@ -4651,31 +5493,49 @@ declare const enum QueryStateType {
4651
5493
  Failure = "FAILURE",
4652
5494
  Cancelled = "CANCELLED"
4653
5495
  }
5496
+ /**
5497
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5498
+ */
4654
5499
  type Prepared = {
4655
5500
  type: QueryStateType.Prepared;
4656
5501
  meta: QueryStateMeta;
4657
5502
  };
5503
+ /**
5504
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5505
+ */
4658
5506
  type Success<Response = unknown> = {
4659
5507
  type: QueryStateType.Success;
4660
5508
  response: Response;
4661
5509
  headers: RequestHeaders;
4662
5510
  meta: QueryStateSuccessMeta;
4663
5511
  };
5512
+ /**
5513
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5514
+ */
4664
5515
  type Failure = {
4665
5516
  type: QueryStateType.Failure;
4666
5517
  error: RequestError;
4667
5518
  meta: QueryStateMeta;
4668
5519
  };
5520
+ /**
5521
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5522
+ */
4669
5523
  type Loading = {
4670
5524
  type: QueryStateType.Loading;
4671
5525
  meta: QueryStateMeta;
4672
5526
  partialText?: string;
4673
5527
  progress?: RequestProgress;
4674
5528
  };
5529
+ /**
5530
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5531
+ */
4675
5532
  type Cancelled = {
4676
5533
  type: QueryStateType.Cancelled;
4677
5534
  meta: QueryStateMeta;
4678
5535
  };
5536
+ /**
5537
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5538
+ */
4679
5539
  type QueryStateMeta = {
4680
5540
  id: number;
4681
5541
  triggeredVia: QueryTrigger;
@@ -4683,15 +5543,33 @@ type QueryStateMeta = {
4683
5543
  retryNumber?: number;
4684
5544
  retryDelay?: number;
4685
5545
  };
5546
+ /**
5547
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5548
+ */
4686
5549
  type QueryStateSuccessMeta = QueryStateMeta & {
4687
5550
  expiresAt?: number;
4688
5551
  };
5552
+ /**
5553
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5554
+ */
4689
5555
  type V2QueryState<Response = unknown> = Loading | Success<Response> | Failure | Cancelled | Prepared;
5556
+ /**
5557
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5558
+ */
4690
5559
  type QueryStateResponseOf<T extends V2QueryState = V2QueryState> = T extends Success<infer Response> ? Response : never;
5560
+ /**
5561
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5562
+ */
4691
5563
  type AnyV2Query = V2Query<any, any, any, any, any, any>;
5564
+ /**
5565
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5566
+ */
4692
5567
  type AnyQueryCreatorCollection = {
4693
5568
  [name: string]: AnyV2QueryCreator | AnyLegacyQueryCreator;
4694
5569
  };
5570
+ /**
5571
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5572
+ */
4695
5573
  type QueryCollectionOf<T extends {
4696
5574
  [name: string]: AnyV2QueryCreator | AnyLegacyQueryCreator;
4697
5575
  }> = {
@@ -4700,17 +5578,38 @@ type QueryCollectionOf<T extends {
4700
5578
  query: ConstructQuery<T[K]>;
4701
5579
  };
4702
5580
  }[keyof T];
5581
+ /**
5582
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5583
+ */
4703
5584
  type AnyQueryCollection = {
4704
5585
  type: string;
4705
5586
  query: AnyV2Query | AnyLegacyQuery;
4706
5587
  };
5588
+ /**
5589
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5590
+ */
4707
5591
  type QueryOf<T extends AnyQueryCollection | AnyLegacyQuery | AnyV2Query | null> = T extends AnyV2Query ? T : T extends AnyLegacyQuery ? T : T extends AnyQueryCollection ? T['query'] : never;
5592
+ /**
5593
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5594
+ */
4708
5595
  type AnyQueryCollectionResponse<T extends AnyQueryCollection> = QueryResponseOf<T['query']>;
5596
+ /**
5597
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5598
+ */
4709
5599
  type AnyQueryCollectionData<T extends AnyQueryCollection> = QueryDataOf<T['query']>;
5600
+ /**
5601
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5602
+ */
4710
5603
  type QueryCollectionKeysOf<T extends AnyQueryCollection | AnyLegacyQuery | AnyV2Query | null> = T extends AnyQueryCollection ? T['type'] : never;
5604
+ /**
5605
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5606
+ */
4711
5607
  type QueryCollectionWithNullableQuery<T extends AnyQueryCollection | null> = T extends null ? never : {
4712
5608
  [K in keyof T]: T[K] extends string ? T[K] : T[K] | null;
4713
5609
  };
5610
+ /**
5611
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5612
+ */
4714
5613
  type ResetPageOnErrorOperatorConfig<J extends QueryForm<any>> = {
4715
5614
  /**
4716
5615
  * The query form to reset the page of.
@@ -4723,6 +5622,9 @@ type ResetPageOnErrorOperatorConfig<J extends QueryForm<any>> = {
4723
5622
  pageControlKey?: string;
4724
5623
  };
4725
5624
 
5625
+ /**
5626
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5627
+ */
4726
5628
  declare class V2Query<Response, Arguments extends BaseArguments | undefined, Route extends V2RouteType<Arguments>, Store extends EntityStore<unknown>, Data, Id> {
4727
5629
  private readonly _client;
4728
5630
  readonly _id: number;
@@ -4781,61 +5683,154 @@ declare class V2Query<Response, Arguments extends BaseArguments | undefined, Rou
4781
5683
  }
4782
5684
 
4783
5685
  type OmitNull<T> = T extends null ? never : T;
5686
+ /**
5687
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5688
+ */
4784
5689
  declare function filterSuccess(): <T extends V2QueryState | null, Response extends QueryStateResponseOf<OmitNull<T>>>(source: Observable<T>) => Observable<Success<Response>>;
5690
+ /**
5691
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5692
+ */
4785
5693
  declare function ignoreAutoRefresh(): <T extends V2QueryState | null>(source: Observable<T>) => Observable<T>;
5694
+ /**
5695
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5696
+ */
4786
5697
  declare function filterFailure(): <T extends V2QueryState | null>(source: Observable<T>) => Observable<Failure>;
5698
+ /**
5699
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5700
+ */
4787
5701
  declare function filterQueryStates(allowedStates: QueryStateType[]): <T extends V2QueryState | null>(source: Observable<T>) => Observable<T>;
5702
+ /**
5703
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5704
+ */
4788
5705
  declare function takeUntilResponse(config?: {
4789
5706
  excludeNull?: boolean;
4790
5707
  }): <T extends V2QueryState | null>(source: Observable<T>) => Observable<T>;
5708
+ /**
5709
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5710
+ */
4791
5711
  declare function filterNull(): <T>(source: Observable<T>) => Observable<OmitNull<T>>;
5712
+ /**
5713
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5714
+ */
4792
5715
  declare function switchQueryState(): <T extends AnyV2Query | AnyLegacyQuery | null, Data extends QueryDataOf<T>>(source: Observable<T>) => Observable<V2QueryState<Data> | null>;
5716
+ /**
5717
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5718
+ */
4793
5719
  declare function switchQueryCollectionState(): <T extends AnyQueryCollection | null, Data extends AnyQueryCollectionData<OmitNull<T>>>(source: Observable<T>) => Observable<V2QueryState<Data> | null>;
5720
+ /**
5721
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5722
+ */
4794
5723
  declare const resetPageOnError: <T extends AnyV2Query | AnyLegacyQuery | null | undefined, J extends QueryForm<any>>(config: ResetPageOnErrorOperatorConfig<J>) => (source: Observable<T>) => Observable<V2QueryState<any> | T>;
5724
+ /**
5725
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5726
+ */
4795
5727
  declare const isQueryStateLoading: (state: V2QueryState | null | undefined) => state is Loading;
5728
+ /**
5729
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5730
+ */
4796
5731
  declare const isQueryStateSuccess: (state: V2QueryState | null | undefined) => state is Success;
5732
+ /**
5733
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5734
+ */
4797
5735
  declare const isQueryStateFailure: (state: V2QueryState | null | undefined) => state is Failure;
5736
+ /**
5737
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5738
+ */
4798
5739
  declare const isQueryStateCancelled: (state: V2QueryState | null | undefined) => state is Cancelled;
5740
+ /**
5741
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5742
+ */
4799
5743
  declare const isQueryStatePrepared: (state: V2QueryState | null | undefined) => state is Prepared;
5744
+ /**
5745
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5746
+ */
4800
5747
  declare const isAutoRefresh: (state: V2QueryState | null | undefined) => boolean;
5748
+ /**
5749
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5750
+ */
4801
5751
  declare const mergeHeaders: (...headers: Array<RequestHeaders | null | undefined>) => RequestHeaders | null | undefined;
5752
+ /**
5753
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5754
+ */
4802
5755
  declare const isGqlQueryConfig: <Response, Arguments extends BaseArguments | undefined, Route extends V2RouteType<Arguments> | undefined, Store extends EntityStore<unknown>, Data, Id>(config: unknown) => config is GqlQueryConfig<Route, Response, Arguments, Store, Data, Id>;
5756
+ /**
5757
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5758
+ */
4803
5759
  declare const isQuery: <T extends AnyV2Query | AnyLegacyQuery>(query: unknown) => query is T;
5760
+ /**
5761
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5762
+ */
4804
5763
  declare const isQueryCollection: <T extends AnyQueryCollection>(query: unknown) => query is T;
5764
+ /**
5765
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5766
+ */
4805
5767
  declare const createQueryCollection: <T extends AnyQueryCreatorCollection, R extends QueryCollectionOf<T>>(queryMap: T) => BehaviorSubject<R | null>;
5768
+ /**
5769
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5770
+ */
4806
5771
  declare const createQueryCollectionSubject: <T extends AnyQueryCreatorCollection, R extends QueryCollectionOf<T>>(queryMap: T, config?: QueryContainerConfig) => BehaviorSubject<R | null>;
5772
+ /**
5773
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5774
+ */
4807
5775
  declare const createQueryCollectionSignal: <T extends AnyQueryCreatorCollection, R extends QueryCollectionOf<T>>(queryMap: T, config?: QueryContainerConfig) => _angular_core.WritableSignal<R | null>;
5776
+ /**
5777
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5778
+ */
4808
5779
  declare const extractQuery: <T extends AnyV2Query | AnyLegacyQuery | AnyQueryCollection | null>(v: T) => AnyV2Query | AnyLegacyQuery | null;
5780
+ /**
5781
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5782
+ */
4809
5783
  declare const getDefaultHeaders: (headers: RequestHeaders | RequestHeadersMethodMap | null | undefined, method: Method) => RequestHeaders;
5784
+ /**
5785
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5786
+ */
4810
5787
  declare const castQueryCreatorTypes: <QC extends AnyV2QueryCreator, Arguments extends V2QueryArgsOf<QC>, Response extends QueryResponseOf<QC>, Store extends QueryStoreOf<QC>, Data extends QueryDataOf<QC>, Route extends V2RouteType<Arguments>, Id extends QueryStoreIdOf<QC>, OverrideArguments extends BaseArguments | undefined, OverrideResponse extends Response | undefined>(config: {
4811
5788
  creator: QC;
4812
5789
  args?: OverrideArguments;
4813
5790
  response?: OverrideResponse;
4814
5791
  }) => V2QueryCreator<OverrideArguments, OverrideResponse, Route, Store, Data, Id>;
5792
+ /**
5793
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5794
+ */
4815
5795
  declare const computeQueryMethod: (config: {
4816
5796
  config: AnyRestQueryConfig | AnyGqlQueryConfig;
4817
5797
  client: V2QueryClient;
4818
5798
  }) => "GET" | "OPTIONS" | "HEAD" | "POST" | "PUT" | "DELETE" | "PATCH" | "TRACE" | "CONNECT" | "PURGE" | "LINK" | "UNLINK" | "CUSTOM";
5799
+ /**
5800
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5801
+ */
4819
5802
  declare const computeQueryBody: (config: {
4820
5803
  config: AnyRestQueryConfig | AnyGqlQueryConfig;
4821
5804
  client: V2QueryClient;
4822
5805
  method: Method;
4823
5806
  args?: BaseArguments;
4824
5807
  }) => unknown;
5808
+ /**
5809
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5810
+ */
4825
5811
  declare const computeQueryAuthHeader: (config: {
4826
5812
  config: AnyRestQueryConfig | AnyGqlQueryConfig;
4827
5813
  client: V2QueryClient;
4828
5814
  }) => Record<string, string> | null;
5815
+ /**
5816
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5817
+ */
4829
5818
  declare const computeQueryHeaders: (config: {
4830
5819
  config: AnyRestQueryConfig | AnyGqlQueryConfig;
4831
5820
  client: V2QueryClient;
4832
5821
  args?: BaseArguments;
4833
5822
  }) => RequestHeaders | undefined;
5823
+ /**
5824
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5825
+ */
4834
5826
  declare const computeQueryQueryParams: (config: {
4835
5827
  config: AnyRestQueryConfig | AnyGqlQueryConfig;
4836
5828
  client: V2QueryClient;
4837
5829
  args?: BaseArguments;
4838
5830
  }) => object | undefined;
5831
+ /**
5832
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5833
+ */
4839
5834
  declare const paginatedEntityValueUpdater: <T extends Paginated<unknown>, Args extends BaseArguments, Entity, J extends (T extends Paginated<infer X> ? X : never)>(findFn: (val: J, entity: Entity) => boolean) => ({ response, rawResponse, entity }: {
4840
5835
  rawResponse: T;
4841
5836
  response: T;
@@ -4850,6 +5845,9 @@ declare const paginatedEntityValueUpdater: <T extends Paginated<unknown>, Args e
4850
5845
  };
4851
5846
  } | null;
4852
5847
 
5848
+ /**
5849
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5850
+ */
4853
5851
  type V2QueryClientConfig = {
4854
5852
  /**
4855
5853
  * The api base route. Should **not** end with a trailing slash.
@@ -4930,6 +5928,9 @@ type V2QueryClientConfig = {
4930
5928
  parent?: V2QueryClient;
4931
5929
  };
4932
5930
 
5931
+ /**
5932
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5933
+ */
4933
5934
  declare class V2QueryClient {
4934
5935
  private _clientConfig;
4935
5936
  private readonly _authProvider$;
@@ -4954,9 +5955,18 @@ declare class V2QueryClient {
4954
5955
  get authProvider$(): rxjs.Observable<AuthProvider | null>;
4955
5956
  }
4956
5957
 
5958
+ /**
5959
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5960
+ */
4957
5961
  declare const v2ShouldCacheQuery: (method: Method) => method is "GET" | "OPTIONS" | "HEAD" | "GQL_QUERY";
5962
+ /**
5963
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5964
+ */
4958
5965
  declare const v2BuildQueryCacheKey: (route: string, args: BaseArguments | undefined) => string;
4959
5966
 
5967
+ /**
5968
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5969
+ */
4960
5970
  declare class QueryStore {
4961
5971
  private _config?;
4962
5972
  private garbageCollector;
@@ -4988,16 +5998,46 @@ declare class QueryStore {
4988
5998
  private logGarbageCollector;
4989
5999
  }
4990
6000
 
6001
+ /**
6002
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6003
+ */
4991
6004
  type QueryPrepareFn<Arguments extends BaseArguments | undefined, Response, Route extends V2RouteType<Arguments>, Store extends EntityStore<unknown>, Data, Id> = Arguments extends BaseArguments ? (args: Arguments & WithHeaders & WithConfig & WithMock<Response>) => V2Query<Response, Arguments, Route, Store, Data, Id> : (args?: (Arguments extends EmptyObject ? Arguments : EmptyObject) & WithHeaders & WithConfig & WithMock<Response>) => V2Query<Response, Arguments, Route, Store, Data, Id>;
6005
+ /**
6006
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6007
+ */
4992
6008
  type AnyV2QueryCreator = V2QueryCreator<any, any, any, any, any, any>;
6009
+ /**
6010
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6011
+ */
4993
6012
  type V2QueryArgsOf<T extends AnyV2QueryCreator | AnyV2Query | AnyLegacyQuery | AnyLegacyQueryCreator | null> = T extends V2QueryCreator<infer Args, any, any, any, any, any> ? Args : T extends V2Query<any, infer Args, any, any, any, any> ? Args : T extends LegacyQuery<any, infer Args, any, any, any, any, any> ? Args : T extends LegacyQueryCreator<infer Args, any, any, any, any> ? LegacyArgumentsOfQueryArgs<Args> : never;
6013
+ /**
6014
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6015
+ */
4994
6016
  type QueryResponseOf<T extends AnyV2QueryCreator | AnyV2Query | AnyLegacyQuery | AnyLegacyQueryCreator | null> = T extends V2QueryCreator<any, infer Response, any, any, any, any> ? Response : T extends V2Query<infer Response, any, any, any, any, any> ? Response : T extends LegacyQuery<infer Response, any, any, any, any, any, any> ? Response : T extends LegacyQueryCreator<any, infer Response, any, any, any> ? Response : never;
6017
+ /**
6018
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6019
+ */
4995
6020
  type QueryRouteOf<T extends AnyV2QueryCreator | AnyV2Query | AnyLegacyQuery | AnyLegacyQueryCreator | null> = T extends V2QueryCreator<any, any, infer Route, any, any, any> ? Route : T extends V2Query<any, any, infer Route, any, any, any> ? Route : T extends LegacyQuery<any, any, infer Route, any, any, any, any> ? Route : T extends LegacyQueryCreator<infer Args, any, any, any, any> ? V2RouteType<LegacyArgumentsOfQueryArgs<Args>> : never;
6021
+ /**
6022
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6023
+ */
4996
6024
  type QueryStoreOf<T extends AnyV2QueryCreator | AnyV2Query | AnyLegacyQuery | AnyLegacyQueryCreator | null> = T extends V2QueryCreator<any, any, any, infer Store, any, any> ? Store : T extends V2Query<any, any, any, infer Store, any, any> ? Store : T extends LegacyQuery<any, any, any, infer Store, any, any, any> ? Store : T extends LegacyQueryCreator<any, any, infer Store, any, any> ? Store : never;
6025
+ /**
6026
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6027
+ */
4997
6028
  type QueryDataOf<T extends AnyV2QueryCreator | AnyLegacyQuery | AnyLegacyQueryCreator | AnyV2Query | null> = T extends V2QueryCreator<any, any, any, any, infer Data, any> ? Data : T extends V2Query<any, any, any, any, infer Data, any> ? Data : T extends LegacyQuery<any, any, any, any, infer Data, any, any> ? Data : T extends LegacyQueryCreator<any, any, any, any, infer Data> ? Data : never;
6029
+ /**
6030
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6031
+ */
4998
6032
  type QueryStoreIdOf<T extends AnyV2QueryCreator | AnyV2Query | AnyLegacyQuery | AnyLegacyQueryCreator | null> = T extends V2QueryCreator<any, any, any, any, any, infer StoreId> ? StoreId : T extends V2Query<any, any, any, any, any, infer StoreId> ? StoreId : T extends LegacyQuery<any, any, any, any, any, infer StoreId, any> ? StoreId : T extends LegacyQueryCreator<any, any, any, infer StoreId, any> ? StoreId : never;
6033
+ /**
6034
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6035
+ */
4999
6036
  type ConstructQuery<T extends AnyV2QueryCreator | AnyLegacyQueryCreator> = ReturnType<T['prepare']>;
5000
6037
 
6038
+ /**
6039
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6040
+ */
5001
6041
  declare class V2QueryCreator<Arguments extends BaseArguments | undefined, Response, Route extends V2RouteType<Arguments>, Store extends EntityStore<unknown>, Data, Id> {
5002
6042
  private _queryConfig;
5003
6043
  private _client;
@@ -5009,6 +6049,9 @@ declare class V2QueryCreator<Arguments extends BaseArguments | undefined, Respon
5009
6049
  constructor(_queryConfig: RestQueryConfig<Route, Response, Arguments, Store, Data, Id> | GqlQueryConfig<Route, Response, Arguments, Store, Data, Id>, _client: V2QueryClient, _store: QueryStore);
5010
6050
  }
5011
6051
 
6052
+ /**
6053
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6054
+ */
5012
6055
  type AuthProvider = {
5013
6056
  /**
5014
6057
  * The up to date auth header.
@@ -5016,6 +6059,9 @@ type AuthProvider = {
5016
6059
  */
5017
6060
  header: Record<string, string>;
5018
6061
  };
6062
+ /**
6063
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6064
+ */
5019
6065
  type AuthProviderBasicConfig = {
5020
6066
  /**
5021
6067
  * Basic auth username
@@ -5026,6 +6072,9 @@ type AuthProviderBasicConfig = {
5026
6072
  */
5027
6073
  password: string;
5028
6074
  };
6075
+ /**
6076
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6077
+ */
5029
6078
  type AuthProviderCustomHeaderConfig = {
5030
6079
  /**
5031
6080
  * The custom header name
@@ -5038,6 +6087,9 @@ type AuthProviderCustomHeaderConfig = {
5038
6087
  */
5039
6088
  value: string;
5040
6089
  };
6090
+ /**
6091
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6092
+ */
5041
6093
  type AuthProviderBearerConfig<T extends AnyV2QueryCreator> = {
5042
6094
  /**
5043
6095
  * The initial jwt
@@ -5048,6 +6100,9 @@ type AuthProviderBearerConfig<T extends AnyV2QueryCreator> = {
5048
6100
  */
5049
6101
  refreshConfig?: BearerRefreshConfig<T>;
5050
6102
  };
6103
+ /**
6104
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6105
+ */
5051
6106
  type BearerRefreshConfig<T extends AnyV2QueryCreator> = {
5052
6107
  /**
5053
6108
  * The query used to trade the refresh token for a new token response.
@@ -5123,6 +6178,9 @@ type BearerRefreshConfig<T extends AnyV2QueryCreator> = {
5123
6178
  */
5124
6179
  responseAdapter?: (response: NonNullable<QueryResponseOf<T>>) => TokenResponse;
5125
6180
  };
6181
+ /**
6182
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6183
+ */
5126
6184
  declare const enum AuthBearerRefreshStrategy {
5127
6185
  /**
5128
6186
  * Automatically refresh the token 5 minutes before expiration.
@@ -5130,6 +6188,9 @@ declare const enum AuthBearerRefreshStrategy {
5130
6188
  */
5131
6189
  BeforeExpiration = "beforeExpiration"
5132
6190
  }
6191
+ /**
6192
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6193
+ */
5133
6194
  type TokenResponse = {
5134
6195
  /**
5135
6196
  * The access token used inside the authorization http header.
@@ -5142,6 +6203,9 @@ type TokenResponse = {
5142
6203
  refreshToken: string | null;
5143
6204
  };
5144
6205
 
6206
+ /**
6207
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6208
+ */
5145
6209
  declare class CustomHeaderAuthProvider implements AuthProvider {
5146
6210
  _config: AuthProviderCustomHeaderConfig;
5147
6211
  constructor(_config: AuthProviderCustomHeaderConfig);
@@ -5151,6 +6215,9 @@ declare class CustomHeaderAuthProvider implements AuthProvider {
5151
6215
  cleanUp(): void;
5152
6216
  }
5153
6217
 
6218
+ /**
6219
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6220
+ */
5154
6221
  declare class BasicAuthProvider implements AuthProvider {
5155
6222
  _config: AuthProviderBasicConfig;
5156
6223
  constructor(_config: AuthProviderBasicConfig);
@@ -5161,6 +6228,9 @@ declare class BasicAuthProvider implements AuthProvider {
5161
6228
  private get basicAuthString();
5162
6229
  }
5163
6230
 
6231
+ /**
6232
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6233
+ */
5164
6234
  declare class V2BearerAuthProvider<T extends AnyV2QueryCreator> implements AuthProvider {
5165
6235
  _config: AuthProviderBearerConfig<T>;
5166
6236
  private readonly destroy$;
@@ -5184,15 +6254,33 @@ declare class V2BearerAuthProvider<T extends AnyV2QueryCreator> implements AuthP
5184
6254
  private prepareForRefresh;
5185
6255
  }
5186
6256
 
6257
+ /**
6258
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6259
+ */
5187
6260
  declare const isBasicAuthProvider: (authProvider: AuthProvider) => authProvider is BasicAuthProvider;
6261
+ /**
6262
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6263
+ */
5188
6264
  declare const isBearerAuthProvider: <T extends AnyV2QueryCreator>(authProvider: AuthProvider) => authProvider is V2BearerAuthProvider<T>;
6265
+ /**
6266
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6267
+ */
5189
6268
  declare const isCustomHeaderAuthProvider: (authProvider: AuthProvider) => authProvider is CustomHeaderAuthProvider;
5190
6269
 
6270
+ /**
6271
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6272
+ */
5191
6273
  type QueryClientDevtoolsOptions = {
5192
6274
  displayName?: string;
5193
6275
  client: V2QueryClient;
5194
6276
  };
6277
+ /**
6278
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6279
+ */
5195
6280
  declare const QUERY_CLIENT_DEVTOOLS_TOKEN: InjectionToken<QueryClientDevtoolsOptions[]>;
6281
+ /**
6282
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6283
+ */
5196
6284
  declare const provideQueryClientForDevtools: (queryClient: QueryClientDevtoolsOptions) => {
5197
6285
  provide: InjectionToken<QueryClientDevtoolsOptions[]>;
5198
6286
  useValue: QueryClientDevtoolsOptions;
@@ -5202,6 +6290,9 @@ declare const provideQueryClientForDevtools: (queryClient: QueryClientDevtoolsOp
5202
6290
  type QueryDevtoolsSnapLayout = 'full' | 'left' | 'right' | 'bottom' | 'top';
5203
6291
  type QueryListMode = 'live' | 'history';
5204
6292
  type QueryViewMode = 'query' | 'authProvider';
6293
+ /**
6294
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6295
+ */
5205
6296
  declare class QueryDevtoolsComponent {
5206
6297
  private cdr;
5207
6298
  protected queryClientConfigs: QueryClientDevtoolsOptions[];
@@ -5342,30 +6433,54 @@ declare class QueryDevtoolsComponent {
5342
6433
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<QueryDevtoolsComponent, "et-query-devtools", never, {}, {}, never, never, true, never>;
5343
6434
  }
5344
6435
 
6436
+ /**
6437
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6438
+ */
5345
6439
  declare class QueryShortNamePipe implements PipeTransform {
5346
6440
  transform(value: AnyV2Query): string;
5347
6441
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<QueryShortNamePipe, never>;
5348
6442
  static ɵpipe: _angular_core.ɵɵPipeDeclaration<QueryShortNamePipe, "queryShortName", true>;
5349
6443
  }
5350
6444
 
6445
+ /**
6446
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6447
+ */
5351
6448
  declare const provideInfinityQueryResponseDelay: () => _angular_core.Provider[];
6449
+ /**
6450
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6451
+ */
5352
6452
  declare const injectInfinityQueryResponseDelay: _ethlete_core.InjectFn<{
5353
6453
  enabled: _angular_core.WritableSignal<boolean>;
5354
6454
  enabled$: rxjs.Observable<boolean>;
5355
6455
  }>;
5356
6456
 
6457
+ /**
6458
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6459
+ */
5357
6460
  type InfinityQueryParamLocation = 'path' | 'query' | 'body' | 'header' | 'variable';
6461
+ /**
6462
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6463
+ */
5358
6464
  type AppendItemsLocation = 'start' | 'end';
6465
+ /**
6466
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6467
+ */
5359
6468
  type PageParamCalculatorOptions = {
5360
6469
  page: number;
5361
6470
  totalPages: number | null;
5362
6471
  itemsPerPage: number;
5363
6472
  };
6473
+ /**
6474
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6475
+ */
5364
6476
  type TotalPagesExtractorOptions<Arguments extends BaseArguments | undefined, QueryResponse> = {
5365
6477
  response: QueryResponse;
5366
6478
  itemsPerPage: number;
5367
6479
  args: Arguments;
5368
6480
  };
6481
+ /**
6482
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6483
+ */
5369
6484
  type InfinityQueryConfig<QueryCreator extends AnyV2QueryCreator | AnyLegacyQueryCreator, Arguments extends BaseArguments | undefined, QueryResponse, InfinityResponse extends unknown[]> = {
5370
6485
  /**
5371
6486
  * The query creator to use for fetching pages.
@@ -5455,11 +6570,26 @@ type InfinityQueryConfig<QueryCreator extends AnyV2QueryCreator | AnyLegacyQuery
5455
6570
  };
5456
6571
  };
5457
6572
  type OmitUndefined<T> = T extends undefined ? never : T;
6573
+ /**
6574
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6575
+ */
5458
6576
  type AnyInfinityQueryConfig = InfinityQueryConfig<any, any, any, any>;
6577
+ /**
6578
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6579
+ */
5459
6580
  type AnyInfinityQuery = InfinityQuery<any, any, any, any, any>;
6581
+ /**
6582
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6583
+ */
5460
6584
  type InfinityQueryConfigType<QueryCreator extends AnyV2QueryCreator | AnyLegacyQueryCreator, InfinityResponse extends unknown[]> = InfinityQueryConfig<QueryCreator, OmitUndefined<V2QueryArgsOf<QueryCreator>>, QueryDataOf<QueryCreator>, InfinityResponse>;
6585
+ /**
6586
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6587
+ */
5461
6588
  type InfinityQueryOf<Cfg extends AnyInfinityQueryConfig | null> = InfinityQuery<NonNullable<Cfg>['queryCreator'], ConstructQuery<NonNullable<Cfg>['queryCreator']>, V2QueryArgsOf<NonNullable<Cfg>['queryCreator']>, QueryDataOf<NonNullable<Cfg>['queryCreator']>, NonNullable<Cfg>['response']['arrayType']>;
5462
6589
 
6590
+ /**
6591
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6592
+ */
5463
6593
  declare class InfinityQuery<QueryCreator extends AnyV2QueryCreator | AnyLegacyQueryCreator, Query extends ConstructQuery<QueryCreator>, Args extends V2QueryArgsOf<QueryCreator>, QueryResponse extends QueryDataOf<QueryCreator>, InfinityResponse extends unknown[]> {
5464
6594
  private _config;
5465
6595
  private _destroy$;
@@ -5487,7 +6617,13 @@ declare class InfinityQuery<QueryCreator extends AnyV2QueryCreator | AnyLegacyQu
5487
6617
  private getPageParamLocation;
5488
6618
  }
5489
6619
 
6620
+ /**
6621
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6622
+ */
5490
6623
  declare const createInfinityQueryConfig: <QueryCreator extends AnyV2QueryCreator | AnyLegacyQueryCreator, Args extends V2QueryArgsOf<QueryCreator>, QueryResponse extends QueryDataOf<QueryCreator>, InfinityResponse extends unknown[]>(config: InfinityQueryConfig<QueryCreator, Args, QueryResponse, InfinityResponse>) => InfinityQueryConfig<QueryCreator, Args, QueryResponse, InfinityResponse>;
6624
+ /**
6625
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6626
+ */
5491
6627
  declare const skipPaginationPageParamCalculator: ({ page, itemsPerPage }: PageParamCalculatorOptions) => number;
5492
6628
 
5493
6629
  type InfinityQueryContext<Q extends InfinityQueryConfig<DirectiveQueryCreator, BaseArguments | undefined, any, unknown[]>> = {
@@ -5503,8 +6639,14 @@ type InfinityQueryContext<Q extends InfinityQueryConfig<DirectiveQueryCreator, B
5503
6639
  itemsPerPage: number | null;
5504
6640
  currentQuery: ConstructQuery<Q['queryCreator']> | null;
5505
6641
  };
6642
+ /**
6643
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6644
+ */
5506
6645
  declare const INFINITY_QUERY_TOKEN: InjectionToken<InfinityQueryDirective<any>>;
5507
6646
  type DirectiveQueryCreator = AnyV2QueryCreator | AnyLegacyQueryCreator;
6647
+ /**
6648
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6649
+ */
5508
6650
  declare class InfinityQueryDirective<Q extends InfinityQueryConfig<DirectiveQueryCreator, BaseArguments | undefined, any, unknown[]>> {
5509
6651
  private readonly queryConfigChanged$;
5510
6652
  private readonly viewContext;
@@ -5533,6 +6675,9 @@ declare class InfinityQueryDirective<Q extends InfinityQueryConfig<DirectiveQuer
5533
6675
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<InfinityQueryDirective<any>, "[etInfinityQuery]", ["etInfinityQuery"], { "infinityQuery": { "alias": "etInfinityQuery"; "required": false; }; }, {}, never, never, true, never>;
5534
6676
  }
5535
6677
 
6678
+ /**
6679
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6680
+ */
5536
6681
  declare class InfinityQueryTriggerDirective implements OnInit, OnDestroy {
5537
6682
  private elementRef;
5538
6683
  private _infinityQuery;
@@ -5549,6 +6694,9 @@ declare class InfinityQueryTriggerDirective implements OnInit, OnDestroy {
5549
6694
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<InfinityQueryTriggerDirective, "[etInfinityQueryTrigger], et-infinity-query-trigger", never, { "scrollContainerSelector": { "alias": "scrollContainerSelector"; "required": false; "isSignal": true; }; "infinityQueryOverride": { "alias": "infinityQueryOverride"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
5550
6695
  }
5551
6696
 
6697
+ /**
6698
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6699
+ */
5552
6700
  type QueryDirectiveContext<Q extends QueryDirectiveType | null> = {
5553
6701
  /**
5554
6702
  * The queries's response data.
@@ -5583,7 +6731,13 @@ type QueryDirectiveContext<Q extends QueryDirectiveType | null> = {
5583
6731
  */
5584
6732
  scope: QueryCollectionKeysOf<Q> | null;
5585
6733
  };
6734
+ /**
6735
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6736
+ */
5586
6737
  type QueryDirectiveType = AnyV2Query | AnyLegacyQuery | AnyQueryCollection;
6738
+ /**
6739
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6740
+ */
5587
6741
  declare class QueryDirective<Q extends QueryDirectiveType | null> {
5588
6742
  private errorHandler;
5589
6743
  private cdr;
@@ -5597,14 +6751,34 @@ declare class QueryDirective<Q extends QueryDirectiveType | null> {
5597
6751
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<QueryDirective<any>, "[etQuery]", never, { "query": { "alias": "etQuery"; "required": true; "isSignal": true; }; "cache": { "alias": "etQueryCache"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
5598
6752
  }
5599
6753
 
6754
+ /**
6755
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6756
+ */
5600
6757
  declare const queryStateAlreadyHasKeyError: (data: unknown) => QueryError;
6758
+ /**
6759
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6760
+ */
5601
6761
  declare const queryStateDoesNotContainKeyError: (data: unknown) => QueryError;
6762
+ /**
6763
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6764
+ */
5602
6765
  declare const queryStateCannotTransformError: (data: unknown) => QueryError;
6766
+ /**
6767
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6768
+ */
5603
6769
  declare const invalidBodyError: (data: unknown) => QueryError;
5604
6770
 
5605
- /** The args accepted by the creator's `prepare()` - includes `mock`/`config` extras. */
6771
+ /**
6772
+ * The args accepted by the creator's `prepare()` - includes `mock`/`config` extras.
6773
+ *
6774
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6775
+ */
5606
6776
  type V2PrepareArgsOf<TCreator extends AnyV2QueryCreator | AnyLegacyQueryCreator> = Parameters<TCreator['prepare']>[0];
5607
- /** Config for {@link validateWithV2Query}. */
6777
+ /**
6778
+ * Config for {@link validateWithV2Query}.
6779
+ *
6780
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
6781
+ */
5608
6782
  type ValidateWithV2QueryConfig<TCreator extends AnyV2QueryCreator | AnyLegacyQueryCreator, TValue, TPathKind extends PathKind> = {
5609
6783
  /**
5610
6784
  * The legacy query creator to run (from `V2QueryClient`'s `post`/`get`, or a
@@ -5653,6 +6827,8 @@ type ValidateWithV2QueryConfig<TCreator extends AnyV2QueryCreator | AnyLegacyQue
5653
6827
  * });
5654
6828
  * });
5655
6829
  * ```
6830
+ *
6831
+ * @deprecated Part of the legacy (v2) query system. Migrate to the current query API - see https://ethlete-sdk-docs.web.app/query/migrating-from-v2, and run `nx g @ethlete/query:migrate-to-query-v3` to rewrite the mechanical parts. Intent to remove in v7.
5656
6832
  */
5657
6833
  declare const validateWithV2Query: <TCreator extends AnyV2QueryCreator | AnyLegacyQueryCreator, TValue, TPathKind extends PathKind = PathKind.Root>(path: SchemaPath<TValue, SchemaPathRules.Supported, TPathKind>, config: ValidateWithV2QueryConfig<TCreator, TValue, TPathKind>) => void;
5658
6834
 
@@ -5670,11 +6846,11 @@ declare class ParseHttpErrorCodeToMessageDePipe implements PipeTransform {
5670
6846
  static ɵpipe: _angular_core.ɵɵPipeDeclaration<ParseHttpErrorCodeToMessageDePipe, "parseHttpErrorCodeToMessageDe", true>;
5671
6847
  }
5672
6848
 
5673
- declare const parseHttpErrorCodeToTitleEn: (statusCode: HttpStatusCode) => "Bad request" | "Unauthorized" | "Payment required" | "Forbidden" | "Not found" | "Method not allowed" | "Not acceptable" | "Proxy authentication required" | "Request timeout" | "Conflict" | "Gone" | "Length required" | "Precondition failed" | "Payload too large" | "URI too long" | "Unsupported media type" | "Range not satisfiable" | "Expectation failed" | "I am a teapot" | "Misdirected request" | "Unprocessable entity" | "Locked" | "Failed dependency" | "Too early" | "Upgrade required" | "Precondition required" | "Too many requests" | "Request header fields too large" | "Unavailable for legal reasons" | "Internal server error" | "Not implemented" | "Bad gateway" | "Service unavailable" | "Gateway timeout" | "HTTP version not supported" | "Variant also negotiates" | "Insufficient storage" | "Loop detected" | "Not extended" | "Network authentication required" | "Something went wrong";
6849
+ declare const parseHttpErrorCodeToTitleEn: (statusCode: HttpStatusCode) => "Unauthorized" | "Forbidden" | "Bad request" | "Payment required" | "Not found" | "Method not allowed" | "Not acceptable" | "Proxy authentication required" | "Request timeout" | "Conflict" | "Gone" | "Length required" | "Precondition failed" | "Payload too large" | "URI too long" | "Unsupported media type" | "Range not satisfiable" | "Expectation failed" | "I am a teapot" | "Misdirected request" | "Unprocessable entity" | "Locked" | "Failed dependency" | "Too early" | "Upgrade required" | "Precondition required" | "Too many requests" | "Request header fields too large" | "Unavailable for legal reasons" | "Internal server error" | "Not implemented" | "Bad gateway" | "Service unavailable" | "Gateway timeout" | "HTTP version not supported" | "Variant also negotiates" | "Insufficient storage" | "Loop detected" | "Not extended" | "Network authentication required" | "Something went wrong";
5674
6850
  declare const parseHttpErrorCodeToMessageEn: (statusCode: HttpStatusCode) => "Sorry, we could not process your request. Please try again later." | "You are not authorized to perform this action. Please log in to continue." | "Payment is required to complete this action." | "You do not have permission to perform this action." | "The requested resource was not found." | "The requested method is not allowed for this resource." | "The requested resource is not capable of generating a response matching the list of acceptable values." | "Proxy authentication is required to complete this action." | "The server timed out waiting for the request." | "The request conflicts with the current state of the resource." | "The requested resource is no longer available and will not be available again." | "The request did not specify the length of its content, which is required by the requested resource." | "The server does not meet one of the preconditions that the requester put on the request." | "The request is larger than the server is willing or able to process." | "The URL provided was too long for the server to process." | "The request entity has a media type which the server or resource does not support." | "The client has asked for a portion of the file, but the server cannot supply that portion." | "The server cannot meet the requirements of the Expect request-header field." | "I am a teapot." | "The request was directed at a server that is not able to produce a response." | "The request was well-formed but was unable to be followed due to semantic errors." | "The resource that is being accessed is locked." | "The request failed due to failure of a previous request." | "The server is unwilling to process the request because the user has not been authenticated." | "The client should switch to a different protocol such as TLS/1.0, given in the Upgrade header field." | "The origin server requires the request to be conditional." | "You have sent too many requests in a given amount of time. Please try again later." | "The server is unwilling to process the request because its header fields are too large." | "The resource is unavailable due to a legal demand." | "Something went wrong on our end. Please try again later." | "The server does not support the functionality required to fulfill the request." | "The server is currently unable to handle the request due to a temporary overload or maintenance of the server." | "The server, while acting as a gateway or proxy, did not receive a timely response from the upstream server specified by the URL or some other auxiliary server it needed to access in attempting to complete the request." | "The server does not support the HTTP protocol version used in the request." | "The server has an internal configuration error: the chosen variant resource is configured to engage in transparent content negotiation itself, and is therefore not a proper end point in the negotiation process." | "The method could not be performed on the resource because the server is unable to store the representation needed to successfully complete the request." | "The server detected an infinite loop while processing the request." | "Further extensions to the request are required for the server to fulfill it." | "You need to authenticate to gain network access." | "Something went wrong. Check your internet connection and try again later.";
5675
6851
 
5676
6852
  declare class ParseHttpErrorCodeToTitleEnPipe implements PipeTransform {
5677
- transform: (statusCode: _angular_common_http.HttpStatusCode) => "Bad request" | "Unauthorized" | "Payment required" | "Forbidden" | "Not found" | "Method not allowed" | "Not acceptable" | "Proxy authentication required" | "Request timeout" | "Conflict" | "Gone" | "Length required" | "Precondition failed" | "Payload too large" | "URI too long" | "Unsupported media type" | "Range not satisfiable" | "Expectation failed" | "I am a teapot" | "Misdirected request" | "Unprocessable entity" | "Locked" | "Failed dependency" | "Too early" | "Upgrade required" | "Precondition required" | "Too many requests" | "Request header fields too large" | "Unavailable for legal reasons" | "Internal server error" | "Not implemented" | "Bad gateway" | "Service unavailable" | "Gateway timeout" | "HTTP version not supported" | "Variant also negotiates" | "Insufficient storage" | "Loop detected" | "Not extended" | "Network authentication required" | "Something went wrong";
6853
+ transform: (statusCode: _angular_common_http.HttpStatusCode) => "Unauthorized" | "Forbidden" | "Bad request" | "Payment required" | "Not found" | "Method not allowed" | "Not acceptable" | "Proxy authentication required" | "Request timeout" | "Conflict" | "Gone" | "Length required" | "Precondition failed" | "Payload too large" | "URI too long" | "Unsupported media type" | "Range not satisfiable" | "Expectation failed" | "I am a teapot" | "Misdirected request" | "Unprocessable entity" | "Locked" | "Failed dependency" | "Too early" | "Upgrade required" | "Precondition required" | "Too many requests" | "Request header fields too large" | "Unavailable for legal reasons" | "Internal server error" | "Not implemented" | "Bad gateway" | "Service unavailable" | "Gateway timeout" | "HTTP version not supported" | "Variant also negotiates" | "Insufficient storage" | "Loop detected" | "Not extended" | "Network authentication required" | "Something went wrong";
5678
6854
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ParseHttpErrorCodeToTitleEnPipe, never>;
5679
6855
  static ɵpipe: _angular_core.ɵɵPipeDeclaration<ParseHttpErrorCodeToTitleEnPipe, "parseHttpErrorCodeToTitleEn", true>;
5680
6856
  }
@@ -5842,6 +7018,12 @@ type CreateQueryFormConfig<TFields extends QueryFormFields> = {
5842
7018
  * A function is evaluated every time a key is built.
5843
7019
  */
5844
7020
  readonly queryParamPrefix?: string | (() => string);
7021
+ /**
7022
+ * What the form is called in the devtools Forms tab. Defaults to the
7023
+ * `queryParamPrefix` where it is a plain string, and to `form` otherwise.
7024
+ * Ignored unless `provideQueryDevtools()` is installed.
7025
+ */
7026
+ readonly name?: string;
5845
7027
  };
5846
7028
  /**
5847
7029
  * A signals-first query form: binds on-screen controls to typed fields, keeps a
@@ -5874,6 +7056,7 @@ declare class QueryFormSignals<TFields extends QueryFormFields> {
5874
7056
  private observing;
5875
7057
  private observeOptions;
5876
7058
  private pendingTimer;
7059
+ private commitPending;
5877
7060
  private skipNextResets;
5878
7061
  /**
5879
7062
  * The bindable signal-forms field tree - bind a field with `[formField]`, e.g.
@@ -5905,6 +7088,11 @@ declare class QueryFormSignals<TFields extends QueryFormFields> {
5905
7088
  }): void;
5906
7089
  /** Create a detached editor over the same fields, seeded from the current committed value. */
5907
7090
  branch(): QueryFormBranch<TFields>;
7091
+ /**
7092
+ * The live view `<et-query-devtools>` renders. Only built while the devtools are installed - it walks
7093
+ * every field on every change, which an app without them should not pay for.
7094
+ */
7095
+ private devtoolsHandle;
5908
7096
  private onLiveChange;
5909
7097
  /** Shortest-debounce-wins; `null` means commit immediately. */
5910
7098
  private resolveDebounce;
@@ -5913,6 +7101,8 @@ declare class QueryFormSignals<TFields extends QueryFormFields> {
5913
7101
  private applyFromUrl;
5914
7102
  private commitFromUrl;
5915
7103
  private deserialize;
7104
+ /** What a field puts in the URL for a given value, or `undefined` when it writes nothing. */
7105
+ private queryParamFor;
5916
7106
  private writeToUrl;
5917
7107
  private paramKey;
5918
7108
  private clearTimer;
@@ -5960,6 +7150,11 @@ type WebSocketDevtoolsMessage = {
5960
7150
  room: string;
5961
7151
  event: string;
5962
7152
  data: unknown;
7153
+ /**
7154
+ * Whether the message arrived from the server or was sent by this client - room joins and leaves
7155
+ * included, which is what makes "the room was never joined" tellable from "the room is quiet".
7156
+ */
7157
+ direction: 'in' | 'out';
5963
7158
  };
5964
7159
  /**
5965
7160
  * The live handle a web socket client registers with the devtools. Read by the `<et-query-devtools>`
@@ -5969,13 +7164,55 @@ type WebSocketDevtoolsHandle = {
5969
7164
  connected: Signal<boolean>;
5970
7165
  rooms: Signal<string[]>;
5971
7166
  messages: Signal<WebSocketDevtoolsMessage[]>;
7167
+ /**
7168
+ * Sends a message the way the app would, so the panel can provoke a server that only answers a
7169
+ * client that asked. Recorded in {@link messages} like any other outgoing one.
7170
+ */
7171
+ emit: (options: {
7172
+ event: string;
7173
+ data: unknown;
7174
+ }) => void;
5972
7175
  };
5973
7176
  type CreateWebSocketClientTransport = 'polling' | 'websocket' | 'webtransport';
7177
+ /** The options {@link createWebSocketClient} passes to the socket io factory. */
7178
+ type WebSocketClientIoOptions = {
7179
+ withCredentials: boolean;
7180
+ autoConnect: boolean;
7181
+ transports: CreateWebSocketClientTransport[] | undefined;
7182
+ };
7183
+ /** The slice of a socket io `Socket` this client drives. */
7184
+ type WebSocketClientSocket = {
7185
+ connect: () => void;
7186
+ disconnect: () => void;
7187
+ emit: (event: string, data: unknown) => void;
7188
+ on: (event: 'connect' | 'disconnect', listener: () => void) => void;
7189
+ onAny: (listener: (data: string) => void) => void;
7190
+ };
7191
+ /**
7192
+ * The `io` factory of `socket.io-client`, declared structurally.
7193
+ *
7194
+ * `@ethlete/query` never imports `socket.io-client` itself: the package ships no `sideEffects: false`,
7195
+ * so a single static import of it is unshakeable and would cost *every* consumer ~13 kB gz - a
7196
+ * REST-only app included, which could then not even build without installing the optional peer.
7197
+ * Passing `io` in keeps that cost with the apps that actually open a socket.
7198
+ */
7199
+ type WebSocketClientIo = (url: string, options: WebSocketClientIoOptions) => WebSocketClientSocket;
5974
7200
  type CreateWebSocketClientConfigOptions = {
5975
7201
  /** A unique name for the client */
5976
7202
  name: string;
5977
7203
  /** The URL of the socket io server */
5978
7204
  url: string;
7205
+ /**
7206
+ * The `io` factory, imported by the app: `import { io } from 'socket.io-client'`.
7207
+ *
7208
+ * @example
7209
+ * ```ts
7210
+ * import { io } from 'socket.io-client';
7211
+ *
7212
+ * const MATCH_SOCKET = createWebSocketClient({ name: 'match', url: env.wsUrl, io });
7213
+ * ```
7214
+ */
7215
+ io: WebSocketClientIo;
5979
7216
  /** A list of transports to try (in order). Engine.io always attempts to connect directly with the first one, provided the feature detection test for it passes. */
5980
7217
  transports?: CreateWebSocketClientTransport[];
5981
7218
  };
@@ -6013,5 +7250,5 @@ type WebSocketClientResult<TMessageData extends SocketMessageView = SocketMessag
6013
7250
  type AnyWebSocketClient<TMessageData extends SocketMessageView = SocketMessageView> = WebSocketClientResult<TMessageData>;
6014
7251
  declare const createWebSocketClient: <TMessageData extends SocketMessageView = SocketMessageView>(options: CreateWebSocketClientConfigOptions) => WebSocketClientResult<TMessageData>;
6015
7252
 
6016
- 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, EntityStore, IGNORED_FILTER_COUNT_FIELDS, INFINITY_QUERY_TOKEN, InfinityQuery, InfinityQueryDirective, InfinityQueryTriggerDirective, LegacyQuery, LegacyQueryCreator, MAX_UNUSED_ENTRIES, NumberArrayQueryField, ParseHttpErrorCodeToMessageDePipe, ParseHttpErrorCodeToMessageEnPipe, ParseHttpErrorCodeToTitleDePipe, ParseHttpErrorCodeToTitleEnPipe, QUERY_CLIENT_DEVTOOLS_TOKEN, QUERY_PERSISTENCE_STORE_VERSION, QUERY_SYNC_PROTOCOL_VERSION, QueryClientFeatureType, QueryDevtoolsComponent, QueryDirective, QueryError, QueryFeatureType, QueryField, QueryForm, QueryFormSignals, QueryRuntimeErrorCode, QueryShortNamePipe, QueryStateType, QueryStore, SERVER_ERROR_KIND, SERVER_VIOLATION_ERROR_KIND, SPEED_BUFFER_TIME_IN_MS, SearchQueryField, SortQueryField, StringArrayQueryField, V2BearerAuthProvider, V2Query, V2QueryClient, V2QueryCreator, addQueryContainerHandling, applyQueryFeatures, authExtractTokensResponseMissingAccessToken, authExtractTokensResponseMissingRefreshToken, authExtractTokensResponseNotObject, authProviderFeatureUsedMultipleTimes, booleanArrayQueryField, buildErrorMessage, buildQueryCacheKey, buildQueryString, buildRoute, buildTimestampFromSeconds, castQueryCreatorTypes, circularQueryDependency, circularQueryDependencyChecker, computeQueryAuthHeader, computeQueryBody, computeQueryHeaders, computeQueryMethod, computeQueryQueryParams, contentfulGqlLikePaginationAdapter, 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, createQueryForm, 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, detectContentTypeHeader, dynLikePaginationAdapter, effectComputed, emptyQueryArgs, ethletePaginationAdapter, executeUntilSettled, extractExpiresInSeconds, extractFormViolations, extractHtmlErrorMessage, extractQuery, fakePaginationAdapter, filterFailure, filterNull, filterQueryStates, filterSuccess, forEachHeader, getDefaultHeaders, getQueryFeatureUsage, getResponseUrl, ggLikePaginationAdapter, gql, gqlDataPropertyMissingInResponse, hasHeader, htmlErrorPayload, htmlQueryErrorParser, ignoreAutoRefresh, injectInfinityQueryResponseDelay, injectQueryContext, insertFrom, invalidBaseRouteError, invalidBodyError, invalidRouteError, invalidStateInsideSecureExecuteFactory, isAutoRefresh, isBasicAuthProvider, isBearerAuthProvider, isClassValidatorError, isCreateGqlQueryOptions, isCustomHeaderAuthProvider, isEmptyString, isGqlQueryConfig, isHtmlErrorPayload, isLegacyQuery, isNaN, isPageOutOfRangeError, isQuery, isQueryCollection, isQueryErrorResponse, isQueryStateCancelled, isQueryStateFailure, isQueryStateLoading, isQueryStatePrepared, isQueryStateSuccess, isRequestError, isSymfonyError, isSymfonyFormViolationListError, isSymfonyListError, isSymfonyPagerfantaOutOfRangeError, isUnderInvalidatedUrl, legacyPrepareWithoutInjectionContext, mapToPaginated, mapViolationsToFormErrors, maybeExecute, mergeHeaders, nestedEffect, numberArrayQueryField, pagedQueryStackNextPageCalledWithoutPreviousPage, pagedQueryStackPageBiggerThanTotalPages, pagedQueryStackPreviousPageCalledButAlreadyAtFirstPage, paginatedEntityValueUpdater, parseAllXhrResponseHeaders, parseHttpErrorCodeToMessageDe, parseHttpErrorCodeToMessageEn, parseHttpErrorCodeToTitleDe, parseHttpErrorCodeToTitleEn, pathParamsMissingInRouteFunctionError, provideInfinityQueryResponseDelay, provideQueryClientForDevtools, provideQueryDevtools, queryArrayComputed, queryClientFeatureUsedMultipleTimes, queryComputed, queryComputedTillTruthy, queryDevtoolsEntries, 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, setupQueryDependencies, setupQueryExecuteState, setupQueryState, shouldAutoExecuteGqlQuery, shouldAutoExecuteQuery, shouldCacheQuery, shouldRetryRequest, silenceMissingWithArgsFeatureErrorUsedButWithArgsPresent, skipPaginationPageParamCalculator, sortQueryField, splitQueryConfig, stringArrayQueryField, switchQueryCollectionState, switchQueryState, symfonyQueryErrorParser, takeUntilResponse, toQuerySignal, toQuerySubject, tokensNotAvailableInsideAuthAndExec, 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 };
6017
- 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, AuthProvider, AuthProviderBasicConfig, AuthProviderBearerConfig, AuthProviderCustomHeaderConfig, AuthQueryBuilder, AuthQueryConfig, BaseArguments, BaseQueryCreatorFactoryOptions, BaseQueryCreatorOptions, BaseQueryCreatorOptionsSubtle, BearerAuthExecutionState, BearerAuthExecutionStateError, BearerAuthExecutionStateLoading, BearerAuthExecutionStateLogout, BearerAuthExecutionStateSuccess, BearerAuthFeature, BearerAuthMultiTabSyncConfig, BearerAuthMultiTabSyncFeature, BearerAuthProvider, BearerAuthProviderEarlySetup, BearerAuthProviderEarlySetupContext, BearerAuthProviderEarlySetupResult, BearerAuthProviderFeatureContext, BearerAuthProviderOf, BearerAuthProviderQueryContext, BearerAuthProviderRef, BearerAuthProviderTokens, BearerRefreshConfig, BodyType, BuildQueryStringConfig, CacheAdapterFn, Cancelled, ClassValidatorError, ClearQueryArgs, ConstructQuery, CreateBaseQueryOptions, CreateBearerAuthProviderConfig, CreateGqlQueryCreatorOptions, CreateGqlQueryExecuteOptions, CreateGqlQueryOptions, CreateHttpRequestDependencies, CreateHttpRequestOptions, CreateIndexedDbQueryPersistenceAdapterOptions, CreateLegacyQueryCreatorOptions, CreateLegacyQueryOptions, CreatePagedQueryStackOptions, CreateQueryClientConfigOptions, CreateQueryCreatorOptions, CreateQueryExecuteOptions, CreateQueryFormConfig, CreateQueryObjectOptions, CreateQueryOptions, CreateQueryPersistenceEngineOptions, CreateQueryRepositoryConfig, CreateQuerySnapshotOptions, CreateQueryStackOptions, CreateQuerySyncEngineOptions, CreateSecureGqlQueryExecuteOptions, CreateSecureGqlQueryOptions, CreateSecureQueryExecuteOptions, CreateSecureQueryOptions, CreateWebSocketClientConfigOptions, CreateWebSocketClientTransport, 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, HttpRequestSubtle, HttpRequestTransferCacheConfig, InactivityLogoutConfig, InactivityLogoutFeature, InfinityQueryConfig, InfinityQueryConfigType, InfinityQueryOf, InfinityQueryParamLocation, InsertFromConfig, InternalCreateGqlQueryCreatorOptions, InternalCreateQueryCreatorOptions, InternalQueryExecute, InternalSecureCreateGqlQueryCreatorOptions, InternalSecureCreateQueryCreatorOptions, InternalWebSocketRoom, LeaderInstanceCountChangeEventData, LeaderStatusChangeEventData, LegacyArgumentsOfQueryArgs, LegacyQueryPrepareFn, Loading, MapViolationsToFormErrorsOptions, Method, ObservableSignal, OptionalQueryFieldOptions, 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, QueryDevtoolsEntry, QueryDevtoolsEntryKind, QueryDevtoolsEntryMeta, QueryDevtoolsRegistrar, QueryDevtoolsRegistration, 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, QueryFormSignalsObserveOptions, QueryFormSignalsWriteOptions, QueryFormValue, QueryFormValueEvent, QueryFormWriteOptions, QueryInvalidationCandidate, QueryInvalidationFilterFn, QueryInvalidationOptions, QueryKey, QueryKeyLockHold, QueryKeyLockManager, QueryKeyLockState, QueryMethod, QueryMockConfig, QueryMultiTabSyncConfig, QueryOf, QueryParams, QueryParamsType, QueryPersistenceAdapter, QueryPersistenceCandidate, QueryPersistenceConfig, QueryPersistenceEngine, QueryPrepareFn, QueryRegistry, QueryRegistryEntry, QueryRepository, QueryRepositoryCacheEntry, QueryRepositoryDependencies, 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, 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, WebSocketClientResult, WebSocketClientSubtle, WebSocketDevtoolsHandle, WebSocketDevtoolsMessage, WebSocketRoom, WithAutoRefreshFeatureOptions, WithBody, WithConfig, WithErrorHandlingFeatureOptions, WithHeaders, WithInjector, WithLegacyConfig, WithLoggingFeatureOptions, WithMock, WithPageResetOnErrorFeatureOptions, WithPathParams, WithPollingFeatureOptions, WithQueryParams, WithResponseUpdateFeatureFnData, WithResponseUpdateFeatureOptions, WithSuccessHandlingFeatureOptions, WithVariables };
7253
+ 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_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, QueryError, QueryFeatureType, QueryField, QueryForm, QueryFormSignals, QueryRuntimeErrorCode, QueryShortNamePipe, QueryStateType, QueryStore, SERVER_ERROR_KIND, SERVER_VIOLATION_ERROR_KIND, SPEED_BUFFER_TIME_IN_MS, SearchQueryField, SortQueryField, StringArrayQueryField, V2BearerAuthProvider, V2Query, V2QueryClient, V2QueryCreator, addQueryContainerHandling, applyQueryFeatures, authExtractTokensResponseMissingAccessToken, authExtractTokensResponseMissingRefreshToken, authExtractTokensResponseNotObject, authProviderFeatureUsedMultipleTimes, booleanArrayQueryField, buildErrorMessage, buildQueryCacheKey, buildQueryString, buildRoute, buildTimestampFromSeconds, castQueryCreatorTypes, circularQueryDependency, circularQueryDependencyChecker, clearQueryDevtoolsFaults, computeQueryAuthHeader, computeQueryBody, computeQueryHeaders, computeQueryMethod, computeQueryQueryParams, contentfulGqlLikePaginationAdapter, 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, createQueryForm, 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, detectContentTypeHeader, dynLikePaginationAdapter, effectComputed, emptyQueryArgs, ethletePaginationAdapter, executeUntilSettled, extractExpiresInSeconds, extractFormViolations, extractHtmlErrorMessage, extractQuery, fakePaginationAdapter, filterFailure, filterNull, filterQueryStates, filterSuccess, forEachHeader, getDefaultHeaders, getQueryFeatureUsage, getResponseUrl, ggLikePaginationAdapter, gql, gqlDataPropertyMissingInResponse, hasHeader, htmlErrorPayload, htmlQueryErrorParser, ignoreAutoRefresh, injectInfinityQueryResponseDelay, injectQueryContext, insertFrom, invalidBaseRouteError, invalidBodyError, invalidRouteError, invalidStateInsideSecureExecuteFactory, isAutoRefresh, isBasicAuthProvider, isBearerAuthProvider, isClassValidatorError, isCreateGqlQueryOptions, isCustomHeaderAuthProvider, 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, 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, sortQueryField, splitQueryConfig, stringArrayQueryField, stringifyQueryRouteParts, sumQueryDevtoolsStats, switchQueryCollectionState, switchQueryState, symfonyQueryErrorParser, takeUntilResponse, toQuerySignal, toQuerySubject, tokensNotAvailableInsideAuthAndExec, 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 };
7254
+ 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, AuthProvider, AuthProviderBasicConfig, AuthProviderBearerConfig, AuthProviderCustomHeaderConfig, AuthQueryBuilder, AuthQueryConfig, BaseArguments, BaseQueryCreatorFactoryOptions, BaseQueryCreatorOptions, BaseQueryCreatorOptionsSubtle, BearerAuthExecutionState, BearerAuthExecutionStateError, BearerAuthExecutionStateLoading, BearerAuthExecutionStateLogout, BearerAuthExecutionStateSuccess, BearerAuthFeature, BearerAuthMultiTabSyncConfig, BearerAuthMultiTabSyncFeature, BearerAuthProvider, BearerAuthProviderEarlySetup, BearerAuthProviderEarlySetupContext, BearerAuthProviderEarlySetupResult, BearerAuthProviderFeatureContext, BearerAuthProviderOf, BearerAuthProviderQueryContext, BearerAuthProviderRef, BearerAuthProviderTokens, BearerRefreshConfig, BodyType, BuildQueryStringConfig, CacheAdapterFn, Cancelled, ClassValidatorError, ClearQueryArgs, ConstructQuery, CreateBaseQueryOptions, CreateBearerAuthProviderConfig, CreateGqlQueryCreatorOptions, CreateGqlQueryExecuteOptions, CreateGqlQueryOptions, CreateHttpRequestDependencies, CreateHttpRequestOptions, CreateIndexedDbQueryPersistenceAdapterOptions, CreateLegacyQueryCreatorOptions, CreateLegacyQueryOptions, CreatePagedQueryStackOptions, CreateQueryClientConfigOptions, CreateQueryCreatorOptions, CreateQueryExecuteOptions, CreateQueryFormConfig, CreateQueryObjectOptions, CreateQueryOptions, CreateQueryPersistenceEngineOptions, CreateQueryRepositoryConfig, CreateQuerySnapshotOptions, CreateQueryStackOptions, CreateQuerySyncEngineOptions, CreateSecureGqlQueryExecuteOptions, CreateSecureGqlQueryOptions, CreateSecureQueryExecuteOptions, CreateSecureQueryOptions, CreateWebSocketClientConfigOptions, CreateWebSocketClientTransport, 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, LeaderInstanceCountChangeEventData, LeaderStatusChangeEventData, LegacyArgumentsOfQueryArgs, LegacyQueryPrepareFn, Loading, MapViolationsToFormErrorsOptions, Method, ObservableSignal, OptionalQueryFieldOptions, 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, QueryDevtoolsPayload, QueryDevtoolsRegistrar, QueryDevtoolsRegistration, QueryDevtoolsResolvedFault, QueryDevtoolsRoutePart, QueryDevtoolsRun, 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, 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, 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, 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 };