@@ -11,6 +11,7 @@ type EventNewAppTypeData struct {
1111
1212type EventNewAppType struct {
1313 Event
14+
1415 TypeData EventNewAppTypeData `json:"type_data"`
1516}
1617
@@ -24,6 +25,7 @@ type EventEditAppTypeData struct {
2425
2526type EventEditAppType struct {
2627 Event
28+
2729 TypeData EventEditAppTypeData `json:"type_data"`
2830}
2931
@@ -54,6 +56,7 @@ type EventRenameAppTypeData struct {
5456
5557type EventRenameAppType struct {
5658 Event
59+
5760 TypeData EventRenameAppTypeData `json:"type_data"`
5861}
5962
@@ -73,6 +76,7 @@ type EventUpdateAppProjectTypeData struct {
7376
7477type EventUpdateAppProjectType struct {
7578 Event
79+
7680 TypeData EventUpdateAppProjectTypeData `json:"type_data"`
7781}
7882
@@ -90,6 +94,7 @@ type EventTransferAppTypeData struct {
9094
9195type EventTransferAppType struct {
9296 Event
97+
9398 TypeData EventTransferAppTypeData `json:"type_data"`
9499}
95100
@@ -107,6 +112,7 @@ type EventRestartTypeData struct {
107112
108113type EventRestartType struct {
109114 Event
115+
110116 TypeData EventRestartTypeData `json:"type_data"`
111117}
112118
@@ -119,7 +125,7 @@ func (ev *EventRestartType) String() string {
119125
120126func (ev * EventRestartType ) Who () string {
121127 if ev .TypeData .AddonName != "" {
122- return fmt . Sprintf ( "Addon %s" , ev .TypeData .AddonName )
128+ return "Addon " + ev .TypeData .AddonName
123129 }
124130 return ev .Event .Who ()
125131}
@@ -130,6 +136,7 @@ type EventStopAppTypeData struct {
130136
131137type EventStopAppType struct {
132138 Event
139+
133140 TypeData EventStopAppTypeData `json:"type_data"`
134141}
135142
@@ -152,6 +159,7 @@ type EventScaleTypeData struct {
152159
153160type EventScaleType struct {
154161 Event
162+
155163 TypeData EventScaleTypeData `json:"type_data"`
156164}
157165
@@ -171,6 +179,7 @@ type EventCrashTypeData struct {
171179
172180type EventCrashType struct {
173181 Event
182+
174183 TypeData EventCrashTypeData `json:"type_data"`
175184}
176185
@@ -192,6 +201,7 @@ type EventRepeatedCrashTypeData struct {
192201
193202type EventRepeatedCrashType struct {
194203 Event
204+
195205 TypeData EventRepeatedCrashTypeData `json:"type_data"`
196206}
197207
@@ -216,6 +226,7 @@ type EventDeploymentTypeData struct {
216226
217227type EventDeploymentType struct {
218228 Event
229+
219230 TypeData EventDeploymentTypeData `json:"type_data"`
220231}
221232
0 commit comments