syntax = "proto3";
import "cell_entities.proto";

message SingleSelectTypeOption {
    repeated SelectOption options = 1;
    bool disable_color = 2;
}
message MultiSelectTypeOption {
    repeated SelectOption options = 1;
    bool disable_color = 2;
}
message SelectOption {
    string id = 1;
    string name = 2;
    SelectOptionColor color = 3;
}
message SelectOptionChangesetPayload {
    CellIdentifierPayload cell_identifier = 1;
    oneof one_of_insert_option { SelectOption insert_option = 2; };
    oneof one_of_update_option { SelectOption update_option = 3; };
    oneof one_of_delete_option { SelectOption delete_option = 4; };
}
message SelectOptionCellChangesetPayload {
    CellIdentifierPayload cell_identifier = 1;
    oneof one_of_insert_option_id { string insert_option_id = 2; };
    oneof one_of_delete_option_id { string delete_option_id = 3; };
}
message SelectOptionCellData {
    repeated SelectOption options = 1;
    repeated SelectOption select_options = 2;
}
enum SelectOptionColor {
    Purple = 0;
    Pink = 1;
    LightPink = 2;
    Orange = 3;
    Yellow = 4;
    Lime = 5;
    Green = 6;
    Aqua = 7;
    Blue = 8;
}
