Skip to content

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

Function: PortSecret()

PortSecret<S>(config?): PropertyDecorator

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

Decorator to specify a type configuration for type "secret".

Type Parameters

S

S extends "string" | "openai" | "0g" | "anthropic" | "gemini" | "coinmarketcap" | "deepseek" | "groq" | "moonshot" | "xAPI" | "xApp" | "OkxDexApi" | "alchemy"

Parameters

config?

SecretDecoratorConfig<S>

Returns

PropertyDecorator

Licensed under BUSL-1.1