Skip to content

Commit

Permalink
structure version -> proto version
Browse files Browse the repository at this point in the history
  • Loading branch information
anandwana001 committed Aug 10, 2021
1 parent a69a240 commit b41cf7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion proto/v1/structure/concept_card.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ message ConceptCard {
WrittenTranslations written_translations = 7;
ReferencedImageList referenced_image_list = 8;

// Structure version corresponds to ConceptCardStructureVersion.
// Proto version corresponds to ConceptCardStructureVersion.
message WorkedExample {
SubtitledHtml question = 1;
SubtitledHtml explanation = 2;
Expand Down
8 changes: 4 additions & 4 deletions proto/v1/structure/topic_summary.proto
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ message TopicSummary {
int32 content_version = 11;
}

// Structure version corresponds to TopicSummaryStructureVersion.
// Proto version corresponds to TopicSummaryStructureVersion.
message StorySummary {
string id = 1;
string title = 2;
Expand All @@ -35,22 +35,22 @@ message StorySummary {
int32 content_version = 6;
}

// Structure version corresponds to TopicSummaryStructureVersion.
// Proto version corresponds to TopicSummaryStructureVersion.
message ChapterSummary {
Thumbnail thumbnail = 1; // TODO
string title = 2;
string exploration_id = 3;
int32 content_version = 4;
}

// Structure version corresponds to TopicSummaryStructureVersion.
// Proto version corresponds to TopicSummaryStructureVersion.
message SubtopicSummary {
int32 index = 1;
repeated SkillSummary skill_summaries = 2;
int32 content_version = 3;
}

// Structure version corresponds to TopicSummaryStructureVersion.
// Proto version corresponds to TopicSummaryStructureVersion.
message SkillSummary {
string id = 1;
string name = 2;
Expand Down

0 comments on commit b41cf7d

Please sign in to comment.