@spartacus/schematics
Version:
Spartacus schematics
32 lines • 1.83 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GUEST_REGISTER_FORM_COMPONENT_MIGRATION = void 0;
const constants_1 = require("./../../../../shared/constants");
const constants_2 = require("../../../../shared/constants");
exports.GUEST_REGISTER_FORM_COMPONENT_MIGRATION = {
// feature-libs/checkout/components/order-confirmation/components/guest-register-form/guest-register-form.component.ts
class: constants_2.GUEST_REGISTER_FORM_COMPONENT,
importPath: constants_1.SPARTACUS_CHECKOUT_COMPONENTS,
deprecatedParams: [
{ className: constants_2.USER_SERVICE, importPath: constants_2.SPARTACUS_CORE },
{ className: constants_1.ROUTING_SERVICE, importPath: constants_2.SPARTACUS_CORE },
{ className: constants_1.AUTH_SERVICE, importPath: constants_2.SPARTACUS_CORE },
{ className: constants_1.FORM_BUILDER, importPath: constants_1.ANGULAR_FORMS },
],
removeParams: [
{ className: constants_2.USER_SERVICE, importPath: constants_2.SPARTACUS_CORE },
{ className: constants_1.ROUTING_SERVICE, importPath: constants_2.SPARTACUS_CORE },
{ className: constants_1.AUTH_SERVICE, importPath: constants_2.SPARTACUS_CORE },
{ className: constants_1.FORM_BUILDER, importPath: constants_1.ANGULAR_FORMS },
],
addParams: [
{
className: constants_2.USER_REGISTER_FACADE,
importPath: constants_2.SPARTACUS_USER_PROFILE_ROOT,
},
{ className: constants_1.ROUTING_SERVICE, importPath: constants_2.SPARTACUS_CORE },
{ className: constants_1.AUTH_SERVICE, importPath: constants_2.SPARTACUS_CORE },
{ className: constants_1.FORM_BUILDER, importPath: constants_1.ANGULAR_FORMS },
],
};
//# sourceMappingURL=guest-register-form.component.migration.js.map