@spotto/contract 0.3.4-alpha.2 → 0.3.4-alpha.4

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.
@@ -3,5 +3,7 @@ export interface IInventoryItem extends IEmbeddedEntity {
3
3
  firstSeen: number;
4
4
  lastSeen: number;
5
5
  organisation?: IEmbeddedEntity;
6
+ distance?: number;
7
+ battery?: number;
6
8
  }
7
9
  export declare type GetLocationInventoryResponse = IInventoryItem[];
@@ -3,3 +3,4 @@ export interface INetworkRequest {
3
3
  username?: string;
4
4
  password?: string;
5
5
  }
6
+ export declare type INetworkResponse = INetworkRequest;
@@ -1,8 +1,4 @@
1
- export declare type INetworkResponse = {
2
- name: string;
3
- password: boolean;
4
- username: boolean;
5
- };
1
+ import { INetworkResponse } from '../../../networks';
6
2
  export interface GetNetworksResponse {
7
3
  networks: INetworkResponse[];
8
4
  }
@@ -1,2 +1,5 @@
1
1
  import { IInventoryItem } from '../../../locations/[id]/inventory';
2
- export declare type GetReaderInventoryResponse = IInventoryItem[];
2
+ export interface IReaderInventoryItem extends IInventoryItem {
3
+ rssi?: number;
4
+ }
5
+ export declare type GetReaderInventoryResponse = IReaderInventoryItem[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@spotto/contract",
3
3
  "license": "ISC",
4
- "version": "0.3.4-alpha.2",
4
+ "version": "0.3.4-alpha.4",
5
5
  "description": "Spotto's API Contract type definitions",
6
6
  "main": "./dist/index.js",
7
7
  "files": [
@@ -11,5 +11,5 @@
11
11
  "build": "rm -rf dist && tsc --project tsconfig.json",
12
12
  "clean": "rm -rf node_modules && rm -rf yarn.lock"
13
13
  },
14
- "gitHead": "490ac0569a0e04acedd29febf1df346a1262190c"
14
+ "gitHead": "b694bc5aebffaf89b74d4bf4ca1535b0161bc2f1"
15
15
  }