@spartacus/schematics
Version:
Spartacus schematics
95 lines • 7.47 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.migrate = exports.METHOD_PROPERTY_DATA = void 0;
const methods_and_properties_deprecations_1 = require("../../mechanism/methods-and-properties-deprecations/methods-and-properties-deprecations");
const anonymous_consent_templates_adapter_migration_1 = require("./data/anonymous-consent-templates.adapter.migration");
const anonymous_consent_templates_connector_migration_1 = require("./data/anonymous-consent-templates.connector.migration");
const asm_auth_service_migration_1 = require("./data/asm-auth.service.migration");
const asm_group_actions_migration_1 = require("./data/asm-group.actions.migration");
const asm_group_selectors_migration_1 = require("./data/asm-group.selectors.migration");
const auth_group_actions_migration_1 = require("./data/auth-group.actions.migration");
const auth_guard_migration_1 = require("./data/auth.guard.migration");
const auth_service_migration_1 = require("./data/auth.service.migration");
const base_site_service_migration_1 = require("./data/base-site.service.migration");
const breakpoint_service_migration_1 = require("./data/breakpoint.service.migration");
const cart_not_empty_guard_migration_1 = require("./data/cart-not-empty.guard.migration");
const cdc_auth_service_migration_1 = require("./data/cdc-auth.service.migration");
const checkout_auth_guard_migration_1 = require("./data/checkout-auth.guard.migration");
const checkout_config_service_migration_1 = require("./data/checkout-config.service.migration");
const checkout_group_actions_migration_1 = require("./data/checkout-group.actions.migration");
const checkout_adapter_migration_1 = require("./data/checkout.adapter.migration");
const checkout_connector_migration_1 = require("./data/checkout.connector.migration");
const checkout_service_migration_1 = require("./data/checkout.service.migration");
const cms_components_service_migration_1 = require("./data/cms-components.service.migration");
const currency_service_migration_1 = require("./data/currency.service.migration");
const feature_modules_service_migration_1 = require("./data/feature-modules.service.migration");
const item_counter_component_migration_1 = require("./data/item-counter.component.migration");
const language_service_migration_1 = require("./data/language.service.migration");
const login_form_component_migration_1 = require("./data/login-form.component.migration");
const logout_guard_migration_1 = require("./data/logout.guard.migration");
const multi_cart_state_persistence_service_migration_1 = require("./data/multi-cart-state-persistence.service.migration");
const not_auth_guard_migration_1 = require("./data/not-auth.guard.migration");
const not_checkout_auth_guard_migration_1 = require("./data/not-checkout-auth.guard.migration");
const occ_checkout_adapter_migration_1 = require("./data/occ-checkout.adapter.migration");
const occ_cms_component_adapter_migration_1 = require("./data/occ-cms-component.adapter.migration");
const order_confirmation_overview_component_migration_1 = require("./data/order-confirmation-overview.component.migration");
const order_detail_shipping_component_migration_1 = require("./data/order-detail-shipping.component.migration");
const page_meta_service_migration_1 = require("./data/page-meta.service.migration");
const product_carousel_service_migration_1 = require("./data/product-carousel.service.migration");
const product_list_component_service_migration_1 = require("./data/product-list-component.service.migration");
const product_reference_service_migration_1 = require("./data/product-reference.service.migration");
const protected_routes_guard_migration_1 = require("./data/protected-routes.guard.migration");
const star_rating_component_migration_1 = require("./data/star-rating-component.migration");
const store_finder_group_actions_migration_1 = require("./data/store-finder-group.actions.migration");
const storefront_component_migration_1 = require("./data/storefront-component.migration");
const update_email_component_migration_1 = require("./data/update-email.component.migration");
exports.METHOD_PROPERTY_DATA = [
...checkout_connector_migration_1.CHECKOUT_CONNECTOR_MIGRATION,
...checkout_adapter_migration_1.CHECKOUT_ADAPTER_MIGRATION,
...checkout_service_migration_1.CHECKOUT_SERVICE_MIGRATION,
...cms_components_service_migration_1.CMS_COMPONENTS_SERVICE_MIGRATION,
...occ_checkout_adapter_migration_1.OCC_CHECKOUT_ADAPTER_MIGRATION,
...product_list_component_service_migration_1.PRODUCT_LIST_COMPONENT_SERVICE_MIGRATION,
...checkout_group_actions_migration_1.CHECKOUT_GROUP_ACTIONS_MIGRATION,
...checkout_config_service_migration_1.CHECKOUT_CONFIG_SERVICE_MIGRATION,
...checkout_auth_guard_migration_1.CHECKOUT_AUTH_GUARD_MIGRATION,
...protected_routes_guard_migration_1.PROTECTED_ROUTES_GUARD_MIGRATION,
...breakpoint_service_migration_1.BREAKPOINT_SERVICE_MIGRATION,
...login_form_component_migration_1.LOGIN_FORM_COMPONENT_MIGRATION,
...item_counter_component_migration_1.ITEM_COUNTER_COMPONENT_MIGRATION,
...store_finder_group_actions_migration_1.STORE_FINDER_ACTIONS_MIGRATION,
...update_email_component_migration_1.UPDATE_EMAIL_COMPONENT_MIGRATION,
...base_site_service_migration_1.BASE_SITE_SERVICE_MIGRATION,
...cart_not_empty_guard_migration_1.CART_NOT_EMPTY_GUARD_MIGRATION,
...not_checkout_auth_guard_migration_1.NOT_CHECKOUT_AUTH_GUARD_MIGRATION,
...logout_guard_migration_1.LOGOUT_GUARD_MIGRATION,
...order_confirmation_overview_component_migration_1.ORDER_CONFIRMATION_OVERVIEW_COMPONENT_MIGRATION,
...order_detail_shipping_component_migration_1.ORDER_DETAIL_SHIPPING_COMPONENT_MIGRATION,
...product_carousel_service_migration_1.PRODUCT_CAROUSEL_SERVICE_MIGRATION,
...product_reference_service_migration_1.PRODUCT_REFERENCE_SERVICE_MIGRATION,
...storefront_component_migration_1.STOREFRONT_COMPONENT_MIGRATION,
...multi_cart_state_persistence_service_migration_1.MULTI_CART_STATE_PERSISTENCE_SERVICE_MIGRATION,
...auth_group_actions_migration_1.AUTH_ACTIONS_MIGRATION,
...not_auth_guard_migration_1.NOT_AUTH_GUARD_MIGRATION,
...auth_guard_migration_1.AUTH_GUARD_MIGRATION,
...auth_service_migration_1.AUTH_SERVICE_MIGRATION,
...asm_group_selectors_migration_1.ASM_SELECTORS_MIGRATION,
...asm_group_actions_migration_1.ASM_ACTIONS_MIGRATION,
...asm_auth_service_migration_1.ASM_AUTH_SERVICE_MIGRATION,
...cdc_auth_service_migration_1.CDC_AUTH_SERVICE_MIGRATION,
...language_service_migration_1.LANGUAGE_SERVICE_MIGRATION,
...currency_service_migration_1.CURRENCY_SERVICE_MIGRATION,
...star_rating_component_migration_1.STAR_RATING_COMPONENT_MIGRATION,
...feature_modules_service_migration_1.FEATURE_MODULES_SERVICE_MIGRATION,
...anonymous_consent_templates_adapter_migration_1.ANONYMOUS_CONSENT_TEMPLATES_ADAPTER_MIGRATION,
...anonymous_consent_templates_connector_migration_1.ANONYMOUS_CONSENT_TEMPLATES_CONNECTOR_MIGRATION,
...occ_cms_component_adapter_migration_1.OCC_CMS_COMPONENT_ADAPTER_MIGRATION,
...page_meta_service_migration_1.PAGE_META_SERVICE_MIGRATION,
];
function migrate() {
return (tree, context) => {
return methods_and_properties_deprecations_1.migrateMethodPropertiesDeprecation(tree, context, exports.METHOD_PROPERTY_DATA);
};
}
exports.migrate = migrate;
//# sourceMappingURL=methods-and-properties-deprecations.js.map