@dronedeploy/rocos-js-sdk 3.0.1-alpha.26 → 3.0.1-alpha.27

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,15 +24,13 @@ export interface Target {
24
24
  * Rotation of the target in the 3D space
25
25
  */
26
26
  rotation: Quaternion;
27
- }
28
- type TargetMediaItem = {
29
- id: string;
30
- data: Record<string, string>;
31
- };
32
- export interface TargetWithMedia extends Target {
33
27
  /**
34
28
  * Media associated with the target (images)
35
29
  */
36
- media: TargetMediaItem[];
30
+ media?: TargetMedia[];
37
31
  }
32
+ type TargetMedia = {
33
+ id: string;
34
+ data: Record<string, string>;
35
+ };
38
36
  export {};
@@ -24,15 +24,13 @@ export interface Target {
24
24
  * Rotation of the target in the 3D space
25
25
  */
26
26
  rotation: Quaternion;
27
- }
28
- type TargetMediaItem = {
29
- id: string;
30
- data: Record<string, string>;
31
- };
32
- export interface TargetWithMedia extends Target {
33
27
  /**
34
28
  * Media associated with the target (images)
35
29
  */
36
- media: TargetMediaItem[];
30
+ media?: TargetMedia[];
37
31
  }
32
+ type TargetMedia = {
33
+ id: string;
34
+ data: Record<string, string>;
35
+ };
38
36
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dronedeploy/rocos-js-sdk",
3
- "version": "3.0.1-alpha.26",
3
+ "version": "3.0.1-alpha.27",
4
4
  "description": "Javascript SDK for rocos",
5
5
  "main": "cjs/index.js",
6
6
  "module": "esm/index.js",