224 lines
7.0 KiB
GraphQL
224 lines
7.0 KiB
GraphQL
query getAllPages($date: String!) {
|
|
Pages(filter: { status: { _eq: "published" } }) {
|
|
id,
|
|
date_created,
|
|
date_updated,
|
|
status,
|
|
url,
|
|
search_engine {
|
|
id,
|
|
date_created,
|
|
date_updated,
|
|
title,
|
|
description,
|
|
thumbnail {
|
|
id,
|
|
created_on,
|
|
filename_disk,
|
|
width,
|
|
height
|
|
},
|
|
canonical,
|
|
allow_crawler,
|
|
priority
|
|
},
|
|
components {
|
|
id,
|
|
__typename,
|
|
item {
|
|
__typename,
|
|
|
|
...on Hero {
|
|
hero_id: id,
|
|
hero_created: date_created,
|
|
hero_updated: date_updated,
|
|
hero_title: title,
|
|
hero_text: subtext,
|
|
background_image {
|
|
id,
|
|
created_on,
|
|
filename_disk,
|
|
width,
|
|
height
|
|
}
|
|
hero_image: background_image {
|
|
id,
|
|
created_on,
|
|
filename_disk,
|
|
width,
|
|
height
|
|
}
|
|
background_image {
|
|
id,
|
|
created_on,
|
|
filename_disk,
|
|
width,
|
|
height
|
|
}
|
|
}
|
|
|
|
...on Text_With_Side_Image {
|
|
twsi_id: id,
|
|
twsi_created: date_created,
|
|
twsi_updated: date_updated,
|
|
twsi_title: title,
|
|
twsi_text: text,
|
|
image {
|
|
id,
|
|
created_on,
|
|
filename_disk,
|
|
width,
|
|
height
|
|
},
|
|
twsi_image_side: image_side,
|
|
twsi_image_size: image_size
|
|
}
|
|
|
|
...on Wall_Of_Text {
|
|
wot_id: id,
|
|
wot_created: date_created,
|
|
wot_updated: date_updated,
|
|
wot_title: title,
|
|
wot_text: text
|
|
}
|
|
|
|
...on Frequently_Asked_Questions {
|
|
faq_id: id,
|
|
faq_created: date_created,
|
|
faq_updated: date_updated,
|
|
faq_title: title,
|
|
faq_text: text,
|
|
questions {
|
|
id,
|
|
date_created,
|
|
date_updated,
|
|
question,
|
|
answer
|
|
}
|
|
}
|
|
|
|
...on Upcoming_Events {
|
|
ue_id: id,
|
|
ue_created: date_created,
|
|
ue_updated: date_updated,
|
|
ue_title: title,
|
|
ue_text: text,
|
|
events(filter: { start_date: { _gte: $date } }) {
|
|
id,
|
|
date_created,
|
|
date_updated,
|
|
title,
|
|
description,
|
|
location,
|
|
map_location,
|
|
start_date,
|
|
end_date,
|
|
thumbnail {
|
|
id,
|
|
created_on,
|
|
filename_disk,
|
|
width,
|
|
height
|
|
}
|
|
}
|
|
}
|
|
|
|
...on Equipment_Table {
|
|
et_id: id,
|
|
et_created: date_created,
|
|
et_updated: date_updated,
|
|
et_title: title,
|
|
et_text: text,
|
|
items {
|
|
id,
|
|
date_created,
|
|
date_updated,
|
|
title,
|
|
text,
|
|
icon {
|
|
id,
|
|
created_on,
|
|
filename_disk,
|
|
width,
|
|
height
|
|
}
|
|
}
|
|
}
|
|
|
|
...on Review_List {
|
|
rl_id: id,
|
|
rl_created: date_created,
|
|
rl_updated: date_updated,
|
|
rl_title: title,
|
|
rl_text: text,
|
|
reviews(sort: ["date"], filter: { status: { _eq: "published" } }) {
|
|
id,
|
|
date_created,
|
|
date_updated,
|
|
name,
|
|
review,
|
|
date,
|
|
stars,
|
|
thumbnail {
|
|
id,
|
|
created_on,
|
|
filename_disk,
|
|
width,
|
|
height
|
|
}
|
|
}
|
|
}
|
|
|
|
...on Contact {
|
|
c_id: id,
|
|
c_created: date_created,
|
|
c_updated: date_updated,
|
|
c_title: title,
|
|
c_text: text,
|
|
methods {
|
|
id,
|
|
date_created,
|
|
date_updated,
|
|
title,
|
|
text,
|
|
icon {
|
|
id,
|
|
created_on,
|
|
filename_disk,
|
|
width,
|
|
height
|
|
},
|
|
color
|
|
}
|
|
}
|
|
|
|
...on Last_Blogs {
|
|
lb_id: id,
|
|
lb_created: date_created,
|
|
lb_updated: date_updated,
|
|
lb_title: title,
|
|
lb_read_more_button_text: read_more_button_text,
|
|
lb_amount: amount
|
|
}
|
|
|
|
...on Last_Projects {
|
|
lp_id: id,
|
|
lp_created: date_created,
|
|
lp_updated: date_updated,
|
|
lp_title: title,
|
|
lp_read_more_button_text: read_more_button_text,
|
|
lp_amount: amount
|
|
}
|
|
|
|
...on Last_Galleries {
|
|
lg_id: id,
|
|
lg_created: date_created,
|
|
lg_updated: date_updated,
|
|
lg_title: title,
|
|
lg_read_more_button_text: read_more_button_text,
|
|
lg_amount: amount
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |