event.graphql 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Basic events chronicle resource activities such as the creation of an article, the fulfillment of an order, or
  2. # the addition of a product.
  3. type BasicEvent implements Event&Node {
  4. # The name of the app that created the event.
  5. appTitle: String
  6. # Whether the event was created by an app.
  7. attributeToApp: Boolean!
  8. # Whether the event was caused by an admin user.
  9. attributeToUser: Boolean!
  10. # The date and time when the event was created.
  11. createdAt: DateTime!
  12. # Whether the event is critical.
  13. criticalAlert: Boolean!
  14. # A globally-unique identifier.
  15. id: ID!
  16. # Human readable text that describes the event.
  17. message: FormattedString!
  18. }
  19. # An auto-generated type for paginating through multiple Events.
  20. type EventConnection {
  21. # A list of edges.
  22. edges: [EventEdge!]!
  23. # A list of the nodes contained in EventEdge.
  24. nodes: [Event!]!
  25. # Information to aid in pagination.
  26. pageInfo: PageInfo!
  27. }
  28. # An auto-generated type which holds one Event and a cursor during pagination.
  29. type EventEdge {
  30. # A cursor for use in pagination.
  31. cursor: String!
  32. # The item at the end of EventEdge.
  33. node: Event!
  34. }