Skip to content

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

Function: Name() ​

Name(portName): PropertyDecorator

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

Name decorator to add a custom name to a port. This decorator updates the port metadata with a new "name" property.

Parameters ​

portName ​

string

The custom name for the port.

Returns ​

PropertyDecorator

Licensed under BUSL-1.1