n8n-nodes-base
Version:
Base nodes of n8n
26 lines (22 loc) • 697 B
text/typescript
/**
* Reddit Node - Version 1
* Discriminator: resource=postComment, operation=delete
*/
interface Credentials {
redditOAuth2Api: CredentialReference;
}
/** Remove a comment from a post */
export type RedditV1PostCommentDeleteParams = {
resource: 'postComment';
operation: 'delete';
/**
* ID of the comment to remove. Found in the comment URL:<code>/r/[subreddit_name]/comments/[post_id]/[post_title]/[comment_id]</code>
*/
commentId?: string | Expression<string> | PlaceholderValue;
};
export type RedditV1PostCommentDeleteNode = {
type: 'n8n-nodes-base.reddit';
version: 1;
credentials?: Credentials;
config: NodeConfig<RedditV1PostCommentDeleteParams>;
};