@retaila/shared-types 1.1.109 → 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 +400 -4
- package/dist/index.d.ts +400 -4
- package/dist/index.js +32 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +28 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -804,6 +804,23 @@ function getFulfillmentStatusInfo(status) {
|
|
|
804
804
|
return map[status] ?? { text: String(status), class: "secondary" };
|
|
805
805
|
}
|
|
806
806
|
|
|
807
|
+
// src/storeCustomization/types.ts
|
|
808
|
+
var NavigationItemType = /* @__PURE__ */ ((NavigationItemType2) => {
|
|
809
|
+
NavigationItemType2["HOME"] = "HOME";
|
|
810
|
+
NavigationItemType2["CATALOG"] = "CATALOG";
|
|
811
|
+
NavigationItemType2["CATEGORY"] = "CATEGORY";
|
|
812
|
+
NavigationItemType2["COLLECTION"] = "COLLECTION";
|
|
813
|
+
NavigationItemType2["PAGE"] = "PAGE";
|
|
814
|
+
NavigationItemType2["CUSTOM"] = "CUSTOM";
|
|
815
|
+
return NavigationItemType2;
|
|
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
|
+
}
|
|
823
|
+
|
|
807
824
|
// src/geoZone/types.ts
|
|
808
825
|
var GeoZoneStatus = /* @__PURE__ */ ((GeoZoneStatus2) => {
|
|
809
826
|
GeoZoneStatus2["ACTIVE"] = "ACTIVE";
|
|
@@ -895,6 +912,13 @@ var FunnelStep = /* @__PURE__ */ ((FunnelStep2) => {
|
|
|
895
912
|
FunnelStep2["PURCHASE"] = "purchase";
|
|
896
913
|
return FunnelStep2;
|
|
897
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 || {});
|
|
898
922
|
export {
|
|
899
923
|
AccountBranchScheduleDay,
|
|
900
924
|
AccountBranchScheduleStatus,
|
|
@@ -939,7 +963,9 @@ export {
|
|
|
939
963
|
IntegrationCategory,
|
|
940
964
|
IntegrationDeliveryZoneStatus,
|
|
941
965
|
IntegrationStatus,
|
|
966
|
+
InternalNotificationType,
|
|
942
967
|
MediaType,
|
|
968
|
+
NavigationItemType,
|
|
943
969
|
OrderDeliveryType,
|
|
944
970
|
OrderPaymentStatus,
|
|
945
971
|
OrderSource,
|
|
@@ -984,6 +1010,8 @@ export {
|
|
|
984
1010
|
getPaymentCardBrand,
|
|
985
1011
|
getPaymentStatusInfo,
|
|
986
1012
|
getProductStatusInfo,
|
|
1013
|
+
isLegacyLayout,
|
|
1014
|
+
isZonedLayout,
|
|
987
1015
|
parsePriceFormatPattern
|
|
988
1016
|
};
|
|
989
1017
|
//# sourceMappingURL=index.mjs.map
|