@spartacus/schematics
Version:
Spartacus schematics
20 lines • 1.05 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.STAR_RATING_COMPONENT_MIGRATION = void 0;
const constants_1 = require("../../../../shared/constants");
// projects\storefrontlib\src\shared\components\star-rating\star-rating.component.ts
exports.STAR_RATING_COMPONENT_MIGRATION = [
{
class: constants_1.STAR_RATING_COMPONENT,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
deprecatedNode: constants_1.NG_ON_INIT,
comment: `// ${constants_1.TODO_SPARTACUS} Method '${constants_1.NG_ON_INIT}' is no longer called inside the '${constants_1.STAR_RATING_COMPONENT}'`,
},
{
class: constants_1.STAR_RATING_COMPONENT,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
deprecatedNode: constants_1.SET_RATE_ON_EVENT,
comment: `// ${constants_1.TODO_SPARTACUS} Method '${constants_1.SET_RATE_ON_EVENT}' is no longer used, the '${constants_1.SET_RATE}' method is used instead`,
},
];
//# sourceMappingURL=star-rating-component.migration.js.map