mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 09:05:10 -07:00
* [Server] Add deck share links and public deck visibility * Address server review comments for deck share links * Document transaction teardown in deck share rollback paths * Address second round of deck share review comments --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
13 lines
447 B
Protocol Buffer
13 lines
447 B
Protocol Buffer
syntax = "proto2";
|
|
import "session_commands.proto";
|
|
|
|
message Command_DeckSetVisibility {
|
|
extend SessionCommand {
|
|
optional Command_DeckSetVisibility ext = 1030;
|
|
}
|
|
// Set the public visibility of a single deck (mutually exclusive with folder_path).
|
|
optional uint32 deck_id = 1;
|
|
// Set the public visibility of a folder (all decks under it inherit).
|
|
optional string folder_path = 2;
|
|
optional bool is_public = 3;
|
|
}
|