@spartacus/schematics
Version:
Spartacus schematics
22 lines • 1.09 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PAGE_META_SERVICE_MIGRATION = void 0;
const constants_1 = require("../../../../shared/constants");
// projects/core/src/cms/facade/page-meta.service.ts
exports.PAGE_META_SERVICE_MIGRATION = [
{
class: constants_1.PAGE_META_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
deprecatedNode: constants_1.GET_META,
newNode: constants_1.GET_META,
comment: `// ${constants_1.TODO_SPARTACUS} Method ${constants_1.GET_META} return type has been changed from 'Observable<PageMeta>' to 'Observable<PageMeta | null>'.`,
},
{
class: constants_1.PAGE_META_SERVICE,
importPath: constants_1.SPARTACUS_CORE,
deprecatedNode: constants_1.GET_META_RESOLVER,
newNode: constants_1.GET_META_RESOLVER,
comment: `// ${constants_1.TODO_SPARTACUS} Method ${constants_1.GET_META_RESOLVER} return type has been changed from 'PageMetaResolver' to 'Observable<PageMetaResolver>'.`,
},
];
//# sourceMappingURL=page-meta.service.migration.js.map