-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstorefrontapi.generated.d.ts
More file actions
91 lines (80 loc) · 4.02 KB
/
storefrontapi.generated.d.ts
File metadata and controls
91 lines (80 loc) · 4.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/* eslint-disable eslint-comments/disable-enable-pair */
/* eslint-disable eslint-comments/no-unlimited-disable */
/* eslint-disable */
import type * as StorefrontAPI from "@shopify/hydrogen/storefront-api-types";
export type ShopQueryVariables = StorefrontAPI.Exact<{ [key: string]: never }>;
export type ShopQuery = { shop: Pick<StorefrontAPI.Shop, "id"> };
export type ProductQueryVariables = StorefrontAPI.Exact<{
handle: StorefrontAPI.Scalars["String"]["input"];
}>;
export type ProductQuery = {
product?: StorefrontAPI.Maybe<
Pick<StorefrontAPI.Product, "id" | "title" | "description" | "descriptionHtml" | "vendor"> & {
variants: {
nodes: Array<
Pick<StorefrontAPI.ProductVariant, "id" | "title" | "quantityAvailable"> & {
price: Pick<StorefrontAPI.MoneyV2, "amount" | "currencyCode">;
compareAtPrice?: StorefrontAPI.Maybe<Pick<StorefrontAPI.MoneyV2, "amount" | "currencyCode">>;
}
>;
};
}
>;
};
export type PostersKeycapsProductQueryVariables = StorefrontAPI.Exact<{
handle: StorefrontAPI.Scalars["String"]["input"];
}>;
export type PostersKeycapsProductQuery = {
product?: StorefrontAPI.Maybe<
Pick<StorefrontAPI.Product, "id" | "title" | "description" | "descriptionHtml" | "vendor"> & {
seo: Pick<StorefrontAPI.Seo, "title" | "description">;
variants: {
nodes: Array<
Pick<StorefrontAPI.ProductVariant, "id" | "title" | "quantityAvailable"> & {
price: Pick<StorefrontAPI.MoneyV2, "amount" | "currencyCode">;
compareAtPrice?: StorefrontAPI.Maybe<Pick<StorefrontAPI.MoneyV2, "amount" | "currencyCode">>;
}
>;
};
}
>;
};
export type Sprout75ProductQueryVariables = StorefrontAPI.Exact<{
handle: StorefrontAPI.Scalars["String"]["input"];
}>;
export type Sprout75ProductQuery = {
product?: StorefrontAPI.Maybe<
Pick<StorefrontAPI.Product, "id" | "title" | "vendor"> & {
variants: {
nodes: Array<
Pick<StorefrontAPI.ProductVariant, "id" | "title"> & {
price: Pick<StorefrontAPI.MoneyV2, "amount">;
}
>;
};
}
>;
};
interface GeneratedQueryTypes {
"#graphql\n\tquery Shop { shop { id } }": {
return: ShopQuery;
variables: ShopQueryVariables;
};
"#graphql\nquery Product($handle: String!) {\n product(handle: $handle) {\n\t\tid\n\t\ttitle\n\t\tdescription\n\t\tdescriptionHtml\n\t\tvendor\n variants(first: 1) {\n nodes {\n id\n\t\t\t\ttitle\n price {\n amount\n currencyCode\n }\n compareAtPrice {\n amount\n currencyCode\n }\n\t\t\t\tquantityAvailable\n }\n }\n }\n}\n": {
return: ProductQuery;
variables: ProductQueryVariables;
};
"#graphql\nquery PostersKeycapsProduct($handle: String!) {\n product(handle: $handle) {\n id\n title\n description\n descriptionHtml\n vendor\n\t\tseo {\n\t\t\ttitle\n\t\t\tdescription\n }\n variants(first: 1) {\n nodes {\n id\n title\n price {\n amount\n currencyCode\n }\n compareAtPrice {\n amount\n currencyCode\n }\n quantityAvailable\n }\n }\n }\n}\n": {
return: PostersKeycapsProductQuery;
variables: PostersKeycapsProductQueryVariables;
};
"#graphql\nquery Sprout75Product($handle: String!) {\n product(handle: $handle) {\n id\n title\n vendor\n variants(first: 1) {\n nodes {\n id\n title\n price {\n amount\n }\n }\n }\n }\n}\n": {
return: Sprout75ProductQuery;
variables: Sprout75ProductQueryVariables;
};
}
interface GeneratedMutationTypes {}
declare module "@shopify/hydrogen" {
interface StorefrontQueries extends GeneratedQueryTypes {}
interface StorefrontMutations extends GeneratedMutationTypes {}
}