Skip to content

Commit 88001ff

Browse files
authored
feat: add $ reputation event (#2983)
1 parent d4c410a commit 88001ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/entity/ReputationEvent.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export enum ReputationReason {
1818
PostReportConfirmed = 'post_report_confirmed',
1919
SourceRequestApproved = 'source_request_approved',
2020
CommentDownvoted = 'comment_downvoted',
21+
$$$ = '$$$', // should be assigned manually to users only with product team approval
2122
}
2223

2324
export enum ReputationType {
@@ -35,6 +36,7 @@ export const reputationReasonAmount: Record<ReputationReason, number> = {
3536
[ReputationReason.PostReportConfirmed]: 100,
3637
[ReputationReason.SourceRequestApproved]: 200,
3738
[ReputationReason.CommentDownvoted]: -50,
39+
[ReputationReason.$$$]: 300,
3840
};
3941

4042
export const REPUTATION_THRESHOLD = parseInt(

0 commit comments

Comments
 (0)