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-08-30 23:37:14 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4904cb3177d081275942b3098e00bbea92671141
4904cb31
1 parent
39e4b73e
update graphql model
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
13 deletions
back/src/api/models.graphql
back/src/api/models.graphql
View file @
4904cb3
...
...
@@ -8,36 +8,34 @@ type User {
emailSecret: String
phoneSecret: String
bio: String
rooms: [Room]
createdAt: String
groups: [Group]
messages: [Message]
sender: [User
]
receiver: [User]
directMessages: [DirectMessage
]
createdAt: String
}
type
Room
{
type
Group
{
id: ID!
name: String!
participants: [User]
categories: [Category]
messages: [Message]
files: String
createdAt: String
}
type
Category
{
type
DirectMessage
{
id: ID!
name: String
room: Room
messages: [Message]
text: String!
sender: User!
createdAt: String
}
type Message {
id: ID!
text: String!
sender: User!
room: Room!
category: Category
group: Group!
createdAt: String
updatedAt: String
}
type AuthPayload {
...
...
Please
register
or
login
to post a comment