@spotto/contract 1.0.7 → 1.0.8-alpha.0

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,4 +1,4 @@
1
- export declare type EventCountBreakdown = 'year' | 'month' | 'week' | 'day' | 'hour';
1
+ export declare type EventCountBreakdown = 'year' | 'week' | 'month' | 'day' | 'hour';
2
2
  export declare const EVENT_COUNT_BREAKDOWN: EventCountBreakdown[];
3
3
  export declare type EventType = 'ReaderArrived' | 'ReaderExited' | 'Arrived' | 'Moved' | 'ExplicitArrived' | 'Exited' | 'ReaderOnline' | 'ReaderOffline' | 'AssetCreated' | 'AssetUpdated' | 'AssetDeleted' | 'LocationCreated' | 'LocationUpdated' | 'LocationDeleted' | 'ReaderCreated' | 'ReaderUpdated' | 'ReaderDeleted' | 'UserSearch';
4
4
  export declare const EVENT_TYPES: EventType[];
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EVENT_TYPES = exports.EVENT_COUNT_BREAKDOWN = void 0;
4
4
  exports.EVENT_COUNT_BREAKDOWN = [
5
5
  'year',
6
- 'month',
7
6
  'week',
7
+ 'month',
8
8
  'day',
9
9
  'hour',
10
10
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/events/constants.ts"],"names":[],"mappings":";;;AACa,QAAA,qBAAqB,GAA0B;IAC1D,MAAM;IACN,OAAO;IACP,MAAM;IACN,KAAK;IACL,MAAM;CACP,CAAC;AAsBW,QAAA,WAAW,GAAgB;IACtC,eAAe;IACf,cAAc;IACd,SAAS;IACT,OAAO;IACP,iBAAiB;IACjB,QAAQ;IACR,cAAc;IACd,eAAe;IACf,cAAc;IACd,cAAc;IACd,cAAc;IACd,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB,eAAe;IACf,eAAe;IACf,eAAe;IACf,YAAY;CACb,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/events/constants.ts"],"names":[],"mappings":";;;AACa,QAAA,qBAAqB,GAA0B;IAC1D,MAAM;IACN,MAAM;IACN,OAAO;IACP,KAAK;IACL,MAAM;CACP,CAAC;AAsBW,QAAA,WAAW,GAAgB;IACtC,eAAe;IACf,cAAc;IACd,SAAS;IACT,OAAO;IACP,iBAAiB;IACjB,QAAQ;IACR,cAAc;IACd,eAAe;IACf,cAAc;IACd,cAAc;IACd,cAAc;IACd,iBAAiB;IACjB,iBAAiB;IACjB,iBAAiB;IACjB,eAAe;IACf,eAAe;IACf,eAAe;IACf,YAAY;CACb,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import { EventType } from '../constants';
2
2
  export interface ITimePeriod {
3
3
  year: number;
4
- month?: number;
5
4
  week?: number;
5
+ month?: number;
6
6
  day?: number;
7
7
  hour?: number;
8
8
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@spotto/contract",
3
3
  "license": "ISC",
4
- "version": "1.0.7",
4
+ "version": "1.0.8-alpha.0",
5
5
  "description": "Spotto's API Contract type definitions",
6
6
  "main": "./dist/index.js",
7
7
  "files": [
@@ -14,5 +14,5 @@
14
14
  "devDependencies": {
15
15
  "@types/geojson": "^7946.0.8"
16
16
  },
17
- "gitHead": "9e11dfc521c8943b8185af3b31c5de12bcf310e9"
17
+ "gitHead": "32fbf7c4b4ab9f013e4357a8402df59c9f2cf3bf"
18
18
  }