ev/api/gql_ev/msgbus.graphqls
2022-08-09 16:23:33 -06:00

15 lines
283 B
GraphQL

extend type Query {
posts(streamID: String! paging: PageInput): Connection!
}
extend type Subscription {
postAdded(streamID: String!): PostEvent
}
type PostEvent implements Edge {
id: ID!
payload: String!
payloadJSON: Map!
tags: [String!]!
meta: Meta!
}