Add City field to photos
Used for regions/wider locations
This commit is contained in:
58
src/utils/mainQuery.js
Normal file
58
src/utils/mainQuery.js
Normal file
@@ -0,0 +1,58 @@
|
||||
export default `{
|
||||
site {
|
||||
data {
|
||||
description
|
||||
explore_globe
|
||||
explore_list
|
||||
photos_per_page
|
||||
instagram
|
||||
seo_name
|
||||
seo_title_default
|
||||
seo_description_default
|
||||
seo_share_image { full_url }
|
||||
credits_text
|
||||
credits_list
|
||||
newsletter_text
|
||||
newsletter_subtitle
|
||||
newsletter_url
|
||||
}
|
||||
}
|
||||
continents {
|
||||
data {
|
||||
id
|
||||
name
|
||||
rotation_position
|
||||
}
|
||||
}
|
||||
countries {
|
||||
data {
|
||||
id
|
||||
name
|
||||
slug
|
||||
flag { full_url title }
|
||||
continent { id name }
|
||||
}
|
||||
}
|
||||
locations (filter: { status_eq: "published" }) {
|
||||
data {
|
||||
id
|
||||
name
|
||||
slug
|
||||
region
|
||||
country { id name slug }
|
||||
description
|
||||
close
|
||||
coordinates
|
||||
illu_desktop { full_url }
|
||||
illu_desktop_2x { full_url }
|
||||
illu_mobile { full_url }
|
||||
}
|
||||
}
|
||||
photos (filter: { status_eq: "published" }) {
|
||||
data {
|
||||
created_on
|
||||
location { id }
|
||||
city
|
||||
}
|
||||
}
|
||||
}`
|
||||
Reference in New Issue
Block a user