-
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.
extended lib with new notifications payloads + types; (#165)
* extended lib with new notifications payloads + types; created tempaltes + logic to receive + process new notification types * fixed test:ci
- Loading branch information
Showing
27 changed files
with
519 additions
and
25 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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,14 @@ | ||
import { JourneyBaseEventPayload } from './journey.base.event.payload'; | ||
|
||
export interface CollaborationCanvasCreatedEventPayload extends JourneyBaseEventPayload { | ||
callout: { | ||
displayName: string; | ||
nameID: string; | ||
} | ||
canvas: { | ||
id: string; | ||
createdBy: string; | ||
displayName: string; | ||
nameID: string; | ||
}; | ||
} |
12 changes: 12 additions & 0 deletions
12
lib/src/dto/collaboration.discussion.comment.event.payload.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,12 @@ | ||
import { JourneyBaseEventPayload } from './journey.base.event.payload'; | ||
|
||
export interface CollaborationDiscussionCommentEventPayload extends JourneyBaseEventPayload { | ||
callout: { | ||
displayName: string; | ||
nameID: string; | ||
} | ||
comment: { | ||
message: string; | ||
createdBy: 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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
17 changes: 17 additions & 0 deletions
17
service/src/common/email-template-payload/collaboration.canvas.created.email.payload.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,17 @@ | ||
import { BaseJourneyEmailPayload } from './base.journey.email.payload'; | ||
|
||
export interface CollaborationCanvasCreatedEmailPayload | ||
extends BaseJourneyEmailPayload { | ||
createdBy: { | ||
firstName: string; | ||
email: string; | ||
}; | ||
callout: { | ||
displayName: string; | ||
url: string; | ||
}; | ||
canvas: { | ||
displayName: string; | ||
url: string; | ||
}; | ||
} |
14 changes: 14 additions & 0 deletions
14
service/src/common/email-template-payload/collaboration.discussion.comment.email.payload.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,14 @@ | ||
import { BaseJourneyEmailPayload } from './base.journey.email.payload'; | ||
// @ts- | ||
export interface CollaborationDiscussionCommentEmailPayload | ||
extends BaseJourneyEmailPayload { | ||
callout: { | ||
displayName: string; | ||
url: string; | ||
}; | ||
createdBy: { | ||
firstName: string; | ||
email: string; | ||
}; | ||
message: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
export * from './base.email.payload'; | ||
export * from './base.journey.email.payload'; | ||
export * from './community.application.created.email.payload'; | ||
export * from './collaboration.canvas.created.email.payload'; | ||
export * from './collaboration.card.comment.email.payload'; | ||
export * from './collaboration.card.created.email.payload'; | ||
export * from './collaboration.callout.published.email.payload'; | ||
export * from './communication.discussion.created.email.payload'; | ||
export * from './communication.update.created.email.payload'; | ||
export * from './collaboration.interest.email.payload'; | ||
export * from './collaboration.context.email.payload'; | ||
export * from './collaboration.discussion.comment.email.payload'; | ||
|
||
export * from './communication.discussion.created.email.payload'; | ||
export * from './communication.update.created.email.payload'; | ||
export * from './community.new.member.email.payload'; | ||
export * from './platform.user.registered.email.payload'; |
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
Oops, something went wrong.