@tanstack/query-devtools
Advanced tools
Comparing version 5.0.0-alpha.34 to 5.0.0-alpha.38
import type { QueryClient, onlineManager, Query } from '@tanstack/query-core'; | ||
declare type XPosition = 'left' | 'right'; | ||
declare type YPosition = 'top' | 'bottom'; | ||
export declare type DevtoolsPosition = XPosition | YPosition; | ||
export declare type DevtoolsButtonPosition = `${YPosition}-${XPosition}`; | ||
type XPosition = 'left' | 'right'; | ||
type YPosition = 'top' | 'bottom'; | ||
export type DevtoolsPosition = XPosition | YPosition; | ||
export type DevtoolsButtonPosition = `${YPosition}-${XPosition}`; | ||
export interface DevToolsErrorType { | ||
@@ -7,0 +7,0 @@ /** |
@@ -14,3 +14,3 @@ /** | ||
}>(array: T[], size: number): T[][]; | ||
declare type ExplorerProps = { | ||
type ExplorerProps = { | ||
copyable?: boolean; | ||
@@ -17,0 +17,0 @@ label: string; |
@@ -291,8 +291,8 @@ export declare const tokens: { | ||
}; | ||
export declare type ThemeConfigType = typeof tokens; | ||
export declare type ThemeColorsAll = { | ||
export type ThemeConfigType = typeof tokens; | ||
export type ThemeColorsAll = { | ||
[key in keyof ThemeConfigType['colors']]: key; | ||
}[keyof ThemeConfigType['colors']]; | ||
export declare type AtomicThemeColors = 'white' | 'black' | 'transparent' | 'current' | 'inherit'; | ||
export declare type ThemeColors = Exclude<ThemeColorsAll, AtomicThemeColors>; | ||
export type AtomicThemeColors = 'white' | 'black' | 'transparent' | 'current' | 'inherit'; | ||
export type ThemeColors = Exclude<ThemeColorsAll, AtomicThemeColors>; | ||
//# sourceMappingURL=theme.d.ts.map |
import type { Query } from '@tanstack/query-core'; | ||
export declare function getQueryStatusLabel(query: Query): "fetching" | "paused" | "inactive" | "stale" | "fresh"; | ||
export declare const queryStatusLabels: readonly ["fresh", "stale", "paused", "inactive", "fetching"]; | ||
export declare type IQueryStatusLabel = (typeof queryStatusLabels)[number]; | ||
export type IQueryStatusLabel = (typeof queryStatusLabels)[number]; | ||
export declare function getQueryStatusColor({ queryState, observerCount, isStale, }: { | ||
@@ -17,3 +17,3 @@ queryState: Query['state']; | ||
export declare const displayValue: (value: unknown, beautify?: boolean) => string; | ||
declare type SortFn = (a: Query, b: Query) => number; | ||
type SortFn = (a: Query, b: Query) => number; | ||
export declare const sortFns: Record<string, SortFn>; | ||
@@ -20,0 +20,0 @@ export declare const convertRemToPixels: (rem: number) => number; |
{ | ||
"name": "@tanstack/query-devtools", | ||
"version": "5.0.0-alpha.34", | ||
"version": "5.0.0-alpha.38", | ||
"description": "Developer tools to interact with and visualize the TanStack Query cache", | ||
@@ -29,6 +29,2 @@ "author": "tannerlinsley", | ||
], | ||
"devDependencies": { | ||
"vite-plugin-solid": "^2.5.0", | ||
"@tanstack/query-core": "5.0.0-alpha.34" | ||
}, | ||
"dependencies": { | ||
@@ -44,4 +40,8 @@ "@emotion/css": "^11.10.5", | ||
}, | ||
"devDependencies": { | ||
"vite-plugin-solid": "^2.5.0", | ||
"@tanstack/query-core": "5.0.0-alpha.38" | ||
}, | ||
"peerDependencies": { | ||
"@tanstack/query-core": "5.0.0-alpha.34" | ||
"@tanstack/query-core": "5.0.0-alpha.38" | ||
}, | ||
@@ -48,0 +48,0 @@ "peerDependenciesMeta": {}, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2778682
45
23565