27 lines
666 B
Rust
27 lines
666 B
Rust
use crate::Commit;
|
|
use git_next_config::{BranchName, ForgeAlias, RepoAlias};
|
|
|
|
#[derive(Clone, Debug, PartialEq, Eq)]
|
|
pub enum UserNotification {
|
|
CICheckFailed {
|
|
forge_alias: ForgeAlias,
|
|
repo_alias: RepoAlias,
|
|
commit: Commit,
|
|
},
|
|
RepoConfigLoadFailure {
|
|
forge_alias: ForgeAlias,
|
|
repo_alias: RepoAlias,
|
|
reason: String,
|
|
},
|
|
WebhookRegistration {
|
|
forge_alias: ForgeAlias,
|
|
repo_alias: RepoAlias,
|
|
reason: String,
|
|
},
|
|
DevNotBasedOnMain {
|
|
forge_alias: ForgeAlias,
|
|
repo_alias: RepoAlias,
|
|
dev_branch: BranchName,
|
|
main_branch: BranchName,
|
|
},
|
|
}
|