@vue/devtools-api
Advanced tools
Comparing version 6.0.0-beta.18 to 6.0.0-beta.19
@@ -20,3 +20,3 @@ import { ComponentBounds, Hookable } from './hooks'; | ||
unhighlightElement(): void; | ||
getSettings(): TSettings; | ||
getSettings(pluginId?: string): TSettings; | ||
/** | ||
@@ -23,0 +23,0 @@ * @private Not implemented yet |
@@ -25,3 +25,4 @@ import { ComponentTreeNode, InspectedComponentData, ComponentInstance, ComponentDevtoolsOptions } from './component'; | ||
GET_INSPECTOR_STATE = "getInspectorState", | ||
EDIT_INSPECTOR_STATE = "editInspectorState" | ||
EDIT_INSPECTOR_STATE = "editInspectorState", | ||
SET_PLUGIN_SETTINGS = "setPluginSettings" | ||
} | ||
@@ -98,3 +99,3 @@ export interface ComponentBounds { | ||
state: EditStatePayload; | ||
set: (object: any, path: string | (string[]), value: any, cb?: (object: any, field: string, value: any) => void) => void; | ||
set: (object: any, path?: string | (string[]), value?: any, cb?: (object: any, field: string, value: any) => void) => void; | ||
}; | ||
@@ -138,2 +139,10 @@ [Hooks.GET_COMPONENT_DEVTOOLS_OPTIONS]: { | ||
}; | ||
[Hooks.SET_PLUGIN_SETTINGS]: { | ||
app: App; | ||
pluginId: string; | ||
key: string; | ||
newValue: any; | ||
oldValue: any; | ||
settings: any; | ||
}; | ||
}; | ||
@@ -172,2 +181,3 @@ export declare type EditStatePayload = { | ||
editInspectorState(handler: HookHandler<HookPayloads[Hooks.EDIT_INSPECTOR_STATE], TContext>): any; | ||
setPluginSettings(handler: HookHandler<HookPayloads[Hooks.SET_PLUGIN_SETTINGS], TContext>): any; | ||
} |
@@ -11,2 +11,3 @@ import { App } from './api'; | ||
disableAppScope?: boolean; | ||
disablePluginScope?: boolean; | ||
/** | ||
@@ -13,0 +14,0 @@ * Run the plugin setup and expose the api even if the devtools is not opened yet. |
{ | ||
"name": "@vue/devtools-api", | ||
"version": "6.0.0-beta.18", | ||
"version": "6.0.0-beta.19", | ||
"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
28917
794