diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-09-26 10:59:31 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-09-26 10:59:31 +0800 |
| commit | 47e56cc4a912c5bd7d1685f49b8ab2161f58daf0 (patch) | |
| tree | 55d18d2878a1af9c00711c76a4a9888beb11f45a /crates/vcs/src/constants.rs | |
| parent | 06b2e2b384da34e30688d1a217859c5cf68ca3bd (diff) | |
feat: add sheet management system for vaults
- Add Sheet struct with holder, inputs, and mapping functionality
- Implement SheetData with serialization support
- Add sheets.rs with vault sheet management methods:
- Load all sheets in vault
- Search for sheet names
- Read individual sheets
- Create new sheets with validation
- Delete sheets (both permanently and safely to trash)
- Restore sheets from trash
- Update data module to include sheet submodule
- Minor fixes and improvements to related modules
Diffstat (limited to 'crates/vcs/src/constants.rs')
| -rw-r--r-- | crates/vcs/src/constants.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/vcs/src/constants.rs b/crates/vcs/src/constants.rs index bc30672..05fcd1f 100644 --- a/crates/vcs/src/constants.rs +++ b/crates/vcs/src/constants.rs @@ -12,6 +12,7 @@ pub const PORT: u16 = 25331; pub const SERVER_FILE_VAULT: &str = "./vault.toml"; // crates::env::vault::vault_config // Server - Sheets +pub const REF_SHEET_NAME: &str = "ref"; pub const SERVER_PATH_SHEETS: &str = "./sheets/"; pub const SERVER_FILE_SHEET: &str = "./sheets/{sheet-name}.yaml"; |
