@spartacus/schematics
Version:
Spartacus schematics
35 lines • 1.37 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PAGE_SLOT_COMPONENT_MIGRATION = void 0;
const constants_1 = require("../../../../shared/constants");
exports.PAGE_SLOT_COMPONENT_MIGRATION = {
class: constants_1.PAGE_SLOT_COMPONENT,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
deprecatedParams: [
{ className: constants_1.CMS_SERVICE, importPath: constants_1.SPARTACUS_CORE },
{ className: constants_1.DYNAMIC_ATTRIBUTE_SERVICE, importPath: constants_1.SPARTACUS_CORE },
{ className: constants_1.RENDERER_2, importPath: constants_1.ANGULAR_CORE },
{ className: constants_1.ELEMENT_REF, importPath: constants_1.ANGULAR_CORE },
{
className: constants_1.CMS_COMPONENTS_SERVICE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
},
{
className: constants_1.CHANGE_DETECTOR_REF,
importPath: constants_1.ANGULAR_CORE,
},
],
removeParams: [
{
className: constants_1.CMS_COMPONENTS_SERVICE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
},
],
addParams: [
{
className: constants_1.PAGE_SLOT_SERVICE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
},
],
};
//# sourceMappingURL=page-slot.component.migration.js.map