Skip to content

Commit c8b169d

Browse files
authored
feat(environmental_impact): add yearly_summary_reports field to impact report availability messages (#2695)
1 parent 1fc0173 commit c8b169d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

packages_generated/environmental_footprint/src/v1alpha1/marshalling.gen.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ export const unmarshalImpactReportAvailability = (
126126
data.month_summary_reports,
127127
unmarshalDate,
128128
),
129+
yearlySummaryReports: unmarshalArrayOfObject(
130+
data.yearly_summary_reports,
131+
unmarshalDate,
132+
),
129133
} as ImpactReportAvailability
130134
}
131135

packages_generated/environmental_footprint/src/v1alpha1/types.gen.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@ export interface ImpactReportAvailability {
120120
* The list of calendar months for which impact reports are available.
121121
*/
122122
monthSummaryReports: Date[]
123+
/**
124+
* The list of calendar years for which impact reports are available.
125+
*/
126+
yearlySummaryReports: Date[]
123127
}
124128

125129
export type UserApiDownloadImpactReportRequest = {

0 commit comments

Comments
 (0)