@wrcb/cb-common 1.0.93 → 1.0.94

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,5 +1,5 @@
1
1
  import { Subjects } from './subjects';
2
- import { OddConfiguration } from './types/oddType';
2
+ import { OddType } from './types/oddType';
3
3
  import { PredictionOptions } from './types/predictions';
4
4
  export interface PredictionStartedEvent {
5
5
  subject: Subjects.PredictionStarted;
@@ -12,7 +12,7 @@ export interface PredictionStartedEvent {
12
12
  image: string;
13
13
  version: number;
14
14
  deadLine: Date;
15
- oddConfiguration: OddConfiguration;
15
+ oddType: OddType;
16
16
  predictionOptions: PredictionOptions[];
17
17
  market: {
18
18
  id: string;
@@ -1,5 +1,5 @@
1
1
  import { Subjects } from './subjects';
2
- import { OddConfiguration } from './types/oddType';
2
+ import { OddType } from './types/oddType';
3
3
  import { PredictionOptions } from './types/predictions';
4
4
  export interface PredictionUpdatedEvent {
5
5
  subject: Subjects.PredictionUpdated;
@@ -12,7 +12,7 @@ export interface PredictionUpdatedEvent {
12
12
  image: string;
13
13
  version: number;
14
14
  deadLine: Date;
15
- oddConfiguration: OddConfiguration;
15
+ oddType: OddType;
16
16
  predictionOptions: PredictionOptions[];
17
17
  market: {
18
18
  id: string;
@@ -1,5 +1,5 @@
1
1
  import { Market } from './market';
2
- import { OddConfiguration } from './oddType';
2
+ import { OddType } from './oddType';
3
3
  import { PredictionStatus } from './predictionStatus';
4
4
  export interface Prediction {
5
5
  market: Market;
@@ -10,7 +10,7 @@ export interface Prediction {
10
10
  slug: string;
11
11
  status: PredictionStatus;
12
12
  deadLine: Date;
13
- oddConfiguration: OddConfiguration;
13
+ oddType: OddType;
14
14
  predictionOptions: PredictionOptions[];
15
15
  }
16
16
  export interface PredictionOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wrcb/cb-common",
3
- "version": "1.0.93",
3
+ "version": "1.0.94",
4
4
  "description": "Common resources between services",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",