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!) {
|
query RoomEntriesQuery($slug: String!) {
|
||||||
room(id:$id) {
|
room(slug:$slug) {
|
||||||
id
|
id
|
||||||
title
|
title
|
||||||
slug
|
slug
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue