use serde::{Deserialize, Serialize};
#[cfg_attr(feature = "export", derive(tsify::Tsify))]
#[cfg_attr(feature = "export", tsify(into_wasm_abi, from_wasm_abi))]
#[derive(Default, Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct CommentableMeta {
pub current_user_attributes: Option<CurrentUserAttributes>,
pub id: Option<u32>,
pub owner_id: Option<u32>,
pub owner_title: Option<String>,
pub title: String,
#[serde(rename = "type")]
pub object_type: Option<String>,
pub url: Option<String>,
}
#[cfg_attr(feature = "export", derive(tsify::Tsify))]
#[cfg_attr(feature = "export", tsify(into_wasm_abi, from_wasm_abi))]
#[derive(Default, Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct CurrentUserAttributes {
pub can_new_comment_reason: Option<String>,
}