refactor: type server identifiers

This commit is contained in:
edde746
2026-06-01 11:06:03 +02:00
parent 7b59dac26b
commit 74b8dc4561
258 changed files with 2296 additions and 2080 deletions
@@ -1,4 +1,5 @@
import 'dart:convert';
import 'package:plezy/media/ids.dart';
import 'dart:io';
import 'package:drift/native.dart';
@@ -84,7 +85,7 @@ PlexClient _makeClient(Map<String, dynamic> rootContainer) {
product: 'Plezy',
version: 'test',
),
serverId: 'server-id',
serverId: ServerId('server-id'),
httpClient: MockClient((request) async {
expect(request.url.path, '/');
return http.Response(