feat: Add useQueryStep (#9384)
* feat: Query step replacement * fix * fix types
This commit is contained in:
@@ -6,7 +6,7 @@ import {
|
||||
} from "@medusajs/orchestration"
|
||||
import { isString, OrchestrationUtils } from "@medusajs/utils"
|
||||
import { ulid } from "ulid"
|
||||
import { StepResponse, resolveValue } from "./helpers"
|
||||
import { resolveValue, StepResponse } from "./helpers"
|
||||
import { createStepHandler } from "./helpers/create-step-handler"
|
||||
import { proxify } from "./helpers/proxy"
|
||||
import {
|
||||
|
||||
@@ -15,7 +15,7 @@ import { CompensateFn, InvokeFn } from "./create-step"
|
||||
export type StepFunctionResult<TOutput extends unknown | unknown[] = unknown> =
|
||||
(this: CreateWorkflowComposerContext) => WorkflowData<TOutput>
|
||||
|
||||
type StepFunctionReturnConfig<TOutput> = {
|
||||
export type StepFunctionReturnConfig<TOutput> = {
|
||||
config(
|
||||
config: { name?: string } & Omit<
|
||||
TransactionStepsDefinition,
|
||||
|
||||
Reference in New Issue
Block a user