From 034e351ee2c785db141e5c115c75945264dde493 Mon Sep 17 00:00:00 2001 From: Tony McCrae Date: Fri, 6 Oct 2023 14:51:28 +0100 Subject: [PATCH] Spike - add Recipe Element type to content model. Allows CAPI to accept and pass on inline Recipe Elements. --- models/src/main/thrift/content/v1.thrift | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/models/src/main/thrift/content/v1.thrift b/models/src/main/thrift/content/v1.thrift index 70e91198..4fbdea01 100644 --- a/models/src/main/thrift/content/v1.thrift +++ b/models/src/main/thrift/content/v1.thrift @@ -144,6 +144,8 @@ enum ElementType { CARTOON = 21 + RECIPE = 22 + } enum TagType { @@ -808,6 +810,12 @@ struct CodeElementFields { } +struct RecipeElementFields { + + 1: optional string src + +} + struct CalloutElementFields { 1: optional string campaignId @@ -919,6 +927,8 @@ struct BlockElement { 24: optional CartoonElementFields cartoonTypeData + 25: optional RecipeElementFields recipeTypeData + } struct MembershipPlaceholder {