@spartacus/schematics
Version:
Spartacus schematics
38 lines • 1.24 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AUTH_SERVICE_CONSTRUCTOR_MIGRATION = void 0;
const constants_1 = require("../../../../shared/constants");
exports.AUTH_SERVICE_CONSTRUCTOR_MIGRATION = {
// projects/core/src/auth/facade/auth.service.ts
class: constants_1.AUTH_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
deprecatedParams: [
{
className: constants_1.STORE,
importPath: constants_1.NGRX_STORE,
},
],
addParams: [
{
className: constants_1.USER_ID_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
{
className: constants_1.OAUTH_LIB_WRAPPER_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
{
className: constants_1.AUTH_STORAGE_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
{
className: constants_1.AUTH_REDIRECT_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
{
className: constants_1.ROUTING_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
],
};
//# sourceMappingURL=auth.service.migration.js.map