@taphealth/kafka 1.1.8 → 1.1.10

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.
@@ -5,6 +5,6 @@ export interface AppointmentCreatedEvent {
5
5
  data: {
6
6
  id: string;
7
7
  type: AppointmentType;
8
- expiresAt: string;
8
+ expiresAt: Date;
9
9
  };
10
10
  }
@@ -2,3 +2,10 @@ export declare enum AppointmentType {
2
2
  Offline = "offline",
3
3
  Online = "online"
4
4
  }
5
+ export declare enum AppointmentStatus {
6
+ Created = "created",
7
+ Confirmed = "confirmed",
8
+ Cancelled = "cancelled",
9
+ Completed = "completed",
10
+ Ongoing = "ongoing"
11
+ }
@@ -1,8 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AppointmentType = void 0;
3
+ exports.AppointmentStatus = exports.AppointmentType = void 0;
4
4
  var AppointmentType;
5
5
  (function (AppointmentType) {
6
6
  AppointmentType["Offline"] = "offline";
7
7
  AppointmentType["Online"] = "online";
8
8
  })(AppointmentType || (exports.AppointmentType = AppointmentType = {}));
9
+ var AppointmentStatus;
10
+ (function (AppointmentStatus) {
11
+ AppointmentStatus["Created"] = "created";
12
+ AppointmentStatus["Confirmed"] = "confirmed";
13
+ AppointmentStatus["Cancelled"] = "cancelled";
14
+ AppointmentStatus["Completed"] = "completed";
15
+ AppointmentStatus["Ongoing"] = "ongoing";
16
+ })(AppointmentStatus || (exports.AppointmentStatus = AppointmentStatus = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taphealth/kafka",
3
- "version": "1.1.8",
3
+ "version": "1.1.10",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -22,6 +22,6 @@
22
22
  "scripts": {
23
23
  "clean": "del-cli ./dist/*",
24
24
  "build": "pnpm clean && tsc",
25
- "pub": "pnpm version patch --no-git-checks && pnpm build && pnpm publish --no-git-checks"
25
+ "pub": "pnpm build && pnpm publish"
26
26
  }
27
27
  }