@ethlete/query 6.0.0-next.36 → 6.0.0-next.38

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.
@@ -9,7 +9,7 @@ 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';
11
11
  import { NormalizedPagination, ContentfulGqlLikePaginated, DynLikePaginated, Paginated, GgLikePaginated, FormViolationListView, FormViolationView } from '@ethlete/types';
12
- import { FieldTree, ValidationError, PathKind, FieldContext, TreeValidationResult, SchemaPath, SchemaPathRules } from '@angular/forms/signals';
12
+ import { FieldTree, ValidationError, TreeValidationResult, PathKind, FieldContext, SchemaPath, SchemaPathRules } from '@angular/forms/signals';
13
13
  import * as _angular_forms from '@angular/forms';
14
14
  import { FormControl, FormGroup } from '@angular/forms';
15
15
  import { ToObservableOptions, ToSignalOptions } from '@angular/core/rxjs-interop';
@@ -737,6 +737,15 @@ declare const generateQueryDevtoolsStringPreset: (preset: "short" | "long" | "lo
737
737
  * produces varied digit counts; `zero` is always `0`.
738
738
  */
739
739
  declare const generateQueryDevtoolsNumberPreset: (preset: "zero" | "negative" | "huge") => number;
740
+ /**
741
+ * Generates a plausible sample number inside the bounds a caller declares - a small integer, or one with
742
+ * two decimals when `fractional`. The number presets break a layout on purpose; this one does not.
743
+ */
744
+ declare const generateQueryDevtoolsSampleNumber: (bounds: {
745
+ min: number | null;
746
+ max: number | null;
747
+ fractional: boolean;
748
+ }) => number;
740
749
  /**
741
750
  * Replays `entries` against `raw`, in order, and reports which ones no longer resolve. Shared by the
742
751
  * pipeline (which only needs {@link value}) and the panel's menu (which previews a value and marks stale
@@ -2962,6 +2971,203 @@ type CreateIndexedDbQueryPersistenceAdapterOptions = {
2962
2971
  */
2963
2972
  declare const createIndexedDbQueryPersistenceAdapter: (options: CreateIndexedDbQueryPersistenceAdapterOptions) => QueryPersistenceAdapter;
2964
2973
 
2974
+ /** The current lifecycle phase of a query batch. */
2975
+ type QueryBatchStatus = 'idle' | 'running' | 'success' | 'partial' | 'error' | 'cancelled';
2976
+ type QueryBatchItemSuccess<TItem, TArgs extends QueryArgs> = {
2977
+ status: 'success';
2978
+ index: number;
2979
+ item: TItem;
2980
+ args: RequestArgs<TArgs>;
2981
+ response: ResponseType<TArgs>;
2982
+ };
2983
+ type QueryBatchItemError<TItem, TArgs extends QueryArgs> = {
2984
+ status: 'error';
2985
+ index: number;
2986
+ item: TItem;
2987
+ args: RequestArgs<TArgs>;
2988
+ error: QueryErrorResponse;
2989
+ };
2990
+ /** An item whose `args` function returned `null` - it was never sent. */
2991
+ type QueryBatchItemSkipped<TItem> = {
2992
+ status: 'skipped';
2993
+ index: number;
2994
+ item: TItem;
2995
+ };
2996
+ /** An item that was still queued when the run was cancelled or stopped by `stopOnError`. */
2997
+ type QueryBatchItemCancelled<TItem> = {
2998
+ status: 'cancelled';
2999
+ index: number;
3000
+ item: TItem;
3001
+ };
3002
+ type QueryBatchItemResult<TItem, TArgs extends QueryArgs> = QueryBatchItemSuccess<TItem, TArgs> | QueryBatchItemError<TItem, TArgs> | QueryBatchItemSkipped<TItem> | QueryBatchItemCancelled<TItem>;
3003
+ /** The outcome of a settled {@link QueryBatch.run} or {@link QueryBatch.retryFailed}. */
3004
+ type QueryBatchResult<TItem, TArgs extends QueryArgs> = {
3005
+ /** `true` when every item either succeeded or was skipped, and nothing was left unattempted. */
3006
+ ok: boolean;
3007
+ /** `true` if the run stopped early - through `cancel()` or `stopOnError`. */
3008
+ cancelled: boolean;
3009
+ /** Every item's outcome, in input order. */
3010
+ results: QueryBatchItemResult<TItem, TArgs>[];
3011
+ succeeded: QueryBatchItemSuccess<TItem, TArgs>[];
3012
+ failed: QueryBatchItemError<TItem, TArgs>[];
3013
+ skipped: QueryBatchItemSkipped<TItem>[];
3014
+ notAttempted: QueryBatchItemCancelled<TItem>[];
3015
+ };
3016
+ /**
3017
+ * Runs one mutation over many items with a bounded number of requests in flight, keeping a per-item
3018
+ * outcome so a partial failure stays recoverable.
3019
+ *
3020
+ * Built by {@link createQueryBatch}. Unlike a query stack the queries are not kept around: each item
3021
+ * gets a query, runs it, and the query is destroyed once it settles - so a batch of 5000 items holds
3022
+ * `concurrency` queries at a time, not 5000.
3023
+ */
3024
+ type QueryBatch<TItem, TArgs extends QueryArgs> = {
3025
+ /** The current lifecycle phase - `idle` before the first run, then `running` → the settled phase. */
3026
+ status: Signal<QueryBatchStatus>;
3027
+ /** `true` while a run is in flight. */
3028
+ running: Signal<boolean>;
3029
+ /** How many items the current (or last) run covers. */
3030
+ total: Signal<number>;
3031
+ /** How many items have settled in any way - success, error, skipped or cancelled. */
3032
+ completed: Signal<number>;
3033
+ /** How many requests are in flight right now, at most `concurrency`. */
3034
+ inFlight: Signal<number>;
3035
+ succeeded: Signal<number>;
3036
+ failed: Signal<number>;
3037
+ skipped: Signal<number>;
3038
+ /**
3039
+ * How far the run has got, as a percentage (`0`-`100`) so it can be bound straight to
3040
+ * `<et-progress-bar [value]>` or a button's `[progress]`. `0` before the first run.
3041
+ */
3042
+ progress: Signal<number>;
3043
+ /**
3044
+ * Items settling per second, averaged over the current (or last) run - the batch counterpart of a
3045
+ * transfer's `speed`. `null` until enough items have settled to measure.
3046
+ */
3047
+ itemsPerSecond: Signal<number | null>;
3048
+ /**
3049
+ * Roughly how much longer the run needs, in milliseconds: the items still outstanding at the
3050
+ * measured {@link QueryBatch.itemsPerSecond}. `null` while there is no throughput to extrapolate
3051
+ * from and once nothing is left, so a template can fall back to an indeterminate label.
3052
+ *
3053
+ * It re-estimates on every settled item, and a batch whose items differ wildly in cost will move
3054
+ * around a lot - treat it as an estimate, not a countdown.
3055
+ */
3056
+ remainingTime: Signal<number | null>;
3057
+ /** Every settled item's outcome so far, in input order. Grows as the run progresses. */
3058
+ results: Signal<QueryBatchItemResult<TItem, TArgs>[]>;
3059
+ /** The errors of every failed item so far. */
3060
+ errors: Signal<QueryErrorResponse[]>;
3061
+ /** The items that failed, for a "3 of 500 could not be updated" list. */
3062
+ failedItems: Signal<TItem[]>;
3063
+ /**
3064
+ * Runs the mutation once per item. Cold: nothing is sent until it is subscribed to, and it emits
3065
+ * the result once and completes when the batch settles.
3066
+ *
3067
+ * Subscribing resets the previous run's results. Errors with {@link queryBatchAlreadyRunning} if a
3068
+ * run is still in flight. A failing item does not abort the rest unless `stopOnError` is set.
3069
+ */
3070
+ run: (items: readonly TItem[]) => Observable<QueryBatchResult<TItem, TArgs>>;
3071
+ /**
3072
+ * Re-runs only the items that did not succeed - the failed ones plus anything left unattempted by
3073
+ * a `cancel()` or `stopOnError`. Successful items are never sent twice, which is what makes this
3074
+ * safe to put behind a retry button in a bulk edit. Cold, like {@link QueryBatch.run}.
3075
+ */
3076
+ retryFailed: () => Observable<QueryBatchResult<TItem, TArgs>>;
3077
+ /**
3078
+ * Stops scheduling further items. Requests already in flight are **not** aborted - a mutation the
3079
+ * server may have already applied must still be recorded - so they settle into the results as
3080
+ * normal and the run emits once they do.
3081
+ *
3082
+ * Unsubscribing from the run does abort everything in flight, which for a mutation is rarely what
3083
+ * you want. Prefer this.
3084
+ */
3085
+ cancel: () => void;
3086
+ /** Clears the results and returns to `idle`. Ignored while a run is in flight. */
3087
+ reset: () => void;
3088
+ };
3089
+ type AnyQueryBatch = QueryBatch<any, any>;
3090
+ type AnyQueryBatchItemResult = QueryBatchItemResult<any, any>;
3091
+ /**
3092
+ * The stable holder the devtools registry keeps as a batch entry's handle, and which every one of the
3093
+ * batch's item queries is attributed to. Read `current` to reach the batch itself.
3094
+ *
3095
+ * Indirect because it has to exist before the {@link QueryBatch} it points at does: the code that
3096
+ * creates an item query closes over the owner while the batch object is still being built.
3097
+ */
3098
+ type QueryBatchDevtoolsHandle = {
3099
+ current: AnyQueryBatch;
3100
+ };
3101
+ type CreateQueryBatchOptions<TCreator extends AnyQueryCreator, TItem> = {
3102
+ /** The query creator to run per item - usually a `POST`/`PUT`/`PATCH`/`DELETE`. */
3103
+ queryCreator: TCreator;
3104
+ /**
3105
+ * Builds one item's request args. Return `null` to skip the item without sending anything - it is
3106
+ * recorded as `skipped` rather than as a failure.
3107
+ */
3108
+ args: (item: TItem, index: number) => RequestArgs<QueryArgsOf<TCreator>> | null;
3109
+ /**
3110
+ * How many requests may be in flight at once.
3111
+ *
3112
+ * @default 4
3113
+ */
3114
+ concurrency?: number;
3115
+ /**
3116
+ * If `true`, the first failure stops the batch: everything still queued is recorded as `cancelled`
3117
+ * and the requests already in flight are left to settle.
3118
+ *
3119
+ * @default false
3120
+ */
3121
+ stopOnError?: boolean;
3122
+ /**
3123
+ * Features applied to every query in the batch.
3124
+ *
3125
+ * @throws If the `withArgs` feature is used - args come from the `args` option.
3126
+ */
3127
+ features?: QueryFeature<any>[];
3128
+ /** Passed to each `execute()`. Only meaningful when batching cacheable (`GET`-like) requests. */
3129
+ allowCache?: boolean;
3130
+ /**
3131
+ * Called as each item settles, before the run emits. Use it to stream progress into the UI -
3132
+ * removing a row the moment its update lands, say.
3133
+ */
3134
+ onItemSettled?: (result: QueryBatchItemResult<TItem, QueryArgsOf<TCreator>>) => void;
3135
+ };
3136
+ /**
3137
+ * Runs the same mutation over a list of items - the bulk edit / bulk delete shape - with a bounded
3138
+ * number of requests in flight and a per-item outcome.
3139
+ *
3140
+ * Where a query stack fans a reactive read out over many arg sets and keeps every query alive, a
3141
+ * batch is imperative and disposable: it is triggered by a button, it tolerates a partial failure,
3142
+ * and it destroys each query as soon as that item settles.
3143
+ *
3144
+ * Call it from an injection context; the host's destruction stops an in-flight run.
3145
+ *
3146
+ * @example
3147
+ * ```ts
3148
+ * protected archivePosts = createQueryBatch({
3149
+ * queryCreator: patchPost,
3150
+ * args: (post: Post) => ({ pathParams: { id: post.id }, body: { archived: true } }),
3151
+ * concurrency: 6,
3152
+ * });
3153
+ *
3154
+ * archiveSelected() {
3155
+ * this.archivePosts
3156
+ * .run(this.selection())
3157
+ * .pipe(tap((result) => result.ok || this.toast.error(`${result.failed.length} failed`)))
3158
+ * .subscribe();
3159
+ * }
3160
+ * ```
3161
+ *
3162
+ * ```html
3163
+ * <button et-button [loading]="archivePosts.running()" [progress]="archivePosts.progress()">Archive</button>
3164
+ * @if (archivePosts.failed()) {
3165
+ * <button (click)="retry()">Retry {{ archivePosts.failed() }} failed</button>
3166
+ * }
3167
+ * ```
3168
+ */
3169
+ declare const createQueryBatch: <TCreator extends AnyQueryCreator, TItem>(options: CreateQueryBatchOptions<TCreator, TItem>) => QueryBatch<TItem, QueryArgsOf<TCreator>>;
3170
+
2965
3171
  declare const extractExpiresInSeconds: (headers: HttpHeaders) => number | null;
2966
3172
  declare const shouldCacheQuery: (method: QueryMethod) => method is "GET" | "OPTIONS" | "HEAD";
2967
3173
  declare const buildQueryCacheKey: (route: string, args: RequestArgs<QueryArgs> | undefined) => string;
@@ -3132,6 +3338,8 @@ declare const QueryRuntimeErrorCode: {
3132
3338
  readonly INVALID_STATE_INSIDE_SECURE_EXECUTE_FACTORY: 701;
3133
3339
  readonly CIRCULAR_QUERY_DEPENDENCY: 800;
3134
3340
  readonly QUERY_SEQUENCE_ALREADY_RUNNING: 900;
3341
+ readonly QUERY_BATCH_ALREADY_RUNNING: 910;
3342
+ readonly QUERY_BATCH_WITH_ARGS_USED: 911;
3135
3343
  readonly LEGACY_PREPARE_WITHOUT_INJECTION_CONTEXT: 950;
3136
3344
  readonly LEGACY_QUERY_STATE_ALREADY_HAS_KEY: 951;
3137
3345
  readonly LEGACY_QUERY_STATE_DOES_NOT_CONTAIN_KEY: 952;
@@ -3166,6 +3374,8 @@ declare const invalidStateInsideSecureExecuteFactory: () => RuntimeError<701>;
3166
3374
  declare const circularQueryDependency: () => RuntimeError<800>;
3167
3375
  declare const legacyPrepareWithoutInjectionContext: (creatorName: string | undefined, method?: "prepare" | "createSubject" | "createSignal") => RuntimeError<950>;
3168
3376
  declare const querySequenceAlreadyRunning: () => RuntimeError<900>;
3377
+ declare const queryBatchAlreadyRunning: () => RuntimeError<910>;
3378
+ declare const queryBatchWithArgsUsed: () => RuntimeError<911>;
3169
3379
 
3170
3380
  /** The last element of a tuple type - the response of the step a `.then()` callback follows. */
3171
3381
  type LastOf<T extends unknown[]> = T extends [...unknown[], infer L] ? L : never;
@@ -3215,6 +3425,13 @@ type QuerySequence<TResponses extends unknown[]> = {
3215
3425
  running: Signal<boolean>;
3216
3426
  /** The 1-based index of the in-flight step, or `0` when idle. */
3217
3427
  currentStep: Signal<number>;
3428
+ /** How many steps have settled - the successful ones plus the failing one. */
3429
+ completed: Signal<number>;
3430
+ /**
3431
+ * How far the waterfall has got, as a percentage (`0`-`100`) so it can be bound straight to
3432
+ * `<et-progress-bar [value]>` or a button's `[progress]`. A run that fails stops where it stopped.
3433
+ */
3434
+ progress: Signal<number>;
3218
3435
  /** The static number of steps in the sequence. */
3219
3436
  total: number;
3220
3437
  /** The query objects backing each step, in order. Useful for devtools / advanced introspection. */
@@ -3505,6 +3722,105 @@ declare const transformPaginatedResponse: <T extends ({
3505
3722
  } | null)[]>(responses: T) => NonNullable<NonNullable<T[0]>["items"]>;
3506
3723
  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>;
3507
3724
 
3725
+ /** Config for {@link createQuerySubmission}. */
3726
+ type CreateQuerySubmissionConfig<TCreator extends AnyQueryCreator, TModel> = {
3727
+ /**
3728
+ * The mutation to submit through (e.g. a `createPostQuery` creator). Like a query stack, the query
3729
+ * is created **once**; its args come from each submit rather than from a `withArgs()` feature.
3730
+ */
3731
+ queryCreator: TCreator;
3732
+ /**
3733
+ * Builds the request args from the submitted form value. Return `null` to abort the submit without
3734
+ * a request - for a value the API has no route for yet, say. Omit it for a route that takes none.
3735
+ */
3736
+ args?: (value: TModel, field: FieldTree<TModel>) => RequestArgs<QueryArgsOf<TCreator>> | null;
3737
+ /**
3738
+ * Runs after the request succeeded, before the action resolves and the form leaves its submitting
3739
+ * state - notify, close the overlay, navigate.
3740
+ */
3741
+ onSuccess?: (response: NonNullable<ResponseType<QueryArgsOf<TCreator>>>, field: FieldTree<TModel>) => void;
3742
+ /**
3743
+ * Rewrites a violation's property path before it is resolved against the field tree - use it when
3744
+ * the API's payload shape differs from the form model. Return `null` to leave the violation
3745
+ * unmapped, so it becomes a form-level error.
3746
+ */
3747
+ rewritePath?: (path: string, violation: FormViolationView) => string | null;
3748
+ /**
3749
+ * Override the default violation → error mapping. Receives the failed request's error; return the
3750
+ * errors to report. Defaults to `mapViolationsToFormErrors` against the submitted field.
3751
+ */
3752
+ mapViolations?: (error: unknown, field: FieldTree<TModel>) => TreeValidationResult;
3753
+ };
3754
+ type QuerySubmissionRef<TCreator extends AnyQueryCreator, TModel> = {
3755
+ /** The query the submission runs, for an error banner or a retry - never execute it yourself. */
3756
+ query: Query<QueryArgsOf<TCreator>>;
3757
+ /** The signal form `submission.action`. */
3758
+ action: (field: FieldTree<TModel>) => Promise<TreeValidationResult>;
3759
+ };
3760
+ /**
3761
+ * Builds a signal form's `submission.action` around a mutation: submitting executes the query with
3762
+ * args derived from the form's value, waits for it to settle, and maps a failed request's violations
3763
+ * back onto the fields that caused them. `form().submitting()` therefore covers the whole round trip.
3764
+ *
3765
+ * This is the submit-time counterpart to {@link validateWithQuery}. The query's args come from the
3766
+ * submitted value rather than a `withArgs()` feature, which also means the query no longer reads the
3767
+ * form it belongs to - so it can be declared before it, and no derivation runs per keystroke.
3768
+ *
3769
+ * ```ts
3770
+ * protected createPost = createQuerySubmission({
3771
+ * queryCreator: postPost,
3772
+ * args: (value) => ({ body: value }),
3773
+ * onSuccess: (post) => this.router.navigate(['/posts', post.id]),
3774
+ * });
3775
+ *
3776
+ * protected form = form(this.model, postSchema, {
3777
+ * submission: { action: this.createPost.action },
3778
+ * });
3779
+ * ```
3780
+ *
3781
+ * ```html
3782
+ * <form [etForm]="form">…</form>
3783
+ * <et-query-error [error]="createPost.query.error()" [query]="createPost.query" />
3784
+ * ```
3785
+ *
3786
+ * Call it from an injection context.
3787
+ */
3788
+ declare const createQuerySubmission: <TCreator extends AnyQueryCreator, TModel>(config: CreateQuerySubmissionConfig<TCreator, TModel>) => QuerySubmissionRef<TCreator, TModel>;
3789
+
3790
+ type InternalSecureCreateQueryCreatorOptions<TArgs extends QueryArgs> = InternalCreateQueryCreatorOptions<TArgs> & {
3791
+ authProvider: AnyCreateBearerAuthProviderResult;
3792
+ };
3793
+ declare const createSecureQueryCreator: <TArgs extends QueryArgs>(options: CreateQueryCreatorOptions | undefined, internals: InternalSecureCreateQueryCreatorOptions<TArgs>) => QueryCreator<TArgs>;
3794
+
3795
+ type CreateSecureQueryOptions<TArgs extends QueryArgs> = Omit<CreateQueryOptions<TArgs>, 'creatorInternals'> & {
3796
+ creatorInternals: InternalSecureCreateQueryCreatorOptions<TArgs>;
3797
+ };
3798
+ declare const createSecureQuery: <TArgs extends QueryArgs>(options: CreateSecureQueryOptions<TArgs>) => _ethlete_query.Query<TArgs>;
3799
+
3800
+ type CreateSecureQueryExecuteOptions<TArgs extends QueryArgs> = Omit<CreateQueryExecuteOptions<TArgs>, 'creatorInternals'> & {
3801
+ creatorInternals: InternalSecureCreateQueryCreatorOptions<TArgs>;
3802
+ };
3803
+ declare const createSecureExecuteFn: <TArgs extends QueryArgs>(executeOptions: CreateSecureQueryExecuteOptions<TArgs>) => InternalQueryExecute<TArgs>;
3804
+
3805
+ type SecureExecuteFactoryOptions<TArgs extends QueryArgs> = {
3806
+ authProvider: AnyBearerAuthProvider;
3807
+ deps: QueryDependencies;
3808
+ state: QueryState<TArgs>;
3809
+ /**
3810
+ * Whether the query runs itself rather than only on an explicit `execute()` - the same condition
3811
+ * `maybeExecute` and the `withArgs` feature use. Only those are re-run once a new session starts;
3812
+ * re-firing a mutation on the next login would repeat it behind the user's back.
3813
+ */
3814
+ autoExecutes: boolean;
3815
+ /**
3816
+ * Hands the execution over to the concrete query implementation. `executeArgs.args.headers` is a
3817
+ * provider function, not resolved headers - it must be passed through to the repository as-is, or
3818
+ * the request freezes the access token it was first built with.
3819
+ */
3820
+ transformAuthAndExec: (executeArgs: QueryExecuteArgs<TArgs> | undefined, executeState: ReturnType<typeof setupQueryExecuteState>) => void;
3821
+ };
3822
+ declare const createSecureExecuteFactory: <TArgs extends QueryArgs>(options: SecureExecuteFactoryOptions<TArgs>) => InternalQueryExecute<TArgs>;
3823
+
3508
3824
  /** Config for {@link validateWithQuery}. */
3509
3825
  type ValidateWithQueryConfig<TCreator extends AnyQueryCreator, TValue, TPathKind extends PathKind> = {
3510
3826
  /**
@@ -3557,40 +3873,6 @@ type ValidateWithQueryConfig<TCreator extends AnyQueryCreator, TValue, TPathKind
3557
3873
  */
3558
3874
  declare const validateWithQuery: <TCreator extends AnyQueryCreator, TValue, TPathKind extends PathKind = PathKind.Root>(path: SchemaPath<TValue, SchemaPathRules.Supported, TPathKind>, config: ValidateWithQueryConfig<TCreator, TValue, TPathKind>) => void;
3559
3875
 
3560
- type InternalSecureCreateQueryCreatorOptions<TArgs extends QueryArgs> = InternalCreateQueryCreatorOptions<TArgs> & {
3561
- authProvider: AnyCreateBearerAuthProviderResult;
3562
- };
3563
- declare const createSecureQueryCreator: <TArgs extends QueryArgs>(options: CreateQueryCreatorOptions | undefined, internals: InternalSecureCreateQueryCreatorOptions<TArgs>) => QueryCreator<TArgs>;
3564
-
3565
- type CreateSecureQueryOptions<TArgs extends QueryArgs> = Omit<CreateQueryOptions<TArgs>, 'creatorInternals'> & {
3566
- creatorInternals: InternalSecureCreateQueryCreatorOptions<TArgs>;
3567
- };
3568
- declare const createSecureQuery: <TArgs extends QueryArgs>(options: CreateSecureQueryOptions<TArgs>) => _ethlete_query.Query<TArgs>;
3569
-
3570
- type CreateSecureQueryExecuteOptions<TArgs extends QueryArgs> = Omit<CreateQueryExecuteOptions<TArgs>, 'creatorInternals'> & {
3571
- creatorInternals: InternalSecureCreateQueryCreatorOptions<TArgs>;
3572
- };
3573
- declare const createSecureExecuteFn: <TArgs extends QueryArgs>(executeOptions: CreateSecureQueryExecuteOptions<TArgs>) => InternalQueryExecute<TArgs>;
3574
-
3575
- type SecureExecuteFactoryOptions<TArgs extends QueryArgs> = {
3576
- authProvider: AnyBearerAuthProvider;
3577
- deps: QueryDependencies;
3578
- state: QueryState<TArgs>;
3579
- /**
3580
- * Whether the query runs itself rather than only on an explicit `execute()` - the same condition
3581
- * `maybeExecute` and the `withArgs` feature use. Only those are re-run once a new session starts;
3582
- * re-firing a mutation on the next login would repeat it behind the user's back.
3583
- */
3584
- autoExecutes: boolean;
3585
- /**
3586
- * Hands the execution over to the concrete query implementation. `executeArgs.args.headers` is a
3587
- * provider function, not resolved headers - it must be passed through to the repository as-is, or
3588
- * the request freezes the access token it was first built with.
3589
- */
3590
- transformAuthAndExec: (executeArgs: QueryExecuteArgs<TArgs> | undefined, executeState: ReturnType<typeof setupQueryExecuteState>) => void;
3591
- };
3592
- declare const createSecureExecuteFactory: <TArgs extends QueryArgs>(options: SecureExecuteFactoryOptions<TArgs>) => InternalQueryExecute<TArgs>;
3593
-
3594
3876
  type BearerAuthProviderTokens = {
3595
3877
  accessToken: string;
3596
3878
  refreshToken: string;
@@ -4780,7 +5062,7 @@ type QueryDevtoolsFormHandle = {
4780
5062
  * The kind of object a {@link QueryDevtoolsEntry} describes. Part of the devtools contract consumed
4781
5063
  * by `<et-query-devtools>` - not a general-purpose query API.
4782
5064
  */
4783
- type QueryDevtoolsEntryKind = 'query' | 'query-stack' | 'paged-query-stack' | 'query-sequence' | 'auth-provider' | 'ws-client' | 'query-form';
5065
+ type QueryDevtoolsEntryKind = 'query' | 'query-stack' | 'paged-query-stack' | 'query-sequence' | 'query-batch' | 'auth-provider' | 'ws-client' | 'query-form';
4784
5066
  /**
4785
5067
  * One chunk of a parsed query route: either literal text (`param: null`) or a path param, whose name
4786
5068
  * is in {@link QueryDevtoolsRoutePart.text}. Lets the devtools tell a route's static parts from its
@@ -4835,6 +5117,18 @@ type QueryDevtoolsEntryMeta = {
4835
5117
  authProviderName?: string;
4836
5118
  /** The provider's own queries, for auth providers. */
4837
5119
  authQueries?: QueryDevtoolsAuthQuery[];
5120
+ /**
5121
+ * The batch that created a query, for the one query `createQueryBatch` runs per item. The panel folds
5122
+ * such queries under their batch's own entry instead of listing a row per item, and the registry caps
5123
+ * their tombstones per batch so a bulk run cannot evict everything else it kept.
5124
+ */
5125
+ batch?: QueryBatchDevtoolsHandle;
5126
+ /** Which of the batch's items the query was created for, for a batch's item query. */
5127
+ batchItemIndex?: number;
5128
+ /** How many of a batch's requests may be in flight at once, for batches. */
5129
+ concurrency?: number;
5130
+ /** Whether a batch's first failure stops the rest of the run, for batches. */
5131
+ stopOnError?: boolean;
4838
5132
  /** The query config passed at creation, for queries. */
4839
5133
  queryConfig?: QueryConfig;
4840
5134
  /** The creator options passed at creation, for queries. */
@@ -5149,6 +5443,23 @@ declare const armQueryDevtoolsOverrideTransfer: (recorder: QueryDevtoolsOverride
5149
5443
  * ```
5150
5444
  */
5151
5445
  type QueryDevtoolsSchemaLoader = () => Promise<unknown> | unknown;
5446
+ /**
5447
+ * The description each query client is served by. One loader describes every client - which is what a
5448
+ * single-API application wants - and a record keyed by client name (the `name` a client was created
5449
+ * with) describes them one API at a time, so a mock designed against one client never offers another
5450
+ * one's routes.
5451
+ *
5452
+ * @example
5453
+ * ```ts
5454
+ * provideQueryDevtools({
5455
+ * schema: {
5456
+ * hubApiClient: () => import('../hub-openapi.json'),
5457
+ * votingApiClient: () => fetch('/voting/openapi.json').then((res) => res.json()),
5458
+ * },
5459
+ * })
5460
+ * ```
5461
+ */
5462
+ type QueryDevtoolsSchemaLoaders = QueryDevtoolsSchemaLoader | Record<string, QueryDevtoolsSchemaLoader>;
5152
5463
  /**
5153
5464
  * Where the API description stands. `unavailable` means the application never handed one in, which is
5154
5465
  * what the panel shows the seeding controls on.
@@ -5190,30 +5501,37 @@ type QueryDevtoolsSchemaSeed = {
5190
5501
  notes: readonly string[];
5191
5502
  };
5192
5503
  /**
5193
- * Where the API description stands, for the panel's seeding controls.
5504
+ * How lifelike a seeded body is. `placeholder` names every field after itself, so a seed reads as
5505
+ * obviously unreal; `realistic` fills it with varied sample values, so a list is not three identical
5506
+ * rows; `stress` fills it with what a layout breaks on - long unbreakable words, unicode, huge numbers.
5507
+ */
5508
+ type QueryDevtoolsSeedStyle = 'placeholder' | 'realistic' | 'stress';
5509
+ /**
5510
+ * Where the description of one query client's API stands, for the panel's seeding controls.
5194
5511
  *
5195
5512
  * Part of the devtools contract. **Not part of the general public contract.**
5196
5513
  */
5197
- declare const queryDevtoolsSchemaState: Signal<QueryDevtoolsSchemaState>;
5514
+ declare const queryDevtoolsSchemaState: (clientName: string) => QueryDevtoolsSchemaState;
5198
5515
  /**
5199
5516
  * Loads the API description, once. Calling it while it is loading or after it has loaded does nothing;
5200
5517
  * calling it after a failure retries.
5201
5518
  *
5202
5519
  * Part of the devtools contract. **Not part of the general public contract.**
5203
5520
  */
5204
- declare const loadQueryDevtoolsSchema: () => void;
5521
+ declare const loadQueryDevtoolsSchema: (clientName: string) => void;
5205
5522
  /**
5206
- * Every schema the description names, sorted - the designer's "seed from a type" list.
5523
+ * Every schema one client's description names, sorted - the designer's "seed from a type" list.
5207
5524
  *
5208
5525
  * Part of the devtools contract. **Not part of the general public contract.**
5209
5526
  */
5210
- declare const queryDevtoolsSchemaNames: Signal<readonly string[]>;
5527
+ declare const queryDevtoolsSchemaNames: (clientName: string) => readonly string[];
5211
5528
  /**
5212
- * Generates a body from one named schema (`MatchView`), or `null` when the description does not name it.
5529
+ * Generates a body from one schema the client's description names (`MatchView`), or `null` when it names
5530
+ * no such thing. The style decides how lifelike its values are; the shape is the same either way.
5213
5531
  *
5214
5532
  * Part of the devtools contract. **Not part of the general public contract.**
5215
5533
  */
5216
- declare const seedQueryDevtoolsSchemaBody: (name: string) => QueryDevtoolsSchemaSeed | null;
5534
+ declare const seedQueryDevtoolsSchemaBody: (clientName: string, name: string, style?: QueryDevtoolsSeedStyle) => QueryDevtoolsSchemaSeed | null;
5217
5535
  /** Everything a set of named schemas needs to resolve on its own, lifted out of the description. */
5218
5536
  type QueryDevtoolsSchemaComponents = {
5219
5537
  /**
@@ -5231,14 +5549,14 @@ type QueryDevtoolsSchemaComponents = {
5231
5549
  *
5232
5550
  * Part of the devtools contract. **Not part of the general public contract.**
5233
5551
  */
5234
- declare const collectQueryDevtoolsSchemaComponents: (names: readonly string[]) => QueryDevtoolsSchemaComponents;
5552
+ declare const collectQueryDevtoolsSchemaComponents: (clientName: string, names: readonly string[]) => QueryDevtoolsSchemaComponents;
5235
5553
  /**
5236
- * Every route the description declares, as the designer offers them - including the ones no query has
5237
- * ever called, which is the case a mock exists for.
5554
+ * Every route one client's description declares, as the designer offers them - including the ones no
5555
+ * query has ever called, which is the case a mock exists for.
5238
5556
  *
5239
5557
  * Part of the devtools contract. **Not part of the general public contract.**
5240
5558
  */
5241
- declare const queryDevtoolsSchemaRoutes: Signal<readonly QueryDevtoolsSchemaRoute[]>;
5559
+ declare const queryDevtoolsSchemaRoutes: (clientName: string) => readonly QueryDevtoolsSchemaRoute[];
5242
5560
  /**
5243
5561
  * Generates a body for one route from the description's own success response - the seed that makes a
5244
5562
  * designed mock a real view model rather than a guess. `null` when the document does not declare the
@@ -5247,9 +5565,10 @@ declare const queryDevtoolsSchemaRoutes: Signal<readonly QueryDevtoolsSchemaRout
5247
5565
  * Part of the devtools contract. **Not part of the general public contract.**
5248
5566
  */
5249
5567
  declare const seedQueryDevtoolsSchemaRoute: (target: {
5568
+ clientName: string;
5250
5569
  method: string;
5251
5570
  pattern: string;
5252
- }) => QueryDevtoolsSchemaSeed | null;
5571
+ }, style?: QueryDevtoolsSeedStyle) => QueryDevtoolsSchemaSeed | null;
5253
5572
 
5254
5573
  /**
5255
5574
  * The reactive list of every registered devtools entry, consumed by the `<et-query-devtools>` UI.
@@ -5279,12 +5598,13 @@ type QueryDevtoolsOptions = {
5279
5598
  */
5280
5599
  about?: QueryDevtoolsAppInfo;
5281
5600
  /**
5282
- * The application's OpenAPI (or JSON Schema) document, so the panel's mock designer can seed a
5283
- * response from the real shape of a route and label each field with the type it is declared as. The
5284
- * loader runs at most once, and only when the designer first asks for it - see
5285
- * {@link QueryDevtoolsSchemaLoader}.
5601
+ * The OpenAPI (or JSON Schema) document behind each query client, so the panel's mock designer can
5602
+ * seed a response from the real shape of a route and label each field with the type it is declared as.
5603
+ * One loader describes every client; a record keyed by client name describes an application whose
5604
+ * clients speak to different APIs. Each loader runs at most once, and only when the designer first
5605
+ * asks for it - see {@link QueryDevtoolsSchemaLoaders}.
5286
5606
  */
5287
- schema?: QueryDevtoolsSchemaLoader;
5607
+ schema?: QueryDevtoolsSchemaLoaders;
5288
5608
  };
5289
5609
  /**
5290
5610
  * Enables the `@ethlete/query` devtools. Add this to your application providers (e.g. in
@@ -5366,6 +5686,12 @@ declare const applyQueryDevtoolsTokenTtl: <T>(options: {
5366
5686
  * so the list is capped for the same reason the repository caps its unused entries.
5367
5687
  */
5368
5688
  declare const MAX_QUERY_DEVTOOLS_TOMBSTONES = 50;
5689
+ /**
5690
+ * How many of its settled items' queries one batch keeps. Counted per batch rather than against
5691
+ * {@link MAX_QUERY_DEVTOOLS_TOMBSTONES}, so a bulk run cannot evict the tombstones the panel is read
5692
+ * for - and low, because the batch's own entry already holds every item's args, response and error.
5693
+ */
5694
+ declare const MAX_QUERY_BATCH_TOMBSTONES = 20;
5369
5695
  /**
5370
5696
  * A destroyed query's last state, shaped like the query itself: every signal the panel reads is
5371
5697
  * replaced by a function returning the value it held when the query went away, and every action is a
@@ -7559,7 +7885,7 @@ declare class QueryDevtoolsComponent {
7559
7885
  secure: boolean | undefined;
7560
7886
  route: any;
7561
7887
  reportProgress: boolean | undefined;
7562
- responseType: "json" | "text" | "blob" | "arraybuffer" | undefined;
7888
+ responseType: "text" | "json" | "blob" | "arraybuffer" | undefined;
7563
7889
  withCredentials: boolean | undefined;
7564
7890
  autoRefreshOn: _ethlete_query.QueryAutoRefreshConfig | undefined;
7565
7891
  enableSmartPolling: boolean | undefined;
@@ -7569,7 +7895,7 @@ declare class QueryDevtoolsComponent {
7569
7895
  secure: boolean | undefined;
7570
7896
  route: any;
7571
7897
  reportProgress: boolean | undefined;
7572
- responseType: "json" | "text" | "blob" | "arraybuffer" | undefined;
7898
+ responseType: "text" | "json" | "blob" | "arraybuffer" | undefined;
7573
7899
  withCredentials: boolean | undefined;
7574
7900
  autoRefreshOn: _ethlete_query.QueryAutoRefreshConfig | undefined;
7575
7901
  enableSmartPolling: boolean | undefined;
@@ -8457,7 +8783,7 @@ type AnyWebSocketClient<TMessageData extends SocketMessageView = SocketMessageVi
8457
8783
  declare const createWebSocketClient: <TMessageData extends SocketMessageView = SocketMessageView>(options: CreateWebSocketClientConfigOptions) => WebSocketClientResult<TMessageData>;
8458
8784
 
8459
8785
  /** The version of `@ethlete/query` this build was cut from. */
8460
- declare const QUERY_VERSION = "6.0.0-next.36";
8786
+ declare const QUERY_VERSION = "6.0.0-next.38";
8461
8787
 
8462
- 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 };
8463
- 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 };
8788
+ 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, 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, 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, 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, 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, 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 };
8789
+ 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, 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, 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, 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, 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, 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 };