feat(Discord Node): Overhaul (#5351)

Github issue / Community forum post (link here to close automatically):

---------

Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
Co-authored-by: Marcus <marcus@n8n.io>
This commit is contained in:
Michael Kret
2023-11-08 16:11:23 +02:00
committed by GitHub
parent afd637b5ea
commit 6a53c2a375
69 changed files with 6688 additions and 271 deletions

View File

@@ -7,3 +7,28 @@ export const oldVersionNotice: INodeProperties = {
type: 'notice',
default: '',
};
export const returnAllOrLimit: INodeProperties[] = [
{
displayName: 'Return All',
name: 'returnAll',
type: 'boolean',
default: false,
description: 'Whether to return all results or only up to a given limit',
},
{
displayName: 'Limit',
name: 'limit',
type: 'number',
displayOptions: {
show: {
returnAll: [false],
},
},
typeOptions: {
minValue: 1,
},
default: 100,
description: 'Max number of results to return',
},
];