kuzzle-device-manager-types 3.0.0-next.21 → 3.0.0-next.22
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.
- package/dist/lib/modules/asset/AssetsController.d.ts +1 -1
- package/dist/lib/modules/asset/types/AssetApi.d.ts +1 -1
- package/dist/lib/modules/device/types/DeviceEvents.d.ts +2 -2
- package/dist/lib/modules/measure/types/MeasureContent.d.ts +2 -2
- package/dist/lib/modules/measure/types/MeasureEvents.d.ts +1 -1
- package/dist/lib/modules/model/types/ModelContent.d.ts +1 -1
- package/dist/lib/modules/model/types/ModelDefinition.d.ts +1 -1
- package/package.json +1 -1
- package/dist/bin/migration/migration_platform_index.d.ts +0 -2
- package/dist/bin/migration/migration_tenant_index.d.ts +0 -2
- package/dist/bin/migration/utils.d.ts +0 -18
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ControllerDefinition, KuzzleRequest } from "kuzzle";
|
|
2
|
-
import { MeasureExporter } from "../measure
|
|
2
|
+
import { MeasureExporter } from "../measure";
|
|
3
3
|
import { DeviceManagerPlugin } from "../plugin";
|
|
4
4
|
import { DigitalTwinExporter } from "../shared";
|
|
5
5
|
import { AssetService } from "./AssetService";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSONObject, KDocument, KHit, SearchResult, UpdateByQueryResponse } from "kuzzle-sdk";
|
|
2
|
-
import { MeasureContent, Measurement } from "
|
|
2
|
+
import { MeasureContent, Measurement } from "../../measure";
|
|
3
3
|
import { ApiDigitalTwinGetLastMeasuredAtRequest, ApiDigitalTwinGetLastMeasuredAtResult, ApiDigitalTwinGetLastMeasuresRequest, ApiDigitalTwinGetLastMeasuresResult, ApiDigitalTwinMGetLastMeasuredAtRequest, ApiDigitalTwinMGetLastMeasuredAtResult, ApiDigitalTwinMGetLastMeasuresRequest, ApiDigitalTwinMGetLastMeasuresResult, Metadata } from "../../shared";
|
|
4
4
|
import { AssetContent } from "./AssetContent";
|
|
5
5
|
type AssetsControllerName = "device-manager/assets";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { User } from "kuzzle";
|
|
2
2
|
import { KDocument } from "kuzzle-sdk";
|
|
3
|
-
import { DeviceModelContent } from "
|
|
4
|
-
import { Metadata } from "
|
|
3
|
+
import { DeviceModelContent } from "../../model";
|
|
4
|
+
import { Metadata } from "../../shared";
|
|
5
5
|
import { DeviceContent } from "./DeviceContent";
|
|
6
6
|
export type EventDeviceUpdateBefore = {
|
|
7
7
|
name: "device-manager:device:update:before";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSONObject, KDocumentContent } from "kuzzle-sdk";
|
|
2
|
-
import { Metadata } from "
|
|
3
|
-
import { AssetMeasureContext } from "
|
|
2
|
+
import { Metadata } from "../../shared";
|
|
3
|
+
import { AssetMeasureContext } from "../../asset";
|
|
4
4
|
interface AbstractMeasureOrigin {
|
|
5
5
|
/**
|
|
6
6
|
* Origin of the measure
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSONObject } from "kuzzle-sdk";
|
|
2
|
-
import { AssetContent } from "
|
|
2
|
+
import { AssetContent } from "../../asset";
|
|
3
3
|
import { DecodedMeasurement, MeasureContent } from "./MeasureContent";
|
|
4
4
|
import { MeasureSource } from "./MeasureSources";
|
|
5
5
|
import { MeasureTarget } from "./MeasureTarget";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSONObject, KDocumentContent } from "kuzzle-sdk";
|
|
2
|
-
import { NamedMeasures } from "
|
|
2
|
+
import { NamedMeasures } from "../../decoder";
|
|
3
3
|
import { MeasureDefinition } from "../../measure";
|
|
4
4
|
export interface MeasureModelContent extends KDocumentContent {
|
|
5
5
|
type: "measure";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSONObject } from "kuzzle-sdk";
|
|
2
|
-
import { Decoder, NamedMeasures } from "
|
|
2
|
+
import { Decoder, NamedMeasures } from "../../decoder";
|
|
3
3
|
import { GroupAffinity, LocaleDetails, MetadataDetails, MetadataGroups, MetadataMappings, TooltipModels } from "./ModelContent";
|
|
4
4
|
/**
|
|
5
5
|
* Define an asset model
|
package/package.json
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { JSONObject } from "kuzzle-sdk";
|
|
2
|
-
export declare function transformDocuments(collection: string, indexPath: string, callBack: (string: any) => JSONObject, endCallBack?: () => void): void;
|
|
3
|
-
export declare function clearProperties(obj: any, properties: any): {};
|
|
4
|
-
export interface ModelRegistry {
|
|
5
|
-
assets: {
|
|
6
|
-
[key: string]: {
|
|
7
|
-
type: string;
|
|
8
|
-
name: string;
|
|
9
|
-
}[];
|
|
10
|
-
};
|
|
11
|
-
devices: {
|
|
12
|
-
[key: string]: {
|
|
13
|
-
type: string;
|
|
14
|
-
name: string;
|
|
15
|
-
}[];
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
export declare function retrieveModelMeasureSlots(pathToPlatformIndex: string, callBack: (models: ModelRegistry) => void): void;
|