@gfed-medusa/sf-lib-common 3.1.1 → 3.3.3
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/cart-mismatch-banner/index.d.ts +2 -2
- 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/free-shipping-price-nudge/index.d.ts +2 -2
- package/dist/components/interactive-link/index.d.ts +2 -2
- package/dist/components/interactive-link/index.d.ts.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/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/product-card/index.js +14 -9
- package/dist/components/product-card/index.js.map +1 -1
- package/dist/components/product-preview/index.d.ts +2 -2
- package/dist/components/product-preview/index.d.ts.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.js +1 -1
- package/dist/components/thumbnail/index.js.map +1 -1
- package/dist/lib/context/apollo-context.d.ts +2 -2
- package/dist/lib/context/apollo-context.d.ts.map +1 -1
- package/dist/lib/context/modal-context.d.ts +2 -2
- package/dist/lib/data/collections.js +3 -3
- package/dist/lib/data/collections.js.map +1 -1
- package/dist/lib/data/context.d.ts +2 -2
- 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 +10 -9
- package/dist/lib/gql/fragments/product.d.ts.map +1 -1
- package/dist/lib/gql/fragments/product.js +12 -1
- 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/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/footer.d.ts +3 -3
- package/dist/lib/gql/queries/order.d.ts +4 -4
- package/dist/lib/gql/queries/product.d.ts +3 -3
- 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/utils/imagekit.d.ts +13 -0
- package/dist/lib/utils/imagekit.d.ts.map +1 -0
- package/dist/lib/utils/imagekit.js +29 -0
- package/dist/lib/utils/imagekit.js.map +1 -0
- package/dist/types/graphql.d.ts +31 -1
- package/dist/types/graphql.d.ts.map +1 -1
- package/dist/types/graphql.js +296 -1
- package/dist/types/graphql.js.map +1 -1
- package/package.json +4 -4
package/dist/types/graphql.js
CHANGED
|
@@ -2686,6 +2686,72 @@ const CollectionProductsFragmentDoc = {
|
|
|
2686
2686
|
}
|
|
2687
2687
|
]
|
|
2688
2688
|
};
|
|
2689
|
+
const CollectionProductsHomeFragmentDoc = {
|
|
2690
|
+
kind: "Document",
|
|
2691
|
+
definitions: [{
|
|
2692
|
+
kind: "FragmentDefinition",
|
|
2693
|
+
name: {
|
|
2694
|
+
kind: "Name",
|
|
2695
|
+
value: "CollectionProductsHome"
|
|
2696
|
+
},
|
|
2697
|
+
typeCondition: {
|
|
2698
|
+
kind: "NamedType",
|
|
2699
|
+
name: {
|
|
2700
|
+
kind: "Name",
|
|
2701
|
+
value: "ProductList"
|
|
2702
|
+
}
|
|
2703
|
+
},
|
|
2704
|
+
selectionSet: {
|
|
2705
|
+
kind: "SelectionSet",
|
|
2706
|
+
selections: [{
|
|
2707
|
+
kind: "Field",
|
|
2708
|
+
name: {
|
|
2709
|
+
kind: "Name",
|
|
2710
|
+
value: "count"
|
|
2711
|
+
}
|
|
2712
|
+
}, {
|
|
2713
|
+
kind: "Field",
|
|
2714
|
+
name: {
|
|
2715
|
+
kind: "Name",
|
|
2716
|
+
value: "items"
|
|
2717
|
+
},
|
|
2718
|
+
selectionSet: {
|
|
2719
|
+
kind: "SelectionSet",
|
|
2720
|
+
selections: [
|
|
2721
|
+
{
|
|
2722
|
+
kind: "Field",
|
|
2723
|
+
name: {
|
|
2724
|
+
kind: "Name",
|
|
2725
|
+
value: "id"
|
|
2726
|
+
}
|
|
2727
|
+
},
|
|
2728
|
+
{
|
|
2729
|
+
kind: "Field",
|
|
2730
|
+
name: {
|
|
2731
|
+
kind: "Name",
|
|
2732
|
+
value: "title"
|
|
2733
|
+
}
|
|
2734
|
+
},
|
|
2735
|
+
{
|
|
2736
|
+
kind: "Field",
|
|
2737
|
+
name: {
|
|
2738
|
+
kind: "Name",
|
|
2739
|
+
value: "handle"
|
|
2740
|
+
}
|
|
2741
|
+
},
|
|
2742
|
+
{
|
|
2743
|
+
kind: "Field",
|
|
2744
|
+
name: {
|
|
2745
|
+
kind: "Name",
|
|
2746
|
+
value: "thumbnail"
|
|
2747
|
+
}
|
|
2748
|
+
}
|
|
2749
|
+
]
|
|
2750
|
+
}
|
|
2751
|
+
}]
|
|
2752
|
+
}
|
|
2753
|
+
}]
|
|
2754
|
+
};
|
|
2689
2755
|
const OrderFieldsFragmentDoc = {
|
|
2690
2756
|
kind: "Document",
|
|
2691
2757
|
definitions: [{
|
|
@@ -8333,6 +8399,218 @@ const GetCollectionsDocument = {
|
|
|
8333
8399
|
}
|
|
8334
8400
|
]
|
|
8335
8401
|
};
|
|
8402
|
+
const GetCollectionsHomeDocument = {
|
|
8403
|
+
kind: "Document",
|
|
8404
|
+
definitions: [
|
|
8405
|
+
{
|
|
8406
|
+
kind: "OperationDefinition",
|
|
8407
|
+
operation: "query",
|
|
8408
|
+
name: {
|
|
8409
|
+
kind: "Name",
|
|
8410
|
+
value: "GetCollectionsHome"
|
|
8411
|
+
},
|
|
8412
|
+
variableDefinitions: [{
|
|
8413
|
+
kind: "VariableDefinition",
|
|
8414
|
+
variable: {
|
|
8415
|
+
kind: "Variable",
|
|
8416
|
+
name: {
|
|
8417
|
+
kind: "Name",
|
|
8418
|
+
value: "limit"
|
|
8419
|
+
}
|
|
8420
|
+
},
|
|
8421
|
+
type: {
|
|
8422
|
+
kind: "NamedType",
|
|
8423
|
+
name: {
|
|
8424
|
+
kind: "Name",
|
|
8425
|
+
value: "Int"
|
|
8426
|
+
}
|
|
8427
|
+
}
|
|
8428
|
+
}, {
|
|
8429
|
+
kind: "VariableDefinition",
|
|
8430
|
+
variable: {
|
|
8431
|
+
kind: "Variable",
|
|
8432
|
+
name: {
|
|
8433
|
+
kind: "Name",
|
|
8434
|
+
value: "offset"
|
|
8435
|
+
}
|
|
8436
|
+
},
|
|
8437
|
+
type: {
|
|
8438
|
+
kind: "NamedType",
|
|
8439
|
+
name: {
|
|
8440
|
+
kind: "Name",
|
|
8441
|
+
value: "Int"
|
|
8442
|
+
}
|
|
8443
|
+
}
|
|
8444
|
+
}],
|
|
8445
|
+
selectionSet: {
|
|
8446
|
+
kind: "SelectionSet",
|
|
8447
|
+
selections: [{
|
|
8448
|
+
kind: "Field",
|
|
8449
|
+
name: {
|
|
8450
|
+
kind: "Name",
|
|
8451
|
+
value: "collections"
|
|
8452
|
+
},
|
|
8453
|
+
arguments: [{
|
|
8454
|
+
kind: "Argument",
|
|
8455
|
+
name: {
|
|
8456
|
+
kind: "Name",
|
|
8457
|
+
value: "limit"
|
|
8458
|
+
},
|
|
8459
|
+
value: {
|
|
8460
|
+
kind: "Variable",
|
|
8461
|
+
name: {
|
|
8462
|
+
kind: "Name",
|
|
8463
|
+
value: "limit"
|
|
8464
|
+
}
|
|
8465
|
+
}
|
|
8466
|
+
}, {
|
|
8467
|
+
kind: "Argument",
|
|
8468
|
+
name: {
|
|
8469
|
+
kind: "Name",
|
|
8470
|
+
value: "offset"
|
|
8471
|
+
},
|
|
8472
|
+
value: {
|
|
8473
|
+
kind: "Variable",
|
|
8474
|
+
name: {
|
|
8475
|
+
kind: "Name",
|
|
8476
|
+
value: "offset"
|
|
8477
|
+
}
|
|
8478
|
+
}
|
|
8479
|
+
}],
|
|
8480
|
+
selectionSet: {
|
|
8481
|
+
kind: "SelectionSet",
|
|
8482
|
+
selections: [{
|
|
8483
|
+
kind: "FragmentSpread",
|
|
8484
|
+
name: {
|
|
8485
|
+
kind: "Name",
|
|
8486
|
+
value: "ProductCollection"
|
|
8487
|
+
}
|
|
8488
|
+
}, {
|
|
8489
|
+
kind: "Field",
|
|
8490
|
+
name: {
|
|
8491
|
+
kind: "Name",
|
|
8492
|
+
value: "products"
|
|
8493
|
+
},
|
|
8494
|
+
selectionSet: {
|
|
8495
|
+
kind: "SelectionSet",
|
|
8496
|
+
selections: [{
|
|
8497
|
+
kind: "FragmentSpread",
|
|
8498
|
+
name: {
|
|
8499
|
+
kind: "Name",
|
|
8500
|
+
value: "CollectionProductsHome"
|
|
8501
|
+
}
|
|
8502
|
+
}]
|
|
8503
|
+
}
|
|
8504
|
+
}]
|
|
8505
|
+
}
|
|
8506
|
+
}]
|
|
8507
|
+
}
|
|
8508
|
+
},
|
|
8509
|
+
{
|
|
8510
|
+
kind: "FragmentDefinition",
|
|
8511
|
+
name: {
|
|
8512
|
+
kind: "Name",
|
|
8513
|
+
value: "ProductCollection"
|
|
8514
|
+
},
|
|
8515
|
+
typeCondition: {
|
|
8516
|
+
kind: "NamedType",
|
|
8517
|
+
name: {
|
|
8518
|
+
kind: "Name",
|
|
8519
|
+
value: "Collection"
|
|
8520
|
+
}
|
|
8521
|
+
},
|
|
8522
|
+
selectionSet: {
|
|
8523
|
+
kind: "SelectionSet",
|
|
8524
|
+
selections: [
|
|
8525
|
+
{
|
|
8526
|
+
kind: "Field",
|
|
8527
|
+
name: {
|
|
8528
|
+
kind: "Name",
|
|
8529
|
+
value: "id"
|
|
8530
|
+
}
|
|
8531
|
+
},
|
|
8532
|
+
{
|
|
8533
|
+
kind: "Field",
|
|
8534
|
+
name: {
|
|
8535
|
+
kind: "Name",
|
|
8536
|
+
value: "title"
|
|
8537
|
+
}
|
|
8538
|
+
},
|
|
8539
|
+
{
|
|
8540
|
+
kind: "Field",
|
|
8541
|
+
name: {
|
|
8542
|
+
kind: "Name",
|
|
8543
|
+
value: "handle"
|
|
8544
|
+
}
|
|
8545
|
+
}
|
|
8546
|
+
]
|
|
8547
|
+
}
|
|
8548
|
+
},
|
|
8549
|
+
{
|
|
8550
|
+
kind: "FragmentDefinition",
|
|
8551
|
+
name: {
|
|
8552
|
+
kind: "Name",
|
|
8553
|
+
value: "CollectionProductsHome"
|
|
8554
|
+
},
|
|
8555
|
+
typeCondition: {
|
|
8556
|
+
kind: "NamedType",
|
|
8557
|
+
name: {
|
|
8558
|
+
kind: "Name",
|
|
8559
|
+
value: "ProductList"
|
|
8560
|
+
}
|
|
8561
|
+
},
|
|
8562
|
+
selectionSet: {
|
|
8563
|
+
kind: "SelectionSet",
|
|
8564
|
+
selections: [{
|
|
8565
|
+
kind: "Field",
|
|
8566
|
+
name: {
|
|
8567
|
+
kind: "Name",
|
|
8568
|
+
value: "count"
|
|
8569
|
+
}
|
|
8570
|
+
}, {
|
|
8571
|
+
kind: "Field",
|
|
8572
|
+
name: {
|
|
8573
|
+
kind: "Name",
|
|
8574
|
+
value: "items"
|
|
8575
|
+
},
|
|
8576
|
+
selectionSet: {
|
|
8577
|
+
kind: "SelectionSet",
|
|
8578
|
+
selections: [
|
|
8579
|
+
{
|
|
8580
|
+
kind: "Field",
|
|
8581
|
+
name: {
|
|
8582
|
+
kind: "Name",
|
|
8583
|
+
value: "id"
|
|
8584
|
+
}
|
|
8585
|
+
},
|
|
8586
|
+
{
|
|
8587
|
+
kind: "Field",
|
|
8588
|
+
name: {
|
|
8589
|
+
kind: "Name",
|
|
8590
|
+
value: "title"
|
|
8591
|
+
}
|
|
8592
|
+
},
|
|
8593
|
+
{
|
|
8594
|
+
kind: "Field",
|
|
8595
|
+
name: {
|
|
8596
|
+
kind: "Name",
|
|
8597
|
+
value: "handle"
|
|
8598
|
+
}
|
|
8599
|
+
},
|
|
8600
|
+
{
|
|
8601
|
+
kind: "Field",
|
|
8602
|
+
name: {
|
|
8603
|
+
kind: "Name",
|
|
8604
|
+
value: "thumbnail"
|
|
8605
|
+
}
|
|
8606
|
+
}
|
|
8607
|
+
]
|
|
8608
|
+
}
|
|
8609
|
+
}]
|
|
8610
|
+
}
|
|
8611
|
+
}
|
|
8612
|
+
]
|
|
8613
|
+
};
|
|
8336
8614
|
const GetCustomerDocument = {
|
|
8337
8615
|
kind: "Document",
|
|
8338
8616
|
definitions: [
|
|
@@ -8750,6 +9028,23 @@ const GetFooterDataDocument = {
|
|
|
8750
9028
|
kind: "Name",
|
|
8751
9029
|
value: "handle"
|
|
8752
9030
|
}
|
|
9031
|
+
},
|
|
9032
|
+
{
|
|
9033
|
+
kind: "Field",
|
|
9034
|
+
name: {
|
|
9035
|
+
kind: "Name",
|
|
9036
|
+
value: "products"
|
|
9037
|
+
},
|
|
9038
|
+
selectionSet: {
|
|
9039
|
+
kind: "SelectionSet",
|
|
9040
|
+
selections: [{
|
|
9041
|
+
kind: "Field",
|
|
9042
|
+
name: {
|
|
9043
|
+
kind: "Name",
|
|
9044
|
+
value: "count"
|
|
9045
|
+
}
|
|
9046
|
+
}]
|
|
9047
|
+
}
|
|
8753
9048
|
}
|
|
8754
9049
|
]
|
|
8755
9050
|
}
|
|
@@ -10969,5 +11264,5 @@ const GetShippingOptionsDocument = {
|
|
|
10969
11264
|
};
|
|
10970
11265
|
|
|
10971
11266
|
//#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, ProductHitFragmentDoc, ProductImageFragmentDoc, ProductVariantFragmentDoc, PromotionFieldsFragmentDoc, RegionFieldsFragmentDoc, SearchSuggestionsDocument, ShippingMethodFieldsFragmentDoc, ShippingOptionFieldsFragmentDoc, TransferCartDocument, UpdateCartDocument };
|
|
11267
|
+
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, ProductHitFragmentDoc, ProductImageFragmentDoc, ProductVariantFragmentDoc, PromotionFieldsFragmentDoc, RegionFieldsFragmentDoc, SearchSuggestionsDocument, ShippingMethodFieldsFragmentDoc, ShippingOptionFieldsFragmentDoc, TransferCartDocument, UpdateCartDocument };
|
|
10973
11268
|
//# sourceMappingURL=graphql.js.map
|