Overview
TheQuest interface represents a gamified task in the Tareas application. Each quest has associated metadata including difficulty, rewards, categories, and tracking information.
TypeScript Interface
Fields
Core Fields
Unique identifier for the quest
The name/title of the quest displayed to users
The category this quest belongs to (e.g., ‘design’, ‘dev’, ‘marketing’)
Detailed description of what the quest entails
Visual Styling
Icon identifier or path used to visually represent the quest
CSS class name for the quest’s color theme
CSS class name for glow effects applied to the quest card
Classification
The kingdom or realm this quest is associated with in the gamification system
Array of badge identifiers that can be earned by completing this quest
Array of tags for categorizing and filtering quests
Difficulty & Rewards
Numeric difficulty level of the quest (typically 1-5)
Amount of experience points awarded upon quest completion
Description of the reward given for completing the quest
Array representation of difficulty (e.g., [true, true, false, false, false] for difficulty 2/5)
Scheduling
ISO 8601 formatted string representing when the quest is due
Human-readable string showing time remaining until due date (e.g., “2 days left”)
Progress Tracking
Current status of the quest
pending: Quest has not been startedin-progress: Quest is currently being worked oncompleted: Quest has been finished
Completion progress as a percentage (0-100)
Flag indicating whether the quest has been completed
Timestamps
Timestamp when the quest was created
Timestamp of the last update to the quest
Timestamp when the quest was marked as completed