Skip to content

Commit 5abb723

Browse files
committed
wip
1 parent 53c35f8 commit 5abb723

File tree

3 files changed

+15
-17
lines changed

3 files changed

+15
-17
lines changed

proto/device_sync/backup.proto

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
syntax = "proto3";
2+
package xmtp.device_sync.blob_backup;
3+
4+
option java_package = "org.xmtp.proto.device_sync";
5+
6+
message SnapshotSave {
7+
bytes snapshot = 1;
8+
}
9+
10+
message KeypackageSave {
11+
bytes keypackage = 1;
12+
}

proto/device_sync/blob_backup.proto

Lines changed: 0 additions & 15 deletions
This file was deleted.

proto/device_sync/device_sync.proto

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
syntax = "proto3";
33
package xmtp.device_sync;
44

5-
import "device_sync/blob_backup.proto";
5+
import "device_sync/backup.proto";
66
import "device_sync/consent_backup.proto";
77
import "device_sync/event_backup.proto";
88
import "device_sync/group_backup.proto";
@@ -20,7 +20,8 @@ message BackupElement {
2020
xmtp.device_sync.consent_backup.ConsentSave consent = 4;
2121
xmtp.device_sync.event_backup.EventSave event = 5;
2222
xmtp.identity.associations.IdentityUpdate identity_updates = 6;
23-
xmtp.device_sync.blob_backup.BlobSave blob = 7;
23+
xmtp.device_sync.backup.SnapshotSave snapshot = 7;
24+
xmtp.device_sync.backup.KeypackageSave keypackage = 7;
2425
}
2526
}
2627

0 commit comments

Comments
 (0)