Introduce a shared enum-based system for categorizing message types across the Rust backend and JavaScript frontend. This replaces magic numbers with named constants for improved type safety, readability, and maintainability. The implementation includes: - Rust MessageType enum with serialization support - JavaScript constants matching the Rust enum values - Helper |
||
|---|---|---|
| .. | ||
| admin.rs | ||
| analytics.rs | ||
| message_types.rs | ||
| mod.rs | ||
| models.rs | ||
| schema.rs | ||
| state.rs | ||
| utils.rs | ||