feat(core): Lazy-load nodes and credentials to reduce baseline memory usage (#4577)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-11-23 16:20:28 +01:00
committed by GitHub
parent f63cd3b89e
commit b6c57e19fc
71 changed files with 1102 additions and 1279 deletions

View File

@@ -1,60 +0,0 @@
// import {
// ICredentialType,
// NodePropertyTypes,
// } from 'n8n-workflow';
// export class NetlifyOAuth2Api implements ICredentialType {
// name = 'netlifyOAuth2Api';
// extends = [
// 'oAuth2Api',
// ];
// displayName = 'Netlify OAuth2 API';
// documentationUrl = 'netlify';
// properties = [
// {
// displayName: 'Authorization URL',
// name: 'authUrl',
// type: 'hidden' as NodePropertyTypes,
// default: 'https://app.netlify.com/authorize',
// required: true,
// },
// {
// displayName: 'Client ID',
// name: 'clientId',
// type: 'string' as NodePropertyTypes,
// default: '',
// required: true,
// },
// {
// displayName: 'Client Secret',
// name: 'clientSecret',
// type: 'string' as NodePropertyTypes,
// default: '',
// required: true,
// },
// {
// displayName: 'Authentication',
// name: 'authentication',
// type: 'hidden' as NodePropertyTypes,
// default: 'body',
// },
// {
// displayName: 'Access Token URL',
// name: 'accessTokenUrl',
// type: 'hidden' as NodePropertyTypes,
// default: 'https://api.netlify.com/api/v1/oauth/tickets',
// },
// {
// displayName: 'Scope',
// name: 'scope',
// type: 'hidden' as NodePropertyTypes,
// default: '',
// },
// {
// displayName: 'Auth URI Query Parameters',
// name: 'authQueryParameters',
// type: 'hidden' as NodePropertyTypes,
// default: '',
// }
// ];
// }