@rovi-tickets/common 1.0.8 → 1.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,6 +3,7 @@ export interface OrderCancelledEvent {
3
3
  subject: Subjects.OrderCancelled;
4
4
  data: {
5
5
  id: string;
6
+ version: number;
6
7
  ticket: {
7
8
  id: string;
8
9
  };
@@ -4,6 +4,7 @@ export interface OrderCreatedEvent {
4
4
  subject: Subjects.OrderCreated;
5
5
  data: {
6
6
  id: string;
7
+ version: number;
7
8
  status: OrderStatus;
8
9
  userId: string;
9
10
  expiresAt: string;
@@ -3,6 +3,7 @@ export interface TicketCreatedEvent {
3
3
  subject: Subjects.TicketCreated;
4
4
  data: {
5
5
  id: string;
6
+ version: number;
6
7
  title: string;
7
8
  price: number;
8
9
  userId: string;
@@ -3,6 +3,7 @@ export interface TicketUpdatedEvent {
3
3
  subject: Subjects.TicketCreated;
4
4
  data: {
5
5
  id: string;
6
+ version: number;
6
7
  title: string;
7
8
  price: number;
8
9
  userId: string;
package/build/index.d.ts CHANGED
@@ -14,3 +14,5 @@ export * from './events/subjects';
14
14
  export * from './events/ticket-created-event';
15
15
  export * from './events/ticket-updated-event';
16
16
  export * from './events/types/order-status';
17
+ export * from './events/order-created-event';
18
+ export * from './events/order-cancelled-event';
package/build/index.js CHANGED
@@ -30,3 +30,5 @@ __exportStar(require("./events/subjects"), exports);
30
30
  __exportStar(require("./events/ticket-created-event"), exports);
31
31
  __exportStar(require("./events/ticket-updated-event"), exports);
32
32
  __exportStar(require("./events/types/order-status"), exports);
33
+ __exportStar(require("./events/order-created-event"), exports);
34
+ __exportStar(require("./events/order-cancelled-event"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rovi-tickets/common",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",