@spartacus/schematics
Version:
Spartacus schematics
38 lines • 1.34 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PLACE_ORDER_COMPONENT_MIGRATION = void 0;
const constants_1 = require("../../../../shared/constants");
exports.PLACE_ORDER_COMPONENT_MIGRATION = {
// projects/storefrontlib/cms-components/checkout/components/place-order/place-order.component.ts
class: constants_1.PLACE_ORDER_COMPONENT,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
deprecatedParams: [
{
className: constants_1.CHECKOUT_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
{
className: constants_1.ROUTING_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
{
className: constants_1.FORM_BUILDER,
importPath: constants_1.ANGULAR_FORMS,
},
],
addParams: [
{
className: constants_1.CHECKOUT_REPLENISHMENT_FORM_SERVICE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
},
{
className: constants_1.LAUNCH_COMPONENT_SERVICE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
},
{
className: constants_1.VIEW_CONTAINER_REF,
importPath: constants_1.ANGULAR_CORE,
},
],
};
//# sourceMappingURL=place-order.component.migration.js.map