// Copyright (c) 2009-2026 SAP SE, All Rights Reserved

/**
 * @fileoverview AppType object.
 * @deprecated since 1.94. Please use {@link sap.ushell.library.AppType} instead.
 */
sap.ui.define([
    "sap/ushell/library",
    "sap/ushell/utils/AppType",
    "sap/ushell/utils/DeprecationLog"
], (library, AppTypeUtils, DeprecationLog) => {
    "use strict";

    DeprecationLog.logModuleDeprecation({
        module: "sap.ushell.services.AppType",
        since: "1.94",
        successor: "sap.ushell.AppType"
    });

    /**
     * AppType object.
     * Enumeration for application types.
     * Used by the AppConfiguration service in order to add activities of certain types.
     * This enumeration has been moved to the sap.ushell library.
     *
     * @private
     * @deprecated since 1.94. Please use {@link sap.ushell.AppType} instead.
     */
    const oAppType = JSON.parse(JSON.stringify(library.AppType));

    oAppType.getDisplayName = AppTypeUtils.getDisplayName;

    return oAppType;
});
