@spartacus/schematics
Version:
Spartacus schematics
14 lines • 897 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.OCC_CMS_COMPONENT_ADAPTER_MIGRATION = void 0;
const constants_1 = require("../../../../shared/constants");
// projects/core/src/occ/adapters/cms/occ-cms-component.adapter.ts
exports.OCC_CMS_COMPONENT_ADAPTER_MIGRATION = [
{
class: constants_1.OCC_CMS_COMPONENT_ADAPTER,
importPath: constants_1.SPARTACUS_CORE,
deprecatedNode: 'findComponentsByIdsLegacy',
comment: `// ${constants_1.TODO_SPARTACUS} Method '${constants_1.FIND_COMPONENTS_BY_IDS_LEGACY}' was removed from '${constants_1.OCC_CMS_COMPONENT_ADAPTER}'. This method was used to adapt legacy versions of the OCC CMS component API, where a POST was required. We've moved the legacy implementation to an optional 'LegacyOccCmsComponentAdapter'.`,
},
];
//# sourceMappingURL=occ-cms-component.adapter.migration.js.map