@@ -11,18 +11,6 @@ import type { NuxtDevtoolsNotifyInput } from './notify'
1111import type { ServerFunctions } from './rpc'
1212import type { TimelineMetrics } from './timeline-metrics'
1313
14- export interface DevToolsFrameState {
15- width : number
16- height : number
17- top : number
18- left : number
19- open : boolean
20- route : string
21- position : 'left' | 'right' | 'bottom' | 'top'
22- closeOnOutsideClick : boolean
23- minimizePanelInactive : number
24- }
25-
2614export interface NuxtDevtoolsClientHooks {
2715/**
2816 * When the DevTools navigates, used for persisting the current tab
@@ -57,8 +45,6 @@ export interface NuxtDevtoolsHostClient {
5745nuxt : NuxtApp
5846hooks : Hookable < NuxtDevtoolsClientHooks >
5947
60- getIframe : ( ) => HTMLIFrameElement | undefined
61-
6248inspector ?: {
6349enable : ( ) => void
6450disable : ( ) => void
@@ -80,7 +66,6 @@ export interface NuxtDevtoolsHostClient {
8066navigate : ( path : string , hard ?: boolean ) => void
8167appConfig : AppConfig
8268colorMode : Ref < 'dark' | 'light' >
83- frameState : Ref < DevToolsFrameState >
8469$fetch : $Fetch
8570}
8671
@@ -95,12 +80,6 @@ export interface NuxtDevtoolsHostClient {
9580 * A counter to trigger reactivity updates
9681 */
9782revision : Ref < number >
98-
99- /**
100- * Update client
101- * @internal
102- */
103- syncClient : ( ) => NuxtDevtoolsHostClient
10483}
10584
10685export interface CodeHighlightOptions {
@@ -152,7 +131,3 @@ export interface NuxtDevtoolsIframeClient {
152131host : NuxtDevtoolsHostClient
153132devtools : NuxtDevtoolsClient
154133}
155-
156- export interface NuxtDevtoolsGlobal {
157- setClient : ( client : NuxtDevtoolsHostClient ) => void
158- }
0 commit comments