Skip to content

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

Type Alias: ObjectPortSchemaInput

ObjectPortSchemaInput = IObjectSchema | (...args) => any

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

New type for object–port schemas; the user may supply either an explicit object schema (IObjectSchema) or a class constructor decorated with @ObjectSchema.

Licensed under BUSL-1.1