Tunglies 7ede91599c fix: standardize RunningMode handling between frontend and backend
This commit improves the type consistency between the Rust backend and TypeScript frontend by:

1. Modifying the Rust `get_running_mode()` command to return a String instead of RunningMode enum directly
2. Removing the RunningMode enum and IRunningMode interface from TypeScript types
3. Using string literals for mode comparison in frontend components
4. Standardizing on capitalized mode names (e.g., "Sidecar" instead of "sidecar")

These changes ensure proper serialization/deserialization between backend and frontend,
making the code more maintainable and reducing potential inconsistencies.
2025-03-26 22:04:16 +08:00
..
2025-02-27 03:18:23 +08:00
2024-06-20 13:50:28 +08:00
2024-09-11 08:15:03 +08:00
2022-11-12 11:37:23 +08:00
2025-03-26 01:51:19 +08:00
2025-03-26 01:51:19 +08:00
2022-11-12 11:37:23 +08:00
2025-03-26 01:51:19 +08:00