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 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); }