Can export data as ZIP file

This commit is contained in:
2025-05-02 23:24:38 +02:00
parent 1b3ce1a98d
commit f335b9d0c0
6 changed files with 321 additions and 8 deletions

View File

@ -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";
}