@misalon/common 1.0.20 → 1.0.21

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,16 @@
1
+ import { Subjects } from './subjects';
2
+ export interface AppointmentApprovedEvent {
3
+ subject: Subjects.AppointmentApproved;
4
+ data: {
5
+ id: string;
6
+ service: {
7
+ id: string;
8
+ name: string;
9
+ };
10
+ userId: string;
11
+ date: string;
12
+ time: string;
13
+ status: string;
14
+ version: number;
15
+ };
16
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/build/index.d.ts CHANGED
@@ -16,6 +16,7 @@ export * from './events/salon-service-created-event';
16
16
  export * from './events/salon-service-updated-event';
17
17
  export * from "./events/appointment-created-event";
18
18
  export * from "./events/appointment-cancelled-event";
19
+ export * from "./events/appointment-approved-event";
19
20
  export * from './events/type/service-category';
20
21
  export * from './events/type/status';
21
22
  export * from './permissions/index';
package/build/index.js CHANGED
@@ -32,6 +32,7 @@ __exportStar(require("./events/salon-service-created-event"), exports);
32
32
  __exportStar(require("./events/salon-service-updated-event"), exports);
33
33
  __exportStar(require("./events/appointment-created-event"), exports);
34
34
  __exportStar(require("./events/appointment-cancelled-event"), exports);
35
+ __exportStar(require("./events/appointment-approved-event"), exports);
35
36
  __exportStar(require("./events/type/service-category"), exports);
36
37
  __exportStar(require("./events/type/status"), exports);
37
38
  __exportStar(require("./permissions/index"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@misalon/common",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "main": "./build/index.js",
5
5
  "types": "./build/index.d.ts",
6
6
  "files": [