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-05-21 01:17:15 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d193986e16e98b20f7fd42a0d827a0e262ead102
d193986e
1 parent
d41db0fc
update graphql schema
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
back/src/api/models.graphql
back/src/api/models.graphql
View file @
d193986
...
...
@@ -11,28 +11,30 @@ type User {
rooms: [Room]
createdAt: String
messages: [Message]
from: Message
to: [Message
]
sender: [User]
receiver: [User
]
}
type Room {
id: ID!
name: String!
participants: [User]
categories: [Category]
messages: [Message]
}
type Category {
id: ID!
name: String
room
s: [Room]
room
: Room
}
type Message {
id: ID!
text: String!
from: [User]
to: [User]
room: Room!
sender: User
room: Room
category: Category
createdAt: String
updatedAt: String
}
...
...
Please
register
or
login
to post a comment