diff --git a/desktop/plugins/public/ui-debugger/types.tsx b/desktop/plugins/public/ui-debugger/types.tsx index 7edb8ecd0..8948e02eb 100644 --- a/desktop/plugins/public/ui-debugger/types.tsx +++ b/desktop/plugins/public/ui-debugger/types.tsx @@ -37,25 +37,19 @@ export type FrameworkEventMetadata = { documentation: string; }; -export type JSON = - | string - | number - | boolean - | null - | JSON[] - | {[key: string]: JSON}; +type JSON = string | number | boolean | null | JSON[] | {[key: string]: JSON}; type Stacktrace = {type: 'stacktrace'; stacktrace: string[]}; type Reason = {type: 'reason'; reason: string}; type UpstreamEvent = {type: 'upstreamEvent'; eventId: Id}; -type EventAttribution = Stacktrace | Reason | UpstreamEvent; +type FrameworkEventAttribution = Stacktrace | Reason | UpstreamEvent; export type FrameworkEvent = { nodeId: Id; type: FrameworkEventType; timestamp: number; payload?: JSON; - attribution?: EventAttribution; + attribution?: FrameworkEventAttribution; }; export type InitEvent = {