mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
build: Update ESLint to v9 (#16639)
This commit is contained in:
@@ -34,7 +34,7 @@ export function copyInputItem(item: INodeExecutionData, properties: string[]): I
|
||||
* @param {function} getNodeParam getter for the Node's Parameters
|
||||
*/
|
||||
export function createTableStruct(
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||
// eslint-disable-next-line @typescript-eslint/no-restricted-types
|
||||
getNodeParam: Function,
|
||||
items: INodeExecutionData[],
|
||||
additionalProperties: string[] = [],
|
||||
|
||||
@@ -164,7 +164,7 @@ export class Onfleet implements INodeType {
|
||||
const operation = this.getNodeParameter('operation', 0);
|
||||
const items = this.getInputData();
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||
// eslint-disable-next-line @typescript-eslint/no-restricted-types
|
||||
const operations: { [key: string]: Function } = {
|
||||
task: OnfleetMethods.executeTaskOperations,
|
||||
destination: OnfleetMethods.executeDestinationOperations,
|
||||
|
||||
@@ -93,7 +93,7 @@ export function wrapData(data: IDataObject[]): INodeExecutionData[] {
|
||||
* @param {input[]} input The Node's input data
|
||||
*/
|
||||
export async function pgQuery(
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||
// eslint-disable-next-line @typescript-eslint/no-restricted-types
|
||||
getNodeParam: Function,
|
||||
pgp: pgPromise.IMain<{}, pg.IClient>,
|
||||
db: PgpDatabase,
|
||||
@@ -279,7 +279,7 @@ export async function pgQueryV2(
|
||||
* @param {INodeExecutionData[]} items The items to be inserted
|
||||
*/
|
||||
export async function pgInsert(
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||
// eslint-disable-next-line @typescript-eslint/no-restricted-types
|
||||
getNodeParam: Function,
|
||||
pgp: pgPromise.IMain<{}, pg.IClient>,
|
||||
db: PgpDatabase,
|
||||
@@ -480,7 +480,7 @@ export async function pgInsertV2(
|
||||
* @param {INodeExecutionData[]} items The items to be updated
|
||||
*/
|
||||
export async function pgUpdate(
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||
// eslint-disable-next-line @typescript-eslint/no-restricted-types
|
||||
getNodeParam: Function,
|
||||
pgp: pgPromise.IMain<{}, pg.IClient>,
|
||||
db: PgpDatabase,
|
||||
|
||||
Reference in New Issue
Block a user