Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2020-04-29 20:46:39 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
97dfaaeb94b7ecd3e1b2c2b3df016a61e1372a12
97dfaaeb
1 parent
d3b9be60
update graphql schema
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
back/src/api/models.graphql
back/src/api/models.graphql
View file @
97dfaae
...
...
@@ -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 {
...
...
Please
register
or
login
to post a comment