Skip to content

Commit

Permalink
docs: 📝 add stream search to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ColeWalker committed Sep 20, 2020
1 parent af433f2 commit a0eb1a7
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,30 @@ type Stream {
userDisplayName: String!
userId: String!
}

type StreamConnection {
total: Int!
nodes: [Stream]
cursor: String
}

extend type Query {
getStreams(streamFilter: StreamFilter!, maxPages: Int = 1): StreamConnection
}

input StreamFilter {
gameIds: [String]
gameNames: [String]
languages: [String]
type: StreamType
userIds: [String]
userNames: [String]
}

enum StreamType {
live
none
}
```

### StreamUserLink
Expand Down

0 comments on commit a0eb1a7

Please sign in to comment.