Files
PeachDeployments/lib/Peach/see/deploy/single/ConnectDeploy.dart
alvocool 38881d1fe1 Add app source and tests
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-11 10:15:30 +03:00

34 lines
1008 B
Dart

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