#import "../Image.graphql"
#import "../ImageContainer.graphql"

#import "../ContentPage/Ref.graphql"
#import "../LoyaltyPage/Ref.graphql"

#import "../PageLink/ContentPageLink.graphql"
#import "../PageLink/LoyaltyPageLink.graphql"

fragment ContentSidebar_ContentPage on ContentPageSidebarContent {
  content {
    content {
      json
      embedded_itemsConnection {
        edges {
          node {
            __typename
            ...ContentPageLink
            ...Image
            ...ImageContainer
            ...LoyaltyPageLink
          }
        }
      }
    }
  }
}

fragment ContentSidebar_ContentPageRefs on ContentPageSidebarContent {
  content {
    content {
      embedded_itemsConnection {
        edges {
          node {
            __typename
            ...ContentPageRef
            ...ImageContainerRef
            ...LoyaltyPageRef
          }
        }
      }
    }
  }
}

fragment ContentSidebar_LoyaltyPage on LoyaltyPageSidebarContent {
  content {
    content {
      json
      embedded_itemsConnection {
        edges {
          node {
            __typename
            ...ContentPageLink
            ...Image
            ...ImageContainer
            ...LoyaltyPageLink
          }
        }
      }
    }
  }
}

fragment ContentSidebar_LoyaltyPageRefs on LoyaltyPageSidebarContent {
  content {
    content {
      embedded_itemsConnection {
        edges {
          node {
            __typename
            ...ContentPageRef
            ...ImageContainerRef
            ...LoyaltyPageRef
          }
        }
      }
    }
  }
}
