Address server review comments for deck share links

This commit is contained in:
Lukas Brübach 2026-09-18 22:56:51 +02:00 • committed by GitHub
parent 5d0a23dffb
commit b7e4afa399
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 348 additions and 66 deletions

View file

@ -9,11 +9,9 @@ message Command_DeckUpload {
optional uint32 deck_id = 2; // to replace an existing deck
optional string deck_list = 3;
optional bool is_public = 4; // mark the deck public on upload (publish)
// Preview metadata computed by the uploading client (see ServerInfo_DeckStorage_File).
optional string banner_card_name = 5;
optional string banner_card_provider = 6;
// The server derives the banner card and tags from deck_list, so clients only
// need to send the color identity, which cannot be computed server-side.
reserved 5, 6, 8;
reserved "banner_card_name", "banner_card_provider", "tags";
optional string color_identity = 7;
// Comma-separated list of tag names associated with the deck, used to render
// and filter another user's public decks on the client.
optional string tags = 8;
}