Skip to main content

HostActionTraceEvent

type
type HostActionTraceEvent = { readonly kind: 'action-started'; readonly actionId: string; readonly actionRunId: string; readonly actor: HostActor; readonly source: HostActionSource; } | { readonly kind: 'interceptor-started'; readonly registration: HostActionInterceptorRegistrationSnapshot; } | { readonly kind: 'interceptor-continued'; readonly registration: HostActionInterceptorRegistrationSnapshot; readonly changedInput: boolean; } | { readonly kind: 'interceptor-replaced'; readonly registration: HostActionInterceptorRegistrationSnapshot; } | { readonly kind: 'interceptor-completed'; readonly registration: HostActionInterceptorRegistrationSnapshot; } | { readonly kind: 'interceptor-timed-out'; readonly registration: HostActionInterceptorRegistrationSnapshot; readonly timeoutMs: number; } | { readonly kind: 'action-aborted'; readonly message: string; readonly registration?: HostActionInterceptorRegistrationSnapshot; } | { readonly kind: 'owner-started'; } | { readonly kind: 'owner-completed'; } | { readonly kind: 'action-blocked'; readonly reason: HostActionBlockReason; readonly registration?: HostActionInterceptorRegistrationSnapshot; } | { readonly kind: 'action-failed'; readonly message: string; readonly registration?: HostActionInterceptorRegistrationSnapshot; } | { readonly kind: 'action-committed'; readonly beforeRevision: number; readonly afterRevision: number; }

Import

import { HostActionTraceEvent } from '@modular/sdk';