@misalon/common 1.0.7 → 1.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,6 +11,7 @@ export interface SalonServiceCreatedEvent {
11
11
  description?: string;
12
12
  isActive: boolean;
13
13
  userId: string;
14
+ version: number;
14
15
  createdAt: string;
15
16
  updatedAt: string;
16
17
  };
@@ -11,6 +11,8 @@ export interface SalonServiceUpdatedEvent {
11
11
  description?: string;
12
12
  isActive: boolean;
13
13
  userId: string;
14
+ version: number;
15
+ appointmentId?: string;
14
16
  updatedAt: string;
15
17
  };
16
18
  }
@@ -0,0 +1,5 @@
1
+ export declare enum AppointmentStatus {
2
+ Pending = "Pending",
3
+ Confirmed = "Confirmed",
4
+ Cancelled = "Cancelled"
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AppointmentStatus = void 0;
4
+ var AppointmentStatus;
5
+ (function (AppointmentStatus) {
6
+ AppointmentStatus["Pending"] = "Pending";
7
+ AppointmentStatus["Confirmed"] = "Confirmed";
8
+ AppointmentStatus["Cancelled"] = "Cancelled";
9
+ })(AppointmentStatus || (exports.AppointmentStatus = AppointmentStatus = {}));
package/build/index.d.ts CHANGED
@@ -15,3 +15,4 @@ export * from './events/subjects';
15
15
  export * from './events/salon-service-created-event';
16
16
  export * from './events/salon-service-updated-event';
17
17
  export * from './events/type/service-category';
18
+ export * from './events/type/status';
package/build/index.js CHANGED
@@ -31,3 +31,4 @@ __exportStar(require("./events/subjects"), exports);
31
31
  __exportStar(require("./events/salon-service-created-event"), exports);
32
32
  __exportStar(require("./events/salon-service-updated-event"), exports);
33
33
  __exportStar(require("./events/type/service-category"), exports);
34
+ __exportStar(require("./events/type/status"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@misalon/common",
3
- "version": "1.0.7",
3
+ "version": "1.0.10",
4
4
  "main": "./build/index.js",
5
5
  "types": "./build/index.d.ts",
6
6
  "files": [