@spartacus/schematics
Version:
Spartacus schematics
25 lines • 1.27 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ASM_SELECTORS_MIGRATION = void 0;
const constants_1 = require("../../../../shared/constants");
exports.ASM_SELECTORS_MIGRATION = [
{
class: constants_1.ASM_SELECTORS,
importPath: constants_1.SPARTACUS_CORE,
deprecatedNode: constants_1.GET_CUSTOMER_AGENT_TOKEN,
comment: `// ${constants_1.TODO_SPARTACUS} To get token use 'AuthStorageService.getToken' and 'AsmAuthStorageService.getTokenTarget' to check if it belongs to CS agent.`,
},
{
class: constants_1.ASM_SELECTORS,
importPath: constants_1.SPARTACUS_CORE,
deprecatedNode: constants_1.GET_CUSTOMER_AGENT_TOKEN_STATE,
comment: `// ${constants_1.TODO_SPARTACUS} To get token use 'AuthStorageService.getToken' and 'AsmAuthStorageService.getTokenTarget' to check if it belongs to CS agent.`,
},
{
class: constants_1.ASM_SELECTORS,
importPath: constants_1.SPARTACUS_CORE,
deprecatedNode: constants_1.GET_CUSTOMER_AGENT_TOKEN_LOADING,
comment: `// ${constants_1.TODO_SPARTACUS} Currently there isn't replacement for this selector in core spartacus.`,
},
];
//# sourceMappingURL=asm-group.selectors.migration.js.map