@hawk.so/types 0.1.34 → 0.1.35

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.
@@ -2,6 +2,15 @@ import { ObjectId } from "mongodb";
2
2
  import { DecodedEventData, EncodedEventData, EventData } from "../base/event/event";
3
3
  import { UserDBScheme } from "./user";
4
4
  import { EventAddons } from '../base/event/addons';
5
+ /**
6
+ * Event marks interface for tracking event status
7
+ */
8
+ export interface EventMarks {
9
+ /**
10
+ * Whether the event is ignored
11
+ */
12
+ ignored?: boolean;
13
+ }
5
14
  /**
6
15
  * Event data after grouper-worker transformation to store it in database
7
16
  */
@@ -40,6 +49,10 @@ export interface GroupedEventDBScheme {
40
49
  * (created by the Collector)
41
50
  */
42
51
  timestamp: number;
52
+ /**
53
+ * Event marks for tracking status
54
+ */
55
+ marks?: EventMarks;
43
56
  }
44
57
  /**
45
58
  * Grouped event with decoded event data
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hawk.so/types",
3
- "version": "0.1.34",
3
+ "version": "0.1.35",
4
4
  "description": "TypeScript definitions for Hawk",
5
5
  "types": "build/index.d.ts",
6
6
  "main": "build/index.js",
@@ -3,6 +3,16 @@ import { DecodedEventData, EncodedEventData, EventData } from "../base/event/eve
3
3
  import { UserDBScheme } from "./user";
4
4
  import { EventAddons } from '../base/event/addons';
5
5
 
6
+ /**
7
+ * Event marks interface for tracking event status
8
+ */
9
+ export interface EventMarks {
10
+ /**
11
+ * Whether the event is ignored
12
+ */
13
+ ignored?: boolean;
14
+ }
15
+
6
16
  /**
7
17
  * Event data after grouper-worker transformation to store it in database
8
18
  */
@@ -48,6 +58,11 @@ export interface GroupedEventDBScheme {
48
58
  * (created by the Collector)
49
59
  */
50
60
  timestamp: number;
61
+
62
+ /**
63
+ * Event marks for tracking status
64
+ */
65
+ marks?: EventMarks;
51
66
  }
52
67
 
53
68
  /**