Skip to content

Commit

Permalink
Add SPONSOR_LEAD and PROGRAM_LEAD notification categories (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
ofux authored Sep 4, 2024
1 parent 1144b9f commit 151c141
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
import java.util.List;

public enum NotificationCategory {
/** E.g. deposit received, etc. */
SPONSOR_LEAD,
/** E.g. funds allocated, etc. */
PROGRAM_LEAD,
/** E.g. application to review, etc. */
MAINTAINER_PROJECT_CONTRIBUTOR,
/** E.g. committee application created, etc. */
Expand All @@ -14,8 +18,7 @@ public enum NotificationCategory {
/** E.g. KYCB document failed, KYCB complete your profile, etc. */
GLOBAL_BILLING_PROFILE,
/** E.g. product release, new incoming ODHack, etc.*/
GLOBAL_MARKETING
;
GLOBAL_MARKETING;

public List<NotificationChannel> defaultChannels() {
return List.of(NotificationChannel.IN_APP, NotificationChannel.EMAIL);
Expand Down

0 comments on commit 151c141

Please sign in to comment.