inngest / workflow-kit

The quickest and easiest way to add a Zapier-like workflow UI experience to your product. Define actions in your backend and expose a Workflow UI using pre-built React components.
Other
59 stars 1 forks source link

feat(core): typing fixes #13

Open charlypoly opened 4 days ago

charlypoly commented 4 days ago

Changes

Typings

New DX for EngineAction<T> usage:

import { type EngineAction } from "@inngest/workflow-kit";
import { inngest } from "./client";

export const actionsWithHandlers: EngineAction<typeof inngest>[] = [
   // ...
]

Chores

changeset-bot[bot] commented 4 days ago

🦋 Changeset detected

Latest commit: 9c26e98ff0c7b12e6c7bf09284b4446f07e83c98

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | --------------------- | ----- | | @inngest/workflow-kit | Patch |

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

inngest-release-bot commented 2 days ago

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets): Package Version Info
@inngest/workflow-kit 0.1.3-alpha-20240927113217-53488ec6d5088510dbc477b7750b3ed7fe0faf3a npm ↗︎ unpkg ↗︎