@ethlete/query 6.0.0-next.34 → 6.0.0-next.35
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 +22 -0
- package/fesm2022/ethlete-query.mjs +454 -105
- package/fesm2022/ethlete-query.mjs.map +1 -1
- package/package.json +1 -1
- package/types/ethlete-query.d.ts +193 -20
package/package.json
CHANGED
package/types/ethlete-query.d.ts
CHANGED
|
@@ -151,6 +151,56 @@ type ShouldRetryRequestResult = {
|
|
|
151
151
|
delay: number;
|
|
152
152
|
};
|
|
153
153
|
type ShouldRetryRequestFn = (options: ShouldRetryRequestOptions) => ShouldRetryRequestResult;
|
|
154
|
+
/** @see createDefaultRetryFn */
|
|
155
|
+
type DefaultRetryOptions = {
|
|
156
|
+
/**
|
|
157
|
+
* How many times a failed request is retried before its error is handed to the caller.
|
|
158
|
+
*
|
|
159
|
+
* `0` retries indefinitely, which is only ever right for a request nothing renders: a query that
|
|
160
|
+
* never stops retrying never resolves to an error, so it stays `loading()` for as long as the
|
|
161
|
+
* server stays down and the UI has nothing to show but a spinner.
|
|
162
|
+
*
|
|
163
|
+
* @default 3
|
|
164
|
+
*/
|
|
165
|
+
maxAttempts?: number;
|
|
166
|
+
/** The delay doubles per retry, starting at twice this. @default 1000 */
|
|
167
|
+
baseDelayMs?: number;
|
|
168
|
+
/** Upper bound of every delay, including one a `retry-after` header asked for. @default 30000 */
|
|
169
|
+
maxDelayMs?: number;
|
|
170
|
+
/**
|
|
171
|
+
* How far the delay is spread randomly around its computed value, as a fraction of it: `0.25` picks
|
|
172
|
+
* a delay between 0.75x and 1.25x. Keeps the tabs that failed together from retrying together.
|
|
173
|
+
* `0` makes the backoff exact. A delay a `retry-after` header named is never jittered.
|
|
174
|
+
*
|
|
175
|
+
* @default 0.25
|
|
176
|
+
*/
|
|
177
|
+
jitter?: number;
|
|
178
|
+
/**
|
|
179
|
+
* Which response statuses are worth retrying, replacing the defaults rather than adding to them.
|
|
180
|
+
* A connection failure is status `0`.
|
|
181
|
+
*
|
|
182
|
+
* @default a connection failure (`0`), `408`, `425`, `429`, and every 5xx above `500`
|
|
183
|
+
*/
|
|
184
|
+
retryableStatusCodes?: number[];
|
|
185
|
+
};
|
|
186
|
+
/**
|
|
187
|
+
* Builds a retry policy: an exponentially backing off, jittered {@link ShouldRetryRequestFn} bounded by
|
|
188
|
+
* an attempt ceiling. What {@link withDefaultRetry} installs - reach for this directly to hand a single
|
|
189
|
+
* client or creator its own `retryFn`.
|
|
190
|
+
*
|
|
191
|
+
* @example
|
|
192
|
+
* const flakyEndpointRetry = createDefaultRetryFn({ maxAttempts: 8, maxDelayMs: 10_000 });
|
|
193
|
+
*
|
|
194
|
+
* const getReport = myApiGet<GetReportArgs>('/report').clone({ retryFn: flakyEndpointRetry });
|
|
195
|
+
*/
|
|
196
|
+
declare const createDefaultRetryFn: (options?: DefaultRetryOptions) => ShouldRetryRequestFn;
|
|
197
|
+
/**
|
|
198
|
+
* The SDK's default retry policy, installed by {@link withDefaultRetry}: three retries with an
|
|
199
|
+
* exponentially backing off, jittered delay, for a connection failure, a `408`, a `425`, a `429`
|
|
200
|
+
* (honouring `retry-after`) and a 5xx above `500`.
|
|
201
|
+
*
|
|
202
|
+
* Pass {@link createDefaultRetryFn} options to {@link withDefaultRetry} to configure it.
|
|
203
|
+
*/
|
|
154
204
|
declare const shouldRetryRequest: (options: ShouldRetryRequestOptions | HttpErrorResponse) => ShouldRetryRequestResult;
|
|
155
205
|
|
|
156
206
|
type QueryErrorResponseList = {
|
|
@@ -205,6 +255,11 @@ declare const setupQueryExecuteState: () => QueryExecuteState;
|
|
|
205
255
|
type RunQueryExecuteOptions = {
|
|
206
256
|
allowCache?: boolean;
|
|
207
257
|
triggeredBy?: string;
|
|
258
|
+
/**
|
|
259
|
+
* Overrides the creator's (and the client's) `keepUnusedFor` for this execution. Only read while the
|
|
260
|
+
* cache entry is being created: an entry that already exists keeps the retention it was created with.
|
|
261
|
+
*/
|
|
262
|
+
keepUnusedFor?: number;
|
|
208
263
|
};
|
|
209
264
|
type QueryExecuteOptions<TArgs extends QueryArgs> = {
|
|
210
265
|
executeOptions: CreateQueryExecuteOptions<TArgs>;
|
|
@@ -985,16 +1040,11 @@ type InternalQueryExecute<TArgs extends QueryArgs> = {
|
|
|
985
1040
|
type QueryExecute<TArgs extends QueryArgs> = (executeArgs?: QueryExecuteArgs<TArgs>) => void;
|
|
986
1041
|
declare const createExecuteFn: <TArgs extends QueryArgs>(executeOptions: CreateQueryExecuteOptions<TArgs>) => InternalQueryExecute<TArgs>;
|
|
987
1042
|
|
|
988
|
-
/**
|
|
989
|
-
* Returning this inside a withArgs feature will reset the query args to null.
|
|
990
|
-
* This will also pause polling and auto refresh until new args are set.
|
|
991
|
-
*/
|
|
992
|
-
declare const CLEAR_QUERY_ARGS: unique symbol;
|
|
993
|
-
type ClearQueryArgs = typeof CLEAR_QUERY_ARGS;
|
|
994
1043
|
/** A angular effect that can be nested inside another effect */
|
|
995
1044
|
declare const nestedEffect: (fn: () => void, options?: CreateEffectOptions) => _angular_core.EffectRef;
|
|
996
1045
|
type QueryFeatureFlags = {
|
|
997
1046
|
hasWithArgsFeature: boolean;
|
|
1047
|
+
hasPollingFeature: boolean;
|
|
998
1048
|
shouldAutoExecuteMethod: boolean;
|
|
999
1049
|
shouldAutoExecute: boolean;
|
|
1000
1050
|
hasRouteFunction: boolean;
|
|
@@ -1010,6 +1060,7 @@ declare const QueryFeatureType: {
|
|
|
1010
1060
|
readonly WITH_ERROR_HANDLING: "WITH_ERROR_HANDLING";
|
|
1011
1061
|
readonly WITH_SUCCESS_HANDLING: "WITH_SUCCESS_HANDLING";
|
|
1012
1062
|
readonly WITH_POLLING: "WITH_POLLING";
|
|
1063
|
+
readonly WITH_LONG_POLLING: "WITH_LONG_POLLING";
|
|
1013
1064
|
readonly WITH_AUTO_REFRESH: "WITH_AUTO_REFRESH";
|
|
1014
1065
|
readonly WITH_RESPONSE_UPDATE: "WITH_RESPONSE_UPDATE";
|
|
1015
1066
|
readonly WITH_PAGE_RESET_ON_ERROR: "WITH_PAGE_RESET_ON_ERROR";
|
|
@@ -1037,12 +1088,12 @@ declare const createQueryFeature: <TArgs extends QueryArgs>(config: {
|
|
|
1037
1088
|
* A query feature that allows you to set the arguments of the query.
|
|
1038
1089
|
* The arguments are read within a computed function, so you can use reactive values.
|
|
1039
1090
|
*
|
|
1040
|
-
*
|
|
1041
|
-
*
|
|
1091
|
+
* Return `null` to park the query: its args are reset to `null`, and polling and auto refresh
|
|
1092
|
+
* pause until args are set again.
|
|
1042
1093
|
*
|
|
1043
1094
|
* Changing arguments will automatically trigger a new execution of the query if it is eligible for auto execution (e.g. a GET request).
|
|
1044
1095
|
*/
|
|
1045
|
-
declare const withArgs: <TArgs extends QueryArgs>(args: () => NoInfer<RequestArgs<TArgs>> |
|
|
1096
|
+
declare const withArgs: <TArgs extends QueryArgs>(args: () => NoInfer<RequestArgs<TArgs>> | null) => QueryFeature<TArgs>;
|
|
1046
1097
|
type WithPollingFeatureOptions = {
|
|
1047
1098
|
/** The interval in milliseconds at which the query should be executed */
|
|
1048
1099
|
interval: number;
|
|
@@ -1067,6 +1118,60 @@ type WithPollingFeatureOptions = {
|
|
|
1067
1118
|
* @throws If the query is not eligible for auto execution (e.g. a POST request)
|
|
1068
1119
|
*/
|
|
1069
1120
|
declare const withPolling: <TArgs extends QueryArgs>(options: WithPollingFeatureOptions) => QueryFeature<TArgs>;
|
|
1121
|
+
type WithLongPollingFeatureOptions<TArgs extends QueryArgs> = {
|
|
1122
|
+
/**
|
|
1123
|
+
* Derives the next round's args from the round that just settled - typically a cursor read off the
|
|
1124
|
+
* response. `response` is `null` when the server answered without a body (a `204` on timeout).
|
|
1125
|
+
* Return `null` to end the chain; only a new `withArgs` value or a manual `execute()` starts it again.
|
|
1126
|
+
*/
|
|
1127
|
+
nextArgs: (response: ResponseType<TArgs> | null, args: RequestArgs<TArgs> | null) => NoInfer<RequestArgs<TArgs>> | null;
|
|
1128
|
+
/**
|
|
1129
|
+
* The pause between one round settling and the next starting, in milliseconds. A server that already
|
|
1130
|
+
* has data answers a long poll immediately, so this is what keeps a busy feed from becoming a hot
|
|
1131
|
+
* request loop.
|
|
1132
|
+
* @default 250
|
|
1133
|
+
*/
|
|
1134
|
+
delay?: number;
|
|
1135
|
+
/**
|
|
1136
|
+
* How long to wait before repeating a round that failed, in milliseconds. Doubles with every
|
|
1137
|
+
* consecutive failure up to {@link WithLongPollingFeatureOptions.maxErrorDelay}, and resets on the
|
|
1138
|
+
* next success.
|
|
1139
|
+
* @default 1000
|
|
1140
|
+
*/
|
|
1141
|
+
errorDelay?: number;
|
|
1142
|
+
/** The ceiling for the doubling `errorDelay`, in milliseconds. @default 30000 */
|
|
1143
|
+
maxErrorDelay?: number;
|
|
1144
|
+
/**
|
|
1145
|
+
* How many consecutive failures end the chain. The query keeps its error, and only a new `withArgs`
|
|
1146
|
+
* value or a manual `execute()` starts it again.
|
|
1147
|
+
* @default 10
|
|
1148
|
+
*/
|
|
1149
|
+
stopAfterErrors?: number;
|
|
1150
|
+
};
|
|
1151
|
+
/**
|
|
1152
|
+
* A query feature for long polling: a chain of requests where each round starts once the previous one
|
|
1153
|
+
* settled, with args derived from what it returned. Unlike {@link withPolling} there is no interval -
|
|
1154
|
+
* the server decides the cadence by holding each request open until it has something to say.
|
|
1155
|
+
*
|
|
1156
|
+
* A failed round is repeated after a growing delay, so a transient failure does not silently end the
|
|
1157
|
+
* feed. A new value from the `withArgs` source cancels the pending round and starts over from it.
|
|
1158
|
+
*
|
|
1159
|
+
* Rounds do not share the cache: each one is requested with `keepUnusedFor: 0`, because a cursor is
|
|
1160
|
+
* asked for once and never again. They are also not deduped across tabs - `withMultiTabSync` elects a
|
|
1161
|
+
* poller per cache key, and a chain's key moves with every round.
|
|
1162
|
+
*
|
|
1163
|
+
* @example
|
|
1164
|
+
* const events = getEvents(
|
|
1165
|
+
* withArgs(() => ({ queryParams: { cursor: null } })),
|
|
1166
|
+
* withLongPolling({
|
|
1167
|
+
* nextArgs: (response) => (response ? { queryParams: { cursor: response.cursor } } : null),
|
|
1168
|
+
* }),
|
|
1169
|
+
* );
|
|
1170
|
+
*
|
|
1171
|
+
* @throws If the query is not eligible for auto execution (e.g. a POST request)
|
|
1172
|
+
* @throws If the query also has a `withPolling` feature
|
|
1173
|
+
*/
|
|
1174
|
+
declare const withLongPolling: <TArgs extends QueryArgs>(options: WithLongPollingFeatureOptions<TArgs>) => QueryFeature<TArgs>;
|
|
1070
1175
|
type WithLoggingFeatureOptions<TArgs extends QueryArgs> = {
|
|
1071
1176
|
/** A function that will be called with the latest http event */
|
|
1072
1177
|
logFn: (v: RequestHttpEvent<TArgs> | null) => void;
|
|
@@ -2011,10 +2116,9 @@ declare const withHtmlErrorParsing: () => QueryClientFeatureFn;
|
|
|
2011
2116
|
*/
|
|
2012
2117
|
declare const withSymfonyErrors: () => QueryClientFeatureFn;
|
|
2013
2118
|
/**
|
|
2014
|
-
* Installs the SDK's default retry policy for every request that does not bring its own `retryFn`:
|
|
2015
|
-
*
|
|
2016
|
-
*
|
|
2017
|
-
* page.
|
|
2119
|
+
* Installs the SDK's default retry policy for every request that does not bring its own `retryFn`: a
|
|
2120
|
+
* connection failure, a 5xx above 500, a 408/425 and a 429 (honouring `retry-after`) are retried three
|
|
2121
|
+
* times with an exponentially backing off, jittered delay - and a Pagerfanta out-of-range page never is.
|
|
2018
2122
|
*
|
|
2019
2123
|
* Without it nothing is retried automatically and `error.retryState` always reads `{ retry: false }`.
|
|
2020
2124
|
* A per-client or per-creator `retryFn` keeps working either way.
|
|
@@ -2023,10 +2127,10 @@ declare const withSymfonyErrors: () => QueryClientFeatureFn;
|
|
|
2023
2127
|
* const MY_CLIENT = createQueryClient({
|
|
2024
2128
|
* name: 'my-api',
|
|
2025
2129
|
* baseUrl: 'https://api.example.com',
|
|
2026
|
-
* features: [withDefaultRetry()],
|
|
2130
|
+
* features: [withDefaultRetry({ maxAttempts: 5 })],
|
|
2027
2131
|
* });
|
|
2028
2132
|
*/
|
|
2029
|
-
declare const withDefaultRetry: () => QueryClientFeatureFn;
|
|
2133
|
+
declare const withDefaultRetry: (options?: DefaultRetryOptions) => QueryClientFeatureFn;
|
|
2030
2134
|
/**
|
|
2031
2135
|
* Everything the error pipeline used to do before it became opt-in: {@link withHtmlErrorParsing},
|
|
2032
2136
|
* {@link withSymfonyErrors} and {@link withDefaultRetry} in one feature. The soft landing for an app
|
|
@@ -2042,7 +2146,9 @@ declare const withDefaultRetry: () => QueryClientFeatureFn;
|
|
|
2042
2146
|
* features: [withEthleteApiErrors()],
|
|
2043
2147
|
* });
|
|
2044
2148
|
*/
|
|
2045
|
-
declare const withEthleteApiErrors: (
|
|
2149
|
+
declare const withEthleteApiErrors: (options?: {
|
|
2150
|
+
retry?: DefaultRetryOptions;
|
|
2151
|
+
}) => QueryClientFeatureFn;
|
|
2046
2152
|
|
|
2047
2153
|
type CacheAdapterFn = (headers: HttpHeaders) => number | null;
|
|
2048
2154
|
type CreateQueryClientConfigOptions = {
|
|
@@ -2390,6 +2496,15 @@ type HttpRequestSubtle<TArgs extends QueryArgs> = {
|
|
|
2390
2496
|
* this request spent any time on.
|
|
2391
2497
|
*/
|
|
2392
2498
|
lastDurationMs: Signal<number | null>;
|
|
2499
|
+
/**
|
|
2500
|
+
* Cancels what the request currently has in flight - including a retry it is waiting out - without
|
|
2501
|
+
* tearing it down: the response, error and freshness window it already holds are kept, and a later
|
|
2502
|
+
* {@link HttpRequest.execute} runs as usual. Returns whether anything was in flight.
|
|
2503
|
+
*
|
|
2504
|
+
* What an entry retained without consumers does, so a revalidation nobody is waiting for stops
|
|
2505
|
+
* instead of retrying into an empty room.
|
|
2506
|
+
*/
|
|
2507
|
+
abort: () => boolean;
|
|
2393
2508
|
};
|
|
2394
2509
|
type HttpRequest<TArgs extends QueryArgs> = {
|
|
2395
2510
|
/** The HTTP method of the request. */
|
|
@@ -2997,6 +3112,8 @@ declare const QueryRuntimeErrorCode: {
|
|
|
2997
3112
|
readonly WITH_AUTO_REFRESH_USED_ON_UNSUPPORTED_HTTP_METHOD: 102;
|
|
2998
3113
|
readonly WITH_AUTO_REFRESH_USED_IN_MANUAL_QUERY: 103;
|
|
2999
3114
|
readonly SILENCE_MISSING_WITH_ARGS_FEATURE_ERROR_USED_BUT_WITH_ARGS_PRESENT: 104;
|
|
3115
|
+
readonly WITH_LONG_POLLING_USED_ON_UNSUPPORTED_HTTP_METHOD: 105;
|
|
3116
|
+
readonly WITH_LONG_POLLING_USED_WITH_POLLING: 106;
|
|
3000
3117
|
readonly AUTH_EXTRACT_TOKENS_RESPONSE_NOT_OBJECT: 200;
|
|
3001
3118
|
readonly AUTH_EXTRACT_TOKENS_RESPONSE_MISSING_ACCESS_TOKEN: 201;
|
|
3002
3119
|
readonly AUTH_EXTRACT_TOKENS_RESPONSE_MISSING_REFRESH_TOKEN: 202;
|
|
@@ -3027,6 +3144,8 @@ declare const withArgsQueryFeatureMissingButRouteIsFunction: () => RuntimeError<
|
|
|
3027
3144
|
declare const withPollingUsedOnUnsupportedHttpMethod: (method: string) => RuntimeError<101>;
|
|
3028
3145
|
declare const withAutoRefreshUsedOnUnsupportedHttpMethod: (method: string) => RuntimeError<102>;
|
|
3029
3146
|
declare const withAutoRefreshUsedInManualQuery: () => RuntimeError<103>;
|
|
3147
|
+
declare const withLongPollingUsedOnUnsupportedHttpMethod: (method: string) => RuntimeError<105>;
|
|
3148
|
+
declare const withLongPollingUsedWithPolling: () => RuntimeError<106>;
|
|
3030
3149
|
declare const silenceMissingWithArgsFeatureErrorUsedButWithArgsPresent: () => RuntimeError<104>;
|
|
3031
3150
|
declare const authExtractTokensResponseNotObject: () => RuntimeError<200>;
|
|
3032
3151
|
declare const authExtractTokensResponseMissingAccessToken: () => RuntimeError<201>;
|
|
@@ -3648,7 +3767,8 @@ type InactivityLogoutFeature = {
|
|
|
3648
3767
|
*/
|
|
3649
3768
|
disable: () => void;
|
|
3650
3769
|
/**
|
|
3651
|
-
*
|
|
3770
|
+
* Mark the user as active: postpones the logout and, with multi-tab sync on, postpones it in the
|
|
3771
|
+
* session's other tabs too.
|
|
3652
3772
|
*/
|
|
3653
3773
|
resetTimer: () => void;
|
|
3654
3774
|
/**
|
|
@@ -3660,6 +3780,23 @@ type InactivityLogoutFeature = {
|
|
|
3660
3780
|
*/
|
|
3661
3781
|
calculateTimeUntilLogout: () => number | null;
|
|
3662
3782
|
};
|
|
3783
|
+
/**
|
|
3784
|
+
* Ends the session once the user has been inactive for {@link InactivityLogoutConfig.inactivityTimeout},
|
|
3785
|
+
* with `sessionEndCause` reporting `'inactivity'`.
|
|
3786
|
+
*
|
|
3787
|
+
* Idleness is a property of the session, not of a tab: with `withBearerAuthMultiTabSync` on, tabs tell
|
|
3788
|
+
* each other about activity, so the tab the user is typing in keeps the forgotten one from logging
|
|
3789
|
+
* everybody out. Without it - or with `syncLogout: false`, where a logout stays in the tab that
|
|
3790
|
+
* decided it - each tab times out on its own.
|
|
3791
|
+
*
|
|
3792
|
+
* @example
|
|
3793
|
+
* export const AUTH_PROVIDER = createBearerAuthProvider({
|
|
3794
|
+
* name: 'my-auth',
|
|
3795
|
+
* queryClientRef: MY_CLIENT,
|
|
3796
|
+
* queries: [loginQuery, refreshQuery],
|
|
3797
|
+
* features: [withBearerAuthMultiTabSync(), withInactivityLogout({ inactivityTimeout: 5 * 60 * 1000 })],
|
|
3798
|
+
* });
|
|
3799
|
+
*/
|
|
3663
3800
|
declare const withInactivityLogout: <TBuilders extends readonly AnyQueryBuilder[]>(config?: InactivityLogoutConfig) => (context: BearerAuthProviderFeatureContext<unknown, TBuilders>) => {
|
|
3664
3801
|
type: "INACTIVITY_LOGOUT";
|
|
3665
3802
|
instance: InactivityLogoutFeature;
|
|
@@ -3986,6 +4123,17 @@ declare const withTracking: <TBuilders extends readonly AnyQueryBuilder[]>(confi
|
|
|
3986
4123
|
};
|
|
3987
4124
|
declare const createTrackingFeature: <TBuilders extends readonly AnyQueryBuilder[]>(context: BearerAuthProviderFeatureContext<unknown, TBuilders>, config?: TrackingConfig<TBuilders>) => TrackingFeature<TBuilders>;
|
|
3988
4125
|
|
|
4126
|
+
/**
|
|
4127
|
+
* The join handshake, from the joining tab's side: it asked for the session and is holding anything
|
|
4128
|
+
* that would start a competing one until the answer arrives, or the wait runs out.
|
|
4129
|
+
*/
|
|
4130
|
+
type BearerAuthSessionAdoption = {
|
|
4131
|
+
/** Whether the answer is still outstanding. `false` once tokens arrived, or the wait elapsed. */
|
|
4132
|
+
isPending: () => boolean;
|
|
4133
|
+
/** Resolves when tokens arrived or the wait elapsed - never rejects, and never waits forever. */
|
|
4134
|
+
settled: Promise<void>;
|
|
4135
|
+
};
|
|
4136
|
+
|
|
3989
4137
|
type BearerAuthExecutionStateLoading<TType extends string = string> = {
|
|
3990
4138
|
type: TType;
|
|
3991
4139
|
state: 'loading';
|
|
@@ -4083,6 +4231,16 @@ type BearerAuthRefreshCoordination = {
|
|
|
4083
4231
|
/** Emits in the leader tab whenever another tab asked for a refresh. */
|
|
4084
4232
|
requests$: Observable<void>;
|
|
4085
4233
|
};
|
|
4234
|
+
/**
|
|
4235
|
+
* How the tabs of one session keep a single idea of when the user was last active. Contributed by
|
|
4236
|
+
* `withBearerAuthMultiTabSync`; absent when a tab's idleness is nobody else's business.
|
|
4237
|
+
*/
|
|
4238
|
+
type BearerAuthActivityCoordination = {
|
|
4239
|
+
/** Tells the other tabs the user did something here. */
|
|
4240
|
+
announce: () => void;
|
|
4241
|
+
/** Emits whenever another tab announced activity. Never echoes this tab's own. */
|
|
4242
|
+
activity$: Observable<void>;
|
|
4243
|
+
};
|
|
4086
4244
|
/** The parts of the provider an early setup can contribute. */
|
|
4087
4245
|
type BearerAuthProviderEarlySetupResult = {
|
|
4088
4246
|
isLeader?: () => boolean;
|
|
@@ -4091,6 +4249,8 @@ type BearerAuthProviderEarlySetupResult = {
|
|
|
4091
4249
|
instanceCount: Signal<number>;
|
|
4092
4250
|
};
|
|
4093
4251
|
refreshCoordination?: BearerAuthRefreshCoordination;
|
|
4252
|
+
sessionAdoption?: BearerAuthSessionAdoption;
|
|
4253
|
+
activityCoordination?: BearerAuthActivityCoordination;
|
|
4094
4254
|
};
|
|
4095
4255
|
/**
|
|
4096
4256
|
* A feature builder that additionally runs before the auth queries are set up. The auth queries read
|
|
@@ -4254,6 +4414,19 @@ type BearerAuthProviderFeatureContext<TBearerData = unknown, TBuilders extends r
|
|
|
4254
4414
|
isLeader: Signal<boolean>;
|
|
4255
4415
|
instanceCount: Signal<number>;
|
|
4256
4416
|
};
|
|
4417
|
+
/**
|
|
4418
|
+
* The join handshake a tab runs at startup when multi-tab sync is on: it asked the leader for the
|
|
4419
|
+
* live session, and `withPersistentAuth` holds its cookie auto-login until the answer arrives, so a
|
|
4420
|
+
* second tab adopts the session instead of spending a refresh token on one of its own. Absent when
|
|
4421
|
+
* there is nothing to adopt - no sync, no `BroadcastChannel`, or tokens deliberately tab-local.
|
|
4422
|
+
*/
|
|
4423
|
+
sessionAdoption?: BearerAuthSessionAdoption;
|
|
4424
|
+
/**
|
|
4425
|
+
* How the tabs of this session share when the user was last active, so a feature that ends the
|
|
4426
|
+
* session on idleness ends it on the _session_ being idle rather than on this tab being idle.
|
|
4427
|
+
* Absent when no other tab is listening - no sync, no `BroadcastChannel`, or a tab-local logout.
|
|
4428
|
+
*/
|
|
4429
|
+
activityCoordination?: BearerAuthActivityCoordination;
|
|
4257
4430
|
queries: QueryRegistry<TBuilders>;
|
|
4258
4431
|
executionState: WritableSignal<BearerAuthExecutionState | null>;
|
|
4259
4432
|
sessionStatus: Signal<BearerAuthSessionStatus>;
|
|
@@ -8278,7 +8451,7 @@ type AnyWebSocketClient<TMessageData extends SocketMessageView = SocketMessageVi
|
|
|
8278
8451
|
declare const createWebSocketClient: <TMessageData extends SocketMessageView = SocketMessageView>(options: CreateWebSocketClientConfigOptions) => WebSocketClientResult<TMessageData>;
|
|
8279
8452
|
|
|
8280
8453
|
/** The version of `@ethlete/query` this build was cut from. */
|
|
8281
|
-
declare const QUERY_VERSION = "6.0.0-next.
|
|
8454
|
+
declare const QUERY_VERSION = "6.0.0-next.35";
|
|
8282
8455
|
|
|
8283
|
-
export { AuthBearerRefreshStrategy, BasicAuthProvider, BearerAuthFeatureType, BooleanArrayQueryField,
|
|
8284
|
-
export type { AnyBearerAuthProvider, AnyCreateBearerAuthProviderResult, AnyCreateGqlQueryCreatorOptions, AnyCreateQueryClientResult, AnyGqlQueryConfig, AnyInfinityQuery, AnyInfinityQueryConfig, AnyLegacyQuery, AnyLegacyQueryCreator, AnyNewQuery, AnyPagedQueryStack, AnyQueryBuilder, AnyQueryClient, AnyQueryCollection, AnyQueryCollectionData, AnyQueryCollectionResponse, AnyQueryCreator, AnyQueryCreatorCollection, AnyQueryForm, AnyQuerySnapshot, AnyQueryStack, AnyRestQueryConfig, AnyRoute, AnyV2Query, AnyV2QueryCreator, AnyWebSocketClient, AppendItemsLocation, ApplyExternalResponseOptions, ApplyPersistedResponseOptions, AuthGuard, AuthGuardConfig, AuthGuardTarget, AuthProvider, AuthProviderBasicConfig, AuthProviderBearerConfig, AuthProviderCustomHeaderConfig, AuthQueryBuilder, AuthQueryConfig, BaseArguments, BaseQueryCreatorFactoryOptions, BaseQueryCreatorOptions, BaseQueryCreatorOptionsSubtle, BearerAuthExecutionState, BearerAuthExecutionStateError, BearerAuthExecutionStateLoading, BearerAuthExecutionStateLogout, BearerAuthExecutionStateSuccess, BearerAuthExecutionStateTokenSeed, BearerAuthFeature, BearerAuthMultiTabSyncConfig, BearerAuthMultiTabSyncFeature, BearerAuthProvider, BearerAuthProviderEarlySetup, BearerAuthProviderEarlySetupContext, BearerAuthProviderEarlySetupResult, BearerAuthProviderFeatureContext, BearerAuthProviderOf, BearerAuthProviderQueryContext, BearerAuthProviderRef, BearerAuthProviderTokens, BearerAuthRefreshCoordination, BearerAuthSessionEndCause, BearerAuthSessionStatus, BearerRefreshConfig, BodyType, BuildQueryStringConfig, CacheAdapterFn, Cancelled, ClassValidatorError,
|
|
8456
|
+
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_DEVTOOLS_TOMBSTONES, MAX_UNUSED_ENTRIES, NumberArrayQueryField, ParseHttpErrorCodeToMessageDePipe, ParseHttpErrorCodeToMessageEnPipe, ParseHttpErrorCodeToTitleDePipe, ParseHttpErrorCodeToTitleEnPipe, QUERY_CLIENT_DEVTOOLS_TOKEN, QUERY_DEVTOOLS_FAULT_STATUSES, QUERY_DEVTOOLS_TOKEN_TTL_LIMIT, QUERY_PERSISTENCE_STORE_VERSION, QUERY_SYNC_PROTOCOL_VERSION, QUERY_VERSION, QueryClientFeatureType, QueryDevtoolsComponent, QueryDirective, QueryFeatureType, QueryField, QueryForm, QueryRuntimeErrorCode, QueryShortNamePipe, QueryStateType, QueryStore, SERVER_ERROR_KIND, SERVER_VIOLATION_ERROR_KIND, SPEED_BUFFER_TIME_IN_MS, SearchQueryField, SortQueryField, StringArrayQueryField, V2BearerAuthProvider, V2Query, V2QueryClient, V2QueryCreator, addQueryContainerHandling, applyQueryDevtoolsOverrides, applyQueryDevtoolsTokenTtl, applyQueryFeatures, armAllQueryDevtoolsMocks, armQueryDevtoolsMock, armQueryDevtoolsOverrideTransfer, authExtractTokensResponseMissingAccessToken, authExtractTokensResponseMissingRefreshToken, authExtractTokensResponseNotObject, authProviderFeatureUsedMultipleTimes, booleanArrayQueryField, buildQueryCacheKey, buildQueryString, buildRoute, buildTimestampFromSeconds, canOverrideQueryDevtoolsTokenTtl, castQueryCreatorTypes, circularQueryDependency, circularQueryDependencyChecker, clearQueryDevtoolsArmedMocks, clearQueryDevtoolsFaults, clearQueryDevtoolsMockStore, clearQueryDevtoolsOverrideStore, clearQueryDevtoolsStore, clearQueryDevtoolsTokenTtl, clearQueryDevtoolsTombstones, clearRestoredQueryDevtoolsOverrides, collectLeafPaths, collectQueryDevtoolsSchemaComponents, computeQueryAuthHeader, computeQueryBody, computeQueryHeaders, computeQueryMethod, computeQueryQueryParams, contentfulGqlLikePaginationAdapter, countUnresolvedQueryDevtoolsOverrides, createAuthGuard, createBaseQuery, createBaseQueryCreator, createBearerAuthProvider, createDefaultRetryFn, createDeleteQuery, createExecuteFn, createGetQuery, createGqlExecuteFn, createGqlMutationViaGet, createGqlMutationViaPost, createGqlQuery, createGqlQueryCreator, createGqlQueryViaGet, createGqlQueryViaPost, createHttpRequest, createIndexedDbQueryPersistenceAdapter, createInfinityQueryConfig, createLegacyQueryCreator, createNoopQueryPersistenceAdapter, createPagedQueryStack, createPatchQuery, createPersistentAuthFeature, createPostQuery, createPutQuery, createQuery, createQueryClient, createQueryCollection, createQueryCollectionSignal, createQueryCollectionSubject, createQueryContext, createQueryCreator, createQueryDevtoolsOverrides, createQueryErrorResponse, createQueryFeature, createQueryInvalidationFilter, createQueryKeyLockManager, createQueryObject, createQueryPersistenceEngine, createQueryRepository, createQuerySnapshotFn, createQueryStack, createQuerySyncEngine, createQuerySyncTransport, createSecureDeleteQuery, createSecureExecuteFactory, createSecureExecuteFn, createSecureGetQuery, createSecureGqlExecuteFn, createSecureGqlMutationViaGet, createSecureGqlMutationViaPost, createSecureGqlQuery, createSecureGqlQueryCreator, createSecureGqlQueryViaGet, createSecureGqlQueryViaPost, createSecurePatchQuery, createSecurePostQuery, createSecurePutQuery, createSecureQuery, createSecureQueryCreator, createTrackingFeature, createWebSocketClient, dateArrayQueryField, dateQueryField, decryptBearer, deepFreeze, def, defineQueryForm, deleteQueryDevtoolsMock, detectContentTypeHeader, detectPaginationShape, dynLikePaginationAdapter, effectComputed, emptyQueryArgs, ethletePaginationAdapter, executeUntilSettled, extractExpiresInSeconds, extractFormViolations, extractHtmlErrorMessage, extractQuery, fakePaginationAdapter, filterFailure, filterNull, filterQueryStates, filterSuccess, forEachHeader, generateQueryDevtoolsNumberPreset, generateQueryDevtoolsStringPreset, getDefaultHeaders, getQueryFeatureUsage, getResponseUrl, ggLikePaginationAdapter, gql, gqlDataPropertyMissingInResponse, hasHeader, hasQueryDevtoolsOverridesAtPath, htmlErrorPayload, htmlQueryErrorParser, ignoreAutoRefresh, injectInfinityQueryResponseDelay, injectQueryContext, insertFrom, invalidBaseRouteError, invalidBodyError, invalidRouteError, invalidStateInsideSecureExecuteFactory, isAutoRefresh, isBasicAuthProvider, isBearerAuthProvider, isClassValidatorError, isCreateGqlQueryOptions, isCustomHeaderAuthProvider, isDateShapedLeaf, isEmptyString, isGqlQueryConfig, isHtmlErrorPayload, isLegacyQuery, isNaN, isPageOutOfRangeError, isQuery, isQueryCollection, isQueryDevtoolsFaultArmed, isQueryErrorResponse, isQueryStateCancelled, isQueryStateFailure, isQueryStateLoading, isQueryStatePrepared, isQueryStateSuccess, isRequestError, isSymfonyError, isSymfonyFormViolationListError, isSymfonyListError, isSymfonyPagerfantaOutOfRangeError, isUnderInvalidatedUrl, legacyPrepareWithoutInjectionContext, loadQueryDevtoolsSchema, mapToPaginated, mapViolationsToFormErrors, matchesQueryDevtoolsMockPattern, matchesQueryDevtoolsMockQuery, maybeExecute, measureQueryDevtoolsPayload, mergeHeaders, nestedEffect, numberArrayQueryField, pagedQueryStackNextPageCalledWithoutPreviousPage, pagedQueryStackPageBiggerThanTotalPages, pagedQueryStackPreviousPageCalledButAlreadyAtFirstPage, paginatedEntityValueUpdater, parseAllXhrResponseHeaders, parseHttpErrorCodeToMessageDe, parseHttpErrorCodeToMessageEn, parseHttpErrorCodeToTitleDe, parseHttpErrorCodeToTitleEn, parseQueryDevtoolsOverrideTransfer, pathParamsMissingInRouteFunctionError, provideInfinityQueryResponseDelay, provideLegacyPrepareFallback, provideQueryClientForDevtools, provideQueryDevtools, queryArrayComputed, queryClientFeatureUsedMultipleTimes, queryComputed, queryComputedTillTruthy, queryDevtoolsAbout, queryDevtoolsArmedMocks, queryDevtoolsArmedMocksRestored, queryDevtoolsEntries, queryDevtoolsFaults, queryDevtoolsFaultsRestored, queryDevtoolsMockId, queryDevtoolsMocks, queryDevtoolsOverridePersistence, queryDevtoolsRequestPath, queryDevtoolsResponseHistory, queryDevtoolsRestoredOverridesScope, queryDevtoolsSchemaNames, queryDevtoolsSchemaRoutes, queryDevtoolsSchemaState, queryDevtoolsSettings, queryDevtoolsStorage, queryDevtoolsTokenTtls, queryErrorMessage, queryErrorMessages, queryExecute, queryFeatureUsedMultipleTimes, queryField, querySequence, querySequenceAlreadyRunning, queryStackTotalQueriesAndExpectedQueriesMismatch, queryStackWithArgsUsed, queryStackWithResponseUpdateUsed, queryStateAlreadyHasKeyError, queryStateCannotTransformError, queryStateDoesNotContainKeyError, queryStateErrorSignal, queryStateLoadingSignal, queryStateResponseSignal, queryStateSignal, readQueryDevtoolsStore, registerEthleteVersion, registerQueryErrorParser, removeFrom, request, resetExecuteState, resetPageOnError, resolveInvalidationUrl, restoredQueryDevtoolsOverrides, saveQueryDevtoolsMock, searchQueryField, seedQueryDevtoolsSchemaBody, seedQueryDevtoolsSchemaRoute, serializeBody, serializeQueryDevtoolsOverrideTransfer, setDefaultQueryRetryFn, setQueryDevtoolsAppInfo, setQueryDevtoolsArmedMocksScope, setQueryDevtoolsFault, setQueryDevtoolsFaultsScope, setQueryDevtoolsOverridePersistence, setQueryDevtoolsOverridesScope, setQueryDevtoolsSettings, setQueryDevtoolsTokenTtl, setupQueryDependencies, setupQueryExecuteState, setupQueryState, shouldAutoExecuteGqlQuery, shouldAutoExecuteQuery, shouldCacheQuery, shouldRetryRequest, silenceMissingWithArgsFeatureErrorUsedButWithArgsPresent, skipPaginationPageParamCalculator, smartDuplicateArrayItem, snapshotQueryDevtoolsHandle, sortQueryField, splitQueryConfig, stringArrayQueryField, stringifyQueryRouteParts, sumQueryDevtoolsStats, switchQueryCollectionState, switchQueryState, symfonyQueryErrorParser, takeUntilResponse, toQuerySignal, toQuerySubject, tokensNotAvailableInsideAuthAndExec, tombstoneOf, transformArrayResponse, transformExecStateToQueryState, transformGql, transformMethod, transformPaginatedResponse, transformToBoolean, transformToBooleanArray, transformToDate, transformToDateArray, transformToNumber, transformToNumberArray, transformToSort, transformToSortQueryParam, transformToString, transformToStringArray, uncacheableRequestHasAllowCacheParam, uncacheableRequestHasCacheKeyParam, unwrapQuerySyncMessage, v2BuildQueryCacheKey, v2ExtractExpiresInSeconds, v2ShouldCacheQuery, v2ShouldRetryRequest, validateWithQuery, validateWithV2Query, withArgs, withArgsQueryFeatureMissingButRouteIsFunction, withAuthenticationQuery, withAutoRefresh, withAutoRefreshUsedInManualQuery, withAutoRefreshUsedOnUnsupportedHttpMethod, withBearerAuthMultiTabSync, withDefaultRetry, withErrorHandling, withEthleteApiErrors, withHtmlErrorParsing, withInactivityLogout, withLogging, withLongPolling, withLongPollingUsedOnUnsupportedHttpMethod, withLongPollingUsedWithPolling, withMultiTabSync, withPageResetOnError, withPersistentAuth, withPolling, withPollingUsedOnUnsupportedHttpMethod, withQueryPersistence, withRefreshQuery, withResponseUpdate, withSuccessHandling, withSymfonyErrors, withTokenExpirationWarning, withTokenRevocation, withTracking, wrapAsObservableSignal, wrapQuerySyncMessage, writeQueryDevtoolsStore };
|
|
8457
|
+
export type { AnyBearerAuthProvider, AnyCreateBearerAuthProviderResult, AnyCreateGqlQueryCreatorOptions, AnyCreateQueryClientResult, AnyGqlQueryConfig, AnyInfinityQuery, AnyInfinityQueryConfig, AnyLegacyQuery, AnyLegacyQueryCreator, AnyNewQuery, AnyPagedQueryStack, AnyQueryBuilder, AnyQueryClient, AnyQueryCollection, AnyQueryCollectionData, AnyQueryCollectionResponse, AnyQueryCreator, AnyQueryCreatorCollection, AnyQueryForm, AnyQuerySnapshot, AnyQueryStack, AnyRestQueryConfig, AnyRoute, AnyV2Query, AnyV2QueryCreator, AnyWebSocketClient, AppendItemsLocation, ApplyExternalResponseOptions, ApplyPersistedResponseOptions, AuthGuard, AuthGuardConfig, AuthGuardTarget, AuthProvider, AuthProviderBasicConfig, AuthProviderBearerConfig, AuthProviderCustomHeaderConfig, AuthQueryBuilder, AuthQueryConfig, BaseArguments, BaseQueryCreatorFactoryOptions, BaseQueryCreatorOptions, BaseQueryCreatorOptionsSubtle, BearerAuthActivityCoordination, BearerAuthExecutionState, BearerAuthExecutionStateError, BearerAuthExecutionStateLoading, BearerAuthExecutionStateLogout, BearerAuthExecutionStateSuccess, BearerAuthExecutionStateTokenSeed, BearerAuthFeature, BearerAuthMultiTabSyncConfig, BearerAuthMultiTabSyncFeature, BearerAuthProvider, BearerAuthProviderEarlySetup, BearerAuthProviderEarlySetupContext, BearerAuthProviderEarlySetupResult, BearerAuthProviderFeatureContext, BearerAuthProviderOf, BearerAuthProviderQueryContext, BearerAuthProviderRef, BearerAuthProviderTokens, BearerAuthRefreshCoordination, BearerAuthSessionEndCause, BearerAuthSessionStatus, BearerRefreshConfig, BodyType, BuildQueryStringConfig, CacheAdapterFn, Cancelled, ClassValidatorError, ConstructQuery, CreateBaseQueryOptions, CreateBearerAuthProviderConfig, CreateGqlQueryCreatorOptions, CreateGqlQueryExecuteOptions, CreateGqlQueryOptions, CreateHttpRequestDependencies, CreateHttpRequestOptions, CreateIndexedDbQueryPersistenceAdapterOptions, CreateLegacyQueryCreatorOptions, CreateLegacyQueryOptions, CreatePagedQueryStackOptions, CreateQueryClientConfigOptions, CreateQueryCreatorOptions, CreateQueryExecuteOptions, CreateQueryObjectOptions, CreateQueryOptions, CreateQueryPersistenceEngineOptions, CreateQueryRepositoryConfig, CreateQuerySnapshotOptions, CreateQueryStackOptions, CreateQuerySyncEngineOptions, CreateSecureGqlQueryExecuteOptions, CreateSecureGqlQueryOptions, CreateSecureQueryExecuteOptions, CreateSecureQueryOptions, CreateWebSocketClientConfigOptions, CreateWebSocketClientTransport, 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, QueryClient, QueryClientDevtoolsOptions, QueryClientErrorPipelineFeature, QueryClientFeature, QueryClientFeatureContext, QueryClientFeatureFn, QueryClientMultiTabSyncFeature, QueryClientPersistenceFeature, QueryClientRef, QueryClientSubtle, QueryCollectionKeysOf, QueryCollectionOf, QueryCollectionWithNullableQuery, QueryConfig, QueryConfigBase, QueryConfigWithoutMethod, QueryContainerConfig, QueryContext, QueryCreator, QueryDataOf, QueryDependencies, QueryDevtoolsAbout, QueryDevtoolsAppInfo, QueryDevtoolsAuthQuery, QueryDevtoolsEntry, QueryDevtoolsEntryKind, QueryDevtoolsEntryMeta, QueryDevtoolsFault, QueryDevtoolsFaultTarget, QueryDevtoolsFeature, QueryDevtoolsFeatureDescriber, QueryDevtoolsFeatureDetail, QueryDevtoolsFormField, QueryDevtoolsFormHandle, QueryDevtoolsFormLinksHandle, QueryDevtoolsFormLinksRecorder, QueryDevtoolsMock, QueryDevtoolsMockTarget, QueryDevtoolsOptions, QueryDevtoolsOverrideEntry, QueryDevtoolsOverrideTransfer, QueryDevtoolsOverrideTransferParse, QueryDevtoolsOverridesHandle, QueryDevtoolsOverridesRecorder, QueryDevtoolsPayload, QueryDevtoolsRegistrar, QueryDevtoolsRegistration, QueryDevtoolsResolvedFault, QueryDevtoolsResolvedMock, QueryDevtoolsRoutePart, QueryDevtoolsRun, QueryDevtoolsRunError, QueryDevtoolsRunStatus, QueryDevtoolsSchemaComponents, QueryDevtoolsSchemaLoader, QueryDevtoolsSchemaRoute, QueryDevtoolsSchemaSeed, QueryDevtoolsSchemaState, QueryDevtoolsSettings, QueryDevtoolsStats, QueryDevtoolsStatsHandle, QueryDevtoolsStatsRecorder, QueryDevtoolsStorageScope, QueryDirectiveContext, QueryDirectiveType, QueryEntityConfig, QueryErrorParser, QueryErrorResponse, QueryErrorResponseItem, QueryErrorResponseList, QueryErrorResponseSingle, QueryExecute, QueryExecuteArgs, QueryExecuteEventData, QueryExecuteOptions, QueryExecuteState, QueryExecutionState, QueryExecutionStateFailure, QueryExecutionStateLoading, QueryExecutionStateLoadingWithCachedResponse, QueryExecutionStateLoadingWithNoResponse, QueryExecutionStateSuccess, QueryFailureEventData, QueryFeature, QueryFeatureContext, QueryFeatureFlags, QueryFeatureFn, QueryFieldConfig, QueryFieldDef, QueryFieldOptions, QueryFieldValue, QueryFilterConfig, QueryFormBranch, QueryFormChange, QueryFormFields, QueryFormGroup, QueryFormGroupControls, QueryFormModel, QueryFormObserveOptions, QueryFormOf, QueryFormOptions, QueryFormSignals, QueryFormSignalsObserveOptions, QueryFormSignalsWriteOptions, QueryFormValue, QueryFormValueEvent, QueryFormWriteOptions, QueryInvalidationCandidate, QueryInvalidationFilterFn, QueryInvalidationOptions, QueryKey, QueryKeyLockHold, QueryKeyLockManager, QueryKeyLockState, QueryMethod, QueryMockConfig, QueryMultiTabSyncConfig, QueryOf, QueryParams, QueryParamsType, QueryPersistenceAdapter, QueryPersistenceCandidate, QueryPersistenceConfig, QueryPersistenceEngine, QueryPrepareFn, QueryRefreshCause, QueryRegistry, QueryRegistryEntry, QueryRepository, QueryRepositoryCacheEntry, QueryRepositoryDependencies, QueryRepositoryEntryDestroyedCause, QueryRepositoryEvent, QueryRepositoryItem, QueryRepositoryRefreshFilterFn, QueryRepositoryRequestOptions, QueryRepositorySubtle, QueryResponseOf, QueryRouteOf, QuerySequence, QuerySequenceResult, QuerySequenceStatus, QuerySequenceStepArgs, QuerySnapshot, QueryStack, QueryStackSubtle, QueryState, QueryStateMeta, QueryStateResponseOf, QueryStateSignal, QueryStateSubtle, QueryStateSuccessMeta, QueryStoreIdOf, QueryStoreOf, QuerySubtle, QuerySuccessEventData, QuerySyncEngine, QuerySyncEnvelope, QuerySyncInvalidateMessage, QuerySyncMessage, QuerySyncMessageListener, QuerySyncMutation, QuerySyncMutationFilterFn, QuerySyncMutationMessage, QuerySyncRefreshCandidate, QuerySyncRefreshOnMutationConfig, QuerySyncResponseMessage, QuerySyncTransport, QueryTrigger, RawResponseType, ReadonlyQuery, RefreshFailure, RemoveFromConfig, RequestArgs, RequestConfig, RequestError, RequestEvent, RequestHeaders, RequestHeadersMethodMap, RequestHttpEvent, RequestProgress, RequestRetryFn, RequestRetryFnConfig, RequestRetryFnResult, RequiresTransform, ResetExecuteStateOptions, ResetPageOnErrorOperatorConfig, ResponseType, RestQueryConfig, RestoredQueryDevtoolsOverrides, RouteString, RouteType, RunQueryCreator, RunQueryExecuteOptions, SecureExecuteFactoryOptions, ServerValidationError, ServerViolationValidationError, SetupQueryDependenciesOptions, SetupQueryStateOptions, ShouldRetryRequestFn, ShouldRetryRequestOptions, ShouldRetryRequestResult, SocketMessageView, Sort, SortDirection, Success, SymfonyError, SymfonyErrorTrace, TokenExpirationWarningConfig, TokenExpirationWarningFeature, TokenRefreshEventData, TokenRefreshQueryBuilder, TokenRefreshQueryConfig, TokenResponse, TokenRevocationConfig, TokenRevocationFeature, TotalPagesExtractorOptions, TrackingConfig, TrackingEventDataMap, TrackingEventHandler, TrackingEventName, TrackingFeature, TransformedGqlQuery, V2CacheAdapterFn, V2PrepareArgsOf, V2QueryArgsOf, V2QueryClientConfig, V2QueryConfig, V2QueryState, V2RouteString, V2RouteType, ValidateWithQueryConfig, ValidateWithV2QueryConfig, WebSocketClient, WebSocketClientIo, WebSocketClientIoOptions, WebSocketClientResult, WebSocketClientSocket, WebSocketClientSubtle, WebSocketDevtoolsHandle, WebSocketDevtoolsMessage, WebSocketRoom, WithAutoRefreshFeatureOptions, WithBody, WithConfig, WithErrorHandlingFeatureOptions, WithHeaders, WithInjector, WithLegacyConfig, WithLoggingFeatureOptions, WithLongPollingFeatureOptions, WithMock, WithPageResetOnErrorFeatureOptions, WithPathParams, WithPollingFeatureOptions, WithQueryParams, WithResponseUpdateFeatureFnData, WithResponseUpdateFeatureOptions, WithSuccessHandlingFeatureOptions, WithVariables };
|