import gql from 'graphql-tag';

export const ORDERED_LIST_COLLECTION = gql`
  query OrderedListCollection($where: OrderedListFilter_cfContent, $limit: Int) {
    orderedListCollection(where: $where, limit: 1) {
      items {
        entriesCollection(limit: $limit) {
          items {
            ... on WwwCardComponent_cfContent {
              image {
                url
              }
              description
              title
              _id
              color {
                color
                colorName
              }
            }
          }
        }
      }
    }
  }
`;
