Skip to content

Commit

Permalink
regen
Browse files Browse the repository at this point in the history
  • Loading branch information
mastercactapus committed May 14, 2024
1 parent ff2ccc5 commit 1a485e7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions graphql2/models_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions graphql2/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -1209,6 +1209,9 @@ type OnCallOverview {
}

type OnCallServiceAssignment {
"""
stepNumber is the escalation step this assignment is from (begining with 0).
"""
stepNumber: Int!

escalationPolicyID: ID!
Expand Down
14 changes: 14 additions & 0 deletions web/src/schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,19 @@ export interface OnCallNotificationRuleInput {
weekdayFilter?: null | WeekdayFilter
}

export interface OnCallOverview {
serviceAssignments: OnCallServiceAssignment[]
serviceCount: number
}

export interface OnCallServiceAssignment {
escalationPolicyID: string
escalationPolicyName: string
serviceID: string
serviceName: string
stepNumber: number
}

export interface OnCallShift {
end: ISOTimestamp
start: ISOTimestamp
Expand Down Expand Up @@ -1337,6 +1350,7 @@ export interface User {
isFavorite: boolean
name: string
notificationRules: UserNotificationRule[]
onCallOverview: OnCallOverview
onCallSteps: EscalationPolicyStep[]
role: UserRole
sessions: UserSession[]
Expand Down

0 comments on commit 1a485e7

Please sign in to comment.