@ethlete/query-devtools 1.0.0-next.6 → 1.0.0-next.8
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/package.json
CHANGED
|
@@ -96,7 +96,7 @@ declare class QueryDevtoolsJsonComponent {
|
|
|
96
96
|
private togglePath;
|
|
97
97
|
private defaultExpanded;
|
|
98
98
|
private localExpanded;
|
|
99
|
-
|
|
99
|
+
private expanded;
|
|
100
100
|
/** Only slices that actually contain a match unfold while searching, so a filter stays cheap. */
|
|
101
101
|
private chunkHasHit;
|
|
102
102
|
protected effectiveExpanded: _angular_core.Signal<boolean>;
|
|
@@ -494,6 +494,11 @@ type QueryDevtoolsHost = {
|
|
|
494
494
|
requestUrl(query: AnyQuery): string | null;
|
|
495
495
|
requestPath(url: string): string;
|
|
496
496
|
queryArgs(query: AnyQuery): unknown;
|
|
497
|
+
/**
|
|
498
|
+
* The headers the query's last run sent, or - before it has run - the ones its args and its client
|
|
499
|
+
* resolve to now. `null` when there are none, or while a header provider cannot resolve yet.
|
|
500
|
+
*/
|
|
501
|
+
requestHeaders(query: AnyQuery): Record<string, string> | null;
|
|
497
502
|
routeSegments(entry: QueryDevtoolsEntry | undefined, query: AnyQuery): RouteSegment[];
|
|
498
503
|
queryActivity(entry: QueryDevtoolsEntry): QueryActivity;
|
|
499
504
|
linkActivity(link: QueryLink): QueryActivity;
|
|
@@ -814,21 +819,6 @@ type FloatRect = {
|
|
|
814
819
|
width: number;
|
|
815
820
|
height: number;
|
|
816
821
|
};
|
|
817
|
-
/**
|
|
818
|
-
* A drag in progress: the panel's docked edge, the floating panel being moved or resized, or the
|
|
819
|
-
* divider between a two-pane tab's panes.
|
|
820
|
-
*/
|
|
821
|
-
type ResizeDrag = {
|
|
822
|
-
/** The document the pointer moves in - a popped-out panel lives in a window of its own. */
|
|
823
|
-
doc: Document;
|
|
824
|
-
} & ({
|
|
825
|
-
kind: 'panel';
|
|
826
|
-
} | {
|
|
827
|
-
kind: 'pane';
|
|
828
|
-
pane: PaneTarget;
|
|
829
|
-
axis: PaneAxis;
|
|
830
|
-
container: HTMLElement;
|
|
831
|
-
});
|
|
832
822
|
type PersistedState = {
|
|
833
823
|
open?: boolean;
|
|
834
824
|
height?: number;
|
|
@@ -1020,7 +1010,7 @@ declare class QueryDevtoolsComponent implements OnInit {
|
|
|
1020
1010
|
protected drawerWidth: WritableSignal<number | null>;
|
|
1021
1011
|
protected listHeight: WritableSignal<number | null>;
|
|
1022
1012
|
protected drawerHeight: WritableSignal<number | null>;
|
|
1023
|
-
|
|
1013
|
+
private drag;
|
|
1024
1014
|
protected resizing: _angular_core.Signal<boolean>;
|
|
1025
1015
|
/** Which edge the panel is docked to, or `float` for a window of its own inside the page. */
|
|
1026
1016
|
protected dock: WritableSignal<DevtoolsDock>;
|
|
@@ -1222,7 +1212,8 @@ declare class QueryDevtoolsComponent implements OnInit {
|
|
|
1222
1212
|
lockRows: _angular_core.Signal<DevtoolsLockRow[] | null>;
|
|
1223
1213
|
/** "Inspect" mode: hover the live UI to find the query that a component created. */
|
|
1224
1214
|
protected inspectActive: WritableSignal<boolean>;
|
|
1225
|
-
|
|
1215
|
+
/** @internal */
|
|
1216
|
+
inspectHover: WritableSignal<{
|
|
1226
1217
|
rect: DOMRect;
|
|
1227
1218
|
entries: QueryDevtoolsEntry[];
|
|
1228
1219
|
} | null>;
|
|
@@ -1524,7 +1515,20 @@ declare class QueryDevtoolsComponent implements OnInit {
|
|
|
1524
1515
|
* query) never writes them to its own `args` signal - only the `withArgs` feature does - so the args
|
|
1525
1516
|
* its current request was built from stand in.
|
|
1526
1517
|
*/
|
|
1527
|
-
queryArgs(query: AnyQuery): Omit<any, "response"> | null;
|
|
1518
|
+
queryArgs(query: AnyQuery): Omit<any, "response" | "rawResponse"> | null;
|
|
1519
|
+
/**
|
|
1520
|
+
* The headers a query's request carries, as a plain `name: value` record, or `null` for a query that
|
|
1521
|
+
* has none the panel can read. The set the last run sent, so it stays readable after the token it
|
|
1522
|
+
* used was replaced; for a query that has not run, what its current args and its client resolve to
|
|
1523
|
+
* now. `null` while a header provider throws - a secure query's needs an access token.
|
|
1524
|
+
*
|
|
1525
|
+
* The args tree cannot answer this on its own: a `withArgs` query reads its args from the feature's
|
|
1526
|
+
* source, which the secure `Authorization` provider is never written back to, and client-level
|
|
1527
|
+
* headers are merged in per execution rather than being part of the args at all.
|
|
1528
|
+
*/
|
|
1529
|
+
requestHeaders(query: AnyQuery): {
|
|
1530
|
+
[k: string]: string;
|
|
1531
|
+
} | null;
|
|
1528
1532
|
queryStatus(query: AnyQuery): QueryStatus;
|
|
1529
1533
|
/**
|
|
1530
1534
|
* A request in flight is already refreshing, so reporting it as stale on top of `loading` is noise -
|
|
@@ -1803,6 +1807,12 @@ declare class QueryDevtoolsComponent implements OnInit {
|
|
|
1803
1807
|
content: string;
|
|
1804
1808
|
type: string;
|
|
1805
1809
|
}): void;
|
|
1810
|
+
/**
|
|
1811
|
+
* The headers an execution of this request would resolve to now: the client's with the per-request
|
|
1812
|
+
* ones merged on top, providers called. `undefined` when a provider throws, which for a secure query
|
|
1813
|
+
* means no access token is available yet.
|
|
1814
|
+
*/
|
|
1815
|
+
private resolvedHeaders;
|
|
1806
1816
|
/**
|
|
1807
1817
|
* The same route rendered from a set of args rather than from a query, which is what a batch item leaves
|
|
1808
1818
|
* behind: the batch destroys its query the moment the item settles.
|
|
@@ -1953,7 +1963,7 @@ declare class QueryDevtoolsComponent implements OnInit {
|
|
|
1953
1963
|
declare const QUERY_DEVTOOLS_IMPORTS: readonly [typeof QueryDevtoolsComponent];
|
|
1954
1964
|
|
|
1955
1965
|
/** The version of `@ethlete/query-devtools` this build was cut from. */
|
|
1956
|
-
declare const QUERY_DEVTOOLS_VERSION = "1.0.0-next.
|
|
1966
|
+
declare const QUERY_DEVTOOLS_VERSION = "1.0.0-next.8";
|
|
1957
1967
|
|
|
1958
1968
|
export { QUERY_DEVTOOLS_IMPORTS, QUERY_DEVTOOLS_VERSION, QueryDevtoolsAboutComponent, QueryDevtoolsComponent, QueryDevtoolsJsonComponent, QueryDevtoolsJsonStylesComponent, QueryDevtoolsSettingsComponent, QueryDevtoolsTimelineStylesComponent, clampFloatToPeek, kindOf, resizedFloatRect, settledFloatRect };
|
|
1959
1969
|
export type { JsonKind };
|