Skip to content

Commit 29e8550

Browse files
committed
feat: update icons for Msgraphsecurity and add icon support in credentials
1 parent f64f55f commit 29e8550

6 files changed

Lines changed: 70 additions & 29 deletions

File tree

credentials/MsgraphsecurityOAuth2Api.credentials.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
import type { ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
1+
import type { Icon, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
22

33
export class MsgraphsecurityOAuth2Api implements ICredentialType {
44
name = 'msgraphsecurityOAuth2Api';
55

66
extends = ['oAuth2Api'];
77

88
displayName = 'Msgraphsecurity OAuth2 API';
9-
9+
icon: Icon = {
10+
light: 'file:../icons/msgraph.svg',
11+
dark: 'file:../icons/msgraph.dark.svg',
12+
};
1013
// Link to your community node's README
1114
documentationUrl =
1215
'https://github.com/FrodeHus/n8n-nodes-msgraphsecurity?tab=readme-ov-file#credentials';

icons/msgraph.dark.svg

Lines changed: 32 additions & 0 deletions
Loading

icons/msgraph.svg

Lines changed: 32 additions & 0 deletions
Loading

nodes/Msgraphsecurity/Msgraphsecurity.node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export class Msgraphsecurity implements INodeType {
55
description: INodeTypeDescription = {
66
displayName: 'Msgraphsecurity',
77
name: 'msgraphsecurity',
8-
icon: { light: 'file:msgraphsecurity.svg', dark: 'file:msgraphsecurity.dark.svg' },
8+
icon: { light: 'file:../../icons/msgraph.svg', dark: 'file:../../icons/msgraph.dark.svg' },
99
group: ['transform'],
1010
version: 1,
1111
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',

nodes/Msgraphsecurity/msgraphsecurity.dark.svg

Lines changed: 0 additions & 13 deletions
This file was deleted.

nodes/Msgraphsecurity/msgraphsecurity.svg

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)