Skip to content

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

Function: Description()

Description(portDescription): PropertyDecorator

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

Description decorator to add a description to a port. This decorator updates the port metadata with a new "description" property.

Parameters

portDescription

string

The description text for the port.

Returns

PropertyDecorator

Licensed under BUSL-1.1