@vue/devtools-api
Advanced tools
Comparing version 6.0.0-beta.9 to 6.0.0-beta.10
import { InspectorNodeTag } from './api'; | ||
import { ID } from './util'; | ||
export declare type ComponentInstance = any; | ||
export interface ComponentTreeNode { | ||
uid: number | string; | ||
uid: ID; | ||
id: string; | ||
name: string; | ||
renderKey: string; | ||
renderKey: string | number; | ||
inactive: boolean; | ||
@@ -9,0 +10,0 @@ isFragment: boolean; |
@@ -55,2 +55,3 @@ import { ComponentTreeNode, InspectedComponentData, ComponentInstance, ComponentDevtoolsOptions } from './component'; | ||
[Hooks.VISIT_COMPONENT_TREE]: { | ||
app: App; | ||
componentInstance: ComponentInstance; | ||
@@ -65,2 +66,3 @@ treeNode: ComponentTreeNode; | ||
[Hooks.INSPECT_COMPONENT]: { | ||
app: App; | ||
componentInstance: ComponentInstance; | ||
@@ -90,5 +92,8 @@ instanceData: InspectedComponentData; | ||
[Hooks.EDIT_COMPONENT_STATE]: { | ||
app: App; | ||
componentInstance: ComponentInstance; | ||
path: string[]; | ||
type: string; | ||
state: EditStatePayload; | ||
set: (object: any, path: string | (string[]), value: any, cb?: (object: any, field: string, value: any) => void) => void; | ||
}; | ||
@@ -95,0 +100,0 @@ [Hooks.GET_COMPONENT_DEVTOOLS_OPTIONS]: { |
@@ -11,4 +11,5 @@ import { DevtoolsPluginApi, App } from './api'; | ||
logo?: string; | ||
disableAppScope?: boolean; | ||
} | ||
export declare type SetupFunction = (api: DevtoolsPluginApi) => void; | ||
export declare function setupDevtoolsPlugin(pluginDescriptor: PluginDescriptor, setupFn: SetupFunction): void; |
{ | ||
"name": "@vue/devtools-api", | ||
"version": "6.0.0-beta.9", | ||
"version": "6.0.0-beta.10", | ||
"description": "Interact with the Vue devtools from the page", | ||
@@ -5,0 +5,0 @@ "main": "lib/cjs/index.js", |
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
17550
463