feat: add RedactNode for secure PDF text redaction and update node registry

This commit is contained in:
alam00000 committed 2026-02-08 20:40:16 +05:30
1 parent 49cccf95b4
commit d36c1f4ab9
3 files changed
+181 -6

No files matched your search

+8
View File
@@ -34,6 +34,7 @@ import { SanitizeNode } from './sanitize-node';
import { EncryptNode } from './encrypt-node';
import { DecryptNode } from './decrypt-node';
import { DigitalSignNode } from './digital-sign-node';
import { RedactNode } from './redact-node';
import { RepairNode } from './repair-node';
import { PdfToTextNode } from './pdf-to-text-node';
import { PdfToDocxNode } from './pdf-to-docx-node';
@@ -500,6 +501,13 @@ export const nodeRegistry: Record<string, NodeRegistryEntry> = {
description: 'Apply a digital signature to PDF',
factory: () => new DigitalSignNode(),
},
RedactNode: {
label: 'Redact',
category: 'Secure PDF',
icon: 'ph-eye-slash',
description: 'Redact text from PDF',
factory: () => new RedactNode(),
},
DownloadNode: {
label: 'Download',
category: 'Output',