@spartacus/schematics
Version:
Spartacus schematics
21 lines • 1.05 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CMS_COMPONENTS_SERVICE_MIGRATION = void 0;
const constants_1 = require("../../../../shared/constants");
// projects\storefrontlib\src\cms-structure\services\cms-components.service.ts
exports.CMS_COMPONENTS_SERVICE_MIGRATION = [
{
class: constants_1.CMS_COMPONENTS_SERVICE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
deprecatedNode: constants_1.GET_CHILD_ROUTES,
newNode: constants_1.GET_CHILD_ROUTES,
comment: `// ${constants_1.TODO_SPARTACUS} Method '${constants_1.GET_CHILD_ROUTES}' changed the return type from 'Route[]' to 'CmsComponentChildRoutesConfig'`,
},
{
class: constants_1.CMS_COMPONENTS_SERVICE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
deprecatedNode: constants_1.GET_INJECTORS,
comment: `// ${constants_1.TODO_SPARTACUS} Method '${constants_1.GET_INJECTORS}' has been removed'`,
},
];
//# sourceMappingURL=cms-components.service.migration.js.map