feat(knowledge): update Project model, ProjectsApi sort, and NoteEditScreen noteType support

This commit is contained in:
2026-04-04 23:52:10 -04:00
parent f5ba2d25a3
commit a50193dbc0
4 changed files with 40 additions and 4 deletions
@@ -12,9 +12,14 @@ class ProjectsRepository {
String? description,
String? goal,
String? color,
String status = 'active',
}) =>
_api.create(
title: title, description: description, goal: goal, color: color);
title: title,
description: description,
goal: goal,
color: color,
status: status);
Future<Project> update(int id, Map<String, dynamic> fields) =>
_api.update(id, fields);
Future<void> delete(int id) => _api.delete(id);