Using the Trigger.dev management API
@trigger.dev/sdk package used in defining and triggering tasks. If you have already installed the package in your project, you can skip this step.
v3 functionality is provided through the @trigger.dev/sdk/v3 module. You can import the entire module or individual resources as needed.