@nuxt/devtools-kit-nightly 2.2.1-29030652.7bd1409 → 2.2.1-29030668.f7e9ab5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/shared/{devtools-kit-nightly.DWlBH6JX.d.cts → devtools-kit-nightly.BMivX6Xf.d.cts} +9 -2
- package/dist/shared/{devtools-kit-nightly.DWlBH6JX.d.mts → devtools-kit-nightly.BMivX6Xf.d.mts} +9 -2
- package/dist/shared/{devtools-kit-nightly.DWlBH6JX.d.ts → devtools-kit-nightly.BMivX6Xf.d.ts} +9 -2
- package/dist/types.d.cts +7 -4
- package/dist/types.d.mts +7 -4
- package/dist/types.d.ts +7 -4
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
2
|
import { BirpcGroup } from 'birpc';
|
|
3
|
-
import { M as ModuleCustomTab, S as SubprocessOptions, T as TerminalState, N as NuxtDevtoolsInfo } from './shared/devtools-kit-nightly.
|
|
3
|
+
import { M as ModuleCustomTab, S as SubprocessOptions, T as TerminalState, N as NuxtDevtoolsInfo } from './shared/devtools-kit-nightly.BMivX6Xf.cjs';
|
|
4
4
|
import { execa } from 'execa';
|
|
5
5
|
import 'vue';
|
|
6
6
|
import 'nuxt/schema';
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
2
|
import { BirpcGroup } from 'birpc';
|
|
3
|
-
import { M as ModuleCustomTab, S as SubprocessOptions, T as TerminalState, N as NuxtDevtoolsInfo } from './shared/devtools-kit-nightly.
|
|
3
|
+
import { M as ModuleCustomTab, S as SubprocessOptions, T as TerminalState, N as NuxtDevtoolsInfo } from './shared/devtools-kit-nightly.BMivX6Xf.mjs';
|
|
4
4
|
import { execa } from 'execa';
|
|
5
5
|
import 'vue';
|
|
6
6
|
import 'nuxt/schema';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
2
|
import { BirpcGroup } from 'birpc';
|
|
3
|
-
import { M as ModuleCustomTab, S as SubprocessOptions, T as TerminalState, N as NuxtDevtoolsInfo } from './shared/devtools-kit-nightly.
|
|
3
|
+
import { M as ModuleCustomTab, S as SubprocessOptions, T as TerminalState, N as NuxtDevtoolsInfo } from './shared/devtools-kit-nightly.BMivX6Xf.js';
|
|
4
4
|
import { execa } from 'execa';
|
|
5
5
|
import 'vue';
|
|
6
6
|
import 'nuxt/schema';
|
package/dist/shared/{devtools-kit-nightly.DWlBH6JX.d.cts → devtools-kit-nightly.BMivX6Xf.d.cts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VNode, MaybeRefOrGetter } from 'vue';
|
|
2
2
|
import { BirpcGroup } from 'birpc';
|
|
3
|
-
import { Component, NuxtOptions, NuxtPage, NuxtLayout, NuxtApp, Nuxt } from 'nuxt/schema';
|
|
3
|
+
import { Component, NuxtOptions, NuxtPage, NuxtLayout, NuxtApp, NuxtDebugModuleMutationRecord, Nuxt } from 'nuxt/schema';
|
|
4
4
|
import { Import, UnimportMeta } from 'unimport';
|
|
5
5
|
import { RouteRecordNormalized } from 'vue-router';
|
|
6
6
|
import { Nitro, StorageMounts } from 'nitropack';
|
|
@@ -604,6 +604,7 @@ type GetWizardArgs<T extends WizardActions> = WizardFunctions[T] extends (nuxt:
|
|
|
604
604
|
|
|
605
605
|
interface ServerFunctions {
|
|
606
606
|
getServerConfig: () => NuxtOptions;
|
|
607
|
+
getServerDebugContext: () => Promise<ServerDebugContext | undefined>;
|
|
607
608
|
getServerData: (token: string) => Promise<NuxtServerData>;
|
|
608
609
|
getServerRuntimeConfig: () => Record<string, any>;
|
|
609
610
|
getModuleOptions: () => ModuleOptions;
|
|
@@ -709,6 +710,12 @@ interface InstallModuleReturn {
|
|
|
709
710
|
commands: string[];
|
|
710
711
|
processId: string;
|
|
711
712
|
}
|
|
713
|
+
type ServerDebugModuleMutationRecord = (Omit<NuxtDebugModuleMutationRecord, 'module'> & {
|
|
714
|
+
name: string;
|
|
715
|
+
});
|
|
716
|
+
interface ServerDebugContext {
|
|
717
|
+
moduleMutationRecords: ServerDebugModuleMutationRecord[];
|
|
718
|
+
}
|
|
712
719
|
|
|
713
720
|
declare module '@nuxt/schema' {
|
|
714
721
|
interface NuxtHooks {
|
|
@@ -773,4 +780,4 @@ declare module '@nuxt/schema' {
|
|
|
773
780
|
}
|
|
774
781
|
}
|
|
775
782
|
|
|
776
|
-
export type { CodeServerType as $, AnalyzeBuildMeta as A, BasicModuleInfo as B, ClientFunctions as C, ModuleCompatibility as D, ModuleStats as E, CompatibilityStatus as F, ModuleType as G, HookInfo as H, ImageMeta as I, MaintainerInfo as J, GitHubContributor as K, LoadingTimeMetric as L, ModuleCustomTab as M, NuxtDevtoolsInfo as N, VueInspectorData as O, PluginMetric as P, AssetType as Q, RouteInfo as R, SubprocessOptions as S, TerminalState as T, AssetInfo as U, VueInspectorClient as V, AssetEntry as W, CodeSnippet as X, ComponentRelationship as Y, ComponentWithRelationships as Z, CodeServerOptions as _, ServerFunctions as a, ModuleOptions as a0, ModuleGlobalOptions as a1, VSCodeIntegrationOptions as a2, VSCodeTunnelOptions as a3, NuxtDevToolsOptions as a4, NuxtServerData as a5, ClientUpdateEvent as a6, NuxtDevtoolsServerContext as a7, InstallModuleReturn as a8,
|
|
783
|
+
export type { CodeServerType as $, AnalyzeBuildMeta as A, BasicModuleInfo as B, ClientFunctions as C, ModuleCompatibility as D, ModuleStats as E, CompatibilityStatus as F, ModuleType as G, HookInfo as H, ImageMeta as I, MaintainerInfo as J, GitHubContributor as K, LoadingTimeMetric as L, ModuleCustomTab as M, NuxtDevtoolsInfo as N, VueInspectorData as O, PluginMetric as P, AssetType as Q, RouteInfo as R, SubprocessOptions as S, TerminalState as T, AssetInfo as U, VueInspectorClient as V, AssetEntry as W, CodeSnippet as X, ComponentRelationship as Y, ComponentWithRelationships as Z, CodeServerOptions as _, ServerFunctions as a, ModuleOptions as a0, ModuleGlobalOptions as a1, VSCodeIntegrationOptions as a2, VSCodeTunnelOptions as a3, NuxtDevToolsOptions as a4, NuxtServerData as a5, ClientUpdateEvent as a6, NuxtDevtoolsServerContext as a7, InstallModuleReturn as a8, ServerDebugModuleMutationRecord as a9, ServerDebugContext as aa, TerminalBase as ab, TerminalAction as ac, TerminalInfo as ad, WizardFunctions as ae, WizardActions as af, GetWizardArgs as ag, AnalyzeBuildsInfo as b, TabCategory as c, ModuleLaunchView as d, ModuleIframeView as e, ModuleVNodeView as f, ModuleLaunchAction as g, ModuleView as h, ModuleIframeTabLazyOptions as i, ModuleBuiltinTab as j, ModuleTabInfo as k, CategorizedTabs as l, PackageUpdateInfo as m, PackageManagerName as n, NpmCommandType as o, NpmCommandOptions as p, AutoImportsWithMetadata as q, ServerRouteInfo as r, ServerRouteInputType as s, ServerRouteInput as t, Payload as u, ServerTaskInfo as v, ScannedNitroTasks as w, PluginInfoWithMetic as x, InstalledModuleInfo as y, ModuleStaticInfo as z };
|
package/dist/shared/{devtools-kit-nightly.DWlBH6JX.d.mts → devtools-kit-nightly.BMivX6Xf.d.mts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VNode, MaybeRefOrGetter } from 'vue';
|
|
2
2
|
import { BirpcGroup } from 'birpc';
|
|
3
|
-
import { Component, NuxtOptions, NuxtPage, NuxtLayout, NuxtApp, Nuxt } from 'nuxt/schema';
|
|
3
|
+
import { Component, NuxtOptions, NuxtPage, NuxtLayout, NuxtApp, NuxtDebugModuleMutationRecord, Nuxt } from 'nuxt/schema';
|
|
4
4
|
import { Import, UnimportMeta } from 'unimport';
|
|
5
5
|
import { RouteRecordNormalized } from 'vue-router';
|
|
6
6
|
import { Nitro, StorageMounts } from 'nitropack';
|
|
@@ -604,6 +604,7 @@ type GetWizardArgs<T extends WizardActions> = WizardFunctions[T] extends (nuxt:
|
|
|
604
604
|
|
|
605
605
|
interface ServerFunctions {
|
|
606
606
|
getServerConfig: () => NuxtOptions;
|
|
607
|
+
getServerDebugContext: () => Promise<ServerDebugContext | undefined>;
|
|
607
608
|
getServerData: (token: string) => Promise<NuxtServerData>;
|
|
608
609
|
getServerRuntimeConfig: () => Record<string, any>;
|
|
609
610
|
getModuleOptions: () => ModuleOptions;
|
|
@@ -709,6 +710,12 @@ interface InstallModuleReturn {
|
|
|
709
710
|
commands: string[];
|
|
710
711
|
processId: string;
|
|
711
712
|
}
|
|
713
|
+
type ServerDebugModuleMutationRecord = (Omit<NuxtDebugModuleMutationRecord, 'module'> & {
|
|
714
|
+
name: string;
|
|
715
|
+
});
|
|
716
|
+
interface ServerDebugContext {
|
|
717
|
+
moduleMutationRecords: ServerDebugModuleMutationRecord[];
|
|
718
|
+
}
|
|
712
719
|
|
|
713
720
|
declare module '@nuxt/schema' {
|
|
714
721
|
interface NuxtHooks {
|
|
@@ -773,4 +780,4 @@ declare module '@nuxt/schema' {
|
|
|
773
780
|
}
|
|
774
781
|
}
|
|
775
782
|
|
|
776
|
-
export type { CodeServerType as $, AnalyzeBuildMeta as A, BasicModuleInfo as B, ClientFunctions as C, ModuleCompatibility as D, ModuleStats as E, CompatibilityStatus as F, ModuleType as G, HookInfo as H, ImageMeta as I, MaintainerInfo as J, GitHubContributor as K, LoadingTimeMetric as L, ModuleCustomTab as M, NuxtDevtoolsInfo as N, VueInspectorData as O, PluginMetric as P, AssetType as Q, RouteInfo as R, SubprocessOptions as S, TerminalState as T, AssetInfo as U, VueInspectorClient as V, AssetEntry as W, CodeSnippet as X, ComponentRelationship as Y, ComponentWithRelationships as Z, CodeServerOptions as _, ServerFunctions as a, ModuleOptions as a0, ModuleGlobalOptions as a1, VSCodeIntegrationOptions as a2, VSCodeTunnelOptions as a3, NuxtDevToolsOptions as a4, NuxtServerData as a5, ClientUpdateEvent as a6, NuxtDevtoolsServerContext as a7, InstallModuleReturn as a8,
|
|
783
|
+
export type { CodeServerType as $, AnalyzeBuildMeta as A, BasicModuleInfo as B, ClientFunctions as C, ModuleCompatibility as D, ModuleStats as E, CompatibilityStatus as F, ModuleType as G, HookInfo as H, ImageMeta as I, MaintainerInfo as J, GitHubContributor as K, LoadingTimeMetric as L, ModuleCustomTab as M, NuxtDevtoolsInfo as N, VueInspectorData as O, PluginMetric as P, AssetType as Q, RouteInfo as R, SubprocessOptions as S, TerminalState as T, AssetInfo as U, VueInspectorClient as V, AssetEntry as W, CodeSnippet as X, ComponentRelationship as Y, ComponentWithRelationships as Z, CodeServerOptions as _, ServerFunctions as a, ModuleOptions as a0, ModuleGlobalOptions as a1, VSCodeIntegrationOptions as a2, VSCodeTunnelOptions as a3, NuxtDevToolsOptions as a4, NuxtServerData as a5, ClientUpdateEvent as a6, NuxtDevtoolsServerContext as a7, InstallModuleReturn as a8, ServerDebugModuleMutationRecord as a9, ServerDebugContext as aa, TerminalBase as ab, TerminalAction as ac, TerminalInfo as ad, WizardFunctions as ae, WizardActions as af, GetWizardArgs as ag, AnalyzeBuildsInfo as b, TabCategory as c, ModuleLaunchView as d, ModuleIframeView as e, ModuleVNodeView as f, ModuleLaunchAction as g, ModuleView as h, ModuleIframeTabLazyOptions as i, ModuleBuiltinTab as j, ModuleTabInfo as k, CategorizedTabs as l, PackageUpdateInfo as m, PackageManagerName as n, NpmCommandType as o, NpmCommandOptions as p, AutoImportsWithMetadata as q, ServerRouteInfo as r, ServerRouteInputType as s, ServerRouteInput as t, Payload as u, ServerTaskInfo as v, ScannedNitroTasks as w, PluginInfoWithMetic as x, InstalledModuleInfo as y, ModuleStaticInfo as z };
|
package/dist/shared/{devtools-kit-nightly.DWlBH6JX.d.ts → devtools-kit-nightly.BMivX6Xf.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VNode, MaybeRefOrGetter } from 'vue';
|
|
2
2
|
import { BirpcGroup } from 'birpc';
|
|
3
|
-
import { Component, NuxtOptions, NuxtPage, NuxtLayout, NuxtApp, Nuxt } from 'nuxt/schema';
|
|
3
|
+
import { Component, NuxtOptions, NuxtPage, NuxtLayout, NuxtApp, NuxtDebugModuleMutationRecord, Nuxt } from 'nuxt/schema';
|
|
4
4
|
import { Import, UnimportMeta } from 'unimport';
|
|
5
5
|
import { RouteRecordNormalized } from 'vue-router';
|
|
6
6
|
import { Nitro, StorageMounts } from 'nitropack';
|
|
@@ -604,6 +604,7 @@ type GetWizardArgs<T extends WizardActions> = WizardFunctions[T] extends (nuxt:
|
|
|
604
604
|
|
|
605
605
|
interface ServerFunctions {
|
|
606
606
|
getServerConfig: () => NuxtOptions;
|
|
607
|
+
getServerDebugContext: () => Promise<ServerDebugContext | undefined>;
|
|
607
608
|
getServerData: (token: string) => Promise<NuxtServerData>;
|
|
608
609
|
getServerRuntimeConfig: () => Record<string, any>;
|
|
609
610
|
getModuleOptions: () => ModuleOptions;
|
|
@@ -709,6 +710,12 @@ interface InstallModuleReturn {
|
|
|
709
710
|
commands: string[];
|
|
710
711
|
processId: string;
|
|
711
712
|
}
|
|
713
|
+
type ServerDebugModuleMutationRecord = (Omit<NuxtDebugModuleMutationRecord, 'module'> & {
|
|
714
|
+
name: string;
|
|
715
|
+
});
|
|
716
|
+
interface ServerDebugContext {
|
|
717
|
+
moduleMutationRecords: ServerDebugModuleMutationRecord[];
|
|
718
|
+
}
|
|
712
719
|
|
|
713
720
|
declare module '@nuxt/schema' {
|
|
714
721
|
interface NuxtHooks {
|
|
@@ -773,4 +780,4 @@ declare module '@nuxt/schema' {
|
|
|
773
780
|
}
|
|
774
781
|
}
|
|
775
782
|
|
|
776
|
-
export type { CodeServerType as $, AnalyzeBuildMeta as A, BasicModuleInfo as B, ClientFunctions as C, ModuleCompatibility as D, ModuleStats as E, CompatibilityStatus as F, ModuleType as G, HookInfo as H, ImageMeta as I, MaintainerInfo as J, GitHubContributor as K, LoadingTimeMetric as L, ModuleCustomTab as M, NuxtDevtoolsInfo as N, VueInspectorData as O, PluginMetric as P, AssetType as Q, RouteInfo as R, SubprocessOptions as S, TerminalState as T, AssetInfo as U, VueInspectorClient as V, AssetEntry as W, CodeSnippet as X, ComponentRelationship as Y, ComponentWithRelationships as Z, CodeServerOptions as _, ServerFunctions as a, ModuleOptions as a0, ModuleGlobalOptions as a1, VSCodeIntegrationOptions as a2, VSCodeTunnelOptions as a3, NuxtDevToolsOptions as a4, NuxtServerData as a5, ClientUpdateEvent as a6, NuxtDevtoolsServerContext as a7, InstallModuleReturn as a8,
|
|
783
|
+
export type { CodeServerType as $, AnalyzeBuildMeta as A, BasicModuleInfo as B, ClientFunctions as C, ModuleCompatibility as D, ModuleStats as E, CompatibilityStatus as F, ModuleType as G, HookInfo as H, ImageMeta as I, MaintainerInfo as J, GitHubContributor as K, LoadingTimeMetric as L, ModuleCustomTab as M, NuxtDevtoolsInfo as N, VueInspectorData as O, PluginMetric as P, AssetType as Q, RouteInfo as R, SubprocessOptions as S, TerminalState as T, AssetInfo as U, VueInspectorClient as V, AssetEntry as W, CodeSnippet as X, ComponentRelationship as Y, ComponentWithRelationships as Z, CodeServerOptions as _, ServerFunctions as a, ModuleOptions as a0, ModuleGlobalOptions as a1, VSCodeIntegrationOptions as a2, VSCodeTunnelOptions as a3, NuxtDevToolsOptions as a4, NuxtServerData as a5, ClientUpdateEvent as a6, NuxtDevtoolsServerContext as a7, InstallModuleReturn as a8, ServerDebugModuleMutationRecord as a9, ServerDebugContext as aa, TerminalBase as ab, TerminalAction as ac, TerminalInfo as ad, WizardFunctions as ae, WizardActions as af, GetWizardArgs as ag, AnalyzeBuildsInfo as b, TabCategory as c, ModuleLaunchView as d, ModuleIframeView as e, ModuleVNodeView as f, ModuleLaunchAction as g, ModuleView as h, ModuleIframeTabLazyOptions as i, ModuleBuiltinTab as j, ModuleTabInfo as k, CategorizedTabs as l, PackageUpdateInfo as m, PackageManagerName as n, NpmCommandType as o, NpmCommandOptions as p, AutoImportsWithMetadata as q, ServerRouteInfo as r, ServerRouteInputType as s, ServerRouteInput as t, Payload as u, ServerTaskInfo as v, ScannedNitroTasks as w, PluginInfoWithMetic as x, InstalledModuleInfo as y, ModuleStaticInfo as z };
|
package/dist/types.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as HookInfo, P as PluginMetric, L as LoadingTimeMetric, a as ServerFunctions, C as ClientFunctions } from './shared/devtools-kit-nightly.
|
|
2
|
-
export { A as AnalyzeBuildMeta, b as AnalyzeBuildsInfo, W as AssetEntry, U as AssetInfo, Q as AssetType, q as AutoImportsWithMetadata, B as BasicModuleInfo, l as CategorizedTabs, a6 as ClientUpdateEvent, _ as CodeServerOptions, $ as CodeServerType, X as CodeSnippet, F as CompatibilityStatus, Y as ComponentRelationship, Z as ComponentWithRelationships,
|
|
1
|
+
import { H as HookInfo, P as PluginMetric, L as LoadingTimeMetric, a as ServerFunctions, C as ClientFunctions } from './shared/devtools-kit-nightly.BMivX6Xf.cjs';
|
|
2
|
+
export { A as AnalyzeBuildMeta, b as AnalyzeBuildsInfo, W as AssetEntry, U as AssetInfo, Q as AssetType, q as AutoImportsWithMetadata, B as BasicModuleInfo, l as CategorizedTabs, a6 as ClientUpdateEvent, _ as CodeServerOptions, $ as CodeServerType, X as CodeSnippet, F as CompatibilityStatus, Y as ComponentRelationship, Z as ComponentWithRelationships, ag as GetWizardArgs, K as GitHubContributor, I as ImageMeta, a8 as InstallModuleReturn, y as InstalledModuleInfo, J as MaintainerInfo, j as ModuleBuiltinTab, D as ModuleCompatibility, M as ModuleCustomTab, a1 as ModuleGlobalOptions, i as ModuleIframeTabLazyOptions, e as ModuleIframeView, g as ModuleLaunchAction, d as ModuleLaunchView, a0 as ModuleOptions, z as ModuleStaticInfo, E as ModuleStats, k as ModuleTabInfo, G as ModuleType, f as ModuleVNodeView, h as ModuleView, p as NpmCommandOptions, o as NpmCommandType, a4 as NuxtDevToolsOptions, N as NuxtDevtoolsInfo, a7 as NuxtDevtoolsServerContext, a5 as NuxtServerData, n as PackageManagerName, m as PackageUpdateInfo, u as Payload, x as PluginInfoWithMetic, R as RouteInfo, w as ScannedNitroTasks, aa as ServerDebugContext, a9 as ServerDebugModuleMutationRecord, r as ServerRouteInfo, t as ServerRouteInput, s as ServerRouteInputType, v as ServerTaskInfo, S as SubprocessOptions, c as TabCategory, ac as TerminalAction, ab as TerminalBase, ad as TerminalInfo, T as TerminalState, a2 as VSCodeIntegrationOptions, a3 as VSCodeTunnelOptions, V as VueInspectorClient, O as VueInspectorData, af as WizardActions, ae as WizardFunctions } from './shared/devtools-kit-nightly.BMivX6Xf.cjs';
|
|
3
3
|
import { BirpcReturn } from 'birpc';
|
|
4
4
|
import { Hookable } from 'hookable';
|
|
5
5
|
import { NuxtApp } from 'nuxt/app';
|
|
@@ -156,9 +156,12 @@ interface NuxtDevtoolsHostClient {
|
|
|
156
156
|
*/
|
|
157
157
|
syncClient: () => NuxtDevtoolsHostClient;
|
|
158
158
|
}
|
|
159
|
+
interface CodeHighlightOptions {
|
|
160
|
+
grammarContextCode?: string;
|
|
161
|
+
}
|
|
159
162
|
interface NuxtDevtoolsClient {
|
|
160
163
|
rpc: BirpcReturn<ServerFunctions, ClientFunctions>;
|
|
161
|
-
renderCodeHighlight: (code: string, lang?: BuiltinLanguage) => {
|
|
164
|
+
renderCodeHighlight: (code: string, lang?: BuiltinLanguage, options?: CodeHighlightOptions) => {
|
|
162
165
|
code: string;
|
|
163
166
|
supported: boolean;
|
|
164
167
|
};
|
|
@@ -174,4 +177,4 @@ interface NuxtDevtoolsGlobal {
|
|
|
174
177
|
setClient: (client: NuxtDevtoolsHostClient) => void;
|
|
175
178
|
}
|
|
176
179
|
|
|
177
|
-
export { ClientFunctions, type DevToolsFrameState, HookInfo, LoadingTimeMetric, type NuxtDevtoolsClient, type NuxtDevtoolsClientHooks, type NuxtDevtoolsGlobal, type NuxtDevtoolsHostClient, type NuxtDevtoolsIframeClient, PluginMetric, ServerFunctions, type TimelineEvent, type TimelineEventFunction, type TimelineEventNormalized, type TimelineEventRoute, type TimelineEventsSegment, type TimelineMetrics, type TimelineOptions, type TimelineServerState };
|
|
180
|
+
export { ClientFunctions, type CodeHighlightOptions, type DevToolsFrameState, HookInfo, LoadingTimeMetric, type NuxtDevtoolsClient, type NuxtDevtoolsClientHooks, type NuxtDevtoolsGlobal, type NuxtDevtoolsHostClient, type NuxtDevtoolsIframeClient, PluginMetric, ServerFunctions, type TimelineEvent, type TimelineEventFunction, type TimelineEventNormalized, type TimelineEventRoute, type TimelineEventsSegment, type TimelineMetrics, type TimelineOptions, type TimelineServerState };
|
package/dist/types.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as HookInfo, P as PluginMetric, L as LoadingTimeMetric, a as ServerFunctions, C as ClientFunctions } from './shared/devtools-kit-nightly.
|
|
2
|
-
export { A as AnalyzeBuildMeta, b as AnalyzeBuildsInfo, W as AssetEntry, U as AssetInfo, Q as AssetType, q as AutoImportsWithMetadata, B as BasicModuleInfo, l as CategorizedTabs, a6 as ClientUpdateEvent, _ as CodeServerOptions, $ as CodeServerType, X as CodeSnippet, F as CompatibilityStatus, Y as ComponentRelationship, Z as ComponentWithRelationships,
|
|
1
|
+
import { H as HookInfo, P as PluginMetric, L as LoadingTimeMetric, a as ServerFunctions, C as ClientFunctions } from './shared/devtools-kit-nightly.BMivX6Xf.mjs';
|
|
2
|
+
export { A as AnalyzeBuildMeta, b as AnalyzeBuildsInfo, W as AssetEntry, U as AssetInfo, Q as AssetType, q as AutoImportsWithMetadata, B as BasicModuleInfo, l as CategorizedTabs, a6 as ClientUpdateEvent, _ as CodeServerOptions, $ as CodeServerType, X as CodeSnippet, F as CompatibilityStatus, Y as ComponentRelationship, Z as ComponentWithRelationships, ag as GetWizardArgs, K as GitHubContributor, I as ImageMeta, a8 as InstallModuleReturn, y as InstalledModuleInfo, J as MaintainerInfo, j as ModuleBuiltinTab, D as ModuleCompatibility, M as ModuleCustomTab, a1 as ModuleGlobalOptions, i as ModuleIframeTabLazyOptions, e as ModuleIframeView, g as ModuleLaunchAction, d as ModuleLaunchView, a0 as ModuleOptions, z as ModuleStaticInfo, E as ModuleStats, k as ModuleTabInfo, G as ModuleType, f as ModuleVNodeView, h as ModuleView, p as NpmCommandOptions, o as NpmCommandType, a4 as NuxtDevToolsOptions, N as NuxtDevtoolsInfo, a7 as NuxtDevtoolsServerContext, a5 as NuxtServerData, n as PackageManagerName, m as PackageUpdateInfo, u as Payload, x as PluginInfoWithMetic, R as RouteInfo, w as ScannedNitroTasks, aa as ServerDebugContext, a9 as ServerDebugModuleMutationRecord, r as ServerRouteInfo, t as ServerRouteInput, s as ServerRouteInputType, v as ServerTaskInfo, S as SubprocessOptions, c as TabCategory, ac as TerminalAction, ab as TerminalBase, ad as TerminalInfo, T as TerminalState, a2 as VSCodeIntegrationOptions, a3 as VSCodeTunnelOptions, V as VueInspectorClient, O as VueInspectorData, af as WizardActions, ae as WizardFunctions } from './shared/devtools-kit-nightly.BMivX6Xf.mjs';
|
|
3
3
|
import { BirpcReturn } from 'birpc';
|
|
4
4
|
import { Hookable } from 'hookable';
|
|
5
5
|
import { NuxtApp } from 'nuxt/app';
|
|
@@ -156,9 +156,12 @@ interface NuxtDevtoolsHostClient {
|
|
|
156
156
|
*/
|
|
157
157
|
syncClient: () => NuxtDevtoolsHostClient;
|
|
158
158
|
}
|
|
159
|
+
interface CodeHighlightOptions {
|
|
160
|
+
grammarContextCode?: string;
|
|
161
|
+
}
|
|
159
162
|
interface NuxtDevtoolsClient {
|
|
160
163
|
rpc: BirpcReturn<ServerFunctions, ClientFunctions>;
|
|
161
|
-
renderCodeHighlight: (code: string, lang?: BuiltinLanguage) => {
|
|
164
|
+
renderCodeHighlight: (code: string, lang?: BuiltinLanguage, options?: CodeHighlightOptions) => {
|
|
162
165
|
code: string;
|
|
163
166
|
supported: boolean;
|
|
164
167
|
};
|
|
@@ -174,4 +177,4 @@ interface NuxtDevtoolsGlobal {
|
|
|
174
177
|
setClient: (client: NuxtDevtoolsHostClient) => void;
|
|
175
178
|
}
|
|
176
179
|
|
|
177
|
-
export { ClientFunctions, type DevToolsFrameState, HookInfo, LoadingTimeMetric, type NuxtDevtoolsClient, type NuxtDevtoolsClientHooks, type NuxtDevtoolsGlobal, type NuxtDevtoolsHostClient, type NuxtDevtoolsIframeClient, PluginMetric, ServerFunctions, type TimelineEvent, type TimelineEventFunction, type TimelineEventNormalized, type TimelineEventRoute, type TimelineEventsSegment, type TimelineMetrics, type TimelineOptions, type TimelineServerState };
|
|
180
|
+
export { ClientFunctions, type CodeHighlightOptions, type DevToolsFrameState, HookInfo, LoadingTimeMetric, type NuxtDevtoolsClient, type NuxtDevtoolsClientHooks, type NuxtDevtoolsGlobal, type NuxtDevtoolsHostClient, type NuxtDevtoolsIframeClient, PluginMetric, ServerFunctions, type TimelineEvent, type TimelineEventFunction, type TimelineEventNormalized, type TimelineEventRoute, type TimelineEventsSegment, type TimelineMetrics, type TimelineOptions, type TimelineServerState };
|
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { H as HookInfo, P as PluginMetric, L as LoadingTimeMetric, a as ServerFunctions, C as ClientFunctions } from './shared/devtools-kit-nightly.
|
|
2
|
-
export { A as AnalyzeBuildMeta, b as AnalyzeBuildsInfo, W as AssetEntry, U as AssetInfo, Q as AssetType, q as AutoImportsWithMetadata, B as BasicModuleInfo, l as CategorizedTabs, a6 as ClientUpdateEvent, _ as CodeServerOptions, $ as CodeServerType, X as CodeSnippet, F as CompatibilityStatus, Y as ComponentRelationship, Z as ComponentWithRelationships,
|
|
1
|
+
import { H as HookInfo, P as PluginMetric, L as LoadingTimeMetric, a as ServerFunctions, C as ClientFunctions } from './shared/devtools-kit-nightly.BMivX6Xf.js';
|
|
2
|
+
export { A as AnalyzeBuildMeta, b as AnalyzeBuildsInfo, W as AssetEntry, U as AssetInfo, Q as AssetType, q as AutoImportsWithMetadata, B as BasicModuleInfo, l as CategorizedTabs, a6 as ClientUpdateEvent, _ as CodeServerOptions, $ as CodeServerType, X as CodeSnippet, F as CompatibilityStatus, Y as ComponentRelationship, Z as ComponentWithRelationships, ag as GetWizardArgs, K as GitHubContributor, I as ImageMeta, a8 as InstallModuleReturn, y as InstalledModuleInfo, J as MaintainerInfo, j as ModuleBuiltinTab, D as ModuleCompatibility, M as ModuleCustomTab, a1 as ModuleGlobalOptions, i as ModuleIframeTabLazyOptions, e as ModuleIframeView, g as ModuleLaunchAction, d as ModuleLaunchView, a0 as ModuleOptions, z as ModuleStaticInfo, E as ModuleStats, k as ModuleTabInfo, G as ModuleType, f as ModuleVNodeView, h as ModuleView, p as NpmCommandOptions, o as NpmCommandType, a4 as NuxtDevToolsOptions, N as NuxtDevtoolsInfo, a7 as NuxtDevtoolsServerContext, a5 as NuxtServerData, n as PackageManagerName, m as PackageUpdateInfo, u as Payload, x as PluginInfoWithMetic, R as RouteInfo, w as ScannedNitroTasks, aa as ServerDebugContext, a9 as ServerDebugModuleMutationRecord, r as ServerRouteInfo, t as ServerRouteInput, s as ServerRouteInputType, v as ServerTaskInfo, S as SubprocessOptions, c as TabCategory, ac as TerminalAction, ab as TerminalBase, ad as TerminalInfo, T as TerminalState, a2 as VSCodeIntegrationOptions, a3 as VSCodeTunnelOptions, V as VueInspectorClient, O as VueInspectorData, af as WizardActions, ae as WizardFunctions } from './shared/devtools-kit-nightly.BMivX6Xf.js';
|
|
3
3
|
import { BirpcReturn } from 'birpc';
|
|
4
4
|
import { Hookable } from 'hookable';
|
|
5
5
|
import { NuxtApp } from 'nuxt/app';
|
|
@@ -156,9 +156,12 @@ interface NuxtDevtoolsHostClient {
|
|
|
156
156
|
*/
|
|
157
157
|
syncClient: () => NuxtDevtoolsHostClient;
|
|
158
158
|
}
|
|
159
|
+
interface CodeHighlightOptions {
|
|
160
|
+
grammarContextCode?: string;
|
|
161
|
+
}
|
|
159
162
|
interface NuxtDevtoolsClient {
|
|
160
163
|
rpc: BirpcReturn<ServerFunctions, ClientFunctions>;
|
|
161
|
-
renderCodeHighlight: (code: string, lang?: BuiltinLanguage) => {
|
|
164
|
+
renderCodeHighlight: (code: string, lang?: BuiltinLanguage, options?: CodeHighlightOptions) => {
|
|
162
165
|
code: string;
|
|
163
166
|
supported: boolean;
|
|
164
167
|
};
|
|
@@ -174,4 +177,4 @@ interface NuxtDevtoolsGlobal {
|
|
|
174
177
|
setClient: (client: NuxtDevtoolsHostClient) => void;
|
|
175
178
|
}
|
|
176
179
|
|
|
177
|
-
export { ClientFunctions, type DevToolsFrameState, HookInfo, LoadingTimeMetric, type NuxtDevtoolsClient, type NuxtDevtoolsClientHooks, type NuxtDevtoolsGlobal, type NuxtDevtoolsHostClient, type NuxtDevtoolsIframeClient, PluginMetric, ServerFunctions, type TimelineEvent, type TimelineEventFunction, type TimelineEventNormalized, type TimelineEventRoute, type TimelineEventsSegment, type TimelineMetrics, type TimelineOptions, type TimelineServerState };
|
|
180
|
+
export { ClientFunctions, type CodeHighlightOptions, type DevToolsFrameState, HookInfo, LoadingTimeMetric, type NuxtDevtoolsClient, type NuxtDevtoolsClientHooks, type NuxtDevtoolsGlobal, type NuxtDevtoolsHostClient, type NuxtDevtoolsIframeClient, PluginMetric, ServerFunctions, type TimelineEvent, type TimelineEventFunction, type TimelineEventNormalized, type TimelineEventRoute, type TimelineEventsSegment, type TimelineMetrics, type TimelineOptions, type TimelineServerState };
|
package/package.json
CHANGED