Expand description
Constructors§
Source§new GraphQL<C extends unknown, L extends string>(
id: L,
props?: GraphQLProps,
): GraphQL<C, L>
new GraphQL<C extends unknown, L extends string>(
id: L,
props?: GraphQLProps,
): GraphQL<C, L>
Properties§
Source§public position?: NodePosition
public position?: NodePosition
Position of the node in the n8n workflow editor canvas When undefined, the node will be placed automatically
Source§props?: GraphQLProps
props?: GraphQLProps
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<GraphQL<C, L>, "id"> & Node<Id, C>
clone<Id extends string>(
id: Id,
props?: NodeProps,
cloneOptions?: { preserveChainConnections?: boolean },
): Omit<GraphQL<C, L>, "id"> & Node<Id, C>
Creates a deep copy of this node with a new ID and optional property overrides
Source§getCredentials(): (
| undefined
| Credentials<HttpBasicAuthCredentials>
| Credentials<HttpCustomAuthCredentials>
| Credentials<HttpDigestAuthCredentials>
| Credentials<HttpHeaderAuthCredentials>
| Credentials<HttpQueryAuthCredentials>
| Credentials<OAuth1ApiCredentials>
| Credentials<OAuth2ApiCredentials>
)[]
getCredentials(): (
| undefined
| Credentials<HttpBasicAuthCredentials>
| Credentials<HttpCustomAuthCredentials>
| Credentials<HttpDigestAuthCredentials>
| Credentials<HttpHeaderAuthCredentials>
| Credentials<HttpQueryAuthCredentials>
| Credentials<OAuth1ApiCredentials>
| Credentials<OAuth2ApiCredentials>
)[]
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
Makes a GraphQL request and returns the received data