GitHub

ShopifyGetAProductQuery

import { ShopifyGetAProductQuery } from '@daffodil/driver/shopify'

type ShopifyGetAProductQuery = {
    __typename?: 'QueryRoot';
    product?: {
        __typename?: 'Product';
        handle: string;
        id: string;
        title: string;
        description: string;
        availableForSale: boolean;
        onlineStoreUrl?: any | null;
        priceRange: {
            __typename?: 'ProductPriceRange';
            maxVariantPrice: {
                __typename?: 'MoneyV2';
                amount: any;
                currencyCode: CurrencyCode;
            };
            minVariantPrice: {
                __typename?: 'MoneyV2';
                amount: any;
                currencyCode: CurrencyCode;
            };
        };
        images: {
            __typename?: 'ImageConnection';
            nodes: Array<{
                __typename?: 'Image';
                id?: string | null;
                url: any;
                altText?: string | null;
            }>;
        };
    } | null;
}