feat(Google Drive Node): Overhaul (#5941)

This commit is contained in:
Michael Kret
2023-06-27 11:51:41 +03:00
committed by GitHub
parent e43924da36
commit d70a1cb0c8
56 changed files with 8200 additions and 2739 deletions

View File

@@ -0,0 +1,28 @@
/* eslint-disable n8n-nodes-base/node-filename-against-convention */
import type {
IExecuteFunctions,
INodeType,
INodeTypeBaseDescription,
INodeTypeDescription,
} from 'n8n-workflow';
import { versionDescription } from './actions/versionDescription';
import { listSearch } from './methods';
import { router } from './actions/router';
export class GoogleDriveV2 implements INodeType {
description: INodeTypeDescription;
constructor(baseDescription: INodeTypeBaseDescription) {
this.description = {
...baseDescription,
...versionDescription,
};
}
methods = { listSearch };
async execute(this: IExecuteFunctions) {
return router.call(this);
}
}