_examples/selection/schema.graphql (20 lines of code) (raw):
interface Event {
selection: [String!]
collected: [String!]
}
type Post implements Event {
message: String!
sent: Time!
selection: [String!]
collected: [String!]
}
type Like implements Event {
reaction: String!
sent: Time!
selection: [String!]
collected: [String!]
}
type Query {
events: [Event!]
}
scalar Time