返回文档
正在准备搜索索引...
搜索索引不可用
API 参考
API 参考
langgraph/zod
withLangGraph
函数 withLangGraph
with
Lang
Graph
<
TValue
,
TUpdate
,
TSchema
>
(
schema
,
meta
)
:
TSchema
类型参数
TValue
TUpdate
TSchema
extends
InteropZodType
<
TValue
>
参数
schema
:
TSchema
meta
:
SchemaMeta
<
TValue
,
TUpdate
>
&
{
reducer
?:
undefined
;
}
返回
TSchema
with
Lang
Graph
<
TValue
,
TUpdate
,
TSchema
>
(
schema
,
meta
)
:
ReducedZodChannel
<
TSchema
,
InteropZodType
<
TUpdate
>
>
类型参数
TValue
TUpdate
TSchema
extends
InteropZodType
<
TValue
>
参数
schema
:
TSchema
meta
:
SchemaMeta
<
TValue
,
TUpdate
>
返回
ReducedZodChannel
<
TSchema
,
InteropZodType
<
TUpdate
>
>
设置
成员可见性
受保护
继承
外部
主题
操作系统
浅色
深色
API 参考
加载中...