Skip to content

Commit 258b466

Browse files
committed
feat(specs): add subscriptionAction to ingestion specs
1 parent 72769f1 commit 258b466

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

specs/ingestion/common/schemas/task.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ Task:
2424
$ref: '#/failureThreshold'
2525
action:
2626
$ref: '#/ActionType'
27+
subscriptionAction:
28+
$ref: '#/ActionType'
2729
cursor:
2830
$ref: './common.yml#/cursor'
2931
notifications:
@@ -65,6 +67,8 @@ TaskV1:
6567
$ref: '#/failureThreshold'
6668
action:
6769
$ref: '#/ActionType'
70+
subscriptionAction:
71+
$ref: '#/ActionType'
6872
cursor:
6973
$ref: './common.yml#/cursor'
7074
notifications:
@@ -102,6 +106,8 @@ TaskCreate:
102106
$ref: './common.yml#/destinationID'
103107
action:
104108
$ref: '#/ActionType'
109+
subscriptionAction:
110+
$ref: '#/ActionType'
105111
cron:
106112
$ref: '#/Cron'
107113
enabled:
@@ -136,6 +142,8 @@ TaskCreateV1:
136142
$ref: '#/TaskCreateTrigger'
137143
action:
138144
$ref: '#/ActionType'
145+
subscriptionAction:
146+
$ref: '#/ActionType'
139147
enabled:
140148
type: boolean
141149
description: Whether the task is enabled.
@@ -185,6 +193,8 @@ TaskUpdate:
185193
enabled:
186194
type: boolean
187195
description: Whether the task is enabled.
196+
subscriptionAction:
197+
$ref: '#/ActionType'
188198
failureThreshold:
189199
$ref: '#/failureThreshold'
190200
notifications:

0 commit comments

Comments
 (0)