Skip to content

Commit 55e6bef

Browse files
authored
Merge pull request #549 from middlewarehq/fix/dora-reponse-type
Fix type of the response
2 parents 3b6c7af + fc97c81 commit 55e6bef

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

web-server/src/types/resources.ts

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -926,16 +926,9 @@ export type DeploymentFrequencyBaseStatsV2 = {
926926
};
927927

928928
export type UpdatedDeploymentFrequencyAnalyticsResponseV2 =
929-
UserAndTeamMapApiReturnType &
930-
DeploymentFrequencyBaseStatsV2 & {
931-
team_analytics: Array<{ team_id: ID } & DeploymentFrequencyBaseStatsV2>;
932-
manager_analytics: Array<
933-
{
934-
manager_id: ID;
935-
team_ids: ID[];
936-
} & DeploymentFrequencyBaseStatsV2
937-
>;
938-
};
929+
DeploymentFrequencyBaseStats &
930+
UserAndTeamMapApiReturnType &
931+
DeploymentFrequencyBaseStatsV2;
939932

940933
export type UpdatedDeployment = {
941934
id: string;

0 commit comments

Comments
 (0)