Skip to content

Commit

Permalink
union type
Browse files Browse the repository at this point in the history
  • Loading branch information
codabrink committed Jan 10, 2025
1 parent a5136bb commit 9554767
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions proto/device_sync/device_sync.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
syntax = "proto3";
package xmtp.device_sync;

import "device_sync/group_backup.proto";
import "device_sync/message_backup.proto";
import "device_sync/consent_backup.proto";

message BackupElement {
oneof element {
xmtp.device_sync.group_backup.GroupSave group = 1;
xmtp.device_sync.message_backup.MessageSave message = 2;
xmtp.device_sync.consent_backup.ConsentSave consent = 3;
}
}

0 comments on commit 9554767

Please sign in to comment.