mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor: Apply more eslint-plugin-n8n-nodes-base autofixable rules (#3243)
* ✏️ Alphabetize rules * 🔖 Update version * ⚡ Update lintfix command * ⚡ Run baseline lintfix * 📦 Update package-lock.json * 👕 Apply `node-param-description-untrimmed` (#3200) * Removing unneeded backticks (#3249) * 👕 Apply node-param-description-wrong-for-return-all (#3253) * 👕 Apply node-param-description-missing-limit (#3252) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-excess-final-period (#3250) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-unencoded-angle-brackets (#3256) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-url-missing-protocol (#3258) * 👕 Apply `node-param-description-miscased-id` (#3254) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-wrong-for-limit (#3257) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-wrong-for-ignore-ssl-issues (#3261) * 👕 Apply rule * ⚡ Restore lintfix script * ⚡ Restore lintfix script Co-authored-by: agobrech <45268029+agobrech@users.noreply.github.com> Co-authored-by: Omar Ajoue <krynble@gmail.com> Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com>
This commit is contained in:
@@ -70,7 +70,7 @@ export const messageFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Channel containing the message.',
|
||||
description: 'Channel containing the message',
|
||||
},
|
||||
{
|
||||
displayName: 'Timestamp',
|
||||
@@ -88,7 +88,7 @@ export const messageFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: `Timestamp of the message to get permanent link.`,
|
||||
description: 'Timestamp of the message to get permanent link',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -112,7 +112,7 @@ export const messageFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The channel to send the message to.',
|
||||
description: 'The channel to send the message to',
|
||||
},
|
||||
{
|
||||
displayName: 'User',
|
||||
@@ -131,7 +131,7 @@ export const messageFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The user ID to send the message to.',
|
||||
description: 'The user ID to send the message to',
|
||||
},
|
||||
{
|
||||
displayName: 'Text',
|
||||
@@ -152,7 +152,7 @@ export const messageFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The text to send.',
|
||||
description: 'The text to send',
|
||||
},
|
||||
{
|
||||
displayName: 'JSON parameters',
|
||||
@@ -202,49 +202,49 @@ export const messageFields: INodeProperties[] = [
|
||||
name: 'icon_url',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'URL to an image to use as the icon for this message.',
|
||||
description: 'URL to an image to use as the icon for this message',
|
||||
},
|
||||
{
|
||||
displayName: 'Link Names',
|
||||
name: 'link_names',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Find and link channel names and usernames.',
|
||||
description: 'Find and link channel names and usernames',
|
||||
},
|
||||
{
|
||||
displayName: 'Make Reply',
|
||||
name: 'thread_ts',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Provide another message\'s ts value to make this message a reply.',
|
||||
description: 'Provide another message\'s ts value to make this message a reply',
|
||||
},
|
||||
{
|
||||
displayName: 'Markdown',
|
||||
name: 'mrkdwn',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
description: 'Use Slack Markdown parsing.',
|
||||
description: 'Use Slack Markdown parsing',
|
||||
},
|
||||
{
|
||||
displayName: 'Reply Broadcast',
|
||||
name: 'reply_broadcast',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Used in conjunction with thread_ts and indicates whether reply should be made visible to everyone in the channel or conversation.',
|
||||
description: 'Used in conjunction with thread_ts and indicates whether reply should be made visible to everyone in the channel or conversation',
|
||||
},
|
||||
{
|
||||
displayName: 'Unfurl Links',
|
||||
name: 'unfurl_links',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Pass true to enable unfurling of primarily text-based content.',
|
||||
description: 'Pass true to enable unfurling of primarily text-based content',
|
||||
},
|
||||
{
|
||||
displayName: 'Unfurl Media',
|
||||
name: 'unfurl_media',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
description: 'Pass false to disable unfurling of media content.',
|
||||
description: 'Pass false to disable unfurling of media content',
|
||||
},
|
||||
{
|
||||
displayName: 'Send as User',
|
||||
@@ -293,7 +293,7 @@ export const messageFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'Required plain-text summary of the attachment.',
|
||||
description: 'Required plain-text summary of the attachment',
|
||||
},
|
||||
{
|
||||
displayName: 'Text',
|
||||
@@ -303,7 +303,7 @@ export const messageFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'Text to send.',
|
||||
description: 'Text to send',
|
||||
},
|
||||
{
|
||||
displayName: 'Title',
|
||||
@@ -313,7 +313,7 @@ export const messageFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'Title of the message.',
|
||||
description: 'Title of the message',
|
||||
},
|
||||
{
|
||||
displayName: 'Title Link',
|
||||
@@ -323,14 +323,14 @@ export const messageFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'Link of the title.',
|
||||
description: 'Link of the title',
|
||||
},
|
||||
{
|
||||
displayName: 'Color',
|
||||
name: 'color',
|
||||
type: 'color',
|
||||
default: '#ff0000',
|
||||
description: 'Color of the line left of text.',
|
||||
description: 'Color of the line left of text',
|
||||
},
|
||||
{
|
||||
displayName: 'Pretext',
|
||||
@@ -340,14 +340,14 @@ export const messageFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'Text which appears before the message block.',
|
||||
description: 'Text which appears before the message block',
|
||||
},
|
||||
{
|
||||
displayName: 'Author Name',
|
||||
name: 'author_name',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Name that should appear.',
|
||||
description: 'Name that should appear',
|
||||
},
|
||||
{
|
||||
displayName: 'Author Link',
|
||||
@@ -357,7 +357,7 @@ export const messageFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'Link for the author.',
|
||||
description: 'Link for the author',
|
||||
},
|
||||
{
|
||||
displayName: 'Author Icon',
|
||||
@@ -367,7 +367,7 @@ export const messageFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'Icon which should appear for the user.',
|
||||
description: 'Icon which should appear for the user',
|
||||
},
|
||||
{
|
||||
displayName: 'Image URL',
|
||||
@@ -377,7 +377,7 @@ export const messageFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'URL of image.',
|
||||
description: 'URL of image',
|
||||
},
|
||||
{
|
||||
displayName: 'Thumbnail URL',
|
||||
@@ -387,7 +387,7 @@ export const messageFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'URL of thumbnail.',
|
||||
description: 'URL of thumbnail',
|
||||
},
|
||||
{
|
||||
displayName: 'Footer',
|
||||
@@ -397,7 +397,7 @@ export const messageFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'Text of footer to add.',
|
||||
description: 'Text of footer to add',
|
||||
},
|
||||
{
|
||||
displayName: 'Footer Icon',
|
||||
@@ -407,20 +407,20 @@ export const messageFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'Icon which should appear next to footer.',
|
||||
description: 'Icon which should appear next to footer',
|
||||
},
|
||||
{
|
||||
displayName: 'Timestamp',
|
||||
name: 'ts',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Time message relates to.',
|
||||
description: 'Time message relates to',
|
||||
},
|
||||
{
|
||||
displayName: 'Fields',
|
||||
name: 'fields',
|
||||
placeholder: 'Add Fields',
|
||||
description: 'Fields to add to message.',
|
||||
description: 'Fields to add to message',
|
||||
type: 'fixedCollection',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
@@ -436,21 +436,21 @@ export const messageFields: INodeProperties[] = [
|
||||
name: 'title',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Title of the item.',
|
||||
description: 'Title of the item',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Value of the item.',
|
||||
description: 'Value of the item',
|
||||
},
|
||||
{
|
||||
displayName: 'Short',
|
||||
name: 'short',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
description: 'If items can be displayed next to each other.',
|
||||
description: 'If items can be displayed next to each other',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -481,13 +481,12 @@ export const messageFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Channel containing the message to be updated.',
|
||||
description: 'Channel containing the message to be updated',
|
||||
},
|
||||
{
|
||||
displayName: 'Text',
|
||||
name: 'text',
|
||||
type: 'string',
|
||||
required: false,
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
@@ -499,7 +498,7 @@ export const messageFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: `New text for the message, using the default formatting rules. It's not required when presenting attachments.`,
|
||||
description: 'New text for the message, using the default formatting rules. It\'s not required when presenting attachments.',
|
||||
},
|
||||
{
|
||||
displayName: 'TS',
|
||||
@@ -517,7 +516,7 @@ export const messageFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: `Timestamp of the message to be updated.`,
|
||||
description: 'Timestamp of the message to be updated',
|
||||
},
|
||||
{
|
||||
displayName: 'JSON parameters',
|
||||
@@ -557,7 +556,7 @@ export const messageFields: INodeProperties[] = [
|
||||
name: 'link_names',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Find and link channel names and usernames.',
|
||||
description: 'Find and link channel names and usernames',
|
||||
},
|
||||
{
|
||||
displayName: 'Parse',
|
||||
@@ -587,7 +586,6 @@ export const messageFields: INodeProperties[] = [
|
||||
name: 'attachmentsJson',
|
||||
type: 'json',
|
||||
default: '',
|
||||
required: false,
|
||||
typeOptions: {
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
@@ -611,7 +609,6 @@ export const messageFields: INodeProperties[] = [
|
||||
name: 'blocksJson',
|
||||
type: 'json',
|
||||
default: '',
|
||||
required: false,
|
||||
typeOptions: {
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
@@ -687,7 +684,7 @@ export const messageFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: `A string acting as a unique identifier for a block. You can use this block_id when you receive an interaction payload to identify the source of the action. If not specified, a block_id will be generated. Maximum length for this field is 255 characters.`,
|
||||
description: 'A string acting as a unique identifier for a block. You can use this block_id when you receive an interaction payload to identify the source of the action. If not specified, a block_id will be generated. Maximum length for this field is 255 characters.',
|
||||
},
|
||||
{
|
||||
displayName: 'Elements',
|
||||
@@ -735,7 +732,7 @@ export const messageFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'The text for the block.',
|
||||
description: 'The text for the block',
|
||||
},
|
||||
{
|
||||
displayName: 'Emoji',
|
||||
@@ -749,7 +746,7 @@ export const messageFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
description: 'Indicates whether emojis in a text field should be escaped into the colon emoji format.',
|
||||
description: 'Indicates whether emojis in a text field should be escaped into the colon emoji format',
|
||||
},
|
||||
{
|
||||
displayName: 'Action ID',
|
||||
@@ -763,7 +760,7 @@ export const messageFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: `An identifier for this action. You can use this when you receive an interaction payload to identify the source of the action. Should be unique among all other action_ids used elsewhere by your app.`,
|
||||
description: 'An identifier for this action. You can use this when you receive an interaction payload to identify the source of the action. Should be unique among all other action_ids used elsewhere by your app.',
|
||||
},
|
||||
{
|
||||
displayName: 'URL',
|
||||
@@ -777,7 +774,7 @@ export const messageFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: `A URL to load in the user's browser when the button is clicked. Maximum length for this field is 3000 characters. If you're using url, you'll still receive an interaction payload and will need to send an acknowledgement response.`,
|
||||
description: 'A URL to load in the user\'s browser when the button is clicked. Maximum length for this field is 3000 characters. If you\'re using url, you\'ll still receive an interaction payload and will need to send an acknowledgement response.',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
@@ -791,7 +788,7 @@ export const messageFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'The value to send along with the interaction payload.',
|
||||
description: 'The value to send along with the interaction payload',
|
||||
},
|
||||
{
|
||||
displayName: 'Style',
|
||||
@@ -819,7 +816,7 @@ export const messageFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: 'default',
|
||||
description: 'Decorates buttons with alternative visual color schemes.',
|
||||
description: 'Decorates buttons with alternative visual color schemes',
|
||||
},
|
||||
{
|
||||
displayName: 'Confirm',
|
||||
@@ -854,7 +851,7 @@ export const messageFields: INodeProperties[] = [
|
||||
name: 'text',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Text of the title.',
|
||||
description: 'Text of the title',
|
||||
},
|
||||
{
|
||||
displayName: 'Emoji',
|
||||
@@ -866,7 +863,7 @@ export const messageFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
],
|
||||
description: `Defines the dialog's title.`,
|
||||
description: 'Defines the dialog\'s title',
|
||||
},
|
||||
{
|
||||
displayName: 'Text',
|
||||
@@ -899,7 +896,7 @@ export const messageFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
],
|
||||
description: `Defines the explanatory text that appears in the confirm dialog.`,
|
||||
description: 'Defines the explanatory text that appears in the confirm dialog',
|
||||
},
|
||||
{
|
||||
displayName: 'Confirm',
|
||||
@@ -920,7 +917,7 @@ export const messageFields: INodeProperties[] = [
|
||||
name: 'text',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `Defines the explanatory text that appears in the confirm dialog.`,
|
||||
description: 'Defines the explanatory text that appears in the confirm dialog',
|
||||
},
|
||||
{
|
||||
displayName: 'Emoji',
|
||||
@@ -986,12 +983,12 @@ export const messageFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: 'default',
|
||||
description: 'Defines the color scheme applied to the confirm button.',
|
||||
description: 'Defines the color scheme applied to the confirm button',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
description: 'Defines an optional confirmation dialog after the button is clicked.',
|
||||
description: 'Defines an optional confirmation dialog after the button is clicked',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -1009,7 +1006,7 @@ export const messageFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: '',
|
||||
description: `A string acting as a unique identifier for a block. You can use this block_id when you receive an interaction payload to identify the source of the action. If not specified, a block_id will be generated. Maximum length for this field is 255 characters.`,
|
||||
description: 'A string acting as a unique identifier for a block. You can use this block_id when you receive an interaction payload to identify the source of the action. If not specified, a block_id will be generated. Maximum length for this field is 255 characters.',
|
||||
},
|
||||
{
|
||||
displayName: 'Text',
|
||||
@@ -1047,7 +1044,7 @@ export const messageFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: 'mrkwdn',
|
||||
description: 'The formatting to use for this text object.',
|
||||
description: 'The formatting to use for this text object',
|
||||
},
|
||||
{
|
||||
displayName: 'Text',
|
||||
@@ -1082,7 +1079,7 @@ export const messageFields: INodeProperties[] = [
|
||||
},
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'When set to false (as is default) URLs will be auto-converted into links, conversation names will be link-ified, and certain mentions will be automatically parsed. ',
|
||||
description: 'When set to false (as is default) URLs will be auto-converted into links, conversation names will be link-ified, and certain mentions will be automatically parsed',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -1125,7 +1122,7 @@ export const messageFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: 'mrkwdn',
|
||||
description: 'The formatting to use for this text object.',
|
||||
description: 'The formatting to use for this text object',
|
||||
},
|
||||
{
|
||||
displayName: 'Text',
|
||||
@@ -1160,12 +1157,12 @@ export const messageFields: INodeProperties[] = [
|
||||
},
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'When set to false (as is default) URLs will be auto-converted into links, conversation names will be link-ified, and certain mentions will be automatically parsed. ',
|
||||
description: 'When set to false (as is default) URLs will be auto-converted into links, conversation names will be link-ified, and certain mentions will be automatically parsed',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
description: `An array of text objects. Any text objects included with fields will be rendered in a compact format that allows for 2 columns of side-by-side text. Maximum number of items is 10.`,
|
||||
description: 'An array of text objects. Any text objects included with fields will be rendered in a compact format that allows for 2 columns of side-by-side text. Maximum number of items is 10.',
|
||||
},
|
||||
{
|
||||
displayName: 'Accessory',
|
||||
@@ -1213,7 +1210,7 @@ export const messageFields: INodeProperties[] = [
|
||||
},
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The text for the block.',
|
||||
description: 'The text for the block',
|
||||
},
|
||||
{
|
||||
displayName: 'Emoji',
|
||||
@@ -1227,7 +1224,7 @@ export const messageFields: INodeProperties[] = [
|
||||
},
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Indicates whether emojis in a text field should be escaped into the colon emoji format.',
|
||||
description: 'Indicates whether emojis in a text field should be escaped into the colon emoji format',
|
||||
},
|
||||
{
|
||||
displayName: 'Action ID',
|
||||
@@ -1241,7 +1238,7 @@ export const messageFields: INodeProperties[] = [
|
||||
},
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `An identifier for this action. You can use this when you receive an interaction payload to identify the source of the action. Should be unique among all other action_ids used elsewhere by your app.`,
|
||||
description: 'An identifier for this action. You can use this when you receive an interaction payload to identify the source of the action. Should be unique among all other action_ids used elsewhere by your app.',
|
||||
},
|
||||
{
|
||||
displayName: 'URL',
|
||||
@@ -1255,7 +1252,7 @@ export const messageFields: INodeProperties[] = [
|
||||
},
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `A URL to load in the user's browser when the button is clicked. Maximum length for this field is 3000 characters. If you're using url, you'll still receive an interaction payload and will need to send an acknowledgement response.`,
|
||||
description: 'A URL to load in the user\'s browser when the button is clicked. Maximum length for this field is 3000 characters. If you\'re using url, you\'ll still receive an interaction payload and will need to send an acknowledgement response.',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
@@ -1269,7 +1266,7 @@ export const messageFields: INodeProperties[] = [
|
||||
},
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The value to send along with the interaction payload.',
|
||||
description: 'The value to send along with the interaction payload',
|
||||
},
|
||||
{
|
||||
displayName: 'Style',
|
||||
@@ -1297,7 +1294,7 @@ export const messageFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: 'default',
|
||||
description: 'Decorates buttons with alternative visual color schemes.',
|
||||
description: 'Decorates buttons with alternative visual color schemes',
|
||||
},
|
||||
{
|
||||
displayName: 'Confirm',
|
||||
@@ -1339,7 +1336,7 @@ export const messageFields: INodeProperties[] = [
|
||||
name: 'text',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Text of the title.',
|
||||
description: 'Text of the title',
|
||||
},
|
||||
{
|
||||
displayName: 'Emoji',
|
||||
@@ -1351,7 +1348,7 @@ export const messageFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
],
|
||||
description: 'Defines an optional confirmation dialog after the button is clicked.',
|
||||
description: 'Defines an optional confirmation dialog after the button is clicked',
|
||||
},
|
||||
{
|
||||
displayName: 'Text',
|
||||
@@ -1384,7 +1381,7 @@ export const messageFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
],
|
||||
description: `Defines the explanatory text that appears in the confirm dialog.`,
|
||||
description: 'Defines the explanatory text that appears in the confirm dialog',
|
||||
},
|
||||
{
|
||||
displayName: 'Confirm',
|
||||
@@ -1405,7 +1402,7 @@ export const messageFields: INodeProperties[] = [
|
||||
name: 'text',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: `Defines the explanatory text that appears in the confirm dialog.`,
|
||||
description: 'Defines the explanatory text that appears in the confirm dialog',
|
||||
},
|
||||
{
|
||||
displayName: 'Emoji',
|
||||
@@ -1417,7 +1414,7 @@ export const messageFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
],
|
||||
description: `Defines the explanatory text that appears in the confirm dialog.`,
|
||||
description: 'Defines the explanatory text that appears in the confirm dialog',
|
||||
},
|
||||
{
|
||||
displayName: 'Deny',
|
||||
@@ -1471,12 +1468,12 @@ export const messageFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: 'default',
|
||||
description: 'Defines the color scheme applied to the confirm button.',
|
||||
description: 'Defines the color scheme applied to the confirm button',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
description: 'Defines an optional confirmation dialog after the button is clicked.',
|
||||
description: 'Defines an optional confirmation dialog after the button is clicked',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -1491,7 +1488,6 @@ export const messageFields: INodeProperties[] = [
|
||||
name: 'attachmentsJson',
|
||||
type: 'json',
|
||||
default: '',
|
||||
required: false,
|
||||
typeOptions: {
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
@@ -1515,7 +1511,6 @@ export const messageFields: INodeProperties[] = [
|
||||
name: 'blocksJson',
|
||||
type: 'json',
|
||||
default: '',
|
||||
required: false,
|
||||
typeOptions: {
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
@@ -1567,7 +1562,7 @@ export const messageFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'Required plain-text summary of the attachment.',
|
||||
description: 'Required plain-text summary of the attachment',
|
||||
},
|
||||
{
|
||||
displayName: 'Text',
|
||||
@@ -1577,7 +1572,7 @@ export const messageFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'Text to send.',
|
||||
description: 'Text to send',
|
||||
},
|
||||
{
|
||||
displayName: 'Title',
|
||||
@@ -1587,7 +1582,7 @@ export const messageFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'Title of the message.',
|
||||
description: 'Title of the message',
|
||||
},
|
||||
{
|
||||
displayName: 'Title Link',
|
||||
@@ -1597,14 +1592,14 @@ export const messageFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'Link of the title.',
|
||||
description: 'Link of the title',
|
||||
},
|
||||
{
|
||||
displayName: 'Color',
|
||||
name: 'color',
|
||||
type: 'color',
|
||||
default: '#ff0000',
|
||||
description: 'Color of the line left of text.',
|
||||
description: 'Color of the line left of text',
|
||||
},
|
||||
{
|
||||
displayName: 'Pretext',
|
||||
@@ -1614,14 +1609,14 @@ export const messageFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'Text which appears before the message block.',
|
||||
description: 'Text which appears before the message block',
|
||||
},
|
||||
{
|
||||
displayName: 'Author Name',
|
||||
name: 'author_name',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Name that should appear.',
|
||||
description: 'Name that should appear',
|
||||
},
|
||||
{
|
||||
displayName: 'Author Link',
|
||||
@@ -1631,7 +1626,7 @@ export const messageFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'Link for the author.',
|
||||
description: 'Link for the author',
|
||||
},
|
||||
{
|
||||
displayName: 'Author Icon',
|
||||
@@ -1641,7 +1636,7 @@ export const messageFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'Icon which should appear for the user.',
|
||||
description: 'Icon which should appear for the user',
|
||||
},
|
||||
{
|
||||
displayName: 'Image URL',
|
||||
@@ -1651,7 +1646,7 @@ export const messageFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'URL of image.',
|
||||
description: 'URL of image',
|
||||
},
|
||||
{
|
||||
displayName: 'Thumbnail URL',
|
||||
@@ -1661,7 +1656,7 @@ export const messageFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'URL of thumbnail.',
|
||||
description: 'URL of thumbnail',
|
||||
},
|
||||
{
|
||||
displayName: 'Footer',
|
||||
@@ -1671,7 +1666,7 @@ export const messageFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'Text of footer to add.',
|
||||
description: 'Text of footer to add',
|
||||
},
|
||||
{
|
||||
displayName: 'Footer Icon',
|
||||
@@ -1681,20 +1676,20 @@ export const messageFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'Icon which should appear next to footer.',
|
||||
description: 'Icon which should appear next to footer',
|
||||
},
|
||||
{
|
||||
displayName: 'Timestamp',
|
||||
name: 'ts',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Time message relates to.',
|
||||
description: 'Time message relates to',
|
||||
},
|
||||
{
|
||||
displayName: 'Fields',
|
||||
name: 'fields',
|
||||
placeholder: 'Add Fields',
|
||||
description: 'Fields to add to message.',
|
||||
description: 'Fields to add to message',
|
||||
type: 'fixedCollection',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
@@ -1710,21 +1705,21 @@ export const messageFields: INodeProperties[] = [
|
||||
name: 'title',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Title of the item.',
|
||||
description: 'Title of the item',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Value of the item.',
|
||||
description: 'Value of the item',
|
||||
},
|
||||
{
|
||||
displayName: 'Short',
|
||||
name: 'short',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
description: 'If items can be displayed next to each other.',
|
||||
description: 'If items can be displayed next to each other',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -1755,7 +1750,7 @@ export const messageFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'Channel containing the message to be deleted.',
|
||||
description: 'Channel containing the message to be deleted',
|
||||
},
|
||||
{
|
||||
displayName: 'Timestamp',
|
||||
@@ -1773,6 +1768,6 @@ export const messageFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: `Timestamp of the message to be deleted.`,
|
||||
description: 'Timestamp of the message to be deleted',
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user