@c8y/options
Package Overview
The @c8y/options
package plays a crucial role in configuring and customizing Cumulocity applications. At the heart of this package lies the ApplicationOptions
interface, which serves as a comprehensive blueprint for defining various aspects of your application. Here's what it offers:
-
Application Metadata: Allows you to specify essential details about your application, such as its name, context path, key, version, description, author, and license.
-
Hybrid App Support: Enables you to indicate whether your application is a hybrid one, utilizing both Angular and AngularJS simultaneously.
-
Branding and Styling: Provides options to customize the look and feel of your application, including paths to branding entry files, custom CSS variables, and favicon URLs.
-
Localization: Supports the addition and override of languages available in the application, as well as the inclusion of custom translations.
-
Documentation and Support: Allows you to configure documentation links, support URLs, and guide templates to assist your application's users.
-
UI Customization: Offers a wide range of options to tailor the user interface, such as hiding the app switcher, header, or powered-by information, enabling breadcrumbs, and adjusting the layout of tabs and navigators.
-
Feature Toggles: Provides flags to enable or disable specific features like storage limitation, cloud sensor wizard, newsletter subscription, and more.
-
Integration Options: Allows integration with third-party services and tools, such as specifying a Gainsight key for product experience tracking.
-
Plugin and Package Support: Facilitates the development of packages and the integration of plugins, including the definition of version matrices for managing dependencies.
-
Map Configuration: Enables customization of map layers, default zoom levels, and center positions, as well as the configuration of geocoding services.
The @c8y/options
package, with its ApplicationOptions
interface, offers a flexible and extensive set of configuration options to tailor your Cumulocity application to your specific needs, making it a powerful tool in your development arsenal.