@spartacus/schematics
Version:
Spartacus schematics
50 lines • 2.64 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CART_ITEM_LIST_COMPONENT_MIGRATIONS = void 0;
const constants_1 = require("../../../../shared/constants");
exports.CART_ITEM_LIST_COMPONENT_MIGRATIONS = [
// projects/storefrontlib/cms-components/cart/cart-shared/cart-item-list/cart-item-list.component.ts
{
class: constants_1.CART_ITEM_LIST_COMPONENT,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
deprecatedParams: [
{ className: constants_1.ACTIVE_CART_SERVICE, importPath: constants_1.SPARTACUS_CORE },
{ className: constants_1.SELECTIVE_CART_SERVICE, importPath: constants_1.SPARTACUS_CORE },
],
addParams: [
{ className: constants_1.USER_ID_SERVICE, importPath: constants_1.SPARTACUS_CORE },
{ className: constants_1.MULTI_CART_SERVICE, importPath: constants_1.SPARTACUS_CORE },
],
},
{
class: constants_1.CART_ITEM_LIST_COMPONENT,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
deprecatedParams: [
{ className: constants_1.ACTIVE_CART_SERVICE, importPath: constants_1.SPARTACUS_CORE },
{ className: constants_1.SELECTIVE_CART_SERVICE, importPath: constants_1.SPARTACUS_CORE },
{ className: constants_1.FEATURE_CONFIG_SERVICE, importPath: constants_1.SPARTACUS_CORE },
],
removeParams: [
{ className: constants_1.FEATURE_CONFIG_SERVICE, importPath: constants_1.SPARTACUS_CORE },
],
addParams: [
{ className: constants_1.USER_ID_SERVICE, importPath: constants_1.SPARTACUS_CORE },
{ className: constants_1.MULTI_CART_SERVICE, importPath: constants_1.SPARTACUS_CORE },
],
},
{
class: constants_1.CART_ITEM_LIST_COMPONENT,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
deprecatedParams: [
{ className: constants_1.ACTIVE_CART_SERVICE, importPath: constants_1.SPARTACUS_CORE },
{ className: constants_1.SELECTIVE_CART_SERVICE, importPath: constants_1.SPARTACUS_CORE },
{ className: constants_1.FEATURE_CONFIG_SERVICE, importPath: constants_1.SPARTACUS_CORE },
{ className: constants_1.USER_ID_SERVICE, importPath: constants_1.SPARTACUS_CORE },
{ className: constants_1.MULTI_CART_SERVICE, importPath: constants_1.SPARTACUS_CORE },
],
removeParams: [
{ className: constants_1.FEATURE_CONFIG_SERVICE, importPath: constants_1.SPARTACUS_CORE },
],
},
];
//# sourceMappingURL=cart-item-list.component.migration.js.map