@spartacus/schematics
Version:
Spartacus schematics
78 lines • 6.49 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 added_to_cart_dialog_component_migration_1 = require("./data/added-to-cart-dialog-component.migration");
const base_site_service_migration_1 = require("./data/base-site.service.migration");
const cart_details_component_migration_1 = require("./data/cart-details-component.migration");
const cart_item_component_migration_1 = require("./data/cart-item-component.migration");
const cart_item_context_source_migration_1 = require("./data/cart-item-context-source.migration");
const cart_item_context_migration_1 = require("./data/cart-item-context.migration");
const config_initializer_service_migration_1 = require("./data/config-initializer.service.migration");
const configurator_attribute_drop_down_component_migration_1 = require("./data/configurator-attribute-drop-down.component.migration");
const configurator_attribute_numeric_input_field_component_migration_1 = require("./data/configurator-attribute-numeric-input-field.component.migration");
const configurator_attribute_radio_button_component_migration_1 = require("./data/configurator-attribute-radio-button.component.migration");
const configurator_group_menu_component_migration_1 = require("./data/configurator-group-menu.component.migration");
const configurator_product_title_component_migration_1 = require("./data/configurator-product-title.component.migration");
const content_page_meta_resolver_migration_1 = require("./data/content-page-meta.resolver.migration");
const currency_service_migration_1 = require("./data/currency.service.migration");
const dynamic_attribute_service_migration_1 = require("./data/dynamic-attribute.service.migration");
const express_checkout_service_migration_1 = require("./data/express-checkout.service.migration");
const language_service_migration_1 = require("./data/language.service.migration");
const occ_endpoint_model_migration_1 = require("./data/occ-endpoint.model.migration");
const occ_endpoints_service_migration_1 = require("./data/occ-endpoints.service.migration");
const order_detail_items_component_migration_1 = require("./data/order-detail-items.component.migration");
const order_overview_component_migration_1 = require("./data/order-overview.component.migration");
const page_event_builder_ts_migration_1 = require("./data/page-event.builder.ts.migration");
const popover_component_migration_1 = require("./data/popover-component.migration");
const popover_directive_migration_1 = require("./data/popover-directive.migration");
const product_list_component_service_migration_1 = require("./data/product-list-component.service.migration");
const product_service_migration_1 = require("./data/product.service.migration");
const routing_service_migration_1 = require("./data/routing.service.migration");
const saved_cart_details_action_component_migration_1 = require("./data/saved-cart-details-action.component.migration");
const saved_cart_list_component_migration_1 = require("./data/saved-cart-list.component.migration");
const selective_cart_service_migration_1 = require("./data/selective-cart.service.migration");
const unit_form_component_migration_1 = require("./data/unit-form.component.migration");
const user_id_service_migration_1 = require("./data/user-id.service.migration");
exports.METHOD_PROPERTY_DATA = [
...language_service_migration_1.LANGUAGE_SERVICE_MIGRATION,
...currency_service_migration_1.CURRENCY_SERVICE_MIGRATION,
...base_site_service_migration_1.BASE_SITE_SERVICE_MIGRATION,
...occ_endpoints_service_migration_1.OCC_ENDPOINTS_SERVICE_MIGRATION,
...content_page_meta_resolver_migration_1.CONTENT_PAGE_META_RESOLVER_MIGRATION,
...content_page_meta_resolver_migration_1.PAGE_META_SERVICE_MIGRATION,
...selective_cart_service_migration_1.SELECTIVE_CART_SERVICE_MIGRATION,
...added_to_cart_dialog_component_migration_1.ADDED_TO_CART_DIALOG_COMPONENT_MIGRATION,
...page_event_builder_ts_migration_1.PAGE_EVENT_MIGRATION,
...cart_item_context_migration_1.CART_ITEM_CONTEXT_MIGRATION,
...cart_item_context_source_migration_1.CART_ITEM_CONTEXT_SOURCE_MIGRATION,
...dynamic_attribute_service_migration_1.DYNAMIC_ATTRIBUTE_SERVICE_MIGRATION,
...configurator_attribute_drop_down_component_migration_1.CONFIGURATOR_ATTRIBUTE_DROP_DOWN_COMPONENT_MIGRATION,
...configurator_attribute_numeric_input_field_component_migration_1.CONFIGURATOR_ATTRIBUTE_NUMERIC_INPUT_FIELD_COMPONENT_MIGRATION,
...configurator_attribute_radio_button_component_migration_1.CONFIGURATOR_ATTRIBUTE_RADIO_BUTTON_COMPONENT_MIGRATION,
...configurator_product_title_component_migration_1.CONFIGURATOR_PRODUCT_TITLE_COMPONENT_MIGRATION,
...cart_details_component_migration_1.CART_DETAILS_COMPONENT_MIGRATION,
...cart_item_component_migration_1.CART_ITEM_COMPONENT_MIGRATION,
...unit_form_component_migration_1.UNIT_FORM_COMPONENT_MIGRATION,
...order_detail_items_component_migration_1.ORDER_DETAIL_ITEMS_COMPONENT_MIGRATION,
...routing_service_migration_1.ROUTING_SERVICE_MIGRATION,
...configurator_group_menu_component_migration_1.CONFIGURATOR_GROUP_MENU_COMPONENT_MIGRATION,
...occ_endpoint_model_migration_1.OCC_ENDPOINTS_MODEL_MIGRATION,
...order_overview_component_migration_1.ORDER_OVERVIEW_COMPONENT_MIGRATION,
...product_list_component_service_migration_1.PRODUCT_LIST_COMPONENT_SERVICE_MIGRATION,
...saved_cart_details_action_component_migration_1.SAVED_CART_DETAILS_ACTION_COMPONENT_MIGRATION,
...saved_cart_list_component_migration_1.SAVED_CART_LIST_COMPONENT_MIGRATION,
...express_checkout_service_migration_1.EXPRESS_CHECKOUT_SERVICE_MIGRATION,
...config_initializer_service_migration_1.CONFIG_INITIALIZER_SERVICE_MIGRATION,
...product_service_migration_1.PRODUCT_SERVICE_MIGRATION,
...user_id_service_migration_1.USER_ID_SERVICE_MIGRATION,
...popover_component_migration_1.POPOVER_COMPONENT_MIGRATION,
...popover_directive_migration_1.POPOVER_DIRECTIVE_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