Skip to content

Commit

Permalink
feat: use additionalProperties instead [MA-3442]
Browse files Browse the repository at this point in the history
  • Loading branch information
mihai-peteu committed Dec 4, 2024
1 parent 8861921 commit 01d5d4e
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,9 @@ export const timeseriesChartSchema = {
},
threshold: {
type: 'object',
properties: Object.fromEntries(
exploreAggregations.map((key) => [key, { type: 'number' }]),
),
additionalProperties: false,
additionalProperties: {
type: 'number',
},
},
chartDatasetColors: chartDatasetColorsSchema,
syntheticsDataKey,
Expand Down

0 comments on commit 01d5d4e

Please sign in to comment.