Genkit JS API reference
Preparing search index...
@genkit-ai/fetch
ActionWithOptions
Type Alias ActionWithOptions<I, O, S>
A wrapper object containing an action with its associated options.
type
ActionWithOptions
<
I
extends
z
.
ZodTypeAny
=
z
.
ZodTypeAny
,
O
extends
z
.
ZodTypeAny
=
z
.
ZodTypeAny
,
S
extends
z
.
ZodTypeAny
=
z
.
ZodTypeAny
,
>
=
{
action
:
Action
<
I
,
O
,
S
>
;
options
:
{
contextProvider
?:
ContextProvider
<
any
,
I
>
;
path
?:
string
;
streamManager
?:
StreamManager
;
}
;
}
Type Parameters
I
extends
z
.
ZodTypeAny
=
z
.
ZodTypeAny
O
extends
z
.
ZodTypeAny
=
z
.
ZodTypeAny
S
extends
z
.
ZodTypeAny
=
z
.
ZodTypeAny
Index
Properties
action
options
Properties
action
action
:
Action
<
I
,
O
,
S
>
options
options
:
{
contextProvider
?:
ContextProvider
<
any
,
I
>
;
path
?:
string
;
streamManager
?:
StreamManager
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
action
options
Genkit JS API reference
Loading...
A wrapper object containing an action with its associated options.