@taphealth/kafka 1.2.28 → 1.2.29

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,6 +1,6 @@
1
1
  import { Topics } from "../topics";
2
- import { SchedulerEvent } from "../types/scheduler";
3
- export interface DietCronEvent extends SchedulerEvent {
2
+ export interface DietCronEvent {
3
+ topic: Topics.DietCron;
4
4
  data: {
5
5
  topic: Topics.DietCron;
6
6
  profileId: string;
@@ -0,0 +1,7 @@
1
+ import { Topics } from "../topics";
2
+ export interface SchedulerEvent {
3
+ topic: Topics.Scheduler;
4
+ name: string;
5
+ cron: string;
6
+ data: any;
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taphealth/kafka",
3
- "version": "1.2.28",
3
+ "version": "1.2.29",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -1,4 +0,0 @@
1
- import { Topics } from "../topics";
2
- export interface SchedulerEvent {
3
- topic: Topics.Scheduler | Topics.DietCron;
4
- }
File without changes