mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 06:10:44 +08:00
Flatten Action with serde instead of ts_rs
This commit is contained in:
@@ -56,7 +56,7 @@ impl Issue {
|
||||
pub struct Operation {
|
||||
#[ts(as = "String")]
|
||||
pub entry_id: git::Oid,
|
||||
#[ts(flatten)]
|
||||
#[serde(flatten)]
|
||||
pub action: Action,
|
||||
#[ts(type = "number")]
|
||||
pub timestamp: cob::Timestamp,
|
||||
|
||||
Reference in New Issue
Block a user