fix(useragent): upgraded to new protocol changes
Some checks failed
ci/woodpecker/pr/server-lint Pipeline failed
ci/woodpecker/pr/server-audit Pipeline was successful
ci/woodpecker/pr/server-test Pipeline failed
ci/woodpecker/pr/useragent-analyze Pipeline failed
ci/woodpecker/pr/server-vet Pipeline failed

This commit is contained in:
hdbg
2026-04-03 22:03:02 +02:00
parent 0f8cc9033c
commit 77f47e7436
74 changed files with 7446 additions and 4904 deletions

View File

@@ -1,11 +1,11 @@
import 'package:arbiter/proto/user_agent.pb.dart';
import 'package:arbiter/proto/user_agent/sdk_client.pb.dart' as ua_sdk;
import 'package:arbiter/providers/sdk_clients/list.dart';
import 'package:riverpod_annotation/riverpod_annotation.dart';
part 'details.g.dart';
@riverpod
Future<SdkClientEntry?> clientDetails(Ref ref, int clientId) async {
Future<ua_sdk.Entry?> clientDetails(Ref ref, int clientId) async {
final clients = await ref.watch(sdkClientsProvider.future);
if (clients == null) {
return null;