feat(gui): Display logs of specific swap on press of button on history page

This commit is contained in:
binarybaron 2024-09-09 21:00:27 +02:00
parent 063f9dbf9b
commit c486ca5de9
No known key found for this signature in database
GPG key ID: 99B75D3E1476A26E
5 changed files with 66 additions and 13 deletions

View file

@ -359,9 +359,10 @@ impl Request for GetSwapInfosAllArgs {
#[typeshare]
#[derive(Serialize, Deserialize, Debug)]
pub struct GetLogsArgs {
#[typeshare(serialized_as = "Option<string>")]
pub swap_id: Option<Uuid>,
pub redact: bool,
#[typeshare(serialized_as = "string")]
#[typeshare(serialized_as = "Option<string>")]
pub logs_dir: Option<PathBuf>,
}