Overview
TheCategory interface defines the structure for quest categories in the Tareas application. Categories help organize quests into themed groups with distinct visual styling.
TypeScript Interface
Fields
Unique identifier for the category
key
'design' | 'dev' | 'marketing' | 'primary' | 'innovation' | 'strategy' | 'heal' | 'study' | 'funny'
required
Programmatic key used to reference the category. Must be one of the predefined values:
design: Creative and design-related tasksdev: Development and programming tasksmarketing: Marketing and promotional activitiesprimary: Primary or essential tasksinnovation: Innovation and R&D activitiesstrategy: Strategic planning tasksheal: Health and wellness activitiesstudy: Learning and educational tasksfunny: Fun or recreational activities
Human-readable display name for the category
CSS class name that defines the color theme for this category
Icon identifier or name used to visually represent the category
Category Keys Explained
design
For creative tasks including UI/UX design, graphic design, and visual content creation.dev
For software development tasks including coding, debugging, and technical implementation.marketing
For marketing activities including campaigns, content marketing, and brand promotion.primary
For high-priority or essential tasks that don’t fit other categories.innovation
For research, experimentation, and innovative projects.strategy
For strategic planning, business analysis, and long-term planning tasks.heal
For health, wellness, and self-care activities.study
For learning, training, and educational pursuits.funny
For entertainment, team building, and fun activities.Usage Example
Related
- Quest Model - Uses category field to link to a Category