feat: added defineJob method in TriggerClient#176
feat: added defineJob method in TriggerClient#176ericallam merged 3 commits intotriggerdotdev:mainfrom
Conversation
🦋 Changeset detectedLatest commit: 1961b99 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
| }; | ||
| } | ||
|
|
||
| defineJob( |
There was a problem hiding this comment.
This looks great, but I think defineJob needs to be generic so the type of the job returned includes the actual Trigger type (we're eventually going to support direct job invocation, so need to make sure the Trigger type is preserved and not just any) Otherwise this whole PR is 👍
There was a problem hiding this comment.
Yeah, agree. Done
|
Can you add a changeset for a "patch" update to the To add a change, run this from the root of the repo: pnpm run changeset:addThen select |
c11e881 to
1961b99
Compare
Fixes #162
defineJobmethod in the TriggerClientnew Job(client, options)withclient.defineJob(options)in examples./claim #162