UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

36 lines (32 loc) 736 B
/** * X (Formerly Twitter) Node - Version 1 * Discriminator: resource=tweet, operation=like */ interface Credentials { twitterOAuth1Api: CredentialReference; } /** Like a tweet */ export type TwitterV1TweetLikeParams = { resource: 'tweet'; operation: 'like'; /** * The ID of the tweet */ tweetId?: string | Expression<string> | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Whether the entities will be omitted * @default false */ includeEntities?: boolean | Expression<boolean>; }; }; export type TwitterV1TweetLikeNode = { type: 'n8n-nodes-base.twitter'; version: 1; credentials?: Credentials; config: NodeConfig<TwitterV1TweetLikeParams>; };