Expand description
Constructors§
Properties§
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<Code<L, P>, "id"> & Node<
Id,
IsNever<P["outputSchema"]> extends true
? never
: NonNullable<P["outputSchema"]>["infer"],
>
clone<Id extends string>(
id: Id,
props?: NodeProps,
cloneOptions?: { preserveChainConnections?: boolean },
): Omit<Code<L, P>, "id"> & Node<
Id,
IsNever<P["outputSchema"]> extends true
? never
: NonNullable<P["outputSchema"]>["infer"],
>
Creates a deep copy of this node with a new ID and optional property overrides
Source§getCredentials(): | undefined
| (undefined | Credentials<any>)[]
getCredentials(): | undefined
| (undefined | Credentials<any>)[]
Returns the credentials required by this node
Source§getParameters(): Promise<
Omit<CodeNodeParameters, "jsCode" | "pythonCode"> & {
jsCode?: string;
pythonCode?: string;
},
>
getParameters(): Promise<
Omit<CodeNodeParameters, "jsCode" | "pythonCode"> & {
jsCode?: string;
pythonCode?: string;
},
>
Retrieves the parameters configured for this node
Source§listOutgoing(): IChainable<string, any>[]
listOutgoing(): IChainable<string, any>[]
Returns all states that are connected as next states from this state
Run custom JavaScript or Python code