Skip to content

Commit 8e973ae

Browse files
committed
Refactor variable names to be consistent
1 parent 8033b9e commit 8e973ae

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

common/concept.proto

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ message ThingType {
555555
}
556556
message Res {
557557
oneof res {
558-
Type type = 1;
558+
Type attribute_type = 1;
559559
}
560560
}
561561
}
@@ -581,14 +581,14 @@ message ThingType {
581581
message GetPlays {
582582
message Req {}
583583
message ResPart {
584-
repeated Type roles = 1;
584+
repeated Type role_types = 1;
585585
}
586586
}
587587

588588
message GetPlaysExplicit {
589589
message Req {}
590590
message ResPart {
591-
repeated Type roles = 1;
591+
repeated Type role_types = 1;
592592
}
593593
}
594594

@@ -605,17 +605,17 @@ message ThingType {
605605

606606
message SetPlays {
607607
message Req {
608-
Type role = 1;
608+
Type role_type = 1;
609609
oneof overridden {
610-
Type overridden_role = 2;
610+
Type overridden_type = 2;
611611
}
612612
}
613613
message Res {}
614614
}
615615

616616
message UnsetPlays {
617617
message Req {
618-
Type role = 1;
618+
Type role_type = 1;
619619
}
620620
message Res {}
621621
}
@@ -647,7 +647,7 @@ message RelationType {
647647
message GetRelates {
648648
message Req {}
649649
message ResPart {
650-
repeated Type roles = 1;
650+
repeated Type role_types = 1;
651651
}
652652
}
653653

@@ -718,7 +718,7 @@ message AttributeType {
718718
bool only_key = 1;
719719
}
720720
message ResPart {
721-
repeated Type owners = 1;
721+
repeated Type thing_types = 1;
722722
}
723723
}
724724

@@ -727,7 +727,7 @@ message AttributeType {
727727
bool only_key = 1;
728728
}
729729
message ResPart {
730-
repeated Type owners = 1;
730+
repeated Type thing_types = 1;
731731
}
732732
}
733733

@@ -752,7 +752,7 @@ message AttributeType {
752752
}
753753
}
754754
message ResPart {
755-
repeated Type types = 1;
755+
repeated Type attribute_types = 1;
756756
}
757757
}
758758

@@ -763,7 +763,7 @@ message AttributeType {
763763
}
764764
}
765765
message ResPart {
766-
repeated Thing things = 1;
766+
repeated Thing attributes = 1;
767767
}
768768
}
769769
}

0 commit comments

Comments
 (0)