@ethlete/query 6.0.0-next.16 → 6.0.0-next.18

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.
@@ -569,7 +569,7 @@ const transformSinglePrepareCall = (callNode, injectorReference, sourceFile, pol
569
569
  : `{\n ${nextArgumentProperties.join(',\n ')}\n}`;
570
570
  return `${creatorName}.prepare(${nextArgumentString})`;
571
571
  };
572
- const findQueryVariableNameForPrepareCall = (prepareCallNode, sourceFile) => {
572
+ const findQueryVariableNameForPrepareCall = (prepareCallNode, _sourceFile) => {
573
573
  let parent = prepareCallNode.parent;
574
574
  while (parent) {
575
575
  if (ts.isVariableDeclaration(parent) && ts.isIdentifier(parent.name)) {
@@ -58,7 +58,7 @@ function renameConflictingSymbols(tree) {
58
58
  // Log statistics
59
59
  if (updatedFiles.length > 0) {
60
60
  console.log(`\n📊 Renamed symbols in ${updatedFiles.length} files:`);
61
- const hasRenames = Array.from(symbolUsageCounts.entries()).filter(([_, count]) => count > 0);
61
+ const hasRenames = Array.from(symbolUsageCounts.entries()).filter(([, count]) => count > 0);
62
62
  if (hasRenames.length > 0) {
63
63
  console.log('\n Symbol usage counts:');
64
64
  hasRenames.forEach(([symbol, count]) => {
@@ -123,7 +123,7 @@ function renameSymbolsInFile(content, filePath, symbolUsageCounts) {
123
123
  }
124
124
  visit(sourceFile);
125
125
  // Update imports in @ethlete/query import declarations
126
- const importReplacements = updateImports(sourceFile, content);
126
+ const importReplacements = updateImports(sourceFile);
127
127
  replacements.push(...importReplacements);
128
128
  // Count usages
129
129
  replacements.forEach((r) => {
@@ -138,7 +138,7 @@ function renameSymbolsInFile(content, filePath, symbolUsageCounts) {
138
138
  }
139
139
  return result;
140
140
  }
141
- function updateImports(sourceFile, content) {
141
+ function updateImports(sourceFile) {
142
142
  const replacements = [];
143
143
  function visit(node) {
144
144
  if (ts.isImportDeclaration(node)) {
package/package.json CHANGED
@@ -1,22 +1,21 @@
1
1
  {
2
2
  "name": "@ethlete/query",
3
- "version": "6.0.0-next.16",
3
+ "version": "6.0.0-next.18",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
7
- "@analogjs/vite-plugin-angular": "2.6.2",
8
- "@angular/common": "22.0.5",
9
- "@angular/core": "22.0.5",
10
- "@angular/forms": "22.0.5",
11
- "@angular/router": "22.0.5",
7
+ "@analogjs/vite-plugin-angular": "2.6.3",
8
+ "@angular/common": "22.0.7",
9
+ "@angular/core": "22.0.7",
10
+ "@angular/forms": "22.0.7",
11
+ "@angular/router": "22.0.7",
12
12
  "@ethlete/core": "^5.0.0-beta.11",
13
13
  "@ethlete/types": "^2.0.0-beta.4",
14
- "@nx/devkit": "23.1.0-beta.7",
15
- "@nx/vite": "23.1.0-beta.7",
14
+ "@nx/devkit": "23.1.0",
16
15
  "rxjs": "7.8.2",
17
16
  "socket.io-client": "4.8.3",
18
17
  "typescript": "6.0.3",
19
- "vite": "8.0.13"
18
+ "vite": "8.1.5"
20
19
  },
21
20
  "generators": "./generators/generators.json",
22
21
  "module": "fesm2022/ethlete-query.mjs",
@@ -7,8 +7,8 @@ import { Observable, Subscribable, BehaviorSubject } from 'rxjs';
7
7
  import * as _angular_common_http from '@angular/common/http';
8
8
  import { HttpErrorResponse, HttpHeaders, HttpClient, HttpEvent, HttpStatusCode } from '@angular/common/http';
9
9
  import * as _ethlete_query from '@ethlete/query';
10
- import { Paginated, NormalizedPagination, ContentfulGqlLikePaginated, DynLikePaginated, GgLikePaginated, FormViolationListView, FormViolationView } from '@ethlete/types';
11
- import { FieldTree, ValidationError } from '@angular/forms/signals';
10
+ import { Paginated, FormViolationView, NormalizedPagination, ContentfulGqlLikePaginated, DynLikePaginated, GgLikePaginated, FormViolationListView } from '@ethlete/types';
11
+ import { PathKind, FieldContext, TreeValidationResult, SchemaPath, SchemaPathRules, FieldTree, ValidationError } from '@angular/forms/signals';
12
12
  import * as _angular_forms from '@angular/forms';
13
13
  import { FormControl, FormGroup } from '@angular/forms';
14
14
  import { ToObservableOptions, ToSignalOptions } from '@angular/core/rxjs-interop';
@@ -67,7 +67,7 @@ declare function mapToPaginated<T>(response: Paginated<T>): rxjs.OperatorFunctio
67
67
  /**
68
68
  * Use an other store to represent a property of the current entity.
69
69
  */
70
- declare const insertFrom: <OriginStoreType, OriginKeys extends keyof NonNullable<OriginStoreType>, SubStoreType extends NonNullable<OriginStoreType>[OriginKeys] extends Array<infer U> ? U : NonNullable<OriginStoreType>[OriginKeys], IdFn extends (value: NonNullable<OriginStoreType>) => EntityKey | EntityKey[], ComputedEntityType extends ReturnType<IdFn> extends Array<unknown> ? OriginStoreType : Omit<OriginStoreType, OriginKeys> & { [K in OriginKeys]: SubStoreType | null; }>(store: EntityStore<SubStoreType>, { for: key, id }: InsertFromConfig<OriginStoreType, OriginKeys, IdFn>) => rxjs.OperatorFunction<OriginStoreType, ComputedEntityType | null>;
70
+ declare const insertFrom: <OriginStoreType, OriginKeys extends keyof NonNullable<OriginStoreType>, SubStoreType extends (NonNullable<OriginStoreType>[OriginKeys] extends Array<infer U> ? U : NonNullable<OriginStoreType>[OriginKeys]), IdFn extends (value: NonNullable<OriginStoreType>) => EntityKey | EntityKey[], ComputedEntityType extends (ReturnType<IdFn> extends Array<unknown> ? OriginStoreType : Omit<OriginStoreType, OriginKeys> & { [K in OriginKeys]: SubStoreType | null; })>(store: EntityStore<SubStoreType>, { for: key, id }: InsertFromConfig<OriginStoreType, OriginKeys, IdFn>) => rxjs.OperatorFunction<OriginStoreType, ComputedEntityType | null>;
71
71
  /**
72
72
  * Remove entities from a store based on a where function.
73
73
  */
@@ -1180,7 +1180,7 @@ declare const computeQueryQueryParams: (config: {
1180
1180
  client: V2QueryClient;
1181
1181
  args?: BaseArguments;
1182
1182
  }) => object | undefined;
1183
- declare const paginatedEntityValueUpdater: <T extends Paginated<unknown>, Args extends BaseArguments, Entity, J extends T extends Paginated<infer X> ? X : never>(findFn: (val: J, entity: Entity) => boolean) => ({ response, rawResponse, entity }: {
1183
+ declare const paginatedEntityValueUpdater: <T extends Paginated<unknown>, Args extends BaseArguments, Entity, J extends (T extends Paginated<infer X> ? X : never)>(findFn: (val: J, entity: Entity) => boolean) => ({ response, rawResponse, entity }: {
1184
1184
  rawResponse: T;
1185
1185
  response: T;
1186
1186
  args: Args;
@@ -1880,7 +1880,7 @@ declare class InfinityQueryDirective<Q extends InfinityQueryConfig<DirectiveQuer
1880
1880
  get instance(): InfinityQueryOf<Q> | null;
1881
1881
  get data$(): rxjs.Observable<Q["response"]["arrayType"]>;
1882
1882
  data: _angular_core.Signal<Q["response"]["arrayType"]>;
1883
- static ngTemplateContextGuard<Q extends InfinityQueryConfig<DirectiveQueryCreator, BaseArguments | undefined, any, unknown[]>>(dir: InfinityQueryDirective<Q>, ctx: unknown): ctx is InfinityQueryContext<Q>;
1883
+ static ngTemplateContextGuard<Q extends InfinityQueryConfig<DirectiveQueryCreator, BaseArguments | undefined, any, unknown[]>>(_dir: InfinityQueryDirective<Q>, _ctx: unknown): _ctx is InfinityQueryContext<Q>;
1884
1884
  constructor();
1885
1885
  private _setupInfinityQuery;
1886
1886
  loadNextPage(): void;
@@ -1948,7 +1948,7 @@ declare class QueryDirective<Q extends QueryDirectiveType | null> {
1948
1948
  query: _angular_core.InputSignal<Q>;
1949
1949
  cache: _angular_core.InputSignal<boolean>;
1950
1950
  queryState: _angular_core.WritableSignal<_ethlete_query.V2QueryState<QueryDataOf<QueryOf<Q>>> | null>;
1951
- static ngTemplateContextGuard<Q extends QueryDirectiveType | null>(dir: QueryDirective<Q>, ctx: unknown): ctx is QueryDirectiveContext<Q>;
1951
+ static ngTemplateContextGuard<Q extends QueryDirectiveType | null>(_dir: QueryDirective<Q>, _ctx: unknown): _ctx is QueryDirectiveContext<Q>;
1952
1952
  constructor();
1953
1953
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<QueryDirective<any>, never>;
1954
1954
  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>;
@@ -1967,6 +1967,60 @@ declare const queryStateDoesNotContainKeyError: (data: unknown) => QueryError;
1967
1967
  declare const queryStateCannotTransformError: (data: unknown) => QueryError;
1968
1968
  declare const invalidBodyError: (data: unknown) => QueryError;
1969
1969
 
1970
+ /** The args accepted by the creator's `prepare()` — includes `mock`/`config` extras. */
1971
+ type V2PrepareArgsOf<TCreator extends AnyV2QueryCreator | AnyLegacyQueryCreator> = Parameters<TCreator['prepare']>[0];
1972
+ /** Config for {@link validateWithV2Query}. */
1973
+ type ValidateWithV2QueryConfig<TCreator extends AnyV2QueryCreator | AnyLegacyQueryCreator, TValue, TPathKind extends PathKind> = {
1974
+ /**
1975
+ * The legacy query creator to run (from `V2QueryClient`'s `post`/`get`, or a
1976
+ * `createLegacyQueryCreator` interop wrapper). A fresh query is prepared and executed for each
1977
+ * validate request. Running it through the client is the point: auth, base route, caching and
1978
+ * error normalization all apply, unlike a raw `httpResource`.
1979
+ */
1980
+ queryCreator: TCreator;
1981
+ /**
1982
+ * Builds the `prepare()` args from the field context. Runs reactively on the field value
1983
+ * (debounced), exactly like `validateAsync`'s `params` — e.g.
1984
+ * `(ctx) => ({ pathParams: { id }, body: { ...ctx.value() } })`.
1985
+ */
1986
+ args: (ctx: FieldContext<TValue, TPathKind>) => V2PrepareArgsOf<TCreator>;
1987
+ /** Debounce before the request runs, in ms. @default 300 */
1988
+ debounce?: number;
1989
+ /** Gate the validation — return `false` to skip the request (e.g. an empty or invalid value). */
1990
+ when?: (ctx: FieldContext<TValue, TPathKind>) => boolean;
1991
+ /**
1992
+ * Override the default violation → error mapping. Receives the violations extracted from the
1993
+ * failed request; return the errors to report (targeting child fields via their `fieldTree`).
1994
+ * Defaults to `mapViolationsToFormErrors`, resolving each violation's `propertyPath` against the
1995
+ * validated field.
1996
+ */
1997
+ mapViolations?: (violations: FormViolationView[], ctx: FieldContext<TValue, TPathKind>) => TreeValidationResult;
1998
+ };
1999
+ /**
2000
+ * Binds a query-backed async validator to a signal-forms field, adapting a **legacy v2**
2001
+ * `@ethlete/query` query into what `validateAsync` consumes — the `V2QueryClient` counterpart of
2002
+ * {@link validateWithQuery}, so apps that haven't migrated yet can still validate against the
2003
+ * server. The query runs through the client (bearer auth, base route, caching, Symfony error
2004
+ * normalization), where a raw `httpResource` would fire unauthenticated and bypass the pipeline.
2005
+ *
2006
+ * The query is prepared and executed (debounced) as the field value changes, only after the
2007
+ * field's synchronous validators pass. A `204` / successful response reports no errors; a
2008
+ * `422 FormViolationListView` maps each violation onto its child field by `propertyPath`; a
2009
+ * network / other error degrades to a non-swallowed form-level error.
2010
+ *
2011
+ * Call it from a schema definition, the same place you'd call `validateAsync`:
2012
+ *
2013
+ * ```ts
2014
+ * const schema = schema<OpportunityEmail>((p) => {
2015
+ * validateWithV2Query(p, {
2016
+ * queryCreator: postOpportunityEmailValidate, // hubApiClient.post({ ... })
2017
+ * args: (ctx) => ({ pathParams: { opportunityId }, body: { ...ctx.value() } }),
2018
+ * });
2019
+ * });
2020
+ * ```
2021
+ */
2022
+ 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;
2023
+
1970
2024
  type SetupQueryDependenciesOptions = {
1971
2025
  /** The query client tuple from createQueryClient */
1972
2026
  client: AnyCreateQueryClientResult;
@@ -3028,6 +3082,7 @@ declare const QueryRuntimeErrorCode: {
3028
3082
  readonly TOKENS_NOT_AVAILABLE_INSIDE_AUTH_AND_EXEC: 700;
3029
3083
  readonly INVALID_STATE_INSIDE_SECURE_EXECUTE_FACTORY: 701;
3030
3084
  readonly CIRCULAR_QUERY_DEPENDENCY: 800;
3085
+ readonly QUERY_SEQUENCE_ALREADY_RUNNING: 900;
3031
3086
  };
3032
3087
  type QueryRuntimeErrorCode = (typeof QueryRuntimeErrorCode)[keyof typeof QueryRuntimeErrorCode];
3033
3088
  declare const queryFeatureUsedMultipleTimes: (type: QueryFeatureType) => RuntimeError<0>;
@@ -3052,6 +3107,102 @@ declare const gqlDataPropertyMissingInResponse: () => RuntimeError<600>;
3052
3107
  declare const tokensNotAvailableInsideAuthAndExec: () => RuntimeError<700>;
3053
3108
  declare const invalidStateInsideSecureExecuteFactory: () => RuntimeError<701>;
3054
3109
  declare const circularQueryDependency: () => RuntimeError<800>;
3110
+ declare const querySequenceAlreadyRunning: () => RuntimeError<900>;
3111
+
3112
+ /** The last element of a tuple type — the response of the step a `.then()` callback follows. */
3113
+ type LastOf<T extends unknown[]> = T extends [...unknown[], infer L] ? L : never;
3114
+ /** The current lifecycle phase of a query sequence. */
3115
+ type QuerySequenceStatus = 'idle' | 'running' | 'success' | 'error';
3116
+ /** The args a sequence step supplies to its query — the same `{ args }` shape `query.execute()` takes. */
3117
+ type QuerySequenceStepArgs<TArgs extends QueryArgs> = {
3118
+ args: RequestArgs<TArgs>;
3119
+ };
3120
+ /**
3121
+ * The outcome of a settled {@link QuerySequence.run}.
3122
+ *
3123
+ * A discriminated union: on success `responses` is the fully-typed tuple of every step's response;
3124
+ * on failure `failedAt` is the zero-based index of the step that errored and `error` is its
3125
+ * normalized {@link QueryErrorResponse}. `snapshots` always holds the settled snapshots of every
3126
+ * step that ran — up to and including the failing one.
3127
+ */
3128
+ type QuerySequenceResult<TResponses extends unknown[]> = {
3129
+ ok: true;
3130
+ responses: TResponses;
3131
+ snapshots: AnyQuerySnapshot[];
3132
+ } | {
3133
+ ok: false;
3134
+ failedAt: number;
3135
+ error: QueryErrorResponse;
3136
+ snapshots: AnyQuerySnapshot[];
3137
+ };
3138
+ /**
3139
+ * An imperative waterfall of dependent queries — usually mutations (`POST`/`PUT`/`PATCH`/`DELETE`)
3140
+ * where each call needs the previous call's response.
3141
+ *
3142
+ * Build the chain once (e.g. as a component field) with {@link querySequence} and `.then()`, then
3143
+ * trigger it with {@link run}. Each step runs via `executeUntilSettled`, threading the previous
3144
+ * step's response into the next; the first error aborts the rest. The progress signals mirror
3145
+ * `createQueryStack`, so a template can drive a stepper without manual bookkeeping.
3146
+ */
3147
+ type QuerySequence<TResponses extends unknown[]> = {
3148
+ /**
3149
+ * Appends a dependent step. `mapArgs` runs at {@link run} time and receives the previous step's
3150
+ * (unwrapped, non-null on success) response plus the typed tuple of all responses so far, so a
3151
+ * later step can still reach an earlier one's data.
3152
+ */
3153
+ then: <TArgs extends QueryArgs>(query: Query<TArgs>, mapArgs: (previousResponse: LastOf<TResponses>, responses: TResponses) => QuerySequenceStepArgs<TArgs>) => QuerySequence<[...TResponses, ResponseType<TArgs>]>;
3154
+ /** The current lifecycle phase — `idle` before the first run, then `running` → `success` | `error`. */
3155
+ status: Signal<QuerySequenceStatus>;
3156
+ /** `true` while a run is in flight. */
3157
+ running: Signal<boolean>;
3158
+ /** The 1-based index of the in-flight step, or `0` when idle. */
3159
+ currentStep: Signal<number>;
3160
+ /** The static number of steps in the sequence. */
3161
+ total: number;
3162
+ /** The error of the step that failed, or `null` while running / on success. */
3163
+ error: Signal<QueryErrorResponse | null>;
3164
+ /** The zero-based index of the step that failed, or `null` while running / on success. */
3165
+ failedAt: Signal<number | null>;
3166
+ /** The settled snapshots of every step that has run, grows as the waterfall progresses. */
3167
+ snapshots: Signal<AnyQuerySnapshot[]>;
3168
+ /** The responses of every step that has succeeded, grows as the waterfall progresses. */
3169
+ responses: Signal<Partial<TResponses>>;
3170
+ /**
3171
+ * Runs every step in order, resolving once the waterfall settles.
3172
+ *
3173
+ * Resets the progress signals, then awaits each step in turn — stopping at the first error and
3174
+ * resolving with `{ ok: false, failedAt, error }`, or `{ ok: true, responses }` when all steps
3175
+ * succeed. Re-runnable (e.g. behind a retry button); throws {@link querySequenceAlreadyRunning}
3176
+ * if a run is already in flight.
3177
+ *
3178
+ * Cancellation caveat (inherited from `executeUntilSettled`): if the host scope is destroyed
3179
+ * mid-flight the in-flight query is torn down and this promise never settles.
3180
+ */
3181
+ run: () => Promise<QuerySequenceResult<TResponses>>;
3182
+ };
3183
+ /**
3184
+ * Starts an imperative waterfall of dependent queries. Chain the remaining steps with `.then()`
3185
+ * and trigger it with `.run()` — see {@link QuerySequence}.
3186
+ *
3187
+ * The seed step's `args` are produced lazily (at `run()` time), so the sequence can safely live as
3188
+ * a component field while still reading current signal values on each run.
3189
+ *
3190
+ * @example
3191
+ * ```ts
3192
+ * readonly checkout = querySequence(this.createOrder, () => ({ args: { body: this.order() } }))
3193
+ * .then(this.createPayment, (order) => ({ args: { body: { orderId: order.id } } }))
3194
+ * .then(this.confirmOrder, (payment, [order]) => ({
3195
+ * args: { pathParams: { paymentId: payment.id }, body: { orderRef: order.id } },
3196
+ * }));
3197
+ *
3198
+ * async submit() {
3199
+ * const result = await this.checkout.run();
3200
+ * if (!result.ok) return this.handle(result.error);
3201
+ * const [order, payment, confirmation] = result.responses;
3202
+ * }
3203
+ * ```
3204
+ */
3205
+ declare const querySequence: <TArgs extends QueryArgs>(query: Query<TArgs>, seedArgs: () => QuerySequenceStepArgs<TArgs>) => QuerySequence<[ResponseType<TArgs>]>;
3055
3206
 
3056
3207
  /** `kind` of a `ValidationError` created from a single server violation. */
3057
3208
  declare const SERVER_VIOLATION_ERROR_KIND = "etServerViolation";
@@ -3287,6 +3438,58 @@ declare const transformPaginatedResponse: <T extends ({
3287
3438
  } | null)[]>(responses: T) => NonNullable<NonNullable<T[0]>["items"]>;
3288
3439
  declare const createQueryStack: <TCreator extends AnyQueryCreator, TArgs extends QueryArgsOf<TCreator>, TDeps extends () => any, TTransform = (ResponseType<TArgs> | null)[]>(options: CreateQueryStackOptions<TCreator, TDeps, TTransform>) => QueryStack<RunQueryCreator<TCreator>, TCreator, TTransform>;
3289
3440
 
3441
+ /** Config for {@link validateWithQuery}. */
3442
+ type ValidateWithQueryConfig<TCreator extends AnyQueryCreator, TValue, TPathKind extends PathKind> = {
3443
+ /**
3444
+ * The query creator to run (e.g. a secure `createPostQuery` validate route). Like a query stack,
3445
+ * the query is created **once** and re-executes reactively — never per keystroke. Running it
3446
+ * through the query client is the point: auth, base route, caching and error normalization all
3447
+ * apply, unlike a raw `httpResource`.
3448
+ */
3449
+ queryCreator: TCreator;
3450
+ /**
3451
+ * Builds the request args from the field context. Runs reactively on the field value (debounced),
3452
+ * exactly like `validateAsync`'s `params` — e.g.
3453
+ * `(ctx) => ({ pathParams: { id }, body: { ...ctx.value() } })`.
3454
+ */
3455
+ args: (ctx: FieldContext<TValue, TPathKind>) => RequestArgs<QueryArgsOf<TCreator>>;
3456
+ /** Debounce before the request runs, in ms. @default 300 */
3457
+ debounce?: number;
3458
+ /** Gate the validation — return `false` to skip the request (e.g. an empty or invalid value). */
3459
+ when?: (ctx: FieldContext<TValue, TPathKind>) => boolean;
3460
+ /**
3461
+ * Override the default violation → error mapping. Receives the violations extracted from the
3462
+ * failed request; return the errors to report (targeting child fields via their `fieldTree`).
3463
+ * Defaults to `mapViolationsToFormErrors`, resolving each violation's `propertyPath` against the
3464
+ * validated field.
3465
+ */
3466
+ mapViolations?: (violations: FormViolationView[], ctx: FieldContext<TValue, TPathKind>) => TreeValidationResult;
3467
+ };
3468
+ /**
3469
+ * Binds a query-backed async validator to a signal-forms field, adapting an `@ethlete/query` v3
3470
+ * query into what `validateAsync` consumes. The query runs through the query client — so bearer
3471
+ * auth, base route, caching and Symfony error normalization all apply — where a raw `httpResource`
3472
+ * would fire unauthenticated and bypass the pipeline.
3473
+ *
3474
+ * On the current v3 `QueryClient` / `createPostQuery` creators; the `validateWithV2Query` twin
3475
+ * covers the legacy `V2QueryClient`. The query is created once and re-executed (debounced) as the
3476
+ * field value changes, only after the field's synchronous validators pass. A `204` / successful
3477
+ * response reports no errors; a `422 FormViolationListView` maps each violation onto its child
3478
+ * field by `propertyPath`; a network / other error degrades to a non-swallowed form-level error.
3479
+ *
3480
+ * Call it from a schema definition, the same place you'd call `validateAsync`:
3481
+ *
3482
+ * ```ts
3483
+ * const schema = schema<OpportunityEmail>((p) => {
3484
+ * validateWithQuery(p, {
3485
+ * queryCreator: postOpportunityEmailValidate,
3486
+ * args: (ctx) => ({ pathParams: { opportunityId }, body: { ...ctx.value() } }),
3487
+ * });
3488
+ * });
3489
+ * ```
3490
+ */
3491
+ declare const validateWithQuery: <TCreator extends AnyQueryCreator, TValue, TPathKind extends PathKind = PathKind.Root>(path: SchemaPath<TValue, SchemaPathRules.Supported, TPathKind>, config: ValidateWithQueryConfig<TCreator, TValue, TPathKind>) => void;
3492
+
3290
3493
  type InternalSecureCreateQueryCreatorOptions<TArgs extends QueryArgs> = InternalCreateQueryCreatorOptions<TArgs> & {
3291
3494
  authProvider: AnyCreateBearerAuthProviderResult;
3292
3495
  };
@@ -4012,5 +4215,5 @@ type WebSocketClientResult<TMessageData extends SocketMessageView = SocketMessag
4012
4215
  type AnyWebSocketClient<TMessageData extends SocketMessageView = SocketMessageView> = WebSocketClientResult<TMessageData>;
4013
4216
  declare const createWebSocketClient: <TMessageData extends SocketMessageView = SocketMessageView>(options: CreateWebSocketClientConfigOptions) => WebSocketClientResult<TMessageData>;
4014
4217
 
4015
- export { AuthBearerRefreshStrategy, BasicAuthProvider, BearerAuthFeatureType, BooleanArrayQueryField, CLEAR_QUERY_ARGS, CustomHeaderAuthProvider, DateArrayQueryField, DateQueryField, EntityStore, INFINITY_QUERY_TOKEN, InfinityQuery, InfinityQueryDirective, InfinityQueryTriggerDirective, LegacyQuery, LegacyQueryCreator, NumberArrayQueryField, ParseHttpErrorCodeToMessageDePipe, ParseHttpErrorCodeToMessageEnPipe, ParseHttpErrorCodeToTitleDePipe, ParseHttpErrorCodeToTitleEnPipe, QUERY_CLIENT_DEVTOOLS_TOKEN, QueryDevtoolsComponent, QueryDirective, QueryError, 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, applyQueryFeatures, authExtractTokensResponseMissingAccessToken, authExtractTokensResponseMissingRefreshToken, authExtractTokensResponseNotObject, authProviderFeatureUsedMultipleTimes, buildErrorMessage, buildQueryCacheKey, buildQueryString, buildRoute, buildTimestampFromSeconds, castQueryCreatorTypes, circularQueryDependency, circularQueryDependencyChecker, computeQueryAuthHeader, computeQueryBody, computeQueryHeaders, computeQueryMethod, computeQueryQueryParams, contentfulGqlLikePaginationAdapter, createBaseQuery, createBaseQueryCreator, createBearerAuthProvider, createDeleteQuery, createExecuteFn, createGetQuery, createGqlExecuteFn, createGqlMutationViaGet, createGqlMutationViaPost, createGqlQuery, createGqlQueryCreator, createGqlQueryViaGet, createGqlQueryViaPost, createHttpRequest, createInfinityQueryConfig, createLegacyQueryCreator, createPagedQueryStack, createPatchQuery, createPersistentAuthFeature, createPostQuery, createPutQuery, createQuery, createQueryClient, createQueryCollection, createQueryCollectionSignal, createQueryCollectionSubject, createQueryContext, createQueryCreator, createQueryErrorResponse, createQueryFeature, createQueryObject, createQueryRepository, createQuerySnapshotFn, createQueryStack, createSecureDeleteQuery, createSecureExecuteFactory, createSecureExecuteFn, createSecureGetQuery, createSecureGqlExecuteFn, createSecureGqlMutationViaGet, createSecureGqlMutationViaPost, createSecureGqlQuery, createSecureGqlQueryCreator, createSecureGqlQueryViaGet, createSecureGqlQueryViaPost, createSecurePatchQuery, createSecurePostQuery, createSecurePutQuery, createSecureQuery, createSecureQueryCreator, createTrackingFeature, createWebSocketClient, decryptBearer, deepFreeze, def, detectContentTypeHeader, dynLikePaginationAdapter, effectComputed, ethletePaginationAdapter, executeUntilSettled, extractExpiresInSeconds, extractFormViolations, extractQuery, fakePaginationAdapter, filterFailure, filterNull, filterQueryStates, filterSuccess, forEachHeader, getDefaultHeaders, getQueryFeatureUsage, getResponseUrl, ggLikePaginationAdapter, gql, gqlDataPropertyMissingInResponse, hasHeader, ignoreAutoRefresh, injectInfinityQueryResponseDelay, injectQueryContext, insertFrom, invalidBaseRouteError, invalidBodyError, invalidRouteError, invalidStateInsideSecureExecuteFactory, isAutoRefresh, isBasicAuthProvider, isBearerAuthProvider, isClassValidatorError, isCreateGqlQueryOptions, isCustomHeaderAuthProvider, isEmptyString, isGqlQueryConfig, isLegacyQuery, isNaN, isQuery, isQueryCollection, isQueryErrorResponse, isQueryStateCancelled, isQueryStateFailure, isQueryStateLoading, isQueryStatePrepared, isQueryStateSuccess, isRequestError, isSymfonyError, isSymfonyFormViolationListError, isSymfonyListError, isSymfonyPagerfantaOutOfRangeError, mapToPaginated, mapViolationsToFormErrors, maybeExecute, mergeHeaders, nestedEffect, pagedQueryStackNextPageCalledWithoutPreviousPage, pagedQueryStackPageBiggerThanTotalPages, pagedQueryStackPreviousPageCalledButAlreadyAtFirstPage, paginatedEntityValueUpdater, parseAllXhrResponseHeaders, parseHttpErrorCodeToMessageDe, parseHttpErrorCodeToMessageEn, parseHttpErrorCodeToTitleDe, parseHttpErrorCodeToTitleEn, pathParamsMissingInRouteFunctionError, provideInfinityQueryResponseDelay, provideQueryClientForDevtools, queryArrayComputed, queryComputed, queryComputedTillTruthy, queryExecute, queryFeatureUsedMultipleTimes, queryStackTotalQueriesAndExpectedQueriesMismatch, queryStackWithArgsUsed, queryStackWithResponseUpdateUsed, queryStateAlreadyHasKeyError, queryStateCannotTransformError, queryStateDoesNotContainKeyError, queryStateErrorSignal, queryStateLoadingSignal, queryStateResponseSignal, queryStateSignal, removeFrom, request, resetExecuteState, resetPageOnError, serializeBody, setupQueryDependencies, setupQueryExecuteState, setupQueryState, shouldAutoExecuteGqlQuery, shouldAutoExecuteQuery, shouldCacheQuery, shouldRetryRequest, silenceMissingWithArgsFeatureErrorUsedButWithArgsPresent, skipPaginationPageParamCalculator, splitQueryConfig, switchQueryCollectionState, switchQueryState, takeUntilResponse, toQuerySignal, toQuerySubject, tokensNotAvailableInsideAuthAndExec, transformArrayResponse, transformExecStateToQueryState, transformGql, transformMethod, transformPaginatedResponse, transformToBoolean, transformToBooleanArray, transformToDate, transformToDateArray, transformToNumber, transformToNumberArray, transformToSort, transformToSortQueryParam, transformToString, transformToStringArray, uncacheableRequestHasAllowCacheParam, uncacheableRequestHasCacheKeyParam, v2BuildQueryCacheKey, v2ExtractExpiresInSeconds, v2ShouldCacheQuery, v2ShouldRetryRequest, withArgs, withArgsQueryFeatureMissingButRouteIsFunction, withAuthenticationQuery, withAutoRefresh, withAutoRefreshUsedInManualQuery, withAutoRefreshUsedOnUnsupportedHttpMethod, withErrorHandling, withInactivityLogout, withLogging, withPersistentAuth, withPolling, withPollingUsedOnUnsupportedHttpMethod, withRefreshQuery, withResponseUpdate, withSuccessHandling, withTokenExpirationWarning, withTokenRevocation, withTracking, wrapAsObservableSignal };
4016
- 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, AuthProvider, AuthProviderBasicConfig, AuthProviderBearerConfig, AuthProviderCustomHeaderConfig, AuthQueryBuilder, AuthQueryConfig, BaseArguments, BaseQueryCreatorFactoryOptions, BaseQueryCreatorOptions, BaseQueryCreatorOptionsSubtle, BearerAuthExecutionState, BearerAuthExecutionStateError, BearerAuthExecutionStateLoading, BearerAuthExecutionStateLogout, BearerAuthExecutionStateSuccess, BearerAuthFeature, BearerAuthProvider, BearerAuthProviderFeatureContext, BearerAuthProviderQueryContext, BearerAuthProviderRef, BearerAuthProviderTokens, BearerRefreshConfig, BodyType, BuildQueryStringConfig, CacheAdapterFn, Cancelled, ClassValidatorError, ClearQueryArgs, ConstructQuery, CreateBaseQueryOptions, CreateBearerAuthProviderConfig, CreateGqlQueryCreatorOptions, CreateGqlQueryExecuteOptions, CreateGqlQueryOptions, CreateHttpRequestDependencies, CreateHttpRequestOptions, CreateLegacyQueryCreatorOptions, CreateLegacyQueryOptions, CreatePagedQueryStackOptions, CreateQueryClientConfigOptions, CreateQueryCreatorOptions, CreateQueryExecuteOptions, CreateQueryObjectOptions, CreateQueryOptions, CreateQueryRepositoryConfig, CreateQuerySnapshotOptions, CreateQueryStackOptions, CreateSecureGqlQueryExecuteOptions, CreateSecureGqlQueryOptions, CreateSecureQueryExecuteOptions, CreateSecureQueryOptions, CreateWebSocketClientConfigOptions, CreateWebSocketClientTransport, DestroyCleanupCallback, EmptyObject, EntityGetParams, EntityIdParams, EntityKey, EntitySetParams, EntityStoreConfig, ExecuteFactory, ExecuteQueryOptions, ExtractQueryArgs, ExtractQueryKey, Failure, FeatureRegistry, GQL, GqlQueryArgs, GqlQueryConfig, GqlQueryConfigWithoutMethod, GqlQueryMethod, GqlQueryTransport, GqlTransferOption, GqlTransformer, GqlVariablesType, HttpErrorEvent, HttpRequest, HttpRequestLoadingProgressState, HttpRequestLoadingState, HttpRequestResponseType, HttpRequestTransferCacheConfig, InactivityLogoutConfig, InactivityLogoutFeature, InfinityQueryConfig, InfinityQueryConfigType, InfinityQueryOf, InfinityQueryParamLocation, InsertFromConfig, InternalCreateGqlQueryCreatorOptions, InternalCreateQueryCreatorOptions, InternalQueryExecute, InternalSecureCreateGqlQueryCreatorOptions, InternalSecureCreateQueryCreatorOptions, InternalWebSocketRoom, LeaderInstanceCountChangeEventData, LeaderStatusChangeEventData, LegacyArgumentsOfQueryArgs, LegacyQueryPrepareFn, Loading, MapViolationsToFormErrorsOptions, Method, ObservableSignal, OptionalQueryFieldOptions, PageParamCalculatorOptions, PagedQueryStack, PagedQueryStackDirection, PagedQueryStackExecuteOptions, PagedQueryStackResetOptions, PartialXhrState, PathParams, PathParamsType, PersistentAuthConfig, PersistentAuthFeature, PollConfig, Prepared, Query, QueryArgs, QueryArgsOf, QueryArgsOfLegacyArguments, QueryAutoRefreshConfig, QueryBase, QueryClient, QueryClientDevtoolsOptions, QueryClientRef, QueryCollectionKeysOf, QueryCollectionOf, QueryCollectionWithNullableQuery, QueryConfig, QueryConfigBase, QueryConfigWithoutMethod, QueryContainerConfig, QueryContext, QueryCreator, QueryDataOf, QueryDependencies, QueryDirectiveContext, QueryDirectiveType, QueryEntityConfig, QueryErrorResponse, QueryErrorResponseItem, QueryErrorResponseList, QueryErrorResponseSingle, QueryExecute, QueryExecuteArgs, QueryExecuteEventData, QueryExecuteOptions, QueryExecuteState, QueryExecutionState, QueryExecutionStateFailure, QueryExecutionStateLoading, QueryExecutionStateLoadingWithCachedResponse, QueryExecutionStateLoadingWithNoResponse, QueryExecutionStateSuccess, QueryFailureEventData, QueryFeature, QueryFeatureContext, QueryFeatureFlags, QueryFeatureFn, QueryFieldOptions, QueryFilterConfig, QueryFormGroup, QueryFormGroupControls, QueryFormObserveOptions, QueryFormOf, QueryFormOptions, QueryFormValue, QueryFormValueEvent, QueryFormWriteOptions, QueryKey, QueryMethod, QueryMockConfig, QueryOf, QueryParams, QueryParamsType, QueryPrepareFn, QueryRegistry, QueryRepository, QueryRepositoryDependencies, QueryRepositoryEvent, QueryRepositoryItem, QueryRepositoryRequestOptions, QueryResponseOf, QueryRouteOf, QuerySnapshot, QueryStack, QueryStackSubtle, QueryState, QueryStateMeta, QueryStateResponseOf, QueryStateSignal, QueryStateSubtle, QueryStateSuccessMeta, QueryStoreIdOf, QueryStoreOf, QuerySubtle, QuerySuccessEventData, QueryTrigger, RawResponseType, ReadonlyQuery, RemoveFromConfig, RequestArgs, RequestConfig, RequestError, RequestEvent, RequestHeaders, RequestHeadersMethodMap, RequestHttpEvent, RequestProgress, RequestRetryFn, RequestRetryFnConfig, RequestRetryFnResult, RequiresTransform, ResetExecuteStateOptions, ResetPageOnErrorOperatorConfig, ResponseType, RestQueryConfig, RouteString, RouteType, RunQueryCreator, RunQueryExecuteOptions, SecureExecuteFactoryOptions, ServerValidationError, ServerViolationValidationError, SetupQueryDependenciesOptions, SetupQueryStateOptions, ShouldRetryRequestFn, ShouldRetryRequestOptions, ShouldRetryRequestResult, SocketMessageView, Sort, SortDirection, Success, SymfonyError, SymfonyErrorTrace, TokenExpirationWarningConfig, TokenExpirationWarningFeature, TokenRefreshEventData, TokenRefreshQueryBuilder, TokenRefreshQueryConfig, TokenResponse, TokenRevocationConfig, TokenRevocationFeature, TotalPagesExtractorOptions, TrackingConfig, TrackingEventDataMap, TrackingEventHandler, TrackingEventName, TrackingFeature, TransformedGqlQuery, V2CacheAdapterFn, V2QueryArgsOf, V2QueryClientConfig, V2QueryConfig, V2QueryState, V2RouteString, V2RouteType, WebSocketClient, WebSocketClientResult, WebSocketClientSubtle, WebSocketRoom, WithAutoRefreshFeatureOptions, WithBody, WithConfig, WithErrorHandlingFeatureOptions, WithHeaders, WithInjector, WithLegacyConfig, WithLoggingFeatureOptions, WithMock, WithPathParams, WithPollingFeatureOptions, WithQueryParams, WithResponseUpdateFeatureFnData, WithResponseUpdateFeatureOptions, WithSuccessHandlingFeatureOptions, WithVariables };
4218
+ export { AuthBearerRefreshStrategy, BasicAuthProvider, BearerAuthFeatureType, BooleanArrayQueryField, CLEAR_QUERY_ARGS, CustomHeaderAuthProvider, DateArrayQueryField, DateQueryField, EntityStore, INFINITY_QUERY_TOKEN, InfinityQuery, InfinityQueryDirective, InfinityQueryTriggerDirective, LegacyQuery, LegacyQueryCreator, NumberArrayQueryField, ParseHttpErrorCodeToMessageDePipe, ParseHttpErrorCodeToMessageEnPipe, ParseHttpErrorCodeToTitleDePipe, ParseHttpErrorCodeToTitleEnPipe, QUERY_CLIENT_DEVTOOLS_TOKEN, QueryDevtoolsComponent, QueryDirective, QueryError, 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, applyQueryFeatures, authExtractTokensResponseMissingAccessToken, authExtractTokensResponseMissingRefreshToken, authExtractTokensResponseNotObject, authProviderFeatureUsedMultipleTimes, buildErrorMessage, buildQueryCacheKey, buildQueryString, buildRoute, buildTimestampFromSeconds, castQueryCreatorTypes, circularQueryDependency, circularQueryDependencyChecker, computeQueryAuthHeader, computeQueryBody, computeQueryHeaders, computeQueryMethod, computeQueryQueryParams, contentfulGqlLikePaginationAdapter, createBaseQuery, createBaseQueryCreator, createBearerAuthProvider, createDeleteQuery, createExecuteFn, createGetQuery, createGqlExecuteFn, createGqlMutationViaGet, createGqlMutationViaPost, createGqlQuery, createGqlQueryCreator, createGqlQueryViaGet, createGqlQueryViaPost, createHttpRequest, createInfinityQueryConfig, createLegacyQueryCreator, createPagedQueryStack, createPatchQuery, createPersistentAuthFeature, createPostQuery, createPutQuery, createQuery, createQueryClient, createQueryCollection, createQueryCollectionSignal, createQueryCollectionSubject, createQueryContext, createQueryCreator, createQueryErrorResponse, createQueryFeature, createQueryObject, createQueryRepository, createQuerySnapshotFn, createQueryStack, createSecureDeleteQuery, createSecureExecuteFactory, createSecureExecuteFn, createSecureGetQuery, createSecureGqlExecuteFn, createSecureGqlMutationViaGet, createSecureGqlMutationViaPost, createSecureGqlQuery, createSecureGqlQueryCreator, createSecureGqlQueryViaGet, createSecureGqlQueryViaPost, createSecurePatchQuery, createSecurePostQuery, createSecurePutQuery, createSecureQuery, createSecureQueryCreator, createTrackingFeature, createWebSocketClient, decryptBearer, deepFreeze, def, detectContentTypeHeader, dynLikePaginationAdapter, effectComputed, ethletePaginationAdapter, executeUntilSettled, extractExpiresInSeconds, extractFormViolations, extractQuery, fakePaginationAdapter, filterFailure, filterNull, filterQueryStates, filterSuccess, forEachHeader, getDefaultHeaders, getQueryFeatureUsage, getResponseUrl, ggLikePaginationAdapter, gql, gqlDataPropertyMissingInResponse, hasHeader, ignoreAutoRefresh, injectInfinityQueryResponseDelay, injectQueryContext, insertFrom, invalidBaseRouteError, invalidBodyError, invalidRouteError, invalidStateInsideSecureExecuteFactory, isAutoRefresh, isBasicAuthProvider, isBearerAuthProvider, isClassValidatorError, isCreateGqlQueryOptions, isCustomHeaderAuthProvider, isEmptyString, isGqlQueryConfig, isLegacyQuery, isNaN, isQuery, isQueryCollection, isQueryErrorResponse, isQueryStateCancelled, isQueryStateFailure, isQueryStateLoading, isQueryStatePrepared, isQueryStateSuccess, isRequestError, isSymfonyError, isSymfonyFormViolationListError, isSymfonyListError, isSymfonyPagerfantaOutOfRangeError, mapToPaginated, mapViolationsToFormErrors, maybeExecute, mergeHeaders, nestedEffect, pagedQueryStackNextPageCalledWithoutPreviousPage, pagedQueryStackPageBiggerThanTotalPages, pagedQueryStackPreviousPageCalledButAlreadyAtFirstPage, paginatedEntityValueUpdater, parseAllXhrResponseHeaders, parseHttpErrorCodeToMessageDe, parseHttpErrorCodeToMessageEn, parseHttpErrorCodeToTitleDe, parseHttpErrorCodeToTitleEn, pathParamsMissingInRouteFunctionError, provideInfinityQueryResponseDelay, provideQueryClientForDevtools, queryArrayComputed, queryComputed, queryComputedTillTruthy, queryExecute, queryFeatureUsedMultipleTimes, querySequence, querySequenceAlreadyRunning, queryStackTotalQueriesAndExpectedQueriesMismatch, queryStackWithArgsUsed, queryStackWithResponseUpdateUsed, queryStateAlreadyHasKeyError, queryStateCannotTransformError, queryStateDoesNotContainKeyError, queryStateErrorSignal, queryStateLoadingSignal, queryStateResponseSignal, queryStateSignal, removeFrom, request, resetExecuteState, resetPageOnError, serializeBody, setupQueryDependencies, setupQueryExecuteState, setupQueryState, shouldAutoExecuteGqlQuery, shouldAutoExecuteQuery, shouldCacheQuery, shouldRetryRequest, silenceMissingWithArgsFeatureErrorUsedButWithArgsPresent, skipPaginationPageParamCalculator, splitQueryConfig, switchQueryCollectionState, switchQueryState, takeUntilResponse, toQuerySignal, toQuerySubject, tokensNotAvailableInsideAuthAndExec, transformArrayResponse, transformExecStateToQueryState, transformGql, transformMethod, transformPaginatedResponse, transformToBoolean, transformToBooleanArray, transformToDate, transformToDateArray, transformToNumber, transformToNumberArray, transformToSort, transformToSortQueryParam, transformToString, transformToStringArray, uncacheableRequestHasAllowCacheParam, uncacheableRequestHasCacheKeyParam, v2BuildQueryCacheKey, v2ExtractExpiresInSeconds, v2ShouldCacheQuery, v2ShouldRetryRequest, validateWithQuery, validateWithV2Query, withArgs, withArgsQueryFeatureMissingButRouteIsFunction, withAuthenticationQuery, withAutoRefresh, withAutoRefreshUsedInManualQuery, withAutoRefreshUsedOnUnsupportedHttpMethod, withErrorHandling, withInactivityLogout, withLogging, withPersistentAuth, withPolling, withPollingUsedOnUnsupportedHttpMethod, withRefreshQuery, withResponseUpdate, withSuccessHandling, withTokenExpirationWarning, withTokenRevocation, withTracking, wrapAsObservableSignal };
4219
+ 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, AuthProvider, AuthProviderBasicConfig, AuthProviderBearerConfig, AuthProviderCustomHeaderConfig, AuthQueryBuilder, AuthQueryConfig, BaseArguments, BaseQueryCreatorFactoryOptions, BaseQueryCreatorOptions, BaseQueryCreatorOptionsSubtle, BearerAuthExecutionState, BearerAuthExecutionStateError, BearerAuthExecutionStateLoading, BearerAuthExecutionStateLogout, BearerAuthExecutionStateSuccess, BearerAuthFeature, BearerAuthProvider, BearerAuthProviderFeatureContext, BearerAuthProviderQueryContext, BearerAuthProviderRef, BearerAuthProviderTokens, BearerRefreshConfig, BodyType, BuildQueryStringConfig, CacheAdapterFn, Cancelled, ClassValidatorError, ClearQueryArgs, ConstructQuery, CreateBaseQueryOptions, CreateBearerAuthProviderConfig, CreateGqlQueryCreatorOptions, CreateGqlQueryExecuteOptions, CreateGqlQueryOptions, CreateHttpRequestDependencies, CreateHttpRequestOptions, CreateLegacyQueryCreatorOptions, CreateLegacyQueryOptions, CreatePagedQueryStackOptions, CreateQueryClientConfigOptions, CreateQueryCreatorOptions, CreateQueryExecuteOptions, CreateQueryObjectOptions, CreateQueryOptions, CreateQueryRepositoryConfig, CreateQuerySnapshotOptions, CreateQueryStackOptions, CreateSecureGqlQueryExecuteOptions, CreateSecureGqlQueryOptions, CreateSecureQueryExecuteOptions, CreateSecureQueryOptions, CreateWebSocketClientConfigOptions, CreateWebSocketClientTransport, DestroyCleanupCallback, EmptyObject, EntityGetParams, EntityIdParams, EntityKey, EntitySetParams, EntityStoreConfig, ExecuteFactory, ExecuteQueryOptions, ExtractQueryArgs, ExtractQueryKey, Failure, FeatureRegistry, GQL, GqlQueryArgs, GqlQueryConfig, GqlQueryConfigWithoutMethod, GqlQueryMethod, GqlQueryTransport, GqlTransferOption, GqlTransformer, GqlVariablesType, HttpErrorEvent, HttpRequest, HttpRequestLoadingProgressState, HttpRequestLoadingState, HttpRequestResponseType, HttpRequestTransferCacheConfig, InactivityLogoutConfig, InactivityLogoutFeature, InfinityQueryConfig, InfinityQueryConfigType, InfinityQueryOf, InfinityQueryParamLocation, InsertFromConfig, InternalCreateGqlQueryCreatorOptions, InternalCreateQueryCreatorOptions, InternalQueryExecute, InternalSecureCreateGqlQueryCreatorOptions, InternalSecureCreateQueryCreatorOptions, InternalWebSocketRoom, LeaderInstanceCountChangeEventData, LeaderStatusChangeEventData, LegacyArgumentsOfQueryArgs, LegacyQueryPrepareFn, Loading, MapViolationsToFormErrorsOptions, Method, ObservableSignal, OptionalQueryFieldOptions, PageParamCalculatorOptions, PagedQueryStack, PagedQueryStackDirection, PagedQueryStackExecuteOptions, PagedQueryStackResetOptions, PartialXhrState, PathParams, PathParamsType, PersistentAuthConfig, PersistentAuthFeature, PollConfig, Prepared, Query, QueryArgs, QueryArgsOf, QueryArgsOfLegacyArguments, QueryAutoRefreshConfig, QueryBase, QueryClient, QueryClientDevtoolsOptions, QueryClientRef, QueryCollectionKeysOf, QueryCollectionOf, QueryCollectionWithNullableQuery, QueryConfig, QueryConfigBase, QueryConfigWithoutMethod, QueryContainerConfig, QueryContext, QueryCreator, QueryDataOf, QueryDependencies, QueryDirectiveContext, QueryDirectiveType, QueryEntityConfig, QueryErrorResponse, QueryErrorResponseItem, QueryErrorResponseList, QueryErrorResponseSingle, QueryExecute, QueryExecuteArgs, QueryExecuteEventData, QueryExecuteOptions, QueryExecuteState, QueryExecutionState, QueryExecutionStateFailure, QueryExecutionStateLoading, QueryExecutionStateLoadingWithCachedResponse, QueryExecutionStateLoadingWithNoResponse, QueryExecutionStateSuccess, QueryFailureEventData, QueryFeature, QueryFeatureContext, QueryFeatureFlags, QueryFeatureFn, QueryFieldOptions, QueryFilterConfig, QueryFormGroup, QueryFormGroupControls, QueryFormObserveOptions, QueryFormOf, QueryFormOptions, QueryFormValue, QueryFormValueEvent, QueryFormWriteOptions, QueryKey, QueryMethod, QueryMockConfig, QueryOf, QueryParams, QueryParamsType, QueryPrepareFn, QueryRegistry, QueryRepository, QueryRepositoryDependencies, QueryRepositoryEvent, QueryRepositoryItem, QueryRepositoryRequestOptions, QueryResponseOf, QueryRouteOf, QuerySequence, QuerySequenceResult, QuerySequenceStatus, QuerySequenceStepArgs, QuerySnapshot, QueryStack, QueryStackSubtle, QueryState, QueryStateMeta, QueryStateResponseOf, QueryStateSignal, QueryStateSubtle, QueryStateSuccessMeta, QueryStoreIdOf, QueryStoreOf, QuerySubtle, QuerySuccessEventData, QueryTrigger, RawResponseType, ReadonlyQuery, RemoveFromConfig, RequestArgs, RequestConfig, RequestError, RequestEvent, RequestHeaders, RequestHeadersMethodMap, RequestHttpEvent, RequestProgress, RequestRetryFn, RequestRetryFnConfig, RequestRetryFnResult, RequiresTransform, ResetExecuteStateOptions, ResetPageOnErrorOperatorConfig, ResponseType, RestQueryConfig, RouteString, RouteType, RunQueryCreator, RunQueryExecuteOptions, SecureExecuteFactoryOptions, ServerValidationError, ServerViolationValidationError, SetupQueryDependenciesOptions, SetupQueryStateOptions, ShouldRetryRequestFn, ShouldRetryRequestOptions, ShouldRetryRequestResult, SocketMessageView, Sort, SortDirection, Success, SymfonyError, SymfonyErrorTrace, TokenExpirationWarningConfig, TokenExpirationWarningFeature, TokenRefreshEventData, TokenRefreshQueryBuilder, TokenRefreshQueryConfig, TokenResponse, TokenRevocationConfig, TokenRevocationFeature, TotalPagesExtractorOptions, TrackingConfig, TrackingEventDataMap, TrackingEventHandler, TrackingEventName, TrackingFeature, TransformedGqlQuery, V2CacheAdapterFn, V2PrepareArgsOf, V2QueryArgsOf, V2QueryClientConfig, V2QueryConfig, V2QueryState, V2RouteString, V2RouteType, ValidateWithQueryConfig, ValidateWithV2QueryConfig, WebSocketClient, WebSocketClientResult, WebSocketClientSubtle, WebSocketRoom, WithAutoRefreshFeatureOptions, WithBody, WithConfig, WithErrorHandlingFeatureOptions, WithHeaders, WithInjector, WithLegacyConfig, WithLoggingFeatureOptions, WithMock, WithPathParams, WithPollingFeatureOptions, WithQueryParams, WithResponseUpdateFeatureFnData, WithResponseUpdateFeatureOptions, WithSuccessHandlingFeatureOptions, WithVariables };