topicNotes function
Implementation
@riverpod
Future<List<UserNote>> topicNotes(Ref ref, String topicId) async {
final ds = ref.watch(supabaseDatasourceProvider);
final models = await ds.getUserNotes(topicId: topicId);
return models.map((m) => m.toEntity()).toList();
}