@spartacus/schematics
Version:
Spartacus schematics
38 lines • 1.25 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CDC_AUTH_SERVICE_CONSTRUCTOR_MIGRATION = void 0;
const constants_1 = require("../../../../shared/constants");
exports.CDC_AUTH_SERVICE_CONSTRUCTOR_MIGRATION = {
// integration-libs/cdc/src/auth/facade/cdc-auth.service.ts
class: constants_1.CDC_AUTH_SERVICE,
importPath: constants_1.SPARTACUS_CDC,
deprecatedParams: [
{
className: constants_1.STORE,
importPath: constants_1.NGRX_STORE,
},
{
className: constants_1.WINDOW_REF,
importPath: constants_1.SPARTACUS_CORE,
},
],
addParams: [
{
className: constants_1.AUTH_STORAGE_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
{
className: constants_1.USER_ID_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
{
className: constants_1.GLOBAL_MESSAGE_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
{
className: constants_1.AUTH_REDIRECT_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
],
};
//# sourceMappingURL=cdc-auth.service.migration.js.map