@spartacus/schematics
Version:
Spartacus schematics
52 lines • 1.79 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.STOCK_NOTIFICATION_COMPONENT_MIGRATION = void 0;
const constants_1 = require("../../../../shared/constants");
exports.STOCK_NOTIFICATION_COMPONENT_MIGRATION = {
// projects\storefrontlib\src\cms-components\product\stock-notification\stock-notification.component.ts
class: constants_1.STOCK_NOTIFICATION_COMPONENT,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
deprecatedParams: [
{
className: constants_1.AUTH_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
{
className: constants_1.CURRENT_PRODUCT_SERVICE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
},
{
className: constants_1.GLOBAL_MESSAGE_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
{
className: constants_1.TRANSLATION_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
{
className: constants_1.USER_INTERESTS_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
{
className: constants_1.MODAL_SERVICE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
},
{
className: constants_1.USER_NOTIFICATION_PREFERENCE_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=stock-notification.component.migration.js.map