use serde::Deserialize; use uuid::Uuid; #[derive(Debug, Clone, Deserialize)] pub struct ProjectPath { pub space_id: Uuid, pub project_id: Uuid, } #[derive(Debug, Clone, Deserialize)] pub struct MemberPath { pub space_id: Uuid, pub project_id: Uuid, pub user_id: Uuid, } #[derive(Debug, Clone, Deserialize)] pub struct ViewPath { pub space_id: Uuid, pub project_id: Uuid, pub view_id: Uuid, } #[derive(Debug, Clone, Deserialize)] pub struct DocumentPath { pub space_id: Uuid, pub project_id: Uuid, pub doc_id: Uuid, } #[derive(Debug, Clone, Deserialize)] pub struct LinkPath { pub space_id: Uuid, pub project_id: Uuid, pub link_id: Uuid, } #[derive(Debug, Clone, Deserialize)] pub struct FavoritePath { pub space_id: Uuid, pub project_id: Uuid, pub favorite_id: Uuid, }