Genkit JS API reference
Preparing search index...
genkit
/
OperationSchema
Variable OperationSchema
Const
OperationSchema
:
z
.
ZodObject
<
{
action
:
z
.
ZodOptional
<
z
.
ZodString
>
;
done
:
z
.
ZodOptional
<
z
.
ZodBoolean
>
;
error
:
z
.
ZodOptional
<
z
.
ZodObject
<
{
message
:
z
.
ZodString
}
,
"passthrough"
,
z
.
ZodTypeAny
,
z
.
objectOutputType
<
{
message
:
z
.
ZodString
}
,
z
.
ZodTypeAny
,
"passthrough"
,
>
,
z
.
objectInputType
<
{
message
:
z
.
ZodString
}
,
z
.
ZodTypeAny
,
"passthrough"
>
,
>
,
>
;
id
:
z
.
ZodString
;
metadata
:
z
.
ZodOptional
<
z
.
ZodRecord
<
z
.
ZodString
,
z
.
ZodAny
>
>
;
output
:
z
.
ZodOptional
<
z
.
ZodAny
>
;
}
,
"strip"
,
z
.
ZodTypeAny
,
{
action
?:
string
;
done
?:
boolean
;
error
?:
z
.
objectOutputType
<
{
message
:
z
.
ZodString
}
,
z
.
ZodTypeAny
,
"passthrough"
,
>
;
id
:
string
;
metadata
?:
Record
<
string
,
any
>
;
output
?:
any
;
}
,
{
action
?:
string
;
done
?:
boolean
;
error
?:
z
.
objectInputType
<
{
message
:
z
.
ZodString
}
,
z
.
ZodTypeAny
,
"passthrough"
,
>
;
id
:
string
;
metadata
?:
Record
<
string
,
any
>
;
output
?:
any
;
}
,
>
Zod schema of an opration representing a background task.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Genkit JS API reference
Loading...
Zod schema of an opration representing a background task.