sdy

update graphql schema

......@@ -11,6 +11,8 @@ type User {
rooms: [Room]
createdAt: String
messages: [Message]
sender: Message
receiver: [Message]
}
type Room {
......@@ -27,8 +29,12 @@ type Category {
type Message {
id: ID!
text: String
sender: User
text: String!
from: User!
to: User!
room: Room!
createdAt: String
updatedAt: String
}
type AuthPayload {
......