mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 19:11:13 +00:00
refactor(core): Introduce overload for record-type node parameter (no-changelog) (#4648)
* 📘 Set up overload * 🔥 Remove inferrable record assertions * 👕 Fix semicolon * 👕 Fix another semicolon
This commit is contained in:
@@ -941,7 +941,7 @@ export class AwsSes implements INodeType {
|
||||
|
||||
const templateName = this.getNodeParameter('templateName', i) as string;
|
||||
|
||||
const additionalFields = this.getNodeParameter('additionalFields', i) as IDataObject;
|
||||
const additionalFields = this.getNodeParameter('additionalFields', i);
|
||||
|
||||
const params = [
|
||||
`Action=SendCustomVerificationEmail`,
|
||||
@@ -967,7 +967,7 @@ export class AwsSes implements INodeType {
|
||||
if (operation === 'update') {
|
||||
const templateName = this.getNodeParameter('templateName', i) as string;
|
||||
|
||||
const updateFields = this.getNodeParameter('updateFields', i) as IDataObject;
|
||||
const updateFields = this.getNodeParameter('updateFields', i);
|
||||
|
||||
const params = [
|
||||
`Action=UpdateCustomVerificationEmailTemplate`,
|
||||
@@ -1018,7 +1018,7 @@ export class AwsSes implements INodeType {
|
||||
|
||||
const isBodyHtml = this.getNodeParameter('isBodyHtml', i) as boolean;
|
||||
|
||||
const additionalFields = this.getNodeParameter('additionalFields', i) as IDataObject;
|
||||
const additionalFields = this.getNodeParameter('additionalFields', i);
|
||||
|
||||
const params = [
|
||||
`Message.Subject.Data=${encodeURIComponent(subject)}`,
|
||||
@@ -1096,7 +1096,7 @@ export class AwsSes implements INodeType {
|
||||
|
||||
const fromEmail = this.getNodeParameter('fromEmail', i) as string;
|
||||
|
||||
const additionalFields = this.getNodeParameter('additionalFields', i) as IDataObject;
|
||||
const additionalFields = this.getNodeParameter('additionalFields', i);
|
||||
|
||||
const templateDataUi = this.getNodeParameter('templateDataUi', i) as IDataObject;
|
||||
|
||||
@@ -1184,7 +1184,7 @@ export class AwsSes implements INodeType {
|
||||
|
||||
const htmlPart = this.getNodeParameter('htmlPart', i) as string;
|
||||
|
||||
const additionalFields = this.getNodeParameter('additionalFields', i) as IDataObject;
|
||||
const additionalFields = this.getNodeParameter('additionalFields', i);
|
||||
|
||||
const params = [
|
||||
`Template.TemplateName=${templateName}`,
|
||||
@@ -1265,7 +1265,7 @@ export class AwsSes implements INodeType {
|
||||
if (operation === 'update') {
|
||||
const templateName = this.getNodeParameter('templateName', i) as string;
|
||||
|
||||
const updateFields = this.getNodeParameter('updateFields', i) as IDataObject;
|
||||
const updateFields = this.getNodeParameter('updateFields', i);
|
||||
|
||||
const params = [`Template.TemplateName=${templateName}`];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user