add Google tasks API

This commit is contained in:
shraddha shaligram
2020-06-15 15:47:44 -07:00
parent 2ef5c8c836
commit 136596f465
9 changed files with 1429 additions and 481 deletions

View File

@@ -0,0 +1,17 @@
import { ICredentialType, NodePropertyTypes } from 'n8n-workflow';
const scopes = ['https://www.googleapis.com/auth/tasks'];
export class GoogleTasksOAuth2Api implements ICredentialType {
name = 'googleTasksOAuth2Api';
extends = ['googleOAuth2Api'];
displayName = 'Google Tasks OAuth2 API';
properties = [
{
displayName: 'Scope',
name: 'scope',
type: 'hidden' as NodePropertyTypes,
default: scopes.join(' ')
}
];
}