mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(core): Remove linting exceptions in nodes-base, @typescript-eslint/no-unsafe-argument (no-changelog)
This commit is contained in:
@@ -200,7 +200,7 @@ export class SeaTable implements INodeType {
|
||||
);
|
||||
}
|
||||
|
||||
const newRowInsertData = rowMapKeyToName(responseData, tableColumns);
|
||||
const newRowInsertData = rowMapKeyToName(responseData as IRow, tableColumns);
|
||||
|
||||
qs.table_name = tableName;
|
||||
qs.convert = true;
|
||||
@@ -208,7 +208,9 @@ export class SeaTable implements INodeType {
|
||||
this,
|
||||
ctx,
|
||||
'GET',
|
||||
`/dtable-server/api/v1/dtables/{{dtable_uuid}}/rows/${encodeURIComponent(insertId)}/`,
|
||||
`/dtable-server/api/v1/dtables/{{dtable_uuid}}/rows/${encodeURIComponent(
|
||||
insertId as string,
|
||||
)}/`,
|
||||
body,
|
||||
qs,
|
||||
);
|
||||
@@ -222,7 +224,7 @@ export class SeaTable implements INodeType {
|
||||
}
|
||||
|
||||
const row = rowFormatColumns(
|
||||
{ ...newRowInsertData, ...newRow },
|
||||
{ ...newRowInsertData, ...(newRow as IRow) },
|
||||
tableColumns.map(({ name }) => name).concat(['_id', '_ctime', '_mtime']),
|
||||
);
|
||||
|
||||
@@ -322,7 +324,7 @@ export class SeaTable implements INodeType {
|
||||
);
|
||||
|
||||
const executionData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray(rows),
|
||||
this.helpers.returnJsonArray(rows as IDataObject[]),
|
||||
{ itemData: { item: i } },
|
||||
);
|
||||
|
||||
@@ -424,7 +426,7 @@ export class SeaTable implements INodeType {
|
||||
);
|
||||
|
||||
const executionData = this.helpers.constructExecutionMetaData(
|
||||
this.helpers.returnJsonArray({ _id: rowId, ...responseData }),
|
||||
this.helpers.returnJsonArray({ _id: rowId, ...(responseData as IDataObject) }),
|
||||
{ itemData: { item: i } },
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user