/** * Reddit Node - Version 1 * Discriminator: resource=subreddit, operation=getAll */ interface Credentials { redditOAuth2Api: CredentialReference; } /** Retrieve many comments in a post */ export type RedditV1SubredditGetAllParams = { resource: 'subreddit'; operation: 'getAll'; /** * Whether to return all results or only up to a given limit * @default false */ returnAll?: boolean | Expression; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 100 */ limit?: number | Expression; /** * Filters * @default {} */ filters?: { /** The keyword for the subreddit search */ keyword?: string | Expression | PlaceholderValue; /** Whether to fetch currently trending subreddits in all of Reddit * @default false */ trending?: boolean | Expression; }; }; export type RedditV1SubredditGetAllNode = { type: 'n8n-nodes-base.reddit'; version: 1; credentials?: Credentials; config: NodeConfig; };