15 lines
		
	
	
		
			283 B
		
	
	
	
		
			GraphQL
		
	
	
	
	
	
			
		
		
	
	
			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!
 | 
						|
} |