@rolldown/debug
Advanced tools
| import type { BuildEnd } from "./BuildEnd"; | ||
| import type { BuildStart } from "./BuildStart"; | ||
| import type { HookLoadCallEnd } from "./HookLoadCallEnd"; | ||
| import type { HookLoadCallStart } from "./HookLoadCallStart"; | ||
| import type { HookResolveIdCallEnd } from "./HookResolveIdCallEnd"; | ||
| import type { HookResolveIdCallStart } from "./HookResolveIdCallStart"; | ||
| import type { HookTransformCallEnd } from "./HookTransformCallEnd"; | ||
| import type { HookTransformCallStart } from "./HookTransformCallStart"; | ||
| export type Meta = HookTransformCallStart | HookTransformCallEnd | HookLoadCallStart | HookLoadCallEnd | BuildStart | BuildEnd | HookResolveIdCallStart | HookResolveIdCallEnd; |
| export {}; |
| export type BuildEnd = { | ||
| kind: 'BuildEnd'; | ||
| action: 'BuildEnd'; | ||
| }; |
| export type BuildStart = { | ||
| kind: 'BuildStart'; | ||
| action: 'BuildStart'; | ||
| }; |
| export type HookLoadCallEnd = { | ||
| kind: 'HookLoadCallEnd'; | ||
| action: 'HookLoadCallEnd'; | ||
| module_id: string; | ||
@@ -10,2 +10,3 @@ source: string | null; | ||
| plugin_index: number; | ||
| call_id: string; | ||
| }; |
| export type HookLoadCallStart = { | ||
| kind: 'HookLoadCallStart'; | ||
| action: 'HookLoadCallStart'; | ||
| module_id: string; | ||
@@ -9,2 +9,3 @@ plugin_name: string; | ||
| plugin_index: number; | ||
| call_id: string; | ||
| }; |
| export type HookResolveIdCallEnd = { | ||
| kind: 'HookResolveIdCallEnd'; | ||
| action: 'HookResolveIdCallEnd'; | ||
| resolved_id: string | null; | ||
@@ -13,2 +13,4 @@ /** | ||
| plugin_index: number; | ||
| trigger: 'automatic' | 'manual'; | ||
| call_id: string; | ||
| }; |
| export type HookResolveIdCallStart = { | ||
| kind: 'HookResolveIdCallStart'; | ||
| action: 'HookResolveIdCallStart'; | ||
| importer: string | null; | ||
@@ -11,2 +11,4 @@ module_request: string; | ||
| plugin_index: number; | ||
| trigger: 'automatic' | 'manual'; | ||
| call_id: string; | ||
| }; |
| export type HookTransformCallEnd = { | ||
| kind: 'HookTransformCallEnd'; | ||
| action: 'HookTransformCallEnd'; | ||
| module_id: string; | ||
@@ -10,2 +10,3 @@ transformed_source: string | null; | ||
| plugin_index: number; | ||
| call_id: string; | ||
| }; |
| export type HookTransformCallStart = { | ||
| kind: 'HookTransformCallStart'; | ||
| action: 'HookTransformCallStart'; | ||
| module_id: string; | ||
@@ -10,2 +10,3 @@ source: string; | ||
| plugin_index: number; | ||
| call_id: string; | ||
| }; |
@@ -1,2 +0,1 @@ | ||
| export * from './Action.js'; | ||
| export * from './BuildEnd.js'; | ||
@@ -10,1 +9,2 @@ export * from './BuildStart.js'; | ||
| export * from './HookTransformCallStart.js'; | ||
| export * from './Meta.js'; |
@@ -1,2 +0,1 @@ | ||
| export * from './Action.js'; | ||
| export * from './BuildEnd.js'; | ||
@@ -10,1 +9,2 @@ export * from './BuildStart.js'; | ||
| export * from './HookTransformCallStart.js'; | ||
| export * from './Meta.js'; |
+3
-6
@@ -1,11 +0,8 @@ | ||
| import { type Action } from './generated/index.js'; | ||
| import { type Meta } from './generated/index.js'; | ||
| export * from './generated/index.js'; | ||
| export interface Event { | ||
| export type Event = { | ||
| timestamp: string; | ||
| session_id: string; | ||
| fields: { | ||
| action: Action; | ||
| }; | ||
| } | ||
| } & Meta; | ||
| export declare function parseToEvents(data: string): Event[]; | ||
| export declare function parseToEvent(data: string): Event; |
+1
-1
| { | ||
| "name": "@rolldown/debug", | ||
| "version": "1.0.0-beta.8-commit.d984417", | ||
| "version": "1.0.0-beta.8-commit.e270f24", | ||
| "license": "MIT", | ||
@@ -5,0 +5,0 @@ "type": "module", |
| import type { BuildEnd } from "./BuildEnd"; | ||
| import type { BuildStart } from "./BuildStart"; | ||
| import type { HookLoadCallEnd } from "./HookLoadCallEnd"; | ||
| import type { HookLoadCallStart } from "./HookLoadCallStart"; | ||
| import type { HookResolveIdCallEnd } from "./HookResolveIdCallEnd"; | ||
| import type { HookResolveIdCallStart } from "./HookResolveIdCallStart"; | ||
| import type { HookTransformCallEnd } from "./HookTransformCallEnd"; | ||
| import type { HookTransformCallStart } from "./HookTransformCallStart"; | ||
| export type Action = HookTransformCallStart | HookTransformCallEnd | HookLoadCallStart | HookLoadCallEnd | BuildStart | BuildEnd | HookResolveIdCallStart | HookResolveIdCallEnd; |
| export {}; |
Sorry, the diff of this file is not supported yet
7287
2.33%136
3.82%