getAllPagesQuery top-level constant

String const getAllPagesQuery

Query to get all pages

Implementation

const String getAllPagesQuery = r'''
query pages($reversePages: Boolean, $sortKey: PageSortKeys, $pagesQuery: String){
  pages(first: 250, sortKey: $sortKey, reverse: $reversePages, query: $pagesQuery) {
    edges {
      node {
        id
        handle
        title
        onlineStoreUrl
        body
        bodySummary
        createdAt
        updatedAt
      }
    }
  }
}
''';