UNPKG

@spartacus/schematics

Version:
157 lines 7.49 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AUTH_ACTIONS_MIGRATION = void 0; const constants_1 = require("../../../../shared/constants"); exports.AUTH_ACTIONS_MIGRATION = [ { class: constants_1.AUTH_ACTIONS, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: constants_1.LOAD_CLIENT_TOKEN, comment: `// ${constants_1.TODO_SPARTACUS} Variable available under 'ClientAuthActions' namespace.`, }, { class: constants_1.AUTH_ACTIONS, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: constants_1.LOAD_CLIENT_TOKEN_FAIL, comment: `// ${constants_1.TODO_SPARTACUS} Variable available under 'ClientAuthActions' namespace.`, }, { class: constants_1.AUTH_ACTIONS, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: constants_1.LOAD_CLIENT_TOKEN_SUCCESS, comment: `// ${constants_1.TODO_SPARTACUS} Variable available under 'ClientAuthActions' namespace.`, }, { class: constants_1.AUTH_ACTIONS, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: constants_1.LOAD_CLIENT_TOKEN_CLASS, comment: `// ${constants_1.TODO_SPARTACUS} Action available under 'ClientAuthActions' namespace.`, }, { class: constants_1.AUTH_ACTIONS, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: constants_1.LOAD_CLIENT_TOKEN_FAIL_CLASS, comment: `// ${constants_1.TODO_SPARTACUS} Action available under 'ClientAuthActions' namespace.`, }, { class: constants_1.AUTH_ACTIONS, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: constants_1.LOAD_CLIENT_TOKEN_SUCCESS_CLASS, comment: `// ${constants_1.TODO_SPARTACUS} Action available under 'ClientAuthActions' namespace.`, }, { class: constants_1.AUTH_ACTIONS, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: constants_1.LOGOUT_CUSTOMER_SUPPORT_AGENT, comment: `// ${constants_1.TODO_SPARTACUS} Variable available under 'AsmActions' namespace.`, }, { class: constants_1.AUTH_ACTIONS, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: constants_1.LOAD_USER_TOKEN, comment: `// ${constants_1.TODO_SPARTACUS} Action removed. Look for replacement in 'AuthService' and 'OAuthLibWrapperService'.`, }, { class: constants_1.AUTH_ACTIONS, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: constants_1.LOAD_USER_TOKEN_CLASS, comment: `// ${constants_1.TODO_SPARTACUS} Action removed. Look for replacement in 'AuthService' and 'OAuthLibWrapperService'.`, }, { class: constants_1.AUTH_ACTIONS, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: constants_1.LOAD_USER_TOKEN_FAIL, comment: `// ${constants_1.TODO_SPARTACUS} Action removed. Look for replacement in 'AuthService' and 'OAuthLibWrapperService'.`, }, { class: constants_1.AUTH_ACTIONS, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: constants_1.LOAD_USER_TOKEN_FAIL_CLASS, comment: `// ${constants_1.TODO_SPARTACUS} Action removed. Look for replacement in 'AuthService' and 'OAuthLibWrapperService'.`, }, { class: constants_1.AUTH_ACTIONS, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: constants_1.LOAD_USER_TOKEN_SUCCESS, comment: `// ${constants_1.TODO_SPARTACUS} Action removed. Look for replacement in 'AuthService' and 'OAuthLibWrapperService'.`, }, { class: constants_1.AUTH_ACTIONS, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: constants_1.LOAD_USER_TOKEN_SUCCESS_CLASS, comment: `// ${constants_1.TODO_SPARTACUS} Action removed. Look for replacement in 'AuthService' and 'OAuthLibWrapperService'.`, }, { class: constants_1.AUTH_ACTIONS, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: constants_1.REFRESH_USER_TOKEN, comment: `// ${constants_1.TODO_SPARTACUS} Action removed. Look for replacement in 'OAuthLibWrapperService'.`, }, { class: constants_1.AUTH_ACTIONS, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: constants_1.REFRESH_USER_TOKEN_CLASS, comment: `// ${constants_1.TODO_SPARTACUS} Action removed. Look for replacement in 'OAuthLibWrapperService'.`, }, { class: constants_1.AUTH_ACTIONS, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: constants_1.REFRESH_USER_TOKEN_FAIL, comment: `// ${constants_1.TODO_SPARTACUS} Action removed. Look for replacement in 'OAuthLibWrapperService'.`, }, { class: constants_1.AUTH_ACTIONS, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: constants_1.REFRESH_USER_TOKEN_FAIL_CLASS, comment: `// ${constants_1.TODO_SPARTACUS} Action removed. Look for replacement in 'OAuthLibWrapperService'.`, }, { class: constants_1.AUTH_ACTIONS, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: constants_1.REFRESH_USER_TOKEN_SUCCESS, comment: `// ${constants_1.TODO_SPARTACUS} Action removed. Look for replacement in 'OAuthLibWrapperService'.`, }, { class: constants_1.AUTH_ACTIONS, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: constants_1.REFRESH_USER_TOKEN_SUCCESS_CLASS, comment: `// ${constants_1.TODO_SPARTACUS} Action removed. Look for replacement in 'OAuthLibWrapperService'.`, }, { class: constants_1.AUTH_ACTIONS, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: constants_1.REVOKE_USER_TOKEN, comment: `// ${constants_1.TODO_SPARTACUS} Action removed. Look for replacement in 'AuthService' and 'OAuthLibWrapperService'.`, }, { class: constants_1.AUTH_ACTIONS, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: constants_1.REVOKE_USER_TOKEN_CLASS, comment: `// ${constants_1.TODO_SPARTACUS} Action removed. Look for replacement in 'AuthService' and 'OAuthLibWrapperService'.`, }, { class: constants_1.AUTH_ACTIONS, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: constants_1.REVOKE_USER_TOKEN_FAIL, comment: `// ${constants_1.TODO_SPARTACUS} Action removed. Look for replacement in 'AuthService' and 'OAuthLibWrapperService'.`, }, { class: constants_1.AUTH_ACTIONS, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: constants_1.REVOKE_USER_TOKEN_FAIL_CLASS, comment: `// ${constants_1.TODO_SPARTACUS} Action removed. Look for replacement in 'AuthService' and 'OAuthLibWrapperService'.`, }, { class: constants_1.AUTH_ACTIONS, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: constants_1.REVOKE_USER_TOKEN_SUCCESS, comment: `// ${constants_1.TODO_SPARTACUS} Action removed. Look for replacement in 'AuthService' and 'OAuthLibWrapperService'.`, }, { class: constants_1.AUTH_ACTIONS, importPath: constants_1.SPARTACUS_CORE, deprecatedNode: constants_1.REVOKE_USER_TOKEN_SUCCESS_CLASS, comment: `// ${constants_1.TODO_SPARTACUS} Action removed. Look for replacement in 'AuthService' and 'OAuthLibWrapperService'.`, }, ]; //# sourceMappingURL=auth-group.actions.migration.js.map