feat: eventMeta -> event.IsEvent

This commit is contained in:
Jon Lundy
2023-04-02 16:45:17 -06:00
parent 6ee995298b
commit 9168f5c7bc
16 changed files with 186 additions and 290 deletions

View File

@@ -1,9 +1,9 @@
extend type Query {
posts(streamID: String! paging: PageInput): Connection!
posts(name: String!, tag: String! = "", paging: PageInput): Connection!
}
extend type Subscription {
"""after == 0 start from begining, after == -1 start from end"""
postAdded(streamID: String! after: Int! = -1): PostEvent
postAdded(name: String!, tag: String! = "", after: Int! = -1): PostEvent
}
type PostEvent implements Edge @goModel(model: "go.sour.is/ev/app/msgbus.PostEvent") {
id: ID!