mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +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:
@@ -79,7 +79,7 @@ export const channelFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The ID of the workspace.',
|
||||
description: 'The ID of the workspace',
|
||||
},
|
||||
{
|
||||
displayName: 'Name',
|
||||
@@ -97,7 +97,7 @@ export const channelFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The name of the channel.',
|
||||
description: 'The name of the channel',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -171,21 +171,21 @@ export const channelFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: 0,
|
||||
description: 'The color of the channel.',
|
||||
description: 'The color of the channel',
|
||||
},
|
||||
{
|
||||
displayName: 'Description',
|
||||
name: 'description',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The description of the channel.',
|
||||
description: 'The description of the channel',
|
||||
},
|
||||
{
|
||||
displayName: 'Public',
|
||||
name: 'public',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'If enabled, the channel will be marked as public.',
|
||||
description: 'If enabled, the channel will be marked as public',
|
||||
},
|
||||
// eslint-disable-next-line n8n-nodes-base/node-param-default-missing
|
||||
{
|
||||
@@ -206,7 +206,7 @@ export const channelFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
default: [],
|
||||
description: 'The users that will participate in the channel.',
|
||||
description: 'The users that will participate in the channel',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -233,7 +233,7 @@ export const channelFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The ID of the channel.',
|
||||
description: 'The ID of the channel',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -258,7 +258,7 @@ export const channelFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The ID of the workspace.',
|
||||
description: 'The ID of the workspace',
|
||||
},
|
||||
{
|
||||
displayName: 'Return All',
|
||||
@@ -275,7 +275,7 @@ export const channelFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
description: 'If all results should be returned or only up to a given limit.',
|
||||
description: 'Whether to return all results or only up to a given limit',
|
||||
},
|
||||
{
|
||||
displayName: 'Limit',
|
||||
@@ -299,7 +299,7 @@ export const channelFields: INodeProperties[] = [
|
||||
maxValue: 100,
|
||||
},
|
||||
default: 50,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Filters',
|
||||
@@ -323,7 +323,7 @@ export const channelFields: INodeProperties[] = [
|
||||
name: 'archived',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'If enabled, only archived conversations are returned.',
|
||||
description: 'If enabled, only archived conversations are returned',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -347,7 +347,7 @@ export const channelFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The ID of the channel.',
|
||||
description: 'The ID of the channel',
|
||||
},
|
||||
{
|
||||
displayName: 'Update Fields',
|
||||
@@ -421,28 +421,28 @@ export const channelFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: 0,
|
||||
description: 'The color of the channel.',
|
||||
description: 'The color of the channel',
|
||||
},
|
||||
{
|
||||
displayName: 'Description',
|
||||
name: 'description',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The description of the channel.',
|
||||
description: 'The description of the channel',
|
||||
},
|
||||
{
|
||||
displayName: 'Name',
|
||||
name: 'name',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The name of the channel.',
|
||||
description: 'The name of the channel',
|
||||
},
|
||||
{
|
||||
displayName: 'Public',
|
||||
name: 'public',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'If enabled, the channel will be marked as public.',
|
||||
description: 'If enabled, the channel will be marked as public',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -66,7 +66,7 @@ export const commentFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The ID of the thread.',
|
||||
description: 'The ID of the thread',
|
||||
},
|
||||
{
|
||||
displayName: 'Content',
|
||||
@@ -84,7 +84,7 @@ export const commentFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The content of the comment.',
|
||||
description: 'The content of the comment',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -121,7 +121,7 @@ export const commentFields: INodeProperties[] = [
|
||||
displayName: 'Action',
|
||||
name: 'action',
|
||||
type: 'options',
|
||||
description: 'The action of the button.',
|
||||
description: 'The action of the button',
|
||||
options: [
|
||||
{
|
||||
name: 'Open URL',
|
||||
@@ -142,7 +142,7 @@ export const commentFields: INodeProperties[] = [
|
||||
displayName: 'Button Text',
|
||||
name: 'button_text',
|
||||
type: 'string',
|
||||
description: 'The text for the action button.',
|
||||
description: 'The text for the action button',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -157,7 +157,7 @@ export const commentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The text for the action button.',
|
||||
description: 'The text for the action button',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -184,7 +184,7 @@ export const commentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'URL to redirect.',
|
||||
description: 'URL to redirect',
|
||||
default: '',
|
||||
},
|
||||
],
|
||||
@@ -209,14 +209,14 @@ export const commentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
default: [],
|
||||
description: 'The users that are directly mentioned.',
|
||||
description: 'The users that are directly mentioned',
|
||||
},
|
||||
{
|
||||
displayName: 'Mark thread position',
|
||||
name: 'mark_thread_position',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
description: 'By default, the position of the thread is marked.',
|
||||
description: 'By default, the position of the thread is marked',
|
||||
},
|
||||
{
|
||||
displayName: 'Recipients',
|
||||
@@ -229,21 +229,21 @@ export const commentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
default: [],
|
||||
description: 'The users that will attached to the comment.',
|
||||
description: 'The users that will attached to the comment',
|
||||
},
|
||||
{
|
||||
displayName: 'Temporary ID',
|
||||
name: 'temp_id',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
description: 'The temporary ID of the comment.',
|
||||
description: 'The temporary ID of the comment',
|
||||
},
|
||||
{
|
||||
displayName: 'Send as integration',
|
||||
name: 'send_as_integration',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Displays the integration as the comment creator.',
|
||||
description: 'Displays the integration as the comment creator',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -268,7 +268,7 @@ export const commentFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The ID of the comment.',
|
||||
description: 'The ID of the comment',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -290,7 +290,7 @@ export const commentFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The ID of the channel.',
|
||||
description: 'The ID of the channel',
|
||||
},
|
||||
{
|
||||
displayName: 'Return All',
|
||||
@@ -307,7 +307,7 @@ export const commentFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
description: 'If all results should be returned or only up to a given limit.',
|
||||
description: 'Whether to return all results or only up to a given limit',
|
||||
},
|
||||
{
|
||||
displayName: 'Limit',
|
||||
@@ -331,7 +331,7 @@ export const commentFields: INodeProperties[] = [
|
||||
maxValue: 100,
|
||||
},
|
||||
default: 50,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Filters',
|
||||
@@ -355,28 +355,28 @@ export const commentFields: INodeProperties[] = [
|
||||
name: 'as_ids',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'If enabled, only the ids of the comments are returned.',
|
||||
description: 'If enabled, only the IDs of the comments are returned',
|
||||
},
|
||||
{
|
||||
displayName: 'Ending Object Index',
|
||||
name: 'to_obj_index',
|
||||
type: 'number',
|
||||
default: 50,
|
||||
description: 'Limit comments ending at the specified object index.',
|
||||
description: 'Limit comments ending at the specified object index',
|
||||
},
|
||||
{
|
||||
displayName: 'Newer Than',
|
||||
name: 'newer_than_ts',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Limits comments to those newer when the specified Unix time.',
|
||||
description: 'Limits comments to those newer when the specified Unix time',
|
||||
},
|
||||
{
|
||||
displayName: 'Older Than',
|
||||
name: 'older_than_ts',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Limits comments to those older than the specified Unix time.',
|
||||
description: 'Limits comments to those older than the specified Unix time',
|
||||
},
|
||||
{
|
||||
displayName: 'Order By',
|
||||
@@ -393,14 +393,14 @@ export const commentFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: 'ASC',
|
||||
description: 'The order of the comments returned - one of DESC or ASC.',
|
||||
description: 'The order of the comments returned - one of DESC or ASC',
|
||||
},
|
||||
{
|
||||
displayName: 'Starting Object Index',
|
||||
name: 'from_obj_index',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
description: 'Limit comments starting at the specified object index.',
|
||||
description: 'Limit comments starting at the specified object index',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -424,7 +424,7 @@ export const commentFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The ID of the comment.',
|
||||
description: 'The ID of the comment',
|
||||
},
|
||||
{
|
||||
displayName: 'Update Fields',
|
||||
@@ -461,7 +461,7 @@ export const commentFields: INodeProperties[] = [
|
||||
displayName: 'Action',
|
||||
name: 'action',
|
||||
type: 'options',
|
||||
description: 'The action of the button.',
|
||||
description: 'The action of the button',
|
||||
options: [
|
||||
{
|
||||
name: 'Open URL',
|
||||
@@ -482,7 +482,7 @@ export const commentFields: INodeProperties[] = [
|
||||
displayName: 'Button Text',
|
||||
name: 'button_text',
|
||||
type: 'string',
|
||||
description: 'The text for the action button.',
|
||||
description: 'The text for the action button',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -497,7 +497,7 @@ export const commentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The text for the action button.',
|
||||
description: 'The text for the action button',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -524,7 +524,7 @@ export const commentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'URL to redirect.',
|
||||
description: 'URL to redirect',
|
||||
default: '',
|
||||
},
|
||||
],
|
||||
@@ -543,7 +543,7 @@ export const commentFields: INodeProperties[] = [
|
||||
name: 'content',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The content of the comment.',
|
||||
description: 'The content of the comment',
|
||||
},
|
||||
{
|
||||
displayName: 'Direct Mentions',
|
||||
@@ -556,7 +556,7 @@ export const commentFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
default: [],
|
||||
description: 'The users that are directly mentioned.',
|
||||
description: 'The users that are directly mentioned',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -70,7 +70,7 @@ export const messageConversationFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The ID of the workspace.',
|
||||
description: 'The ID of the workspace',
|
||||
},
|
||||
{
|
||||
displayName: 'Conversation ID',
|
||||
@@ -94,7 +94,7 @@ export const messageConversationFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The ID of the conversation.',
|
||||
description: 'The ID of the conversation',
|
||||
},
|
||||
{
|
||||
displayName: 'Content',
|
||||
@@ -128,7 +128,7 @@ export const messageConversationFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: {},
|
||||
description: 'Other options to set.',
|
||||
description: 'Other options to set',
|
||||
placeholder: 'Add options',
|
||||
options: [
|
||||
{
|
||||
@@ -149,7 +149,7 @@ export const messageConversationFields: INodeProperties[] = [
|
||||
displayName: 'Action',
|
||||
name: 'action',
|
||||
type: 'options',
|
||||
description: 'The action of the button.',
|
||||
description: 'The action of the button',
|
||||
options: [
|
||||
{
|
||||
name: 'Open URL',
|
||||
@@ -170,7 +170,7 @@ export const messageConversationFields: INodeProperties[] = [
|
||||
displayName: 'Button Text',
|
||||
name: 'button_text',
|
||||
type: 'string',
|
||||
description: 'The text for the action button.',
|
||||
description: 'The text for the action button',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -185,7 +185,7 @@ export const messageConversationFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The text for the action button.',
|
||||
description: 'The text for the action button',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -212,7 +212,7 @@ export const messageConversationFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'URL to redirect.',
|
||||
description: 'URL to redirect',
|
||||
default: '',
|
||||
},
|
||||
],
|
||||
@@ -234,7 +234,7 @@ export const messageConversationFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getUsers',
|
||||
},
|
||||
default: [],
|
||||
description: 'The users that are directly mentioned.',
|
||||
description: 'The users that are directly mentioned',
|
||||
},
|
||||
// {
|
||||
// displayName: 'Direct Group Mentions ',
|
||||
@@ -271,7 +271,7 @@ export const messageConversationFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The ID of the workspace.',
|
||||
description: 'The ID of the workspace',
|
||||
},
|
||||
{
|
||||
displayName: 'Conversation ID',
|
||||
@@ -295,7 +295,7 @@ export const messageConversationFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The ID of the conversation.',
|
||||
description: 'The ID of the conversation',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -312,28 +312,28 @@ export const messageConversationFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: {},
|
||||
description: 'Other options to set.',
|
||||
description: 'Other options to set',
|
||||
options: [
|
||||
{
|
||||
displayName: 'Ending Object Index',
|
||||
name: 'to_obj_index',
|
||||
type: 'number',
|
||||
default: 50,
|
||||
description: 'Limit messages ending at the specified object index.',
|
||||
description: 'Limit messages ending at the specified object index',
|
||||
},
|
||||
{
|
||||
displayName: 'Limit',
|
||||
name: 'limit',
|
||||
type: 'number',
|
||||
default: 50,
|
||||
description: 'Limits the number of messages returned.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Order By',
|
||||
name: 'order_by',
|
||||
type: 'options',
|
||||
default: 'ASC',
|
||||
description: 'The order of the conversations returned - one of DESC or ASC.',
|
||||
description: 'The order of the conversations returned - one of DESC or ASC',
|
||||
options: [
|
||||
{
|
||||
name: 'ASC',
|
||||
@@ -350,7 +350,7 @@ export const messageConversationFields: INodeProperties[] = [
|
||||
name: 'from_obj_index',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
description: 'Limit messages starting at the specified object index.',
|
||||
description: 'Limit messages starting at the specified object index',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -375,7 +375,7 @@ export const messageConversationFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The ID of the conversation message.',
|
||||
description: 'The ID of the conversation message',
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -397,7 +397,7 @@ export const messageConversationFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The ID of the conversation message.',
|
||||
description: 'The ID of the conversation message',
|
||||
},
|
||||
{
|
||||
displayName: 'Update Fields',
|
||||
@@ -414,7 +414,7 @@ export const messageConversationFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: {},
|
||||
description: 'Other options to set.',
|
||||
description: 'Other options to set',
|
||||
options: [
|
||||
{
|
||||
displayName: 'Actions',
|
||||
@@ -434,7 +434,7 @@ export const messageConversationFields: INodeProperties[] = [
|
||||
displayName: 'Action',
|
||||
name: 'action',
|
||||
type: 'options',
|
||||
description: 'The action of the button.',
|
||||
description: 'The action of the button',
|
||||
options: [
|
||||
{
|
||||
name: 'Open URL',
|
||||
@@ -455,7 +455,7 @@ export const messageConversationFields: INodeProperties[] = [
|
||||
displayName: 'Button Text',
|
||||
name: 'button_text',
|
||||
type: 'string',
|
||||
description: 'The text for the action button.',
|
||||
description: 'The text for the action button',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -470,7 +470,7 @@ export const messageConversationFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The text for the action button.',
|
||||
description: 'The text for the action button',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -497,7 +497,7 @@ export const messageConversationFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'URL to redirect.',
|
||||
description: 'URL to redirect',
|
||||
default: '',
|
||||
},
|
||||
],
|
||||
@@ -526,7 +526,7 @@ export const messageConversationFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getUsers',
|
||||
},
|
||||
default: [],
|
||||
description: 'The users that are directly mentioned.',
|
||||
description: 'The users that are directly mentioned',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -66,7 +66,7 @@ export const threadFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The ID of the channel.',
|
||||
description: 'The ID of the channel',
|
||||
},
|
||||
{
|
||||
displayName: 'Title',
|
||||
@@ -84,7 +84,7 @@ export const threadFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The title of the new thread (1 < length < 300).',
|
||||
description: 'The title of the new thread (1 < length < 300)',
|
||||
},
|
||||
{
|
||||
displayName: 'Content',
|
||||
@@ -102,7 +102,7 @@ export const threadFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The content of the thread.',
|
||||
description: 'The content of the thread',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -139,7 +139,7 @@ export const threadFields: INodeProperties[] = [
|
||||
displayName: 'Action',
|
||||
name: 'action',
|
||||
type: 'options',
|
||||
description: 'The action of the button.',
|
||||
description: 'The action of the button',
|
||||
options: [
|
||||
{
|
||||
name: 'Open URL',
|
||||
@@ -160,7 +160,7 @@ export const threadFields: INodeProperties[] = [
|
||||
displayName: 'Button Text',
|
||||
name: 'button_text',
|
||||
type: 'string',
|
||||
description: 'The text for the action button.',
|
||||
description: 'The text for the action button',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -175,7 +175,7 @@ export const threadFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The text for the action button.',
|
||||
description: 'The text for the action button',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -202,7 +202,7 @@ export const threadFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'URL to redirect.',
|
||||
description: 'URL to redirect',
|
||||
default: '',
|
||||
},
|
||||
],
|
||||
@@ -227,7 +227,7 @@ export const threadFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
default: [],
|
||||
description: 'The users that are directly mentioned.',
|
||||
description: 'The users that are directly mentioned',
|
||||
},
|
||||
{
|
||||
displayName: 'Recipients',
|
||||
@@ -240,21 +240,21 @@ export const threadFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
default: [],
|
||||
description: 'The users that will attached to the thread.',
|
||||
description: 'The users that will attached to the thread',
|
||||
},
|
||||
{
|
||||
displayName: 'Send as integration',
|
||||
name: 'send_as_integration',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Displays the integration as the thread creator.',
|
||||
description: 'Displays the integration as the thread creator',
|
||||
},
|
||||
{
|
||||
displayName: 'Temporary ID',
|
||||
name: 'temp_id',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
description: 'The temporary ID of the thread.',
|
||||
description: 'The temporary ID of the thread',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -278,7 +278,7 @@ export const threadFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The ID of the thread.',
|
||||
description: 'The ID of the thread',
|
||||
},
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* thread:getAll */
|
||||
@@ -299,7 +299,7 @@ export const threadFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The ID of the channel.',
|
||||
description: 'The ID of the channel',
|
||||
},
|
||||
{
|
||||
displayName: 'Return All',
|
||||
@@ -316,7 +316,7 @@ export const threadFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
description: 'If all results should be returned or only up to a given limit.',
|
||||
description: 'Whether to return all results or only up to a given limit',
|
||||
},
|
||||
{
|
||||
displayName: 'Limit',
|
||||
@@ -340,7 +340,7 @@ export const threadFields: INodeProperties[] = [
|
||||
maxValue: 100,
|
||||
},
|
||||
default: 50,
|
||||
description: 'How many results to return.',
|
||||
description: 'Max number of results to return',
|
||||
},
|
||||
{
|
||||
displayName: 'Filters',
|
||||
@@ -364,7 +364,7 @@ export const threadFields: INodeProperties[] = [
|
||||
name: 'as_ids',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'If enabled, only the IDs of the threads are returned.',
|
||||
description: 'If enabled, only the IDs of the threads are returned',
|
||||
},
|
||||
{
|
||||
displayName: 'Filter By',
|
||||
@@ -385,21 +385,21 @@ export const threadFields: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
default: '',
|
||||
description: 'A filter can be one of <code>attached_to_me</code>, <code>everyone</code> and <code>is_starred</code>.',
|
||||
description: 'A filter can be one of <code>attached_to_me</code>, <code>everyone</code> and <code>is_starred</code>',
|
||||
},
|
||||
{
|
||||
displayName: 'Newer Than',
|
||||
name: 'newer_than_ts',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Limits threads to those newer when the specified Unix time.',
|
||||
description: 'Limits threads to those newer when the specified Unix time',
|
||||
},
|
||||
{
|
||||
displayName: 'Older Than',
|
||||
name: 'older_than_ts',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Limits threads to those older than the specified Unix time.',
|
||||
description: 'Limits threads to those older than the specified Unix time',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -423,7 +423,7 @@ export const threadFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
required: true,
|
||||
description: 'The ID of the thread.',
|
||||
description: 'The ID of the thread',
|
||||
},
|
||||
{
|
||||
displayName: 'Update Fields',
|
||||
@@ -460,7 +460,7 @@ export const threadFields: INodeProperties[] = [
|
||||
displayName: 'Action',
|
||||
name: 'action',
|
||||
type: 'options',
|
||||
description: 'The action of the button.',
|
||||
description: 'The action of the button',
|
||||
options: [
|
||||
{
|
||||
name: 'Open URL',
|
||||
@@ -481,7 +481,7 @@ export const threadFields: INodeProperties[] = [
|
||||
displayName: 'Button Text',
|
||||
name: 'button_text',
|
||||
type: 'string',
|
||||
description: 'The text for the action button.',
|
||||
description: 'The text for the action button',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -496,7 +496,7 @@ export const threadFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The text for the action button.',
|
||||
description: 'The text for the action button',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
@@ -523,7 +523,7 @@ export const threadFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'URL to redirect.',
|
||||
description: 'URL to redirect',
|
||||
default: '',
|
||||
},
|
||||
],
|
||||
@@ -542,7 +542,7 @@ export const threadFields: INodeProperties[] = [
|
||||
name: 'content',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The content of the thread.',
|
||||
description: 'The content of the thread',
|
||||
},
|
||||
{
|
||||
displayName: 'Direct Mentions',
|
||||
@@ -555,14 +555,14 @@ export const threadFields: INodeProperties[] = [
|
||||
],
|
||||
},
|
||||
default: [],
|
||||
description: 'The users that are directly mentioned.',
|
||||
description: 'The users that are directly mentioned',
|
||||
},
|
||||
{
|
||||
displayName: 'Title',
|
||||
name: 'title',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The title of the thread (1 < length < 300).',
|
||||
description: 'The title of the thread (1 < length < 300)',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user