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-20 12:17:11 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
29a31451ea054ef903b3c2801b44e2bc053ca16c
29a31451
1 parent
3f2ebb8e
create room queries
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
front/src/Routes/Room/RoomQueries.js
front/src/Routes/Room/RoomQueries.js
0 → 100644
View file @
29a3145
import
{
gql
}
from
"apollo-boost"
;
export
const
GET_ROOMS
=
gql
`
query {
getRooms {
name
}
}
`
;
export
const
CREATE_ROOM
=
gql
`
mutation createRoom($name: String!) {
createRoom(name: $name) {
name
}
}
`
;
Please
register
or
login
to post a comment