Skip to content

Commit

Permalink
feat(metric-issues): Add open period to BaseGroup response (#83005)
Browse files Browse the repository at this point in the history
Adding the `openPeriods` field from
#82978 to the response in the
frontend.
  • Loading branch information
snigdhas authored Jan 7, 2025
1 parent db6c122 commit eb0a390
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions static/app/types/group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -824,11 +824,19 @@ export interface BaseGroup {
integrationIssues?: ExternalIssue[];
latestEvent?: Event;
latestEventHasAttachments?: boolean;
openPeriods?: GroupOpenPeriod[] | null;
owners?: SuggestedOwner[] | null;
sentryAppIssues?: PlatformExternalIssue[];
substatus?: GroupSubstatus | null;
}

export interface GroupOpenPeriod {
duration: string;
end: string;
isOpen: boolean;
start: string;
}

export interface GroupReprocessing extends BaseGroup, GroupStats {
status: GroupStatus.REPROCESSING;
statusDetails: ReprocessingStatusDetails;
Expand Down

0 comments on commit eb0a390

Please sign in to comment.