Expand description
Constructors§
Source§new CryptoV2<
L extends string,
C extends unknown = never,
P extends CryptoV2Props = never,
>(
id: L,
props?: P,
): CryptoV2<L, C, P>
new CryptoV2<
L extends string,
C extends unknown = never,
P extends CryptoV2Props = never,
>(
id: L,
props?: P,
): CryptoV2<L, C, P>
Properties§
§§§§
public readonly id: LUnique identifier for this state
public readonly label: string | undefinedThe node label
public position?: NodePositionPosition of the node in the n8n workflow editor canvas When undefined, the node will be placed automatically
props?: P§public size: NodeSizeDEFAULT_NODE_SIZESize of the node in the n8n workflow editor
Methods§
Source§canTakeInput(
_fromState: IChainable,
_withConnectionOptions?: ConnectionOptions,
): boolean
canTakeInput(
_fromState: IChainable,
_withConnectionOptions?: ConnectionOptions,
): boolean
Determines if this state can accept input from another state
Source§clone<Id extends string>(
id: Id,
props?: NodeProps,
cloneOptions?: { preserveChainConnections?: boolean },
): Omit<CryptoV2<L, C, P>, "id"> & Node<
Id,
[P] extends [never]
? C
: NonNullable<P["outputSchema"]>["infer"],
>
clone<Id extends string>(
id: Id,
props?: NodeProps,
cloneOptions?: { preserveChainConnections?: boolean },
): Omit<CryptoV2<L, C, P>, "id"> & Node<
Id,
[P] extends [never]
? C
: NonNullable<P["outputSchema"]>["infer"],
>
Creates a deep copy of this node with a new ID and optional property overrides
Source§getCredentials(): (
Credentials<CryptoCredentials>
| undefined
)[]
getCredentials(): (
Credentials<CryptoCredentials>
| undefined
)[]
Returns the credentials required by this node
Source§listOutgoing(): IChainable<string, any>[]
listOutgoing(): IChainable<string, any>[]
Returns all states that are connected as next states from this state
Provide cryptographic utilities