@spartacus/schematics
Version:
Spartacus schematics
15 lines • 719 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CHECKOUT_AUTH_GUARD_MIGRATION = void 0;
const constants_1 = require("../../../../shared/constants");
// projects/storefrontlib/cms-components/checkout/guards/checkout-auth.guard.ts
exports.CHECKOUT_AUTH_GUARD_MIGRATION = [
{
class: constants_1.CHECKOUT_AUTH_GUARD,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
deprecatedNode: constants_1.CAN_ACTIVATE,
newNode: constants_1.CAN_ACTIVATE,
comment: `// ${constants_1.TODO_SPARTACUS} Method '${constants_1.CAN_ACTIVATE}' now returns type 'Observable<boolean | UrlTree>'.`,
},
];
//# sourceMappingURL=checkout-auth.guard.migration.js.map