Switch ProjectGrowthAlertData to expect ISO 8601 quarter format

This commit is contained in:
Tim Hansen
2020-10-23 12:54:52 -06:00
parent 1760e6af12
commit 66e503cea9
4 changed files with 16 additions and 14 deletions
@@ -278,8 +278,8 @@ export class ExampleCostInsightsClient implements CostInsightsApi {
async getAlerts(group: string): Promise<Alert[]> {
const projectGrowthData: ProjectGrowthData = {
project: 'example-project',
periodStart: 'Q2 2020',
periodEnd: 'Q3 2020',
periodStart: '2020-Q2',
periodEnd: '2020-Q3',
aggregation: [60_000, 120_000],
change: {
ratio: 1,