@c8y/ngx-components
Version:
Angular modules for Cumulocity IoT applications
53 lines • 1.62 kB
TypeScript
import { IManagedObject } from '@c8y/client';
export declare const ADVANCED_TAB_FEATURE_KEY = "ui.dashboard-details-advanced-tab";
export type WidgetAssetToAlign = {
/**
* Widget id in the dashboard children object.
*/
widgetId: string;
/**
* Widget title.
*/
title: string;
/**
* Device refrence object.
*/
deviceRef: {
/**
* Dashboard may contain multiple widgets with assets declared in config.
* Information about the asset can be nested multiple levels deep and number of levels vary between widgets.
* Path is to help identify and locate the asset in the widget config in "children" object of the dashboard.
* First element of path is dashboard child id.
* e.g. for widget of id "12345678"
* ```ts
* "12345678": {
* ...
* "config": {
* "datapoints": [
* {
* "id": "0",
* "__target": {
* "id": "12345678",
* "name": "Device name"
* }
* }
* ]
* }
* }
*
* ```
* path to asset will be:
* ```ts
* ['12345678', 'config', 'datapoints', '0', '__target']
* ```
*/
path: string[];
/**
* Device reference object. Contains information about origin asset and asset suggested for import.
*/
value: IManagedObject & {
suggestedDevice?: IManagedObject;
};
};
};
//# sourceMappingURL=advanced-tab.model.d.ts.map