PersistentAI API Documentation / @persistentai/fireflow-types / createObjectConfig
Function: createObjectConfig()
createObjectConfig(
properties,options?):ObjectPortConfig
Defined in: packages/fireflow-types/src/port/plugins/ObjectPortPlugin.ts:58
Helper to create an object port config. Instead of passing "fields", provide a record of properties that becomes the schema.
Parameters
properties
Record<string, IPortConfig>
options?
Partial<Omit<ObjectPortConfig, "type" | "schema">> = {}