Add app source and tests

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
alvocool
2026-10-11 10:15:30 +03:00
parent 7e246255c2
commit 38881d1fe1
135 changed files with 21057 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
import '../about/internal/application/DeploymentRecord.dart';
import '../about/internal/application/ServerProfile.dart';
/// Everything Peach persists on this device. Server profiles and their nested
/// services live here; passwords are held separately in the OS keystore and
/// hydrated onto the profiles on read, so a caller never handles the two
/// stores independently.
abstract class ConnectInternalMemory {
Future<List<ServerProfile>> getServers();
Future setServers(List<ServerProfile> servers);
Future deleteServerSecret(String serverId);
Future<List<DeploymentRecord>> getDeployments();
Future<List<DeploymentRecord>> addDeployment(DeploymentRecord record);
Future clearDeployments();
Future<String> getThemeMode();
Future setThemeMode(String mode);
}