Skip to content

Commit

Permalink
fix: regenerate gql schema
Browse files Browse the repository at this point in the history
  • Loading branch information
lennartkloock committed Aug 20, 2023
1 parent 8c8cda0 commit 6fbc634
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -83,26 +83,10 @@ type Mutation {
The root query type which contains root level fields.
"""
type Query {
activeStreamsByChannelId(id: UUID!): Stream
noop: Boolean!
userById(id: UUID!): User
userByUsername(username: String!): User
activeStreamsByUserId(id: UUID!): Stream
}

type Stream {
"""
The stream's id
"""
id: UUID!
channel_id: UUID!,
title: String!,
description: String!,
recorded: Boolean!,
transcoded: Boolean!,
deleted: Boolean!,
ready_state: Int!,
created_at: DateRFC3339!,
ended_at: DateRFC3339!,
}

type Session {
Expand Down Expand Up @@ -133,6 +117,19 @@ type Session {
userId: UUID!
}

type Stream {
channelId: UUID!
createdAt: DateRFC3339!
deleted: Boolean!
description: String!
endedAt: DateRFC3339!
id: UUID!
readyState: Int!
recorded: Boolean!
title: String!
transcoded: Boolean!
}

type Subscription {
chatMessages(channelId: UUID!): ChatMessage!
noop: Boolean!
Expand All @@ -153,8 +150,8 @@ scalar UUID @specifiedBy(url: "http://tools.ietf.org/html/rfc4122")

type User {
createdAt: DateRFC3339!
displayName: String!
displayColor: Int!
displayName: String!
email: String!
emailVerified: Boolean!
globalRoles: [GlobalRole!]!
Expand Down

0 comments on commit 6fbc634

Please sign in to comment.