initial skeleton
This commit is contained in:
parent
dc79fa2448
commit
71f89dde9c
60 changed files with 3480 additions and 0 deletions
25
crates/aim-core/src/domain/app.rs
Normal file
25
crates/aim-core/src/domain/app.rs
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
pub enum InstallScope {
|
||||
User,
|
||||
System,
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
pub enum IdentityConfidence {
|
||||
Confident,
|
||||
NeedsConfirmation,
|
||||
RawUrlFallback,
|
||||
}
|
||||
|
||||
#[derive(Debug, Eq, PartialEq)]
|
||||
pub struct AppIdentity {
|
||||
pub stable_id: String,
|
||||
pub display_name: String,
|
||||
pub confidence: IdentityConfidence,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Eq, PartialEq, serde::Deserialize, serde::Serialize)]
|
||||
pub struct AppRecord {
|
||||
pub stable_id: String,
|
||||
pub display_name: String,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue