query getChronicle($slug: String) {
  chronicles(filters: { slug: { eq: $slug } }) {
    data {
      attributes {
        slug
        date_start {
          year
          month
          day
        }
        date_end {
          year
          month
          day
        }
        chapter {
          data {
            attributes {
              slug
              titles {
                title
                language {
                  data {
                    attributes {
                      code
                    }
                  }
                }
              }
            }
          }
        }
        translations {
          title
          summary
          language {
            data {
              attributes {
                code
              }
            }
          }
          body {
            source_language {
              data {
                attributes {
                  code
                }
              }
            }
            status
            body
            authors {
              data {
                attributes {
                  username
                }
              }
            }
            translators {
              data {
                attributes {
                  username
                }
              }
            }
            proofreaders {
              data {
                attributes {
                  username
                }
              }
            }
          }
        }
        contents {
          data {
            id
            attributes {
              slug
              categories(pagination: { limit: -1 }) {
                data {
                  attributes {
                    slug
                  }
                }
              }
              type {
                data {
                  attributes {
                    slug
                  }
                }
              }
              translations(pagination: { limit: -1 }) {
                language {
                  data {
                    attributes {
                      code
                    }
                  }
                }
                pre_title
                title
                subtitle
                description
                text_set {
                  status
                  text
                  source_language {
                    data {
                      attributes {
                        code
                      }
                    }
                  }
                  transcribers(pagination: { limit: -1 }) {
                    data {
                      id
                      attributes {
                        username
                      }
                    }
                  }
                  translators(pagination: { limit: -1 }) {
                    data {
                      id
                      attributes {
                        username
                      }
                    }
                  }
                  proofreaders(pagination: { limit: -1 }) {
                    data {
                      id
                      attributes {
                        username
                      }
                    }
                  }
                  notes
                }
              }

              thumbnail {
                data {
                  attributes {
                    ...uploadImage
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}