10 lines
293 B
TypeScript
10 lines
293 B
TypeScript
export type AutomationEvent = {
|
|
actionId?: string
|
|
type: 'panel-attached'|'modal-opened'|'action-started'|'action-complete'|'action-failed'|'panel-missing'
|
|
timestamp: number
|
|
payload?: any
|
|
}
|
|
|
|
export interface IAutomationEventPublisher {
|
|
publish(event: AutomationEvent): Promise<void>
|
|
} |