@@ -613,6 +613,7 @@ export async function batchTriggerById<TTask extends AnyTask>(
613613 parentAttempt : taskContext . ctx ?. attempt . id ,
614614 metadata : item . options ?. metadata ,
615615 maxDuration : item . options ?. maxDuration ,
616+ machinePreset : item . options ?. machinePreset ,
616617 } ,
617618 } ;
618619 } )
@@ -786,6 +787,7 @@ export async function batchTriggerByIdAndWait<TTask extends AnyTask>(
786787 maxAttempts : item . options ?. maxAttempts ,
787788 metadata : item . options ?. metadata ,
788789 maxDuration : item . options ?. maxDuration ,
790+ machinePreset : item . options ?. machinePreset ,
789791 } ,
790792 } ;
791793 } )
@@ -947,6 +949,7 @@ export async function batchTriggerTasks<TTasks extends readonly AnyTask[]>(
947949 parentAttempt : taskContext . ctx ?. attempt . id ,
948950 metadata : item . options ?. metadata ,
949951 maxDuration : item . options ?. maxDuration ,
952+ machinePreset : item . options ?. machinePreset ,
950953 } ,
951954 } ;
952955 } )
@@ -1122,6 +1125,7 @@ export async function batchTriggerAndWaitTasks<TTasks extends readonly AnyTask[]
11221125 maxAttempts : item . options ?. maxAttempts ,
11231126 metadata : item . options ?. metadata ,
11241127 maxDuration : item . options ?. maxDuration ,
1128+ machinePreset : item . options ?. machinePreset ,
11251129 } ,
11261130 } ;
11271131 } )
@@ -1200,6 +1204,7 @@ async function trigger_internal<TRunTypes extends AnyRunTypes>(
12001204 parentAttempt : taskContext . ctx ?. attempt . id ,
12011205 metadata : options ?. metadata ,
12021206 maxDuration : options ?. maxDuration ,
1207+ machinePreset : options ?. machinePreset ,
12031208 } ,
12041209 } ,
12051210 {
@@ -1259,6 +1264,7 @@ async function batchTrigger_internal<TRunTypes extends AnyRunTypes>(
12591264 parentAttempt : taskContext . ctx ?. attempt . id ,
12601265 metadata : item . options ?. metadata ,
12611266 maxDuration : item . options ?. maxDuration ,
1267+ machinePreset : item . options ?. machinePreset ,
12621268 } ,
12631269 } ;
12641270 } )
@@ -1352,6 +1358,7 @@ async function triggerAndWait_internal<TIdentifier extends string, TPayload, TOu
13521358 maxAttempts : options ?. maxAttempts ,
13531359 metadata : options ?. metadata ,
13541360 maxDuration : options ?. maxDuration ,
1361+ machinePreset : options ?. machinePreset ,
13551362 } ,
13561363 } ,
13571364 { } ,
@@ -1428,6 +1435,7 @@ async function batchTriggerAndWait_internal<TIdentifier extends string, TPayload
14281435 maxAttempts : item . options ?. maxAttempts ,
14291436 metadata : item . options ?. metadata ,
14301437 maxDuration : item . options ?. maxDuration ,
1438+ machinePreset : item . options ?. machinePreset ,
14311439 } ,
14321440 } ;
14331441 } )
0 commit comments