-
-
Notifications
You must be signed in to change notification settings - Fork 80
/
Copy pathtypes.ts
42 lines (35 loc) · 862 Bytes
/
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
export enum NODE_TRIGGER_TYPE {
WEBHOOK = 'WEBHOOK',
CRON = 'CRON',
}
export enum NODE_INTEGRATION_TYPE {
INTEGRATION_SLACK = 'INTEGRATION_SLACK',
INTEGRATION_POSTGRES = 'INTEGRATION_POSTGRES',
INTEGRATION_GMAIL = 'INTEGRATION_GMAIL',
}
export enum NODE_EXECUTION_TYPE {
CODE_JS = 'CODE_JS',
API = 'API',
BRANCH = 'BRANCH', // IF else , else if
LOOP = 'LOOP',
NOOP = 'NOOP', // Do nothing
}
export const NODE_TYPE = {
...NODE_TRIGGER_TYPE,
...NODE_INTEGRATION_TYPE,
...NODE_EXECUTION_TYPE,
};
export type NODE_TYPE = typeof NODE_TYPE;
export enum NODE_KIND_ENUM {
action = 'action',
trigger = 'trigger',
}
export enum WorflowDeploymentStatus {
Live = 'live',
Archived = 'archived',
Paused = 'paused',
}
export enum WorkflowEnvironment {
Staging = 'staging',
Prod = 'prod',
}