@retaila/shared-types 1.1.110 → 1.1.111
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/index.d.mts +373 -4
- package/dist/index.d.ts +373 -4
- package/dist/index.js +19 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -814,6 +814,12 @@ var NavigationItemType = /* @__PURE__ */ ((NavigationItemType2) => {
|
|
|
814
814
|
NavigationItemType2["CUSTOM"] = "CUSTOM";
|
|
815
815
|
return NavigationItemType2;
|
|
816
816
|
})(NavigationItemType || {});
|
|
817
|
+
function isLegacyLayout(layout) {
|
|
818
|
+
return "components" in layout && Array.isArray(layout.components);
|
|
819
|
+
}
|
|
820
|
+
function isZonedLayout(layout) {
|
|
821
|
+
return "headerZone" in layout && "footerZone" in layout;
|
|
822
|
+
}
|
|
817
823
|
|
|
818
824
|
// src/geoZone/types.ts
|
|
819
825
|
var GeoZoneStatus = /* @__PURE__ */ ((GeoZoneStatus2) => {
|
|
@@ -906,6 +912,13 @@ var FunnelStep = /* @__PURE__ */ ((FunnelStep2) => {
|
|
|
906
912
|
FunnelStep2["PURCHASE"] = "purchase";
|
|
907
913
|
return FunnelStep2;
|
|
908
914
|
})(FunnelStep || {});
|
|
915
|
+
|
|
916
|
+
// src/notificationSettings.ts
|
|
917
|
+
var InternalNotificationType = /* @__PURE__ */ ((InternalNotificationType2) => {
|
|
918
|
+
InternalNotificationType2["ORDER_PLACED_SELLER"] = "ORDER_PLACED_SELLER";
|
|
919
|
+
InternalNotificationType2["CONTACT_FORM_SUBMITTED"] = "CONTACT_FORM_SUBMITTED";
|
|
920
|
+
return InternalNotificationType2;
|
|
921
|
+
})(InternalNotificationType || {});
|
|
909
922
|
export {
|
|
910
923
|
AccountBranchScheduleDay,
|
|
911
924
|
AccountBranchScheduleStatus,
|
|
@@ -950,6 +963,7 @@ export {
|
|
|
950
963
|
IntegrationCategory,
|
|
951
964
|
IntegrationDeliveryZoneStatus,
|
|
952
965
|
IntegrationStatus,
|
|
966
|
+
InternalNotificationType,
|
|
953
967
|
MediaType,
|
|
954
968
|
NavigationItemType,
|
|
955
969
|
OrderDeliveryType,
|
|
@@ -996,6 +1010,8 @@ export {
|
|
|
996
1010
|
getPaymentCardBrand,
|
|
997
1011
|
getPaymentStatusInfo,
|
|
998
1012
|
getProductStatusInfo,
|
|
1013
|
+
isLegacyLayout,
|
|
1014
|
+
isZonedLayout,
|
|
999
1015
|
parsePriceFormatPattern
|
|
1000
1016
|
};
|
|
1001
1017
|
//# sourceMappingURL=index.mjs.map
|