Skip to content

Commit

Permalink
Merge pull request #247 from guardian/expand-list-model
Browse files Browse the repository at this point in the history
Expand list model to include fields required by Mini profiles and Multi-byline formats
  • Loading branch information
simonbyford authored Jun 14, 2024
2 parents 42e9462 + 816f303 commit 78a2c68
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions models/src/main/thrift/content/v1.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,8 @@ struct RecipeElementFields {
enum ListType {
KEY_TAKEAWAYS = 1,
Q_AND_A_EXPLAINER = 2,
MINI_PROFILES = 3,
MULTI_BYLINE = 4,
}

struct ListItem {
Expand All @@ -894,6 +896,18 @@ struct ListItem {

2: optional string title;

3: optional list<Tag> contributors;

4: optional string bio;

5: optional string contributorImageOverrideUrl;

6: optional string endNote;

7: optional string byline;

8: optional string bylineHtml;

}

struct ListElementFields {
Expand Down

0 comments on commit 78a2c68

Please sign in to comment.