1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-05 19:42:03 +02:00
librespot/protocol/proto/policy/user_decoration_policy.proto
Felix Prillwitz 2a574267ae
Update protobuf files (#1424)
* update protobuf definitions

* add additionally required proto files

* update version.rs

* adjust code to protobuf changes

* fix formatting

* apply suggestions, improve errors
2024-12-24 09:39:49 +01:00

32 lines
709 B
Protocol Buffer

// Extracted from: Spotify 1.2.52.442 (windows)
syntax = "proto3";
package spotify.playlist.cosmos.proto;
option java_multiple_files = true;
option optimize_for = CODE_SIZE;
option java_package = "com.spotify.playlist.policy.proto";
message UserDecorationPolicy {
bool username = 1;
bool link = 2;
bool name = 3;
bool image = 4;
bool thumbnail = 5;
bool color = 6;
}
message CollaboratorPolicy {
UserDecorationPolicy user = 1;
bool number_of_items = 2;
bool number_of_tracks = 3;
bool number_of_episodes = 4;
bool is_owner = 5;
}
message CollaboratingUsersDecorationPolicy {
bool count = 1;
int32 limit = 2;
CollaboratorPolicy collaborator = 3;
}