@spartacus/schematics
Version:
Spartacus schematics
48 lines • 1.52 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SELECTIVE_CART_SERVICE_MIGRATION = void 0;
const constants_1 = require("../../../../shared/constants");
exports.SELECTIVE_CART_SERVICE_MIGRATION = {
// projects/core/src/cart/facade/selective-cart.service.ts
class: constants_1.SELECTIVE_CART_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
deprecatedParams: [
{
className: constants_1.STORE,
importPath: constants_1.NGRX_STORE,
},
{
className: constants_1.USER_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
{
className: constants_1.AUTH_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
{
className: constants_1.MULTI_CART_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
{
className: constants_1.BASE_SITE_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
{
className: constants_1.CART_CONFIG_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
],
removeParams: [
{
className: constants_1.AUTH_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
],
addParams: [
{
className: constants_1.USER_ID_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
],
};
//# sourceMappingURL=selective-cart.service.migration.js.map