@hawk.so/types 0.1.27 → 0.1.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.
- package/build/index.d.ts +1 -0
- package/build/index.js +1 -0
- package/build/src/dbScheme/project.d.ts +5 -0
- package/build/src/dbScheme/projectEventGroupingPattern.d.ts +11 -0
- package/build/src/dbScheme/projectEventGroupingPattern.js +2 -0
- package/build/src/dbScheme/projectPattern.d.ts +11 -0
- package/build/src/dbScheme/projectPattern.js +2 -0
- package/build/src/dbScheme/workspace.d.ts +5 -0
- package/index.ts +2 -1
- package/package.json +1 -1
- package/src/dbScheme/project.ts +6 -0
- package/src/dbScheme/projectEventGroupingPattern.ts +13 -0
- package/src/dbScheme/workspace.ts +6 -0
package/build/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ 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/projectEventGroupingPattern";
|
|
25
26
|
export * from "./src/notifications/createProjectNotifications";
|
|
26
27
|
export * from "./src/notifications/receiveTypes";
|
|
27
28
|
export * from "./src/notifications/updateProjectNotifications";
|
package/build/index.js
CHANGED
|
@@ -34,6 +34,7 @@ __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/projectEventGroupingPattern"), exports);
|
|
37
38
|
__exportStar(require("./src/notifications/createProjectNotifications"), exports);
|
|
38
39
|
__exportStar(require("./src/notifications/receiveTypes"), exports);
|
|
39
40
|
__exportStar(require("./src/notifications/updateProjectNotifications"), exports);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ObjectId } from 'mongodb';
|
|
2
2
|
import { ProjectNotificationsRuleDBScheme } from '../../index';
|
|
3
|
+
import { ProjectEventGroupingPatternsDBScheme } from '../../index';
|
|
3
4
|
/**
|
|
4
5
|
* Structure represents a Project in DataBase
|
|
5
6
|
*/
|
|
@@ -42,4 +43,8 @@ export interface ProjectDBScheme {
|
|
|
42
43
|
* Project notifications settings
|
|
43
44
|
*/
|
|
44
45
|
notifications: ProjectNotificationsRuleDBScheme[];
|
|
46
|
+
/**
|
|
47
|
+
* Patterns for manual event grouping
|
|
48
|
+
*/
|
|
49
|
+
eventGroupingPatterns: ProjectEventGroupingPatternsDBScheme[];
|
|
45
50
|
}
|
|
@@ -39,6 +39,11 @@ export interface WorkspaceDBScheme {
|
|
|
39
39
|
* Date when workspace was charged last time
|
|
40
40
|
*/
|
|
41
41
|
lastChargeDate: Date;
|
|
42
|
+
/**
|
|
43
|
+
* Date when subscription will be expired
|
|
44
|
+
* Used for pre-paid plans for several months
|
|
45
|
+
*/
|
|
46
|
+
paidUntil?: Date;
|
|
42
47
|
/**
|
|
43
48
|
* Total number of errors since the last charge date
|
|
44
49
|
*/
|
package/index.ts
CHANGED
|
@@ -26,7 +26,8 @@ export * from "./src/dbScheme/sourceMap";
|
|
|
26
26
|
export * from "./src/dbScheme/user";
|
|
27
27
|
export * from "./src/dbScheme/userNotifications";
|
|
28
28
|
export * from "./src/dbScheme/workspace";
|
|
29
|
-
export * from "./src/dbScheme/bankCard"
|
|
29
|
+
export * from "./src/dbScheme/bankCard";
|
|
30
|
+
export * from "./src/dbScheme/projectEventGroupingPattern";
|
|
30
31
|
|
|
31
32
|
export * from "./src/notifications/createProjectNotifications";
|
|
32
33
|
export * from "./src/notifications/receiveTypes";
|
package/package.json
CHANGED
package/src/dbScheme/project.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ObjectId } from 'mongodb';
|
|
2
2
|
import { ProjectNotificationsRuleDBScheme } from '../../index';
|
|
3
|
+
import { ProjectEventGroupingPatternsDBScheme } from '../../index';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* Structure represents a Project in DataBase
|
|
@@ -51,4 +52,9 @@ export interface ProjectDBScheme {
|
|
|
51
52
|
* Project notifications settings
|
|
52
53
|
*/
|
|
53
54
|
notifications: ProjectNotificationsRuleDBScheme[];
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Patterns for manual event grouping
|
|
58
|
+
*/
|
|
59
|
+
eventGroupingPatterns: ProjectEventGroupingPatternsDBScheme[];
|
|
54
60
|
}
|
|
@@ -49,6 +49,12 @@ export interface WorkspaceDBScheme {
|
|
|
49
49
|
*/
|
|
50
50
|
lastChargeDate: Date;
|
|
51
51
|
|
|
52
|
+
/**
|
|
53
|
+
* Date when subscription will be expired
|
|
54
|
+
* Used for pre-paid plans for several months
|
|
55
|
+
*/
|
|
56
|
+
paidUntil?: Date;
|
|
57
|
+
|
|
52
58
|
/**
|
|
53
59
|
* Total number of errors since the last charge date
|
|
54
60
|
*/
|