@refinedev/devtools-shared
Advanced tools
Comparing version 1.1.5 to 1.1.6
@@ -15,3 +15,5 @@ import { Mutation, MutationKey, MutationStatus, QueryKey, QueryState, QueryStatus } from "@tanstack/react-query"; | ||
DEVTOOLS_LOGIN_SUCCESS = "devtools:login-success", | ||
DEVTOOLS_RELOAD_AFTER_LOGIN = "devtools:reload-after-login" | ||
DEVTOOLS_RELOAD_AFTER_LOGIN = "devtools:reload-after-login", | ||
DEVTOOLS_INVALIDATE_QUERY = "devtools:invalidate-query", | ||
DEVTOOLS_INVALIDATE_QUERY_ACTION = "devtools:invalidate-query-action" | ||
} | ||
@@ -32,2 +34,3 @@ type Timestamps = { | ||
resourcePath: string | null; | ||
resourceName?: string; | ||
legacyKey: boolean; | ||
@@ -43,2 +46,3 @@ } | { | ||
resourcePath: string | null; | ||
resourceName?: string; | ||
legacyKey: boolean; | ||
@@ -73,4 +77,10 @@ }; | ||
[DevtoolsEvent.DEVTOOLS_RELOAD_AFTER_LOGIN]: {}; | ||
[DevtoolsEvent.DEVTOOLS_INVALIDATE_QUERY]: { | ||
queryKey: QueryKey; | ||
}; | ||
[DevtoolsEvent.DEVTOOLS_INVALIDATE_QUERY_ACTION]: { | ||
queryKey: QueryKey; | ||
}; | ||
}; | ||
export {}; | ||
//# sourceMappingURL=event-types.d.ts.map |
@@ -1,9 +0,9 @@ | ||
export { DevtoolsEvent, DevtoolsEventPayloads } from "./event-types"; | ||
export { TraceType } from "./trace"; | ||
export { Feed, FeedSection } from "./feed"; | ||
export { PackageType, PackageLatestVersionType, AvailablePackageType, } from "./package"; | ||
export { RefineHook, Scopes, hooksByScope, scopes } from "./scopes"; | ||
export { DevToolsContextProvider, DevToolsContext } from "./context"; | ||
export { send } from "./send"; | ||
export { receive } from "./receive"; | ||
export { DevtoolsEvent, DevtoolsEventPayloads } from "./event-types.ts"; | ||
export { TraceType } from "./trace.ts"; | ||
export { Feed, FeedSection } from "./feed.ts"; | ||
export { PackageType, PackageLatestVersionType, AvailablePackageType, } from "./package.ts"; | ||
export { RefineHook, Scopes, hooksByScope, scopes } from "./scopes.ts"; | ||
export { DevToolsContextProvider, DevToolsContext } from "./context.tsx"; | ||
export { send } from "./send.ts"; | ||
export { receive } from "./receive.ts"; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@refinedev/devtools-shared", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"private": false, | ||
@@ -34,2 +34,3 @@ "description": "refine devtools offers a set of features from monitoring to quickly prototyping a UI.", | ||
"scripts": { | ||
"attw": "attw --pack .", | ||
"build": "tsup", | ||
@@ -36,0 +37,0 @@ "dev": "tsup --watch", |
@@ -24,2 +24,4 @@ import { | ||
DEVTOOLS_RELOAD_AFTER_LOGIN = "devtools:reload-after-login", | ||
DEVTOOLS_INVALIDATE_QUERY = "devtools:invalidate-query", | ||
DEVTOOLS_INVALIDATE_QUERY_ACTION = "devtools:invalidate-query-action", | ||
} | ||
@@ -43,2 +45,3 @@ | ||
resourcePath: string | null; | ||
resourceName?: string; | ||
legacyKey: boolean; | ||
@@ -55,2 +58,3 @@ } | ||
resourcePath: string | null; | ||
resourceName?: string; | ||
legacyKey: boolean; | ||
@@ -74,2 +78,4 @@ }; | ||
[DevtoolsEvent.DEVTOOLS_RELOAD_AFTER_LOGIN]: {}; | ||
[DevtoolsEvent.DEVTOOLS_INVALIDATE_QUERY]: { queryKey: QueryKey }; | ||
[DevtoolsEvent.DEVTOOLS_INVALIDATE_QUERY_ACTION]: { queryKey: QueryKey }; | ||
}; |
@@ -1,4 +0,4 @@ | ||
export { DevtoolsEvent, DevtoolsEventPayloads } from "./event-types"; | ||
export { TraceType } from "./trace"; | ||
export { Feed, FeedSection } from "./feed"; | ||
export { DevtoolsEvent, DevtoolsEventPayloads } from "./event-types.ts"; | ||
export { TraceType } from "./trace.ts"; | ||
export { Feed, FeedSection } from "./feed.ts"; | ||
export { | ||
@@ -8,8 +8,8 @@ PackageType, | ||
AvailablePackageType, | ||
} from "./package"; | ||
export { RefineHook, Scopes, hooksByScope, scopes } from "./scopes"; | ||
} from "./package.ts"; | ||
export { RefineHook, Scopes, hooksByScope, scopes } from "./scopes.ts"; | ||
export { DevToolsContextProvider, DevToolsContext } from "./context"; | ||
export { DevToolsContextProvider, DevToolsContext } from "./context.tsx"; | ||
export { send } from "./send"; | ||
export { receive } from "./receive"; | ||
export { send } from "./send.ts"; | ||
export { receive } from "./receive.ts"; |
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
75009
470