insights: add SeriesId to InsightSeries return type
Created by: CristinaBirkel
Closes #26378 (closed)
Description
Adds the seriesId
to the InsightSeries
so that it can be matched up with the series metadata in the dataSeriesDefinitions
and seriesPresentation
fields.
Testing Steps
Run a query like this and make sure the seriesId
matches up between the 3 different locations listed above.
query {
insightsDashboards(first:1) {
nodes {
id,
title,
views {
nodes {
id,
dataSeries {
seriesId,
}
dataSeriesDefinitions {
... on SearchInsightDataSeriesDefinition {
seriesId,
}
}
presentation {
... on LineChartInsightViewPresentation {
seriesPresentation {
seriesId,
}
}
}
}
}
}
}
}