File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
functions/src/notifications Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,11 @@ The notification feature is responsible for sending notifications to users based
6
6
7
7
## Features
8
8
9
- - ** Topic-Based Notifications** : Users receive notifications based on topics they are interested in.
10
- - It can be either a Bill Topic or an Org Topic
9
+ - ** Topic-Based Notifications** : Users receive notifications based on topics they are subscribed to.
10
+ - Each user has a list of topics created when subscribing to a Bill, User, or Organization.
11
+ - Topics can be categorized as either Bill Topics or Organization Topics:
12
+ - ` bill-[courtId]-[billId] ` : Triggers when a subscribed Bill has a history update or when testimony is posted on the Bill.
13
+ - ` testimony-[userId] ` : Triggers when a subscribed User or Organization posts testimony.
11
14
- ** Notification Events**
12
15
- A BillHistoryNotificationEvent is created when a subscribed Bill has an updated history
13
16
- A TestimonySubmissionNotificationEvent is created when a subscribed Bill has testimony published and when a Organization/User publishes testimony
You can’t perform that action at this time.
0 commit comments