kuzzle-device-manager-types 2.5.1 → 2.6.0-beta.2

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.
@@ -1,6 +1,7 @@
1
1
  import { KDocumentContent } from "kuzzle-sdk";
2
2
  export interface AssetsGroupsBody {
3
3
  name: string;
4
+ type: string | null;
4
5
  children: string[];
5
6
  parent: string | null;
6
7
  lastUpdate: number;
@@ -1,7 +1,7 @@
1
1
  import { JSONObject, KDocument, KHit, SearchResult, mUpdateResponse } from "kuzzle-sdk";
2
2
  import { AssetsGroupsBody, AssetsGroupContent } from "./AssetGroupContent";
3
3
  type AssetsGroupsRequest = Omit<AssetsGroupsBody, "lastUpdate">;
4
- export type AssetsGroupsBodyRequest = Partial<AssetsGroupsRequest> & Omit<AssetsGroupsRequest, "parent">;
4
+ export type AssetsGroupsBodyRequest = Partial<AssetsGroupsRequest> & Omit<AssetsGroupsRequest, "parent" | "type">;
5
5
  export type UpdateAssetLinkResponse = mUpdateResponse & {
6
6
  assetsGroups: KDocument<AssetsGroupContent>;
7
7
  };
@@ -1,3 +1,5 @@
1
+ /// <reference types="node" />
2
+ /// <reference types="node" />
1
3
  import { KHit, User } from "kuzzle";
2
4
  import { UUID } from "node:crypto";
3
5
  import { AbstractExporter, Column, ExportParams } from "../shared";
@@ -1,3 +1,5 @@
1
+ /// <reference types="node" />
2
+ /// <reference types="node" />
1
3
  import { UUID } from "node:crypto";
2
4
  import { PassThrough, Readable } from "node:stream";
3
5
  import { JSONObject, KDocumentContentGeneric, KHit, SearchResult, User } from "kuzzle";
@@ -1,3 +1,5 @@
1
+ /// <reference types="node" />
2
+ /// <reference types="node" />
1
3
  import { UUID } from "node:crypto";
2
4
  import { AbstractExporter } from "./AbstractExporter";
3
5
  export declare class DigitalTwinExporter extends AbstractExporter {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kuzzle-device-manager-types",
3
- "version": "2.5.1",
3
+ "version": "2.6.0-beta.2",
4
4
  "description": "Shared types for Kuzzle Device Manager",
5
5
  "author": "The Kuzzle Team (support@kuzzle.io)",
6
6
  "main": "index.js",