ChainGraph API Documentation / @badaitech/chaingraph-types / createObjectValue
Function: createObjectValue()
createObjectValue<
S>(value):ObjectPortValue
Defined in: packages/chaingraph-types/src/port/plugins/ObjectPortPlugin.ts:50
Helper to create an object port value. (Uses the "schema.properties" field for nested values)
Type Parameters
S
S extends IObjectSchema<Record<string, IPortConfig>> = IObjectSchema<Record<string, IPortConfig>>
Parameters
value
Record<string, IPortValue>