mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-30 03:16:25 +02:00
feat(backend): add new incentive task type for Reddit follow
Introduce a new incentive task type, REDDIT_FOLLOW, to encourage users to join the SurfSense community on Reddit. This includes a title, description, pages reward, and action URL for the task.
This commit is contained in:
parent
0b65c3a98c
commit
16b839138d
2 changed files with 42 additions and 0 deletions
|
|
@ -163,6 +163,7 @@ class IncentiveTaskType(str, Enum):
|
|||
"""
|
||||
|
||||
GITHUB_STAR = "GITHUB_STAR"
|
||||
REDDIT_FOLLOW = "REDDIT_FOLLOW"
|
||||
# Future tasks can be added here:
|
||||
# GITHUB_ISSUE = "GITHUB_ISSUE"
|
||||
# SOCIAL_SHARE = "SOCIAL_SHARE"
|
||||
|
|
@ -178,6 +179,12 @@ INCENTIVE_TASKS_CONFIG = {
|
|||
"pages_reward": 100,
|
||||
"action_url": "https://github.com/MODSetter/SurfSense",
|
||||
},
|
||||
IncentiveTaskType.REDDIT_FOLLOW: {
|
||||
"title": "Join our Subreddit",
|
||||
"description": "Join the SurfSense community on Reddit",
|
||||
"pages_reward": 100,
|
||||
"action_url": "https://www.reddit.com/r/SurfSense/",
|
||||
},
|
||||
# Future tasks can be configured here:
|
||||
# IncentiveTaskType.GITHUB_ISSUE: {
|
||||
# "title": "Create an issue",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue