From 282e99df18ba9976431e550c275e1078a10af8c0 Mon Sep 17 00:00:00 2001 From: J Francisco Rader Date: Wed, 10 Mar 2021 13:24:57 -0500 Subject: [PATCH] WIP --- resources/server/sv_email.ts | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/resources/server/sv_email.ts b/resources/server/sv_email.ts index 9f02b4f..90546d9 100644 --- a/resources/server/sv_email.ts +++ b/resources/server/sv_email.ts @@ -20,6 +20,24 @@ export interface UnformattedEmailMessage { body: string; } +/*** + * +SELECT + npwd_emails_external_actions.label as action_ext_label, + npwd_emails_external_actions.close_phone as action_ext_close_phone, + npwd_emails_external_actions.delete_email as action_ext_delete_email, + npwd_emails_external_actions.event_name as action_ext_event_name, + npwd_emails_external_actions.event_arg as action_ext_event_arg, +FROM npwd_emails_external_actions; + +SELECT + npwd_emails_phone_actions.label as action_phone_label, + npwd_emails_phone_actions.close_phone as action_phone_close_phone, + npwd_emails_phone_actions.delete_email as action_phone_delete_email, + npwd_emails_phone_actions.href as action_phone_href +FROM npwd_emails_phone_actions; + */ + async function fetchInbox(identifier: string): Promise { const query = ` SELECT @@ -37,7 +55,6 @@ async function fetchInbox(identifier: string): Promise