summaryrefslogtreecommitdiff
path: root/doc/api/graphql/reference/gitlab_schema.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/graphql/reference/gitlab_schema.graphql')
-rw-r--r--doc/api/graphql/reference/gitlab_schema.graphql216
1 files changed, 214 insertions, 2 deletions
diff --git a/doc/api/graphql/reference/gitlab_schema.graphql b/doc/api/graphql/reference/gitlab_schema.graphql
index 8880c26fe3c..233cc427966 100644
--- a/doc/api/graphql/reference/gitlab_schema.graphql
+++ b/doc/api/graphql/reference/gitlab_schema.graphql
@@ -1639,7 +1639,7 @@ type BoardEdge {
"""
Represents an epic on an issue board
"""
-type BoardEpic implements CurrentUserTodos & Noteable {
+type BoardEpic implements CurrentUserTodos & Eventable & Noteable {
"""
Author of the epic.
"""
@@ -1879,6 +1879,31 @@ type BoardEpic implements CurrentUserTodos & Noteable {
dueDateIsFixed: Boolean
"""
+ A list of events associated with the object.
+ """
+ events(
+ """
+ Returns the elements in the list that come after the specified cursor.
+ """
+ after: String
+
+ """
+ Returns the elements in the list that come before the specified cursor.
+ """
+ before: String
+
+ """
+ Returns the first _n_ elements from the list.
+ """
+ first: Int
+
+ """
+ Returns the last _n_ elements from the list.
+ """
+ last: Int
+ ): EventConnection
+
+ """
Group to which the epic belongs.
"""
group: Group!
@@ -8682,7 +8707,7 @@ type EnvironmentsCanaryIngressUpdatePayload {
"""
Represents an epic
"""
-type Epic implements CurrentUserTodos & Noteable {
+type Epic implements CurrentUserTodos & Eventable & Noteable {
"""
Author of the epic.
"""
@@ -8922,6 +8947,31 @@ type Epic implements CurrentUserTodos & Noteable {
dueDateIsFixed: Boolean
"""
+ A list of events associated with the object.
+ """
+ events(
+ """
+ Returns the elements in the list that come after the specified cursor.
+ """
+ after: String
+
+ """
+ Returns the elements in the list that come before the specified cursor.
+ """
+ before: String
+
+ """
+ Returns the first _n_ elements from the list.
+ """
+ first: Int
+
+ """
+ Returns the last _n_ elements from the list.
+ """
+ last: Int
+ ): EventConnection
+
+ """
Group to which the epic belongs.
"""
group: Group!
@@ -10252,6 +10302,168 @@ enum EpicWildcardId {
}
"""
+Representing an event
+"""
+type Event {
+ """
+ Action of the event.
+ """
+ action: EventAction!
+
+ """
+ Author of this event.
+ """
+ author: User!
+
+ """
+ When this event was created.
+ """
+ createdAt: Time!
+
+ """
+ ID of the event.
+ """
+ id: ID!
+
+ """
+ When this event was updated.
+ """
+ updatedAt: Time!
+}
+
+"""
+Event action
+"""
+enum EventAction {
+ """
+ Approved action
+ """
+ APPROVED
+
+ """
+ Archived action
+ """
+ ARCHIVED
+
+ """
+ Closed action
+ """
+ CLOSED
+
+ """
+ Commented action
+ """
+ COMMENTED
+
+ """
+ Created action
+ """
+ CREATED
+
+ """
+ Destroyed action
+ """
+ DESTROYED
+
+ """
+ Expired action
+ """
+ EXPIRED
+
+ """
+ Joined action
+ """
+ JOINED
+
+ """
+ Left action
+ """
+ LEFT
+
+ """
+ Merged action
+ """
+ MERGED
+
+ """
+ Pushed action
+ """
+ PUSHED
+
+ """
+ Reopened action
+ """
+ REOPENED
+
+ """
+ Updated action
+ """
+ UPDATED
+}
+
+"""
+The connection type for Event.
+"""
+type EventConnection {
+ """
+ A list of edges.
+ """
+ edges: [EventEdge]
+
+ """
+ A list of nodes.
+ """
+ nodes: [Event]
+
+ """
+ Information to aid in pagination.
+ """
+ pageInfo: PageInfo!
+}
+
+"""
+An edge in a connection.
+"""
+type EventEdge {
+ """
+ A cursor for use in pagination.
+ """
+ cursor: String!
+
+ """
+ The item at the end of the edge.
+ """
+ node: Event
+}
+
+interface Eventable {
+ """
+ A list of events associated with the object.
+ """
+ events(
+ """
+ Returns the elements in the list that come after the specified cursor.
+ """
+ after: String
+
+ """
+ Returns the elements in the list that come before the specified cursor.
+ """
+ before: String
+
+ """
+ Returns the first _n_ elements from the list.
+ """
+ first: Int
+
+ """
+ Returns the last _n_ elements from the list.
+ """
+ last: Int
+ ): EventConnection
+}
+
+"""
Autogenerated input type of ExportRequirements
"""
input ExportRequirementsInput {