@refinedev/devtools-shared
Advanced tools
Comparing version 1.1.11 to 1.1.12
import React from "react"; | ||
type DevToolsContextValue = { | ||
type DevtoolsContextValue = { | ||
__devtools: boolean; | ||
port: number; | ||
url: string; | ||
secure: boolean; | ||
httpUrl: string; | ||
wsUrl: string; | ||
ws: WebSocket | null; | ||
devtoolsUrl?: string; | ||
}; | ||
export declare const DevToolsContext: React.Context<DevToolsContextValue>; | ||
type Props = React.PropsWithChildren<Partial<Pick<DevToolsContextValue, "port" | "__devtools">>>; | ||
export declare const DevToolsContext: React.Context<DevtoolsContextValue>; | ||
type Props = React.PropsWithChildren<{ | ||
__devtools?: boolean; | ||
url?: string | [httpUrl: string, wsUrl: string]; | ||
}>; | ||
export declare const DevToolsContextProvider: React.FC<Props>; | ||
export {}; | ||
//# sourceMappingURL=context.d.ts.map |
@@ -6,3 +6,2 @@ import type { Mutation, MutationKey, MutationStatus, QueryKey, QueryState, QueryStatus } from "@tanstack/react-query"; | ||
DEVTOOLS_INIT = "devtools:init", | ||
DEVTOOLS_HANDSHAKE = "devtools:handshake", | ||
DEVTOOLS_ALREADY_CONNECTED = "devtools:already-connected", | ||
@@ -55,5 +54,2 @@ ACTIVITY = "devtools:send-activity", | ||
}; | ||
[DevtoolsEvent.DEVTOOLS_HANDSHAKE]: { | ||
url: string; | ||
}; | ||
[DevtoolsEvent.DEVTOOLS_ALREADY_CONNECTED]: { | ||
@@ -60,0 +56,0 @@ url: string; |
{ | ||
"name": "@refinedev/devtools-shared", | ||
"version": "1.1.11", | ||
"version": "1.1.12", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "refine devtools offers a set of features from monitoring to quickly prototyping a UI.", |
@@ -14,3 +14,2 @@ import type { | ||
DEVTOOLS_INIT = "devtools:init", | ||
DEVTOOLS_HANDSHAKE = "devtools:handshake", | ||
DEVTOOLS_ALREADY_CONNECTED = "devtools:already-connected", | ||
@@ -66,3 +65,2 @@ ACTIVITY = "devtools:send-activity", | ||
[DevtoolsEvent.DEVTOOLS_INIT]: { url: string }; | ||
[DevtoolsEvent.DEVTOOLS_HANDSHAKE]: { url: string }; | ||
[DevtoolsEvent.DEVTOOLS_ALREADY_CONNECTED]: { url: string }; | ||
@@ -69,0 +67,0 @@ [DevtoolsEvent.ACTIVITY]: ActivityPayload; |
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 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 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 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 not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
79105
487