File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
templates/javascript/clients/client/api Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -137,10 +137,10 @@ TriggerType:
137
137
type : string
138
138
description : >
139
139
The type of the task reflect how it can be used:
140
- - on_demand : a task that runs manually
140
+ - onDemand : a task that runs manually
141
141
- schedule: a task that runs regularly, following a given cron expression
142
142
- subscription: a task that runs after a subscription event is received from an integration (e.g. Webhook).
143
- enum : ['on_demand ', 'schedule', 'subscription']
143
+ enum : ['onDemand ', 'schedule', 'subscription']
144
144
145
145
# schedule trigger
146
146
@@ -195,7 +195,7 @@ ScheduleTrigger:
195
195
OnDemandTriggerType :
196
196
type : string
197
197
description : A task which is manually executed via the run task endpoint.
198
- enum : ['on_demand ']
198
+ enum : ['onDemand ']
199
199
200
200
OnDemandTriggerInput :
201
201
type : object
Original file line number Diff line number Diff line change @@ -55,4 +55,4 @@ triggerType:
55
55
type : array
56
56
items :
57
57
$ref : ' ./schemas/task.yml#/TriggerType'
58
- example : on_demand ,schedule
58
+ example : onDemand ,schedule
Original file line number Diff line number Diff line change 8
8
export function isOnDemandTrigger(
9
9
trigger: Trigger
10
10
): trigger is OnDemandTrigger {
11
- return trigger.type === ' on_demand ' ;
11
+ return trigger.type === ' onDemand ' ;
12
12
}
13
13
14
14
/**
@@ -34,4 +34,4 @@ export function isSubscriptionTrigger(
34
34
): trigger is SubscriptionTrigger {
35
35
return trigger.type === ' subscription' ;
36
36
}
37
- { {/isIngestionClient} }
37
+ { {/isIngestionClient} }
You can’t perform that action at this time.
0 commit comments