1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# frozen_string_literal: true
module Types
module IncidentManagement
class TimelineEventType < BaseObject
graphql_name 'TimelineEventType'
description 'Describes an incident management timeline event'
authorize :read_incident_management_timeline_event
field :id,
Types::GlobalIDType[::IncidentManagement::TimelineEvent],
null: false,
description: 'ID of the timeline event.'
field :author,
Types::UserType,
null: true,
description: 'User that created the timeline event.'
field :updated_by_user,
Types::UserType,
null: true,
description: 'User that updated the timeline event.'
field :incident,
Types::IssueType,
null: false,
description: 'Incident of the timeline event.'
field :note,
GraphQL::Types::String,
null: true,
description: 'Text note of the timeline event.'
field :note_html,
GraphQL::Types::String,
null: true,
description: 'HTML note of the timeline event.'
field :promoted_from_note,
Types::Notes::NoteType,
null: true,
description: 'Note from which the timeline event was created.'
field :editable,
GraphQL::Types::Boolean,
null: false,
description: 'Indicates the timeline event is editable.'
field :action,
GraphQL::Types::String,
null: false,
description: 'Indicates the timeline event icon.'
field :occurred_at,
Types::TimeType,
null: false,
description: 'Timestamp when the event occurred.'
field :created_at,
Types::TimeType,
null: false,
description: 'Timestamp when the event created.'
field :updated_at,
Types::TimeType,
null: false,
description: 'Timestamp when the event updated.'
end
end
end
|