refactor: rename aim to upm and extract appimage module
This commit is contained in:
parent
af13e98eb3
commit
863c57e473
117 changed files with 2622 additions and 887 deletions
20
crates/upm-core/src/app/interaction.rs
Normal file
20
crates/upm-core/src/app/interaction.rs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#[derive(Clone, Debug, Eq, PartialEq)]
|
||||
pub struct InteractionRequest {
|
||||
pub key: String,
|
||||
pub kind: InteractionKind,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Eq, PartialEq)]
|
||||
pub enum InteractionKind {
|
||||
SelectRegisteredApp {
|
||||
query: String,
|
||||
matches: Vec<String>,
|
||||
},
|
||||
ChooseTrackingPreference {
|
||||
requested_version: String,
|
||||
latest_version: String,
|
||||
},
|
||||
SelectArtifact {
|
||||
candidates: Vec<String>,
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue