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-01 13:21:29 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
76bc86541ac8dec6eb81a9479f0c045537b98c13
76bc8654
1 parent
9a591454
update graphql schema
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
back/src/api/models.graphql
back/src/api/models.graphql
View file @
76bc865
type User {
id: ID!
avatarUrl: String
name: String
name: String
!
email: String!
password: String
password: String
!
emailSecret: String
phoneNum: String
phoneNum: String
!
phoneSecret: String
bio: String
rooms: [Room]
createdAt: String
messages: [Message]
sender
: Message
receiver
: [Message]
from
: Message
to
: [Message]
}
type Room {
...
...
@@ -30,8 +30,8 @@ type Category {
type Message {
id: ID!
text: String!
from: User
!
to:
User!
from: User
to:
[User]
room: Room!
createdAt: String
updatedAt: String
...
...
Please
register
or
login
to post a comment