@shopify/shop-minis-cli 0.0.101 → 0.0.102
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/commands/generate-graphql-types/index.js +17 -5
- package/build/commands/generate-graphql-types/index.js.map +1 -1
- package/build/product_public.graphql +1435 -0
- package/build/utils/extension-targets.d.ts +3 -0
- package/build/utils/extension-targets.js +4 -0
- package/build/utils/extension-targets.js.map +1 -0
- package/package.json +3 -2
|
@@ -0,0 +1,1435 @@
|
|
|
1
|
+
"""
|
|
2
|
+
The part of the image that should remain after cropping.
|
|
3
|
+
"""
|
|
4
|
+
enum CropRegion {
|
|
5
|
+
"""
|
|
6
|
+
Keep the bottom of the image.
|
|
7
|
+
"""
|
|
8
|
+
BOTTOM
|
|
9
|
+
|
|
10
|
+
"""
|
|
11
|
+
Keep the center of the image.
|
|
12
|
+
"""
|
|
13
|
+
CENTER
|
|
14
|
+
|
|
15
|
+
"""
|
|
16
|
+
Keep the left of the image.
|
|
17
|
+
"""
|
|
18
|
+
LEFT
|
|
19
|
+
|
|
20
|
+
"""
|
|
21
|
+
Crop the exact region of the image specified by the crop_left, crop_top, crop_width and crop_height parameters.
|
|
22
|
+
"""
|
|
23
|
+
REGION
|
|
24
|
+
|
|
25
|
+
"""
|
|
26
|
+
Keep the right of the image.
|
|
27
|
+
"""
|
|
28
|
+
RIGHT
|
|
29
|
+
|
|
30
|
+
"""
|
|
31
|
+
Keep the top of the image.
|
|
32
|
+
"""
|
|
33
|
+
TOP
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
"""
|
|
37
|
+
The input fields for defining an arbitrary cropping region.
|
|
38
|
+
"""
|
|
39
|
+
input CropRegionInput {
|
|
40
|
+
"""
|
|
41
|
+
Height of the region of the image to extract when using the region crop mode.
|
|
42
|
+
"""
|
|
43
|
+
height: Int!
|
|
44
|
+
|
|
45
|
+
"""
|
|
46
|
+
Left position of the region of the image to extract when using the region crop mode.
|
|
47
|
+
"""
|
|
48
|
+
left: Int!
|
|
49
|
+
|
|
50
|
+
"""
|
|
51
|
+
Top position of the region of the image to extract when using the region crop mode.
|
|
52
|
+
"""
|
|
53
|
+
top: Int!
|
|
54
|
+
|
|
55
|
+
"""
|
|
56
|
+
Width of the region of the image to extract when using the region crop mode.
|
|
57
|
+
"""
|
|
58
|
+
width: Int!
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
"""
|
|
62
|
+
The three-letter currency codes that represent the world currencies used in
|
|
63
|
+
stores. These include standard ISO 4217 codes, legacy codes,
|
|
64
|
+
and non-standard codes.
|
|
65
|
+
"""
|
|
66
|
+
enum CurrencyCode {
|
|
67
|
+
"""
|
|
68
|
+
United Arab Emirates Dirham (AED).
|
|
69
|
+
"""
|
|
70
|
+
AED
|
|
71
|
+
|
|
72
|
+
"""
|
|
73
|
+
Afghan Afghani (AFN).
|
|
74
|
+
"""
|
|
75
|
+
AFN
|
|
76
|
+
|
|
77
|
+
"""
|
|
78
|
+
Albanian Lek (ALL).
|
|
79
|
+
"""
|
|
80
|
+
ALL
|
|
81
|
+
|
|
82
|
+
"""
|
|
83
|
+
Armenian Dram (AMD).
|
|
84
|
+
"""
|
|
85
|
+
AMD
|
|
86
|
+
|
|
87
|
+
"""
|
|
88
|
+
Netherlands Antillean Guilder.
|
|
89
|
+
"""
|
|
90
|
+
ANG
|
|
91
|
+
|
|
92
|
+
"""
|
|
93
|
+
Angolan Kwanza (AOA).
|
|
94
|
+
"""
|
|
95
|
+
AOA
|
|
96
|
+
|
|
97
|
+
"""
|
|
98
|
+
Argentine Pesos (ARS).
|
|
99
|
+
"""
|
|
100
|
+
ARS
|
|
101
|
+
|
|
102
|
+
"""
|
|
103
|
+
Australian Dollars (AUD).
|
|
104
|
+
"""
|
|
105
|
+
AUD
|
|
106
|
+
|
|
107
|
+
"""
|
|
108
|
+
Aruban Florin (AWG).
|
|
109
|
+
"""
|
|
110
|
+
AWG
|
|
111
|
+
|
|
112
|
+
"""
|
|
113
|
+
Azerbaijani Manat (AZN).
|
|
114
|
+
"""
|
|
115
|
+
AZN
|
|
116
|
+
|
|
117
|
+
"""
|
|
118
|
+
Bosnia and Herzegovina Convertible Mark (BAM).
|
|
119
|
+
"""
|
|
120
|
+
BAM
|
|
121
|
+
|
|
122
|
+
"""
|
|
123
|
+
Barbadian Dollar (BBD).
|
|
124
|
+
"""
|
|
125
|
+
BBD
|
|
126
|
+
|
|
127
|
+
"""
|
|
128
|
+
Bangladesh Taka (BDT).
|
|
129
|
+
"""
|
|
130
|
+
BDT
|
|
131
|
+
|
|
132
|
+
"""
|
|
133
|
+
Bulgarian Lev (BGN).
|
|
134
|
+
"""
|
|
135
|
+
BGN
|
|
136
|
+
|
|
137
|
+
"""
|
|
138
|
+
Bahraini Dinar (BHD).
|
|
139
|
+
"""
|
|
140
|
+
BHD
|
|
141
|
+
|
|
142
|
+
"""
|
|
143
|
+
Burundian Franc (BIF).
|
|
144
|
+
"""
|
|
145
|
+
BIF
|
|
146
|
+
|
|
147
|
+
"""
|
|
148
|
+
Bermudian Dollar (BMD).
|
|
149
|
+
"""
|
|
150
|
+
BMD
|
|
151
|
+
|
|
152
|
+
"""
|
|
153
|
+
Brunei Dollar (BND).
|
|
154
|
+
"""
|
|
155
|
+
BND
|
|
156
|
+
|
|
157
|
+
"""
|
|
158
|
+
Bolivian Boliviano (BOB).
|
|
159
|
+
"""
|
|
160
|
+
BOB
|
|
161
|
+
|
|
162
|
+
"""
|
|
163
|
+
Brazilian Real (BRL).
|
|
164
|
+
"""
|
|
165
|
+
BRL
|
|
166
|
+
|
|
167
|
+
"""
|
|
168
|
+
Bahamian Dollar (BSD).
|
|
169
|
+
"""
|
|
170
|
+
BSD
|
|
171
|
+
|
|
172
|
+
"""
|
|
173
|
+
Bhutanese Ngultrum (BTN).
|
|
174
|
+
"""
|
|
175
|
+
BTN
|
|
176
|
+
|
|
177
|
+
"""
|
|
178
|
+
Botswana Pula (BWP).
|
|
179
|
+
"""
|
|
180
|
+
BWP
|
|
181
|
+
|
|
182
|
+
"""
|
|
183
|
+
Belarusian Ruble (BYN).
|
|
184
|
+
"""
|
|
185
|
+
BYN
|
|
186
|
+
|
|
187
|
+
"""
|
|
188
|
+
Belarusian Ruble (BYR).
|
|
189
|
+
"""
|
|
190
|
+
BYR
|
|
191
|
+
|
|
192
|
+
"""
|
|
193
|
+
Belize Dollar (BZD).
|
|
194
|
+
"""
|
|
195
|
+
BZD
|
|
196
|
+
|
|
197
|
+
"""
|
|
198
|
+
Canadian Dollars (CAD).
|
|
199
|
+
"""
|
|
200
|
+
CAD
|
|
201
|
+
|
|
202
|
+
"""
|
|
203
|
+
Congolese franc (CDF).
|
|
204
|
+
"""
|
|
205
|
+
CDF
|
|
206
|
+
|
|
207
|
+
"""
|
|
208
|
+
Swiss Francs (CHF).
|
|
209
|
+
"""
|
|
210
|
+
CHF
|
|
211
|
+
|
|
212
|
+
"""
|
|
213
|
+
Chilean Peso (CLP).
|
|
214
|
+
"""
|
|
215
|
+
CLP
|
|
216
|
+
|
|
217
|
+
"""
|
|
218
|
+
Chinese Yuan Renminbi (CNY).
|
|
219
|
+
"""
|
|
220
|
+
CNY
|
|
221
|
+
|
|
222
|
+
"""
|
|
223
|
+
Colombian Peso (COP).
|
|
224
|
+
"""
|
|
225
|
+
COP
|
|
226
|
+
|
|
227
|
+
"""
|
|
228
|
+
Costa Rican Colones (CRC).
|
|
229
|
+
"""
|
|
230
|
+
CRC
|
|
231
|
+
|
|
232
|
+
"""
|
|
233
|
+
Cape Verdean escudo (CVE).
|
|
234
|
+
"""
|
|
235
|
+
CVE
|
|
236
|
+
|
|
237
|
+
"""
|
|
238
|
+
Czech Koruny (CZK).
|
|
239
|
+
"""
|
|
240
|
+
CZK
|
|
241
|
+
|
|
242
|
+
"""
|
|
243
|
+
Djiboutian Franc (DJF).
|
|
244
|
+
"""
|
|
245
|
+
DJF
|
|
246
|
+
|
|
247
|
+
"""
|
|
248
|
+
Danish Kroner (DKK).
|
|
249
|
+
"""
|
|
250
|
+
DKK
|
|
251
|
+
|
|
252
|
+
"""
|
|
253
|
+
Dominican Peso (DOP).
|
|
254
|
+
"""
|
|
255
|
+
DOP
|
|
256
|
+
|
|
257
|
+
"""
|
|
258
|
+
Algerian Dinar (DZD).
|
|
259
|
+
"""
|
|
260
|
+
DZD
|
|
261
|
+
|
|
262
|
+
"""
|
|
263
|
+
Egyptian Pound (EGP).
|
|
264
|
+
"""
|
|
265
|
+
EGP
|
|
266
|
+
|
|
267
|
+
"""
|
|
268
|
+
Eritrean Nakfa (ERN).
|
|
269
|
+
"""
|
|
270
|
+
ERN
|
|
271
|
+
|
|
272
|
+
"""
|
|
273
|
+
Ethiopian Birr (ETB).
|
|
274
|
+
"""
|
|
275
|
+
ETB
|
|
276
|
+
|
|
277
|
+
"""
|
|
278
|
+
Euro (EUR).
|
|
279
|
+
"""
|
|
280
|
+
EUR
|
|
281
|
+
|
|
282
|
+
"""
|
|
283
|
+
Fijian Dollars (FJD).
|
|
284
|
+
"""
|
|
285
|
+
FJD
|
|
286
|
+
|
|
287
|
+
"""
|
|
288
|
+
Falkland Islands Pounds (FKP).
|
|
289
|
+
"""
|
|
290
|
+
FKP
|
|
291
|
+
|
|
292
|
+
"""
|
|
293
|
+
United Kingdom Pounds (GBP).
|
|
294
|
+
"""
|
|
295
|
+
GBP
|
|
296
|
+
|
|
297
|
+
"""
|
|
298
|
+
Georgian Lari (GEL).
|
|
299
|
+
"""
|
|
300
|
+
GEL
|
|
301
|
+
|
|
302
|
+
"""
|
|
303
|
+
Ghanaian Cedi (GHS).
|
|
304
|
+
"""
|
|
305
|
+
GHS
|
|
306
|
+
|
|
307
|
+
"""
|
|
308
|
+
Gibraltar Pounds (GIP).
|
|
309
|
+
"""
|
|
310
|
+
GIP
|
|
311
|
+
|
|
312
|
+
"""
|
|
313
|
+
Gambian Dalasi (GMD).
|
|
314
|
+
"""
|
|
315
|
+
GMD
|
|
316
|
+
|
|
317
|
+
"""
|
|
318
|
+
Guinean Franc (GNF).
|
|
319
|
+
"""
|
|
320
|
+
GNF
|
|
321
|
+
|
|
322
|
+
"""
|
|
323
|
+
Guatemalan Quetzal (GTQ).
|
|
324
|
+
"""
|
|
325
|
+
GTQ
|
|
326
|
+
|
|
327
|
+
"""
|
|
328
|
+
Guyanese Dollar (GYD).
|
|
329
|
+
"""
|
|
330
|
+
GYD
|
|
331
|
+
|
|
332
|
+
"""
|
|
333
|
+
Hong Kong Dollars (HKD).
|
|
334
|
+
"""
|
|
335
|
+
HKD
|
|
336
|
+
|
|
337
|
+
"""
|
|
338
|
+
Honduran Lempira (HNL).
|
|
339
|
+
"""
|
|
340
|
+
HNL
|
|
341
|
+
|
|
342
|
+
"""
|
|
343
|
+
Croatian Kuna (HRK).
|
|
344
|
+
"""
|
|
345
|
+
HRK
|
|
346
|
+
|
|
347
|
+
"""
|
|
348
|
+
Haitian Gourde (HTG).
|
|
349
|
+
"""
|
|
350
|
+
HTG
|
|
351
|
+
|
|
352
|
+
"""
|
|
353
|
+
Hungarian Forint (HUF).
|
|
354
|
+
"""
|
|
355
|
+
HUF
|
|
356
|
+
|
|
357
|
+
"""
|
|
358
|
+
Indonesian Rupiah (IDR).
|
|
359
|
+
"""
|
|
360
|
+
IDR
|
|
361
|
+
|
|
362
|
+
"""
|
|
363
|
+
Israeli New Shekel (NIS).
|
|
364
|
+
"""
|
|
365
|
+
ILS
|
|
366
|
+
|
|
367
|
+
"""
|
|
368
|
+
Indian Rupees (INR).
|
|
369
|
+
"""
|
|
370
|
+
INR
|
|
371
|
+
|
|
372
|
+
"""
|
|
373
|
+
Iraqi Dinar (IQD).
|
|
374
|
+
"""
|
|
375
|
+
IQD
|
|
376
|
+
|
|
377
|
+
"""
|
|
378
|
+
Iranian Rial (IRR).
|
|
379
|
+
"""
|
|
380
|
+
IRR
|
|
381
|
+
|
|
382
|
+
"""
|
|
383
|
+
Icelandic Kronur (ISK).
|
|
384
|
+
"""
|
|
385
|
+
ISK
|
|
386
|
+
|
|
387
|
+
"""
|
|
388
|
+
Jersey Pound.
|
|
389
|
+
"""
|
|
390
|
+
JEP
|
|
391
|
+
|
|
392
|
+
"""
|
|
393
|
+
Jamaican Dollars (JMD).
|
|
394
|
+
"""
|
|
395
|
+
JMD
|
|
396
|
+
|
|
397
|
+
"""
|
|
398
|
+
Jordanian Dinar (JOD).
|
|
399
|
+
"""
|
|
400
|
+
JOD
|
|
401
|
+
|
|
402
|
+
"""
|
|
403
|
+
Japanese Yen (JPY).
|
|
404
|
+
"""
|
|
405
|
+
JPY
|
|
406
|
+
|
|
407
|
+
"""
|
|
408
|
+
Kenyan Shilling (KES).
|
|
409
|
+
"""
|
|
410
|
+
KES
|
|
411
|
+
|
|
412
|
+
"""
|
|
413
|
+
Kyrgyzstani Som (KGS).
|
|
414
|
+
"""
|
|
415
|
+
KGS
|
|
416
|
+
|
|
417
|
+
"""
|
|
418
|
+
Cambodian Riel.
|
|
419
|
+
"""
|
|
420
|
+
KHR
|
|
421
|
+
|
|
422
|
+
"""
|
|
423
|
+
Kiribati Dollar (KID).
|
|
424
|
+
"""
|
|
425
|
+
KID
|
|
426
|
+
|
|
427
|
+
"""
|
|
428
|
+
Comorian Franc (KMF).
|
|
429
|
+
"""
|
|
430
|
+
KMF
|
|
431
|
+
|
|
432
|
+
"""
|
|
433
|
+
South Korean Won (KRW).
|
|
434
|
+
"""
|
|
435
|
+
KRW
|
|
436
|
+
|
|
437
|
+
"""
|
|
438
|
+
Kuwaiti Dinar (KWD).
|
|
439
|
+
"""
|
|
440
|
+
KWD
|
|
441
|
+
|
|
442
|
+
"""
|
|
443
|
+
Cayman Dollars (KYD).
|
|
444
|
+
"""
|
|
445
|
+
KYD
|
|
446
|
+
|
|
447
|
+
"""
|
|
448
|
+
Kazakhstani Tenge (KZT).
|
|
449
|
+
"""
|
|
450
|
+
KZT
|
|
451
|
+
|
|
452
|
+
"""
|
|
453
|
+
Laotian Kip (LAK).
|
|
454
|
+
"""
|
|
455
|
+
LAK
|
|
456
|
+
|
|
457
|
+
"""
|
|
458
|
+
Lebanese Pounds (LBP).
|
|
459
|
+
"""
|
|
460
|
+
LBP
|
|
461
|
+
|
|
462
|
+
"""
|
|
463
|
+
Sri Lankan Rupees (LKR).
|
|
464
|
+
"""
|
|
465
|
+
LKR
|
|
466
|
+
|
|
467
|
+
"""
|
|
468
|
+
Liberian Dollar (LRD).
|
|
469
|
+
"""
|
|
470
|
+
LRD
|
|
471
|
+
|
|
472
|
+
"""
|
|
473
|
+
Lesotho Loti (LSL).
|
|
474
|
+
"""
|
|
475
|
+
LSL
|
|
476
|
+
|
|
477
|
+
"""
|
|
478
|
+
Lithuanian Litai (LTL).
|
|
479
|
+
"""
|
|
480
|
+
LTL
|
|
481
|
+
|
|
482
|
+
"""
|
|
483
|
+
Latvian Lati (LVL).
|
|
484
|
+
"""
|
|
485
|
+
LVL
|
|
486
|
+
|
|
487
|
+
"""
|
|
488
|
+
Libyan Dinar (LYD).
|
|
489
|
+
"""
|
|
490
|
+
LYD
|
|
491
|
+
|
|
492
|
+
"""
|
|
493
|
+
Moroccan Dirham.
|
|
494
|
+
"""
|
|
495
|
+
MAD
|
|
496
|
+
|
|
497
|
+
"""
|
|
498
|
+
Moldovan Leu (MDL).
|
|
499
|
+
"""
|
|
500
|
+
MDL
|
|
501
|
+
|
|
502
|
+
"""
|
|
503
|
+
Malagasy Ariary (MGA).
|
|
504
|
+
"""
|
|
505
|
+
MGA
|
|
506
|
+
|
|
507
|
+
"""
|
|
508
|
+
Macedonia Denar (MKD).
|
|
509
|
+
"""
|
|
510
|
+
MKD
|
|
511
|
+
|
|
512
|
+
"""
|
|
513
|
+
Burmese Kyat (MMK).
|
|
514
|
+
"""
|
|
515
|
+
MMK
|
|
516
|
+
|
|
517
|
+
"""
|
|
518
|
+
Mongolian Tugrik.
|
|
519
|
+
"""
|
|
520
|
+
MNT
|
|
521
|
+
|
|
522
|
+
"""
|
|
523
|
+
Macanese Pataca (MOP).
|
|
524
|
+
"""
|
|
525
|
+
MOP
|
|
526
|
+
|
|
527
|
+
"""
|
|
528
|
+
Mauritanian Ouguiya (MRU).
|
|
529
|
+
"""
|
|
530
|
+
MRU
|
|
531
|
+
|
|
532
|
+
"""
|
|
533
|
+
Mauritian Rupee (MUR).
|
|
534
|
+
"""
|
|
535
|
+
MUR
|
|
536
|
+
|
|
537
|
+
"""
|
|
538
|
+
Maldivian Rufiyaa (MVR).
|
|
539
|
+
"""
|
|
540
|
+
MVR
|
|
541
|
+
|
|
542
|
+
"""
|
|
543
|
+
Malawian Kwacha (MWK).
|
|
544
|
+
"""
|
|
545
|
+
MWK
|
|
546
|
+
|
|
547
|
+
"""
|
|
548
|
+
Mexican Pesos (MXN).
|
|
549
|
+
"""
|
|
550
|
+
MXN
|
|
551
|
+
|
|
552
|
+
"""
|
|
553
|
+
Malaysian Ringgits (MYR).
|
|
554
|
+
"""
|
|
555
|
+
MYR
|
|
556
|
+
|
|
557
|
+
"""
|
|
558
|
+
Mozambican Metical.
|
|
559
|
+
"""
|
|
560
|
+
MZN
|
|
561
|
+
|
|
562
|
+
"""
|
|
563
|
+
Namibian Dollar.
|
|
564
|
+
"""
|
|
565
|
+
NAD
|
|
566
|
+
|
|
567
|
+
"""
|
|
568
|
+
Nigerian Naira (NGN).
|
|
569
|
+
"""
|
|
570
|
+
NGN
|
|
571
|
+
|
|
572
|
+
"""
|
|
573
|
+
Nicaraguan Córdoba (NIO).
|
|
574
|
+
"""
|
|
575
|
+
NIO
|
|
576
|
+
|
|
577
|
+
"""
|
|
578
|
+
Norwegian Kroner (NOK).
|
|
579
|
+
"""
|
|
580
|
+
NOK
|
|
581
|
+
|
|
582
|
+
"""
|
|
583
|
+
Nepalese Rupee (NPR).
|
|
584
|
+
"""
|
|
585
|
+
NPR
|
|
586
|
+
|
|
587
|
+
"""
|
|
588
|
+
New Zealand Dollars (NZD).
|
|
589
|
+
"""
|
|
590
|
+
NZD
|
|
591
|
+
|
|
592
|
+
"""
|
|
593
|
+
Omani Rial (OMR).
|
|
594
|
+
"""
|
|
595
|
+
OMR
|
|
596
|
+
|
|
597
|
+
"""
|
|
598
|
+
Panamian Balboa (PAB).
|
|
599
|
+
"""
|
|
600
|
+
PAB
|
|
601
|
+
|
|
602
|
+
"""
|
|
603
|
+
Peruvian Nuevo Sol (PEN).
|
|
604
|
+
"""
|
|
605
|
+
PEN
|
|
606
|
+
|
|
607
|
+
"""
|
|
608
|
+
Papua New Guinean Kina (PGK).
|
|
609
|
+
"""
|
|
610
|
+
PGK
|
|
611
|
+
|
|
612
|
+
"""
|
|
613
|
+
Philippine Peso (PHP).
|
|
614
|
+
"""
|
|
615
|
+
PHP
|
|
616
|
+
|
|
617
|
+
"""
|
|
618
|
+
Pakistani Rupee (PKR).
|
|
619
|
+
"""
|
|
620
|
+
PKR
|
|
621
|
+
|
|
622
|
+
"""
|
|
623
|
+
Polish Zlotych (PLN).
|
|
624
|
+
"""
|
|
625
|
+
PLN
|
|
626
|
+
|
|
627
|
+
"""
|
|
628
|
+
Paraguayan Guarani (PYG).
|
|
629
|
+
"""
|
|
630
|
+
PYG
|
|
631
|
+
|
|
632
|
+
"""
|
|
633
|
+
Qatari Rial (QAR).
|
|
634
|
+
"""
|
|
635
|
+
QAR
|
|
636
|
+
|
|
637
|
+
"""
|
|
638
|
+
Romanian Lei (RON).
|
|
639
|
+
"""
|
|
640
|
+
RON
|
|
641
|
+
|
|
642
|
+
"""
|
|
643
|
+
Serbian dinar (RSD).
|
|
644
|
+
"""
|
|
645
|
+
RSD
|
|
646
|
+
|
|
647
|
+
"""
|
|
648
|
+
Russian Rubles (RUB).
|
|
649
|
+
"""
|
|
650
|
+
RUB
|
|
651
|
+
|
|
652
|
+
"""
|
|
653
|
+
Rwandan Franc (RWF).
|
|
654
|
+
"""
|
|
655
|
+
RWF
|
|
656
|
+
|
|
657
|
+
"""
|
|
658
|
+
Saudi Riyal (SAR).
|
|
659
|
+
"""
|
|
660
|
+
SAR
|
|
661
|
+
|
|
662
|
+
"""
|
|
663
|
+
Solomon Islands Dollar (SBD).
|
|
664
|
+
"""
|
|
665
|
+
SBD
|
|
666
|
+
|
|
667
|
+
"""
|
|
668
|
+
Seychellois Rupee (SCR).
|
|
669
|
+
"""
|
|
670
|
+
SCR
|
|
671
|
+
|
|
672
|
+
"""
|
|
673
|
+
Sudanese Pound (SDG).
|
|
674
|
+
"""
|
|
675
|
+
SDG
|
|
676
|
+
|
|
677
|
+
"""
|
|
678
|
+
Swedish Kronor (SEK).
|
|
679
|
+
"""
|
|
680
|
+
SEK
|
|
681
|
+
|
|
682
|
+
"""
|
|
683
|
+
Singapore Dollars (SGD).
|
|
684
|
+
"""
|
|
685
|
+
SGD
|
|
686
|
+
|
|
687
|
+
"""
|
|
688
|
+
Saint Helena Pounds (SHP).
|
|
689
|
+
"""
|
|
690
|
+
SHP
|
|
691
|
+
|
|
692
|
+
"""
|
|
693
|
+
Sierra Leonean Leone (SLL).
|
|
694
|
+
"""
|
|
695
|
+
SLL
|
|
696
|
+
|
|
697
|
+
"""
|
|
698
|
+
Somali Shilling (SOS).
|
|
699
|
+
"""
|
|
700
|
+
SOS
|
|
701
|
+
|
|
702
|
+
"""
|
|
703
|
+
Surinamese Dollar (SRD).
|
|
704
|
+
"""
|
|
705
|
+
SRD
|
|
706
|
+
|
|
707
|
+
"""
|
|
708
|
+
South Sudanese Pound (SSP).
|
|
709
|
+
"""
|
|
710
|
+
SSP
|
|
711
|
+
|
|
712
|
+
"""
|
|
713
|
+
Sao Tome And Principe Dobra (STD).
|
|
714
|
+
"""
|
|
715
|
+
STD
|
|
716
|
+
|
|
717
|
+
"""
|
|
718
|
+
Sao Tome And Principe Dobra (STN).
|
|
719
|
+
"""
|
|
720
|
+
STN
|
|
721
|
+
|
|
722
|
+
"""
|
|
723
|
+
Syrian Pound (SYP).
|
|
724
|
+
"""
|
|
725
|
+
SYP
|
|
726
|
+
|
|
727
|
+
"""
|
|
728
|
+
Swazi Lilangeni (SZL).
|
|
729
|
+
"""
|
|
730
|
+
SZL
|
|
731
|
+
|
|
732
|
+
"""
|
|
733
|
+
Thai baht (THB).
|
|
734
|
+
"""
|
|
735
|
+
THB
|
|
736
|
+
|
|
737
|
+
"""
|
|
738
|
+
Tajikistani Somoni (TJS).
|
|
739
|
+
"""
|
|
740
|
+
TJS
|
|
741
|
+
|
|
742
|
+
"""
|
|
743
|
+
Turkmenistani Manat (TMT).
|
|
744
|
+
"""
|
|
745
|
+
TMT
|
|
746
|
+
|
|
747
|
+
"""
|
|
748
|
+
Tunisian Dinar (TND).
|
|
749
|
+
"""
|
|
750
|
+
TND
|
|
751
|
+
|
|
752
|
+
"""
|
|
753
|
+
Tongan Pa'anga (TOP).
|
|
754
|
+
"""
|
|
755
|
+
TOP
|
|
756
|
+
|
|
757
|
+
"""
|
|
758
|
+
Turkish Lira (TRY).
|
|
759
|
+
"""
|
|
760
|
+
TRY
|
|
761
|
+
|
|
762
|
+
"""
|
|
763
|
+
Trinidad and Tobago Dollars (TTD).
|
|
764
|
+
"""
|
|
765
|
+
TTD
|
|
766
|
+
|
|
767
|
+
"""
|
|
768
|
+
Taiwan Dollars (TWD).
|
|
769
|
+
"""
|
|
770
|
+
TWD
|
|
771
|
+
|
|
772
|
+
"""
|
|
773
|
+
Tanzanian Shilling (TZS).
|
|
774
|
+
"""
|
|
775
|
+
TZS
|
|
776
|
+
|
|
777
|
+
"""
|
|
778
|
+
Ukrainian Hryvnia (UAH).
|
|
779
|
+
"""
|
|
780
|
+
UAH
|
|
781
|
+
|
|
782
|
+
"""
|
|
783
|
+
Ugandan Shilling (UGX).
|
|
784
|
+
"""
|
|
785
|
+
UGX
|
|
786
|
+
|
|
787
|
+
"""
|
|
788
|
+
United States Dollars (USD).
|
|
789
|
+
"""
|
|
790
|
+
USD
|
|
791
|
+
|
|
792
|
+
"""
|
|
793
|
+
Uruguayan Pesos (UYU).
|
|
794
|
+
"""
|
|
795
|
+
UYU
|
|
796
|
+
|
|
797
|
+
"""
|
|
798
|
+
Uzbekistan som (UZS).
|
|
799
|
+
"""
|
|
800
|
+
UZS
|
|
801
|
+
|
|
802
|
+
"""
|
|
803
|
+
Venezuelan Bolivares (VED).
|
|
804
|
+
"""
|
|
805
|
+
VED
|
|
806
|
+
|
|
807
|
+
"""
|
|
808
|
+
Venezuelan Bolivares (VEF).
|
|
809
|
+
"""
|
|
810
|
+
VEF
|
|
811
|
+
|
|
812
|
+
"""
|
|
813
|
+
Venezuelan Bolivares Soberanos (VES).
|
|
814
|
+
"""
|
|
815
|
+
VES
|
|
816
|
+
|
|
817
|
+
"""
|
|
818
|
+
Vietnamese đồng (VND).
|
|
819
|
+
"""
|
|
820
|
+
VND
|
|
821
|
+
|
|
822
|
+
"""
|
|
823
|
+
Vanuatu Vatu (VUV).
|
|
824
|
+
"""
|
|
825
|
+
VUV
|
|
826
|
+
|
|
827
|
+
"""
|
|
828
|
+
Samoan Tala (WST).
|
|
829
|
+
"""
|
|
830
|
+
WST
|
|
831
|
+
|
|
832
|
+
"""
|
|
833
|
+
Central African CFA Franc (XAF).
|
|
834
|
+
"""
|
|
835
|
+
XAF
|
|
836
|
+
|
|
837
|
+
"""
|
|
838
|
+
East Caribbean Dollar (XCD).
|
|
839
|
+
"""
|
|
840
|
+
XCD
|
|
841
|
+
|
|
842
|
+
"""
|
|
843
|
+
West African CFA franc (XOF).
|
|
844
|
+
"""
|
|
845
|
+
XOF
|
|
846
|
+
|
|
847
|
+
"""
|
|
848
|
+
CFP Franc (XPF).
|
|
849
|
+
"""
|
|
850
|
+
XPF
|
|
851
|
+
|
|
852
|
+
"""
|
|
853
|
+
Unrecognized currency.
|
|
854
|
+
"""
|
|
855
|
+
XXX
|
|
856
|
+
|
|
857
|
+
"""
|
|
858
|
+
Yemeni Rial (YER).
|
|
859
|
+
"""
|
|
860
|
+
YER
|
|
861
|
+
|
|
862
|
+
"""
|
|
863
|
+
South African Rand (ZAR).
|
|
864
|
+
"""
|
|
865
|
+
ZAR
|
|
866
|
+
|
|
867
|
+
"""
|
|
868
|
+
Zambian Kwacha (ZMW).
|
|
869
|
+
"""
|
|
870
|
+
ZMW
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
"""
|
|
874
|
+
A signed decimal number, which supports arbitrary precision and is serialized as a string.
|
|
875
|
+
|
|
876
|
+
Example values: `"29.99"`, `"29.999"`.
|
|
877
|
+
"""
|
|
878
|
+
scalar Decimal
|
|
879
|
+
|
|
880
|
+
"""
|
|
881
|
+
Represents an image resource.
|
|
882
|
+
"""
|
|
883
|
+
type Image {
|
|
884
|
+
"""
|
|
885
|
+
A unique ID for the image.
|
|
886
|
+
"""
|
|
887
|
+
id: ID
|
|
888
|
+
|
|
889
|
+
"""
|
|
890
|
+
The location of the image as a URL.
|
|
891
|
+
|
|
892
|
+
If no transform options are specified, then the original image will be preserved including any pre-applied transforms.
|
|
893
|
+
|
|
894
|
+
All transformation options are considered "best-effort". Any transformation
|
|
895
|
+
that the original image type doesn't support will be ignored.
|
|
896
|
+
|
|
897
|
+
If you need multiple variations of the same image, then you can use [GraphQL
|
|
898
|
+
aliases](https://graphql.org/learn/queries/#aliases).
|
|
899
|
+
"""
|
|
900
|
+
url(
|
|
901
|
+
"""
|
|
902
|
+
A set of options to transform the original image.
|
|
903
|
+
"""
|
|
904
|
+
transform: ImageTransformInput
|
|
905
|
+
): URL!
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
"""
|
|
909
|
+
List of supported image content types.
|
|
910
|
+
"""
|
|
911
|
+
enum ImageContentType {
|
|
912
|
+
"""
|
|
913
|
+
A BMP image.
|
|
914
|
+
"""
|
|
915
|
+
BMP
|
|
916
|
+
|
|
917
|
+
"""
|
|
918
|
+
A JPG image.
|
|
919
|
+
"""
|
|
920
|
+
JPG
|
|
921
|
+
|
|
922
|
+
"""
|
|
923
|
+
A PNG image.
|
|
924
|
+
"""
|
|
925
|
+
PNG
|
|
926
|
+
|
|
927
|
+
"""
|
|
928
|
+
A WEBP image.
|
|
929
|
+
"""
|
|
930
|
+
WEBP
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
"""
|
|
934
|
+
The available options for transforming an image.
|
|
935
|
+
|
|
936
|
+
All transformation options are considered best effort. Any transformation that
|
|
937
|
+
the original image type doesn't support will be ignored.
|
|
938
|
+
"""
|
|
939
|
+
input ImageTransformInput {
|
|
940
|
+
"""
|
|
941
|
+
The region of the image to remain after cropping.
|
|
942
|
+
Must be used in conjunction with the `maxWidth` and/or `maxHeight` fields,
|
|
943
|
+
where the `maxWidth` and `maxHeight` aren't equal.
|
|
944
|
+
The `crop` argument should coincide with the smaller value. A smaller `maxWidth` indicates a `LEFT` or `RIGHT` crop, while
|
|
945
|
+
a smaller `maxHeight` indicates a `TOP` or `BOTTOM` crop. For example, `{
|
|
946
|
+
maxWidth: 5, maxHeight: 10, crop: LEFT }` will result
|
|
947
|
+
in an image with a width of 5 and height of 10, where the right side of the image is removed.
|
|
948
|
+
"""
|
|
949
|
+
crop: CropRegion
|
|
950
|
+
|
|
951
|
+
"""
|
|
952
|
+
Defines an arbitrary cropping region.
|
|
953
|
+
"""
|
|
954
|
+
cropRegion: CropRegionInput
|
|
955
|
+
|
|
956
|
+
"""
|
|
957
|
+
Image height in pixels between 1 and 5760.
|
|
958
|
+
"""
|
|
959
|
+
maxHeight: Int
|
|
960
|
+
|
|
961
|
+
"""
|
|
962
|
+
Image width in pixels between 1 and 5760.
|
|
963
|
+
"""
|
|
964
|
+
maxWidth: Int
|
|
965
|
+
|
|
966
|
+
"""
|
|
967
|
+
Convert the source image into the preferred content type.
|
|
968
|
+
Supported conversions: `.svg` to `.png`, any file type to `.jpg`, and any file type to `.webp`.
|
|
969
|
+
"""
|
|
970
|
+
preferredContentType: ImageContentType
|
|
971
|
+
|
|
972
|
+
"""
|
|
973
|
+
Image size multiplier for high-resolution retina displays. Must be within 1..3.
|
|
974
|
+
"""
|
|
975
|
+
scale: Int = 1
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
"""
|
|
979
|
+
Represents a Shopify hosted image.
|
|
980
|
+
"""
|
|
981
|
+
type MediaImage {
|
|
982
|
+
"""
|
|
983
|
+
A globally-unique ID.
|
|
984
|
+
"""
|
|
985
|
+
id: ID!
|
|
986
|
+
|
|
987
|
+
"""
|
|
988
|
+
The image for the media.
|
|
989
|
+
"""
|
|
990
|
+
image: Image
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
"""
|
|
994
|
+
Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are
|
|
995
|
+
comprised of keys, values, and value types.
|
|
996
|
+
"""
|
|
997
|
+
type Metafield {
|
|
998
|
+
"""
|
|
999
|
+
A globally-unique ID.
|
|
1000
|
+
"""
|
|
1001
|
+
id: ID!
|
|
1002
|
+
|
|
1003
|
+
"""
|
|
1004
|
+
Returns a reference object if the metafield's type is a resource reference.
|
|
1005
|
+
"""
|
|
1006
|
+
reference: MetafieldReference
|
|
1007
|
+
|
|
1008
|
+
"""
|
|
1009
|
+
A list of reference objects if the metafield's type is a resource reference list.
|
|
1010
|
+
"""
|
|
1011
|
+
references(
|
|
1012
|
+
"""
|
|
1013
|
+
Returns the elements in the list that come after the specified cursor.
|
|
1014
|
+
"""
|
|
1015
|
+
after: String
|
|
1016
|
+
|
|
1017
|
+
"""
|
|
1018
|
+
Returns the elements in the list that come before the specified cursor.
|
|
1019
|
+
"""
|
|
1020
|
+
before: String
|
|
1021
|
+
|
|
1022
|
+
"""
|
|
1023
|
+
Returns the first _n_ elements from the list.
|
|
1024
|
+
"""
|
|
1025
|
+
first: Int
|
|
1026
|
+
|
|
1027
|
+
"""
|
|
1028
|
+
Returns the last _n_ elements from the list.
|
|
1029
|
+
"""
|
|
1030
|
+
last: Int
|
|
1031
|
+
): MetafieldReferenceConnection
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
"""
|
|
1035
|
+
Returns the resource which is being referred to by a metafield.
|
|
1036
|
+
"""
|
|
1037
|
+
union MetafieldReference =
|
|
1038
|
+
MediaImage
|
|
1039
|
+
| Metaobject
|
|
1040
|
+
| Product
|
|
1041
|
+
| ProductVariant
|
|
1042
|
+
| Video
|
|
1043
|
+
|
|
1044
|
+
"""
|
|
1045
|
+
An auto-generated type for paginating through multiple MetafieldReferences.
|
|
1046
|
+
"""
|
|
1047
|
+
type MetafieldReferenceConnection {
|
|
1048
|
+
"""
|
|
1049
|
+
A list of edges.
|
|
1050
|
+
"""
|
|
1051
|
+
edges: [MetafieldReferenceEdge!]!
|
|
1052
|
+
|
|
1053
|
+
"""
|
|
1054
|
+
A list of the nodes contained in MetafieldReferenceEdge.
|
|
1055
|
+
"""
|
|
1056
|
+
nodes: [MetafieldReference!]!
|
|
1057
|
+
|
|
1058
|
+
"""
|
|
1059
|
+
Information to aid in pagination.
|
|
1060
|
+
"""
|
|
1061
|
+
pageInfo: PageInfo!
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
"""
|
|
1065
|
+
An auto-generated type which holds one MetafieldReference and a cursor during pagination.
|
|
1066
|
+
"""
|
|
1067
|
+
type MetafieldReferenceEdge {
|
|
1068
|
+
"""
|
|
1069
|
+
A cursor for use in pagination.
|
|
1070
|
+
"""
|
|
1071
|
+
cursor: String!
|
|
1072
|
+
|
|
1073
|
+
"""
|
|
1074
|
+
The item at the end of MetafieldReferenceEdge.
|
|
1075
|
+
"""
|
|
1076
|
+
node: MetafieldReference!
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
"""
|
|
1080
|
+
An instance of a user-defined model based on a MetaobjectDefinition.
|
|
1081
|
+
"""
|
|
1082
|
+
type Metaobject {
|
|
1083
|
+
"""
|
|
1084
|
+
Accesses a field of the object by key.
|
|
1085
|
+
"""
|
|
1086
|
+
field(
|
|
1087
|
+
"""
|
|
1088
|
+
The key of the field.
|
|
1089
|
+
"""
|
|
1090
|
+
key: String!
|
|
1091
|
+
): MetaobjectField
|
|
1092
|
+
|
|
1093
|
+
"""
|
|
1094
|
+
A globally-unique ID.
|
|
1095
|
+
"""
|
|
1096
|
+
id: ID!
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
"""
|
|
1100
|
+
Provides the value of a Metaobject field.
|
|
1101
|
+
"""
|
|
1102
|
+
type MetaobjectField {
|
|
1103
|
+
"""
|
|
1104
|
+
A referenced object if the field type is a resource reference.
|
|
1105
|
+
"""
|
|
1106
|
+
reference: MetafieldReference
|
|
1107
|
+
|
|
1108
|
+
"""
|
|
1109
|
+
A list of referenced objects if the field type is a resource reference list.
|
|
1110
|
+
"""
|
|
1111
|
+
references(
|
|
1112
|
+
"""
|
|
1113
|
+
Returns the elements in the list that come after the specified cursor.
|
|
1114
|
+
"""
|
|
1115
|
+
after: String
|
|
1116
|
+
|
|
1117
|
+
"""
|
|
1118
|
+
Returns the elements in the list that come before the specified cursor.
|
|
1119
|
+
"""
|
|
1120
|
+
before: String
|
|
1121
|
+
|
|
1122
|
+
"""
|
|
1123
|
+
Returns the first _n_ elements from the list.
|
|
1124
|
+
"""
|
|
1125
|
+
first: Int
|
|
1126
|
+
|
|
1127
|
+
"""
|
|
1128
|
+
Returns the last _n_ elements from the list.
|
|
1129
|
+
"""
|
|
1130
|
+
last: Int
|
|
1131
|
+
): MetafieldReferenceConnection
|
|
1132
|
+
|
|
1133
|
+
"""
|
|
1134
|
+
The field value.
|
|
1135
|
+
"""
|
|
1136
|
+
value: String
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
"""
|
|
1140
|
+
A monetary value with currency.
|
|
1141
|
+
"""
|
|
1142
|
+
type MoneyV2 {
|
|
1143
|
+
"""
|
|
1144
|
+
Decimal money amount.
|
|
1145
|
+
"""
|
|
1146
|
+
amount: Decimal!
|
|
1147
|
+
|
|
1148
|
+
"""
|
|
1149
|
+
Currency of the money.
|
|
1150
|
+
"""
|
|
1151
|
+
currencyCode: CurrencyCode!
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
"""
|
|
1155
|
+
Returns information about pagination in a connection, in accordance with the
|
|
1156
|
+
[Relay specification](https://relay.dev/graphql/connections.htm#sec-undefined.PageInfo).
|
|
1157
|
+
For more information, please read our [GraphQL Pagination Usage Guide](https://shopify.dev/api/usage/pagination-graphql).
|
|
1158
|
+
"""
|
|
1159
|
+
type PageInfo {
|
|
1160
|
+
"""
|
|
1161
|
+
The cursor corresponding to the last node in edges.
|
|
1162
|
+
"""
|
|
1163
|
+
endCursor: String
|
|
1164
|
+
|
|
1165
|
+
"""
|
|
1166
|
+
Whether there are more pages to fetch following the current page.
|
|
1167
|
+
"""
|
|
1168
|
+
hasNextPage: Boolean!
|
|
1169
|
+
|
|
1170
|
+
"""
|
|
1171
|
+
Whether there are any pages prior to the current page.
|
|
1172
|
+
"""
|
|
1173
|
+
hasPreviousPage: Boolean!
|
|
1174
|
+
|
|
1175
|
+
"""
|
|
1176
|
+
The cursor corresponding to the first node in edges.
|
|
1177
|
+
"""
|
|
1178
|
+
startCursor: String
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
"""
|
|
1182
|
+
A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be.
|
|
1183
|
+
For example, a digital download (such as a movie, music or ebook file) also
|
|
1184
|
+
qualifies as a product, as do services (such as equipment rental, work for hire,
|
|
1185
|
+
customization of another product or an extended warranty).
|
|
1186
|
+
"""
|
|
1187
|
+
type Product {
|
|
1188
|
+
"""
|
|
1189
|
+
The featured image for the product.
|
|
1190
|
+
|
|
1191
|
+
This field is functionally equivalent to `images(first: 1)`.
|
|
1192
|
+
"""
|
|
1193
|
+
featuredImage: Image
|
|
1194
|
+
|
|
1195
|
+
"""
|
|
1196
|
+
A globally-unique ID.
|
|
1197
|
+
"""
|
|
1198
|
+
id: ID!
|
|
1199
|
+
|
|
1200
|
+
"""
|
|
1201
|
+
Returns a metafield found by namespace and key.
|
|
1202
|
+
"""
|
|
1203
|
+
metafield(
|
|
1204
|
+
"""
|
|
1205
|
+
The identifier for the metafield.
|
|
1206
|
+
"""
|
|
1207
|
+
key: String!
|
|
1208
|
+
|
|
1209
|
+
"""
|
|
1210
|
+
The container the metafield belongs to. If omitted, the app-reserved namespace will be used.
|
|
1211
|
+
"""
|
|
1212
|
+
namespace: String
|
|
1213
|
+
): Metafield
|
|
1214
|
+
|
|
1215
|
+
"""
|
|
1216
|
+
The price range.
|
|
1217
|
+
"""
|
|
1218
|
+
priceRange: ProductPriceRange!
|
|
1219
|
+
|
|
1220
|
+
"""
|
|
1221
|
+
The average rating of the product.
|
|
1222
|
+
"""
|
|
1223
|
+
reviewsAverageRating: Float
|
|
1224
|
+
|
|
1225
|
+
"""
|
|
1226
|
+
The number of reviews for the product.
|
|
1227
|
+
"""
|
|
1228
|
+
reviewsCount: Int
|
|
1229
|
+
|
|
1230
|
+
"""
|
|
1231
|
+
The product’s title.
|
|
1232
|
+
"""
|
|
1233
|
+
title: String!
|
|
1234
|
+
|
|
1235
|
+
"""
|
|
1236
|
+
List of the product’s variants.
|
|
1237
|
+
"""
|
|
1238
|
+
variants(
|
|
1239
|
+
"""
|
|
1240
|
+
Returns the elements in the list that come after the specified cursor.
|
|
1241
|
+
"""
|
|
1242
|
+
after: String
|
|
1243
|
+
|
|
1244
|
+
"""
|
|
1245
|
+
Returns the elements in the list that come before the specified cursor.
|
|
1246
|
+
"""
|
|
1247
|
+
before: String
|
|
1248
|
+
|
|
1249
|
+
"""
|
|
1250
|
+
Returns the first _n_ elements from the list.
|
|
1251
|
+
"""
|
|
1252
|
+
first: Int
|
|
1253
|
+
|
|
1254
|
+
"""
|
|
1255
|
+
Returns the last _n_ elements from the list.
|
|
1256
|
+
"""
|
|
1257
|
+
last: Int
|
|
1258
|
+
|
|
1259
|
+
"""
|
|
1260
|
+
Reverse the order of the underlying list.
|
|
1261
|
+
"""
|
|
1262
|
+
reverse: Boolean = false
|
|
1263
|
+
|
|
1264
|
+
"""
|
|
1265
|
+
Sort the underlying list by the given key.
|
|
1266
|
+
"""
|
|
1267
|
+
sortKey: ProductVariantSortKeys = POSITION
|
|
1268
|
+
): ProductVariantConnection!
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
"""
|
|
1272
|
+
The price range of the product.
|
|
1273
|
+
"""
|
|
1274
|
+
type ProductPriceRange {
|
|
1275
|
+
"""
|
|
1276
|
+
The highest variant's price.
|
|
1277
|
+
"""
|
|
1278
|
+
maxVariantPrice: MoneyV2!
|
|
1279
|
+
|
|
1280
|
+
"""
|
|
1281
|
+
The lowest variant's price.
|
|
1282
|
+
"""
|
|
1283
|
+
minVariantPrice: MoneyV2!
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
"""
|
|
1287
|
+
A product variant represents a different version of a product, such as differing sizes or differing colors.
|
|
1288
|
+
"""
|
|
1289
|
+
type ProductVariant {
|
|
1290
|
+
"""
|
|
1291
|
+
The compare at price of the variant. This can be used to mark a variant as on
|
|
1292
|
+
sale, when `compareAtPrice` is higher than `price`.
|
|
1293
|
+
"""
|
|
1294
|
+
compareAtPrice: MoneyV2
|
|
1295
|
+
|
|
1296
|
+
"""
|
|
1297
|
+
A globally-unique ID.
|
|
1298
|
+
"""
|
|
1299
|
+
id: ID!
|
|
1300
|
+
|
|
1301
|
+
"""
|
|
1302
|
+
Image associated with the product variant. This field falls back to the product image if no image is available.
|
|
1303
|
+
"""
|
|
1304
|
+
image: Image
|
|
1305
|
+
|
|
1306
|
+
"""
|
|
1307
|
+
Whether the product variant is favorited by the current user.
|
|
1308
|
+
"""
|
|
1309
|
+
isFavorited: Boolean!
|
|
1310
|
+
|
|
1311
|
+
"""
|
|
1312
|
+
The product variant’s price.
|
|
1313
|
+
"""
|
|
1314
|
+
price: MoneyV2!
|
|
1315
|
+
|
|
1316
|
+
"""
|
|
1317
|
+
The product object that the product variant belongs to.
|
|
1318
|
+
"""
|
|
1319
|
+
product: Product!
|
|
1320
|
+
|
|
1321
|
+
"""
|
|
1322
|
+
The product variant’s title.
|
|
1323
|
+
"""
|
|
1324
|
+
title: String!
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
"""
|
|
1328
|
+
An auto-generated type for paginating through multiple ProductVariants.
|
|
1329
|
+
"""
|
|
1330
|
+
type ProductVariantConnection {
|
|
1331
|
+
"""
|
|
1332
|
+
A list of edges.
|
|
1333
|
+
"""
|
|
1334
|
+
edges: [ProductVariantEdge!]!
|
|
1335
|
+
|
|
1336
|
+
"""
|
|
1337
|
+
A list of the nodes contained in ProductVariantEdge.
|
|
1338
|
+
"""
|
|
1339
|
+
nodes: [ProductVariant!]!
|
|
1340
|
+
|
|
1341
|
+
"""
|
|
1342
|
+
Information to aid in pagination.
|
|
1343
|
+
"""
|
|
1344
|
+
pageInfo: PageInfo!
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
"""
|
|
1348
|
+
An auto-generated type which holds one ProductVariant and a cursor during pagination.
|
|
1349
|
+
"""
|
|
1350
|
+
type ProductVariantEdge {
|
|
1351
|
+
"""
|
|
1352
|
+
A cursor for use in pagination.
|
|
1353
|
+
"""
|
|
1354
|
+
cursor: String!
|
|
1355
|
+
|
|
1356
|
+
"""
|
|
1357
|
+
The item at the end of ProductVariantEdge.
|
|
1358
|
+
"""
|
|
1359
|
+
node: ProductVariant!
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
"""
|
|
1363
|
+
The set of valid sort keys for the ProductVariant query.
|
|
1364
|
+
"""
|
|
1365
|
+
enum ProductVariantSortKeys {
|
|
1366
|
+
"""
|
|
1367
|
+
Sort by the `id` value.
|
|
1368
|
+
"""
|
|
1369
|
+
ID
|
|
1370
|
+
|
|
1371
|
+
"""
|
|
1372
|
+
Sort by the `position` value.
|
|
1373
|
+
"""
|
|
1374
|
+
POSITION
|
|
1375
|
+
|
|
1376
|
+
"""
|
|
1377
|
+
Sort by relevance to the search terms when the `query` parameter is specified on the connection.
|
|
1378
|
+
Don't use this sort key when no search query is specified.
|
|
1379
|
+
"""
|
|
1380
|
+
RELEVANCE
|
|
1381
|
+
|
|
1382
|
+
"""
|
|
1383
|
+
Sort by the `sku` value.
|
|
1384
|
+
"""
|
|
1385
|
+
SKU
|
|
1386
|
+
|
|
1387
|
+
"""
|
|
1388
|
+
Sort by the `title` value.
|
|
1389
|
+
"""
|
|
1390
|
+
TITLE
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
"""
|
|
1394
|
+
The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start.
|
|
1395
|
+
"""
|
|
1396
|
+
type Query {
|
|
1397
|
+
"""
|
|
1398
|
+
The current product.
|
|
1399
|
+
"""
|
|
1400
|
+
product: Product
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1403
|
+
"""
|
|
1404
|
+
Represents an [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986) and
|
|
1405
|
+
[RFC 3987](https://datatracker.ietf.org/doc/html/rfc3987)-compliant URI string.
|
|
1406
|
+
|
|
1407
|
+
For example, `"https://johns-apparel.myshopify.com"` is a valid URL. It includes a scheme (`https`) and a host
|
|
1408
|
+
(`johns-apparel.myshopify.com`).
|
|
1409
|
+
"""
|
|
1410
|
+
scalar URL
|
|
1411
|
+
|
|
1412
|
+
"""
|
|
1413
|
+
Represents a Shopify hosted video.
|
|
1414
|
+
"""
|
|
1415
|
+
type Video {
|
|
1416
|
+
"""
|
|
1417
|
+
A globally-unique ID.
|
|
1418
|
+
"""
|
|
1419
|
+
id: ID!
|
|
1420
|
+
|
|
1421
|
+
"""
|
|
1422
|
+
The sources for a video.
|
|
1423
|
+
"""
|
|
1424
|
+
sources: [VideoSource!]!
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
"""
|
|
1428
|
+
Represents a source for a Shopify hosted video.
|
|
1429
|
+
"""
|
|
1430
|
+
type VideoSource {
|
|
1431
|
+
"""
|
|
1432
|
+
The URL of the video.
|
|
1433
|
+
"""
|
|
1434
|
+
url: String!
|
|
1435
|
+
}
|