Skip to content

Commit 2e6e4ba

Browse files
committed
fix(sdk): export AnyOnStartAttemptHookFunction type
Export AnyOnStartAttemptHookFunction type to allow defining onStartAttempt hooks for individual tasks. https://claude.ai/code/session_018jgSVcFtKVyv65ktGNQFFq
1 parent 34203d6 commit 2e6e4ba

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@trigger.dev/sdk": patch
3+
---
4+
5+
Export `AnyOnStartAttemptHookFunction` type to allow defining `onStartAttempt` hooks for individual tasks.

packages/trigger-sdk/src/v3/hooks.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import {
1717

1818
export type {
1919
AnyOnStartHookFunction,
20+
AnyOnStartAttemptHookFunction,
2021
TaskStartHookParams,
2122
OnStartHookFunction,
2223
AnyOnFailureHookFunction,

0 commit comments

Comments
 (0)