@hawk.so/types 0.1.28 → 0.1.30
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/src/base/event/addons/index.d.ts +2 -2
- package/build/src/base/event/addons/javascript.d.ts +4 -0
- package/build/src/dbScheme/workspace.d.ts +5 -0
- package/package.json +1 -1
- package/src/base/event/addons/index.ts +2 -1
- package/src/base/event/addons/javascript.ts +5 -0
- package/src/dbScheme/workspace.ts +6 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { JavaScriptAddons, WindowData, VueIntegrationAddons, BeautifiedUserAgent } from './javascript';
|
|
1
|
+
import { JavaScriptAddons, WindowData, VueIntegrationAddons, BeautifiedUserAgent, ConsoleLogEvent } from './javascript';
|
|
2
2
|
import { PhpAddons } from './php';
|
|
3
3
|
import { NodeJSAddons } from './nodejs';
|
|
4
4
|
import { GoAddons } from './go';
|
|
@@ -8,4 +8,4 @@ import { DefaultAddons } from './default';
|
|
|
8
8
|
* Union Type describing all catcher-specific additional data
|
|
9
9
|
*/
|
|
10
10
|
declare type EventAddons = DefaultAddons | JavaScriptAddons | PhpAddons | NodeJSAddons | GoAddons | PythonAddons | DefaultAddons;
|
|
11
|
-
export { WindowData, VueIntegrationAddons, BeautifiedUserAgent, EventAddons, DefaultAddons, JavaScriptAddons, PhpAddons, NodeJSAddons, GoAddons, PythonAddons, };
|
|
11
|
+
export { WindowData, VueIntegrationAddons, BeautifiedUserAgent, ConsoleLogEvent, EventAddons, DefaultAddons, JavaScriptAddons, PhpAddons, NodeJSAddons, GoAddons, PythonAddons, };
|
|
@@ -48,6 +48,10 @@ export interface ConsoleLogEvent {
|
|
|
48
48
|
* File and line number where the log occurred
|
|
49
49
|
*/
|
|
50
50
|
fileLine?: string;
|
|
51
|
+
/**
|
|
52
|
+
* CSS styles for %c formatting
|
|
53
|
+
*/
|
|
54
|
+
styles?: string[];
|
|
51
55
|
}
|
|
52
56
|
/**
|
|
53
57
|
* Additional data that can be sent by the JavaScript Catcher
|
|
@@ -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/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { JavaScriptAddons, WindowData, VueIntegrationAddons, BeautifiedUserAgent } from './javascript';
|
|
1
|
+
import { JavaScriptAddons, WindowData, VueIntegrationAddons, BeautifiedUserAgent, ConsoleLogEvent } from './javascript';
|
|
2
2
|
import { PhpAddons } from './php';
|
|
3
3
|
import { NodeJSAddons } from './nodejs';
|
|
4
4
|
import { GoAddons } from './go';
|
|
@@ -22,6 +22,7 @@ export {
|
|
|
22
22
|
WindowData,
|
|
23
23
|
VueIntegrationAddons,
|
|
24
24
|
BeautifiedUserAgent,
|
|
25
|
+
ConsoleLogEvent,
|
|
25
26
|
EventAddons,
|
|
26
27
|
DefaultAddons,
|
|
27
28
|
JavaScriptAddons,
|
|
@@ -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
|
*/
|