@smbcloud / cli / commits / 4daca18

export deployment to ts

Seto committed Oct 10, 2025 at 20:23 UTC 4daca18eaa6ccfc7a5ab73c2fbb639f822fe3aa4
1 file changed +2
crates/smbcloud-model/src/project.rs
+2
@@ -37,6 +37,7 @@ pub struct ProjectCreate {
37 }
38
39 #[derive(Deserialize, Serialize, Debug)]
40 +#[tsync]
41 pub struct Deployment {
42 pub id: i32,
43 pub project_id: i32,
@@ -56,6 +57,7 @@ pub struct DeploymentPayload {
57
58 #[derive(Deserialize_repr, Serialize_repr, Debug, Clone, Copy)] // Added Clone, Copy
59 #[repr(u8)]
60 +#[tsync]
61 pub enum DeploymentStatus {
62 Started = 0,
63 Failed,