@ethlete/query 6.0.0-next.45 → 6.0.0-next.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +106 -0
- package/fesm2022/ethlete-query-testing.mjs +138 -52
- package/fesm2022/ethlete-query-testing.mjs.map +1 -1
- package/fesm2022/ethlete-query.mjs +1960 -984
- package/fesm2022/ethlete-query.mjs.map +1 -1
- package/generators/migrate-query-opt-in-features/migration.js +13 -1
- package/generators/migrate-to-query-v3/auth-provider-scaffold.js +6 -4
- package/generators/migrate-to-query-v3/cleanup-migration.js +13 -52
- package/generators/migrate-to-query-v3/legacy-prepare-migration.js +9 -12
- package/generators/migrate-to-query-v3/legacy-query-creator-migration.js +81 -15
- package/generators/migrate-to-query-v3/migration-scope.js +0 -3
- package/generators/migrate-to-query-v3/query-client-migration.js +97 -47
- package/generators/migrate-to-query-v3/rename-symbols.js +19 -6
- package/generators/migrate-to-query-v3/shared.js +6 -2
- package/generators/prep-for-query-v3/migration.js +68 -11
- package/package.json +5 -5
- package/types/ethlete-query-testing.d.ts +37 -5
- package/types/ethlete-query.d.ts +310 -119
package/types/ethlete-query.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { Observable, Subscribable, BehaviorSubject } from 'rxjs';
|
|
|
4
4
|
import * as _angular_core from '@angular/core';
|
|
5
5
|
import { DestroyRef, EnvironmentInjector, ErrorHandler, WritableSignal, Signal, Injector, CreateEffectOptions, EnvironmentProviders, CreateComputedOptions, InjectionToken, TrackByFunction, PipeTransform, OnInit, OnDestroy } from '@angular/core';
|
|
6
6
|
import * as _ethlete_core from '@ethlete/core';
|
|
7
|
-
import {
|
|
7
|
+
import { ProviderDefinition, RuntimeError } from '@ethlete/core';
|
|
8
8
|
import * as _angular_common_http from '@angular/common/http';
|
|
9
9
|
import { HttpClient, HttpErrorResponse, HttpHeaders, HttpEvent, HttpStatusCode } from '@angular/common/http';
|
|
10
10
|
import * as _ethlete_query from '@ethlete/query';
|
|
@@ -41,9 +41,6 @@ type DescribableFeature = {
|
|
|
41
41
|
devtools?: QueryDevtoolsFeatureDescriber;
|
|
42
42
|
};
|
|
43
43
|
|
|
44
|
-
declare const invalidBaseRouteError: (data: unknown) => RuntimeError<1>;
|
|
45
|
-
declare const invalidRouteError: (data: unknown) => RuntimeError<2>;
|
|
46
|
-
declare const pathParamsMissingInRouteFunctionError: (data: unknown) => RuntimeError<3>;
|
|
47
44
|
type QueryParams = object;
|
|
48
45
|
type PathParams = Record<string, string | number>;
|
|
49
46
|
/** A literal route, or a function building one from path params. Structurally the legacy `AnyRoute`. */
|
|
@@ -98,19 +95,6 @@ type BuildQueryStringConfig = {
|
|
|
98
95
|
*/
|
|
99
96
|
ignoredValuesFns?: Array<(value: unknown) => boolean>;
|
|
100
97
|
};
|
|
101
|
-
declare const isNaN: (value: unknown) => boolean;
|
|
102
|
-
declare const isEmptyString: (value: unknown) => boolean;
|
|
103
|
-
declare const buildQueryString: (params: QueryParams, config?: BuildQueryStringConfig) => string | null;
|
|
104
|
-
declare const buildRoute: (options: {
|
|
105
|
-
base: string;
|
|
106
|
-
route: RouteInput | null | undefined;
|
|
107
|
-
pathParams?: PathParams;
|
|
108
|
-
queryParams?: QueryParams;
|
|
109
|
-
queryParamConfig?: BuildQueryStringConfig;
|
|
110
|
-
}) => string;
|
|
111
|
-
declare const buildTimestampFromSeconds: (seconds: number | null) => number | null;
|
|
112
|
-
/** Reads a bearer token's payload. */
|
|
113
|
-
declare const decryptBearer: <Result = Record<string, unknown>>(token: string) => Result | null;
|
|
114
98
|
|
|
115
99
|
type SetupQueryDependenciesOptions = {
|
|
116
100
|
/** The query client tuple from createQueryClient */
|
|
@@ -134,7 +118,7 @@ type QueryDependencies = {
|
|
|
134
118
|
/**
|
|
135
119
|
* The DOM element of the component/directive that created the query, when it was created in an
|
|
136
120
|
* element (node) injection context. `null` for queries created in a root/environment context.
|
|
137
|
-
* Used only by the devtools "inspect" tool.
|
|
121
|
+
* Used only by the devtools "inspect" tool, and resolved from the host injector on each read.
|
|
138
122
|
*/
|
|
139
123
|
hostElement: HTMLElement | null;
|
|
140
124
|
};
|
|
@@ -259,8 +243,9 @@ type RunQueryExecuteOptions = {
|
|
|
259
243
|
allowCache?: boolean;
|
|
260
244
|
triggeredBy?: string;
|
|
261
245
|
/**
|
|
262
|
-
* Overrides the creator's (and the client's) `keepUnusedFor` for this execution.
|
|
263
|
-
*
|
|
246
|
+
* Overrides the creator's (and the client's) `keepUnusedFor` for this execution. A cache entry shared
|
|
247
|
+
* by several queries keeps the shortest retention of the queries currently bound to it, so a query
|
|
248
|
+
* that asks for a shorter one only shortens the entry until it releases the entry again.
|
|
264
249
|
*/
|
|
265
250
|
keepUnusedFor?: number;
|
|
266
251
|
};
|
|
@@ -274,8 +259,13 @@ type QueryExecuteOptions<TArgs extends QueryArgs> = {
|
|
|
274
259
|
isRefreshable?: boolean;
|
|
275
260
|
};
|
|
276
261
|
declare const queryExecute: <TArgs extends QueryArgs>(options: QueryExecuteOptions<TArgs>) => void;
|
|
262
|
+
/**
|
|
263
|
+
* Throws `ET800` once the same query runs with identical args more than five times in a row, each run
|
|
264
|
+
* less than 100 ms after the previous one. Executions with different args (a search term typed fast,
|
|
265
|
+
* a slider bound to `withArgs`) never count against each other.
|
|
266
|
+
*/
|
|
277
267
|
declare const circularQueryDependencyChecker: () => {
|
|
278
|
-
check: () => void;
|
|
268
|
+
check: (args: RequestArgs<QueryArgs> | null | undefined) => void;
|
|
279
269
|
};
|
|
280
270
|
|
|
281
271
|
/**
|
|
@@ -320,6 +310,8 @@ type QueryRepositoryEvent = {
|
|
|
320
310
|
isCached: boolean;
|
|
321
311
|
/** @see BaseQueryCreatorOptions.multiTabSync */
|
|
322
312
|
isMultiTabSyncEnabled: boolean;
|
|
313
|
+
/** @see QueryRepositoryRequestOptions.isRefreshable */
|
|
314
|
+
isRefreshable: boolean;
|
|
323
315
|
/**
|
|
324
316
|
* Whether this response may be written to the client's persisted store. Already accounts for
|
|
325
317
|
* secure requests needing an explicit opt-in.
|
|
@@ -581,10 +573,8 @@ type QueryDevtoolsFormLinksHandle = {
|
|
|
581
573
|
* The devtools ids of the query forms this query's args have read. Empty for a query whose args read
|
|
582
574
|
* none.
|
|
583
575
|
*
|
|
584
|
-
* Accumulates rather than being rebuilt per evaluation
|
|
585
|
-
*
|
|
586
|
-
* form again. Dropping the id there would make the link flicker; a form that a conditional branch
|
|
587
|
-
* stops reading keeps its link until the query is recreated instead.
|
|
576
|
+
* Accumulates rather than being rebuilt per evaluation, so a form that a conditional branch stops
|
|
577
|
+
* reading keeps its link until the query is recreated instead of making the panel flicker.
|
|
588
578
|
*/
|
|
589
579
|
ids: Signal<readonly string[]>;
|
|
590
580
|
};
|
|
@@ -979,6 +969,14 @@ type QueryStateSubtle<TArgs extends QueryArgs> = {
|
|
|
979
969
|
* Called by `queryExecute` whenever a request is (re-)executed.
|
|
980
970
|
*/
|
|
981
971
|
bindRequestEvents: (request: HttpRequest<TArgs>) => void;
|
|
972
|
+
/** Stops forwarding the current request's events; `reset()` detaches the query from its request with it. */
|
|
973
|
+
unbindRequestEvents: () => void;
|
|
974
|
+
/**
|
|
975
|
+
* Run options every execution of this query starts from; the options passed to one `execute()` win
|
|
976
|
+
* per field. Set by a feature during creation so it also covers executions the feature does not
|
|
977
|
+
* trigger itself (`withLongPolling` turns retention off for the `withArgs` round too).
|
|
978
|
+
*/
|
|
979
|
+
defaultRunOptions: WritableSignal<RunQueryExecuteOptions | null>;
|
|
982
980
|
/**
|
|
983
981
|
* Installs the reactive source that backs `state.args`. The `withArgs` feature uses this so that
|
|
984
982
|
* `state.args` always reflects the latest args (pulled from the reactive source on read) instead
|
|
@@ -1095,13 +1093,14 @@ type QueryFeatureContext<TArgs extends QueryArgs> = {
|
|
|
1095
1093
|
};
|
|
1096
1094
|
type QueryFeatureFn<TArgs extends QueryArgs> = (context: QueryFeatureContext<TArgs>) => void;
|
|
1097
1095
|
type QueryFeature<TArgs extends QueryArgs> = {
|
|
1098
|
-
|
|
1096
|
+
/** One of {@link QueryFeatureType} for the built-in features, or any name for a custom one. Used twice on one query, it throws. */
|
|
1097
|
+
type: QueryFeatureType | (string & {});
|
|
1099
1098
|
fn: (context: QueryFeatureContext<TArgs>) => void;
|
|
1100
1099
|
/** How the feature was configured, for the devtools. Only called while devtools are enabled. */
|
|
1101
1100
|
devtools?: QueryDevtoolsFeatureDescriber;
|
|
1102
1101
|
};
|
|
1103
1102
|
declare const createQueryFeature: <TArgs extends QueryArgs>(config: {
|
|
1104
|
-
type: QueryFeatureType;
|
|
1103
|
+
type: QueryFeatureType | (string & {});
|
|
1105
1104
|
fn: QueryFeatureFn<TArgs>;
|
|
1106
1105
|
devtools?: QueryDevtoolsFeatureDescriber;
|
|
1107
1106
|
}) => QueryFeature<TArgs>;
|
|
@@ -1621,6 +1620,13 @@ type PersistedQueryEntry = PersistedQueryEntryMeta & {
|
|
|
1621
1620
|
*/
|
|
1622
1621
|
type PersistedQueryBody = {
|
|
1623
1622
|
body: unknown;
|
|
1623
|
+
/**
|
|
1624
|
+
* The {@link PersistedQueryEntryMeta.version} the body was written under. Return it: two builds
|
|
1625
|
+
* share one store, and without it the engine cannot tell a body another build wrote over this key
|
|
1626
|
+
* from its own. A body whose version differs from the index is ignored; one without a version is
|
|
1627
|
+
* trusted.
|
|
1628
|
+
*/
|
|
1629
|
+
version?: number;
|
|
1624
1630
|
};
|
|
1625
1631
|
|
|
1626
1632
|
/**
|
|
@@ -1633,9 +1639,9 @@ type PersistedQueryBody = {
|
|
|
1633
1639
|
* policy decision - how old a body may be, how many are kept, what happens on a logout - is made by
|
|
1634
1640
|
* the persistence engine, so a custom adapter cannot get any of it subtly wrong.
|
|
1635
1641
|
*
|
|
1636
|
-
* Every method may reject. The engine treats a failing read as a miss and a failing write
|
|
1637
|
-
*
|
|
1638
|
-
* swallow its own errors.
|
|
1642
|
+
* Every method may reject. The engine treats a failing read as a miss and retries a failing write once
|
|
1643
|
+
* - after pruning the oldest half when it rejected with a `QuotaExceededError` - then stops writing for
|
|
1644
|
+
* the session, so an adapter never needs to swallow its own errors.
|
|
1639
1645
|
*/
|
|
1640
1646
|
type QueryPersistenceAdapter = {
|
|
1641
1647
|
/**
|
|
@@ -1643,7 +1649,10 @@ type QueryPersistenceAdapter = {
|
|
|
1643
1649
|
* at startup - the one bulk read there is.
|
|
1644
1650
|
*/
|
|
1645
1651
|
loadIndex: () => Promise<PersistedQueryEntryMeta[]>;
|
|
1646
|
-
/**
|
|
1652
|
+
/**
|
|
1653
|
+
* Reads a single body back with the `version` it was written under, or `null` when the store does
|
|
1654
|
+
* not hold that key.
|
|
1655
|
+
*/
|
|
1647
1656
|
read: (key: QueryKey) => Promise<PersistedQueryBody | null>;
|
|
1648
1657
|
/**
|
|
1649
1658
|
* Writes entries, replacing any it already holds under the same key. Called with a batch, since the
|
|
@@ -1694,7 +1703,7 @@ type QueryPersistenceConfig = {
|
|
|
1694
1703
|
storageName?: string;
|
|
1695
1704
|
/**
|
|
1696
1705
|
* The version of the *response shapes* this app persists. Every entry is written under it, and an
|
|
1697
|
-
* entry written under a different one is
|
|
1706
|
+
* entry written under a different one is never hydrated, and only removed once older than `maxAge`.
|
|
1698
1707
|
*
|
|
1699
1708
|
* Bump it in the same commit that changes what a response looks like - a renamed field, a different
|
|
1700
1709
|
* pagination envelope - so a returning user's disk copy cannot be handed to code that no longer
|
|
@@ -1783,6 +1792,11 @@ type QueryPersistenceEngine = {
|
|
|
1783
1792
|
clear: () => Promise<void>;
|
|
1784
1793
|
/** The metadata of everything the store holds, for the devtools. Bodies are not read. */
|
|
1785
1794
|
indexEntries: () => PersistedQueryEntryMeta[];
|
|
1795
|
+
/**
|
|
1796
|
+
* Holds persisted responses of secure queries back while `false` and hydrates what it held once it
|
|
1797
|
+
* turns `true`. Open by default; a bearer auth provider opens it only for an authenticated session.
|
|
1798
|
+
*/
|
|
1799
|
+
setSecureHydrationOpen: (isOpen: boolean) => void;
|
|
1786
1800
|
/** Stops listening, flushes one last time. */
|
|
1787
1801
|
destroy: () => void;
|
|
1788
1802
|
};
|
|
@@ -2064,13 +2078,15 @@ type QueryClientPersistenceFeature = {
|
|
|
2064
2078
|
devtools?: QueryDevtoolsFeatureDescriber;
|
|
2065
2079
|
};
|
|
2066
2080
|
/**
|
|
2067
|
-
* A feature that only installs error-pipeline behavior.
|
|
2068
|
-
*
|
|
2069
|
-
*
|
|
2081
|
+
* A feature that only installs error-pipeline behavior. Which body shapes are understood is a
|
|
2082
|
+
* property of the app and is registered process-wide; the retry policy belongs to the client that
|
|
2083
|
+
* asked for it and travels on `retryFn`.
|
|
2070
2084
|
*/
|
|
2071
2085
|
type QueryClientErrorPipelineFeature = {
|
|
2072
2086
|
type: typeof QueryClientFeatureType.HTML_ERROR_PARSING | typeof QueryClientFeatureType.SYMFONY_ERRORS | typeof QueryClientFeatureType.DEFAULT_RETRY | typeof QueryClientFeatureType.ETHLETE_API_ERRORS;
|
|
2073
2087
|
instance: null;
|
|
2088
|
+
/** The retry policy the client adopts unless it brings its own `retryFn`. */
|
|
2089
|
+
retryFn?: ShouldRetryRequestFn;
|
|
2074
2090
|
};
|
|
2075
2091
|
type QueryClientFeature = QueryClientMultiTabSyncFeature | QueryClientPersistenceFeature | QueryClientErrorPipelineFeature;
|
|
2076
2092
|
type QueryClientFeatureFn = (context: QueryClientFeatureContext) => QueryClientFeature;
|
|
@@ -2154,12 +2170,13 @@ declare const withHtmlErrorParsing: () => QueryClientFeatureFn;
|
|
|
2154
2170
|
*/
|
|
2155
2171
|
declare const withSymfonyErrors: () => QueryClientFeatureFn;
|
|
2156
2172
|
/**
|
|
2157
|
-
*
|
|
2173
|
+
* Gives this client the SDK's default retry policy for every request that does not bring its own `retryFn`: a
|
|
2158
2174
|
* connection failure, a 5xx above 500, a 408/425 and a 429 (honouring `retry-after`) are retried three
|
|
2159
2175
|
* times with an exponentially backing off, jittered delay - and a Pagerfanta out-of-range page never is.
|
|
2160
2176
|
*
|
|
2161
|
-
*
|
|
2162
|
-
*
|
|
2177
|
+
* The policy belongs to the client the feature is on, so another client of the same app is not
|
|
2178
|
+
* affected. Without it nothing is retried automatically and `error.retryState` always reads
|
|
2179
|
+
* `{ retry: false }`. A per-client or per-creator `retryFn` wins over it.
|
|
2163
2180
|
*
|
|
2164
2181
|
* @example
|
|
2165
2182
|
* const MY_CLIENT = createQueryClient({
|
|
@@ -2239,6 +2256,8 @@ type CreateQueryClientConfigOptions = {
|
|
|
2239
2256
|
* The retry function to use for the client.
|
|
2240
2257
|
* It determines if a request should be retried after it failed.
|
|
2241
2258
|
*
|
|
2259
|
+
* Wins over a {@link withDefaultRetry} feature on the same client.
|
|
2260
|
+
*
|
|
2242
2261
|
* @default the `withDefaultRetry()` policy, or no retry at all without that client feature
|
|
2243
2262
|
*/
|
|
2244
2263
|
retryFn?: ShouldRetryRequestFn;
|
|
@@ -2271,8 +2290,9 @@ type CreateQueryClientConfigOptions = {
|
|
|
2271
2290
|
* - {@link withDefaultRetry} retries connection failures, 5xx, 408/425 and 429,
|
|
2272
2291
|
* - {@link withEthleteApiErrors} is the three error features above in one.
|
|
2273
2292
|
*
|
|
2274
|
-
* Each feature may be used at most once. The error
|
|
2275
|
-
*
|
|
2293
|
+
* Each feature may be used at most once. The error **parsers** are installed process-wide rather
|
|
2294
|
+
* than per client - which body shapes an app understands is a property of the app - while the retry
|
|
2295
|
+
* policy stays on the client that asked for it.
|
|
2276
2296
|
*
|
|
2277
2297
|
* @example
|
|
2278
2298
|
* const MY_CLIENT = createQueryClient({
|
|
@@ -2608,7 +2628,15 @@ type HttpErrorEvent = {
|
|
|
2608
2628
|
*/
|
|
2609
2629
|
faulted?: boolean;
|
|
2610
2630
|
};
|
|
2611
|
-
|
|
2631
|
+
/**
|
|
2632
|
+
* A custom event marking an execution that was cancelled before it produced a response or an error -
|
|
2633
|
+
* the entry was evicted, unbound by a logout, or retained without consumers. Terminal for that
|
|
2634
|
+
* execution: everything the request already held is kept and a later `execute()` runs as usual.
|
|
2635
|
+
*/
|
|
2636
|
+
type HttpCancelEvent = {
|
|
2637
|
+
type: 'cancel';
|
|
2638
|
+
};
|
|
2639
|
+
type RequestHttpEvent<TArgs extends QueryArgs> = HttpEvent<ResponseType<TArgs>> | HttpErrorEvent | HttpCancelEvent;
|
|
2612
2640
|
declare const createHttpRequest: <TArgs extends QueryArgs>(options: CreateHttpRequestOptions<TArgs>) => HttpRequest<TArgs>;
|
|
2613
2641
|
|
|
2614
2642
|
type ObservableSignal<T> = Signal<T> & {
|
|
@@ -2740,13 +2768,22 @@ type BaseQueryCreatorFactoryOptions<TArgs extends QueryArgs, TOptions, TInternal
|
|
|
2740
2768
|
};
|
|
2741
2769
|
declare const createBaseQueryCreator: <TArgs extends QueryArgs, TOptions, TInternals>(config: BaseQueryCreatorFactoryOptions<TArgs, TOptions, TInternals>) => QueryCreator<TArgs>;
|
|
2742
2770
|
|
|
2771
|
+
/**
|
|
2772
|
+
* The envelope a GraphQL endpoint puts on the wire: whatever the args declare as `rawResponse`, or
|
|
2773
|
+
* `{ data: TResponse }` - the GraphQL-over-HTTP envelope the default unwrapping reads - when they
|
|
2774
|
+
* declare none.
|
|
2775
|
+
*/
|
|
2776
|
+
type GqlRawResponseType<TArgs extends GqlQueryArgs> = 'rawResponse' extends keyof TArgs ? RawResponseType<TArgs> : {
|
|
2777
|
+
data: ResponseType<TArgs>;
|
|
2778
|
+
};
|
|
2743
2779
|
type CreateGqlQueryCreatorOptions<TArgs extends GqlQueryArgs> = Omit<CreateQueryCreatorOptions<TArgs>, 'route' | 'transformResponse'> & {
|
|
2744
2780
|
route?: RouteType<TArgs>;
|
|
2745
2781
|
/**
|
|
2746
|
-
*
|
|
2747
|
-
*
|
|
2782
|
+
* Transforms the raw GraphQL response into the final response type. Optional: without one, the
|
|
2783
|
+
* `{ data: ... }` envelope is unwrapped - which is all the default does, so args declaring an
|
|
2784
|
+
* envelope the default cannot read need one.
|
|
2748
2785
|
*/
|
|
2749
|
-
transformResponse?:
|
|
2786
|
+
transformResponse?: (rawResponse: GqlRawResponseType<TArgs>) => ResponseType<TArgs>;
|
|
2750
2787
|
};
|
|
2751
2788
|
type AnyCreateGqlQueryCreatorOptions = CreateGqlQueryCreatorOptions<any>;
|
|
2752
2789
|
type GqlQueryMethod = 'QUERY' | 'MUTATE';
|
|
@@ -2768,9 +2805,7 @@ declare const isCreateGqlQueryOptions: <TArgs extends QueryArgs>(options: Create
|
|
|
2768
2805
|
|
|
2769
2806
|
type GqlQueryArgs<TResponse = unknown> = QueryArgs & {
|
|
2770
2807
|
response: TResponse;
|
|
2771
|
-
rawResponse?:
|
|
2772
|
-
data: TResponse;
|
|
2773
|
-
};
|
|
2808
|
+
rawResponse?: unknown;
|
|
2774
2809
|
variables?: Record<string, unknown>;
|
|
2775
2810
|
};
|
|
2776
2811
|
type CreateGqlQueryOptions<TArgs extends GqlQueryArgs> = Omit<CreateQueryOptions<TArgs>, 'creator' | 'creatorInternals'> & {
|
|
@@ -3198,20 +3233,27 @@ declare const createQueryBatch: <TCreator extends AnyQueryCreator, TItem>(option
|
|
|
3198
3233
|
|
|
3199
3234
|
declare const extractExpiresInSeconds: (headers: HttpHeaders) => number | null;
|
|
3200
3235
|
declare const shouldCacheQuery: (method: QueryMethod) => method is "GET" | "OPTIONS" | "HEAD";
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
declare const
|
|
3208
|
-
declare const injectQueryContext: () => QueryContext;
|
|
3236
|
+
/**
|
|
3237
|
+
* Builds the repository cache key for a request. `method` keeps two cacheable methods on one route
|
|
3238
|
+
* (a `HEAD` and an `OPTIONS`, a GraphQL query over POST and a plain `GET`) in separate entries.
|
|
3239
|
+
* Omitting it - or passing `GET` - yields the key a `GET` has always had, which is what persisted
|
|
3240
|
+
* entries written by an older version are stored under.
|
|
3241
|
+
*/
|
|
3242
|
+
declare const buildQueryCacheKey: (route: string, args: RequestArgs<QueryArgs> | undefined, method?: QueryMethod) => string;
|
|
3209
3243
|
|
|
3210
3244
|
type ConditionalOptions<TArgs extends QueryArgs> = RequiresTransform<TArgs> extends true ? [options: CreateQueryCreatorOptions<TArgs>] : [options?: CreateQueryCreatorOptions<TArgs>];
|
|
3211
3245
|
/** A query creator that creates a GET query */
|
|
3212
3246
|
declare const createGetQuery: (client: AnyCreateQueryClientResult) => <TArgs extends QueryArgs>(route: RouteType<TArgs>, ...args: ConditionalOptions<TArgs>) => QueryCreator<TArgs>;
|
|
3213
3247
|
/** A query creator that creates a secure GET query (requires authentication) */
|
|
3214
3248
|
declare const createSecureGetQuery: (client: AnyCreateQueryClientResult, authProvider: AnyCreateBearerAuthProviderResult) => <TArgs extends QueryArgs>(route: RouteType<TArgs>, ...args: ConditionalOptions<TArgs>) => QueryCreator<TArgs>;
|
|
3249
|
+
/** A query creator that creates a HEAD query */
|
|
3250
|
+
declare const createHeadQuery: (client: AnyCreateQueryClientResult) => <TArgs extends QueryArgs>(route: RouteType<TArgs>, ...args: ConditionalOptions<TArgs>) => QueryCreator<TArgs>;
|
|
3251
|
+
/** A query creator that creates a secure HEAD query (requires authentication) */
|
|
3252
|
+
declare const createSecureHeadQuery: (client: AnyCreateQueryClientResult, authProvider: AnyCreateBearerAuthProviderResult) => <TArgs extends QueryArgs>(route: RouteType<TArgs>, ...args: ConditionalOptions<TArgs>) => QueryCreator<TArgs>;
|
|
3253
|
+
/** A query creator that creates an OPTIONS query */
|
|
3254
|
+
declare const createOptionsQuery: (client: AnyCreateQueryClientResult) => <TArgs extends QueryArgs>(route: RouteType<TArgs>, ...args: ConditionalOptions<TArgs>) => QueryCreator<TArgs>;
|
|
3255
|
+
/** A query creator that creates a secure OPTIONS query (requires authentication) */
|
|
3256
|
+
declare const createSecureOptionsQuery: (client: AnyCreateQueryClientResult, authProvider: AnyCreateBearerAuthProviderResult) => <TArgs extends QueryArgs>(route: RouteType<TArgs>, ...args: ConditionalOptions<TArgs>) => QueryCreator<TArgs>;
|
|
3215
3257
|
/** A query creator that creates a POST query */
|
|
3216
3258
|
declare const createPostQuery: (client: AnyCreateQueryClientResult) => <TArgs extends QueryArgs>(route: RouteType<TArgs>, ...args: ConditionalOptions<TArgs>) => QueryCreator<TArgs>;
|
|
3217
3259
|
/** A query creator that creates a secure POST query (requires authentication) */
|
|
@@ -3289,11 +3331,6 @@ type QueryErrorParser = (detail: unknown, response: HttpErrorResponse) => string
|
|
|
3289
3331
|
* query client features - reach for this directly only for an API shape the SDK does not know.
|
|
3290
3332
|
*/
|
|
3291
3333
|
declare const registerQueryErrorParser: (parser: QueryErrorParser) => void;
|
|
3292
|
-
/**
|
|
3293
|
-
* Installs the retry policy used by every request that does not bring its own `retryFn`. Installed
|
|
3294
|
-
* by the {@link withDefaultRetry} query client feature; without it nothing is retried automatically.
|
|
3295
|
-
*/
|
|
3296
|
-
declare const setDefaultQueryRetryFn: (fn: ShouldRetryRequestFn) => void;
|
|
3297
3334
|
|
|
3298
3335
|
/**
|
|
3299
3336
|
* Recovers the sentence inside an HTML error page (a proxy's 502, a maintenance page) and drops the
|
|
@@ -3360,8 +3397,8 @@ declare const QueryRuntimeErrorCode: {
|
|
|
3360
3397
|
readonly PAGED_QUERY_STACK_PREVIOUS_PAGE_CALLED_BUT_ALREADY_AT_FIRST_PAGE: 402;
|
|
3361
3398
|
readonly QUERY_STACK_WITH_ARGS_USED: 500;
|
|
3362
3399
|
readonly QUERY_STACK_WITH_RESPONSE_UPDATE_USED: 501;
|
|
3363
|
-
readonly QUERY_STACK_TOTAL_QUERIES_AND_EXPECTED_QUERIES_MISMATCH: 502;
|
|
3364
3400
|
readonly GQL_DATA_PROPERTY_MISSING_IN_RESPONSE: 600;
|
|
3401
|
+
readonly GQL_ERRORS_IN_RESPONSE: 601;
|
|
3365
3402
|
readonly TOKENS_NOT_AVAILABLE_INSIDE_AUTH_AND_EXEC: 700;
|
|
3366
3403
|
readonly INVALID_STATE_INSIDE_SECURE_EXECUTE_FACTORY: 701;
|
|
3367
3404
|
readonly CIRCULAR_QUERY_DEPENDENCY: 800;
|
|
@@ -3375,7 +3412,7 @@ declare const QueryRuntimeErrorCode: {
|
|
|
3375
3412
|
readonly LEGACY_INVALID_BODY: 954;
|
|
3376
3413
|
};
|
|
3377
3414
|
type QueryRuntimeErrorCode = (typeof QueryRuntimeErrorCode)[keyof typeof QueryRuntimeErrorCode];
|
|
3378
|
-
declare const queryFeatureUsedMultipleTimes: (type:
|
|
3415
|
+
declare const queryFeatureUsedMultipleTimes: (type: string) => RuntimeError<0>;
|
|
3379
3416
|
declare const withArgsQueryFeatureMissingButRouteIsFunction: () => RuntimeError<100>;
|
|
3380
3417
|
declare const withPollingUsedOnUnsupportedHttpMethod: (method: string) => RuntimeError<101>;
|
|
3381
3418
|
declare const withAutoRefreshUsedOnUnsupportedHttpMethod: (method: string) => RuntimeError<102>;
|
|
@@ -3395,11 +3432,12 @@ declare const pagedQueryStackNextPageCalledWithoutPreviousPage: () => RuntimeErr
|
|
|
3395
3432
|
declare const pagedQueryStackPreviousPageCalledButAlreadyAtFirstPage: () => RuntimeError<402>;
|
|
3396
3433
|
declare const queryStackWithArgsUsed: () => RuntimeError<500>;
|
|
3397
3434
|
declare const queryStackWithResponseUpdateUsed: () => RuntimeError<501>;
|
|
3398
|
-
declare const queryStackTotalQueriesAndExpectedQueriesMismatch: (totalQueries: number, expectedQueries: number) => RuntimeError<502>;
|
|
3399
3435
|
declare const gqlDataPropertyMissingInResponse: () => RuntimeError<600>;
|
|
3436
|
+
declare const gqlErrorsInResponse: (errors: unknown[]) => HttpErrorResponse;
|
|
3400
3437
|
declare const tokensNotAvailableInsideAuthAndExec: () => RuntimeError<700>;
|
|
3401
3438
|
declare const invalidStateInsideSecureExecuteFactory: () => RuntimeError<701>;
|
|
3402
3439
|
declare const circularQueryDependency: () => RuntimeError<800>;
|
|
3440
|
+
declare const queryExecutedAfterDestroyMessage: (route: unknown) => string;
|
|
3403
3441
|
declare const legacyPrepareWithoutInjectionContext: (creatorName: string | undefined, method?: "prepare" | "createSubject" | "createSignal") => RuntimeError<950>;
|
|
3404
3442
|
declare const querySequenceAlreadyRunning: () => RuntimeError<900>;
|
|
3405
3443
|
declare const queryBatchAlreadyRunning: () => RuntimeError<910>;
|
|
@@ -3443,8 +3481,9 @@ type QuerySequenceResult<TResponses extends unknown[]> = {
|
|
|
3443
3481
|
type QuerySequence<TResponses extends unknown[]> = {
|
|
3444
3482
|
/**
|
|
3445
3483
|
* Appends a dependent step. `mapArgs` runs at {@link run} time and receives the previous step's
|
|
3446
|
-
*
|
|
3447
|
-
*
|
|
3484
|
+
* unwrapped response plus the typed tuple of all responses so far, so a later step can still reach
|
|
3485
|
+
* an earlier one's data. A step that settles with no body (`204`) passes `null`, so declare such a
|
|
3486
|
+
* step's `response` as nullable and the type follows.
|
|
3448
3487
|
*/
|
|
3449
3488
|
then: <TArgs extends QueryArgs>(query: Query<TArgs>, mapArgs: (previousResponse: LastOf<TResponses>, responses: TResponses) => QuerySequenceStepArgs<TArgs>) => QuerySequence<[...TResponses, ResponseType<TArgs>]>;
|
|
3450
3489
|
/** The current lifecycle phase - `idle` before the first run, then `running` → `success` | `error`. */
|
|
@@ -3460,7 +3499,7 @@ type QuerySequence<TResponses extends unknown[]> = {
|
|
|
3460
3499
|
* `<et-progress-bar [value]>` or a button's `[progress]`. A run that fails stops where it stopped.
|
|
3461
3500
|
*/
|
|
3462
3501
|
progress: Signal<number>;
|
|
3463
|
-
/** The
|
|
3502
|
+
/** The number of steps of the fully-built chain - every link built from the same seed reports it. */
|
|
3464
3503
|
total: number;
|
|
3465
3504
|
/** The query objects backing each step, in order. Useful for devtools / advanced introspection. */
|
|
3466
3505
|
queries: AnyNewQuery[];
|
|
@@ -3485,8 +3524,9 @@ type QuerySequence<TResponses extends unknown[]> = {
|
|
|
3485
3524
|
* succeed. Re-runnable (e.g. behind a retry button); throws {@link querySequenceAlreadyRunning}
|
|
3486
3525
|
* if a run is already in flight.
|
|
3487
3526
|
*
|
|
3488
|
-
* Cancellation
|
|
3489
|
-
*
|
|
3527
|
+
* Cancellation (inherited from `executeUntilSettled`): a step whose request is cancelled - a
|
|
3528
|
+
* destroyed host scope, an evicted cache entry - stops the waterfall like any other failure, with
|
|
3529
|
+
* an error that says the request was cancelled.
|
|
3490
3530
|
*/
|
|
3491
3531
|
run: () => Promise<QuerySequenceResult<TResponses>>;
|
|
3492
3532
|
};
|
|
@@ -3534,7 +3574,7 @@ type ServerValidationError = ValidationError.WithOptionalFieldTree & {
|
|
|
3534
3574
|
* Extracts the violation list from a failed request in any of the shapes it may reach you:
|
|
3535
3575
|
* a `QueryErrorResponse` (from `query.error()` or a settled snapshot), a raw `HttpErrorResponse`,
|
|
3536
3576
|
* an already-unwrapped error body, or a plain violation array. Returns `[]` when the error
|
|
3537
|
-
* carries no violations.
|
|
3577
|
+
* carries no violations, including when its `violations` field is not a list of violations.
|
|
3538
3578
|
*/
|
|
3539
3579
|
declare const extractFormViolations: (error: unknown) => FormViolationView[];
|
|
3540
3580
|
type MapViolationsToFormErrorsOptions<TModel> = {
|
|
@@ -3569,9 +3609,10 @@ type MapViolationsToFormErrorsOptions<TModel> = {
|
|
|
3569
3609
|
* Each violation's `propertyPath` (e.g. `items[2].name`) is resolved against `fieldTree`; a
|
|
3570
3610
|
* resolved violation becomes a `ServerViolationValidationError` bound to that field, an
|
|
3571
3611
|
* unresolved one becomes a form-level error (customizable via `onUnmappedViolation`). A failed
|
|
3572
|
-
* request that carries no violations at all
|
|
3573
|
-
* built from the normalized error message
|
|
3574
|
-
* `submit()` action never silently succeeds on failure
|
|
3612
|
+
* request that carries no usable violations - none at all, or a malformed violation payload -
|
|
3613
|
+
* degrades to form-level `ServerValidationError`s built from the normalized error message, so
|
|
3614
|
+
* returning this function's result from a `submit()` action never silently succeeds on failure
|
|
3615
|
+
* and never throws on an unexpected error shape.
|
|
3575
3616
|
*
|
|
3576
3617
|
* ```ts
|
|
3577
3618
|
* await submit(this.form, async (field) => {
|
|
@@ -3601,8 +3642,9 @@ declare const createQuerySnapshotFn: <TArgs extends QueryArgs>(options: CreateQu
|
|
|
3601
3642
|
* Designed for imperative flows that need a mutation's outcome in place - e.g. a signal-forms
|
|
3602
3643
|
* `submit()` action mapping server violations onto the form via `mapViolationsToFormErrors`.
|
|
3603
3644
|
*
|
|
3604
|
-
*
|
|
3605
|
-
*
|
|
3645
|
+
* A cancelled execution settles too - the entry was evicted, unbound by a logout, or the scope that
|
|
3646
|
+
* owns the query was destroyed. The snapshot then reports the execution as a failure whose error
|
|
3647
|
+
* says the request was cancelled, and its `latestHttpEvent()` is `{ type: 'cancel' }`.
|
|
3606
3648
|
*/
|
|
3607
3649
|
declare const executeUntilSettled: <TArgs extends QueryArgs>(query: Query<TArgs>, executeArgs?: QueryExecuteArgs<TArgs>) => Promise<QuerySnapshot<TArgs>>;
|
|
3608
3650
|
|
|
@@ -3766,7 +3808,7 @@ type CreateQuerySubmissionConfig<TCreator extends AnyQueryCreator, TModel> = {
|
|
|
3766
3808
|
* Runs after the request succeeded, before the action resolves and the form leaves its submitting
|
|
3767
3809
|
* state - notify, close the overlay, navigate.
|
|
3768
3810
|
*/
|
|
3769
|
-
onSuccess?: (response:
|
|
3811
|
+
onSuccess?: (response: ResponseType<QueryArgsOf<TCreator>>, field: FieldTree<TModel>) => void;
|
|
3770
3812
|
/**
|
|
3771
3813
|
* Rewrites a violation's property path before it is resolved against the field tree - use it when
|
|
3772
3814
|
* the API's payload shape differs from the form model. Return `null` to leave the violation
|
|
@@ -3775,7 +3817,8 @@ type CreateQuerySubmissionConfig<TCreator extends AnyQueryCreator, TModel> = {
|
|
|
3775
3817
|
rewritePath?: (path: string, violation: FormViolationView) => string | null;
|
|
3776
3818
|
/**
|
|
3777
3819
|
* Override the default violation → error mapping. Receives the failed request's error; return the
|
|
3778
|
-
* errors to report
|
|
3820
|
+
* errors to report, used as-is - `null` / `undefined` attaches nothing. Defaults to
|
|
3821
|
+
* `mapViolationsToFormErrors` against the submitted field.
|
|
3779
3822
|
*/
|
|
3780
3823
|
mapViolations?: (error: unknown, field: FieldTree<TModel>) => TreeValidationResult;
|
|
3781
3824
|
};
|
|
@@ -3845,7 +3888,9 @@ type SecureExecuteFactoryOptions<TArgs extends QueryArgs> = {
|
|
|
3845
3888
|
* provider function, not resolved headers - it must be passed through to the repository as-is, or
|
|
3846
3889
|
* the request freezes the access token it was first built with.
|
|
3847
3890
|
*/
|
|
3848
|
-
transformAuthAndExec: (executeArgs: QueryExecuteArgs<TArgs>
|
|
3891
|
+
transformAuthAndExec: (executeArgs: QueryExecuteArgs<TArgs> & {
|
|
3892
|
+
args: RequestArgs<TArgs>;
|
|
3893
|
+
}, executeState: ReturnType<typeof setupQueryExecuteState>) => void;
|
|
3849
3894
|
};
|
|
3850
3895
|
declare const createSecureExecuteFactory: <TArgs extends QueryArgs>(options: SecureExecuteFactoryOptions<TArgs>) => InternalQueryExecute<TArgs>;
|
|
3851
3896
|
|
|
@@ -3871,6 +3916,7 @@ type ValidateWithQueryConfig<TCreator extends AnyQueryCreator, TValue, TPathKind
|
|
|
3871
3916
|
/**
|
|
3872
3917
|
* Override the default violation → error mapping. Receives the violations extracted from the
|
|
3873
3918
|
* failed request; return the errors to report (targeting child fields via their `fieldTree`).
|
|
3919
|
+
* Runs only for a request that carries violations - any other error keeps the form-level error.
|
|
3874
3920
|
* Defaults to `mapViolationsToFormErrors`, resolving each violation's `propertyPath` against the
|
|
3875
3921
|
* validated field.
|
|
3876
3922
|
*/
|
|
@@ -4307,6 +4353,12 @@ type TokenExpirationWarningConfig = {
|
|
|
4307
4353
|
* @default 1000 (1 second)
|
|
4308
4354
|
*/
|
|
4309
4355
|
checkInterval?: number;
|
|
4356
|
+
/**
|
|
4357
|
+
* Name of the claim in the decoded access token that carries the expiry, as seconds since the epoch.
|
|
4358
|
+
* Must match the `expiresInPropertyName` of the refresh query.
|
|
4359
|
+
* @default 'exp'
|
|
4360
|
+
*/
|
|
4361
|
+
expiresInPropertyName?: string;
|
|
4310
4362
|
};
|
|
4311
4363
|
type TokenExpirationWarningFeature = {
|
|
4312
4364
|
/**
|
|
@@ -4410,12 +4462,14 @@ type LeaderInstanceCountChangeEventData = {
|
|
|
4410
4462
|
count: number;
|
|
4411
4463
|
};
|
|
4412
4464
|
type TrackingEventDataMap<TBuilders extends readonly AnyQueryBuilder[]> = {
|
|
4413
|
-
[K in TrackingEventName<TBuilders>]: K extends
|
|
4465
|
+
[K in TrackingEventName<TBuilders>]: K extends 'tokenRefreshSuccess' ? TokenRefreshEventData : K extends 'logout' ? LogoutEventData : K extends 'leaderStatusChange' ? LeaderStatusChangeEventData : K extends 'leaderInstanceCountChange' ? LeaderInstanceCountChangeEventData : K extends `${string}Execute` ? QueryExecuteEventData<ExtractArgsForEvent<TBuilders, K>> : K extends `${string}Success` ? QuerySuccessEventData<ExtractArgsForEvent<TBuilders, K>> : K extends `${string}Failure` ? QueryFailureEventData : never;
|
|
4414
4466
|
};
|
|
4415
4467
|
type TrackingEventHandler<TData> = (data: TData) => void;
|
|
4416
4468
|
type TrackingConfig<TBuilders extends readonly AnyQueryBuilder[] = readonly AnyQueryBuilder[]> = {
|
|
4417
4469
|
/**
|
|
4418
|
-
* Whether
|
|
4470
|
+
* Whether executions the provider starts itself - the persistent auto-login, the proactive token
|
|
4471
|
+
* refresh, the token revocation - also raise their `<key>Execute` / `<key>Success` / `<key>Failure`
|
|
4472
|
+
* events.
|
|
4419
4473
|
* @default true
|
|
4420
4474
|
*/
|
|
4421
4475
|
trackInternalEvents?: boolean;
|
|
@@ -4562,10 +4616,19 @@ type BearerAuthProviderEarlySetupContext = {
|
|
|
4562
4616
|
* `withBearerAuthMultiTabSync`; absent when every tab refreshes for itself.
|
|
4563
4617
|
*/
|
|
4564
4618
|
type BearerAuthRefreshCoordination = {
|
|
4565
|
-
/**
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4619
|
+
/**
|
|
4620
|
+
* Asks the leader tab to refresh the session's tokens now, with the access token this tab holds. The
|
|
4621
|
+
* leader answers a request made with a token it has already rotated past by sending its current pair
|
|
4622
|
+
* instead of spending another refresh token.
|
|
4623
|
+
*/
|
|
4624
|
+
request: (accessToken?: string | null) => void;
|
|
4625
|
+
/**
|
|
4626
|
+
* Emits in the leader tab whenever another tab asked for a refresh, carrying the access token that
|
|
4627
|
+
* tab asked with - `null` when it held none, or ran a version that did not send one.
|
|
4628
|
+
*/
|
|
4629
|
+
requests$: Observable<string | null>;
|
|
4630
|
+
/** Sends the token pair this tab holds to the others, which is how a request is answered without a refresh. */
|
|
4631
|
+
answerWithCurrentTokens?: () => void;
|
|
4569
4632
|
/**
|
|
4570
4633
|
* Tells the other tabs that a refresh started here. It is what makes {@link request} more than a
|
|
4571
4634
|
* message into the void: a follower that gets no answer takes the refresh over itself, so a leader
|
|
@@ -5245,7 +5308,8 @@ type QueryDevtoolsSettings = {
|
|
|
5245
5308
|
/**
|
|
5246
5309
|
* The session vault: the token pairs the panel switches between, and the credentials it logs in with.
|
|
5247
5310
|
* `local` by default, because a vault that forgets the other user on every reload is not one - and
|
|
5248
|
-
* `none` for a machine where nothing of the sort may be kept.
|
|
5311
|
+
* `none` for a machine where nothing of the sort may be kept. Outside a development build `local` is
|
|
5312
|
+
* refused and read back as `session`, see {@link queryDevtoolsAllowsLocalAuthSessions}.
|
|
5249
5313
|
*/
|
|
5250
5314
|
authSessions: QueryDevtoolsStorageScope;
|
|
5251
5315
|
/** How many entries the Events log keeps. */
|
|
@@ -5297,6 +5361,15 @@ declare const writeQueryDevtoolsStore: (scope: QueryDevtoolsStorageScope, key: s
|
|
|
5297
5361
|
* Part of the devtools contract. **Not part of the general public contract.**
|
|
5298
5362
|
*/
|
|
5299
5363
|
declare const clearQueryDevtoolsStore: (key: string) => void;
|
|
5364
|
+
/**
|
|
5365
|
+
* Whether the session vault may be kept in `localStorage`. Only a development build may: the vault
|
|
5366
|
+
* holds live access and refresh tokens plus the credentials somebody typed in, and a deployed
|
|
5367
|
+
* application that mounts the panel for its debugging value must not leave those on the machine of
|
|
5368
|
+
* whoever opened it. Every other scope stays on offer, so the vault still works for one tab.
|
|
5369
|
+
*
|
|
5370
|
+
* Part of the devtools contract. **Not part of the general public contract.**
|
|
5371
|
+
*/
|
|
5372
|
+
declare const queryDevtoolsAllowsLocalAuthSessions: () => boolean;
|
|
5300
5373
|
/**
|
|
5301
5374
|
* Changes part of the devtools configuration and stores it. Values outside the range a field allows are
|
|
5302
5375
|
* clamped rather than rejected.
|
|
@@ -5575,6 +5648,15 @@ type QueryDevtoolsRegistration = {
|
|
|
5575
5648
|
};
|
|
5576
5649
|
/** The registry {@link provideQueryDevtools} installs. */
|
|
5577
5650
|
type QueryDevtoolsRegistrar = (entry: QueryDevtoolsRegistration) => () => void;
|
|
5651
|
+
/**
|
|
5652
|
+
* Whether `provideQueryDevtools()` has been called on this page. When `false` every instrumentation
|
|
5653
|
+
* site is a no-op, which is what a devtools UI gates itself on so a build that omits the provider
|
|
5654
|
+
* renders nothing.
|
|
5655
|
+
*
|
|
5656
|
+
* It is answered by the `provideQueryDevtools()` call itself, which runs while the providers array is
|
|
5657
|
+
* built - so it is already settled by the time an application bootstraps and needs no signal.
|
|
5658
|
+
*/
|
|
5659
|
+
declare const isQueryDevtoolsEnabled: () => boolean;
|
|
5578
5660
|
/** The request an upcoming attempt belongs to, for the fault resolver to match against. */
|
|
5579
5661
|
type QueryDevtoolsFaultTarget = {
|
|
5580
5662
|
/** Display name of the owning query client. Faults are armed per client. */
|
|
@@ -5641,6 +5723,17 @@ type QueryDevtoolsAuthSeed = {
|
|
|
5641
5723
|
refreshToken: string;
|
|
5642
5724
|
};
|
|
5643
5725
|
|
|
5726
|
+
/**
|
|
5727
|
+
* Whether the client that owns a repository is still alive. A destroyed client's queries survive as
|
|
5728
|
+
* tombstones, which keep their `meta.repository`, so this is the only way to tell a dead client from
|
|
5729
|
+
* one whose queries all happen to be destroyed.
|
|
5730
|
+
*
|
|
5731
|
+
* Reads a version signal, so a computed that calls it recomputes as clients come and go.
|
|
5732
|
+
*
|
|
5733
|
+
* Part of the devtools contract. **Not part of the general public contract.**
|
|
5734
|
+
*/
|
|
5735
|
+
declare const isQueryDevtoolsRepositoryLive: (repository: QueryRepository) => boolean;
|
|
5736
|
+
|
|
5644
5737
|
/**
|
|
5645
5738
|
* A response designed in the devtools panel and served in place of a request. An override edits what came
|
|
5646
5739
|
* back; a mock replaces the request itself, so it can be armed for a route that has never run - or does
|
|
@@ -6035,6 +6128,9 @@ type QueryDevtoolsOptions = {
|
|
|
6035
6128
|
* When omitted, all devtools instrumentation is a no-op: the registry is never installed, so nothing
|
|
6036
6129
|
* is retained at runtime and the registry itself is dropped from the bundle.
|
|
6037
6130
|
*
|
|
6131
|
+
* The options are read once, on the first call. A second application on the same page keeps the
|
|
6132
|
+
* options of the first one, and this call warns about the ones it declared itself.
|
|
6133
|
+
*
|
|
6038
6134
|
* @example
|
|
6039
6135
|
* ```ts
|
|
6040
6136
|
* bootstrapApplication(AppComponent, {
|
|
@@ -6126,8 +6222,9 @@ declare const MAX_QUERY_BATCH_TOMBSTONES = 20;
|
|
|
6126
6222
|
declare const snapshotQueryDevtoolsHandle: (handle: unknown) => unknown;
|
|
6127
6223
|
/**
|
|
6128
6224
|
* The entry a destroyed query leaves behind: the same id, kind and metadata, a frozen
|
|
6129
|
-
* {@link snapshotQueryDevtoolsHandle} in place of the live query, and
|
|
6130
|
-
* component is gone
|
|
6225
|
+
* {@link snapshotQueryDevtoolsHandle} in place of the live query, and neither `element` nor
|
|
6226
|
+
* `queryConfig.injector` - a DOM node whose component is gone, and the `NodeInjector` that reaches the
|
|
6227
|
+
* same view through its `LView`, must not be kept alive by the panel.
|
|
6131
6228
|
*
|
|
6132
6229
|
* `stats` is carried over as-is. The recorder closes over its own signals rather than over the query,
|
|
6133
6230
|
* so the run history that makes a failed request readable survives without retaining anything.
|
|
@@ -6150,10 +6247,15 @@ declare const setQueryDevtoolsUiMounted: (isMounted: boolean) => void;
|
|
|
6150
6247
|
|
|
6151
6248
|
type TransformedGqlQuery = {
|
|
6152
6249
|
query: string;
|
|
6153
|
-
variables?: string
|
|
6250
|
+
variables?: string | Record<string, unknown>;
|
|
6154
6251
|
operationName?: string;
|
|
6155
6252
|
};
|
|
6156
|
-
type GqlTransformer = (variables: Record<string, unknown> | null | undefined) => TransformedGqlQuery;
|
|
6253
|
+
type GqlTransformer = (variables: Record<string, unknown> | null | undefined, transport?: GqlQueryTransport) => TransformedGqlQuery;
|
|
6254
|
+
/**
|
|
6255
|
+
* Builds the GraphQL-over-HTTP payload of a document. `variables` comes back as a JSON string for
|
|
6256
|
+
* the `GET` transport (the default), where the payload travels as query parameters, and as the map
|
|
6257
|
+
* itself for `POST`, where it travels as a JSON body.
|
|
6258
|
+
*/
|
|
6157
6259
|
declare const transformGql: (str: string | string[]) => GqlTransformer;
|
|
6158
6260
|
type GQL = string & {
|
|
6159
6261
|
readonly __gql: unique symbol;
|
|
@@ -6412,6 +6514,32 @@ type RequestEvent<Response = unknown> = {
|
|
|
6412
6514
|
*/
|
|
6413
6515
|
declare const request: <Response = unknown>(config: RequestConfig) => Observable<RequestEvent<Response>>;
|
|
6414
6516
|
|
|
6517
|
+
/**
|
|
6518
|
+
* @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.
|
|
6519
|
+
*/
|
|
6520
|
+
declare const buildQueryString: (params: _ethlete_query.QueryParams, config?: _ethlete_query.BuildQueryStringConfig) => string | null;
|
|
6521
|
+
/**
|
|
6522
|
+
* @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.
|
|
6523
|
+
*/
|
|
6524
|
+
declare const buildRoute: (options: {
|
|
6525
|
+
base: string;
|
|
6526
|
+
route: RouteInput | null | undefined;
|
|
6527
|
+
pathParams?: _ethlete_query.PathParams;
|
|
6528
|
+
queryParams?: _ethlete_query.QueryParams;
|
|
6529
|
+
queryParamConfig?: _ethlete_query.BuildQueryStringConfig;
|
|
6530
|
+
}) => string;
|
|
6531
|
+
/**
|
|
6532
|
+
* @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.
|
|
6533
|
+
*/
|
|
6534
|
+
declare const buildTimestampFromSeconds: (seconds: number | null) => number | null;
|
|
6535
|
+
/**
|
|
6536
|
+
* @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.
|
|
6537
|
+
*/
|
|
6538
|
+
declare const isEmptyString: (value: unknown) => boolean;
|
|
6539
|
+
/**
|
|
6540
|
+
* @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.
|
|
6541
|
+
*/
|
|
6542
|
+
declare const isNaN: (value: unknown) => boolean;
|
|
6415
6543
|
/**
|
|
6416
6544
|
* @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.
|
|
6417
6545
|
*/
|
|
@@ -6481,11 +6609,12 @@ type QueryFieldOptions<T = unknown> = {
|
|
|
6481
6609
|
/**
|
|
6482
6610
|
* Append the field's value to the url.
|
|
6483
6611
|
*
|
|
6484
|
-
* The field
|
|
6485
|
-
*
|
|
6486
|
-
*
|
|
6487
|
-
*
|
|
6488
|
-
*
|
|
6612
|
+
* The field is removed from the url while it holds its default value, unless
|
|
6613
|
+
* `appendDefaultValueToUrl` is `true`. Any other value is written - a `null` as the `ET_NULL__`
|
|
6614
|
+
* sentinel it reads back from, an empty string as an empty param.
|
|
6615
|
+
*
|
|
6616
|
+
* `false` means the field mirrors a param another owner writes: the form neither writes nor
|
|
6617
|
+
* removes that param, and a foreign write to it still reaches the field.
|
|
6489
6618
|
*
|
|
6490
6619
|
* @default true
|
|
6491
6620
|
*/
|
|
@@ -6560,6 +6689,7 @@ type QueryFormGroupControls<T extends Record<string, QueryField<any>>> = {
|
|
|
6560
6689
|
type QueryFormValue<T extends Record<string, QueryField<any>>> = {
|
|
6561
6690
|
[Property in keyof T]: T[Property]['control']['value'];
|
|
6562
6691
|
};
|
|
6692
|
+
/** @deprecated Use `defineQueryForm`. */
|
|
6563
6693
|
type QueryFormOf<T extends FormGroup> = {
|
|
6564
6694
|
[K in keyof T['controls']]: QueryField<T['controls'][K]['value']>;
|
|
6565
6695
|
};
|
|
@@ -6687,6 +6817,7 @@ type QueryFormOptions = {
|
|
|
6687
6817
|
*/
|
|
6688
6818
|
queryParamPrefix?: string | (() => string);
|
|
6689
6819
|
};
|
|
6820
|
+
/** @deprecated Use `defineQueryForm`. */
|
|
6690
6821
|
type AnyQueryForm = QueryForm<any>;
|
|
6691
6822
|
/** @deprecated Use `defineQueryForm`. */
|
|
6692
6823
|
declare class QueryForm<T extends Record<string, QueryField<any>>> {
|
|
@@ -6702,6 +6833,8 @@ declare class QueryForm<T extends Record<string, QueryField<any>>> {
|
|
|
6702
6833
|
private isObserving;
|
|
6703
6834
|
private removeQueryParamsOnCleanup;
|
|
6704
6835
|
private skipNextResets;
|
|
6836
|
+
private skipNextDebounce;
|
|
6837
|
+
private skipNextResetsFor;
|
|
6705
6838
|
private urlWriteVersion;
|
|
6706
6839
|
private readonly urlNavigationMarker;
|
|
6707
6840
|
private queryParamChanges$;
|
|
@@ -6750,6 +6883,7 @@ declare class QueryForm<T extends Record<string, QueryField<any>>> {
|
|
|
6750
6883
|
unobserve(): void;
|
|
6751
6884
|
setFormValueFromUrlQueryParams(options: {
|
|
6752
6885
|
queryParams: Record<string, unknown>;
|
|
6886
|
+
onlyFieldsTheFormNeverWrites?: boolean;
|
|
6753
6887
|
}): boolean;
|
|
6754
6888
|
setValue(value: QueryFormValue<T>, options?: QueryFormWriteOptions): void;
|
|
6755
6889
|
patchValue(value: Partial<QueryFormValue<T>>, options?: QueryFormWriteOptions): void;
|
|
@@ -6769,6 +6903,8 @@ declare class QueryForm<T extends Record<string, QueryField<any>>> {
|
|
|
6769
6903
|
private _syncViaUrlQueryParams;
|
|
6770
6904
|
private handleFormChange;
|
|
6771
6905
|
private cleanup;
|
|
6906
|
+
private navigateWithParams;
|
|
6907
|
+
private pathOf;
|
|
6772
6908
|
}
|
|
6773
6909
|
|
|
6774
6910
|
/**
|
|
@@ -6787,6 +6923,10 @@ declare class QueryForm<T extends Record<string, QueryField<any>>> {
|
|
|
6787
6923
|
* requests, which is data bleed rather than a leak. Server-side renders keep throwing `ET950`, so a call
|
|
6788
6924
|
* site that only works in the browser fails loudly where it matters.
|
|
6789
6925
|
*
|
|
6926
|
+
* With several applications on one page it stays a single module-global slot: the application that
|
|
6927
|
+
* provided it first answers every `prepare()` made outside an injection context, whichever application
|
|
6928
|
+
* made the call, until that application is destroyed. Dev mode warns when a second one registers.
|
|
6929
|
+
*
|
|
6790
6930
|
* Prefer passing `injector` at the call site - it keeps the query scoped to whatever created it. Reach for
|
|
6791
6931
|
* this when a migration has too many call sites to thread by hand.
|
|
6792
6932
|
*
|
|
@@ -6810,7 +6950,7 @@ type CreateLegacyQueryOptions<TArgs extends QueryArgs> = {
|
|
|
6810
6950
|
/**
|
|
6811
6951
|
* @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.
|
|
6812
6952
|
*/
|
|
6813
|
-
declare const transformExecStateToQueryState: <TArgs extends QueryArgs>(execState: QueryExecutionState<TArgs> | null) => V2QueryState<ResponseType<TArgs>>;
|
|
6953
|
+
declare const transformExecStateToQueryState: <TArgs extends QueryArgs>(execState: QueryExecutionState<TArgs> | null, triggeredVia?: QueryTrigger) => V2QueryState<ResponseType<TArgs>>;
|
|
6814
6954
|
/**
|
|
6815
6955
|
* @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.
|
|
6816
6956
|
*/
|
|
@@ -6827,6 +6967,8 @@ declare class LegacyQuery<Response, Arguments extends BaseArguments | undefined,
|
|
|
6827
6967
|
_arguments: RequestArgs<QueryArgsOf<TNewQuery>>;
|
|
6828
6968
|
entity?: QueryEntityConfig<Store, Data, Response, Arguments, Id> | undefined;
|
|
6829
6969
|
private isDestroyed;
|
|
6970
|
+
private _triggeredVia;
|
|
6971
|
+
private _wasAborted;
|
|
6830
6972
|
state$: Observable<V2QueryState<Data>>;
|
|
6831
6973
|
constructor(newQuery: TNewQuery, _arguments: RequestArgs<QueryArgsOf<TNewQuery>>, entity?: QueryEntityConfig<Store, Data, Response, Arguments, Id> | undefined,
|
|
6832
6974
|
/**
|
|
@@ -6843,7 +6985,12 @@ declare class LegacyQuery<Response, Arguments extends BaseArguments | undefined,
|
|
|
6843
6985
|
* @internal
|
|
6844
6986
|
*/
|
|
6845
6987
|
_canBeCached?: boolean);
|
|
6846
|
-
get rawState(): V2QueryState<
|
|
6988
|
+
get rawState(): V2QueryState<ResponseType<QueryArgsOf<TNewQuery>>>;
|
|
6989
|
+
/**
|
|
6990
|
+
* `abort()` resets the underlying query, so it holds no execution state - the shape of a query that has
|
|
6991
|
+
* never run. The abort flag is the only thing that tells the two apart.
|
|
6992
|
+
*/
|
|
6993
|
+
private toQueryState;
|
|
6847
6994
|
get isExpired(): boolean | undefined;
|
|
6848
6995
|
get isInUse(): boolean;
|
|
6849
6996
|
get isPolling(): boolean;
|
|
@@ -7366,7 +7513,7 @@ type WithMock<MockResponse> = {
|
|
|
7366
7513
|
*/
|
|
7367
7514
|
type V2QueryConfig = {
|
|
7368
7515
|
/**
|
|
7369
|
-
* Whether this query should be
|
|
7516
|
+
* Whether this query should be kept out of the internal query store, so it is neither cached nor shared.
|
|
7370
7517
|
*
|
|
7371
7518
|
* Generally this should be left on `false` unless you know what you are doing.
|
|
7372
7519
|
* @default false
|
|
@@ -7639,6 +7786,7 @@ declare class V2Query<Response, Arguments extends BaseArguments | undefined, Rou
|
|
|
7639
7786
|
private pollingSubscription;
|
|
7640
7787
|
private onAbort$;
|
|
7641
7788
|
private currentPollConfig;
|
|
7789
|
+
private pollStopSubscription;
|
|
7642
7790
|
private memoizedState$;
|
|
7643
7791
|
private readonly _state$;
|
|
7644
7792
|
constructor(_client: V2QueryClient,
|
|
@@ -7967,9 +8115,13 @@ declare class V2QueryClient {
|
|
|
7967
8115
|
*/
|
|
7968
8116
|
declare const v2ShouldCacheQuery: (method: Method) => method is "GET" | "OPTIONS" | "HEAD" | "GQL_QUERY";
|
|
7969
8117
|
/**
|
|
8118
|
+
* Builds the query store key for a request. `method` keeps two cacheable methods on one route
|
|
8119
|
+
* (a `HEAD` and an `OPTIONS`, a `GQL_QUERY` over POST and a plain `GET`) in separate entries.
|
|
8120
|
+
* Omitting it - or passing `GET` - yields the key a `GET` has always had.
|
|
8121
|
+
*
|
|
7970
8122
|
* @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.
|
|
7971
8123
|
*/
|
|
7972
|
-
declare const v2BuildQueryCacheKey: (route: string, args: BaseArguments | undefined) => string;
|
|
8124
|
+
declare const v2BuildQueryCacheKey: (route: string, args: BaseArguments | undefined, method?: Method) => string;
|
|
7973
8125
|
|
|
7974
8126
|
/**
|
|
7975
8127
|
* @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.
|
|
@@ -7979,6 +8131,8 @@ declare class QueryStore {
|
|
|
7979
8131
|
private garbageCollector;
|
|
7980
8132
|
private isInLowResourceMode;
|
|
7981
8133
|
private lastBlurTimestamp;
|
|
8134
|
+
private isDestroyed;
|
|
8135
|
+
private readonly subscriptions;
|
|
7982
8136
|
private _storeChange$;
|
|
7983
8137
|
private _queryCreated$;
|
|
7984
8138
|
readonly storeChange$: rxjs.Observable<string>;
|
|
@@ -8241,6 +8395,7 @@ declare class BasicAuthProvider implements AuthProvider {
|
|
|
8241
8395
|
declare class V2BearerAuthProvider<T extends AnyV2QueryCreator> implements AuthProvider {
|
|
8242
8396
|
_config: AuthProviderBearerConfig<T>;
|
|
8243
8397
|
private destroy$;
|
|
8398
|
+
private refreshTimerSubscription;
|
|
8244
8399
|
private readonly _currentRefreshQuery$;
|
|
8245
8400
|
private readonly _tokens$;
|
|
8246
8401
|
constructor(_config: AuthProviderBearerConfig<T>);
|
|
@@ -8250,7 +8405,9 @@ declare class V2BearerAuthProvider<T extends AnyV2QueryCreator> implements AuthP
|
|
|
8250
8405
|
get currentRefreshQuery$(): rxjs.Observable<ConstructQuery<T> | null>;
|
|
8251
8406
|
get currentRefreshQuery(): ConstructQuery<T> | null;
|
|
8252
8407
|
get shouldRefreshOnUnauthorizedResponse(): boolean;
|
|
8253
|
-
cleanUp(
|
|
8408
|
+
cleanUp(options?: {
|
|
8409
|
+
endSession?: boolean;
|
|
8410
|
+
}): void;
|
|
8254
8411
|
enableCookie(): void;
|
|
8255
8412
|
disableCookie(): void;
|
|
8256
8413
|
forceRefresh(): _ethlete_query.V2Query<any, any, any, any, any, any> | undefined;
|
|
@@ -8271,6 +8428,10 @@ declare const isBearerAuthProvider: <T extends AnyV2QueryCreator>(authProvider:
|
|
|
8271
8428
|
* @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.
|
|
8272
8429
|
*/
|
|
8273
8430
|
declare const isCustomHeaderAuthProvider: (authProvider: AuthProvider) => authProvider is CustomHeaderAuthProvider;
|
|
8431
|
+
/**
|
|
8432
|
+
* @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.
|
|
8433
|
+
*/
|
|
8434
|
+
declare const decryptBearer: <Result = Record<string, unknown>>(token: string) => Result | null;
|
|
8274
8435
|
|
|
8275
8436
|
/**
|
|
8276
8437
|
* @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.
|
|
@@ -8498,6 +8659,11 @@ type InfinityQueryConfig<QueryCreator extends AnyV2QueryCreator | AnyLegacyQuery
|
|
|
8498
8659
|
* The args that will be merged with the page arg.
|
|
8499
8660
|
*/
|
|
8500
8661
|
defaultArgs?: Arguments & WithHeaders;
|
|
8662
|
+
/**
|
|
8663
|
+
* The injector each page is prepared with. Required for a creator made by `createLegacyQueryCreator()`, which
|
|
8664
|
+
* cannot resolve one on its own. `[etInfinityQuery]` fills this in with its own injector.
|
|
8665
|
+
*/
|
|
8666
|
+
injector?: Injector;
|
|
8501
8667
|
/**
|
|
8502
8668
|
* Enables or disables the infinite query functionality.
|
|
8503
8669
|
* @default true
|
|
@@ -8652,7 +8818,7 @@ type DirectiveQueryCreator = AnyV2QueryCreator | AnyLegacyQueryCreator;
|
|
|
8652
8818
|
/**
|
|
8653
8819
|
* @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.
|
|
8654
8820
|
*/
|
|
8655
|
-
declare class InfinityQueryDirective<Q extends InfinityQueryConfig<DirectiveQueryCreator, BaseArguments | undefined, any, unknown[]>> {
|
|
8821
|
+
declare class InfinityQueryDirective<Q extends InfinityQueryConfig<DirectiveQueryCreator, BaseArguments | undefined, any, unknown[]>> implements OnInit {
|
|
8656
8822
|
private readonly queryConfigChanged$;
|
|
8657
8823
|
private readonly viewContext;
|
|
8658
8824
|
private infinityQueryInstance;
|
|
@@ -8661,6 +8827,7 @@ declare class InfinityQueryDirective<Q extends InfinityQueryConfig<DirectiveQuer
|
|
|
8661
8827
|
private viewContainerRef;
|
|
8662
8828
|
private mainTemplateRef;
|
|
8663
8829
|
private errorHandler;
|
|
8830
|
+
private injector;
|
|
8664
8831
|
private infinityQueryResponseDelay;
|
|
8665
8832
|
private readonly _data$;
|
|
8666
8833
|
get infinityQuery(): Q;
|
|
@@ -8671,7 +8838,7 @@ declare class InfinityQueryDirective<Q extends InfinityQueryConfig<DirectiveQuer
|
|
|
8671
8838
|
get data$(): rxjs.Observable<Q["response"]["arrayType"]>;
|
|
8672
8839
|
data: _angular_core.Signal<Q["response"]["arrayType"]>;
|
|
8673
8840
|
static ngTemplateContextGuard<Q extends InfinityQueryConfig<DirectiveQueryCreator, BaseArguments | undefined, any, unknown[]>>(_dir: InfinityQueryDirective<Q>, _ctx: unknown): _ctx is InfinityQueryContext<Q>;
|
|
8674
|
-
|
|
8841
|
+
ngOnInit(): void;
|
|
8675
8842
|
private setupInfinityQuery;
|
|
8676
8843
|
loadNextPage(): void;
|
|
8677
8844
|
reset(newConfig?: Omit<Q, 'queryCreator' | 'response'>): void;
|
|
@@ -8690,6 +8857,7 @@ declare class InfinityQueryTriggerDirective implements OnInit, OnDestroy {
|
|
|
8690
8857
|
infinityQueryOverride: _angular_core.InputSignal<InfinityQueryDirective<any> | null>;
|
|
8691
8858
|
private destroy;
|
|
8692
8859
|
private observer;
|
|
8860
|
+
private isIntersecting;
|
|
8693
8861
|
click$: rxjs.Observable<Event>;
|
|
8694
8862
|
infinityQuery: _angular_core.Signal<InfinityQueryDirective<any>>;
|
|
8695
8863
|
ngOnInit(): void;
|
|
@@ -8756,6 +8924,18 @@ declare class QueryDirective<Q extends QueryDirectiveType | null> {
|
|
|
8756
8924
|
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>;
|
|
8757
8925
|
}
|
|
8758
8926
|
|
|
8927
|
+
/**
|
|
8928
|
+
* @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.
|
|
8929
|
+
*/
|
|
8930
|
+
declare const invalidBaseRouteError: (data: unknown) => RuntimeError<1>;
|
|
8931
|
+
/**
|
|
8932
|
+
* @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.
|
|
8933
|
+
*/
|
|
8934
|
+
declare const invalidRouteError: (data: unknown) => RuntimeError<2>;
|
|
8935
|
+
/**
|
|
8936
|
+
* @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.
|
|
8937
|
+
*/
|
|
8938
|
+
declare const pathParamsMissingInRouteFunctionError: (data: unknown) => RuntimeError<3>;
|
|
8759
8939
|
/**
|
|
8760
8940
|
* @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.
|
|
8761
8941
|
*/
|
|
@@ -8805,6 +8985,7 @@ type ValidateWithV2QueryConfig<TCreator extends AnyV2QueryCreator | AnyLegacyQue
|
|
|
8805
8985
|
/**
|
|
8806
8986
|
* Override the default violation → error mapping. Receives the violations extracted from the
|
|
8807
8987
|
* failed request; return the errors to report (targeting child fields via their `fieldTree`).
|
|
8988
|
+
* Runs only for a request that carries violations - any other error keeps the form-level error.
|
|
8808
8989
|
* Defaults to `mapViolationsToFormErrors`, resolving each violation's `propertyPath` against the
|
|
8809
8990
|
* validated field.
|
|
8810
8991
|
*/
|
|
@@ -8837,30 +9018,30 @@ type ValidateWithV2QueryConfig<TCreator extends AnyV2QueryCreator | AnyLegacyQue
|
|
|
8837
9018
|
*/
|
|
8838
9019
|
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;
|
|
8839
9020
|
|
|
8840
|
-
declare const parseHttpErrorCodeToTitleDe: (statusCode: HttpStatusCode) => "Ungültige Anfrage" | "Nicht autorisiert" | "Zahlung erforderlich" | "Verboten" | "Nicht gefunden" | "Methode nicht erlaubt" | "Nicht akzeptabel" | "Proxy-Authentifizierung erforderlich" | "Anforderungszeitüberschreitung" | "Konflikt" | "
|
|
8841
|
-
declare const parseHttpErrorCodeToMessageDe: (statusCode: HttpStatusCode) => "Entschuldigung, wir konnten Ihre Anfrage nicht bearbeiten. Bitte versuchen Sie es später erneut." | "Sie sind nicht berechtigt, diese Aktion auszuführen. Bitte melden Sie sich an, um fortzufahren." | "Zur Ausführung dieser Aktion ist eine Zahlung erforderlich." | "Sie haben keine Berechtigung, diese Aktion auszuführen." | "Die angeforderte Ressource wurde nicht gefunden." | "Die angeforderte Methode ist für diese Ressource nicht zulässig." | "Die angeforderte Ressource ist nicht in der Lage, eine Antwort zu generieren, die der Liste der akzeptablen Werte entspricht." | "Zur Ausführung dieser Aktion ist eine Proxy-Authentifizierung erforderlich." | "Der Server hat auf die Anforderung gewartet." | "Die Anforderung steht im Widerspruch zum aktuellen Zustand der Ressource." | "Die angeforderte Ressource ist nicht mehr verfügbar und wird auch nicht mehr verfügbar sein." | "Die Anforderung hat die Länge ihres Inhalts nicht angegeben, die von der angeforderten Ressource benötigt wird." | "Der Server erfüllt eine der Voraussetzungen nicht, die der Anforderer an die Anforderung gestellt hat." | "Die Anforderung ist größer als der Server bereit oder in der Lage ist, zu verarbeiten." | "Die bereitgestellte URL war für den Server zu lang, um sie zu verarbeiten." | "Die Anforderungseinheit hat einen Medientyp, den der Server oder die Ressource nicht unterstützt." | "
|
|
9021
|
+
declare const parseHttpErrorCodeToTitleDe: (statusCode: HttpStatusCode) => "Ungültige Anfrage" | "Nicht autorisiert" | "Zahlung erforderlich" | "Verboten" | "Nicht gefunden" | "Methode nicht erlaubt" | "Nicht akzeptabel" | "Proxy-Authentifizierung erforderlich" | "Anforderungszeitüberschreitung" | "Konflikt" | "Nicht mehr verfügbar" | "Länge erforderlich" | "Vorbedingung fehlgeschlagen" | "Nutzlast zu groß" | "URI zu lang" | "Nicht unterstützter Medientyp" | "Seite nicht vorhanden" | "Erwartung fehlgeschlagen" | "Ich bin eine Teekanne" | "Fehlgeleitete Anfrage" | "Unverarbeitbare Entität" | "Gesperrt" | "Fehlgeschlagene Abhängigkeit" | "Zu früh" | "Upgrade erforderlich" | "Vorbedingung erforderlich" | "Zu viele Anfragen" | "Anforderungskopffelder zu groß" | "Aus rechtlichen Gründen nicht verfügbar" | "Interner Serverfehler" | "Nicht implementiert" | "Schlechtes Gateway" | "Dienst nicht verfügbar" | "Gateway-Zeitüberschreitung" | "HTTP-Version nicht unterstützt" | "Variante verhandelt auch" | "Unzureichender Speicher" | "Schleifenerkennung" | "Nicht erweitert" | "Netzwerkauthentifizierung erforderlich" | "Etwas ist schief gelaufen";
|
|
9022
|
+
declare const parseHttpErrorCodeToMessageDe: (statusCode: HttpStatusCode) => "Entschuldigung, wir konnten Ihre Anfrage nicht bearbeiten. Bitte versuchen Sie es später erneut." | "Sie sind nicht berechtigt, diese Aktion auszuführen. Bitte melden Sie sich an, um fortzufahren." | "Zur Ausführung dieser Aktion ist eine Zahlung erforderlich." | "Sie haben keine Berechtigung, diese Aktion auszuführen." | "Die angeforderte Ressource wurde nicht gefunden." | "Die angeforderte Methode ist für diese Ressource nicht zulässig." | "Die angeforderte Ressource ist nicht in der Lage, eine Antwort zu generieren, die der Liste der akzeptablen Werte entspricht." | "Zur Ausführung dieser Aktion ist eine Proxy-Authentifizierung erforderlich." | "Der Server hat zu lange auf die Anforderung gewartet." | "Die Anforderung steht im Widerspruch zum aktuellen Zustand der Ressource." | "Die angeforderte Ressource ist nicht mehr verfügbar und wird auch nicht mehr verfügbar sein." | "Die Anforderung hat die Länge ihres Inhalts nicht angegeben, die von der angeforderten Ressource benötigt wird." | "Der Server erfüllt eine der Voraussetzungen nicht, die der Anforderer an die Anforderung gestellt hat." | "Die Anforderung ist größer als der Server bereit oder in der Lage ist, zu verarbeiten." | "Die bereitgestellte URL war für den Server zu lang, um sie zu verarbeiten." | "Die Anforderungseinheit hat einen Medientyp, den der Server oder die Ressource nicht unterstützt." | "Die angeforderte Seite existiert nicht. Gehen Sie zurück zur ersten Seite und versuchen Sie es erneut." | "Der Server kann die Anforderungen des Erwartung-Anforderungskopffelds nicht erfüllen." | "Ich bin eine Teekanne." | "Die Anforderung wurde an einen Server gerichtet, der nicht in der Lage ist, eine Antwort zu generieren." | "Die Anforderung war gut formuliert, konnte aber aufgrund semantischer Fehler nicht befolgt werden." | "Die Ressource, auf die zugegriffen wird, ist gesperrt." | "Die Anforderung ist aufgrund eines Fehlers einer vorherigen Anforderung fehlgeschlagen." | "Der Server verarbeitet die Anforderung nicht, weil sie eine Wiederholung sein könnte. Bitte versuchen Sie es erneut." | "Der Client sollte zu einem anderen Protokoll wie TLS/1.0 wechseln, das im Upgrade-Anforderungskopffeld angegeben ist." | "Der Ursprungsserver erfordert, dass die Anforderung bedingt ist." | "Sie haben in einer bestimmten Zeit zu viele Anfragen gesendet. Bitte versuchen Sie es später erneut." | "Der Server ist nicht bereit, die Anforderung zu verarbeiten, weil seine Kopffelder zu groß sind." | "Die Ressource ist aufgrund einer rechtlichen Forderung nicht verfügbar." | "Etwas ist schief gelaufen. Bitte versuchen Sie es später erneut." | "Der Server unterstützt die zur Erfüllung der Anforderung erforderliche Funktionalität nicht." | "Der Server kann die Anforderung derzeit nicht bearbeiten, da er vorübergehend überlastet oder gewartet wird." | "Der Server hat beim Versuch, die Anforderung abzuschließen, keine rechtzeitige Antwort vom Server erhalten." | "Der Server unterstützt die in der Anforderung verwendete HTTP-Protokollversion nicht." | "Der Server hat einen internen Konfigurationsfehler: Die ausgewählte Variantenressource ist so konfiguriert, dass sie sich selbst in die transparente Inhaltsverhandlung einbindet, und ist daher kein geeigneter Endpunkt im Verhandlungsprozess." | "Die Methode konnte auf die Ressource nicht angewendet werden, weil der Server nicht in der Lage ist, die für die erfolgreiche Ausführung der Anforderung erforderliche Darstellung zu speichern." | "Der Server hat eine Endlosschleife erkannt, während er die Anforderung verarbeitet." | "Weitere Erweiterungen der Anforderung sind erforderlich, damit der Server sie erfüllen kann." | "Sie müssen sich authentifizieren, um Zugang zum Netzwerk zu erhalten." | "Etwas ist schief gelaufen. Überprüfen Sie Ihre Internetverbindung und versuchen Sie es später erneut.";
|
|
8842
9023
|
|
|
8843
9024
|
declare class ParseHttpErrorCodeToTitleDePipe implements PipeTransform {
|
|
8844
|
-
transform: (statusCode: _angular_common_http.HttpStatusCode) => "Ungültige Anfrage" | "Nicht autorisiert" | "Zahlung erforderlich" | "Verboten" | "Nicht gefunden" | "Methode nicht erlaubt" | "Nicht akzeptabel" | "Proxy-Authentifizierung erforderlich" | "Anforderungszeitüberschreitung" | "Konflikt" | "
|
|
9025
|
+
transform: (statusCode: _angular_common_http.HttpStatusCode) => "Ungültige Anfrage" | "Nicht autorisiert" | "Zahlung erforderlich" | "Verboten" | "Nicht gefunden" | "Methode nicht erlaubt" | "Nicht akzeptabel" | "Proxy-Authentifizierung erforderlich" | "Anforderungszeitüberschreitung" | "Konflikt" | "Nicht mehr verfügbar" | "Länge erforderlich" | "Vorbedingung fehlgeschlagen" | "Nutzlast zu groß" | "URI zu lang" | "Nicht unterstützter Medientyp" | "Seite nicht vorhanden" | "Erwartung fehlgeschlagen" | "Ich bin eine Teekanne" | "Fehlgeleitete Anfrage" | "Unverarbeitbare Entität" | "Gesperrt" | "Fehlgeschlagene Abhängigkeit" | "Zu früh" | "Upgrade erforderlich" | "Vorbedingung erforderlich" | "Zu viele Anfragen" | "Anforderungskopffelder zu groß" | "Aus rechtlichen Gründen nicht verfügbar" | "Interner Serverfehler" | "Nicht implementiert" | "Schlechtes Gateway" | "Dienst nicht verfügbar" | "Gateway-Zeitüberschreitung" | "HTTP-Version nicht unterstützt" | "Variante verhandelt auch" | "Unzureichender Speicher" | "Schleifenerkennung" | "Nicht erweitert" | "Netzwerkauthentifizierung erforderlich" | "Etwas ist schief gelaufen";
|
|
8845
9026
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ParseHttpErrorCodeToTitleDePipe, never>;
|
|
8846
9027
|
static ɵpipe: _angular_core.ɵɵPipeDeclaration<ParseHttpErrorCodeToTitleDePipe, "parseHttpErrorCodeToTitleDe", true>;
|
|
8847
9028
|
}
|
|
8848
9029
|
declare class ParseHttpErrorCodeToMessageDePipe implements PipeTransform {
|
|
8849
|
-
transform: (statusCode: _angular_common_http.HttpStatusCode) => "Entschuldigung, wir konnten Ihre Anfrage nicht bearbeiten. Bitte versuchen Sie es später erneut." | "Sie sind nicht berechtigt, diese Aktion auszuführen. Bitte melden Sie sich an, um fortzufahren." | "Zur Ausführung dieser Aktion ist eine Zahlung erforderlich." | "Sie haben keine Berechtigung, diese Aktion auszuführen." | "Die angeforderte Ressource wurde nicht gefunden." | "Die angeforderte Methode ist für diese Ressource nicht zulässig." | "Die angeforderte Ressource ist nicht in der Lage, eine Antwort zu generieren, die der Liste der akzeptablen Werte entspricht." | "Zur Ausführung dieser Aktion ist eine Proxy-Authentifizierung erforderlich." | "Der Server hat auf die Anforderung gewartet." | "Die Anforderung steht im Widerspruch zum aktuellen Zustand der Ressource." | "Die angeforderte Ressource ist nicht mehr verfügbar und wird auch nicht mehr verfügbar sein." | "Die Anforderung hat die Länge ihres Inhalts nicht angegeben, die von der angeforderten Ressource benötigt wird." | "Der Server erfüllt eine der Voraussetzungen nicht, die der Anforderer an die Anforderung gestellt hat." | "Die Anforderung ist größer als der Server bereit oder in der Lage ist, zu verarbeiten." | "Die bereitgestellte URL war für den Server zu lang, um sie zu verarbeiten." | "Die Anforderungseinheit hat einen Medientyp, den der Server oder die Ressource nicht unterstützt." | "
|
|
9030
|
+
transform: (statusCode: _angular_common_http.HttpStatusCode) => "Entschuldigung, wir konnten Ihre Anfrage nicht bearbeiten. Bitte versuchen Sie es später erneut." | "Sie sind nicht berechtigt, diese Aktion auszuführen. Bitte melden Sie sich an, um fortzufahren." | "Zur Ausführung dieser Aktion ist eine Zahlung erforderlich." | "Sie haben keine Berechtigung, diese Aktion auszuführen." | "Die angeforderte Ressource wurde nicht gefunden." | "Die angeforderte Methode ist für diese Ressource nicht zulässig." | "Die angeforderte Ressource ist nicht in der Lage, eine Antwort zu generieren, die der Liste der akzeptablen Werte entspricht." | "Zur Ausführung dieser Aktion ist eine Proxy-Authentifizierung erforderlich." | "Der Server hat zu lange auf die Anforderung gewartet." | "Die Anforderung steht im Widerspruch zum aktuellen Zustand der Ressource." | "Die angeforderte Ressource ist nicht mehr verfügbar und wird auch nicht mehr verfügbar sein." | "Die Anforderung hat die Länge ihres Inhalts nicht angegeben, die von der angeforderten Ressource benötigt wird." | "Der Server erfüllt eine der Voraussetzungen nicht, die der Anforderer an die Anforderung gestellt hat." | "Die Anforderung ist größer als der Server bereit oder in der Lage ist, zu verarbeiten." | "Die bereitgestellte URL war für den Server zu lang, um sie zu verarbeiten." | "Die Anforderungseinheit hat einen Medientyp, den der Server oder die Ressource nicht unterstützt." | "Die angeforderte Seite existiert nicht. Gehen Sie zurück zur ersten Seite und versuchen Sie es erneut." | "Der Server kann die Anforderungen des Erwartung-Anforderungskopffelds nicht erfüllen." | "Ich bin eine Teekanne." | "Die Anforderung wurde an einen Server gerichtet, der nicht in der Lage ist, eine Antwort zu generieren." | "Die Anforderung war gut formuliert, konnte aber aufgrund semantischer Fehler nicht befolgt werden." | "Die Ressource, auf die zugegriffen wird, ist gesperrt." | "Die Anforderung ist aufgrund eines Fehlers einer vorherigen Anforderung fehlgeschlagen." | "Der Server verarbeitet die Anforderung nicht, weil sie eine Wiederholung sein könnte. Bitte versuchen Sie es erneut." | "Der Client sollte zu einem anderen Protokoll wie TLS/1.0 wechseln, das im Upgrade-Anforderungskopffeld angegeben ist." | "Der Ursprungsserver erfordert, dass die Anforderung bedingt ist." | "Sie haben in einer bestimmten Zeit zu viele Anfragen gesendet. Bitte versuchen Sie es später erneut." | "Der Server ist nicht bereit, die Anforderung zu verarbeiten, weil seine Kopffelder zu groß sind." | "Die Ressource ist aufgrund einer rechtlichen Forderung nicht verfügbar." | "Etwas ist schief gelaufen. Bitte versuchen Sie es später erneut." | "Der Server unterstützt die zur Erfüllung der Anforderung erforderliche Funktionalität nicht." | "Der Server kann die Anforderung derzeit nicht bearbeiten, da er vorübergehend überlastet oder gewartet wird." | "Der Server hat beim Versuch, die Anforderung abzuschließen, keine rechtzeitige Antwort vom Server erhalten." | "Der Server unterstützt die in der Anforderung verwendete HTTP-Protokollversion nicht." | "Der Server hat einen internen Konfigurationsfehler: Die ausgewählte Variantenressource ist so konfiguriert, dass sie sich selbst in die transparente Inhaltsverhandlung einbindet, und ist daher kein geeigneter Endpunkt im Verhandlungsprozess." | "Die Methode konnte auf die Ressource nicht angewendet werden, weil der Server nicht in der Lage ist, die für die erfolgreiche Ausführung der Anforderung erforderliche Darstellung zu speichern." | "Der Server hat eine Endlosschleife erkannt, während er die Anforderung verarbeitet." | "Weitere Erweiterungen der Anforderung sind erforderlich, damit der Server sie erfüllen kann." | "Sie müssen sich authentifizieren, um Zugang zum Netzwerk zu erhalten." | "Etwas ist schief gelaufen. Überprüfen Sie Ihre Internetverbindung und versuchen Sie es später erneut.";
|
|
8850
9031
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ParseHttpErrorCodeToMessageDePipe, never>;
|
|
8851
9032
|
static ɵpipe: _angular_core.ɵɵPipeDeclaration<ParseHttpErrorCodeToMessageDePipe, "parseHttpErrorCodeToMessageDe", true>;
|
|
8852
9033
|
}
|
|
8853
9034
|
|
|
8854
|
-
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" | "
|
|
8855
|
-
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
|
|
9035
|
+
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" | "Page out of range" | "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";
|
|
9036
|
+
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 requested page does not exist. Go back to the first page and try again." | "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 refuses to process a request that could be a replay. Please try again." | "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.";
|
|
8856
9037
|
|
|
8857
9038
|
declare class ParseHttpErrorCodeToTitleEnPipe implements PipeTransform {
|
|
8858
|
-
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" | "
|
|
9039
|
+
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" | "Page out of range" | "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";
|
|
8859
9040
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ParseHttpErrorCodeToTitleEnPipe, never>;
|
|
8860
9041
|
static ɵpipe: _angular_core.ɵɵPipeDeclaration<ParseHttpErrorCodeToTitleEnPipe, "parseHttpErrorCodeToTitleEn", true>;
|
|
8861
9042
|
}
|
|
8862
9043
|
declare class ParseHttpErrorCodeToMessageEnPipe implements PipeTransform {
|
|
8863
|
-
transform: (statusCode: _angular_common_http.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
|
|
9044
|
+
transform: (statusCode: _angular_common_http.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 requested page does not exist. Go back to the first page and try again." | "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 refuses to process a request that could be a replay. Please try again." | "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.";
|
|
8864
9045
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ParseHttpErrorCodeToMessageEnPipe, never>;
|
|
8865
9046
|
static ɵpipe: _angular_core.ɵɵPipeDeclaration<ParseHttpErrorCodeToMessageEnPipe, "parseHttpErrorCodeToMessageEn", true>;
|
|
8866
9047
|
}
|
|
@@ -8916,7 +9097,7 @@ type QueryFieldDef<T> = {
|
|
|
8916
9097
|
readonly skipInFilterCount?: boolean;
|
|
8917
9098
|
/**
|
|
8918
9099
|
* Skip the best-effort auto-coercion (numeric strings → number, `'true'`/`'false'`
|
|
8919
|
-
* → boolean, the null
|
|
9100
|
+
* → boolean, the null and empty-list sentinels → `null` and `[]`) when reading the value back from the URL.
|
|
8920
9101
|
*
|
|
8921
9102
|
* @default false
|
|
8922
9103
|
*/
|
|
@@ -8999,15 +9180,17 @@ type QueryFormSignalsWriteOptions = {
|
|
|
8999
9180
|
declare const IGNORED_FILTER_COUNT_FIELDS: readonly string[];
|
|
9000
9181
|
/**
|
|
9001
9182
|
* A detached editor over the same fields - its own signal-forms form and value,
|
|
9002
|
-
* with no URL sync and
|
|
9003
|
-
* `source.setValue(branch.
|
|
9004
|
-
*
|
|
9183
|
+
* with no URL sync but the same debounce and `isResetBy` graph. Written back to
|
|
9184
|
+
* the source form via `source.setValue(branch.liveValue())`. Powers the
|
|
9185
|
+
* filter-overlay "edit then apply" pattern.
|
|
9005
9186
|
*/
|
|
9006
9187
|
type QueryFormBranch<TFields extends QueryFormFields> = {
|
|
9007
9188
|
/** The bindable signal-forms field tree (`branch.fields.search`). */
|
|
9008
9189
|
readonly fields: FieldTree<QueryFormModel<TFields>>;
|
|
9009
|
-
/** The
|
|
9190
|
+
/** The committed value of the branch - debounced and reset-resolved like the source form's `value`. */
|
|
9010
9191
|
readonly value: Signal<QueryFormModel<TFields>>;
|
|
9192
|
+
/** What the bound controls hold right now, ahead of any pending debounce. Apply this on an explicit submit. */
|
|
9193
|
+
readonly liveValue: Signal<QueryFormModel<TFields>>;
|
|
9011
9194
|
/** The number of active (non-default) filters in the branch. */
|
|
9012
9195
|
readonly activeFilterCount: Signal<number>;
|
|
9013
9196
|
setValue(value: QueryFormModel<TFields>): void;
|
|
@@ -9058,7 +9241,12 @@ type QueryFormSignals<TFields extends QueryFormFields> = {
|
|
|
9058
9241
|
readonly defaultValue: QueryFormModel<TFields>;
|
|
9059
9242
|
/** Start syncing with the URL. Returns the form, so it can be chained onto the definition. */
|
|
9060
9243
|
observe(options?: QueryFormSignalsObserveOptions): QueryFormSignals<TFields>;
|
|
9061
|
-
/**
|
|
9244
|
+
/**
|
|
9245
|
+
* Stop syncing and strip the form's params from the URL. A pending debounced edit is committed to `value`
|
|
9246
|
+
* but not written to the URL. Only an explicit call strips the params - the
|
|
9247
|
+
* form stops syncing when it is destroyed, but leaves the URL alone, because the route it lands on
|
|
9248
|
+
* owns the params by then.
|
|
9249
|
+
*/
|
|
9062
9250
|
unobserve(): void;
|
|
9063
9251
|
setValue(value: QueryFormModel<TFields>, options?: QueryFormSignalsWriteOptions): void;
|
|
9064
9252
|
patchValue(value: Partial<QueryFormModel<TFields>>, options?: QueryFormSignalsWriteOptions): void;
|
|
@@ -9096,7 +9284,7 @@ declare const defineQueryForm: <TFields extends QueryFormFields>(config: DefineQ
|
|
|
9096
9284
|
declare const queryField: <T = string>(config?: QueryFieldConfig<T | null>) => QueryFieldDef<T | null>;
|
|
9097
9285
|
/**
|
|
9098
9286
|
* A debounced free-text search field. Debounces typing by 300ms but applies
|
|
9099
|
-
* clearing immediately (`disableDebounceIfFalsy`).
|
|
9287
|
+
* clearing immediately (`disableDebounceIfFalsy`). Reads the URL value back as the raw string.
|
|
9100
9288
|
*/
|
|
9101
9289
|
declare const searchQueryField: (config?: QueryFieldConfig<string | null>) => QueryFieldDef<string | null>;
|
|
9102
9290
|
/**
|
|
@@ -9159,6 +9347,8 @@ type WebSocketClientSocket = {
|
|
|
9159
9347
|
emit: (event: string, data: unknown) => void;
|
|
9160
9348
|
on: (event: 'connect' | 'disconnect', listener: () => void) => void;
|
|
9161
9349
|
onAny: (listener: (eventName: string, ...args: unknown[]) => void) => void;
|
|
9350
|
+
onAnyOutgoing: (listener: (eventName: string, ...args: unknown[]) => void) => void;
|
|
9351
|
+
readonly recovered: boolean;
|
|
9162
9352
|
};
|
|
9163
9353
|
/**
|
|
9164
9354
|
* The `io` factory of `socket.io-client`, declared structurally.
|
|
@@ -9203,7 +9393,8 @@ type WebSocketClientSubtle = {
|
|
|
9203
9393
|
};
|
|
9204
9394
|
type WebSocketClient<TMessageData extends SocketMessageView> = {
|
|
9205
9395
|
/**
|
|
9206
|
-
* Join a socket io room
|
|
9396
|
+
* Join a socket io room. Must be called in an injection context, because the room is released when
|
|
9397
|
+
* that context is destroyed.
|
|
9207
9398
|
* If a function is passed, it will be evaluated in a reactive signal context.
|
|
9208
9399
|
* If the function returns null, no room will be joined.
|
|
9209
9400
|
* If the function returns a string, the previous room will be left and the new room will be joined.
|
|
@@ -9231,7 +9422,7 @@ type AnyWebSocketClient<TMessageData extends SocketMessageView = SocketMessageVi
|
|
|
9231
9422
|
declare const createWebSocketClient: <TMessageData extends SocketMessageView = SocketMessageView>(options: CreateWebSocketClientConfigOptions) => WebSocketClientResult<TMessageData>;
|
|
9232
9423
|
|
|
9233
9424
|
/** The version of `@ethlete/query` this build was cut from. */
|
|
9234
|
-
declare const QUERY_VERSION = "6.0.0-next.
|
|
9425
|
+
declare const QUERY_VERSION = "6.0.0-next.48";
|
|
9235
9426
|
|
|
9236
|
-
export { AuthBearerRefreshStrategy, BasicAuthProvider, BearerAuthFeatureType, BooleanArrayQueryField, CustomHeaderAuthProvider, DEFAULT_KEEP_UNUSED_FOR, DEFAULT_QUERY_PERSISTENCE_MAX_AGE, DEFAULT_QUERY_PERSISTENCE_MAX_ENTRIES, DEFAULT_QUERY_PERSISTENCE_VERSION, DEFAULT_QUERY_PERSISTENCE_WRITE_DELAY, DateArrayQueryField, DateQueryField, EMPTY_QUERY_DEVTOOLS_FAULT, EntityStore, IGNORED_FILTER_COUNT_FIELDS, INFINITY_QUERY_TOKEN, InfinityQuery, InfinityQueryDirective, InfinityQueryTriggerDirective, LegacyQuery, LegacyQueryCreator, MAX_QUERY_BATCH_TOMBSTONES, MAX_QUERY_DEVTOOLS_TOMBSTONES, MAX_UNUSED_ENTRIES, NumberArrayQueryField, ParseHttpErrorCodeToMessageDePipe, ParseHttpErrorCodeToMessageEnPipe, ParseHttpErrorCodeToTitleDePipe, ParseHttpErrorCodeToTitleEnPipe, QUERY_CLIENT_DEVTOOLS_TOKEN, QUERY_DEVTOOLS_FAULT_STATUSES, QUERY_DEVTOOLS_TOKEN_TTL_LIMIT, QUERY_PERSISTENCE_STORE_VERSION, QUERY_SYNC_PROTOCOL_VERSION, QUERY_VERSION, QueryClientFeatureType, QueryDevtoolsComponent, QueryDirective, QueryFeatureType, QueryField, QueryForm, QueryRuntimeErrorCode, QueryShortNamePipe, QueryStateType, QueryStore, SERVER_ERROR_KIND, SERVER_VIOLATION_ERROR_KIND, SPEED_BUFFER_TIME_IN_MS, SearchQueryField, SortQueryField, StringArrayQueryField, V2BearerAuthProvider, V2Query, V2QueryClient, V2QueryCreator, addQueryContainerHandling, addQueryDevtoolsAuthAccount, applyQueryDevtoolsOverrides, applyQueryDevtoolsTokenTtl, applyQueryFeatures, armAllQueryDevtoolsMocks, armQueryDevtoolsMock, armQueryDevtoolsOverrideTransfer, authExtractTokensResponseMissingAccessToken, authExtractTokensResponseMissingRefreshToken, authExtractTokensResponseNotObject, authProviderFeatureUsedMultipleTimes, booleanArrayQueryField, buildQueryCacheKey, buildQueryString, buildRoute, buildTimestampFromSeconds, canOverrideQueryDevtoolsTokenTtl, castQueryCreatorTypes, circularQueryDependency, circularQueryDependencyChecker, clearQueryDevtoolsArmedMocks, clearQueryDevtoolsAuthCredentials, clearQueryDevtoolsAuthSessions, clearQueryDevtoolsFaults, clearQueryDevtoolsMockStore, clearQueryDevtoolsOverrideStore, clearQueryDevtoolsStore, clearQueryDevtoolsTokenTtl, clearQueryDevtoolsTombstones, clearRestoredQueryDevtoolsOverrides, collectLeafPaths, collectQueryDevtoolsSchemaComponents, computeQueryAuthHeader, computeQueryBody, computeQueryHeaders, computeQueryMethod, computeQueryQueryParams, contentfulGqlLikePaginationAdapter, countUnresolvedQueryDevtoolsOverrides, createAuthGuard, createBaseQuery, createBaseQueryCreator, createBearerAuthProvider, createDefaultRetryFn, createDeleteQuery, createExecuteFn, createGetQuery, createGqlExecuteFn, createGqlMutationViaGet, createGqlMutationViaPost, createGqlQuery, createGqlQueryCreator, createGqlQueryViaGet, createGqlQueryViaPost, createHttpRequest, createIndexedDbQueryPersistenceAdapter, createInfinityQueryConfig, createLegacyQueryCreator, createNoopQueryPersistenceAdapter, createPagedQueryStack, createPatchQuery, createPersistentAuthFeature, createPostQuery, createPutQuery, createQuery, createQueryBatch, createQueryClient, createQueryCollection, createQueryCollectionSignal, createQueryCollectionSubject, createQueryContext, createQueryCreator, createQueryDevtoolsOverrides, createQueryErrorResponse, createQueryFeature, createQueryInvalidationFilter, createQueryKeyLockManager, createQueryObject, createQueryPersistenceEngine, createQueryRepository, createQuerySnapshotFn, createQueryStack, createQuerySubmission, createQuerySyncEngine, createQuerySyncTransport, createSecureDeleteQuery, createSecureExecuteFactory, createSecureExecuteFn, createSecureGetQuery, createSecureGqlExecuteFn, createSecureGqlMutationViaGet, createSecureGqlMutationViaPost, createSecureGqlQuery, createSecureGqlQueryCreator, createSecureGqlQueryViaGet, createSecureGqlQueryViaPost, createSecurePatchQuery, createSecurePostQuery, createSecurePutQuery, createSecureQuery, createSecureQueryCreator, createTrackingFeature, createWebSocketClient, dateArrayQueryField, dateQueryField, decryptBearer, deepFreeze, def, defineQueryForm, deleteQueryDevtoolsMock, detectContentTypeHeader, detectPaginationShape, dynLikePaginationAdapter, effectComputed, emptyQueryArgs, ethletePaginationAdapter, executeUntilSettled, extractExpiresInSeconds, extractFormViolations, extractHtmlErrorMessage, extractQuery, fakePaginationAdapter, filterFailure, filterNull, filterQueryStates, filterSuccess, forEachHeader, forgetQueryDevtoolsAuthSession, forgetQueryDevtoolsAuthSessionsFor, generateQueryDevtoolsNumberPreset, generateQueryDevtoolsSampleNumber, generateQueryDevtoolsStringPreset, getDefaultHeaders, getQueryFeatureUsage, getResponseUrl, ggLikePaginationAdapter, gql, gqlDataPropertyMissingInResponse, hasHeader, hasQueryDevtoolsOverridesAtPath, htmlErrorPayload, htmlQueryErrorParser, ignoreAutoRefresh, injectInfinityQueryResponseDelay, injectQueryContext, insertFrom, invalidBaseRouteError, invalidBodyError, invalidRouteError, invalidStateInsideSecureExecuteFactory, isAutoRefresh, isBasicAuthProvider, isBearerAuthProvider, isClassValidatorError, isCreateGqlQueryOptions, isCustomHeaderAuthProvider, isDateShapedLeaf, isEmptyString, isGqlQueryConfig, isHtmlErrorPayload, isLegacyQuery, isNaN, isPageOutOfRangeError, isQuery, isQueryCollection, isQueryDevtoolsFaultArmed, isQueryErrorResponse, isQueryStateCancelled, isQueryStateFailure, isQueryStateLoading, isQueryStatePrepared, isQueryStateSuccess, isRequestError, isSymfonyError, isSymfonyFormViolationListError, isSymfonyListError, isSymfonyPagerfantaOutOfRangeError, isUnderInvalidatedUrl, legacyPrepareWithoutInjectionContext, loadQueryDevtoolsSchema, loginQueryDevtoolsAuthAccount, logoutQueryDevtoolsAuthSession, mapToPaginated, mapViolationsToFormErrors, matchesQueryDevtoolsMockPattern, matchesQueryDevtoolsMockQuery, maybeExecute, measureQueryDevtoolsPayload, mergeHeaders, nestedEffect, numberArrayQueryField, pagedQueryStackNextPageCalledWithoutPreviousPage, pagedQueryStackPageBiggerThanTotalPages, pagedQueryStackPreviousPageCalledButAlreadyAtFirstPage, paginatedEntityValueUpdater, parseAllXhrResponseHeaders, parseHttpErrorCodeToMessageDe, parseHttpErrorCodeToMessageEn, parseHttpErrorCodeToTitleDe, parseHttpErrorCodeToTitleEn, parseQueryDevtoolsOverrideTransfer, pathParamsMissingInRouteFunctionError, provideInfinityQueryResponseDelay, provideLegacyPrepareFallback, provideQueryClientForDevtools, provideQueryDevtools, queryArrayComputed, queryBatchAlreadyRunning, queryBatchWithArgsUsed, queryClientFeatureUsedMultipleTimes, queryComputed, queryComputedTillTruthy, queryDevtoolsAbout, queryDevtoolsApiEnvIds, queryDevtoolsApiEnvIsProduction, queryDevtoolsApiEnvScope, queryDevtoolsApiEnvValues, queryDevtoolsApiEnvs, queryDevtoolsArmedMocks, queryDevtoolsArmedMocksRestored, queryDevtoolsAuthAccountsFor, queryDevtoolsAuthActive, queryDevtoolsAuthFieldsFor, queryDevtoolsAuthOtherScopeCount, queryDevtoolsAuthSessions, queryDevtoolsAuthSessionsFor, queryDevtoolsAuthTabLocal, queryDevtoolsEntries, queryDevtoolsFaults, queryDevtoolsFaultsRestored, queryDevtoolsMockId, queryDevtoolsMocks, queryDevtoolsOverridePersistence, queryDevtoolsRequestPath, queryDevtoolsResponseHistory, queryDevtoolsRestoredOverridesScope, queryDevtoolsSchemaNames, queryDevtoolsSchemaRoutes, queryDevtoolsSchemaState, queryDevtoolsSettings, queryDevtoolsStorage, queryDevtoolsTokenTtls, queryErrorMessage, queryErrorMessages, queryExecute, queryFeatureUsedMultipleTimes, queryField, querySequence, querySequenceAlreadyRunning, queryStackTotalQueriesAndExpectedQueriesMismatch, queryStackWithArgsUsed, queryStackWithResponseUpdateUsed, queryStateAlreadyHasKeyError, queryStateCannotTransformError, queryStateDoesNotContainKeyError, queryStateErrorSignal, queryStateLoadingSignal, queryStateResponseSignal, queryStateSignal, readQueryDevtoolsStore, registerEthleteVersion, registerQueryErrorParser, removeFrom, removeQueryDevtoolsAuthAccount, renameQueryDevtoolsAuthSession, request, resetExecuteState, resetPageOnError, resolveInvalidationUrl, restoredQueryDevtoolsOverrides, saveQueryDevtoolsMock, searchQueryField, seedQueryDevtoolsSchemaBody, seedQueryDevtoolsSchemaRoute, serializeBody, serializeQueryDevtoolsOverrideTransfer, setDefaultQueryRetryFn, setQueryDevtoolsApiEnv, setQueryDevtoolsAppInfo, setQueryDevtoolsArmedMocksScope, setQueryDevtoolsAuthCredentials, setQueryDevtoolsAuthTabLocal, setQueryDevtoolsFault, setQueryDevtoolsFaultsScope, setQueryDevtoolsOverridePersistence, setQueryDevtoolsOverridesScope, setQueryDevtoolsSettings, setQueryDevtoolsTokenTtl, setQueryDevtoolsUiMounted, setupQueryDependencies, setupQueryExecuteState, setupQueryState, shouldAutoExecuteGqlQuery, shouldAutoExecuteQuery, shouldCacheQuery, shouldRetryRequest, silenceMissingWithArgsFeatureErrorUsedButWithArgsPresent, skipPaginationPageParamCalculator, smartDuplicateArrayItem, snapshotQueryDevtoolsHandle, sortQueryField, splitQueryConfig, stringArrayQueryField, stringifyQueryRouteParts, sumQueryDevtoolsStats, switchQueryCollectionState, switchQueryDevtoolsAuthSession, switchQueryState, symfonyQueryErrorParser, takeUntilResponse, toQuerySignal, toQuerySubject, tokensNotAvailableInsideAuthAndExec, tombstoneOf, transformArrayResponse, transformExecStateToQueryState, transformGql, transformMethod, transformPaginatedResponse, transformToBoolean, transformToBooleanArray, transformToDate, transformToDateArray, transformToNumber, transformToNumberArray, transformToSort, transformToSortQueryParam, transformToString, transformToStringArray, uncacheableRequestHasAllowCacheParam, uncacheableRequestHasCacheKeyParam, unwrapQuerySyncMessage, v2BuildQueryCacheKey, v2ExtractExpiresInSeconds, v2ShouldCacheQuery, v2ShouldRetryRequest, validateWithQuery, validateWithV2Query, withArgs, withArgsQueryFeatureMissingButRouteIsFunction, withAuthenticationQuery, withAutoRefresh, withAutoRefreshUsedInManualQuery, withAutoRefreshUsedOnUnsupportedHttpMethod, withBearerAuthMultiTabSync, withDefaultRetry, withErrorHandling, withEthleteApiErrors, withHtmlErrorParsing, withInactivityLogout, withLogging, withLongPolling, withLongPollingUsedOnUnsupportedHttpMethod, withLongPollingUsedWithPolling, withMultiTabSync, withPageResetOnError, withPersistentAuth, withPolling, withPollingUsedOnUnsupportedHttpMethod, withQueryPersistence, withRefreshQuery, withResponseUpdate, withSuccessHandling, withSymfonyErrors, withTokenExpirationWarning, withTokenRevocation, withTracking, wrapAsObservableSignal, wrapQuerySyncMessage, writeQueryDevtoolsStore };
|
|
9237
|
-
export type { AnyBearerAuthProvider, AnyCreateBearerAuthProviderResult, AnyCreateGqlQueryCreatorOptions, AnyCreateQueryClientResult, AnyGqlQueryConfig, AnyInfinityQuery, AnyInfinityQueryConfig, AnyLegacyQuery, AnyLegacyQueryCreator, AnyNewQuery, AnyPagedQueryStack, AnyQueryBatch, AnyQueryBatchItemResult, AnyQueryBuilder, AnyQueryClient, AnyQueryCollection, AnyQueryCollectionData, AnyQueryCollectionResponse, AnyQueryCreator, AnyQueryCreatorCollection, AnyQueryForm, AnyQuerySnapshot, AnyQueryStack, AnyRestQueryConfig, AnyRoute, AnyV2Query, AnyV2QueryCreator, AnyWebSocketClient, AppendItemsLocation, ApplyExternalResponseOptions, ApplyPersistedResponseOptions, AuthGuard, AuthGuardConfig, AuthGuardTarget, AuthProvider, AuthProviderBasicConfig, AuthProviderBearerConfig, AuthProviderCustomHeaderConfig, AuthQueryBuilder, AuthQueryConfig, BaseArguments, BaseQueryCreatorFactoryOptions, BaseQueryCreatorOptions, BaseQueryCreatorOptionsSubtle, BearerAuthActivityCoordination, BearerAuthExecutionState, BearerAuthExecutionStateError, BearerAuthExecutionStateLoading, BearerAuthExecutionStateLogout, BearerAuthExecutionStateSuccess, BearerAuthExecutionStateTokenSeed, BearerAuthFeature, BearerAuthMultiTabSyncConfig, BearerAuthMultiTabSyncFeature, BearerAuthProvider, BearerAuthProviderEarlySetup, BearerAuthProviderEarlySetupContext, BearerAuthProviderEarlySetupResult, BearerAuthProviderFeatureContext, BearerAuthProviderOf, BearerAuthProviderQueryContext, BearerAuthProviderRef, BearerAuthProviderTokens, BearerAuthRefreshCoordination, BearerAuthSessionAdoption, BearerAuthSessionEndCause, BearerAuthSessionStatus, BearerRefreshConfig, BodyType, BuildQueryStringConfig, CacheAdapterFn, Cancelled, ClassValidatorError, ConstructQuery, CreateBaseQueryOptions, CreateBearerAuthProviderConfig, CreateGqlQueryCreatorOptions, CreateGqlQueryExecuteOptions, CreateGqlQueryOptions, CreateHttpRequestDependencies, CreateHttpRequestOptions, CreateIndexedDbQueryPersistenceAdapterOptions, CreateLegacyQueryCreatorOptions, CreateLegacyQueryOptions, CreatePagedQueryStackOptions, CreateQueryBatchOptions, CreateQueryClientConfigOptions, CreateQueryCreatorOptions, CreateQueryExecuteOptions, CreateQueryObjectOptions, CreateQueryOptions, CreateQueryPersistenceEngineOptions, CreateQueryRepositoryConfig, CreateQuerySnapshotOptions, CreateQueryStackOptions, CreateQuerySubmissionConfig, CreateQuerySyncEngineOptions, CreateSecureGqlQueryExecuteOptions, CreateSecureGqlQueryOptions, CreateSecureQueryExecuteOptions, CreateSecureQueryOptions, CreateWebSocketClientConfigOptions, CreateWebSocketClientTransport, DefaultRetryOptions, DefineQueryFormConfig, DescribableFeature, DestroyCleanupCallback, EmptyObject, EntityGetParams, EntityIdParams, EntityKey, EntitySetParams, EntityStoreConfig, ExecuteFactory, ExecuteQueryOptions, ExtractQueryArgs, ExtractQueryKey, Failure, FeatureRegistry, GQL, GqlQueryArgs, GqlQueryConfig, GqlQueryConfigWithoutMethod, GqlQueryMethod, GqlQueryTransport, GqlTransferOption, GqlTransformer, GqlVariablesType, HttpErrorEvent, HttpRequest, HttpRequestLoadingProgressState, HttpRequestLoadingState, HttpRequestResponseType, HttpRequestRetryState, HttpRequestSubtle, HttpRequestTransferCacheConfig, InactivityLogoutConfig, InactivityLogoutFeature, InfinityQueryConfig, InfinityQueryConfigType, InfinityQueryOf, InfinityQueryParamLocation, InsertFromConfig, InternalCreateGqlQueryCreatorOptions, InternalCreateQueryCreatorOptions, InternalQueryExecute, InternalSecureCreateGqlQueryCreatorOptions, InternalSecureCreateQueryCreatorOptions, InternalWebSocketRoom, JsonPath, LeaderInstanceCountChangeEventData, LeaderStatusChangeEventData, LegacyArgumentsOfQueryArgs, LegacyQueryPrepareFn, Loading, LogoutEventData, MapViolationsToFormErrorsOptions, Method, ObservableSignal, OptionalQueryFieldOptions, OverrideOp, PageParamCalculatorOptions, PagedQueryStack, PagedQueryStackDirection, PagedQueryStackExecuteOptions, PagedQueryStackResetOptions, PartialXhrState, PathParams, PathParamsType, PersistedQueryBody, PersistedQueryEntry, PersistedQueryEntryMeta, PersistentAuthConfig, PersistentAuthFeature, PollConfig, Prepared, Query, QueryArgs, QueryArgsOf, QueryArgsOfLegacyArguments, QueryAutoRefreshConfig, QueryBase, QueryBatch, QueryBatchDevtoolsHandle, QueryBatchItemCancelled, QueryBatchItemError, QueryBatchItemResult, QueryBatchItemSkipped, QueryBatchItemSuccess, QueryBatchResult, QueryBatchStatus, QueryClient, QueryClientDevtoolsOptions, QueryClientErrorPipelineFeature, QueryClientFeature, QueryClientFeatureContext, QueryClientFeatureFn, QueryClientMultiTabSyncFeature, QueryClientPersistenceFeature, QueryClientRef, QueryClientSubtle, QueryCollectionKeysOf, QueryCollectionOf, QueryCollectionWithNullableQuery, QueryConfig, QueryConfigBase, QueryConfigWithoutMethod, QueryContainerConfig, QueryContext, QueryCreator, QueryDataOf, QueryDependencies, QueryDevtoolsAbout, QueryDevtoolsApiEnv, QueryDevtoolsApiEnvSwitch, QueryDevtoolsAppInfo, QueryDevtoolsAuthAccount, QueryDevtoolsAuthAccountView, QueryDevtoolsAuthField, QueryDevtoolsAuthLocalAccount, QueryDevtoolsAuthProviderHandle, QueryDevtoolsAuthProviderRegistration, QueryDevtoolsAuthQuery, QueryDevtoolsAuthSeed, QueryDevtoolsAuthSession, QueryDevtoolsEntry, QueryDevtoolsEntryKind, QueryDevtoolsEntryMeta, QueryDevtoolsFault, QueryDevtoolsFaultTarget, QueryDevtoolsFeature, QueryDevtoolsFeatureDescriber, QueryDevtoolsFeatureDetail, QueryDevtoolsFormField, QueryDevtoolsFormHandle, QueryDevtoolsFormLinksHandle, QueryDevtoolsFormLinksRecorder, QueryDevtoolsMock, QueryDevtoolsMockTarget, QueryDevtoolsOptions, QueryDevtoolsOverrideEntry, QueryDevtoolsOverrideTransfer, QueryDevtoolsOverrideTransferParse, QueryDevtoolsOverridesHandle, QueryDevtoolsOverridesRecorder, QueryDevtoolsPayload, QueryDevtoolsRegistrar, QueryDevtoolsRegistration, QueryDevtoolsResolvedFault, QueryDevtoolsResolvedMock, QueryDevtoolsRoutePart, QueryDevtoolsRun, QueryDevtoolsRunError, QueryDevtoolsRunStatus, QueryDevtoolsSchemaComponents, QueryDevtoolsSchemaLoader, QueryDevtoolsSchemaLoaders, QueryDevtoolsSchemaRoute, QueryDevtoolsSchemaSeed, QueryDevtoolsSchemaState, QueryDevtoolsSeedStyle, QueryDevtoolsSettings, QueryDevtoolsStats, QueryDevtoolsStatsHandle, QueryDevtoolsStatsRecorder, QueryDevtoolsStorageScope, QueryDirectiveContext, QueryDirectiveType, QueryEntityConfig, QueryErrorParser, QueryErrorResponse, QueryErrorResponseItem, QueryErrorResponseList, QueryErrorResponseSingle, QueryExecute, QueryExecuteArgs, QueryExecuteEventData, QueryExecuteOptions, QueryExecuteState, QueryExecutionState, QueryExecutionStateFailure, QueryExecutionStateFailureWithCachedResponse, QueryExecutionStateFailureWithNoResponse, QueryExecutionStateLoading, QueryExecutionStateLoadingWithCachedResponse, QueryExecutionStateLoadingWithNoResponse, QueryExecutionStateSuccess, QueryFailureEventData, QueryFeature, QueryFeatureContext, QueryFeatureFlags, QueryFeatureFn, QueryFieldConfig, QueryFieldDef, QueryFieldOptions, QueryFieldValue, QueryFilterConfig, QueryFormBranch, QueryFormChange, QueryFormFields, QueryFormGroup, QueryFormGroupControls, QueryFormModel, QueryFormObserveOptions, QueryFormOf, QueryFormOptions, QueryFormSignals, QueryFormSignalsObserveOptions, QueryFormSignalsWriteOptions, QueryFormValue, QueryFormValueEvent, QueryFormWriteOptions, QueryInvalidationCandidate, QueryInvalidationFilterFn, QueryInvalidationOptions, QueryKey, QueryKeyLockHold, QueryKeyLockHoldOptions, QueryKeyLockManager, QueryKeyLockState, QueryMethod, QueryMockConfig, QueryMultiTabSyncConfig, QueryOf, QueryParams, QueryParamsType, QueryPersistenceAdapter, QueryPersistenceCandidate, QueryPersistenceConfig, QueryPersistenceEngine, QueryPrepareFn, QueryRefreshCause, QueryRegistry, QueryRegistryEntry, QueryRepository, QueryRepositoryCacheEntry, QueryRepositoryDependencies, QueryRepositoryEntryDestroyedCause, QueryRepositoryEvent, QueryRepositoryItem, QueryRepositoryRefreshFilterFn, QueryRepositoryRequestOptions, QueryRepositorySubtle, QueryResponseOf, QueryRouteOf, QuerySequence, QuerySequenceResult, QuerySequenceStatus, QuerySequenceStepArgs, QuerySnapshot, QueryStack, QueryStackSubtle, QueryState, QueryStateMeta, QueryStateResponseOf, QueryStateSignal, QueryStateSubtle, QueryStateSuccessMeta, QueryStoreIdOf, QueryStoreOf, QuerySubmissionRef, QuerySubtle, QuerySuccessEventData, QuerySyncEngine, QuerySyncEnvelope, QuerySyncInvalidateMessage, QuerySyncMessage, QuerySyncMessageListener, QuerySyncMutation, QuerySyncMutationFilterFn, QuerySyncMutationMessage, QuerySyncRefreshCandidate, QuerySyncRefreshOnMutationConfig, QuerySyncResponseMessage, QuerySyncTransport, QueryTrigger, RawResponseType, ReadonlyQuery, RefreshFailure, RemoveFromConfig, RequestArgs, RequestConfig, RequestError, RequestEvent, RequestHeaders, RequestHeadersMethodMap, RequestHttpEvent, RequestProgress, RequestRetryFn, RequestRetryFnConfig, RequestRetryFnResult, RequiresTransform, ResetExecuteStateOptions, ResetPageOnErrorOperatorConfig, ResponseType, RestQueryConfig, RestoredQueryDevtoolsOverrides, RouteString, RouteType, RunQueryCreator, RunQueryExecuteOptions, SecureExecuteFactoryOptions, ServerValidationError, ServerViolationValidationError, SetupQueryDependenciesOptions, SetupQueryStateOptions, ShouldRetryRequestFn, ShouldRetryRequestOptions, ShouldRetryRequestResult, SocketMessageView, Sort, SortDirection, Success, SymfonyError, SymfonyErrorTrace, TokenExpirationWarningConfig, TokenExpirationWarningFeature, TokenRefreshEventData, TokenRefreshQueryBuilder, TokenRefreshQueryConfig, TokenResponse, TokenRevocationConfig, TokenRevocationFeature, TotalPagesExtractorOptions, TrackingConfig, TrackingEventDataMap, TrackingEventHandler, TrackingEventName, TrackingFeature, TransformedGqlQuery, V2CacheAdapterFn, V2PrepareArgsOf, V2QueryArgsOf, V2QueryClientConfig, V2QueryConfig, V2QueryState, V2RouteString, V2RouteType, ValidateWithQueryConfig, ValidateWithV2QueryConfig, WebSocketClient, WebSocketClientIo, WebSocketClientIoOptions, WebSocketClientResult, WebSocketClientSocket, WebSocketClientSubtle, WebSocketDevtoolsHandle, WebSocketDevtoolsMessage, WebSocketRoom, WithAutoRefreshFeatureOptions, WithBody, WithConfig, WithErrorHandlingFeatureOptions, WithHeaders, WithInjector, WithLegacyConfig, WithLoggingFeatureOptions, WithLongPollingFeatureOptions, WithMock, WithPageResetOnErrorFeatureOptions, WithPathParams, WithPollingFeatureOptions, WithQueryParams, WithResponseUpdateFeatureFnData, WithResponseUpdateFeatureOptions, WithSuccessHandlingFeatureOptions, WithVariables };
|
|
9427
|
+
export { AuthBearerRefreshStrategy, BasicAuthProvider, BearerAuthFeatureType, BooleanArrayQueryField, CustomHeaderAuthProvider, DEFAULT_KEEP_UNUSED_FOR, DEFAULT_QUERY_PERSISTENCE_MAX_AGE, DEFAULT_QUERY_PERSISTENCE_MAX_ENTRIES, DEFAULT_QUERY_PERSISTENCE_VERSION, DEFAULT_QUERY_PERSISTENCE_WRITE_DELAY, DateArrayQueryField, DateQueryField, EMPTY_QUERY_DEVTOOLS_FAULT, EntityStore, IGNORED_FILTER_COUNT_FIELDS, INFINITY_QUERY_TOKEN, InfinityQuery, InfinityQueryDirective, InfinityQueryTriggerDirective, LegacyQuery, LegacyQueryCreator, MAX_QUERY_BATCH_TOMBSTONES, MAX_QUERY_DEVTOOLS_TOMBSTONES, MAX_UNUSED_ENTRIES, NumberArrayQueryField, ParseHttpErrorCodeToMessageDePipe, ParseHttpErrorCodeToMessageEnPipe, ParseHttpErrorCodeToTitleDePipe, ParseHttpErrorCodeToTitleEnPipe, QUERY_CLIENT_DEVTOOLS_TOKEN, QUERY_DEVTOOLS_FAULT_STATUSES, QUERY_DEVTOOLS_TOKEN_TTL_LIMIT, QUERY_PERSISTENCE_STORE_VERSION, QUERY_SYNC_PROTOCOL_VERSION, QUERY_VERSION, QueryClientFeatureType, QueryDevtoolsComponent, QueryDirective, QueryFeatureType, QueryField, QueryForm, QueryRuntimeErrorCode, QueryShortNamePipe, QueryStateType, QueryStore, SERVER_ERROR_KIND, SERVER_VIOLATION_ERROR_KIND, SPEED_BUFFER_TIME_IN_MS, SearchQueryField, SortQueryField, StringArrayQueryField, V2BearerAuthProvider, V2Query, V2QueryClient, V2QueryCreator, addQueryContainerHandling, addQueryDevtoolsAuthAccount, applyQueryDevtoolsOverrides, applyQueryDevtoolsTokenTtl, applyQueryFeatures, armAllQueryDevtoolsMocks, armQueryDevtoolsMock, armQueryDevtoolsOverrideTransfer, authExtractTokensResponseMissingAccessToken, authExtractTokensResponseMissingRefreshToken, authExtractTokensResponseNotObject, authProviderFeatureUsedMultipleTimes, booleanArrayQueryField, buildQueryCacheKey, buildQueryString, buildRoute, buildTimestampFromSeconds, canOverrideQueryDevtoolsTokenTtl, castQueryCreatorTypes, circularQueryDependency, circularQueryDependencyChecker, clearQueryDevtoolsArmedMocks, clearQueryDevtoolsAuthCredentials, clearQueryDevtoolsAuthSessions, clearQueryDevtoolsFaults, clearQueryDevtoolsMockStore, clearQueryDevtoolsOverrideStore, clearQueryDevtoolsStore, clearQueryDevtoolsTokenTtl, clearQueryDevtoolsTombstones, clearRestoredQueryDevtoolsOverrides, collectLeafPaths, collectQueryDevtoolsSchemaComponents, computeQueryAuthHeader, computeQueryBody, computeQueryHeaders, computeQueryMethod, computeQueryQueryParams, contentfulGqlLikePaginationAdapter, countUnresolvedQueryDevtoolsOverrides, createAuthGuard, createBaseQuery, createBaseQueryCreator, createBearerAuthProvider, createDefaultRetryFn, createDeleteQuery, createExecuteFn, createGetQuery, createGqlExecuteFn, createGqlMutationViaGet, createGqlMutationViaPost, createGqlQuery, createGqlQueryCreator, createGqlQueryViaGet, createGqlQueryViaPost, createHeadQuery, createHttpRequest, createIndexedDbQueryPersistenceAdapter, createInfinityQueryConfig, createLegacyQueryCreator, createNoopQueryPersistenceAdapter, createOptionsQuery, createPagedQueryStack, createPatchQuery, createPersistentAuthFeature, createPostQuery, createPutQuery, createQuery, createQueryBatch, createQueryClient, createQueryCollection, createQueryCollectionSignal, createQueryCollectionSubject, createQueryCreator, createQueryDevtoolsOverrides, createQueryErrorResponse, createQueryFeature, createQueryInvalidationFilter, createQueryKeyLockManager, createQueryObject, createQueryPersistenceEngine, createQueryRepository, createQuerySnapshotFn, createQueryStack, createQuerySubmission, createQuerySyncEngine, createQuerySyncTransport, createSecureDeleteQuery, createSecureExecuteFactory, createSecureExecuteFn, createSecureGetQuery, createSecureGqlExecuteFn, createSecureGqlMutationViaGet, createSecureGqlMutationViaPost, createSecureGqlQuery, createSecureGqlQueryCreator, createSecureGqlQueryViaGet, createSecureGqlQueryViaPost, createSecureHeadQuery, createSecureOptionsQuery, createSecurePatchQuery, createSecurePostQuery, createSecurePutQuery, createSecureQuery, createSecureQueryCreator, createTrackingFeature, createWebSocketClient, dateArrayQueryField, dateQueryField, decryptBearer, deepFreeze, def, defineQueryForm, deleteQueryDevtoolsMock, detectContentTypeHeader, detectPaginationShape, dynLikePaginationAdapter, effectComputed, emptyQueryArgs, ethletePaginationAdapter, executeUntilSettled, extractExpiresInSeconds, extractFormViolations, extractHtmlErrorMessage, extractQuery, fakePaginationAdapter, filterFailure, filterNull, filterQueryStates, filterSuccess, forEachHeader, forgetQueryDevtoolsAuthSession, forgetQueryDevtoolsAuthSessionsFor, generateQueryDevtoolsNumberPreset, generateQueryDevtoolsSampleNumber, generateQueryDevtoolsStringPreset, getDefaultHeaders, getQueryFeatureUsage, getResponseUrl, ggLikePaginationAdapter, gql, gqlDataPropertyMissingInResponse, gqlErrorsInResponse, hasHeader, hasQueryDevtoolsOverridesAtPath, htmlErrorPayload, htmlQueryErrorParser, ignoreAutoRefresh, injectInfinityQueryResponseDelay, insertFrom, invalidBaseRouteError, invalidBodyError, invalidRouteError, invalidStateInsideSecureExecuteFactory, isAutoRefresh, isBasicAuthProvider, isBearerAuthProvider, isClassValidatorError, isCreateGqlQueryOptions, isCustomHeaderAuthProvider, isDateShapedLeaf, isEmptyString, isGqlQueryConfig, isHtmlErrorPayload, isLegacyQuery, isNaN, isPageOutOfRangeError, isQuery, isQueryCollection, isQueryDevtoolsEnabled, isQueryDevtoolsFaultArmed, isQueryDevtoolsRepositoryLive, isQueryErrorResponse, isQueryStateCancelled, isQueryStateFailure, isQueryStateLoading, isQueryStatePrepared, isQueryStateSuccess, isRequestError, isSymfonyError, isSymfonyFormViolationListError, isSymfonyListError, isSymfonyPagerfantaOutOfRangeError, isUnderInvalidatedUrl, legacyPrepareWithoutInjectionContext, loadQueryDevtoolsSchema, loginQueryDevtoolsAuthAccount, logoutQueryDevtoolsAuthSession, mapToPaginated, mapViolationsToFormErrors, matchesQueryDevtoolsMockPattern, matchesQueryDevtoolsMockQuery, maybeExecute, measureQueryDevtoolsPayload, mergeHeaders, nestedEffect, numberArrayQueryField, pagedQueryStackNextPageCalledWithoutPreviousPage, pagedQueryStackPageBiggerThanTotalPages, pagedQueryStackPreviousPageCalledButAlreadyAtFirstPage, paginatedEntityValueUpdater, parseAllXhrResponseHeaders, parseHttpErrorCodeToMessageDe, parseHttpErrorCodeToMessageEn, parseHttpErrorCodeToTitleDe, parseHttpErrorCodeToTitleEn, parseQueryDevtoolsOverrideTransfer, pathParamsMissingInRouteFunctionError, provideInfinityQueryResponseDelay, provideLegacyPrepareFallback, provideQueryClientForDevtools, provideQueryDevtools, queryArrayComputed, queryBatchAlreadyRunning, queryBatchWithArgsUsed, queryClientFeatureUsedMultipleTimes, queryComputed, queryComputedTillTruthy, queryDevtoolsAbout, queryDevtoolsAllowsLocalAuthSessions, queryDevtoolsApiEnvIds, queryDevtoolsApiEnvIsProduction, queryDevtoolsApiEnvScope, queryDevtoolsApiEnvValues, queryDevtoolsApiEnvs, queryDevtoolsArmedMocks, queryDevtoolsArmedMocksRestored, queryDevtoolsAuthAccountsFor, queryDevtoolsAuthActive, queryDevtoolsAuthFieldsFor, queryDevtoolsAuthOtherScopeCount, queryDevtoolsAuthSessions, queryDevtoolsAuthSessionsFor, queryDevtoolsAuthTabLocal, queryDevtoolsEntries, queryDevtoolsFaults, queryDevtoolsFaultsRestored, queryDevtoolsMockId, queryDevtoolsMocks, queryDevtoolsOverridePersistence, queryDevtoolsRequestPath, queryDevtoolsResponseHistory, queryDevtoolsRestoredOverridesScope, queryDevtoolsSchemaNames, queryDevtoolsSchemaRoutes, queryDevtoolsSchemaState, queryDevtoolsSettings, queryDevtoolsStorage, queryDevtoolsTokenTtls, queryErrorMessage, queryErrorMessages, queryExecute, queryExecutedAfterDestroyMessage, queryFeatureUsedMultipleTimes, queryField, querySequence, querySequenceAlreadyRunning, queryStackWithArgsUsed, queryStackWithResponseUpdateUsed, queryStateAlreadyHasKeyError, queryStateCannotTransformError, queryStateDoesNotContainKeyError, queryStateErrorSignal, queryStateLoadingSignal, queryStateResponseSignal, queryStateSignal, readQueryDevtoolsStore, registerEthleteVersion, registerQueryErrorParser, removeFrom, removeQueryDevtoolsAuthAccount, renameQueryDevtoolsAuthSession, request, resetExecuteState, resetPageOnError, resolveInvalidationUrl, restoredQueryDevtoolsOverrides, saveQueryDevtoolsMock, searchQueryField, seedQueryDevtoolsSchemaBody, seedQueryDevtoolsSchemaRoute, serializeBody, serializeQueryDevtoolsOverrideTransfer, setQueryDevtoolsApiEnv, setQueryDevtoolsAppInfo, setQueryDevtoolsArmedMocksScope, setQueryDevtoolsAuthCredentials, setQueryDevtoolsAuthTabLocal, setQueryDevtoolsFault, setQueryDevtoolsFaultsScope, setQueryDevtoolsOverridePersistence, setQueryDevtoolsOverridesScope, setQueryDevtoolsSettings, setQueryDevtoolsTokenTtl, setQueryDevtoolsUiMounted, setupQueryDependencies, setupQueryExecuteState, setupQueryState, shouldAutoExecuteGqlQuery, shouldAutoExecuteQuery, shouldCacheQuery, shouldRetryRequest, silenceMissingWithArgsFeatureErrorUsedButWithArgsPresent, skipPaginationPageParamCalculator, smartDuplicateArrayItem, snapshotQueryDevtoolsHandle, sortQueryField, splitQueryConfig, stringArrayQueryField, stringifyQueryRouteParts, sumQueryDevtoolsStats, switchQueryCollectionState, switchQueryDevtoolsAuthSession, switchQueryState, symfonyQueryErrorParser, takeUntilResponse, toQuerySignal, toQuerySubject, tokensNotAvailableInsideAuthAndExec, tombstoneOf, transformArrayResponse, transformExecStateToQueryState, transformGql, transformMethod, transformPaginatedResponse, transformToBoolean, transformToBooleanArray, transformToDate, transformToDateArray, transformToNumber, transformToNumberArray, transformToSort, transformToSortQueryParam, transformToString, transformToStringArray, uncacheableRequestHasAllowCacheParam, uncacheableRequestHasCacheKeyParam, unwrapQuerySyncMessage, v2BuildQueryCacheKey, v2ExtractExpiresInSeconds, v2ShouldCacheQuery, v2ShouldRetryRequest, validateWithQuery, validateWithV2Query, withArgs, withArgsQueryFeatureMissingButRouteIsFunction, withAuthenticationQuery, withAutoRefresh, withAutoRefreshUsedInManualQuery, withAutoRefreshUsedOnUnsupportedHttpMethod, withBearerAuthMultiTabSync, withDefaultRetry, withErrorHandling, withEthleteApiErrors, withHtmlErrorParsing, withInactivityLogout, withLogging, withLongPolling, withLongPollingUsedOnUnsupportedHttpMethod, withLongPollingUsedWithPolling, withMultiTabSync, withPageResetOnError, withPersistentAuth, withPolling, withPollingUsedOnUnsupportedHttpMethod, withQueryPersistence, withRefreshQuery, withResponseUpdate, withSuccessHandling, withSymfonyErrors, withTokenExpirationWarning, withTokenRevocation, withTracking, wrapAsObservableSignal, wrapQuerySyncMessage, writeQueryDevtoolsStore };
|
|
9428
|
+
export type { AnyBearerAuthProvider, AnyCreateBearerAuthProviderResult, AnyCreateGqlQueryCreatorOptions, AnyCreateQueryClientResult, AnyGqlQueryConfig, AnyInfinityQuery, AnyInfinityQueryConfig, AnyLegacyQuery, AnyLegacyQueryCreator, AnyNewQuery, AnyPagedQueryStack, AnyQueryBatch, AnyQueryBatchItemResult, AnyQueryBuilder, AnyQueryClient, AnyQueryCollection, AnyQueryCollectionData, AnyQueryCollectionResponse, AnyQueryCreator, AnyQueryCreatorCollection, AnyQueryForm, AnyQuerySnapshot, AnyQueryStack, AnyRestQueryConfig, AnyRoute, AnyV2Query, AnyV2QueryCreator, AnyWebSocketClient, AppendItemsLocation, ApplyExternalResponseOptions, ApplyPersistedResponseOptions, AuthGuard, AuthGuardConfig, AuthGuardTarget, AuthProvider, AuthProviderBasicConfig, AuthProviderBearerConfig, AuthProviderCustomHeaderConfig, AuthQueryBuilder, AuthQueryConfig, BaseArguments, BaseQueryCreatorFactoryOptions, BaseQueryCreatorOptions, BaseQueryCreatorOptionsSubtle, BearerAuthActivityCoordination, BearerAuthExecutionState, BearerAuthExecutionStateError, BearerAuthExecutionStateLoading, BearerAuthExecutionStateLogout, BearerAuthExecutionStateSuccess, BearerAuthExecutionStateTokenSeed, BearerAuthFeature, BearerAuthMultiTabSyncConfig, BearerAuthMultiTabSyncFeature, BearerAuthProvider, BearerAuthProviderEarlySetup, BearerAuthProviderEarlySetupContext, BearerAuthProviderEarlySetupResult, BearerAuthProviderFeatureContext, BearerAuthProviderOf, BearerAuthProviderQueryContext, BearerAuthProviderRef, BearerAuthProviderTokens, BearerAuthRefreshCoordination, BearerAuthSessionAdoption, BearerAuthSessionEndCause, BearerAuthSessionStatus, BearerRefreshConfig, BodyType, BuildQueryStringConfig, CacheAdapterFn, Cancelled, ClassValidatorError, ConstructQuery, CreateBaseQueryOptions, CreateBearerAuthProviderConfig, CreateGqlQueryCreatorOptions, CreateGqlQueryExecuteOptions, CreateGqlQueryOptions, CreateHttpRequestDependencies, CreateHttpRequestOptions, CreateIndexedDbQueryPersistenceAdapterOptions, CreateLegacyQueryCreatorOptions, CreateLegacyQueryOptions, CreatePagedQueryStackOptions, CreateQueryBatchOptions, CreateQueryClientConfigOptions, CreateQueryCreatorOptions, CreateQueryExecuteOptions, CreateQueryObjectOptions, CreateQueryOptions, CreateQueryPersistenceEngineOptions, CreateQueryRepositoryConfig, CreateQuerySnapshotOptions, CreateQueryStackOptions, CreateQuerySubmissionConfig, CreateQuerySyncEngineOptions, CreateSecureGqlQueryExecuteOptions, CreateSecureGqlQueryOptions, CreateSecureQueryExecuteOptions, CreateSecureQueryOptions, CreateWebSocketClientConfigOptions, CreateWebSocketClientTransport, DefaultRetryOptions, DefineQueryFormConfig, DescribableFeature, DestroyCleanupCallback, EmptyObject, EntityGetParams, EntityIdParams, EntityKey, EntitySetParams, EntityStoreConfig, ExecuteFactory, ExecuteQueryOptions, ExtractQueryArgs, ExtractQueryKey, Failure, FeatureRegistry, GQL, GqlQueryArgs, GqlQueryConfig, GqlQueryConfigWithoutMethod, GqlQueryMethod, GqlQueryTransport, GqlRawResponseType, GqlTransferOption, GqlTransformer, GqlVariablesType, HttpCancelEvent, HttpErrorEvent, HttpRequest, HttpRequestLoadingProgressState, HttpRequestLoadingState, HttpRequestResponseType, HttpRequestRetryState, HttpRequestSubtle, HttpRequestTransferCacheConfig, InactivityLogoutConfig, InactivityLogoutFeature, InfinityQueryConfig, InfinityQueryConfigType, InfinityQueryOf, InfinityQueryParamLocation, InsertFromConfig, InternalCreateGqlQueryCreatorOptions, InternalCreateQueryCreatorOptions, InternalQueryExecute, InternalSecureCreateGqlQueryCreatorOptions, InternalSecureCreateQueryCreatorOptions, InternalWebSocketRoom, JsonPath, LeaderInstanceCountChangeEventData, LeaderStatusChangeEventData, LegacyArgumentsOfQueryArgs, LegacyQueryPrepareFn, Loading, LogoutEventData, MapViolationsToFormErrorsOptions, Method, ObservableSignal, OptionalQueryFieldOptions, OverrideOp, PageParamCalculatorOptions, PagedQueryStack, PagedQueryStackDirection, PagedQueryStackExecuteOptions, PagedQueryStackResetOptions, PartialXhrState, PathParams, PathParamsType, PersistedQueryBody, PersistedQueryEntry, PersistedQueryEntryMeta, PersistentAuthConfig, PersistentAuthFeature, PollConfig, Prepared, Query, QueryArgs, QueryArgsOf, QueryArgsOfLegacyArguments, QueryAutoRefreshConfig, QueryBase, QueryBatch, QueryBatchDevtoolsHandle, QueryBatchItemCancelled, QueryBatchItemError, QueryBatchItemResult, QueryBatchItemSkipped, QueryBatchItemSuccess, QueryBatchResult, QueryBatchStatus, QueryClient, QueryClientDevtoolsOptions, QueryClientErrorPipelineFeature, QueryClientFeature, QueryClientFeatureContext, QueryClientFeatureFn, QueryClientMultiTabSyncFeature, QueryClientPersistenceFeature, QueryClientRef, QueryClientSubtle, QueryCollectionKeysOf, QueryCollectionOf, QueryCollectionWithNullableQuery, QueryConfig, QueryConfigBase, QueryConfigWithoutMethod, QueryContainerConfig, QueryCreator, QueryDataOf, QueryDependencies, QueryDevtoolsAbout, QueryDevtoolsApiEnv, QueryDevtoolsApiEnvSwitch, QueryDevtoolsAppInfo, QueryDevtoolsAuthAccount, QueryDevtoolsAuthAccountView, QueryDevtoolsAuthField, QueryDevtoolsAuthLocalAccount, QueryDevtoolsAuthProviderHandle, QueryDevtoolsAuthProviderRegistration, QueryDevtoolsAuthQuery, QueryDevtoolsAuthSeed, QueryDevtoolsAuthSession, QueryDevtoolsEntry, QueryDevtoolsEntryKind, QueryDevtoolsEntryMeta, QueryDevtoolsFault, QueryDevtoolsFaultTarget, QueryDevtoolsFeature, QueryDevtoolsFeatureDescriber, QueryDevtoolsFeatureDetail, QueryDevtoolsFormField, QueryDevtoolsFormHandle, QueryDevtoolsFormLinksHandle, QueryDevtoolsFormLinksRecorder, QueryDevtoolsMock, QueryDevtoolsMockTarget, QueryDevtoolsOptions, QueryDevtoolsOverrideEntry, QueryDevtoolsOverrideTransfer, QueryDevtoolsOverrideTransferParse, QueryDevtoolsOverridesHandle, QueryDevtoolsOverridesRecorder, QueryDevtoolsPayload, QueryDevtoolsRegistrar, QueryDevtoolsRegistration, QueryDevtoolsResolvedFault, QueryDevtoolsResolvedMock, QueryDevtoolsRoutePart, QueryDevtoolsRun, QueryDevtoolsRunError, QueryDevtoolsRunStatus, QueryDevtoolsSchemaComponents, QueryDevtoolsSchemaLoader, QueryDevtoolsSchemaLoaders, QueryDevtoolsSchemaRoute, QueryDevtoolsSchemaSeed, QueryDevtoolsSchemaState, QueryDevtoolsSeedStyle, QueryDevtoolsSettings, QueryDevtoolsStats, QueryDevtoolsStatsHandle, QueryDevtoolsStatsRecorder, QueryDevtoolsStorageScope, QueryDirectiveContext, QueryDirectiveType, QueryEntityConfig, QueryErrorParser, QueryErrorResponse, QueryErrorResponseItem, QueryErrorResponseList, QueryErrorResponseSingle, QueryExecute, QueryExecuteArgs, QueryExecuteEventData, QueryExecuteOptions, QueryExecuteState, QueryExecutionState, QueryExecutionStateFailure, QueryExecutionStateFailureWithCachedResponse, QueryExecutionStateFailureWithNoResponse, QueryExecutionStateLoading, QueryExecutionStateLoadingWithCachedResponse, QueryExecutionStateLoadingWithNoResponse, QueryExecutionStateSuccess, QueryFailureEventData, QueryFeature, QueryFeatureContext, QueryFeatureFlags, QueryFeatureFn, QueryFieldConfig, QueryFieldDef, QueryFieldOptions, QueryFieldValue, QueryFilterConfig, QueryFormBranch, QueryFormChange, QueryFormFields, QueryFormGroup, QueryFormGroupControls, QueryFormModel, QueryFormObserveOptions, QueryFormOf, QueryFormOptions, QueryFormSignals, QueryFormSignalsObserveOptions, QueryFormSignalsWriteOptions, QueryFormValue, QueryFormValueEvent, QueryFormWriteOptions, QueryInvalidationCandidate, QueryInvalidationFilterFn, QueryInvalidationOptions, QueryKey, QueryKeyLockHold, QueryKeyLockHoldOptions, QueryKeyLockManager, QueryKeyLockState, QueryMethod, QueryMockConfig, QueryMultiTabSyncConfig, QueryOf, QueryParams, QueryParamsType, QueryPersistenceAdapter, QueryPersistenceCandidate, QueryPersistenceConfig, QueryPersistenceEngine, QueryPrepareFn, QueryRefreshCause, QueryRegistry, QueryRegistryEntry, QueryRepository, QueryRepositoryCacheEntry, QueryRepositoryDependencies, QueryRepositoryEntryDestroyedCause, QueryRepositoryEvent, QueryRepositoryItem, QueryRepositoryRefreshFilterFn, QueryRepositoryRequestOptions, QueryRepositorySubtle, QueryResponseOf, QueryRouteOf, QuerySequence, QuerySequenceResult, QuerySequenceStatus, QuerySequenceStepArgs, QuerySnapshot, QueryStack, QueryStackSubtle, QueryState, QueryStateMeta, QueryStateResponseOf, QueryStateSignal, QueryStateSubtle, QueryStateSuccessMeta, QueryStoreIdOf, QueryStoreOf, QuerySubmissionRef, QuerySubtle, QuerySuccessEventData, QuerySyncEngine, QuerySyncEnvelope, QuerySyncInvalidateMessage, QuerySyncMessage, QuerySyncMessageListener, QuerySyncMutation, QuerySyncMutationFilterFn, QuerySyncMutationMessage, QuerySyncRefreshCandidate, QuerySyncRefreshOnMutationConfig, QuerySyncResponseMessage, QuerySyncTransport, QueryTrigger, RawResponseType, ReadonlyQuery, RefreshFailure, RemoveFromConfig, RequestArgs, RequestConfig, RequestError, RequestEvent, RequestHeaders, RequestHeadersMethodMap, RequestHttpEvent, RequestProgress, RequestRetryFn, RequestRetryFnConfig, RequestRetryFnResult, RequiresTransform, ResetExecuteStateOptions, ResetPageOnErrorOperatorConfig, ResponseType, RestQueryConfig, RestoredQueryDevtoolsOverrides, RouteString, RouteType, RunQueryCreator, RunQueryExecuteOptions, SecureExecuteFactoryOptions, ServerValidationError, ServerViolationValidationError, SetupQueryDependenciesOptions, SetupQueryStateOptions, ShouldRetryRequestFn, ShouldRetryRequestOptions, ShouldRetryRequestResult, SocketMessageView, Sort, SortDirection, Success, SymfonyError, SymfonyErrorTrace, TokenExpirationWarningConfig, TokenExpirationWarningFeature, TokenRefreshEventData, TokenRefreshQueryBuilder, TokenRefreshQueryConfig, TokenResponse, TokenRevocationConfig, TokenRevocationFeature, TotalPagesExtractorOptions, TrackingConfig, TrackingEventDataMap, TrackingEventHandler, TrackingEventName, TrackingFeature, TransformedGqlQuery, V2CacheAdapterFn, V2PrepareArgsOf, V2QueryArgsOf, V2QueryClientConfig, V2QueryConfig, V2QueryState, V2RouteString, V2RouteType, ValidateWithQueryConfig, ValidateWithV2QueryConfig, WebSocketClient, WebSocketClientIo, WebSocketClientIoOptions, WebSocketClientResult, WebSocketClientSocket, WebSocketClientSubtle, WebSocketDevtoolsHandle, WebSocketDevtoolsMessage, WebSocketRoom, WithAutoRefreshFeatureOptions, WithBody, WithConfig, WithErrorHandlingFeatureOptions, WithHeaders, WithInjector, WithLegacyConfig, WithLoggingFeatureOptions, WithLongPollingFeatureOptions, WithMock, WithPageResetOnErrorFeatureOptions, WithPathParams, WithPollingFeatureOptions, WithQueryParams, WithResponseUpdateFeatureFnData, WithResponseUpdateFeatureOptions, WithSuccessHandlingFeatureOptions, WithVariables };
|