From 606687d10b48cf33c063a3a1cfe1a00e93d8c078 Mon Sep 17 00:00:00 2001 From: ChinmayeeMestry Date: Fri, 9 Jan 2026 15:46:37 +0530 Subject: [PATCH] resolved dist error --- package.json | 2 +- remix.config.cjs | 1 + storefrontapi.generated.d.ts | 947 ++++++++++++++++++++++++++++++++--- 3 files changed, 880 insertions(+), 70 deletions(-) diff --git a/package.json b/package.json index 05238de..d0afd9c 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "version": "1.0.0", "scripts": { "dev": "shopify hydrogen dev --codegen", - "build": "shopify hydrogen build --codegen", + "build": "shopify hydrogen build", "preview": "npm run build && shopify hydrogen preview", "lint": "eslint --no-error-on-unmatched-pattern --ext .js,.ts,.jsx,.tsx .", "typecheck": "tsc --noEmit", diff --git a/remix.config.cjs b/remix.config.cjs index 3e48938..d05b4e8 100644 --- a/remix.config.cjs +++ b/remix.config.cjs @@ -3,4 +3,5 @@ module.exports = { appDirectory: "app", ignoredRouteFiles: ["**/.*"], serverModuleFormat: "esm", + serverBuildPath: "dist/server/index.js", }; diff --git a/storefrontapi.generated.d.ts b/storefrontapi.generated.d.ts index d0e74dc..8250d1b 100644 --- a/storefrontapi.generated.d.ts +++ b/storefrontapi.generated.d.ts @@ -1,7 +1,7 @@ /* eslint-disable eslint-comments/disable-enable-pair */ /* eslint-disable eslint-comments/no-unlimited-disable */ /* eslint-disable */ -import * as StorefrontAPI from '@shopify/hydrogen/storefront-api-types'; +import type * as StorefrontAPI from '@shopify/hydrogen/storefront-api-types'; export type MenuItemFragment = Pick< StorefrontAPI.MenuItem, @@ -113,6 +113,130 @@ export type FooterQuery = { >; }; +export type RootMetaObjectQueryVariables = StorefrontAPI.Exact<{ + country?: StorefrontAPI.InputMaybe; + language?: StorefrontAPI.InputMaybe; +}>; + +export type RootMetaObjectQuery = { + metaobjects: { + nodes: Array<{ + fields: Array< + Pick & { + reference?: StorefrontAPI.Maybe< + | (Pick & { + image?: StorefrontAPI.Maybe>; + }) + | (Pick & { + fields: Array< + Pick & { + references?: StorefrontAPI.Maybe<{ + nodes: Array< + Pick & { + fields: Array< + Pick< + StorefrontAPI.MetaobjectField, + 'key' | 'type' | 'value' + > & { + reference?: StorefrontAPI.Maybe< + | (Pick & { + image?: StorefrontAPI.Maybe< + Pick + >; + }) + | (Pick & { + fields: Array< + Pick< + StorefrontAPI.MetaobjectField, + 'key' | 'value' + > + >; + }) + >; + } + >; + } + >; + }>; + } + >; + }) + >; + references?: StorefrontAPI.Maybe<{ + nodes: Array< + | (Pick & { + image?: StorefrontAPI.Maybe>; + }) + | (Pick & { + fields: Array< + Pick< + StorefrontAPI.MetaobjectField, + 'key' | 'type' | 'value' + > & { + reference?: StorefrontAPI.Maybe< + | (Pick & { + image?: StorefrontAPI.Maybe< + Pick + >; + }) + | (Pick & { + fields: Array< + Pick< + StorefrontAPI.MetaobjectField, + 'key' | 'value' + > & { + references?: StorefrontAPI.Maybe<{ + nodes: Array< + Pick & { + fields: Array< + Pick< + StorefrontAPI.MetaobjectField, + 'key' | 'type' | 'value' + > & { + reference?: StorefrontAPI.Maybe< + | (Pick< + StorefrontAPI.MediaImage, + 'id' + > & { + image?: StorefrontAPI.Maybe< + Pick< + StorefrontAPI.Image, + 'url' + > + >; + }) + | (Pick< + StorefrontAPI.Metaobject, + 'id' + > & { + fields: Array< + Pick< + StorefrontAPI.MetaobjectField, + 'key' | 'value' + > + >; + }) + >; + } + >; + } + >; + }>; + } + >; + }) + >; + } + >; + }) + >; + }>; + } + >; + }>; + }; +}; + export type SitemapQueryVariables = StorefrontAPI.Exact<{ urlLimits?: StorefrontAPI.InputMaybe; language?: StorefrontAPI.InputMaybe; @@ -143,42 +267,16 @@ export type SitemapQuery = { }; }; -export type FeaturedCollectionFragment = Pick< - StorefrontAPI.Collection, - 'id' | 'title' | 'handle' -> & { - image?: StorefrontAPI.Maybe< - Pick - >; -}; - -export type FeaturedCollectionQueryVariables = StorefrontAPI.Exact<{ - country?: StorefrontAPI.InputMaybe; - language?: StorefrontAPI.InputMaybe; -}>; - -export type FeaturedCollectionQuery = { - collections: { - nodes: Array< - Pick & { - image?: StorefrontAPI.Maybe< - Pick< - StorefrontAPI.Image, - 'id' | 'url' | 'altText' | 'width' | 'height' - > - >; - } - >; - }; -}; - export type RecommendedProductFragment = Pick< StorefrontAPI.Product, - 'id' | 'title' | 'handle' + 'id' | 'title' | 'handle' | 'productType' > & { priceRange: { minVariantPrice: Pick; }; + compareAtPriceRange: { + minVariantPrice: Pick; + }; images: { nodes: Array< Pick @@ -194,13 +292,19 @@ export type RecommendedProductsQueryVariables = StorefrontAPI.Exact<{ export type RecommendedProductsQuery = { products: { nodes: Array< - Pick & { + Pick & { priceRange: { minVariantPrice: Pick< StorefrontAPI.MoneyV2, 'amount' | 'currencyCode' >; }; + compareAtPriceRange: { + minVariantPrice: Pick< + StorefrontAPI.MoneyV2, + 'amount' | 'currencyCode' + >; + }; images: { nodes: Array< Pick< @@ -214,6 +318,216 @@ export type RecommendedProductsQuery = { }; }; +export type CollectionFragment = Pick< + StorefrontAPI.Collection, + 'id' | 'title' | 'handle' | 'description' +> & { + image?: StorefrontAPI.Maybe< + Pick + >; +}; + +export type StoreCollectionsQueryVariables = StorefrontAPI.Exact<{ + country?: StorefrontAPI.InputMaybe; + endCursor?: StorefrontAPI.InputMaybe< + StorefrontAPI.Scalars['String']['input'] + >; + language?: StorefrontAPI.InputMaybe; + last?: StorefrontAPI.InputMaybe; + startCursor?: StorefrontAPI.InputMaybe< + StorefrontAPI.Scalars['String']['input'] + >; +}>; + +export type StoreCollectionsQuery = { + collections: { + nodes: Array< + Pick< + StorefrontAPI.Collection, + 'id' | 'title' | 'handle' | 'description' + > & { + products: {edges: Array<{node: Pick}>}; + image?: StorefrontAPI.Maybe< + Pick< + StorefrontAPI.Image, + 'id' | 'url' | 'altText' | 'width' | 'height' + > + >; + } + >; + pageInfo: Pick< + StorefrontAPI.PageInfo, + 'hasNextPage' | 'hasPreviousPage' | 'startCursor' | 'endCursor' + >; + }; +}; + +export type FeaturedCollectionNewArrivalsQueryVariables = StorefrontAPI.Exact<{ + country?: StorefrontAPI.InputMaybe; + language?: StorefrontAPI.InputMaybe; +}>; + +export type FeaturedCollectionNewArrivalsQuery = { + collection?: StorefrontAPI.Maybe< + Pick & { + products: { + nodes: Array< + Pick & { + images: { + nodes: Array< + Pick< + StorefrontAPI.Image, + 'id' | 'url' | 'altText' | 'width' | 'height' + > + >; + }; + } + >; + }; + } + >; +}; + +export type FeaturedCollectionTopCategoriesQueryVariables = + StorefrontAPI.Exact<{ + country?: StorefrontAPI.InputMaybe; + language?: StorefrontAPI.InputMaybe; + }>; + +export type FeaturedCollectionTopCategoriesQuery = { + collections: { + edges: Array<{ + node: Pick & { + image?: StorefrontAPI.Maybe< + Pick< + StorefrontAPI.Image, + 'id' | 'url' | 'altText' | 'width' | 'height' + > + >; + products: { + edges: Array<{ + node: Pick; + }>; + }; + }; + }>; + }; +}; + +export type FeaturedCollectionBestSellerQueryVariables = StorefrontAPI.Exact<{ + country?: StorefrontAPI.InputMaybe; + language?: StorefrontAPI.InputMaybe; +}>; + +export type FeaturedCollectionBestSellerQuery = { + collection?: StorefrontAPI.Maybe< + Pick & { + products: { + nodes: Array< + Pick & { + images: { + nodes: Array< + Pick< + StorefrontAPI.Image, + 'id' | 'url' | 'altText' | 'width' | 'height' + > + >; + }; + } + >; + }; + } + >; +}; + +export type MetaObjectHomeQueryVariables = StorefrontAPI.Exact<{ + country?: StorefrontAPI.InputMaybe; + language?: StorefrontAPI.InputMaybe; +}>; + +export type MetaObjectHomeQuery = { + metaobjects: { + nodes: Array<{ + fields: Array< + Pick & { + reference?: StorefrontAPI.Maybe< + | (Pick & { + image?: StorefrontAPI.Maybe>; + }) + | (Pick & { + fields: Array< + Pick & { + references?: StorefrontAPI.Maybe<{ + nodes: Array< + Pick & { + fields: Array< + Pick< + StorefrontAPI.MetaobjectField, + 'key' | 'type' | 'value' + > + >; + } + >; + }>; + reference?: StorefrontAPI.Maybe< + | (Pick & { + image?: StorefrontAPI.Maybe< + Pick + >; + }) + | (Pick & { + fields: Array< + Pick< + StorefrontAPI.MetaobjectField, + 'key' | 'value' + > & { + reference?: StorefrontAPI.Maybe< + Pick & { + fields: Array< + Pick< + StorefrontAPI.MetaobjectField, + 'key' | 'value' + > + >; + } + >; + } + >; + }) + >; + } + >; + }) + >; + } + >; + }>; + }; +}; + +export type MetaObjectAboutQueryVariables = StorefrontAPI.Exact<{ + country?: StorefrontAPI.InputMaybe; + language?: StorefrontAPI.InputMaybe; +}>; + +export type MetaObjectAboutQuery = { + metaobjects: { + nodes: Array<{ + fields: Array< + Pick & { + reference?: StorefrontAPI.Maybe< + Pick & { + fields: Array< + Pick + >; + } + >; + } + >; + }>; + }; +}; + export type CustomerAddressUpdateMutationVariables = StorefrontAPI.Exact<{ address: StorefrontAPI.MailingAddressInput; customerAccessToken: StorefrontAPI.Scalars['String']['input']; @@ -1177,6 +1491,9 @@ export type ProductItemFragment = Pick< minVariantPrice: Pick; maxVariantPrice: Pick; }; + compareAtPriceRange: { + minVariantPrice: Pick; + }; variants: { nodes: Array<{ selectedOptions: Array< @@ -1225,6 +1542,12 @@ export type CollectionQuery = { 'amount' | 'currencyCode' >; }; + compareAtPriceRange: { + minVariantPrice: Pick< + StorefrontAPI.MoneyV2, + 'amount' | 'currencyCode' + >; + }; variants: { nodes: Array<{ selectedOptions: Array< @@ -1243,16 +1566,7 @@ export type CollectionQuery = { >; }; -export type CollectionFragment = Pick< - StorefrontAPI.Collection, - 'id' | 'title' | 'handle' -> & { - image?: StorefrontAPI.Maybe< - Pick - >; -}; - -export type StoreCollectionsQueryVariables = StorefrontAPI.Exact<{ +export type StoreCollectionsIndexQueryVariables = StorefrontAPI.Exact<{ country?: StorefrontAPI.InputMaybe; endCursor?: StorefrontAPI.InputMaybe< StorefrontAPI.Scalars['String']['input'] @@ -1265,10 +1579,13 @@ export type StoreCollectionsQueryVariables = StorefrontAPI.Exact<{ >; }>; -export type StoreCollectionsQuery = { +export type StoreCollectionsIndexQuery = { collections: { nodes: Array< - Pick & { + Pick< + StorefrontAPI.Collection, + 'id' | 'title' | 'handle' | 'description' + > & { image?: StorefrontAPI.Maybe< Pick< StorefrontAPI.Image, @@ -1284,20 +1601,120 @@ export type StoreCollectionsQuery = { }; }; -export type PageQueryVariables = StorefrontAPI.Exact<{ - language?: StorefrontAPI.InputMaybe; +export type MetaObjectCollectionsPageHeadingQueryVariables = + StorefrontAPI.Exact<{ + country?: StorefrontAPI.InputMaybe; + language?: StorefrontAPI.InputMaybe; + }>; + +export type MetaObjectCollectionsPageHeadingQuery = { + metaobjects: { + nodes: Array<{ + fields: Array< + Pick & { + reference?: StorefrontAPI.Maybe< + Pick & { + fields: Array< + Pick + >; + } + >; + } + >; + }>; + }; +}; + +export type CollectionProductFragment = Pick< + StorefrontAPI.Product, + 'id' | 'title' | 'handle' +> & { + priceRange: { + minVariantPrice: Pick; + maxVariantPrice: Pick; + }; + compareAtPriceRange: { + minVariantPrice: Pick; + }; + images: { + nodes: Array< + Pick + >; + }; +}; + +export type RecommendedProductsAllPageQueryVariables = StorefrontAPI.Exact<{ country?: StorefrontAPI.InputMaybe; - handle: StorefrontAPI.Scalars['String']['input']; + endCursor?: StorefrontAPI.InputMaybe< + StorefrontAPI.Scalars['String']['input'] + >; + first?: StorefrontAPI.InputMaybe; + language?: StorefrontAPI.InputMaybe; + last?: StorefrontAPI.InputMaybe; + startCursor?: StorefrontAPI.InputMaybe< + StorefrontAPI.Scalars['String']['input'] + >; }>; -export type PageQuery = { - page?: StorefrontAPI.Maybe< - Pick & { - seo?: StorefrontAPI.Maybe< - Pick +export type RecommendedProductsAllPageQuery = { + products: { + nodes: Array< + Pick & { + priceRange: { + minVariantPrice: Pick< + StorefrontAPI.MoneyV2, + 'amount' | 'currencyCode' + >; + maxVariantPrice: Pick< + StorefrontAPI.MoneyV2, + 'amount' | 'currencyCode' + >; + }; + compareAtPriceRange: { + minVariantPrice: Pick< + StorefrontAPI.MoneyV2, + 'amount' | 'currencyCode' + >; + }; + images: { + nodes: Array< + Pick< + StorefrontAPI.Image, + 'id' | 'url' | 'altText' | 'width' | 'height' + > + >; + }; + } + >; + pageInfo: Pick< + StorefrontAPI.PageInfo, + 'hasNextPage' | 'hasPreviousPage' | 'startCursor' | 'endCursor' + >; + }; +}; + +export type MetaObjectAllProductsPageHeadingQueryVariables = + StorefrontAPI.Exact<{ + country?: StorefrontAPI.InputMaybe; + language?: StorefrontAPI.InputMaybe; + }>; + +export type MetaObjectAllProductsPageHeadingQuery = { + metaobjects: { + nodes: Array<{ + fields: Array< + Pick & { + reference?: StorefrontAPI.Maybe< + Pick & { + fields: Array< + Pick + >; + } + >; + } >; - } - >; + }>; + }; }; export type PolicyFragment = Pick< @@ -1382,7 +1799,7 @@ export type ProductVariantFragment = Pick< >; }; -export type ProductFragment = Pick< +export type ProductDetailsFragment = Pick< StorefrontAPI.Product, 'id' | 'title' | 'vendor' | 'handle' | 'descriptionHtml' | 'description' > & { @@ -1444,6 +1861,7 @@ export type ProductQueryVariables = StorefrontAPI.Exact<{ country?: StorefrontAPI.InputMaybe; handle: StorefrontAPI.Scalars['String']['input']; language?: StorefrontAPI.InputMaybe; + key: StorefrontAPI.Scalars['String']['input']; selectedOptions: | Array | StorefrontAPI.SelectedOptionInput; @@ -1455,6 +1873,20 @@ export type ProductQuery = { StorefrontAPI.Product, 'id' | 'title' | 'vendor' | 'handle' | 'descriptionHtml' | 'description' > & { + collections: { + edges: Array<{node: Pick}>; + }; + metafield?: StorefrontAPI.Maybe< + Pick & { + reference?: StorefrontAPI.Maybe< + Pick & { + fields: Array< + Pick + >; + } + >; + } + >; options: Array>; selectedVariant?: StorefrontAPI.Maybe< Pick< @@ -1577,6 +2009,101 @@ export type ProductVariantsQuery = { }>; }; +export type ProductRecommendationsQueryVariables = StorefrontAPI.Exact<{ + country?: StorefrontAPI.InputMaybe; + language?: StorefrontAPI.InputMaybe; + productID: StorefrontAPI.Scalars['ID']['input']; +}>; + +export type ProductRecommendationsQuery = { + productRecommendations?: StorefrontAPI.Maybe< + Array< + Pick< + StorefrontAPI.Product, + 'id' | 'title' | 'handle' | 'availableForSale' + > & { + priceRange: { + minVariantPrice: Pick< + StorefrontAPI.MoneyV2, + 'amount' | 'currencyCode' + >; + maxVariantPrice: Pick< + StorefrontAPI.MoneyV2, + 'amount' | 'currencyCode' + >; + }; + compareAtPriceRange: { + minVariantPrice: Pick< + StorefrontAPI.MoneyV2, + 'amount' | 'currencyCode' + >; + maxVariantPrice: Pick< + StorefrontAPI.MoneyV2, + 'amount' | 'currencyCode' + >; + }; + images: { + nodes: Array< + Pick< + StorefrontAPI.Image, + 'id' | 'url' | 'altText' | 'width' | 'height' + > + >; + }; + } + > + >; +}; + +export type MetaObjectProductDetailPageQueryVariables = StorefrontAPI.Exact<{ + country?: StorefrontAPI.InputMaybe; + language?: StorefrontAPI.InputMaybe; + first?: StorefrontAPI.InputMaybe; + after?: StorefrontAPI.InputMaybe; +}>; + +export type MetaObjectProductDetailPageQuery = { + metaobjects: { + edges: Array< + Pick & { + node: Pick & { + fields: Array< + Pick & { + reference?: StorefrontAPI.Maybe< + Pick + >; + } + >; + }; + } + >; + pageInfo: Pick; + }; +}; + +export type MetaObjectPdpPageContentsQueryVariables = StorefrontAPI.Exact<{ + country?: StorefrontAPI.InputMaybe; + language?: StorefrontAPI.InputMaybe; +}>; + +export type MetaObjectPdpPageContentsQuery = { + metaobjects: { + nodes: Array<{ + fields: Array< + Pick & { + reference?: StorefrontAPI.Maybe< + Pick & { + fields: Array< + Pick + >; + } + >; + } + >; + }>; + }; +}; + export type SearchProductFragment = {__typename: 'Product'} & Pick< StorefrontAPI.Product, 'handle' | 'id' | 'publishedAt' | 'title' | 'trackingParameters' | 'vendor' @@ -1688,6 +2215,220 @@ export type StoreRobotsQueryVariables = StorefrontAPI.Exact<{ export type StoreRobotsQuery = {shop: Pick}; +export type RecommendedProductsRootQueryVariables = StorefrontAPI.Exact<{ + country?: StorefrontAPI.InputMaybe; + language?: StorefrontAPI.InputMaybe; +}>; + +export type RecommendedProductsRootQuery = { + products: { + nodes: Array< + Pick & { + priceRange: { + minVariantPrice: Pick< + StorefrontAPI.MoneyV2, + 'amount' | 'currencyCode' + >; + }; + compareAtPriceRange: { + minVariantPrice: Pick< + StorefrontAPI.MoneyV2, + 'amount' | 'currencyCode' + >; + }; + images: { + nodes: Array< + Pick< + StorefrontAPI.Image, + 'id' | 'url' | 'altText' | 'width' | 'height' + > + >; + }; + } + >; + }; +}; + +export type StoreCollectionsRootQueryVariables = StorefrontAPI.Exact<{ + country?: StorefrontAPI.InputMaybe; + endCursor?: StorefrontAPI.InputMaybe< + StorefrontAPI.Scalars['String']['input'] + >; + language?: StorefrontAPI.InputMaybe; + last?: StorefrontAPI.InputMaybe; + startCursor?: StorefrontAPI.InputMaybe< + StorefrontAPI.Scalars['String']['input'] + >; +}>; + +export type StoreCollectionsRootQuery = { + collections: { + nodes: Array< + Pick< + StorefrontAPI.Collection, + 'id' | 'title' | 'handle' | 'description' + > & { + products: {edges: Array<{node: Pick}>}; + image?: StorefrontAPI.Maybe< + Pick< + StorefrontAPI.Image, + 'id' | 'url' | 'altText' | 'width' | 'height' + > + >; + } + >; + pageInfo: Pick< + StorefrontAPI.PageInfo, + 'hasNextPage' | 'hasPreviousPage' | 'startCursor' | 'endCursor' + >; + }; +}; + +export type FeaturedCollectionNewArrivalsRootQueryVariables = + StorefrontAPI.Exact<{ + country?: StorefrontAPI.InputMaybe; + language?: StorefrontAPI.InputMaybe; + }>; + +export type FeaturedCollectionNewArrivalsRootQuery = { + collection?: StorefrontAPI.Maybe< + Pick & { + products: { + nodes: Array< + Pick & { + images: { + nodes: Array< + Pick< + StorefrontAPI.Image, + 'id' | 'url' | 'altText' | 'width' | 'height' + > + >; + }; + } + >; + }; + } + >; +}; + +export type FeaturedCollectionTopCategoriesRootQueryVariables = + StorefrontAPI.Exact<{ + country?: StorefrontAPI.InputMaybe; + language?: StorefrontAPI.InputMaybe; + }>; + +export type FeaturedCollectionTopCategoriesRootQuery = { + collections: { + edges: Array<{ + node: Pick & { + image?: StorefrontAPI.Maybe< + Pick< + StorefrontAPI.Image, + 'id' | 'url' | 'altText' | 'width' | 'height' + > + >; + products: { + edges: Array<{ + node: Pick; + }>; + }; + }; + }>; + }; +}; + +export type FeaturedCollectionBestSellerRootQueryVariables = + StorefrontAPI.Exact<{ + country?: StorefrontAPI.InputMaybe; + language?: StorefrontAPI.InputMaybe; + }>; + +export type FeaturedCollectionBestSellerRootQuery = { + collection?: StorefrontAPI.Maybe< + Pick & { + products: { + nodes: Array< + Pick & { + images: { + nodes: Array< + Pick< + StorefrontAPI.Image, + 'id' | 'url' | 'altText' | 'width' | 'height' + > + >; + }; + } + >; + }; + } + >; +}; + +export type MetaObjectHomeRootQueryVariables = StorefrontAPI.Exact<{ + country?: StorefrontAPI.InputMaybe; + language?: StorefrontAPI.InputMaybe; +}>; + +export type MetaObjectHomeRootQuery = { + metaobjects: { + nodes: Array<{ + fields: Array< + Pick & { + reference?: StorefrontAPI.Maybe< + | (Pick & { + image?: StorefrontAPI.Maybe>; + }) + | (Pick & { + fields: Array< + Pick & { + references?: StorefrontAPI.Maybe<{ + nodes: Array< + Pick & { + fields: Array< + Pick< + StorefrontAPI.MetaobjectField, + 'key' | 'type' | 'value' + > + >; + } + >; + }>; + reference?: StorefrontAPI.Maybe< + | (Pick & { + image?: StorefrontAPI.Maybe< + Pick + >; + }) + | (Pick & { + fields: Array< + Pick< + StorefrontAPI.MetaobjectField, + 'key' | 'value' + > & { + reference?: StorefrontAPI.Maybe< + Pick & { + fields: Array< + Pick< + StorefrontAPI.MetaobjectField, + 'key' | 'value' + > + >; + } + >; + } + >; + }) + >; + } + >; + }) + >; + } + >; + }>; + }; +}; + export type MoneyFragment = Pick< StorefrontAPI.MoneyV2, 'currencyCode' | 'amount' @@ -1799,18 +2540,42 @@ interface GeneratedQueryTypes { return: FooterQuery; variables: FooterQueryVariables; }; + '#graphql\nquery RootMetaObject($country: CountryCode, $language: LanguageCode)\n@inContext(country: $country, language: $language) {\n metaobjects(first: 100, type: "footer") {\n nodes {\n fields {\n key\n type\n value\n reference {\n ... on Metaobject {\n id\n fields {\n key\n value\n references(first: 10) {\n nodes {\n ... on Metaobject {\n id\n fields {\n key\n type\n value\n reference {\n ... on Metaobject {\n id\n fields {\n key\n value\n }\n }\n ... on MediaImage {\n id\n image {\n url\n }\n }\n }\n }\n }\n }\n }\n }\n }\n ... on MediaImage {\n id\n image {\n url\n }\n }\n }\n references(first: 10) {\n nodes {\n ... on Metaobject {\n id\n fields {\n key\n type\n value\n reference {\n ... on Metaobject {\n id\n fields {\n key\n value\n references(first: 10) {\n nodes {\n ... on Metaobject {\n id\n fields {\n key\n type\n value\n reference {\n ... on Metaobject {\n id\n fields {\n key\n value\n }\n }\n ... on MediaImage {\n id\n image {\n url\n }\n }\n }\n }\n }\n }\n }\n }\n }\n ... on MediaImage {\n id\n image {\n url\n }\n }\n }\n }\n }\n ... on MediaImage {\n id\n image {\n url\n }\n }\n }\n }\n }\n }\n }\n}': { + return: RootMetaObjectQuery; + variables: RootMetaObjectQueryVariables; + }; '#graphql\n query Sitemap($urlLimits: Int, $language: LanguageCode)\n @inContext(language: $language) {\n products(\n first: $urlLimits\n query: "published_status:\'online_store:visible\'"\n ) {\n nodes {\n updatedAt\n handle\n onlineStoreUrl\n title\n featuredImage {\n url\n altText\n }\n }\n }\n collections(\n first: $urlLimits\n query: "published_status:\'online_store:visible\'"\n ) {\n nodes {\n updatedAt\n handle\n onlineStoreUrl\n }\n }\n pages(first: $urlLimits, query: "published_status:\'published\'") {\n nodes {\n updatedAt\n handle\n onlineStoreUrl\n }\n }\n }\n': { return: SitemapQuery; variables: SitemapQueryVariables; }; - '#graphql\n fragment FeaturedCollection on Collection {\n id\n title\n image {\n id\n url\n altText\n width\n height\n }\n handle\n }\n query FeaturedCollection($country: CountryCode, $language: LanguageCode)\n @inContext(country: $country, language: $language) {\n collections(first: 1, sortKey: UPDATED_AT, reverse: true) {\n nodes {\n ...FeaturedCollection\n }\n }\n }\n': { - return: FeaturedCollectionQuery; - variables: FeaturedCollectionQueryVariables; - }; - '#graphql\n fragment RecommendedProduct on Product {\n id\n title\n handle\n priceRange {\n minVariantPrice {\n amount\n currencyCode\n }\n }\n images(first: 1) {\n nodes {\n id\n url\n altText\n width\n height\n }\n }\n }\n query RecommendedProducts ($country: CountryCode, $language: LanguageCode)\n @inContext(country: $country, language: $language) {\n products(first: 4, sortKey: UPDATED_AT, reverse: true) {\n nodes {\n ...RecommendedProduct\n }\n }\n }\n': { + '#graphql\n fragment RecommendedProduct on Product {\n id\n title\n handle\n productType\n priceRange {\n minVariantPrice {\n amount\n currencyCode\n }\n }\n compareAtPriceRange {\n minVariantPrice {\n amount\n currencyCode\n }\n \n }\n images(first: 1) {\n nodes {\n id\n url\n altText\n width\n height\n }\n }\n }\n query RecommendedProducts ($country: CountryCode, $language: LanguageCode)\n @inContext(country: $country, language: $language) {\n products(first: 3, sortKey: CREATED_AT, reverse: true) {\n nodes {\n ...RecommendedProduct\n }\n \n }\n }\n': { return: RecommendedProductsQuery; variables: RecommendedProductsQueryVariables; }; + '#graphql\n fragment Collection on Collection {\n id\n title\n handle\n description\n image {\n id\n url\n altText\n width\n height\n }\n }\n query StoreCollections(\n $country: CountryCode\n $endCursor: String\n # $first: Int\n $language: LanguageCode\n $last: Int\n $startCursor: String\n ) @inContext(country: $country, language: $language) {\n collections(\n first: 3,\n last: $last,\n before: $startCursor,\n after: $endCursor,\n sortKey: UPDATED_AT,\n reverse: true\n ) {\n nodes {\n ...Collection,\n products(first: 250) {\n edges {\n node {\n id\n }\n }\n }\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n': { + return: StoreCollectionsQuery; + variables: StoreCollectionsQueryVariables; + }; + '#graphql\nquery FeaturedCollectionNewArrivals($country: CountryCode, $language: LanguageCode)\n@inContext(country: $country, language: $language) {\n collection(handle: "new-arrivals") {\n handle\n products(first: 3) {\n nodes{\n id\n title\n handle\n images(first: 1) {\n nodes {\n id\n url\n altText\n width\n height\n }\n }\n }\n }\n }\n}': { + return: FeaturedCollectionNewArrivalsQuery; + variables: FeaturedCollectionNewArrivalsQueryVariables; + }; + '#graphql\n query FeaturedCollectionTopCategories($country: CountryCode, $language: LanguageCode)\n @inContext(country: $country, language: $language) {\n collections(first:8, reverse:true) {\n edges {\n node {\n title\n handle\n id\n image {\n id\n url\n altText\n width\n height\n }\n products(first: 250) {\n edges {\n node {\n id\n title\n productType\n \n }\n }\n }\n }\n }\n }\n }\n': { + return: FeaturedCollectionTopCategoriesQuery; + variables: FeaturedCollectionTopCategoriesQueryVariables; + }; + '#graphql\nquery FeaturedCollectionBestSeller($country: CountryCode, $language: LanguageCode)\n@inContext(country: $country, language: $language) {\n collection(handle: "womens-fashion") {\n handle\n products(first: 4) {\n nodes{\n id\n title\n handle\n images(first: 1) {\n nodes {\n id\n url\n altText\n width\n height\n }\n }\n }\n }\n }\n}': { + return: FeaturedCollectionBestSellerQuery; + variables: FeaturedCollectionBestSellerQueryVariables; + }; + '#graphql\nquery MetaObjectHome($country: CountryCode, $language: LanguageCode)\n@inContext(country: $country, language: $language) {\n metaobjects(first: 100, type: "home") {\n nodes {\n fields {\n key\n type\n value\n reference {\n ... on Metaobject {\n id\n fields {\n key\n value\n references(first: 10) {\n nodes {\n ... on Metaobject {\n id\n fields {\n key\n type\n value\n }\n }\n }\n }\n reference {\n ... on Metaobject {\n id\n \n fields {\n key\n \n value\n reference {\n ... on Metaobject {\n id\n fields {\n key\n value\n \n }\n }\n }\n }\n }\n ... on MediaImage {\n id\n image {\n url\n }\n }\n }\n }\n }\n ... on MediaImage {\n id\n image {\n url\n }\n }\n }\n }\n }\n }\n}': { + return: MetaObjectHomeQuery; + variables: MetaObjectHomeQueryVariables; + }; + '#graphql\nquery MetaObjectAbout($country: CountryCode, $language: LanguageCode)\n@inContext(country: $country, language: $language) {\n metaobjects(first: 100, type: "about_us") {\n nodes {\n fields {\n key\n type\n value\n reference {\n ... on Metaobject {\n id\n fields {\n key\n value\n }\n }\n }\n }\n }\n }\n}': { + return: MetaObjectAboutQuery; + variables: MetaObjectAboutQueryVariables; + }; '#graphql\n fragment OrderMoney on MoneyV2 {\n amount\n currencyCode\n }\n fragment AddressFull on MailingAddress {\n address1\n address2\n city\n company\n country\n countryCodeV2\n firstName\n formatted\n id\n lastName\n name\n phone\n province\n provinceCode\n zip\n }\n fragment DiscountApplication on DiscountApplication {\n value {\n __typename\n ... on MoneyV2 {\n ...OrderMoney\n }\n ... on PricingPercentageValue {\n percentage\n }\n }\n }\n fragment OrderLineProductVariant on ProductVariant {\n id\n image {\n altText\n height\n url\n id\n width\n }\n price {\n ...OrderMoney\n }\n product {\n handle\n }\n sku\n title\n }\n fragment OrderLineItemFull on OrderLineItem {\n title\n quantity\n discountAllocations {\n allocatedAmount {\n ...OrderMoney\n }\n discountApplication {\n ...DiscountApplication\n }\n }\n originalTotalPrice {\n ...OrderMoney\n }\n discountedTotalPrice {\n ...OrderMoney\n }\n variant {\n ...OrderLineProductVariant\n }\n }\n fragment Order on Order {\n id\n name\n orderNumber\n statusUrl\n processedAt\n fulfillmentStatus\n totalTaxV2 {\n ...OrderMoney\n }\n totalPriceV2 {\n ...OrderMoney\n }\n subtotalPriceV2 {\n ...OrderMoney\n }\n shippingAddress {\n ...AddressFull\n }\n discountApplications(first: 100) {\n nodes {\n ...DiscountApplication\n }\n }\n lineItems(first: 100) {\n nodes {\n ...OrderLineItemFull\n }\n }\n }\n query Order(\n $country: CountryCode\n $language: LanguageCode\n $orderId: ID!\n ) @inContext(country: $country, language: $language) {\n order: node(id: $orderId) {\n ... on Order {\n ...Order\n }\n }\n }\n': { return: OrderQuery; variables: OrderQueryVariables; @@ -1839,17 +2604,25 @@ interface GeneratedQueryTypes { return: BlogsQuery; variables: BlogsQueryVariables; }; - '#graphql\n #graphql\n fragment MoneyProductItem on MoneyV2 {\n amount\n currencyCode\n }\n fragment ProductItem on Product {\n id\n handle\n title\n featuredImage {\n id\n altText\n url\n width\n height\n }\n priceRange {\n minVariantPrice {\n ...MoneyProductItem\n }\n maxVariantPrice {\n ...MoneyProductItem\n }\n }\n variants(first: 1) {\n nodes {\n selectedOptions {\n name\n value\n }\n }\n }\n }\n\n query Collection(\n $handle: String!\n $country: CountryCode\n $language: LanguageCode\n $first: Int\n $last: Int\n $startCursor: String\n $endCursor: String\n ) @inContext(country: $country, language: $language) {\n collection(handle: $handle) {\n id\n handle\n title\n description\n products(\n first: $first,\n last: $last,\n before: $startCursor,\n after: $endCursor\n ) {\n nodes {\n ...ProductItem\n }\n pageInfo {\n hasPreviousPage\n hasNextPage\n endCursor\n startCursor\n }\n }\n }\n }\n': { + '#graphql\n #graphql\n fragment MoneyProductItem on MoneyV2 {\n amount\n currencyCode\n }\n fragment ProductItem on Product {\n id\n handle\n title\n featuredImage {\n id\n altText\n url\n width\n height\n }\n priceRange {\n minVariantPrice {\n ...MoneyProductItem\n }\n maxVariantPrice {\n ...MoneyProductItem\n }\n }\n compareAtPriceRange {\n minVariantPrice {\n amount\n currencyCode\n }\n \n }\n variants(first: 1) {\n nodes {\n selectedOptions {\n name\n value\n }\n }\n }\n }\n\n query Collection(\n $handle: String!\n $country: CountryCode\n $language: LanguageCode\n $first: Int\n $last: Int\n $startCursor: String\n $endCursor: String\n ) @inContext(country: $country, language: $language) {\n collection(handle: $handle) {\n id\n handle\n title\n description\n products(\n first: $first,\n last: $last,\n before: $startCursor,\n after: $endCursor\n ) {\n nodes {\n ...ProductItem\n }\n pageInfo {\n hasPreviousPage\n hasNextPage\n endCursor\n startCursor\n }\n }\n }\n }\n': { return: CollectionQuery; variables: CollectionQueryVariables; }; - '#graphql\n fragment Collection on Collection {\n id\n title\n handle\n image {\n id\n url\n altText\n width\n height\n }\n }\n query StoreCollections(\n $country: CountryCode\n $endCursor: String\n $first: Int\n $language: LanguageCode\n $last: Int\n $startCursor: String\n ) @inContext(country: $country, language: $language) {\n collections(\n first: $first,\n last: $last,\n before: $startCursor,\n after: $endCursor\n ) {\n nodes {\n ...Collection\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n': { - return: StoreCollectionsQuery; - variables: StoreCollectionsQueryVariables; + '#graphql\n fragment Collection on Collection {\n id\n title\n handle\n description\n image {\n id\n url\n altText\n width\n height\n }\n }\n query StoreCollectionsIndex(\n $country: CountryCode\n $endCursor: String\n $first: Int\n $language: LanguageCode\n $last: Int\n $startCursor: String\n ) @inContext(country: $country, language: $language) {\n collections(\n first: $first,\n last: $last,\n before: $startCursor,\n after: $endCursor\n ) {\n nodes {\n ...Collection\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n': { + return: StoreCollectionsIndexQuery; + variables: StoreCollectionsIndexQueryVariables; }; - '#graphql\n query Page(\n $language: LanguageCode,\n $country: CountryCode,\n $handle: String!\n )\n @inContext(language: $language, country: $country) {\n page(handle: $handle) {\n id\n title\n body\n seo {\n description\n title\n }\n }\n }\n': { - return: PageQuery; - variables: PageQueryVariables; + '#graphql\nquery MetaObjectCollectionsPageHeading($country: CountryCode, $language: LanguageCode)\n@inContext(country: $country, language: $language) {\n metaobjects(first: 100, type: "product_page_contents") {\n nodes {\n fields {\n key\n type\n value\n reference {\n ... on Metaobject {\n id\n fields {\n key\n value\n }\n }\n }\n }\n }\n }\n}': { + return: MetaObjectCollectionsPageHeadingQuery; + variables: MetaObjectCollectionsPageHeadingQueryVariables; + }; + '#graphql\n fragment CollectionProduct on Product {\n id\n title\n handle\n priceRange {\n minVariantPrice {\n amount\n currencyCode\n }\n maxVariantPrice {\n amount\n currencyCode\n }\n }\n compareAtPriceRange {\n minVariantPrice {\n amount\n currencyCode\n }\n \n }\n images(first: 1) {\n nodes {\n id\n url\n altText\n width\n height\n }\n }\n }\n query RecommendedProductsAllPage ( $country: CountryCode\n $endCursor: String\n $first: Int\n $language: LanguageCode\n $last: Int\n $startCursor: String\n ) @inContext(country: $country, language: $language) {\n products(first: $first,\n last: $last,\n before: $startCursor,\n after: $endCursor,\n sortKey: CREATED_AT\n reverse: true\n ) {\n nodes {\n ...CollectionProduct\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n': { + return: RecommendedProductsAllPageQuery; + variables: RecommendedProductsAllPageQueryVariables; + }; + '#graphql\nquery MetaObjectAllProductsPageHeading($country: CountryCode, $language: LanguageCode)\n@inContext(country: $country, language: $language) {\n metaobjects(first: 100, type: "product_page_contents") {\n nodes {\n fields {\n key\n type\n value\n reference {\n ... on Metaobject {\n id\n fields {\n key\n value\n }\n }\n }\n }\n }\n }\n}': { + return: MetaObjectAllProductsPageHeadingQuery; + variables: MetaObjectAllProductsPageHeadingQueryVariables; }; '#graphql\n fragment Policy on ShopPolicy {\n body\n handle\n id\n title\n url\n }\n query Policy(\n $country: CountryCode\n $language: LanguageCode\n $privacyPolicy: Boolean!\n $refundPolicy: Boolean!\n $shippingPolicy: Boolean!\n $termsOfService: Boolean!\n ) @inContext(language: $language, country: $country) {\n shop {\n privacyPolicy @include(if: $privacyPolicy) {\n ...Policy\n }\n shippingPolicy @include(if: $shippingPolicy) {\n ...Policy\n }\n termsOfService @include(if: $termsOfService) {\n ...Policy\n }\n refundPolicy @include(if: $refundPolicy) {\n ...Policy\n }\n }\n }\n': { return: PolicyQuery; @@ -1859,14 +2632,26 @@ interface GeneratedQueryTypes { return: PoliciesQuery; variables: PoliciesQueryVariables; }; - '#graphql\n query Product(\n $country: CountryCode\n $handle: String!\n $language: LanguageCode\n $selectedOptions: [SelectedOptionInput!]!\n ) @inContext(country: $country, language: $language) {\n product(handle: $handle) {\n ...Product\n }\n }\n #graphql\n fragment Product on Product {\n id\n title\n vendor\n handle\n descriptionHtml\n description\n options {\n name\n values\n }\n selectedVariant: variantBySelectedOptions(selectedOptions: $selectedOptions) {\n ...ProductVariant\n }\n variants(first: 1) {\n nodes {\n ...ProductVariant\n }\n }\n seo {\n description\n title\n }\n }\n #graphql\n fragment ProductVariant on ProductVariant {\n availableForSale\n compareAtPrice {\n amount\n currencyCode\n }\n id\n image {\n __typename\n id\n url\n altText\n width\n height\n }\n price {\n amount\n currencyCode\n }\n product {\n title\n handle\n }\n selectedOptions {\n name\n value\n }\n sku\n title\n unitPrice {\n amount\n currencyCode\n }\n }\n\n\n': { + '#graphql\n query Product(\n $country: CountryCode\n $handle: String!\n $language: LanguageCode\n $key: String!\n $selectedOptions: [SelectedOptionInput!]! \n ) @inContext(country: $country, language: $language) {\n product(handle: $handle) {\n ...ProductDetails\n collections(first: 1) {\n edges {\n node {\n id\n title\n }\n }\n }\n metafield(namespace: "contentstack_products", key: $key) {\n key\n value\n reference {\n ... on Metaobject {\n id\n fields {\n key\n value\n }\n }\n }\n }\n }\n }\n #graphql\n fragment ProductDetails on Product {\n id\n title\n vendor\n handle\n descriptionHtml\n description\n options {\n name\n values\n }\n selectedVariant: variantBySelectedOptions(selectedOptions: $selectedOptions) {\n ...ProductVariant\n }\n variants(first: 1) {\n nodes {\n ...ProductVariant\n }\n }\n seo {\n description\n title\n }\n }\n #graphql\n fragment ProductVariant on ProductVariant {\n availableForSale\n compareAtPrice {\n amount\n currencyCode\n }\n id\n image {\n __typename\n id\n url\n altText\n width\n height\n }\n price {\n amount\n currencyCode\n }\n product {\n title\n handle\n }\n selectedOptions {\n name\n value\n }\n sku\n title\n unitPrice {\n amount\n currencyCode\n }\n }\n \n \n ': { return: ProductQuery; variables: ProductQueryVariables; }; - '#graphql\n #graphql\n fragment ProductVariants on Product {\n variants(first: 250) {\n nodes {\n ...ProductVariant\n }\n }\n }\n #graphql\n fragment ProductVariant on ProductVariant {\n availableForSale\n compareAtPrice {\n amount\n currencyCode\n }\n id\n image {\n __typename\n id\n url\n altText\n width\n height\n }\n price {\n amount\n currencyCode\n }\n product {\n title\n handle\n }\n selectedOptions {\n name\n value\n }\n sku\n title\n unitPrice {\n amount\n currencyCode\n }\n }\n\n\n query ProductVariants(\n $country: CountryCode\n $language: LanguageCode\n $handle: String!\n ) @inContext(country: $country, language: $language) {\n product(handle: $handle) {\n ...ProductVariants\n }\n }\n': { + '#graphql\n #graphql\n fragment ProductVariants on Product {\n variants(first: 250) {\n nodes {\n ...ProductVariant\n }\n }\n }\n #graphql\n fragment ProductVariant on ProductVariant {\n availableForSale\n compareAtPrice {\n amount\n currencyCode\n }\n id\n image {\n __typename\n id\n url\n altText\n width\n height\n }\n price {\n amount\n currencyCode\n }\n product {\n title\n handle\n }\n selectedOptions {\n name\n value\n }\n sku\n title\n unitPrice {\n amount\n currencyCode\n }\n }\n \n \n query ProductVariants(\n $country: CountryCode\n $language: LanguageCode\n $handle: String!\n ) @inContext(country: $country, language: $language) {\n product(handle: $handle) {\n ...ProductVariants\n }\n }\n ': { return: ProductVariantsQuery; variables: ProductVariantsQueryVariables; }; + '#graphql\n query productRecommendations(\n $country: CountryCode\n $language: LanguageCode\n $productID: ID!\n ) @inContext(country: $country, language: $language) {\n productRecommendations(productId: $productID, intent: RELATED) {\n id,\n title\n handle\n availableForSale\n priceRange {\n minVariantPrice {\n amount\n currencyCode\n }\n maxVariantPrice {\n amount\n currencyCode\n }\n }\n compareAtPriceRange {\n minVariantPrice {\n amount\n currencyCode\n }\n maxVariantPrice {\n amount\n currencyCode\n }\n \n }\n images(first:1){\n nodes{\n id\n url\n altText\n width\n height\n }\n }\n }\n }\n ': { + return: ProductRecommendationsQuery; + variables: ProductRecommendationsQueryVariables; + }; + '#graphql\nquery MetaObjectProductDetailPage($country: CountryCode, $language: LanguageCode, $first: Int, $after: String)\n@inContext(country: $country, language: $language) {\n metaobjects(first: $first, after: $after, type: "product_detail_page") {\n edges {\n node {\n id\n fields {\n key\n value\n reference {\n ... on Product {\n id\n title\n }\n }\n }\n }\n cursor\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n}': { + return: MetaObjectProductDetailPageQuery; + variables: MetaObjectProductDetailPageQueryVariables; + }; + '#graphql\nquery MetaObjectPdpPageContents($country: CountryCode, $language: LanguageCode)\n@inContext(country: $country, language: $language) {\n metaobjects(first: 100, type: "product_page_contents") {\n nodes {\n fields {\n key\n type\n value\n reference {\n ... on Metaobject {\n id\n fields {\n key\n value\n }\n }\n }\n }\n }\n }\n}': { + return: MetaObjectPdpPageContentsQuery; + variables: MetaObjectPdpPageContentsQueryVariables; + }; '#graphql\n fragment SearchProduct on Product {\n __typename\n handle\n id\n publishedAt\n title\n trackingParameters\n vendor\n variants(first: 1) {\n nodes {\n id\n image {\n url\n altText\n width\n height\n }\n price {\n amount\n currencyCode\n }\n compareAtPrice {\n amount\n currencyCode\n }\n selectedOptions {\n name\n value\n }\n product {\n handle\n title\n }\n }\n }\n }\n fragment SearchPage on Page {\n __typename\n handle\n id\n title\n trackingParameters\n }\n fragment SearchArticle on Article {\n __typename\n handle\n id\n title\n trackingParameters\n }\n query search(\n $country: CountryCode\n $endCursor: String\n $first: Int\n $language: LanguageCode\n $last: Int\n $query: String!\n $startCursor: String\n ) @inContext(country: $country, language: $language) {\n products: search(\n query: $query,\n unavailableProducts: HIDE,\n types: [PRODUCT],\n first: $first,\n sortKey: RELEVANCE,\n last: $last,\n before: $startCursor,\n after: $endCursor\n ) {\n nodes {\n ...on Product {\n ...SearchProduct\n }\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n pages: search(\n query: $query,\n types: [PAGE],\n first: 10\n ) {\n nodes {\n ...on Page {\n ...SearchPage\n }\n }\n }\n articles: search(\n query: $query,\n types: [ARTICLE],\n first: 10\n ) {\n nodes {\n ...on Article {\n ...SearchArticle\n }\n }\n }\n }\n': { return: SearchQuery; variables: SearchQueryVariables; @@ -1875,6 +2660,30 @@ interface GeneratedQueryTypes { return: StoreRobotsQuery; variables: StoreRobotsQueryVariables; }; + '#graphql\n fragment RecommendedProduct on Product {\n id\n title\n handle\n productType\n priceRange {\n minVariantPrice {\n amount\n currencyCode\n }\n }\n compareAtPriceRange {\n minVariantPrice {\n amount\n currencyCode\n }\n \n }\n images(first: 1) {\n nodes {\n id\n url\n altText\n width\n height\n }\n }\n }\n query RecommendedProductsRoot ($country: CountryCode, $language: LanguageCode)\n @inContext(country: $country, language: $language) {\n products(first: 3, sortKey: CREATED_AT, reverse: true) {\n nodes {\n ...RecommendedProduct\n }\n \n }\n }\n': { + return: RecommendedProductsRootQuery; + variables: RecommendedProductsRootQueryVariables; + }; + '#graphql\n fragment Collection on Collection {\n id\n title\n handle\n description\n image {\n id\n url\n altText\n width\n height\n }\n }\n query StoreCollectionsRoot(\n $country: CountryCode\n $endCursor: String\n # $first: Int\n $language: LanguageCode\n $last: Int\n $startCursor: String\n ) @inContext(country: $country, language: $language) {\n collections(\n first: 3,\n last: $last,\n before: $startCursor,\n after: $endCursor,\n sortKey: UPDATED_AT,\n reverse: true\n ) {\n nodes {\n ...Collection,\n products(first: 250) {\n edges {\n node {\n id\n }\n }\n }\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n': { + return: StoreCollectionsRootQuery; + variables: StoreCollectionsRootQueryVariables; + }; + '#graphql\nquery FeaturedCollectionNewArrivalsRoot($country: CountryCode, $language: LanguageCode)\n@inContext(country: $country, language: $language) {\n collection(handle: "new-arrivals") {\n handle\n products(first: 3) {\n nodes{\n id\n title\n handle\n images(first: 1) {\n nodes {\n id\n url\n altText\n width\n height\n }\n }\n }\n }\n }\n}': { + return: FeaturedCollectionNewArrivalsRootQuery; + variables: FeaturedCollectionNewArrivalsRootQueryVariables; + }; + '#graphql\n query FeaturedCollectionTopCategoriesRoot($country: CountryCode, $language: LanguageCode)\n @inContext(country: $country, language: $language) {\n collections(first:8, reverse:true) {\n edges {\n node {\n title\n handle\n id\n image {\n id\n url\n altText\n width\n height\n }\n products(first: 250) {\n edges {\n node {\n id\n title\n productType\n \n }\n }\n }\n }\n }\n }\n }\n': { + return: FeaturedCollectionTopCategoriesRootQuery; + variables: FeaturedCollectionTopCategoriesRootQueryVariables; + }; + '#graphql\nquery FeaturedCollectionBestSellerRoot($country: CountryCode, $language: LanguageCode)\n@inContext(country: $country, language: $language) {\n collection(handle: "womens-fashion") {\n handle\n products(first: 4) {\n nodes{\n id\n title\n handle\n images(first: 1) {\n nodes {\n id\n url\n altText\n width\n height\n }\n }\n }\n }\n }\n}': { + return: FeaturedCollectionBestSellerRootQuery; + variables: FeaturedCollectionBestSellerRootQueryVariables; + }; + '#graphql\nquery MetaObjectHomeRoot($country: CountryCode, $language: LanguageCode)\n@inContext(country: $country, language: $language) {\n metaobjects(first: 100, type: "home") {\n nodes {\n fields {\n key\n type\n value\n reference {\n ... on Metaobject {\n id\n fields {\n key\n value\n references(first: 10) {\n nodes {\n ... on Metaobject {\n id\n fields {\n key\n type\n value\n }\n }\n }\n }\n reference {\n ... on Metaobject {\n id\n \n fields {\n key\n \n value\n reference {\n ... on Metaobject {\n id\n fields {\n key\n value\n \n }\n }\n }\n }\n }\n ... on MediaImage {\n id\n image {\n url\n }\n }\n }\n }\n }\n ... on MediaImage {\n id\n image {\n url\n }\n }\n }\n }\n }\n }\n}': { + return: MetaObjectHomeRootQuery; + variables: MetaObjectHomeRootQueryVariables; + }; } interface GeneratedMutationTypes {