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,33 @@
import 'dart:typed_data';
import '../../../comms/Comms.dart' show DeployResult;
abstract class ConnectDeploy {
/// nginx's configured roots, used to warn when a web service deploys
/// somewhere nginx isn't serving.
void onNginxRootsLoaded(List<String> roots);
/// A jar / binary is staged and ready to ship.
void onJarStaged(Uint8List bytes, String name, String source);
/// A built site directory is staged and ready to ship.
void onWebStaged(String directory, String source);
/// A local build finished; [message] explains a failure.
void onBuildFailed(String message);
/// Packaging a web build began (it can take a while on big sites).
void onPackagingStarted();
/// The deploy finished, successfully or not.
void onDeployFinished(DeployResult result);
/// A revert finished.
void onRevertFinished(DeployResult result);
/// The kept-backup was discarded.
void onBackupDiscarded();
/// Live tail started or stopped.
void onFollowChanged(bool following);
}