diff --git a/services/commtest/src/backup_utils.rs b/services/commtest/src/backup_utils.rs new file mode 100644 --- /dev/null +++ b/services/commtest/src/backup_utils.rs @@ -0,0 +1,16 @@ +pub mod proto { + tonic::include_proto!("backup"); +} + +pub use proto::backup_service_client::BackupServiceClient; + +pub use proto::{ + create_new_backup_request::Data::{ + DeviceId, KeyEntropy, NewCompactionChunk, NewCompactionHash, + UserId as CreateNewBackupUserId, + }, + send_log_request::Data::{ + BackupId, LogData, LogHash, UserId as SendLogUserId, + }, + CreateNewBackupRequest, SendLogRequest, +};