1"""An operation applied to an entity."""
2interface Operation
3@goModel(model: "github.com/git-bug/git-bug/entity/dag.Operation") {
4 """The identifier of the operation"""
5 id: ID!
6 """The operations author."""
7 author: Identity!
8 """The datetime when this operation was issued."""
9 date: Time! @goField(name: "Time")
10}
11
12# Connection
13
14"""The connection type for an Operation"""
15type OperationConnection {
16 edges: [OperationEdge!]!
17 nodes: [Operation!]!
18 pageInfo: PageInfo!
19 totalCount: Int!
20}
21
22"""Represent an Operation"""
23type OperationEdge {
24 cursor: String!
25 node: Operation!
26}