forked from rnwood/smtp4dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat (MessageRelay/UI): Add indicator to UI when message has been rel…
…ayed successfully. (rnwood#774) + Relay recipients added to table MessageRelay
- Loading branch information
Showing
18 changed files
with
992 additions
and
600 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
50 changes: 28 additions & 22 deletions
50
Rnwood.Smtp4dev/ClientApp/src/ApiClient/MessageSummary.ts
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,24 +1,30 @@ | ||
| ||
export default class MessageSummary { | ||
constructor( | ||
id: string, | ||
from: string, | ||
to: string, | ||
receivedDate: Date, | ||
subject: string, | ||
attachmentCount: number, | ||
isUnread: boolean, | ||
isRelayed: boolean, | ||
) { | ||
this.id = id; | ||
this.from = from; | ||
this.to = to; | ||
this.receivedDate = receivedDate; | ||
this.subject = subject; | ||
this.attachmentCount = attachmentCount; | ||
this.isUnread = isUnread; | ||
this.isRelayed = isRelayed; | ||
} | ||
|
||
export default class MessageSummary { | ||
|
||
constructor(id: string, from: string, to: string, receivedDate: Date, subject: string, attachmentCount: number, isUnread: boolean, ) { | ||
|
||
this.id = id; | ||
this.from = from; | ||
this.to = to; | ||
this.receivedDate = receivedDate; | ||
this.subject = subject; | ||
this.attachmentCount = attachmentCount; | ||
this.isUnread = isUnread; | ||
} | ||
|
||
|
||
id: string; | ||
from: string; | ||
to: string; | ||
receivedDate: Date; | ||
subject: string; | ||
attachmentCount: number; | ||
isUnread: boolean; | ||
id: string; | ||
from: string; | ||
to: string; | ||
receivedDate: Date; | ||
subject: string; | ||
attachmentCount: number; | ||
isUnread: boolean; | ||
isRelayed: boolean; | ||
} |
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
Oops, something went wrong.