Start connecting entries frontend to backend
This commit is contained in:
parent
f583c6c8cc
commit
8fc0b07eb1
|
|
@ -0,0 +1,24 @@
|
|||
query RoomEntriesQuery($slug: String!) {
|
||||
room(slug:$slug) {
|
||||
id
|
||||
title
|
||||
slug
|
||||
appearance
|
||||
pk
|
||||
roomEntries {
|
||||
edges {
|
||||
node {
|
||||
id
|
||||
slug
|
||||
title
|
||||
description
|
||||
author {
|
||||
id
|
||||
firstName
|
||||
lastName
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
query RoomEntriesQuery($id: ID!) {
|
||||
room(id:$id) {
|
||||
query RoomEntriesQuery($slug: String!) {
|
||||
room(slug:$slug) {
|
||||
id
|
||||
title
|
||||
slug
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue