👕 Fix lint issue
This commit is contained in:
@@ -34,7 +34,7 @@ export const draftOperations = [
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get all drafts',
|
||||
}
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
description: 'The operation to perform.',
|
||||
@@ -56,7 +56,7 @@ export const draftFields = [
|
||||
operation: [
|
||||
'delete',
|
||||
'get',
|
||||
]
|
||||
],
|
||||
},
|
||||
},
|
||||
placeholder: 'r-3254521568507167962',
|
||||
@@ -75,7 +75,7 @@ export const draftFields = [
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
]
|
||||
],
|
||||
},
|
||||
},
|
||||
placeholder: 'Hello World!',
|
||||
@@ -94,7 +94,7 @@ export const draftFields = [
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
]
|
||||
],
|
||||
},
|
||||
},
|
||||
placeholder: 'Hello World!',
|
||||
@@ -112,7 +112,7 @@ export const draftFields = [
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
]
|
||||
],
|
||||
},
|
||||
},
|
||||
default: {},
|
||||
@@ -193,7 +193,7 @@ export const draftFields = [
|
||||
],
|
||||
operation: [
|
||||
'get',
|
||||
]
|
||||
],
|
||||
},
|
||||
},
|
||||
default: {},
|
||||
@@ -238,7 +238,7 @@ export const draftFields = [
|
||||
{
|
||||
name: 'RAW',
|
||||
value: 'raw',
|
||||
description: 'Returns the full email message data with body content in the raw field as a base64url encoded string; the payload field is not used.'
|
||||
description: 'Returns the full email message data with body content in the raw field as a base64url encoded string; the payload field is not used.',
|
||||
},
|
||||
{
|
||||
name: 'Resolved',
|
||||
@@ -249,7 +249,7 @@ export const draftFields = [
|
||||
default: 'resolved',
|
||||
description: 'The format to return the message in',
|
||||
},
|
||||
]
|
||||
],
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -359,7 +359,7 @@ export const draftFields = [
|
||||
{
|
||||
name: 'RAW',
|
||||
value: 'raw',
|
||||
description: 'Returns the full email message data with body content in the raw field as a base64url encoded string; the payload field is not used.'
|
||||
description: 'Returns the full email message data with body content in the raw field as a base64url encoded string; the payload field is not used.',
|
||||
},
|
||||
{
|
||||
name: 'Resolved',
|
||||
|
||||
@@ -150,12 +150,12 @@ export class Gmail implements INodeType {
|
||||
const labelId = label.id;
|
||||
returnData.push({
|
||||
name: labelName,
|
||||
value: labelId
|
||||
value: labelId,
|
||||
});
|
||||
}
|
||||
return returnData;
|
||||
},
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
async execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {
|
||||
|
||||
@@ -34,7 +34,7 @@ export const labelOperations = [
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Get all labels',
|
||||
}
|
||||
},
|
||||
],
|
||||
default: 'create',
|
||||
description: 'The operation to perform',
|
||||
@@ -55,7 +55,7 @@ export const labelFields = [
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
]
|
||||
],
|
||||
},
|
||||
},
|
||||
placeholder: 'invoices',
|
||||
|
||||
@@ -61,7 +61,7 @@ export const messageFields = [
|
||||
operation: [
|
||||
'get',
|
||||
'delete',
|
||||
]
|
||||
],
|
||||
},
|
||||
},
|
||||
placeholder: '172ce2c4a72cc243',
|
||||
@@ -80,7 +80,7 @@ export const messageFields = [
|
||||
],
|
||||
operation: [
|
||||
'reply',
|
||||
]
|
||||
],
|
||||
},
|
||||
},
|
||||
placeholder: '172ce2c4a72cc243',
|
||||
@@ -99,7 +99,7 @@ export const messageFields = [
|
||||
],
|
||||
operation: [
|
||||
'reply',
|
||||
]
|
||||
],
|
||||
},
|
||||
},
|
||||
placeholder: 'CAHNQoFsC6JMMbOBJgtjsqN0eEc+gDg2a=SQj-tWUebQeHMDgqQ@mail.gmail.com',
|
||||
@@ -119,7 +119,7 @@ export const messageFields = [
|
||||
operation: [
|
||||
'reply',
|
||||
'send',
|
||||
]
|
||||
],
|
||||
},
|
||||
},
|
||||
placeholder: 'Hello World!',
|
||||
@@ -139,7 +139,7 @@ export const messageFields = [
|
||||
operation: [
|
||||
'reply',
|
||||
'send',
|
||||
]
|
||||
],
|
||||
},
|
||||
},
|
||||
placeholder: 'Hello World!',
|
||||
@@ -163,7 +163,7 @@ export const messageFields = [
|
||||
operation: [
|
||||
'reply',
|
||||
'send',
|
||||
]
|
||||
],
|
||||
},
|
||||
},
|
||||
placeholder: 'info@example.com',
|
||||
@@ -182,7 +182,7 @@ export const messageFields = [
|
||||
operation: [
|
||||
'send',
|
||||
'reply',
|
||||
]
|
||||
],
|
||||
},
|
||||
},
|
||||
default: {},
|
||||
@@ -237,7 +237,7 @@ export const messageFields = [
|
||||
default: '',
|
||||
description: 'Array of supported attachments to add to the message.',
|
||||
},
|
||||
]
|
||||
],
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -251,7 +251,7 @@ export const messageFields = [
|
||||
],
|
||||
operation: [
|
||||
'get',
|
||||
]
|
||||
],
|
||||
},
|
||||
},
|
||||
default: {},
|
||||
@@ -279,7 +279,7 @@ export const messageFields = [
|
||||
{
|
||||
name: 'RAW',
|
||||
value: 'raw',
|
||||
description: 'Returns the full email message data with body content in the raw field as a base64url encoded string; the payload field is not used.'
|
||||
description: 'Returns the full email message data with body content in the raw field as a base64url encoded string; the payload field is not used.',
|
||||
},
|
||||
{
|
||||
name: 'Resolved',
|
||||
@@ -307,7 +307,7 @@ export const messageFields = [
|
||||
},
|
||||
description: 'Prefix for name of the binary property to which to<br />write the attachments. An index starting with 0 will be added.<br />So if name is "attachment_" the first attachment is saved to "attachment_0"',
|
||||
},
|
||||
]
|
||||
],
|
||||
},
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -417,7 +417,7 @@ export const messageFields = [
|
||||
{
|
||||
name: 'RAW',
|
||||
value: 'raw',
|
||||
description: 'Returns the full email message data with body content in the raw field as a base64url encoded string; the payload field is not used.'
|
||||
description: 'Returns the full email message data with body content in the raw field as a base64url encoded string; the payload field is not used.',
|
||||
},
|
||||
{
|
||||
name: 'Resolved',
|
||||
|
||||
@@ -46,7 +46,7 @@ export const messageLabelFields = [
|
||||
operation: [
|
||||
'add',
|
||||
'remove',
|
||||
]
|
||||
],
|
||||
},
|
||||
},
|
||||
placeholder: '172ce2c4a72cc243',
|
||||
@@ -69,7 +69,7 @@ export const messageLabelFields = [
|
||||
operation: [
|
||||
'add',
|
||||
'remove',
|
||||
]
|
||||
],
|
||||
},
|
||||
},
|
||||
description: 'The ID of the label',
|
||||
|
||||
Reference in New Issue
Block a user