github source v1
This commit is contained in:
parent
71f89dde9c
commit
caf870d05e
50 changed files with 4139 additions and 131 deletions
|
|
@ -1,4 +1,20 @@
|
|||
#[derive(Debug, Eq, PartialEq)]
|
||||
pub enum InteractionRequest {
|
||||
SelectRegisteredApp { query: String, matches: Vec<String> },
|
||||
#[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