@hawk.so/types 0.1.27-rc.6 → 0.1.27
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 +0 -1
- package/build/index.js +0 -1
- package/build/src/base/event/addons/javascript.d.ts +33 -0
- package/build/src/dbScheme/project.d.ts +0 -5
- package/index.ts +1 -2
- package/package.json +1 -1
- package/src/base/event/addons/javascript.ts +40 -0
- package/src/dbScheme/project.ts +0 -6
- package/build/src/dbScheme/projectEventGroupingPattern.d.ts +0 -11
- package/build/src/dbScheme/projectEventGroupingPattern.js +0 -2
- package/build/src/dbScheme/projectPattern.d.ts +0 -11
- package/build/src/dbScheme/projectPattern.js +0 -2
- package/src/dbScheme/projectEventGroupingPattern.ts +0 -13
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/projectEventGroupingPattern";
|
|
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/projectEventGroupingPattern"), 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);
|
|
@@ -20,6 +20,35 @@ export interface BeautifiedUserAgent {
|
|
|
20
20
|
*/
|
|
21
21
|
browserVersion: string;
|
|
22
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* Event from the browser console
|
|
25
|
+
*/
|
|
26
|
+
export interface ConsoleLogEvent {
|
|
27
|
+
/**
|
|
28
|
+
* Log method used (e.g., "log", "warn", "error")
|
|
29
|
+
*/
|
|
30
|
+
method: string;
|
|
31
|
+
/**
|
|
32
|
+
* Timestamp of the log event
|
|
33
|
+
*/
|
|
34
|
+
timestamp: Date;
|
|
35
|
+
/**
|
|
36
|
+
* Type of the log message (e.g., "error", "warning", "info")
|
|
37
|
+
*/
|
|
38
|
+
type: string;
|
|
39
|
+
/**
|
|
40
|
+
* The main log message
|
|
41
|
+
*/
|
|
42
|
+
message: string;
|
|
43
|
+
/**
|
|
44
|
+
* Stack trace if available
|
|
45
|
+
*/
|
|
46
|
+
stack?: string;
|
|
47
|
+
/**
|
|
48
|
+
* File and line number where the log occurred
|
|
49
|
+
*/
|
|
50
|
+
fileLine?: string;
|
|
51
|
+
}
|
|
23
52
|
/**
|
|
24
53
|
* Additional data that can be sent by the JavaScript Catcher
|
|
25
54
|
*/
|
|
@@ -52,6 +81,10 @@ export interface JavaScriptAddons {
|
|
|
52
81
|
* Vue integration data
|
|
53
82
|
*/
|
|
54
83
|
vue?: VueIntegrationAddons;
|
|
84
|
+
/**
|
|
85
|
+
* Console log events collected from the browser
|
|
86
|
+
*/
|
|
87
|
+
consoleOutput?: ConsoleLogEvent[];
|
|
55
88
|
}
|
|
56
89
|
/**
|
|
57
90
|
* Information about the window
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ObjectId } from 'mongodb';
|
|
2
2
|
import { ProjectNotificationsRuleDBScheme } from '../../index';
|
|
3
|
-
import { ProjectEventGroupingPatternsDBScheme } from '../../index';
|
|
4
3
|
/**
|
|
5
4
|
* Structure represents a Project in DataBase
|
|
6
5
|
*/
|
|
@@ -43,8 +42,4 @@ export interface ProjectDBScheme {
|
|
|
43
42
|
* Project notifications settings
|
|
44
43
|
*/
|
|
45
44
|
notifications: ProjectNotificationsRuleDBScheme[];
|
|
46
|
-
/**
|
|
47
|
-
* Patterns for manual event grouping
|
|
48
|
-
*/
|
|
49
|
-
eventGroupingPatterns: ProjectEventGroupingPatternsDBScheme[];
|
|
50
45
|
}
|
package/index.ts
CHANGED
|
@@ -26,8 +26,7 @@ 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"
|
|
30
|
-
export * from "./src/dbScheme/projectEventGroupingPattern";
|
|
29
|
+
export * from "./src/dbScheme/bankCard"
|
|
31
30
|
|
|
32
31
|
export * from "./src/notifications/createProjectNotifications";
|
|
33
32
|
export * from "./src/notifications/receiveTypes";
|
package/package.json
CHANGED
|
@@ -25,6 +25,41 @@ export interface BeautifiedUserAgent {
|
|
|
25
25
|
browserVersion: string;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
/**
|
|
29
|
+
* Event from the browser console
|
|
30
|
+
*/
|
|
31
|
+
export interface ConsoleLogEvent {
|
|
32
|
+
/**
|
|
33
|
+
* Log method used (e.g., "log", "warn", "error")
|
|
34
|
+
*/
|
|
35
|
+
method: string;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Timestamp of the log event
|
|
39
|
+
*/
|
|
40
|
+
timestamp: Date;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Type of the log message (e.g., "error", "warning", "info")
|
|
44
|
+
*/
|
|
45
|
+
type: string;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* The main log message
|
|
49
|
+
*/
|
|
50
|
+
message: string;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Stack trace if available
|
|
54
|
+
*/
|
|
55
|
+
stack?: string;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* File and line number where the log occurred
|
|
59
|
+
*/
|
|
60
|
+
fileLine?: string;
|
|
61
|
+
}
|
|
62
|
+
|
|
28
63
|
/**
|
|
29
64
|
* Additional data that can be sent by the JavaScript Catcher
|
|
30
65
|
*/
|
|
@@ -63,6 +98,11 @@ export interface JavaScriptAddons {
|
|
|
63
98
|
* Vue integration data
|
|
64
99
|
*/
|
|
65
100
|
vue?: VueIntegrationAddons;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Console log events collected from the browser
|
|
104
|
+
*/
|
|
105
|
+
consoleOutput?: ConsoleLogEvent[];
|
|
66
106
|
}
|
|
67
107
|
|
|
68
108
|
/**
|
package/src/dbScheme/project.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ObjectId } from 'mongodb';
|
|
2
2
|
import { ProjectNotificationsRuleDBScheme } from '../../index';
|
|
3
|
-
import { ProjectEventGroupingPatternsDBScheme } from '../../index';
|
|
4
3
|
|
|
5
4
|
/**
|
|
6
5
|
* Structure represents a Project in DataBase
|
|
@@ -52,9 +51,4 @@ export interface ProjectDBScheme {
|
|
|
52
51
|
* Project notifications settings
|
|
53
52
|
*/
|
|
54
53
|
notifications: ProjectNotificationsRuleDBScheme[];
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Patterns for manual event grouping
|
|
58
|
-
*/
|
|
59
|
-
eventGroupingPatterns: ProjectEventGroupingPatternsDBScheme[];
|
|
60
54
|
}
|