diff --git a/Templates/ExternalEvent.stencil b/Templates/ExternalEvent.stencil index 22f2507..99926dc 100644 --- a/Templates/ExternalEvent.stencil +++ b/Templates/ExternalEvent.stencil @@ -32,7 +32,7 @@ import Analytics } {% endif %} - var edition: [AnalyticsEventEdition] { + {{ accessModifier }} var edition: [AnalyticsEventEdition] { {% if edition %} {% map edition into enumValueEdition %}.{{ maploop.item }}{% endmap %} [{{ enumValueEdition|join:", " }}] diff --git a/Templates/InternalEvent.stencil b/Templates/InternalEvent.stencil index 127a93d..3883a99 100644 --- a/Templates/InternalEvent.stencil +++ b/Templates/InternalEvent.stencil @@ -23,7 +23,7 @@ import Analytics */ {{ accessModifier }} struct {{ structName }}: {{ protocol }} { - var edition: [AnalyticsEventEdition] { + {{ accessModifier }} var edition: [AnalyticsEventEdition] { {% if edition %} {% map edition into enumValueEdition %}.{{ maploop.item }}{% endmap %} [{{ enumValueEdition|join:", " }}]