Genkit JS API reference
    Preparing search index...

    Type Alias FlowWithContextProvider<C, I, O, S>

    A wrapper object containing a flow with its associated auth policy.

    Use withFlowOptions instead.

    type FlowWithContextProvider<
        C extends ActionContext = ActionContext,
        I extends z.ZodTypeAny = z.ZodTypeAny,
        O extends z.ZodTypeAny = z.ZodTypeAny,
        S extends z.ZodTypeAny = z.ZodTypeAny,
    > = {
        context: ContextProvider<C, I>;
        flow: Flow<I, O, S>;
    }

    Type Parameters

    Index

    Properties

    Properties

    context: ContextProvider<C, I>
    flow: Flow<I, O, S>