@shopify/hydrogen-react
Version:
React components, hooks, and utilities for creating custom Shopify storefronts
27 lines (26 loc) • 875 B
TypeScript
/**
* Meant to be used with GraphQL CodeGen to type the Storefront API's custom scalars correctly.
* Reference for the GraphQL types: https://shopify.dev/docs/api/storefront/2026-01/scalars/HTML
* Note: JSON is generated as 'unknown' by default.
*/
export declare const storefrontApiCustomScalars: {
DateTime: string;
Decimal: string;
HTML: string;
URL: string;
Color: string;
UnsignedInt64: string;
};
/**
* Meant to be used with GraphQL CodeGen to type the Storefront API's custom scalars correctly.
* Reference for the GraphQL types: https://shopify.dev/docs/api/customer/2026-01/scalars/HTML
* Note: JSON is generated as 'unknown' by default.
*/
export declare const customerAccountApiCustomScalars: {
DateTime: string;
Decimal: string;
HTML: string;
ISO8601DateTime: string;
URL: string;
UnsignedInt64: string;
};