@ethlete/query 4.7.4 → 4.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/devtools/components/query-devtools/query-devtools.component.mjs +29 -23
- package/esm2022/lib/query/query.mjs +7 -6
- package/fesm2022/ethlete-query.mjs +37 -31
- package/fesm2022/ethlete-query.mjs.map +1 -1
- package/lib/devtools/components/query-devtools/query-devtools.component.d.ts +5 -3
- package/lib/query/query.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { TrackByFunction } from '@angular/core';
|
|
2
|
+
import { FormControl } from '@angular/forms';
|
|
2
3
|
import { AnyQuery } from '../../../query';
|
|
3
4
|
import { QueryClientDevtoolsOptions } from '../../utils';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
type QueryDevtoolsSnapLayout = 'full' | 'left' | 'right' | 'bottom' | 'top';
|
|
6
7
|
type QueryListMode = 'live' | 'history';
|
|
7
8
|
export declare class QueryDevtoolsComponent {
|
|
9
|
+
private readonly _cdr;
|
|
8
10
|
protected readonly _destroy$: import("rxjs").Observable<boolean>;
|
|
9
11
|
protected readonly queryClientConfigs: QueryClientDevtoolsOptions[];
|
|
10
12
|
protected readonly isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
@@ -13,8 +15,9 @@ export declare class QueryDevtoolsComponent {
|
|
|
13
15
|
protected readonly queryListMode: import("@angular/core").WritableSignal<QueryListMode>;
|
|
14
16
|
protected showResponse: import("@angular/core").WritableSignal<boolean>;
|
|
15
17
|
protected showRawResponse: import("@angular/core").WritableSignal<boolean>;
|
|
16
|
-
protected
|
|
17
|
-
protected readonly
|
|
18
|
+
protected selectedClientIdCtrl: FormControl<number | null>;
|
|
19
|
+
protected readonly selectedClientId: import("@angular/core").Signal<number | null | undefined>;
|
|
20
|
+
protected readonly selectedQueryId: import("@angular/core").WritableSignal<number | null>;
|
|
18
21
|
protected readonly selectedClientConfig: import("@angular/core").Signal<QueryClientDevtoolsOptions>;
|
|
19
22
|
protected readonly queryStore: import("@angular/core").Signal<import("@ethlete/query").QueryStore>;
|
|
20
23
|
protected readonly queryStore$: import("rxjs").Observable<import("@ethlete/query").QueryStore>;
|
|
@@ -31,7 +34,6 @@ export declare class QueryDevtoolsComponent {
|
|
|
31
34
|
protected toggleShowRawResponse(): void;
|
|
32
35
|
protected selectSnapLayout(layout: QueryDevtoolsSnapLayout): void;
|
|
33
36
|
protected selectQueryListMode(mode: QueryListMode): void;
|
|
34
|
-
protected selectClient(clientId: number): void;
|
|
35
37
|
protected selectQuery(query: AnyQuery): void;
|
|
36
38
|
protected clearQueryHistory(): void;
|
|
37
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<QueryDevtoolsComponent, never>;
|
package/lib/query/query.d.ts
CHANGED
|
@@ -6,9 +6,9 @@ export declare class Query<Response, Arguments extends BaseArguments | undefined
|
|
|
6
6
|
private _client;
|
|
7
7
|
private _queryConfig;
|
|
8
8
|
private _args;
|
|
9
|
-
|
|
9
|
+
readonly _id: number;
|
|
10
|
+
private _currentLocalId;
|
|
10
11
|
private _pollingSubscription;
|
|
11
|
-
private _requestSubscription;
|
|
12
12
|
private _onAbort$;
|
|
13
13
|
private _currentPollConfig;
|
|
14
14
|
private readonly _state$;
|