Skip to content

Commit

Permalink
reverted the field renumbering
Browse files Browse the repository at this point in the history
  • Loading branch information
manjutapali committed Jul 9, 2024
1 parent 759ca84 commit 5aeb6d3
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ message FormField {
string label = 2;
bool required = 3;
optional string description = 4;
optional string default_value = 5;
optional string placeholder = 6;
oneof type {
TextField text_field = 7;
DropdownField dropdown_field = 8;
ToggleField toggle_field = 9;
TextField text_field = 5;
DropdownField dropdown_field = 6;
ToggleField toggle_field = 7;
}
optional string default_value = 8;
optional string placeholder = 9;
}

message DropdownField {
Expand Down Expand Up @@ -80,14 +80,14 @@ enum DataType {
DECIMAL = 5;
FLOAT = 6;
DOUBLE = 7;
NAIVE_TIME = 8;
NAIVE_DATE = 9;
NAIVE_DATETIME = 10;
UTC_DATETIME = 11;
BINARY = 12;
XML = 13;
STRING = 14;
JSON = 15;
NAIVE_DATE = 8;
NAIVE_DATETIME = 9;
UTC_DATETIME = 10;
BINARY = 11;
XML = 12;
STRING = 13;
JSON = 14;
NAIVE_TIME = 15;
}

message DataTypeParams {
Expand Down Expand Up @@ -118,15 +118,15 @@ message ValueType {
int64 long = 5;
float float = 6;
double double = 7;
google.protobuf.Timestamp naive_time = 8;
google.protobuf.Timestamp naive_date = 9;
google.protobuf.Timestamp naive_datetime = 10;
google.protobuf.Timestamp utc_datetime = 11;
string decimal = 12;
bytes binary = 13;
string string = 14;
string json = 15;
string xml = 16;
google.protobuf.Timestamp naive_date = 8;
google.protobuf.Timestamp naive_datetime = 9;
google.protobuf.Timestamp utc_datetime = 10;
string decimal = 11;
bytes binary = 12;
string string = 13;
string json = 14;
string xml = 15;
google.protobuf.Timestamp naive_time = 16;
}
}

Expand Down

0 comments on commit 5aeb6d3

Please sign in to comment.