@c8y/ngx-components
Version:
Angular modules for Cumulocity IoT applications
51 lines • 1.2 kB
TypeScript
/**
* Interface representing a DTM asset property definition.
*/
export interface AssetPropertyDefinition {
identifier: string;
jsonSchema: SchemaNode;
creationTime: string;
lastUpdated: string;
[key: string]: any;
}
export interface SchemaNode {
title?: string;
description?: string;
type?: string;
properties?: Record<string, SchemaNode>;
[key: string]: any;
}
export interface AssetPropertyDefinitionResponse {
definitions: AssetPropertyDefinition[];
pageStatistics: {
currentPage: number;
pageSize: number;
hasMorePages: boolean;
pageCount: number;
};
totalCount: number;
}
export interface AssetPropertyFilter {
identifiers?: string[];
titles?: string[];
tags?: string[];
currentPage?: number;
pageSize?: number;
[key: string]: any;
}
export interface TreeNode {
id: string;
title: string;
description?: string;
type?: string;
tags?: string[];
children?: TreeNode[];
hasChildren?: boolean;
}
export interface DeviceParameter {
title: string;
key: string;
value: any;
type: string;
}
//# sourceMappingURL=asset-property.model.d.ts.map