-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(domain-events): add email campaign send out requested event
- Loading branch information
1 parent
4e1bae6
commit 45bd009
Showing
3 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
packages/domain-events/src/Domain/Event/EmailCampaignSendOutRequestedEvent.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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { DomainEventInterface } from './DomainEventInterface' | ||
import { EmailCampaignSendOutRequestedEventPayload } from './EmailCampaignSendOutRequestedEventPayload' | ||
|
||
export interface EmailCampaignSendOutRequestedEvent extends DomainEventInterface { | ||
type: 'EMAIL_CAMPAIGN_SEND_OUT_REQUESTED' | ||
payload: EmailCampaignSendOutRequestedEventPayload | ||
} |
5 changes: 5 additions & 0 deletions
5
packages/domain-events/src/Domain/Event/EmailCampaignSendOutRequestedEventPayload.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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export interface EmailCampaignSendOutRequestedEventPayload { | ||
limit: number | ||
page: number | ||
campaignFileName: string | ||
} |
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