@gfed-medusa/sf-lib-common 3.1.1 → 3.3.5
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/dist/components/breadcrumbs/index.d.ts +2 -2
- package/dist/components/breadcrumbs/index.js +6 -2
- package/dist/components/breadcrumbs/index.js.map +1 -1
- package/dist/components/cart-mismatch-banner/index.d.ts +2 -2
- package/dist/components/cart-mismatch-banner/index.d.ts.map +1 -1
- package/dist/components/cart-mismatch-banner/index.js +11 -2
- package/dist/components/cart-mismatch-banner/index.js.map +1 -1
- package/dist/components/country-select/index.js +3 -1
- package/dist/components/country-select/index.js.map +1 -1
- package/dist/components/delete-button/index.d.ts +2 -2
- package/dist/components/error-message/index.d.ts +2 -2
- package/dist/components/error-message/index.d.ts.map +1 -1
- package/dist/components/error-message/index.js +3 -1
- package/dist/components/error-message/index.js.map +1 -1
- package/dist/components/free-shipping-price-nudge/index.js +64 -47
- package/dist/components/free-shipping-price-nudge/index.js.map +1 -1
- package/dist/components/interactive-link/index.d.ts +9 -6
- package/dist/components/interactive-link/index.d.ts.map +1 -1
- package/dist/components/interactive-link/index.js +6 -6
- package/dist/components/interactive-link/index.js.map +1 -1
- package/dist/components/line-item-options/index.d.ts +2 -2
- package/dist/components/line-item-price/index.d.ts +2 -2
- package/dist/components/localized-client-link/index.d.ts +2 -2
- package/dist/components/localized-client-link/index.d.ts.map +1 -1
- package/dist/components/localized-client-link/index.js +10 -6
- package/dist/components/localized-client-link/index.js.map +1 -1
- package/dist/components/modal/index.d.ts +2 -2
- package/dist/components/modal/index.d.ts.map +1 -1
- package/dist/components/preview-price/index.d.ts +2 -2
- package/dist/components/preview-price/index.d.ts.map +1 -1
- package/dist/components/preview-price/index.js +3 -1
- package/dist/components/preview-price/index.js.map +1 -1
- package/dist/components/product-card/index.d.ts +2 -2
- package/dist/components/product-card/index.d.ts.map +1 -1
- package/dist/components/product-card/index.js +15 -10
- package/dist/components/product-card/index.js.map +1 -1
- package/dist/components/product-preview/index.d.ts +7 -3
- package/dist/components/product-preview/index.d.ts.map +1 -1
- package/dist/components/product-preview/index.js +4 -2
- package/dist/components/product-preview/index.js.map +1 -1
- package/dist/components/submit-button/index.d.ts +2 -2
- package/dist/components/submit-button/index.d.ts.map +1 -1
- package/dist/components/thumbnail/index.d.ts +2 -0
- package/dist/components/thumbnail/index.d.ts.map +1 -1
- package/dist/components/thumbnail/index.js +8 -4
- package/dist/components/thumbnail/index.js.map +1 -1
- package/dist/lib/config/medusa.js +3 -2
- package/dist/lib/config/medusa.js.map +1 -1
- package/dist/lib/context/apollo-context.d.ts +2 -2
- package/dist/lib/context/apollo-context.js +2 -1
- package/dist/lib/context/apollo-context.js.map +1 -1
- package/dist/lib/context/modal-context.d.ts +2 -2
- package/dist/lib/context/modal-context.d.ts.map +1 -1
- package/dist/lib/context/modal-context.js +3 -1
- package/dist/lib/context/modal-context.js.map +1 -1
- package/dist/lib/data/cart.js +35 -17
- package/dist/lib/data/cart.js.map +1 -1
- package/dist/lib/data/categories.js +2 -1
- package/dist/lib/data/categories.js.map +1 -1
- package/dist/lib/data/client-actions.js +7 -2
- package/dist/lib/data/client-actions.js.map +1 -1
- package/dist/lib/data/collections.js +9 -6
- package/dist/lib/data/collections.js.map +1 -1
- package/dist/lib/data/context.d.ts +2 -2
- package/dist/lib/data/context.js +3 -1
- package/dist/lib/data/context.js.map +1 -1
- package/dist/lib/data/cookies-actions.d.ts.map +1 -1
- package/dist/lib/data/cookies-actions.js +20 -10
- package/dist/lib/data/cookies-actions.js.map +1 -1
- package/dist/lib/data/cookies-utils.js +9 -3
- package/dist/lib/data/cookies-utils.js.map +1 -1
- package/dist/lib/data/customer.js +19 -10
- package/dist/lib/data/customer.js.map +1 -1
- package/dist/lib/data/footer.js +2 -1
- package/dist/lib/data/footer.js.map +1 -1
- package/dist/lib/data/orders.js +3 -2
- package/dist/lib/data/orders.js.map +1 -1
- package/dist/lib/data/regions.js +9 -6
- package/dist/lib/data/regions.js.map +1 -1
- package/dist/lib/globals/expose-globals.js +1 -1
- package/dist/lib/gql/apollo-client.js +12 -7
- package/dist/lib/gql/apollo-client.js.map +1 -1
- package/dist/lib/gql/fragments/cart.d.ts +9 -9
- package/dist/lib/gql/fragments/customer.d.ts +3 -3
- package/dist/lib/gql/fragments/product.d.ts +9 -9
- package/dist/lib/gql/fragments/product.d.ts.map +1 -1
- package/dist/lib/gql/fragments/product.js +12 -10
- package/dist/lib/gql/fragments/product.js.map +1 -1
- package/dist/lib/gql/mutations/cart.d.ts +6 -6
- package/dist/lib/gql/queries/cart.d.ts +2 -2
- package/dist/lib/gql/queries/cart.d.ts.map +1 -1
- package/dist/lib/gql/queries/collections.d.ts +4 -3
- package/dist/lib/gql/queries/collections.d.ts.map +1 -1
- package/dist/lib/gql/queries/collections.js +14 -2
- package/dist/lib/gql/queries/collections.js.map +1 -1
- package/dist/lib/gql/queries/customer.d.ts +2 -2
- package/dist/lib/gql/queries/customer.d.ts.map +1 -1
- package/dist/lib/gql/queries/order.d.ts +4 -4
- package/dist/lib/gql/queries/order.d.ts.map +1 -1
- package/dist/lib/gql/queries/order.js +1 -0
- package/dist/lib/gql/queries/order.js.map +1 -1
- package/dist/lib/gql/queries/product.d.ts +3 -4
- package/dist/lib/gql/queries/product.d.ts.map +1 -1
- package/dist/lib/gql/queries/product.js +2 -12
- package/dist/lib/gql/queries/product.js.map +1 -1
- package/dist/lib/gql/queries/regions.d.ts +3 -3
- package/dist/lib/gql/queries/shipping.d.ts +3 -3
- package/dist/lib/hooks/use-apollo.d.ts +2 -2
- package/dist/lib/hooks/use-apollo.js +2 -1
- package/dist/lib/hooks/use-apollo.js.map +1 -1
- package/dist/lib/hooks/use-cart.js +3 -1
- package/dist/lib/hooks/use-cart.js.map +1 -1
- package/dist/lib/hooks/use-customer.js +3 -1
- package/dist/lib/hooks/use-customer.js.map +1 -1
- package/dist/lib/utils/data-types.js +1 -1
- package/dist/lib/utils/data-types.js.map +1 -1
- package/dist/lib/utils/get-percentage-diff.js +3 -1
- package/dist/lib/utils/get-percentage-diff.js.map +1 -1
- package/dist/lib/utils/get-product-price.js +15 -5
- package/dist/lib/utils/get-product-price.js.map +1 -1
- package/dist/lib/utils/imagekit.d.ts +9 -0
- package/dist/lib/utils/imagekit.d.ts.map +1 -0
- package/dist/lib/utils/imagekit.js +26 -0
- package/dist/lib/utils/imagekit.js.map +1 -0
- package/dist/lib/utils/medusa-error.js +5 -2
- package/dist/lib/utils/medusa-error.js.map +1 -1
- package/dist/types/graphql.d.ts +27 -50
- package/dist/types/graphql.d.ts.map +1 -1
- package/dist/types/graphql.js +279 -186
- package/dist/types/graphql.js.map +1 -1
- package/package.json +5 -5
- package/dist/lib/data/search.d.ts +0 -9
- package/dist/lib/data/search.d.ts.map +0 -1
- package/dist/lib/data/search.js +0 -23
- package/dist/lib/data/search.js.map +0 -1
- package/dist/lib/hooks/use-search.d.ts +0 -22
- package/dist/lib/hooks/use-search.d.ts.map +0 -1
- package/dist/lib/hooks/use-search.js +0 -69
- package/dist/lib/hooks/use-search.js.map +0 -1
package/dist/types/graphql.js
CHANGED
|
@@ -2305,63 +2305,6 @@ const CustomerFragmentDoc = {
|
|
|
2305
2305
|
}
|
|
2306
2306
|
}]
|
|
2307
2307
|
};
|
|
2308
|
-
const ProductHitFragmentDoc = {
|
|
2309
|
-
kind: "Document",
|
|
2310
|
-
definitions: [{
|
|
2311
|
-
kind: "FragmentDefinition",
|
|
2312
|
-
name: {
|
|
2313
|
-
kind: "Name",
|
|
2314
|
-
value: "ProductHit"
|
|
2315
|
-
},
|
|
2316
|
-
typeCondition: {
|
|
2317
|
-
kind: "NamedType",
|
|
2318
|
-
name: {
|
|
2319
|
-
kind: "Name",
|
|
2320
|
-
value: "ProductHit"
|
|
2321
|
-
}
|
|
2322
|
-
},
|
|
2323
|
-
selectionSet: {
|
|
2324
|
-
kind: "SelectionSet",
|
|
2325
|
-
selections: [
|
|
2326
|
-
{
|
|
2327
|
-
kind: "Field",
|
|
2328
|
-
name: {
|
|
2329
|
-
kind: "Name",
|
|
2330
|
-
value: "id"
|
|
2331
|
-
}
|
|
2332
|
-
},
|
|
2333
|
-
{
|
|
2334
|
-
kind: "Field",
|
|
2335
|
-
name: {
|
|
2336
|
-
kind: "Name",
|
|
2337
|
-
value: "title"
|
|
2338
|
-
}
|
|
2339
|
-
},
|
|
2340
|
-
{
|
|
2341
|
-
kind: "Field",
|
|
2342
|
-
name: {
|
|
2343
|
-
kind: "Name",
|
|
2344
|
-
value: "description"
|
|
2345
|
-
}
|
|
2346
|
-
},
|
|
2347
|
-
{
|
|
2348
|
-
kind: "Field",
|
|
2349
|
-
name: {
|
|
2350
|
-
kind: "Name",
|
|
2351
|
-
value: "handle"
|
|
2352
|
-
}
|
|
2353
|
-
},
|
|
2354
|
-
{
|
|
2355
|
-
kind: "Field",
|
|
2356
|
-
name: {
|
|
2357
|
-
kind: "Name",
|
|
2358
|
-
value: "thumbnail"
|
|
2359
|
-
}
|
|
2360
|
-
}
|
|
2361
|
-
]
|
|
2362
|
-
}
|
|
2363
|
-
}]
|
|
2364
|
-
};
|
|
2365
2308
|
const ProductCategoryFragmentDoc = {
|
|
2366
2309
|
kind: "Document",
|
|
2367
2310
|
definitions: [{
|
|
@@ -2686,6 +2629,72 @@ const CollectionProductsFragmentDoc = {
|
|
|
2686
2629
|
}
|
|
2687
2630
|
]
|
|
2688
2631
|
};
|
|
2632
|
+
const CollectionProductsHomeFragmentDoc = {
|
|
2633
|
+
kind: "Document",
|
|
2634
|
+
definitions: [{
|
|
2635
|
+
kind: "FragmentDefinition",
|
|
2636
|
+
name: {
|
|
2637
|
+
kind: "Name",
|
|
2638
|
+
value: "CollectionProductsHome"
|
|
2639
|
+
},
|
|
2640
|
+
typeCondition: {
|
|
2641
|
+
kind: "NamedType",
|
|
2642
|
+
name: {
|
|
2643
|
+
kind: "Name",
|
|
2644
|
+
value: "ProductList"
|
|
2645
|
+
}
|
|
2646
|
+
},
|
|
2647
|
+
selectionSet: {
|
|
2648
|
+
kind: "SelectionSet",
|
|
2649
|
+
selections: [{
|
|
2650
|
+
kind: "Field",
|
|
2651
|
+
name: {
|
|
2652
|
+
kind: "Name",
|
|
2653
|
+
value: "count"
|
|
2654
|
+
}
|
|
2655
|
+
}, {
|
|
2656
|
+
kind: "Field",
|
|
2657
|
+
name: {
|
|
2658
|
+
kind: "Name",
|
|
2659
|
+
value: "items"
|
|
2660
|
+
},
|
|
2661
|
+
selectionSet: {
|
|
2662
|
+
kind: "SelectionSet",
|
|
2663
|
+
selections: [
|
|
2664
|
+
{
|
|
2665
|
+
kind: "Field",
|
|
2666
|
+
name: {
|
|
2667
|
+
kind: "Name",
|
|
2668
|
+
value: "id"
|
|
2669
|
+
}
|
|
2670
|
+
},
|
|
2671
|
+
{
|
|
2672
|
+
kind: "Field",
|
|
2673
|
+
name: {
|
|
2674
|
+
kind: "Name",
|
|
2675
|
+
value: "title"
|
|
2676
|
+
}
|
|
2677
|
+
},
|
|
2678
|
+
{
|
|
2679
|
+
kind: "Field",
|
|
2680
|
+
name: {
|
|
2681
|
+
kind: "Name",
|
|
2682
|
+
value: "handle"
|
|
2683
|
+
}
|
|
2684
|
+
},
|
|
2685
|
+
{
|
|
2686
|
+
kind: "Field",
|
|
2687
|
+
name: {
|
|
2688
|
+
kind: "Name",
|
|
2689
|
+
value: "thumbnail"
|
|
2690
|
+
}
|
|
2691
|
+
}
|
|
2692
|
+
]
|
|
2693
|
+
}
|
|
2694
|
+
}]
|
|
2695
|
+
}
|
|
2696
|
+
}]
|
|
2697
|
+
};
|
|
2689
2698
|
const OrderFieldsFragmentDoc = {
|
|
2690
2699
|
kind: "Document",
|
|
2691
2700
|
definitions: [{
|
|
@@ -8333,6 +8342,218 @@ const GetCollectionsDocument = {
|
|
|
8333
8342
|
}
|
|
8334
8343
|
]
|
|
8335
8344
|
};
|
|
8345
|
+
const GetCollectionsHomeDocument = {
|
|
8346
|
+
kind: "Document",
|
|
8347
|
+
definitions: [
|
|
8348
|
+
{
|
|
8349
|
+
kind: "OperationDefinition",
|
|
8350
|
+
operation: "query",
|
|
8351
|
+
name: {
|
|
8352
|
+
kind: "Name",
|
|
8353
|
+
value: "GetCollectionsHome"
|
|
8354
|
+
},
|
|
8355
|
+
variableDefinitions: [{
|
|
8356
|
+
kind: "VariableDefinition",
|
|
8357
|
+
variable: {
|
|
8358
|
+
kind: "Variable",
|
|
8359
|
+
name: {
|
|
8360
|
+
kind: "Name",
|
|
8361
|
+
value: "limit"
|
|
8362
|
+
}
|
|
8363
|
+
},
|
|
8364
|
+
type: {
|
|
8365
|
+
kind: "NamedType",
|
|
8366
|
+
name: {
|
|
8367
|
+
kind: "Name",
|
|
8368
|
+
value: "Int"
|
|
8369
|
+
}
|
|
8370
|
+
}
|
|
8371
|
+
}, {
|
|
8372
|
+
kind: "VariableDefinition",
|
|
8373
|
+
variable: {
|
|
8374
|
+
kind: "Variable",
|
|
8375
|
+
name: {
|
|
8376
|
+
kind: "Name",
|
|
8377
|
+
value: "offset"
|
|
8378
|
+
}
|
|
8379
|
+
},
|
|
8380
|
+
type: {
|
|
8381
|
+
kind: "NamedType",
|
|
8382
|
+
name: {
|
|
8383
|
+
kind: "Name",
|
|
8384
|
+
value: "Int"
|
|
8385
|
+
}
|
|
8386
|
+
}
|
|
8387
|
+
}],
|
|
8388
|
+
selectionSet: {
|
|
8389
|
+
kind: "SelectionSet",
|
|
8390
|
+
selections: [{
|
|
8391
|
+
kind: "Field",
|
|
8392
|
+
name: {
|
|
8393
|
+
kind: "Name",
|
|
8394
|
+
value: "collections"
|
|
8395
|
+
},
|
|
8396
|
+
arguments: [{
|
|
8397
|
+
kind: "Argument",
|
|
8398
|
+
name: {
|
|
8399
|
+
kind: "Name",
|
|
8400
|
+
value: "limit"
|
|
8401
|
+
},
|
|
8402
|
+
value: {
|
|
8403
|
+
kind: "Variable",
|
|
8404
|
+
name: {
|
|
8405
|
+
kind: "Name",
|
|
8406
|
+
value: "limit"
|
|
8407
|
+
}
|
|
8408
|
+
}
|
|
8409
|
+
}, {
|
|
8410
|
+
kind: "Argument",
|
|
8411
|
+
name: {
|
|
8412
|
+
kind: "Name",
|
|
8413
|
+
value: "offset"
|
|
8414
|
+
},
|
|
8415
|
+
value: {
|
|
8416
|
+
kind: "Variable",
|
|
8417
|
+
name: {
|
|
8418
|
+
kind: "Name",
|
|
8419
|
+
value: "offset"
|
|
8420
|
+
}
|
|
8421
|
+
}
|
|
8422
|
+
}],
|
|
8423
|
+
selectionSet: {
|
|
8424
|
+
kind: "SelectionSet",
|
|
8425
|
+
selections: [{
|
|
8426
|
+
kind: "FragmentSpread",
|
|
8427
|
+
name: {
|
|
8428
|
+
kind: "Name",
|
|
8429
|
+
value: "ProductCollection"
|
|
8430
|
+
}
|
|
8431
|
+
}, {
|
|
8432
|
+
kind: "Field",
|
|
8433
|
+
name: {
|
|
8434
|
+
kind: "Name",
|
|
8435
|
+
value: "products"
|
|
8436
|
+
},
|
|
8437
|
+
selectionSet: {
|
|
8438
|
+
kind: "SelectionSet",
|
|
8439
|
+
selections: [{
|
|
8440
|
+
kind: "FragmentSpread",
|
|
8441
|
+
name: {
|
|
8442
|
+
kind: "Name",
|
|
8443
|
+
value: "CollectionProductsHome"
|
|
8444
|
+
}
|
|
8445
|
+
}]
|
|
8446
|
+
}
|
|
8447
|
+
}]
|
|
8448
|
+
}
|
|
8449
|
+
}]
|
|
8450
|
+
}
|
|
8451
|
+
},
|
|
8452
|
+
{
|
|
8453
|
+
kind: "FragmentDefinition",
|
|
8454
|
+
name: {
|
|
8455
|
+
kind: "Name",
|
|
8456
|
+
value: "ProductCollection"
|
|
8457
|
+
},
|
|
8458
|
+
typeCondition: {
|
|
8459
|
+
kind: "NamedType",
|
|
8460
|
+
name: {
|
|
8461
|
+
kind: "Name",
|
|
8462
|
+
value: "Collection"
|
|
8463
|
+
}
|
|
8464
|
+
},
|
|
8465
|
+
selectionSet: {
|
|
8466
|
+
kind: "SelectionSet",
|
|
8467
|
+
selections: [
|
|
8468
|
+
{
|
|
8469
|
+
kind: "Field",
|
|
8470
|
+
name: {
|
|
8471
|
+
kind: "Name",
|
|
8472
|
+
value: "id"
|
|
8473
|
+
}
|
|
8474
|
+
},
|
|
8475
|
+
{
|
|
8476
|
+
kind: "Field",
|
|
8477
|
+
name: {
|
|
8478
|
+
kind: "Name",
|
|
8479
|
+
value: "title"
|
|
8480
|
+
}
|
|
8481
|
+
},
|
|
8482
|
+
{
|
|
8483
|
+
kind: "Field",
|
|
8484
|
+
name: {
|
|
8485
|
+
kind: "Name",
|
|
8486
|
+
value: "handle"
|
|
8487
|
+
}
|
|
8488
|
+
}
|
|
8489
|
+
]
|
|
8490
|
+
}
|
|
8491
|
+
},
|
|
8492
|
+
{
|
|
8493
|
+
kind: "FragmentDefinition",
|
|
8494
|
+
name: {
|
|
8495
|
+
kind: "Name",
|
|
8496
|
+
value: "CollectionProductsHome"
|
|
8497
|
+
},
|
|
8498
|
+
typeCondition: {
|
|
8499
|
+
kind: "NamedType",
|
|
8500
|
+
name: {
|
|
8501
|
+
kind: "Name",
|
|
8502
|
+
value: "ProductList"
|
|
8503
|
+
}
|
|
8504
|
+
},
|
|
8505
|
+
selectionSet: {
|
|
8506
|
+
kind: "SelectionSet",
|
|
8507
|
+
selections: [{
|
|
8508
|
+
kind: "Field",
|
|
8509
|
+
name: {
|
|
8510
|
+
kind: "Name",
|
|
8511
|
+
value: "count"
|
|
8512
|
+
}
|
|
8513
|
+
}, {
|
|
8514
|
+
kind: "Field",
|
|
8515
|
+
name: {
|
|
8516
|
+
kind: "Name",
|
|
8517
|
+
value: "items"
|
|
8518
|
+
},
|
|
8519
|
+
selectionSet: {
|
|
8520
|
+
kind: "SelectionSet",
|
|
8521
|
+
selections: [
|
|
8522
|
+
{
|
|
8523
|
+
kind: "Field",
|
|
8524
|
+
name: {
|
|
8525
|
+
kind: "Name",
|
|
8526
|
+
value: "id"
|
|
8527
|
+
}
|
|
8528
|
+
},
|
|
8529
|
+
{
|
|
8530
|
+
kind: "Field",
|
|
8531
|
+
name: {
|
|
8532
|
+
kind: "Name",
|
|
8533
|
+
value: "title"
|
|
8534
|
+
}
|
|
8535
|
+
},
|
|
8536
|
+
{
|
|
8537
|
+
kind: "Field",
|
|
8538
|
+
name: {
|
|
8539
|
+
kind: "Name",
|
|
8540
|
+
value: "handle"
|
|
8541
|
+
}
|
|
8542
|
+
},
|
|
8543
|
+
{
|
|
8544
|
+
kind: "Field",
|
|
8545
|
+
name: {
|
|
8546
|
+
kind: "Name",
|
|
8547
|
+
value: "thumbnail"
|
|
8548
|
+
}
|
|
8549
|
+
}
|
|
8550
|
+
]
|
|
8551
|
+
}
|
|
8552
|
+
}]
|
|
8553
|
+
}
|
|
8554
|
+
}
|
|
8555
|
+
]
|
|
8556
|
+
};
|
|
8336
8557
|
const GetCustomerDocument = {
|
|
8337
8558
|
kind: "Document",
|
|
8338
8559
|
definitions: [
|
|
@@ -10061,134 +10282,6 @@ const GetOrdersDocument = {
|
|
|
10061
10282
|
}
|
|
10062
10283
|
}]
|
|
10063
10284
|
};
|
|
10064
|
-
const SearchSuggestionsDocument = {
|
|
10065
|
-
kind: "Document",
|
|
10066
|
-
definitions: [{
|
|
10067
|
-
kind: "OperationDefinition",
|
|
10068
|
-
operation: "query",
|
|
10069
|
-
name: {
|
|
10070
|
-
kind: "Name",
|
|
10071
|
-
value: "SearchSuggestions"
|
|
10072
|
-
},
|
|
10073
|
-
variableDefinitions: [{
|
|
10074
|
-
kind: "VariableDefinition",
|
|
10075
|
-
variable: {
|
|
10076
|
-
kind: "Variable",
|
|
10077
|
-
name: {
|
|
10078
|
-
kind: "Name",
|
|
10079
|
-
value: "query"
|
|
10080
|
-
}
|
|
10081
|
-
},
|
|
10082
|
-
type: {
|
|
10083
|
-
kind: "NonNullType",
|
|
10084
|
-
type: {
|
|
10085
|
-
kind: "NamedType",
|
|
10086
|
-
name: {
|
|
10087
|
-
kind: "Name",
|
|
10088
|
-
value: "String"
|
|
10089
|
-
}
|
|
10090
|
-
}
|
|
10091
|
-
}
|
|
10092
|
-
}],
|
|
10093
|
-
selectionSet: {
|
|
10094
|
-
kind: "SelectionSet",
|
|
10095
|
-
selections: [{
|
|
10096
|
-
kind: "Field",
|
|
10097
|
-
name: {
|
|
10098
|
-
kind: "Name",
|
|
10099
|
-
value: "searchProducts"
|
|
10100
|
-
},
|
|
10101
|
-
arguments: [{
|
|
10102
|
-
kind: "Argument",
|
|
10103
|
-
name: {
|
|
10104
|
-
kind: "Name",
|
|
10105
|
-
value: "query"
|
|
10106
|
-
},
|
|
10107
|
-
value: {
|
|
10108
|
-
kind: "Variable",
|
|
10109
|
-
name: {
|
|
10110
|
-
kind: "Name",
|
|
10111
|
-
value: "query"
|
|
10112
|
-
}
|
|
10113
|
-
}
|
|
10114
|
-
}],
|
|
10115
|
-
selectionSet: {
|
|
10116
|
-
kind: "SelectionSet",
|
|
10117
|
-
selections: [{
|
|
10118
|
-
kind: "Field",
|
|
10119
|
-
name: {
|
|
10120
|
-
kind: "Name",
|
|
10121
|
-
value: "items"
|
|
10122
|
-
},
|
|
10123
|
-
selectionSet: {
|
|
10124
|
-
kind: "SelectionSet",
|
|
10125
|
-
selections: [{
|
|
10126
|
-
kind: "FragmentSpread",
|
|
10127
|
-
name: {
|
|
10128
|
-
kind: "Name",
|
|
10129
|
-
value: "ProductHit"
|
|
10130
|
-
}
|
|
10131
|
-
}]
|
|
10132
|
-
}
|
|
10133
|
-
}]
|
|
10134
|
-
}
|
|
10135
|
-
}]
|
|
10136
|
-
}
|
|
10137
|
-
}, {
|
|
10138
|
-
kind: "FragmentDefinition",
|
|
10139
|
-
name: {
|
|
10140
|
-
kind: "Name",
|
|
10141
|
-
value: "ProductHit"
|
|
10142
|
-
},
|
|
10143
|
-
typeCondition: {
|
|
10144
|
-
kind: "NamedType",
|
|
10145
|
-
name: {
|
|
10146
|
-
kind: "Name",
|
|
10147
|
-
value: "ProductHit"
|
|
10148
|
-
}
|
|
10149
|
-
},
|
|
10150
|
-
selectionSet: {
|
|
10151
|
-
kind: "SelectionSet",
|
|
10152
|
-
selections: [
|
|
10153
|
-
{
|
|
10154
|
-
kind: "Field",
|
|
10155
|
-
name: {
|
|
10156
|
-
kind: "Name",
|
|
10157
|
-
value: "id"
|
|
10158
|
-
}
|
|
10159
|
-
},
|
|
10160
|
-
{
|
|
10161
|
-
kind: "Field",
|
|
10162
|
-
name: {
|
|
10163
|
-
kind: "Name",
|
|
10164
|
-
value: "title"
|
|
10165
|
-
}
|
|
10166
|
-
},
|
|
10167
|
-
{
|
|
10168
|
-
kind: "Field",
|
|
10169
|
-
name: {
|
|
10170
|
-
kind: "Name",
|
|
10171
|
-
value: "description"
|
|
10172
|
-
}
|
|
10173
|
-
},
|
|
10174
|
-
{
|
|
10175
|
-
kind: "Field",
|
|
10176
|
-
name: {
|
|
10177
|
-
kind: "Name",
|
|
10178
|
-
value: "handle"
|
|
10179
|
-
}
|
|
10180
|
-
},
|
|
10181
|
-
{
|
|
10182
|
-
kind: "Field",
|
|
10183
|
-
name: {
|
|
10184
|
-
kind: "Name",
|
|
10185
|
-
value: "thumbnail"
|
|
10186
|
-
}
|
|
10187
|
-
}
|
|
10188
|
-
]
|
|
10189
|
-
}
|
|
10190
|
-
}]
|
|
10191
|
-
};
|
|
10192
10285
|
const GetProductCategoriesDocument = {
|
|
10193
10286
|
kind: "Document",
|
|
10194
10287
|
definitions: [{
|
|
@@ -10969,5 +11062,5 @@ const GetShippingOptionsDocument = {
|
|
|
10969
11062
|
};
|
|
10970
11063
|
|
|
10971
11064
|
//#endregion
|
|
10972
|
-
export { AddressFieldsFragmentDoc, ApplicationType, CacheControlScope, CartFieldsFragmentDoc, CartItemFieldsFragmentDoc, CollectionProductsFragmentDoc, CountryFieldsFragmentDoc, CreateCartDocument, CreateLineItemDocument, CustomerAddressFragmentDoc, CustomerFragmentDoc, DeleteLineItemDocument, GetCartDocument, GetCollectionsDocument, GetCustomerDocument, GetFooterDataDocument, GetFooterDocument, GetOrderDocument, GetOrdersDocument, GetProductCategoriesDocument, GetRegionDocument, GetShippingOptionsDocument, ListRegionsDocument, OrderFieldsFragmentDoc, PaymentCollectionFieldsFragmentDoc, PaymentSessionStatus, PaymentStatus, PriceFragmentDoc, ProductCategoryFragmentDoc, ProductCollectionFragmentDoc,
|
|
11065
|
+
export { AddressFieldsFragmentDoc, ApplicationType, CacheControlScope, CartFieldsFragmentDoc, CartItemFieldsFragmentDoc, CollectionProductsFragmentDoc, CollectionProductsHomeFragmentDoc, CountryFieldsFragmentDoc, CreateCartDocument, CreateLineItemDocument, CustomerAddressFragmentDoc, CustomerFragmentDoc, DeleteLineItemDocument, GetCartDocument, GetCollectionsDocument, GetCollectionsHomeDocument, GetCustomerDocument, GetFooterDataDocument, GetFooterDocument, GetOrderDocument, GetOrdersDocument, GetProductCategoriesDocument, GetRegionDocument, GetShippingOptionsDocument, ListRegionsDocument, OrderFieldsFragmentDoc, PaymentCollectionFieldsFragmentDoc, PaymentSessionStatus, PaymentStatus, PriceFragmentDoc, ProductCategoryFragmentDoc, ProductCollectionFragmentDoc, ProductImageFragmentDoc, ProductVariantFragmentDoc, PromotionFieldsFragmentDoc, RegionFieldsFragmentDoc, ShippingMethodFieldsFragmentDoc, ShippingOptionFieldsFragmentDoc, TransferCartDocument, UpdateCartDocument };
|
|
10973
11066
|
//# sourceMappingURL=graphql.js.map
|