node and operations name simplified

This commit is contained in:
atharva.dev 2025-10-28 12:40:08 +05:30
parent c8ce3b1f94
commit bbee58f204
1 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ import { unprotect } from './operations/unprotect';
export class SecloreProtect implements INodeType { export class SecloreProtect implements INodeType {
description: INodeTypeDescription = { description: INodeTypeDescription = {
displayName: 'Seclore Protect', displayName: 'Seclore',
name: 'secloreProtect', name: 'secloreProtect',
icon: 'file:../../icons/seclore.svg', icon: 'file:../../icons/seclore.svg',
usableAsTool: true, // TODO: make it false/ don't allow it to be used as a tool usableAsTool: true, // TODO: make it false/ don't allow it to be used as a tool
@ -17,7 +17,7 @@ export class SecloreProtect implements INodeType {
subtitle: '={{$parameter["resource"] + ": " + $parameter["operation"]}}', subtitle: '={{$parameter["resource"] + ": " + $parameter["operation"]}}',
description: 'Protect files using Seclore DRM', description: 'Protect files using Seclore DRM',
defaults: { defaults: {
name: 'Seclore Protect', name: 'Seclore',
}, },
inputs: ['main'], inputs: ['main'],
outputs: ['main'], outputs: ['main'],
@ -57,13 +57,13 @@ export class SecloreProtect implements INodeType {
name: 'Protect with Hot Folder', name: 'Protect with Hot Folder',
value: 'protectWithHotFolder', value: 'protectWithHotFolder',
description: 'Protect a file using HotFolder ID configuration', description: 'Protect a file using HotFolder ID configuration',
action: 'Protect file with hotfolder', action: 'Protect with hotfolder',
}, },
{ {
name: 'Unprotect', name: 'Unprotect',
value: 'unprotect', value: 'unprotect',
description: 'Unprotect a file using file ID', description: 'Unprotect a file using file ID',
action: 'Unprotect file', action: 'Unprotect',
}, },
], ],
default: 'protectWithHotFolder', default: 'protectWithHotFolder',