@spartacus/schematics
Version:
Spartacus schematics
36 lines • 1.13 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CART_VOUCHER_SERVICE_MIGRATION = void 0;
const constants_1 = require("../../../../shared/constants");
exports.CART_VOUCHER_SERVICE_MIGRATION = {
// projects/core/src/cart/facade/cart-voucher.service.ts
class: constants_1.CART_VOUCHER_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
deprecatedParams: [
{
className: constants_1.STORE,
importPath: constants_1.NGRX_STORE,
},
{
className: constants_1.AUTH_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
{
className: constants_1.ACTIVE_CART_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=cart-voucher.service.migration.js.map