@spartacus/schematics
Version:
Spartacus schematics
38 lines • 1.27 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.STORE_FINDER_SERVICE_MIGRATION = void 0;
const constants_1 = require("../../../../shared/constants");
exports.STORE_FINDER_SERVICE_MIGRATION = {
// feature-libs/storefinder/core/facade/store-finder.service.ts
class: constants_1.STORE_FINDER_SERVICE,
importPath: constants_1.SPARTACUS_STOREFINDER,
deprecatedParams: [
{
className: constants_1.STORE,
importPath: constants_1.NGRX_STORE,
},
{
className: constants_1.WINDOW_REF,
importPath: constants_1.SPARTACUS_CORE,
},
{
className: constants_1.GLOBAL_MESSAGE_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
{
className: constants_1.ROUTING_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
},
],
addParams: [
{
className: constants_1.PLATFORM,
literalInference: constants_1.ANY_TYPE,
injectionToken: {
token: constants_1.PLATFORM_ID_STRING,
importPath: constants_1.ANGULAR_CORE,
},
},
],
};
//# sourceMappingURL=store-finder.service.migration.js.map