@hawk.so/types 0.1.27-rc.1 → 0.1.27-rc.2

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.
package/build/index.d.ts CHANGED
@@ -22,7 +22,6 @@ export * from "./src/dbScheme/user";
22
22
  export * from "./src/dbScheme/userNotifications";
23
23
  export * from "./src/dbScheme/workspace";
24
24
  export * from "./src/dbScheme/bankCard";
25
- export * from "./src/dbScheme/eventPattern";
26
25
  export * from "./src/notifications/createProjectNotifications";
27
26
  export * from "./src/notifications/receiveTypes";
28
27
  export * from "./src/notifications/updateProjectNotifications";
package/build/index.js CHANGED
@@ -34,7 +34,6 @@ __exportStar(require("./src/dbScheme/user"), exports);
34
34
  __exportStar(require("./src/dbScheme/userNotifications"), exports);
35
35
  __exportStar(require("./src/dbScheme/workspace"), exports);
36
36
  __exportStar(require("./src/dbScheme/bankCard"), exports);
37
- __exportStar(require("./src/dbScheme/eventPattern"), exports);
38
37
  __exportStar(require("./src/notifications/createProjectNotifications"), exports);
39
38
  __exportStar(require("./src/notifications/receiveTypes"), exports);
40
39
  __exportStar(require("./src/notifications/updateProjectNotifications"), exports);
@@ -42,4 +42,8 @@ export interface ProjectDBScheme {
42
42
  * Project notifications settings
43
43
  */
44
44
  notifications: ProjectNotificationsRuleDBScheme[];
45
+ /**
46
+ * Patterns for manual event grouping
47
+ */
48
+ patterns: string[];
45
49
  }
package/index.ts CHANGED
@@ -27,7 +27,6 @@ export * from "./src/dbScheme/user";
27
27
  export * from "./src/dbScheme/userNotifications";
28
28
  export * from "./src/dbScheme/workspace";
29
29
  export * from "./src/dbScheme/bankCard"
30
- export * from "./src/dbScheme/eventPattern"
31
30
 
32
31
  export * from "./src/notifications/createProjectNotifications";
33
32
  export * from "./src/notifications/receiveTypes";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hawk.so/types",
3
- "version": "0.1.27-rc.1",
3
+ "version": "0.1.27-rc.2",
4
4
  "description": "TypeScript definitions for Hawk",
5
5
  "types": "build/index.d.ts",
6
6
  "main": "build/index.js",
@@ -51,4 +51,9 @@ export interface ProjectDBScheme {
51
51
  * Project notifications settings
52
52
  */
53
53
  notifications: ProjectNotificationsRuleDBScheme[];
54
+
55
+ /**
56
+ * Patterns for manual event grouping
57
+ */
58
+ patterns: string[];
54
59
  }
@@ -1,20 +0,0 @@
1
- import { ObjectId } from 'mongodb';
2
- /**
3
- * Information about all patterns for one project
4
- * Represents data that would be stored in db patterns collection
5
- */
6
- export interface EventPatternDBScheme {
7
- /**
8
- * Id of the object that stores event patterns for project
9
- */
10
- id: string;
11
- /**
12
- * Id of the project, that has event grouping patterns
13
- */
14
- projectId: ObjectId;
15
- /**
16
- * List of patterns for one project
17
- * There would be stored regular expressions in string format
18
- */
19
- patterns: string[];
20
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,22 +0,0 @@
1
- import { ObjectId } from 'mongodb';
2
- /**
3
- * Information about all patterns for one project
4
- * Represents data that would be stored in db patterns collection
5
- */
6
- export interface EventPatternDBScheme {
7
- /**
8
- * Id of the object that stores event patterns for project
9
- */
10
- id: string;
11
-
12
- /**
13
- * Id of the project, that has event grouping patterns
14
- */
15
- projectId: ObjectId;
16
-
17
- /**
18
- * List of patterns for one project
19
- * There would be stored regular expressions in string format
20
- */
21
- patterns: string[],
22
- }