函数: defineCatalog()
defineCatalog(
inputs: readonlyCatalogInput[]):Catalog
用组件、[component, manifest] 对和/或函数条目构建 catalog。同一类别中重复的名称会被拒绝。函数条目会立即把实现注册到 functionRegistry,因此 defineCatalog 之后的任何 executeFunctionCall 都能路由到它们。
defineCatalog(
inputs: readonlyCatalogInput[]):Catalog
用组件、[component, manifest] 对和/或函数条目构建 catalog。同一类别中重复的名称会被拒绝。函数条目会立即把实现注册到 functionRegistry,因此 defineCatalog 之后的任何 executeFunctionCall 都能路由到它们。