UNPKG

@spartacus/schematics

Version:
39 lines 2.12 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PAGE_META_SERVICE_MIGRATION = exports.CONTENT_PAGE_META_RESOLVER_MIGRATION = void 0; const constants_1 = require("../../../../shared/constants"); exports.CONTENT_PAGE_META_RESOLVER_MIGRATION = [ { class: constants_1.CONTENT_PAGE_META_RESOLVER, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: `homeBreadcrumb$`, comment: `// ${constants_1.TODO_SPARTACUS} '${constants_1.CONTENT_PAGE_META_RESOLVER}.homeBreadcrumb$' property was removed since the breadcrumb is resolved by the 'BasePageMetaResolver'.`, }, { class: constants_1.CONTENT_PAGE_META_RESOLVER, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: `breadcrumbs$`, comment: `// ${constants_1.TODO_SPARTACUS} '${constants_1.CONTENT_PAGE_META_RESOLVER}.breadcrumbs$' property was removed since the breadcrumb is resolved by the 'BasePageMetaResolver'.`, }, { class: constants_1.CONTENT_PAGE_META_RESOLVER, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: `title$`, comment: `// ${constants_1.TODO_SPARTACUS} '${constants_1.CONTENT_PAGE_META_RESOLVER}.title$' property was removed since the title is resolved by the 'BasePageMetaResolver'.`, }, { class: constants_1.CONTENT_PAGE_META_RESOLVER, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: `cms$`, comment: `// ${constants_1.TODO_SPARTACUS} '${constants_1.CONTENT_PAGE_META_RESOLVER}.cms$' property was removed since the cms content is resolved by the 'BasePageMetaResolver'.`, }, ]; exports.PAGE_META_SERVICE_MIGRATION = [ { class: constants_1.PAGE_META_SERVICE, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: `resolverMethods`, comment: `// ${constants_1.TODO_SPARTACUS} '${constants_1.PAGE_META_SERVICE}.resolverMethods' property was changed to 'resolvers$' since the resolvers are read from the configuration stream.`, }, ]; //# sourceMappingURL=content-page-meta.resolver.migration.js.map