feat(tasks): add archived status support in API and schema

This commit is contained in:
Rafael Foster
2026-04-29 05:33:06 -03:00
parent 7940ea4ded
commit 9759f5e267
3 changed files with 67 additions and 1 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ const router = express.Router();
// --------------------------------------------------------
const VALID_PRIORITIES = ['none', 'low', 'medium', 'high', 'urgent'];
const VALID_STATUSES = ['open', 'in_progress', 'done'];
const VALID_STATUSES = ['open', 'in_progress', 'done', 'archived'];
const VALID_CATEGORIES = ['household', 'school', 'shopping', 'repair',
'health', 'finance', 'leisure', 'misc'];