Skip to content

ChainGraph API Documentation / @badaitech/chaingraph-types / ArrayPortItemConfigObject

Interface: ArrayPortItemConfigObject

Defined in: packages/chaingraph-types/src/decorator/port.decorator.types.ts:40

For array ports the "itemConfig" must be provided explicitly. If the items are intended to be object ports, then the user MUST supply the explicit version:

{ type: 'object', schema: SomeObjectSchema }

If an array port is nested (an array of arrays), we allow a recursive definition.

Properties

schema

schema: ObjectPortSchemaInput

Defined in: packages/chaingraph-types/src/decorator/port.decorator.types.ts:40


type

type: "object"

Defined in: packages/chaingraph-types/src/decorator/port.decorator.types.ts:40

Licensed under BUSL-1.1