@ethlete/query 6.0.0-next.44 → 6.0.0-next.46
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 +91 -0
- package/fesm2022/ethlete-query-testing.mjs +138 -52
- package/fesm2022/ethlete-query-testing.mjs.map +1 -1
- package/fesm2022/ethlete-query.mjs +1978 -957
- package/fesm2022/ethlete-query.mjs.map +1 -1
- package/generators/migrate-to-query-v3/cleanup-migration.js +11 -10
- package/package.json +5 -5
- package/types/ethlete-query-testing.d.ts +37 -5
- package/types/ethlete-query.d.ts +312 -118
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
|
|
@@ -3362,6 +3399,7 @@ declare const QueryRuntimeErrorCode: {
|
|
|
3362
3399
|
readonly QUERY_STACK_WITH_RESPONSE_UPDATE_USED: 501;
|
|
3363
3400
|
readonly QUERY_STACK_TOTAL_QUERIES_AND_EXPECTED_QUERIES_MISMATCH: 502;
|
|
3364
3401
|
readonly GQL_DATA_PROPERTY_MISSING_IN_RESPONSE: 600;
|
|
3402
|
+
readonly GQL_ERRORS_IN_RESPONSE: 601;
|
|
3365
3403
|
readonly TOKENS_NOT_AVAILABLE_INSIDE_AUTH_AND_EXEC: 700;
|
|
3366
3404
|
readonly INVALID_STATE_INSIDE_SECURE_EXECUTE_FACTORY: 701;
|
|
3367
3405
|
readonly CIRCULAR_QUERY_DEPENDENCY: 800;
|
|
@@ -3375,7 +3413,7 @@ declare const QueryRuntimeErrorCode: {
|
|
|
3375
3413
|
readonly LEGACY_INVALID_BODY: 954;
|
|
3376
3414
|
};
|
|
3377
3415
|
type QueryRuntimeErrorCode = (typeof QueryRuntimeErrorCode)[keyof typeof QueryRuntimeErrorCode];
|
|
3378
|
-
declare const queryFeatureUsedMultipleTimes: (type:
|
|
3416
|
+
declare const queryFeatureUsedMultipleTimes: (type: string) => RuntimeError<0>;
|
|
3379
3417
|
declare const withArgsQueryFeatureMissingButRouteIsFunction: () => RuntimeError<100>;
|
|
3380
3418
|
declare const withPollingUsedOnUnsupportedHttpMethod: (method: string) => RuntimeError<101>;
|
|
3381
3419
|
declare const withAutoRefreshUsedOnUnsupportedHttpMethod: (method: string) => RuntimeError<102>;
|
|
@@ -3397,9 +3435,11 @@ declare const queryStackWithArgsUsed: () => RuntimeError<500>;
|
|
|
3397
3435
|
declare const queryStackWithResponseUpdateUsed: () => RuntimeError<501>;
|
|
3398
3436
|
declare const queryStackTotalQueriesAndExpectedQueriesMismatch: (totalQueries: number, expectedQueries: number) => RuntimeError<502>;
|
|
3399
3437
|
declare const gqlDataPropertyMissingInResponse: () => RuntimeError<600>;
|
|
3438
|
+
declare const gqlErrorsInResponse: (errors: unknown[]) => HttpErrorResponse;
|
|
3400
3439
|
declare const tokensNotAvailableInsideAuthAndExec: () => RuntimeError<700>;
|
|
3401
3440
|
declare const invalidStateInsideSecureExecuteFactory: () => RuntimeError<701>;
|
|
3402
3441
|
declare const circularQueryDependency: () => RuntimeError<800>;
|
|
3442
|
+
declare const queryExecutedAfterDestroyMessage: (route: unknown) => string;
|
|
3403
3443
|
declare const legacyPrepareWithoutInjectionContext: (creatorName: string | undefined, method?: "prepare" | "createSubject" | "createSignal") => RuntimeError<950>;
|
|
3404
3444
|
declare const querySequenceAlreadyRunning: () => RuntimeError<900>;
|
|
3405
3445
|
declare const queryBatchAlreadyRunning: () => RuntimeError<910>;
|
|
@@ -3443,8 +3483,9 @@ type QuerySequenceResult<TResponses extends unknown[]> = {
|
|
|
3443
3483
|
type QuerySequence<TResponses extends unknown[]> = {
|
|
3444
3484
|
/**
|
|
3445
3485
|
* Appends a dependent step. `mapArgs` runs at {@link run} time and receives the previous step's
|
|
3446
|
-
*
|
|
3447
|
-
*
|
|
3486
|
+
* unwrapped response plus the typed tuple of all responses so far, so a later step can still reach
|
|
3487
|
+
* an earlier one's data. A step that settles with no body (`204`) passes `null`, so declare such a
|
|
3488
|
+
* step's `response` as nullable and the type follows.
|
|
3448
3489
|
*/
|
|
3449
3490
|
then: <TArgs extends QueryArgs>(query: Query<TArgs>, mapArgs: (previousResponse: LastOf<TResponses>, responses: TResponses) => QuerySequenceStepArgs<TArgs>) => QuerySequence<[...TResponses, ResponseType<TArgs>]>;
|
|
3450
3491
|
/** The current lifecycle phase - `idle` before the first run, then `running` → `success` | `error`. */
|
|
@@ -3460,7 +3501,7 @@ type QuerySequence<TResponses extends unknown[]> = {
|
|
|
3460
3501
|
* `<et-progress-bar [value]>` or a button's `[progress]`. A run that fails stops where it stopped.
|
|
3461
3502
|
*/
|
|
3462
3503
|
progress: Signal<number>;
|
|
3463
|
-
/** The
|
|
3504
|
+
/** The number of steps of the fully-built chain - every link built from the same seed reports it. */
|
|
3464
3505
|
total: number;
|
|
3465
3506
|
/** The query objects backing each step, in order. Useful for devtools / advanced introspection. */
|
|
3466
3507
|
queries: AnyNewQuery[];
|
|
@@ -3485,8 +3526,9 @@ type QuerySequence<TResponses extends unknown[]> = {
|
|
|
3485
3526
|
* succeed. Re-runnable (e.g. behind a retry button); throws {@link querySequenceAlreadyRunning}
|
|
3486
3527
|
* if a run is already in flight.
|
|
3487
3528
|
*
|
|
3488
|
-
* Cancellation
|
|
3489
|
-
*
|
|
3529
|
+
* Cancellation (inherited from `executeUntilSettled`): a step whose request is cancelled - a
|
|
3530
|
+
* destroyed host scope, an evicted cache entry - stops the waterfall like any other failure, with
|
|
3531
|
+
* an error that says the request was cancelled.
|
|
3490
3532
|
*/
|
|
3491
3533
|
run: () => Promise<QuerySequenceResult<TResponses>>;
|
|
3492
3534
|
};
|
|
@@ -3534,7 +3576,7 @@ type ServerValidationError = ValidationError.WithOptionalFieldTree & {
|
|
|
3534
3576
|
* Extracts the violation list from a failed request in any of the shapes it may reach you:
|
|
3535
3577
|
* a `QueryErrorResponse` (from `query.error()` or a settled snapshot), a raw `HttpErrorResponse`,
|
|
3536
3578
|
* an already-unwrapped error body, or a plain violation array. Returns `[]` when the error
|
|
3537
|
-
* carries no violations.
|
|
3579
|
+
* carries no violations, including when its `violations` field is not a list of violations.
|
|
3538
3580
|
*/
|
|
3539
3581
|
declare const extractFormViolations: (error: unknown) => FormViolationView[];
|
|
3540
3582
|
type MapViolationsToFormErrorsOptions<TModel> = {
|
|
@@ -3569,9 +3611,10 @@ type MapViolationsToFormErrorsOptions<TModel> = {
|
|
|
3569
3611
|
* Each violation's `propertyPath` (e.g. `items[2].name`) is resolved against `fieldTree`; a
|
|
3570
3612
|
* resolved violation becomes a `ServerViolationValidationError` bound to that field, an
|
|
3571
3613
|
* 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
|
|
3614
|
+
* request that carries no usable violations - none at all, or a malformed violation payload -
|
|
3615
|
+
* degrades to form-level `ServerValidationError`s built from the normalized error message, so
|
|
3616
|
+
* returning this function's result from a `submit()` action never silently succeeds on failure
|
|
3617
|
+
* and never throws on an unexpected error shape.
|
|
3575
3618
|
*
|
|
3576
3619
|
* ```ts
|
|
3577
3620
|
* await submit(this.form, async (field) => {
|
|
@@ -3601,8 +3644,9 @@ declare const createQuerySnapshotFn: <TArgs extends QueryArgs>(options: CreateQu
|
|
|
3601
3644
|
* Designed for imperative flows that need a mutation's outcome in place - e.g. a signal-forms
|
|
3602
3645
|
* `submit()` action mapping server violations onto the form via `mapViolationsToFormErrors`.
|
|
3603
3646
|
*
|
|
3604
|
-
*
|
|
3605
|
-
*
|
|
3647
|
+
* A cancelled execution settles too - the entry was evicted, unbound by a logout, or the scope that
|
|
3648
|
+
* owns the query was destroyed. The snapshot then reports the execution as a failure whose error
|
|
3649
|
+
* says the request was cancelled, and its `latestHttpEvent()` is `{ type: 'cancel' }`.
|
|
3606
3650
|
*/
|
|
3607
3651
|
declare const executeUntilSettled: <TArgs extends QueryArgs>(query: Query<TArgs>, executeArgs?: QueryExecuteArgs<TArgs>) => Promise<QuerySnapshot<TArgs>>;
|
|
3608
3652
|
|
|
@@ -3766,7 +3810,7 @@ type CreateQuerySubmissionConfig<TCreator extends AnyQueryCreator, TModel> = {
|
|
|
3766
3810
|
* Runs after the request succeeded, before the action resolves and the form leaves its submitting
|
|
3767
3811
|
* state - notify, close the overlay, navigate.
|
|
3768
3812
|
*/
|
|
3769
|
-
onSuccess?: (response:
|
|
3813
|
+
onSuccess?: (response: ResponseType<QueryArgsOf<TCreator>>, field: FieldTree<TModel>) => void;
|
|
3770
3814
|
/**
|
|
3771
3815
|
* Rewrites a violation's property path before it is resolved against the field tree - use it when
|
|
3772
3816
|
* the API's payload shape differs from the form model. Return `null` to leave the violation
|
|
@@ -3775,7 +3819,8 @@ type CreateQuerySubmissionConfig<TCreator extends AnyQueryCreator, TModel> = {
|
|
|
3775
3819
|
rewritePath?: (path: string, violation: FormViolationView) => string | null;
|
|
3776
3820
|
/**
|
|
3777
3821
|
* Override the default violation → error mapping. Receives the failed request's error; return the
|
|
3778
|
-
* errors to report
|
|
3822
|
+
* errors to report, used as-is - `null` / `undefined` attaches nothing. Defaults to
|
|
3823
|
+
* `mapViolationsToFormErrors` against the submitted field.
|
|
3779
3824
|
*/
|
|
3780
3825
|
mapViolations?: (error: unknown, field: FieldTree<TModel>) => TreeValidationResult;
|
|
3781
3826
|
};
|
|
@@ -3845,7 +3890,9 @@ type SecureExecuteFactoryOptions<TArgs extends QueryArgs> = {
|
|
|
3845
3890
|
* provider function, not resolved headers - it must be passed through to the repository as-is, or
|
|
3846
3891
|
* the request freezes the access token it was first built with.
|
|
3847
3892
|
*/
|
|
3848
|
-
transformAuthAndExec: (executeArgs: QueryExecuteArgs<TArgs>
|
|
3893
|
+
transformAuthAndExec: (executeArgs: QueryExecuteArgs<TArgs> & {
|
|
3894
|
+
args: RequestArgs<TArgs>;
|
|
3895
|
+
}, executeState: ReturnType<typeof setupQueryExecuteState>) => void;
|
|
3849
3896
|
};
|
|
3850
3897
|
declare const createSecureExecuteFactory: <TArgs extends QueryArgs>(options: SecureExecuteFactoryOptions<TArgs>) => InternalQueryExecute<TArgs>;
|
|
3851
3898
|
|
|
@@ -3871,6 +3918,7 @@ type ValidateWithQueryConfig<TCreator extends AnyQueryCreator, TValue, TPathKind
|
|
|
3871
3918
|
/**
|
|
3872
3919
|
* Override the default violation → error mapping. Receives the violations extracted from the
|
|
3873
3920
|
* failed request; return the errors to report (targeting child fields via their `fieldTree`).
|
|
3921
|
+
* Runs only for a request that carries violations - any other error keeps the form-level error.
|
|
3874
3922
|
* Defaults to `mapViolationsToFormErrors`, resolving each violation's `propertyPath` against the
|
|
3875
3923
|
* validated field.
|
|
3876
3924
|
*/
|
|
@@ -4214,7 +4262,8 @@ type PersistentAuthConfig<TBuilders extends readonly AnyQueryBuilder[], TKey ext
|
|
|
4214
4262
|
*/
|
|
4215
4263
|
name?: string;
|
|
4216
4264
|
/**
|
|
4217
|
-
* The domain of the cookie. If not set, the
|
|
4265
|
+
* The domain of the cookie. If not set, the cookie is host-only: it belongs to the exact host that
|
|
4266
|
+
* wrote it and no subdomain of it. Set this only when sibling subdomains must share the session.
|
|
4218
4267
|
*/
|
|
4219
4268
|
domain?: string;
|
|
4220
4269
|
/**
|
|
@@ -4306,6 +4355,12 @@ type TokenExpirationWarningConfig = {
|
|
|
4306
4355
|
* @default 1000 (1 second)
|
|
4307
4356
|
*/
|
|
4308
4357
|
checkInterval?: number;
|
|
4358
|
+
/**
|
|
4359
|
+
* Name of the claim in the decoded access token that carries the expiry, as seconds since the epoch.
|
|
4360
|
+
* Must match the `expiresInPropertyName` of the refresh query.
|
|
4361
|
+
* @default 'exp'
|
|
4362
|
+
*/
|
|
4363
|
+
expiresInPropertyName?: string;
|
|
4309
4364
|
};
|
|
4310
4365
|
type TokenExpirationWarningFeature = {
|
|
4311
4366
|
/**
|
|
@@ -4409,12 +4464,14 @@ type LeaderInstanceCountChangeEventData = {
|
|
|
4409
4464
|
count: number;
|
|
4410
4465
|
};
|
|
4411
4466
|
type TrackingEventDataMap<TBuilders extends readonly AnyQueryBuilder[]> = {
|
|
4412
|
-
[K in TrackingEventName<TBuilders>]: K extends
|
|
4467
|
+
[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;
|
|
4413
4468
|
};
|
|
4414
4469
|
type TrackingEventHandler<TData> = (data: TData) => void;
|
|
4415
4470
|
type TrackingConfig<TBuilders extends readonly AnyQueryBuilder[] = readonly AnyQueryBuilder[]> = {
|
|
4416
4471
|
/**
|
|
4417
|
-
* Whether
|
|
4472
|
+
* Whether executions the provider starts itself - the persistent auto-login, the proactive token
|
|
4473
|
+
* refresh, the token revocation - also raise their `<key>Execute` / `<key>Success` / `<key>Failure`
|
|
4474
|
+
* events.
|
|
4418
4475
|
* @default true
|
|
4419
4476
|
*/
|
|
4420
4477
|
trackInternalEvents?: boolean;
|
|
@@ -4561,10 +4618,19 @@ type BearerAuthProviderEarlySetupContext = {
|
|
|
4561
4618
|
* `withBearerAuthMultiTabSync`; absent when every tab refreshes for itself.
|
|
4562
4619
|
*/
|
|
4563
4620
|
type BearerAuthRefreshCoordination = {
|
|
4564
|
-
/**
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4621
|
+
/**
|
|
4622
|
+
* Asks the leader tab to refresh the session's tokens now, with the access token this tab holds. The
|
|
4623
|
+
* leader answers a request made with a token it has already rotated past by sending its current pair
|
|
4624
|
+
* instead of spending another refresh token.
|
|
4625
|
+
*/
|
|
4626
|
+
request: (accessToken?: string | null) => void;
|
|
4627
|
+
/**
|
|
4628
|
+
* Emits in the leader tab whenever another tab asked for a refresh, carrying the access token that
|
|
4629
|
+
* tab asked with - `null` when it held none, or ran a version that did not send one.
|
|
4630
|
+
*/
|
|
4631
|
+
requests$: Observable<string | null>;
|
|
4632
|
+
/** Sends the token pair this tab holds to the others, which is how a request is answered without a refresh. */
|
|
4633
|
+
answerWithCurrentTokens?: () => void;
|
|
4568
4634
|
/**
|
|
4569
4635
|
* Tells the other tabs that a refresh started here. It is what makes {@link request} more than a
|
|
4570
4636
|
* message into the void: a follower that gets no answer takes the refresh over itself, so a leader
|
|
@@ -5244,7 +5310,8 @@ type QueryDevtoolsSettings = {
|
|
|
5244
5310
|
/**
|
|
5245
5311
|
* The session vault: the token pairs the panel switches between, and the credentials it logs in with.
|
|
5246
5312
|
* `local` by default, because a vault that forgets the other user on every reload is not one - and
|
|
5247
|
-
* `none` for a machine where nothing of the sort may be kept.
|
|
5313
|
+
* `none` for a machine where nothing of the sort may be kept. Outside a development build `local` is
|
|
5314
|
+
* refused and read back as `session`, see {@link queryDevtoolsAllowsLocalAuthSessions}.
|
|
5248
5315
|
*/
|
|
5249
5316
|
authSessions: QueryDevtoolsStorageScope;
|
|
5250
5317
|
/** How many entries the Events log keeps. */
|
|
@@ -5296,6 +5363,15 @@ declare const writeQueryDevtoolsStore: (scope: QueryDevtoolsStorageScope, key: s
|
|
|
5296
5363
|
* Part of the devtools contract. **Not part of the general public contract.**
|
|
5297
5364
|
*/
|
|
5298
5365
|
declare const clearQueryDevtoolsStore: (key: string) => void;
|
|
5366
|
+
/**
|
|
5367
|
+
* Whether the session vault may be kept in `localStorage`. Only a development build may: the vault
|
|
5368
|
+
* holds live access and refresh tokens plus the credentials somebody typed in, and a deployed
|
|
5369
|
+
* application that mounts the panel for its debugging value must not leave those on the machine of
|
|
5370
|
+
* whoever opened it. Every other scope stays on offer, so the vault still works for one tab.
|
|
5371
|
+
*
|
|
5372
|
+
* Part of the devtools contract. **Not part of the general public contract.**
|
|
5373
|
+
*/
|
|
5374
|
+
declare const queryDevtoolsAllowsLocalAuthSessions: () => boolean;
|
|
5299
5375
|
/**
|
|
5300
5376
|
* Changes part of the devtools configuration and stores it. Values outside the range a field allows are
|
|
5301
5377
|
* clamped rather than rejected.
|
|
@@ -5574,6 +5650,15 @@ type QueryDevtoolsRegistration = {
|
|
|
5574
5650
|
};
|
|
5575
5651
|
/** The registry {@link provideQueryDevtools} installs. */
|
|
5576
5652
|
type QueryDevtoolsRegistrar = (entry: QueryDevtoolsRegistration) => () => void;
|
|
5653
|
+
/**
|
|
5654
|
+
* Whether `provideQueryDevtools()` has been called on this page. When `false` every instrumentation
|
|
5655
|
+
* site is a no-op, which is what a devtools UI gates itself on so a build that omits the provider
|
|
5656
|
+
* renders nothing.
|
|
5657
|
+
*
|
|
5658
|
+
* It is answered by the `provideQueryDevtools()` call itself, which runs while the providers array is
|
|
5659
|
+
* built - so it is already settled by the time an application bootstraps and needs no signal.
|
|
5660
|
+
*/
|
|
5661
|
+
declare const isQueryDevtoolsEnabled: () => boolean;
|
|
5577
5662
|
/** The request an upcoming attempt belongs to, for the fault resolver to match against. */
|
|
5578
5663
|
type QueryDevtoolsFaultTarget = {
|
|
5579
5664
|
/** Display name of the owning query client. Faults are armed per client. */
|
|
@@ -5640,6 +5725,17 @@ type QueryDevtoolsAuthSeed = {
|
|
|
5640
5725
|
refreshToken: string;
|
|
5641
5726
|
};
|
|
5642
5727
|
|
|
5728
|
+
/**
|
|
5729
|
+
* Whether the client that owns a repository is still alive. A destroyed client's queries survive as
|
|
5730
|
+
* tombstones, which keep their `meta.repository`, so this is the only way to tell a dead client from
|
|
5731
|
+
* one whose queries all happen to be destroyed.
|
|
5732
|
+
*
|
|
5733
|
+
* Reads a version signal, so a computed that calls it recomputes as clients come and go.
|
|
5734
|
+
*
|
|
5735
|
+
* Part of the devtools contract. **Not part of the general public contract.**
|
|
5736
|
+
*/
|
|
5737
|
+
declare const isQueryDevtoolsRepositoryLive: (repository: QueryRepository) => boolean;
|
|
5738
|
+
|
|
5643
5739
|
/**
|
|
5644
5740
|
* A response designed in the devtools panel and served in place of a request. An override edits what came
|
|
5645
5741
|
* back; a mock replaces the request itself, so it can be armed for a route that has never run - or does
|
|
@@ -6034,6 +6130,9 @@ type QueryDevtoolsOptions = {
|
|
|
6034
6130
|
* When omitted, all devtools instrumentation is a no-op: the registry is never installed, so nothing
|
|
6035
6131
|
* is retained at runtime and the registry itself is dropped from the bundle.
|
|
6036
6132
|
*
|
|
6133
|
+
* The options are read once, on the first call. A second application on the same page keeps the
|
|
6134
|
+
* options of the first one, and this call warns about the ones it declared itself.
|
|
6135
|
+
*
|
|
6037
6136
|
* @example
|
|
6038
6137
|
* ```ts
|
|
6039
6138
|
* bootstrapApplication(AppComponent, {
|
|
@@ -6125,8 +6224,9 @@ declare const MAX_QUERY_BATCH_TOMBSTONES = 20;
|
|
|
6125
6224
|
declare const snapshotQueryDevtoolsHandle: (handle: unknown) => unknown;
|
|
6126
6225
|
/**
|
|
6127
6226
|
* The entry a destroyed query leaves behind: the same id, kind and metadata, a frozen
|
|
6128
|
-
* {@link snapshotQueryDevtoolsHandle} in place of the live query, and
|
|
6129
|
-
* component is gone
|
|
6227
|
+
* {@link snapshotQueryDevtoolsHandle} in place of the live query, and neither `element` nor
|
|
6228
|
+
* `queryConfig.injector` - a DOM node whose component is gone, and the `NodeInjector` that reaches the
|
|
6229
|
+
* same view through its `LView`, must not be kept alive by the panel.
|
|
6130
6230
|
*
|
|
6131
6231
|
* `stats` is carried over as-is. The recorder closes over its own signals rather than over the query,
|
|
6132
6232
|
* so the run history that makes a failed request readable survives without retaining anything.
|
|
@@ -6149,10 +6249,15 @@ declare const setQueryDevtoolsUiMounted: (isMounted: boolean) => void;
|
|
|
6149
6249
|
|
|
6150
6250
|
type TransformedGqlQuery = {
|
|
6151
6251
|
query: string;
|
|
6152
|
-
variables?: string
|
|
6252
|
+
variables?: string | Record<string, unknown>;
|
|
6153
6253
|
operationName?: string;
|
|
6154
6254
|
};
|
|
6155
|
-
type GqlTransformer = (variables: Record<string, unknown> | null | undefined) => TransformedGqlQuery;
|
|
6255
|
+
type GqlTransformer = (variables: Record<string, unknown> | null | undefined, transport?: GqlQueryTransport) => TransformedGqlQuery;
|
|
6256
|
+
/**
|
|
6257
|
+
* Builds the GraphQL-over-HTTP payload of a document. `variables` comes back as a JSON string for
|
|
6258
|
+
* the `GET` transport (the default), where the payload travels as query parameters, and as the map
|
|
6259
|
+
* itself for `POST`, where it travels as a JSON body.
|
|
6260
|
+
*/
|
|
6156
6261
|
declare const transformGql: (str: string | string[]) => GqlTransformer;
|
|
6157
6262
|
type GQL = string & {
|
|
6158
6263
|
readonly __gql: unique symbol;
|
|
@@ -6411,6 +6516,32 @@ type RequestEvent<Response = unknown> = {
|
|
|
6411
6516
|
*/
|
|
6412
6517
|
declare const request: <Response = unknown>(config: RequestConfig) => Observable<RequestEvent<Response>>;
|
|
6413
6518
|
|
|
6519
|
+
/**
|
|
6520
|
+
* @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.
|
|
6521
|
+
*/
|
|
6522
|
+
declare const buildQueryString: (params: _ethlete_query.QueryParams, config?: _ethlete_query.BuildQueryStringConfig) => string | null;
|
|
6523
|
+
/**
|
|
6524
|
+
* @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.
|
|
6525
|
+
*/
|
|
6526
|
+
declare const buildRoute: (options: {
|
|
6527
|
+
base: string;
|
|
6528
|
+
route: RouteInput | null | undefined;
|
|
6529
|
+
pathParams?: _ethlete_query.PathParams;
|
|
6530
|
+
queryParams?: _ethlete_query.QueryParams;
|
|
6531
|
+
queryParamConfig?: _ethlete_query.BuildQueryStringConfig;
|
|
6532
|
+
}) => string;
|
|
6533
|
+
/**
|
|
6534
|
+
* @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.
|
|
6535
|
+
*/
|
|
6536
|
+
declare const buildTimestampFromSeconds: (seconds: number | null) => number | null;
|
|
6537
|
+
/**
|
|
6538
|
+
* @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.
|
|
6539
|
+
*/
|
|
6540
|
+
declare const isEmptyString: (value: unknown) => boolean;
|
|
6541
|
+
/**
|
|
6542
|
+
* @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.
|
|
6543
|
+
*/
|
|
6544
|
+
declare const isNaN: (value: unknown) => boolean;
|
|
6414
6545
|
/**
|
|
6415
6546
|
* @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.
|
|
6416
6547
|
*/
|
|
@@ -6480,11 +6611,12 @@ type QueryFieldOptions<T = unknown> = {
|
|
|
6480
6611
|
/**
|
|
6481
6612
|
* Append the field's value to the url.
|
|
6482
6613
|
*
|
|
6483
|
-
* The field
|
|
6484
|
-
*
|
|
6485
|
-
*
|
|
6486
|
-
*
|
|
6487
|
-
*
|
|
6614
|
+
* The field is removed from the url while it holds its default value, unless
|
|
6615
|
+
* `appendDefaultValueToUrl` is `true`. Any other value is written - a `null` as the `ET_NULL__`
|
|
6616
|
+
* sentinel it reads back from, an empty string as an empty param.
|
|
6617
|
+
*
|
|
6618
|
+
* `false` means the field mirrors a param another owner writes: the form neither writes nor
|
|
6619
|
+
* removes that param, and a foreign write to it still reaches the field.
|
|
6488
6620
|
*
|
|
6489
6621
|
* @default true
|
|
6490
6622
|
*/
|
|
@@ -6559,6 +6691,7 @@ type QueryFormGroupControls<T extends Record<string, QueryField<any>>> = {
|
|
|
6559
6691
|
type QueryFormValue<T extends Record<string, QueryField<any>>> = {
|
|
6560
6692
|
[Property in keyof T]: T[Property]['control']['value'];
|
|
6561
6693
|
};
|
|
6694
|
+
/** @deprecated Use `defineQueryForm`. */
|
|
6562
6695
|
type QueryFormOf<T extends FormGroup> = {
|
|
6563
6696
|
[K in keyof T['controls']]: QueryField<T['controls'][K]['value']>;
|
|
6564
6697
|
};
|
|
@@ -6686,6 +6819,7 @@ type QueryFormOptions = {
|
|
|
6686
6819
|
*/
|
|
6687
6820
|
queryParamPrefix?: string | (() => string);
|
|
6688
6821
|
};
|
|
6822
|
+
/** @deprecated Use `defineQueryForm`. */
|
|
6689
6823
|
type AnyQueryForm = QueryForm<any>;
|
|
6690
6824
|
/** @deprecated Use `defineQueryForm`. */
|
|
6691
6825
|
declare class QueryForm<T extends Record<string, QueryField<any>>> {
|
|
@@ -6701,6 +6835,8 @@ declare class QueryForm<T extends Record<string, QueryField<any>>> {
|
|
|
6701
6835
|
private isObserving;
|
|
6702
6836
|
private removeQueryParamsOnCleanup;
|
|
6703
6837
|
private skipNextResets;
|
|
6838
|
+
private skipNextDebounce;
|
|
6839
|
+
private skipNextResetsFor;
|
|
6704
6840
|
private urlWriteVersion;
|
|
6705
6841
|
private readonly urlNavigationMarker;
|
|
6706
6842
|
private queryParamChanges$;
|
|
@@ -6749,6 +6885,7 @@ declare class QueryForm<T extends Record<string, QueryField<any>>> {
|
|
|
6749
6885
|
unobserve(): void;
|
|
6750
6886
|
setFormValueFromUrlQueryParams(options: {
|
|
6751
6887
|
queryParams: Record<string, unknown>;
|
|
6888
|
+
onlyFieldsTheFormNeverWrites?: boolean;
|
|
6752
6889
|
}): boolean;
|
|
6753
6890
|
setValue(value: QueryFormValue<T>, options?: QueryFormWriteOptions): void;
|
|
6754
6891
|
patchValue(value: Partial<QueryFormValue<T>>, options?: QueryFormWriteOptions): void;
|
|
@@ -6768,6 +6905,8 @@ declare class QueryForm<T extends Record<string, QueryField<any>>> {
|
|
|
6768
6905
|
private _syncViaUrlQueryParams;
|
|
6769
6906
|
private handleFormChange;
|
|
6770
6907
|
private cleanup;
|
|
6908
|
+
private navigateWithParams;
|
|
6909
|
+
private pathOf;
|
|
6771
6910
|
}
|
|
6772
6911
|
|
|
6773
6912
|
/**
|
|
@@ -6786,6 +6925,10 @@ declare class QueryForm<T extends Record<string, QueryField<any>>> {
|
|
|
6786
6925
|
* requests, which is data bleed rather than a leak. Server-side renders keep throwing `ET950`, so a call
|
|
6787
6926
|
* site that only works in the browser fails loudly where it matters.
|
|
6788
6927
|
*
|
|
6928
|
+
* With several applications on one page it stays a single module-global slot: the application that
|
|
6929
|
+
* provided it first answers every `prepare()` made outside an injection context, whichever application
|
|
6930
|
+
* made the call, until that application is destroyed. Dev mode warns when a second one registers.
|
|
6931
|
+
*
|
|
6789
6932
|
* Prefer passing `injector` at the call site - it keeps the query scoped to whatever created it. Reach for
|
|
6790
6933
|
* this when a migration has too many call sites to thread by hand.
|
|
6791
6934
|
*
|
|
@@ -6809,7 +6952,7 @@ type CreateLegacyQueryOptions<TArgs extends QueryArgs> = {
|
|
|
6809
6952
|
/**
|
|
6810
6953
|
* @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.
|
|
6811
6954
|
*/
|
|
6812
|
-
declare const transformExecStateToQueryState: <TArgs extends QueryArgs>(execState: QueryExecutionState<TArgs> | null) => V2QueryState<ResponseType<TArgs>>;
|
|
6955
|
+
declare const transformExecStateToQueryState: <TArgs extends QueryArgs>(execState: QueryExecutionState<TArgs> | null, triggeredVia?: QueryTrigger) => V2QueryState<ResponseType<TArgs>>;
|
|
6813
6956
|
/**
|
|
6814
6957
|
* @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.
|
|
6815
6958
|
*/
|
|
@@ -6826,6 +6969,8 @@ declare class LegacyQuery<Response, Arguments extends BaseArguments | undefined,
|
|
|
6826
6969
|
_arguments: RequestArgs<QueryArgsOf<TNewQuery>>;
|
|
6827
6970
|
entity?: QueryEntityConfig<Store, Data, Response, Arguments, Id> | undefined;
|
|
6828
6971
|
private isDestroyed;
|
|
6972
|
+
private _triggeredVia;
|
|
6973
|
+
private _wasAborted;
|
|
6829
6974
|
state$: Observable<V2QueryState<Data>>;
|
|
6830
6975
|
constructor(newQuery: TNewQuery, _arguments: RequestArgs<QueryArgsOf<TNewQuery>>, entity?: QueryEntityConfig<Store, Data, Response, Arguments, Id> | undefined,
|
|
6831
6976
|
/**
|
|
@@ -6842,7 +6987,12 @@ declare class LegacyQuery<Response, Arguments extends BaseArguments | undefined,
|
|
|
6842
6987
|
* @internal
|
|
6843
6988
|
*/
|
|
6844
6989
|
_canBeCached?: boolean);
|
|
6845
|
-
get rawState(): V2QueryState<
|
|
6990
|
+
get rawState(): V2QueryState<ResponseType<QueryArgsOf<TNewQuery>>>;
|
|
6991
|
+
/**
|
|
6992
|
+
* `abort()` resets the underlying query, so it holds no execution state - the shape of a query that has
|
|
6993
|
+
* never run. The abort flag is the only thing that tells the two apart.
|
|
6994
|
+
*/
|
|
6995
|
+
private toQueryState;
|
|
6846
6996
|
get isExpired(): boolean | undefined;
|
|
6847
6997
|
get isInUse(): boolean;
|
|
6848
6998
|
get isPolling(): boolean;
|
|
@@ -7365,7 +7515,7 @@ type WithMock<MockResponse> = {
|
|
|
7365
7515
|
*/
|
|
7366
7516
|
type V2QueryConfig = {
|
|
7367
7517
|
/**
|
|
7368
|
-
* Whether this query should be
|
|
7518
|
+
* Whether this query should be kept out of the internal query store, so it is neither cached nor shared.
|
|
7369
7519
|
*
|
|
7370
7520
|
* Generally this should be left on `false` unless you know what you are doing.
|
|
7371
7521
|
* @default false
|
|
@@ -7638,6 +7788,7 @@ declare class V2Query<Response, Arguments extends BaseArguments | undefined, Rou
|
|
|
7638
7788
|
private pollingSubscription;
|
|
7639
7789
|
private onAbort$;
|
|
7640
7790
|
private currentPollConfig;
|
|
7791
|
+
private pollStopSubscription;
|
|
7641
7792
|
private memoizedState$;
|
|
7642
7793
|
private readonly _state$;
|
|
7643
7794
|
constructor(_client: V2QueryClient,
|
|
@@ -7966,9 +8117,13 @@ declare class V2QueryClient {
|
|
|
7966
8117
|
*/
|
|
7967
8118
|
declare const v2ShouldCacheQuery: (method: Method) => method is "GET" | "OPTIONS" | "HEAD" | "GQL_QUERY";
|
|
7968
8119
|
/**
|
|
8120
|
+
* Builds the query store key for a request. `method` keeps two cacheable methods on one route
|
|
8121
|
+
* (a `HEAD` and an `OPTIONS`, a `GQL_QUERY` over POST and a plain `GET`) in separate entries.
|
|
8122
|
+
* Omitting it - or passing `GET` - yields the key a `GET` has always had.
|
|
8123
|
+
*
|
|
7969
8124
|
* @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.
|
|
7970
8125
|
*/
|
|
7971
|
-
declare const v2BuildQueryCacheKey: (route: string, args: BaseArguments | undefined) => string;
|
|
8126
|
+
declare const v2BuildQueryCacheKey: (route: string, args: BaseArguments | undefined, method?: Method) => string;
|
|
7972
8127
|
|
|
7973
8128
|
/**
|
|
7974
8129
|
* @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.
|
|
@@ -7978,6 +8133,8 @@ declare class QueryStore {
|
|
|
7978
8133
|
private garbageCollector;
|
|
7979
8134
|
private isInLowResourceMode;
|
|
7980
8135
|
private lastBlurTimestamp;
|
|
8136
|
+
private isDestroyed;
|
|
8137
|
+
private readonly subscriptions;
|
|
7981
8138
|
private _storeChange$;
|
|
7982
8139
|
private _queryCreated$;
|
|
7983
8140
|
readonly storeChange$: rxjs.Observable<string>;
|
|
@@ -8240,6 +8397,7 @@ declare class BasicAuthProvider implements AuthProvider {
|
|
|
8240
8397
|
declare class V2BearerAuthProvider<T extends AnyV2QueryCreator> implements AuthProvider {
|
|
8241
8398
|
_config: AuthProviderBearerConfig<T>;
|
|
8242
8399
|
private destroy$;
|
|
8400
|
+
private refreshTimerSubscription;
|
|
8243
8401
|
private readonly _currentRefreshQuery$;
|
|
8244
8402
|
private readonly _tokens$;
|
|
8245
8403
|
constructor(_config: AuthProviderBearerConfig<T>);
|
|
@@ -8249,7 +8407,9 @@ declare class V2BearerAuthProvider<T extends AnyV2QueryCreator> implements AuthP
|
|
|
8249
8407
|
get currentRefreshQuery$(): rxjs.Observable<ConstructQuery<T> | null>;
|
|
8250
8408
|
get currentRefreshQuery(): ConstructQuery<T> | null;
|
|
8251
8409
|
get shouldRefreshOnUnauthorizedResponse(): boolean;
|
|
8252
|
-
cleanUp(
|
|
8410
|
+
cleanUp(options?: {
|
|
8411
|
+
endSession?: boolean;
|
|
8412
|
+
}): void;
|
|
8253
8413
|
enableCookie(): void;
|
|
8254
8414
|
disableCookie(): void;
|
|
8255
8415
|
forceRefresh(): _ethlete_query.V2Query<any, any, any, any, any, any> | undefined;
|
|
@@ -8270,6 +8430,10 @@ declare const isBearerAuthProvider: <T extends AnyV2QueryCreator>(authProvider:
|
|
|
8270
8430
|
* @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.
|
|
8271
8431
|
*/
|
|
8272
8432
|
declare const isCustomHeaderAuthProvider: (authProvider: AuthProvider) => authProvider is CustomHeaderAuthProvider;
|
|
8433
|
+
/**
|
|
8434
|
+
* @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.
|
|
8435
|
+
*/
|
|
8436
|
+
declare const decryptBearer: <Result = Record<string, unknown>>(token: string) => Result | null;
|
|
8273
8437
|
|
|
8274
8438
|
/**
|
|
8275
8439
|
* @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.
|
|
@@ -8497,6 +8661,11 @@ type InfinityQueryConfig<QueryCreator extends AnyV2QueryCreator | AnyLegacyQuery
|
|
|
8497
8661
|
* The args that will be merged with the page arg.
|
|
8498
8662
|
*/
|
|
8499
8663
|
defaultArgs?: Arguments & WithHeaders;
|
|
8664
|
+
/**
|
|
8665
|
+
* The injector each page is prepared with. Required for a creator made by `createLegacyQueryCreator()`, which
|
|
8666
|
+
* cannot resolve one on its own. `[etInfinityQuery]` fills this in with its own injector.
|
|
8667
|
+
*/
|
|
8668
|
+
injector?: Injector;
|
|
8500
8669
|
/**
|
|
8501
8670
|
* Enables or disables the infinite query functionality.
|
|
8502
8671
|
* @default true
|
|
@@ -8651,7 +8820,7 @@ type DirectiveQueryCreator = AnyV2QueryCreator | AnyLegacyQueryCreator;
|
|
|
8651
8820
|
/**
|
|
8652
8821
|
* @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.
|
|
8653
8822
|
*/
|
|
8654
|
-
declare class InfinityQueryDirective<Q extends InfinityQueryConfig<DirectiveQueryCreator, BaseArguments | undefined, any, unknown[]>> {
|
|
8823
|
+
declare class InfinityQueryDirective<Q extends InfinityQueryConfig<DirectiveQueryCreator, BaseArguments | undefined, any, unknown[]>> implements OnInit {
|
|
8655
8824
|
private readonly queryConfigChanged$;
|
|
8656
8825
|
private readonly viewContext;
|
|
8657
8826
|
private infinityQueryInstance;
|
|
@@ -8660,6 +8829,7 @@ declare class InfinityQueryDirective<Q extends InfinityQueryConfig<DirectiveQuer
|
|
|
8660
8829
|
private viewContainerRef;
|
|
8661
8830
|
private mainTemplateRef;
|
|
8662
8831
|
private errorHandler;
|
|
8832
|
+
private injector;
|
|
8663
8833
|
private infinityQueryResponseDelay;
|
|
8664
8834
|
private readonly _data$;
|
|
8665
8835
|
get infinityQuery(): Q;
|
|
@@ -8670,7 +8840,7 @@ declare class InfinityQueryDirective<Q extends InfinityQueryConfig<DirectiveQuer
|
|
|
8670
8840
|
get data$(): rxjs.Observable<Q["response"]["arrayType"]>;
|
|
8671
8841
|
data: _angular_core.Signal<Q["response"]["arrayType"]>;
|
|
8672
8842
|
static ngTemplateContextGuard<Q extends InfinityQueryConfig<DirectiveQueryCreator, BaseArguments | undefined, any, unknown[]>>(_dir: InfinityQueryDirective<Q>, _ctx: unknown): _ctx is InfinityQueryContext<Q>;
|
|
8673
|
-
|
|
8843
|
+
ngOnInit(): void;
|
|
8674
8844
|
private setupInfinityQuery;
|
|
8675
8845
|
loadNextPage(): void;
|
|
8676
8846
|
reset(newConfig?: Omit<Q, 'queryCreator' | 'response'>): void;
|
|
@@ -8689,6 +8859,7 @@ declare class InfinityQueryTriggerDirective implements OnInit, OnDestroy {
|
|
|
8689
8859
|
infinityQueryOverride: _angular_core.InputSignal<InfinityQueryDirective<any> | null>;
|
|
8690
8860
|
private destroy;
|
|
8691
8861
|
private observer;
|
|
8862
|
+
private isIntersecting;
|
|
8692
8863
|
click$: rxjs.Observable<Event>;
|
|
8693
8864
|
infinityQuery: _angular_core.Signal<InfinityQueryDirective<any>>;
|
|
8694
8865
|
ngOnInit(): void;
|
|
@@ -8755,6 +8926,18 @@ declare class QueryDirective<Q extends QueryDirectiveType | null> {
|
|
|
8755
8926
|
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>;
|
|
8756
8927
|
}
|
|
8757
8928
|
|
|
8929
|
+
/**
|
|
8930
|
+
* @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.
|
|
8931
|
+
*/
|
|
8932
|
+
declare const invalidBaseRouteError: (data: unknown) => RuntimeError<1>;
|
|
8933
|
+
/**
|
|
8934
|
+
* @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.
|
|
8935
|
+
*/
|
|
8936
|
+
declare const invalidRouteError: (data: unknown) => RuntimeError<2>;
|
|
8937
|
+
/**
|
|
8938
|
+
* @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.
|
|
8939
|
+
*/
|
|
8940
|
+
declare const pathParamsMissingInRouteFunctionError: (data: unknown) => RuntimeError<3>;
|
|
8758
8941
|
/**
|
|
8759
8942
|
* @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.
|
|
8760
8943
|
*/
|
|
@@ -8804,6 +8987,7 @@ type ValidateWithV2QueryConfig<TCreator extends AnyV2QueryCreator | AnyLegacyQue
|
|
|
8804
8987
|
/**
|
|
8805
8988
|
* Override the default violation → error mapping. Receives the violations extracted from the
|
|
8806
8989
|
* failed request; return the errors to report (targeting child fields via their `fieldTree`).
|
|
8990
|
+
* Runs only for a request that carries violations - any other error keeps the form-level error.
|
|
8807
8991
|
* Defaults to `mapViolationsToFormErrors`, resolving each violation's `propertyPath` against the
|
|
8808
8992
|
* validated field.
|
|
8809
8993
|
*/
|
|
@@ -8836,30 +9020,30 @@ type ValidateWithV2QueryConfig<TCreator extends AnyV2QueryCreator | AnyLegacyQue
|
|
|
8836
9020
|
*/
|
|
8837
9021
|
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;
|
|
8838
9022
|
|
|
8839
|
-
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" | "
|
|
8840
|
-
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." | "
|
|
9023
|
+
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";
|
|
9024
|
+
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.";
|
|
8841
9025
|
|
|
8842
9026
|
declare class ParseHttpErrorCodeToTitleDePipe implements PipeTransform {
|
|
8843
|
-
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" | "
|
|
9027
|
+
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";
|
|
8844
9028
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ParseHttpErrorCodeToTitleDePipe, never>;
|
|
8845
9029
|
static ɵpipe: _angular_core.ɵɵPipeDeclaration<ParseHttpErrorCodeToTitleDePipe, "parseHttpErrorCodeToTitleDe", true>;
|
|
8846
9030
|
}
|
|
8847
9031
|
declare class ParseHttpErrorCodeToMessageDePipe implements PipeTransform {
|
|
8848
|
-
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." | "
|
|
9032
|
+
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.";
|
|
8849
9033
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ParseHttpErrorCodeToMessageDePipe, never>;
|
|
8850
9034
|
static ɵpipe: _angular_core.ɵɵPipeDeclaration<ParseHttpErrorCodeToMessageDePipe, "parseHttpErrorCodeToMessageDe", true>;
|
|
8851
9035
|
}
|
|
8852
9036
|
|
|
8853
|
-
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" | "
|
|
8854
|
-
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
|
|
9037
|
+
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";
|
|
9038
|
+
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.";
|
|
8855
9039
|
|
|
8856
9040
|
declare class ParseHttpErrorCodeToTitleEnPipe implements PipeTransform {
|
|
8857
|
-
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" | "
|
|
9041
|
+
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";
|
|
8858
9042
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ParseHttpErrorCodeToTitleEnPipe, never>;
|
|
8859
9043
|
static ɵpipe: _angular_core.ɵɵPipeDeclaration<ParseHttpErrorCodeToTitleEnPipe, "parseHttpErrorCodeToTitleEn", true>;
|
|
8860
9044
|
}
|
|
8861
9045
|
declare class ParseHttpErrorCodeToMessageEnPipe implements PipeTransform {
|
|
8862
|
-
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
|
|
9046
|
+
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.";
|
|
8863
9047
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ParseHttpErrorCodeToMessageEnPipe, never>;
|
|
8864
9048
|
static ɵpipe: _angular_core.ɵɵPipeDeclaration<ParseHttpErrorCodeToMessageEnPipe, "parseHttpErrorCodeToMessageEn", true>;
|
|
8865
9049
|
}
|
|
@@ -8915,7 +9099,7 @@ type QueryFieldDef<T> = {
|
|
|
8915
9099
|
readonly skipInFilterCount?: boolean;
|
|
8916
9100
|
/**
|
|
8917
9101
|
* Skip the best-effort auto-coercion (numeric strings → number, `'true'`/`'false'`
|
|
8918
|
-
* → boolean, the null
|
|
9102
|
+
* → boolean, the null and empty-list sentinels → `null` and `[]`) when reading the value back from the URL.
|
|
8919
9103
|
*
|
|
8920
9104
|
* @default false
|
|
8921
9105
|
*/
|
|
@@ -8998,15 +9182,17 @@ type QueryFormSignalsWriteOptions = {
|
|
|
8998
9182
|
declare const IGNORED_FILTER_COUNT_FIELDS: readonly string[];
|
|
8999
9183
|
/**
|
|
9000
9184
|
* A detached editor over the same fields - its own signal-forms form and value,
|
|
9001
|
-
* with no URL sync and
|
|
9002
|
-
* `source.setValue(branch.
|
|
9003
|
-
*
|
|
9185
|
+
* with no URL sync but the same debounce and `isResetBy` graph. Written back to
|
|
9186
|
+
* the source form via `source.setValue(branch.liveValue())`. Powers the
|
|
9187
|
+
* filter-overlay "edit then apply" pattern.
|
|
9004
9188
|
*/
|
|
9005
9189
|
type QueryFormBranch<TFields extends QueryFormFields> = {
|
|
9006
9190
|
/** The bindable signal-forms field tree (`branch.fields.search`). */
|
|
9007
9191
|
readonly fields: FieldTree<QueryFormModel<TFields>>;
|
|
9008
|
-
/** The
|
|
9192
|
+
/** The committed value of the branch - debounced and reset-resolved like the source form's `value`. */
|
|
9009
9193
|
readonly value: Signal<QueryFormModel<TFields>>;
|
|
9194
|
+
/** What the bound controls hold right now, ahead of any pending debounce. Apply this on an explicit submit. */
|
|
9195
|
+
readonly liveValue: Signal<QueryFormModel<TFields>>;
|
|
9010
9196
|
/** The number of active (non-default) filters in the branch. */
|
|
9011
9197
|
readonly activeFilterCount: Signal<number>;
|
|
9012
9198
|
setValue(value: QueryFormModel<TFields>): void;
|
|
@@ -9057,7 +9243,12 @@ type QueryFormSignals<TFields extends QueryFormFields> = {
|
|
|
9057
9243
|
readonly defaultValue: QueryFormModel<TFields>;
|
|
9058
9244
|
/** Start syncing with the URL. Returns the form, so it can be chained onto the definition. */
|
|
9059
9245
|
observe(options?: QueryFormSignalsObserveOptions): QueryFormSignals<TFields>;
|
|
9060
|
-
/**
|
|
9246
|
+
/**
|
|
9247
|
+
* Stop syncing and strip the form's params from the URL. A pending debounced edit is committed to `value`
|
|
9248
|
+
* but not written to the URL. Only an explicit call strips the params - the
|
|
9249
|
+
* form stops syncing when it is destroyed, but leaves the URL alone, because the route it lands on
|
|
9250
|
+
* owns the params by then.
|
|
9251
|
+
*/
|
|
9061
9252
|
unobserve(): void;
|
|
9062
9253
|
setValue(value: QueryFormModel<TFields>, options?: QueryFormSignalsWriteOptions): void;
|
|
9063
9254
|
patchValue(value: Partial<QueryFormModel<TFields>>, options?: QueryFormSignalsWriteOptions): void;
|
|
@@ -9095,7 +9286,7 @@ declare const defineQueryForm: <TFields extends QueryFormFields>(config: DefineQ
|
|
|
9095
9286
|
declare const queryField: <T = string>(config?: QueryFieldConfig<T | null>) => QueryFieldDef<T | null>;
|
|
9096
9287
|
/**
|
|
9097
9288
|
* A debounced free-text search field. Debounces typing by 300ms but applies
|
|
9098
|
-
* clearing immediately (`disableDebounceIfFalsy`).
|
|
9289
|
+
* clearing immediately (`disableDebounceIfFalsy`). Reads the URL value back as the raw string.
|
|
9099
9290
|
*/
|
|
9100
9291
|
declare const searchQueryField: (config?: QueryFieldConfig<string | null>) => QueryFieldDef<string | null>;
|
|
9101
9292
|
/**
|
|
@@ -9158,6 +9349,8 @@ type WebSocketClientSocket = {
|
|
|
9158
9349
|
emit: (event: string, data: unknown) => void;
|
|
9159
9350
|
on: (event: 'connect' | 'disconnect', listener: () => void) => void;
|
|
9160
9351
|
onAny: (listener: (eventName: string, ...args: unknown[]) => void) => void;
|
|
9352
|
+
onAnyOutgoing: (listener: (eventName: string, ...args: unknown[]) => void) => void;
|
|
9353
|
+
readonly recovered: boolean;
|
|
9161
9354
|
};
|
|
9162
9355
|
/**
|
|
9163
9356
|
* The `io` factory of `socket.io-client`, declared structurally.
|
|
@@ -9202,7 +9395,8 @@ type WebSocketClientSubtle = {
|
|
|
9202
9395
|
};
|
|
9203
9396
|
type WebSocketClient<TMessageData extends SocketMessageView> = {
|
|
9204
9397
|
/**
|
|
9205
|
-
* Join a socket io room
|
|
9398
|
+
* Join a socket io room. Must be called in an injection context, because the room is released when
|
|
9399
|
+
* that context is destroyed.
|
|
9206
9400
|
* If a function is passed, it will be evaluated in a reactive signal context.
|
|
9207
9401
|
* If the function returns null, no room will be joined.
|
|
9208
9402
|
* If the function returns a string, the previous room will be left and the new room will be joined.
|
|
@@ -9230,7 +9424,7 @@ type AnyWebSocketClient<TMessageData extends SocketMessageView = SocketMessageVi
|
|
|
9230
9424
|
declare const createWebSocketClient: <TMessageData extends SocketMessageView = SocketMessageView>(options: CreateWebSocketClientConfigOptions) => WebSocketClientResult<TMessageData>;
|
|
9231
9425
|
|
|
9232
9426
|
/** The version of `@ethlete/query` this build was cut from. */
|
|
9233
|
-
declare const QUERY_VERSION = "6.0.0-next.
|
|
9427
|
+
declare const QUERY_VERSION = "6.0.0-next.46";
|
|
9234
9428
|
|
|
9235
|
-
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 };
|
|
9236
|
-
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 };
|
|
9429
|
+
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, 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, 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 };
|
|
9430
|
+
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 };
|