@spartacus/schematics
Version:
Spartacus schematics
20 lines • 1.13 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.BREAKPOINT_SERVICE_MIGRATION = void 0;
const constants_1 = require("../../../../shared/constants");
// projects/storefrontlib/layout/breakpoint/breakpoint.service.ts
exports.BREAKPOINT_SERVICE_MIGRATION = [
{
class: constants_1.BREAKPOINT_SERVICE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
deprecatedNode: constants_1.GET_WINDOW,
comment: `// ${constants_1.TODO_SPARTACUS} Getter method of property '${constants_1.GET_WINDOW}' was removed from '${constants_1.BREAKPOINT_SERVICE}'. Instead use '${constants_1.WINDOW_REF}' directly.`,
},
{
class: constants_1.BREAKPOINT_SERVICE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
deprecatedNode: constants_1.GET_CLOSEST,
comment: `// ${constants_1.TODO_SPARTACUS} Method '${constants_1.GET_CLOSEST}' was removed from '${constants_1.BREAKPOINT_SERVICE}'. Instead use the method '${constants_1.GET_BREAKPOINT}' in '${constants_1.BREAKPOINT_SERVICE}'.`,
},
];
//# sourceMappingURL=breakpoint.service.migration.js.map