@spartacus/schematics
Version:
Spartacus schematics
34 lines • 1.6 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CONFIGURATOR_CART_SERVICE_MIGRATION = void 0;
const constants_1 = require("../../../../shared/constants");
exports.CONFIGURATOR_CART_SERVICE_MIGRATION = {
// feature-libs/product-configurator/rulebased/core/facade/configurator-cart.service.ts
class: constants_1.CONFIGURATOR_CART_SERVICE,
importPath: constants_1.SPARTACUS_PRODUCT_CONFIGURATOR_RULEBASED,
deprecatedParams: [
{ className: constants_1.STORE, importPath: constants_1.NGRX_STORE },
{ className: constants_1.STORE, importPath: constants_1.NGRX_STORE },
{ className: constants_1.ACTIVE_CART_SERVICE, importPath: constants_1.SPARTACUS_CORE },
{
className: constants_1.COMMON_CONFIGURATOR_UTILS_SERVICE,
importPath: constants_1.SPARTACUS_PRODUCT_CONFIGURATOR_COMMON,
},
{ className: constants_1.CHECKOUT_FACADE, importPath: constants_1.SPARTACUS_CHECKOUT_ROOT },
{ className: constants_1.USER_ID_SERVICE, importPath: constants_1.SPARTACUS_CORE },
],
// we omit the path for the following class because we don't want to have the respective
// import deleted. Another constructor parameter is pointing to it
removeParams: [
{
className: constants_1.STORE,
},
],
addParams: [
{
className: constants_1.CONFIGURATOR_UTILS_SERVICE,
importPath: constants_1.SPARTACUS_PRODUCT_CONFIGURATOR_RULEBASED,
},
],
};
//# sourceMappingURL=configurator-cart.service.migration.js.map