use nil_core::continent::Coord;
use nil_core::infrastructure::building::r#impl::stable::recruit_queue::{
StableRecruitOrderId,
StableRecruitOrderRequest,
};
use nil_core::world::config::WorldId;
use serde::{Deserialize, Serialize};
#[cfg(feature = "typescript")]
use ts_rs::TS;
#[derive(Clone, Debug, Deserialize, Serialize)]
#[serde(rename_all = "camelCase")]
#[cfg_attr(feature = "typescript", derive(TS))]
#[cfg_attr(feature = "typescript", ts(export))]
pub struct AddStableRecruitOrderRequest {
pub world: WorldId,
pub request: StableRecruitOrderRequest,
}
#[derive(Clone, Debug, Deserialize, Serialize)]
#[serde(rename_all = "camelCase")]
#[cfg_attr(feature = "typescript", derive(TS))]
#[cfg_attr(feature = "typescript", ts(export))]
pub struct CancelStableRecruitOrderRequest {
pub world: WorldId,
pub coord: Coord,
pub id: StableRecruitOrderId,
}
#[derive(Clone, Debug, Deserialize, Serialize)]
#[serde(rename_all = "camelCase")]
#[cfg_attr(feature = "typescript", derive(TS))]
#[cfg_attr(feature = "typescript", ts(export))]
pub struct GetStableRecruitCatalogRequest {
pub world: WorldId,
pub coord: Coord,
}