diff options
| author | diogo464 <[email protected]> | 2025-08-14 15:34:42 +0100 |
|---|---|---|
| committer | diogo464 <[email protected]> | 2025-08-14 15:34:42 +0100 |
| commit | 6c70d6a60b286f7cfbbde4e428d41c8de2c7e77a (patch) | |
| tree | c5047911c102f885af3671418477231a4a2351f4 /frontend/lib/storage.ts | |
| parent | a9f1dbeed109b175fbf78e18a1ede3eba44924f8 (diff) | |
feat: improve DriveLogEntry types with discriminated unions
- Replace generic DriveLogEntry with action-specific discriminated unions
- Add DriveLogEntryCreateFile, CreateDir, Remove, Rename types
- Update Drive_log parsing to create correct union types based on action
- Add type guards (isCreateFileEntry, isRenameEntry, etc.) for safe access
- Enhance History UI to properly display rename operations (old → new)
- Change log_id to revision to match Rust OperationHeader structure
- Improve type safety and maintainability
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
Diffstat (limited to 'frontend/lib/storage.ts')
0 files changed, 0 insertions, 0 deletions
