operation.graphql

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