added method to upload filesystem images
All checks were successful
Build Project / test (push) Successful in 5m58s
All checks were successful
Build Project / test (push) Successful in 5m58s
This commit is contained in:
@@ -87,12 +87,15 @@ pub struct OTAConfiguration {
|
||||
#[strum(serialize_all = "snake_case")]
|
||||
pub enum BoardType {
|
||||
Waterlevel,
|
||||
WaterlevelFilesystem,
|
||||
}
|
||||
|
||||
#[derive(serde::Serialize, EnumString, PartialEq, Debug, Display)]
|
||||
#[strum(ascii_case_insensitive, serialize_all = "snake_case")]
|
||||
pub enum BoardConfig {
|
||||
INA226,
|
||||
INA233,
|
||||
Generic,
|
||||
}
|
||||
|
||||
pub struct AppState {
|
||||
@@ -104,4 +107,11 @@ pub struct AppState {
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
pub struct DeviceMetadata {
|
||||
pub display_name: String,
|
||||
}
|
||||
|
||||
#[derive(EnumString, PartialEq, Debug, Display, Serialize)]
|
||||
#[strum(ascii_case_insensitive, serialize_all = "snake_case")]
|
||||
pub enum Services {
|
||||
Firmware,
|
||||
Filesystem,
|
||||
}
|
||||
Reference in New Issue
Block a user