github.com/pluralsh/plural-cli@v0.9.5/pkg/ui/web/src/graphql/incidents.graphql (about)

     1  fragment Postmortem on Postmortem {
     2    id
     3    content
     4    actionItems { type link }
     5  }
     6  
     7  fragment Follower on Follower {
     8    id
     9    incident { id }
    10    user { ...User }
    11    preferences { message incidentUpdate mention }
    12  }
    13  
    14  #TODO: not that this was changed as it needs to be unique. Whatever queries/mutations use this fragment needs to be updated
    15  fragment SlimSubscription on SlimSubscription {
    16    id
    17    lineItems { items { dimension quantity } }
    18    plan { ...Plan }
    19  }
    20  
    21  
    22  fragment ClusterInformation on ClusterInformation {
    23    version
    24    gitCommit
    25    platform
    26  }
    27  
    28  
    29  fragment Incident on Incident {
    30    id
    31    title
    32    description
    33    severity
    34    status
    35    notificationCount
    36    nextResponseAt
    37    creator { ...User }
    38    owner { ...User }
    39    repository { ...Repo }
    40    subscription { ...SlimSubscription }
    41    clusterInformation { ...ClusterInformation }
    42    tags { tag }
    43    insertedAt
    44  }
    45  
    46  fragment IncidentHistory on IncidentHistory {
    47    id
    48    action
    49    changes { key prev next }
    50    actor { ...User }
    51    insertedAt
    52  }
    53  
    54  fragment File on File {
    55    id
    56    blob
    57    mediaType
    58    contentType
    59    filesize
    60    filename
    61  }
    62  
    63  fragment IncidentMessage on IncidentMessage {
    64    id
    65    text
    66    creator { ...User }
    67    reactions { name creator { id email } }
    68    file { ...File }
    69    entities { type user { ...User } text startIndex endIndex }
    70    insertedAt
    71  }
    72  
    73  fragment Notification on Notification {
    74    id
    75    type
    76    msg
    77    actor { ...User }
    78    incident { id title repository { id name icon darkIcon } }
    79    message { text }
    80    repository { id name icon darkIcon }
    81    insertedAt
    82  }