From 31aead1f45eb800a33b78e8ebf5c7e07dfeec333 Mon Sep 17 00:00:00 2001 From: Charly POLY Date: Fri, 27 Sep 2024 10:39:55 +0200 Subject: [PATCH] feat(typing): rely on `GetStepTools` --- packages/workflow/src/types.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/workflow/src/types.ts b/packages/workflow/src/types.ts index e8573d2..f08e3f4 100644 --- a/packages/workflow/src/types.ts +++ b/packages/workflow/src/types.ts @@ -1,7 +1,6 @@ import { DirectedGraph } from "graphology"; import { TSchema } from "@sinclair/typebox"; -import { type Inngest } from "inngest"; -import { createStepTools } from "inngest/components/InngestStepTools"; +import { type GetStepTools, type Inngest } from "inngest"; export interface EngineOptions { actions?: Array; @@ -96,7 +95,7 @@ export interface EngineAction * The handler is the function which runs the action. This may comprise of * many individual inngest steps. */ - handler: ActionHandler>>; + handler: ActionHandler>; } /**