topicProgress function
Single topic progress (used by lesson viewer to show read state).
Implementation
@riverpod
Future<UserTopicProgressModel?> topicProgress(Ref ref, String topicId) async {
final ds = ref.watch(supabaseDatasourceProvider);
return ds.getProgress(topicId);
}