kuzzle-device-manager-types 2.8.0-dev.6 → 2.8.0-dev.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -88,4 +88,8 @@ export declare class MeasureService extends BaseService {
|
|
|
88
88
|
*/
|
|
89
89
|
private findAssetMeasureNameFromDevice;
|
|
90
90
|
private mutexUpdateAsset;
|
|
91
|
+
/**
|
|
92
|
+
* Create a new document in the collection asset-history, for each asset state
|
|
93
|
+
*/
|
|
94
|
+
private historizeAssetStates;
|
|
91
95
|
}
|
|
@@ -6,6 +6,12 @@ export type DeviceManagerConfiguration = {
|
|
|
6
6
|
* Useful to start the plugin even if the mappings are not up to date.
|
|
7
7
|
*/
|
|
8
8
|
ignoreStartupErrors: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Should be set to true to historize measures in asset-history collection (deprecated)
|
|
11
|
+
*
|
|
12
|
+
* Should be enabled only for backward compatibility because it leads to important performance costs.
|
|
13
|
+
*/
|
|
14
|
+
assetsHistorizesMeasures: boolean;
|
|
9
15
|
engine: {
|
|
10
16
|
/**
|
|
11
17
|
* Auto update collection mappings with models
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Backend, Controller, KuzzleRequest } from "kuzzle";
|
|
2
2
|
export declare class TestsController extends Controller {
|
|
3
3
|
constructor(app: Backend);
|
|
4
|
+
setAssetsHistorizesMeasuresConfig(request: KuzzleRequest): Promise<void>;
|
|
4
5
|
createDigitalTwinFromBackend(request: KuzzleRequest): Promise<void>;
|
|
5
6
|
}
|