mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-16 06:34:20 +01:00
fix js bindings
This commit is contained in:
@@ -48,6 +48,8 @@ pub enum GeneratorResponse {
|
||||
last_pull_unix_time: Option<i64>,
|
||||
last_push_unix_time: Option<i64>,
|
||||
revision: Option<String>,
|
||||
network_sent_bytes: i64,
|
||||
network_received_bytes: i64,
|
||||
},
|
||||
SyncEngineChanges {
|
||||
changes: SyncEngineChanges,
|
||||
|
||||
@@ -333,6 +333,8 @@ impl SyncEngine {
|
||||
last_pull_unix_time: stats.last_pull_unix_time,
|
||||
last_push_unix_time: stats.last_push_unix_time,
|
||||
revision: stats.revision,
|
||||
network_sent_bytes: stats.network_sent_bytes as i64,
|
||||
network_received_bytes: stats.network_received_bytes as i64,
|
||||
}))
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user