Skip to content

Commit faa65e8

Browse files
committed
refactor(api): mark email node properties as hidden to improve data encapsulation and reduce exposure of sensitive information
1 parent 4337d78 commit faa65e8

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

apps/api/src/nodes/email/parse-email-node.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,36 +75,43 @@ export class ParseEmailNode extends ExecutableNode {
7575
name: "bcc",
7676
type: "json",
7777
description: "BCC recipient's email address(es).",
78+
hidden: true,
7879
},
7980
{
8081
name: "replyTo",
8182
type: "json",
8283
description: "Reply-to email address(es).",
84+
hidden: true,
8385
},
8486
{
8587
name: "date",
8688
type: "string",
8789
description: "The date the email was sent (ISO string).",
90+
hidden: true,
8891
},
8992
{
9093
name: "messageId",
9194
type: "string",
9295
description: "The unique message ID of the email.",
96+
hidden: true,
9397
},
9498
{
9599
name: "inReplyTo",
96100
type: "string",
97101
description: "The message ID this email is a reply to.",
102+
hidden: true,
98103
},
99104
{
100105
name: "references",
101106
type: "json", // Array of strings
102107
description: "Message IDs in the thread.",
108+
hidden: true,
103109
},
104110
{
105111
name: "priority",
106112
type: "string", // 'high', 'normal', 'low'
107113
description: "The priority of the email.",
114+
hidden: true,
108115
},
109116
// Consider adding attachments if needed in the future
110117
// { name: "attachments", type: "json", description: "List of attachments." },

0 commit comments

Comments
 (0)