Can export data as ZIP file
This commit is contained in:
@ -53,3 +53,21 @@ pub const ACCOUNT_TYPES: [AccountTypeDesc; 3] = [
|
||||
icon: include_str!("../assets/saving.svg"),
|
||||
},
|
||||
];
|
||||
|
||||
/// ZIP export paths
|
||||
pub mod zip_export {
|
||||
/// Accounts file path inside archive
|
||||
pub const ACCOUNTS_FILE: &str = "accounts.json";
|
||||
|
||||
/// Movements file path inside archive
|
||||
pub const MOVEMENTS_FILE: &str = "movements.json";
|
||||
|
||||
/// Files list file path inside archive
|
||||
pub const FILES_FILE: &str = "files.json";
|
||||
|
||||
/// Files directory inside archive
|
||||
pub const FILES_DIR: &str = "files/";
|
||||
|
||||
/// Inbox file path inside archive
|
||||
pub const INBOX_FILE: &str = "inbox.json";
|
||||
}
|
||||
|
Reference in New Issue
Block a user