-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed a huge amount of code.
- Loading branch information
Showing
27 changed files
with
225 additions
and
339 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ use std::any::Any; | |
use std::borrow::Cow; | ||
|
||
pub enum StepOutput { | ||
None, | ||
Continue, | ||
Interrupt, | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
use serde::{Deserialize, Serialize}; | ||
use serde_json::{Map, Value}; | ||
|
||
#[derive(Debug, Clone, Serialize, Deserialize)] | ||
#[serde(transparent)] | ||
pub struct RenderResponse(pub Map<String, Value>); |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,7 @@ | ||
use lettre::message::Mailbox; | ||
use serde::{Deserialize, Serialize}; | ||
|
||
pub const EMAIL_FROM: &str = "email.from"; | ||
pub const EMAIL_SUBJECT: &str = "email.subject"; | ||
pub const EMAIL_BODY_HTML: &str = "email.body_html"; | ||
pub const EMAIL_BODY_PLAINTEXT: &str = "email.body_plaintext"; | ||
// pub const EMAIL_LIST_UNSUBSCRIBE: &str = "email.list_unsubscribe"; | ||
|
||
#[derive(Serialize, Deserialize, Clone)] | ||
pub struct Email { | ||
#[serde(rename = "email.from")] | ||
pub from: Mailbox, | ||
#[serde(rename = "email.subject")] | ||
pub subject: String, | ||
#[serde(rename = "email.body_html")] | ||
pub body_html: String, | ||
#[serde(rename = "email.body_plaintext")] | ||
pub body_plaintext: String, | ||
pub struct PluginContext { | ||
#[serde(rename = "email.list_unsubscribe")] | ||
pub list_unsubscribe: Option<String>, | ||
} |
Oops, something went wrong.