mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 14:44:05 -08:00
ea9f956f0d
* ✨ Init Microsoft Todo node * ⚡ Add Task List resource & operation * ⚡ Add Task resource and operations * ⚡ Add Linked Resource opeartions * ♻️ Add continueOnFail & clean up * 👕 Fix lint issues * ⚡ Improvements * Apply review suggestion & improvement * ⚡ Improvements * ⚡ Improvements * 🐛 Fix naming * ⚡ Fix Microsoft To Do Node Co-authored-by: ricardo <ricardoespinoza105@gmail.com> Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
23 lines
551 B
TypeScript
23 lines
551 B
TypeScript
import {
|
|
ICredentialType,
|
|
NodePropertyTypes,
|
|
} from 'n8n-workflow';
|
|
|
|
export class MicrosoftToDoOAuth2Api implements ICredentialType {
|
|
name = 'microsoftToDoOAuth2Api';
|
|
extends = [
|
|
'microsoftOAuth2Api',
|
|
];
|
|
displayName = 'Microsoft To Do OAuth2 API';
|
|
documentationUrl = 'microsoft';
|
|
properties = [
|
|
//https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-permissions-and-consent
|
|
{
|
|
displayName: 'Scope',
|
|
name: 'scope',
|
|
type: 'hidden' as NodePropertyTypes,
|
|
default: 'openid offline_access Tasks.ReadWrite',
|
|
},
|
|
];
|
|
}
|