fix(Microsoft SharePoint Node): Add back the support for cred only node (#15806)

This commit is contained in:
Shireen Missi
2025-05-28 16:52:39 +01:00
committed by GitHub
parent d5068621e4
commit 0fdeba52bb
2 changed files with 71 additions and 1 deletions

View File

@@ -1,14 +1,25 @@
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
import type { Icon, ICredentialType, INodeProperties } from 'n8n-workflow';
export class MicrosoftSharePointOAuth2Api implements ICredentialType {
name = 'microsoftSharePointOAuth2Api';
extends = ['microsoftOAuth2Api'];
icon: Icon = {
light: 'file:icons/microsoftSharePoint.svg',
dark: 'file:icons/microsoftSharePoint.svg',
};
displayName = 'Microsoft SharePoint OAuth2 API';
documentationUrl = 'microsoft';
httpRequestNode = {
name: 'Microsoft SharePoint',
docsUrl: 'https://learn.microsoft.com/en-us/sharepoint/dev/apis/sharepoint-rest-graph',
apiBaseUrlPlaceholder: 'https://{subdomain}.sharepoint.com/_api/v2.0/',
};
properties: INodeProperties[] = [
{
displayName: 'Scope',