-
Notifications
You must be signed in to change notification settings - Fork 0
/
event-types.ts
62 lines (61 loc) · 1.85 KB
/
event-types.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
export enum EventType {
WorkflowExecutionStarted = 1,
WorkflowExecutionCancelRequested,
WorkflowExecutionCompleted,
CompleteWorkflowExecutionFailed,
WorkflowExecutionFailed,
FailWorkflowExecutionFailed,
WorkflowExecutionTimedOut,
WorkflowExecutionCanceled,
CancelWorkflowExecutionFailed,
WorkflowExecutionContinuedAsNew,
ContinueAsNewWorkflowExecutionFailed,
WorkflowExecutionTerminated,
DecisionTaskScheduled,
DecisionTaskStarted,
DecisionTaskCompleted,
DecisionTaskTimedOut,
ActivityTaskScheduled,
ScheduleActivityTaskFailed,
ActivityTaskStarted,
ActivityTaskCompleted,
ActivityTaskFailed,
ActivityTaskTimedOut,
ActivityTaskCanceled,
ActivityTaskCancelRequested,
RequestCancelActivityTaskFailed,
WorkflowExecutionSignaled,
MarkerRecorded,
RecordMarkerFailed,
TimerStarted,
StartTimerFailed,
TimerFired,
TimerCanceled,
CancelTimerFailed,
StartChildWorkflowExecutionInitiated,
StartChildWorkflowExecutionFailed,
ChildWorkflowExecutionStarted,
ChildWorkflowExecutionCompleted,
ChildWorkflowExecutionFailed,
ChildWorkflowExecutionTimedOut,
ChildWorkflowExecutionCanceled,
ChildWorkflowExecutionTerminated,
SignalExternalWorkflowExecutionInitiated,
SignalExternalWorkflowExecutionFailed,
ExternalWorkflowExecutionSignaled,
RequestCancelExternalWorkflowExecutionInitiated,
RequestCancelExternalWorkflowExecutionFailed,
ExternalWorkflowExecutionCancelRequested,
LambdaFunctionScheduled,
LambdaFunctionStarted,
LambdaFunctionCompleted,
LambdaFunctionFailed,
LambdaFunctionTimedOut,
ScheduleLambdaFunctionFailed,
StartLambdaFunctionFailed,
}
export namespace EventType {
export function fromString(eventType: string): EventType {
return (<any> EventType)[eventType];
}
}