@hawk.so/types 0.1.18 → 0.1.21
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/README.md +1 -1
- package/build/src/base/businessOperation/businessOperation.d.ts +8 -0
- package/build/src/base/event/addons/index.d.ts +2 -2
- package/build/src/base/event/addons/javascript.d.ts +1 -1
- package/build/src/dbScheme/plan.d.ts +5 -1
- package/package.json +1 -1
- package/src/base/businessOperation/businessOperation.ts +10 -0
- package/src/base/event/addons/index.ts +2 -1
- package/src/base/event/addons/javascript.ts +1 -1
- package/src/dbScheme/plan.ts +6 -1
package/README.md
CHANGED
|
@@ -41,6 +41,10 @@ export interface PayloadOfDepositByUser {
|
|
|
41
41
|
* Amount of payment
|
|
42
42
|
*/
|
|
43
43
|
amount: number;
|
|
44
|
+
/**
|
|
45
|
+
* Currency of payment
|
|
46
|
+
*/
|
|
47
|
+
currency: string;
|
|
44
48
|
/**
|
|
45
49
|
* ID of the user who made the payment
|
|
46
50
|
*/
|
|
@@ -62,6 +66,10 @@ export interface PayloadOfWorkspacePlanPurchase {
|
|
|
62
66
|
* Amount of payment
|
|
63
67
|
*/
|
|
64
68
|
amount: number;
|
|
69
|
+
/**
|
|
70
|
+
* Currency of payment
|
|
71
|
+
*/
|
|
72
|
+
currency: string;
|
|
65
73
|
/**
|
|
66
74
|
* ID of the user who made the payment
|
|
67
75
|
*/
|
|
@@ -7,5 +7,5 @@ import { DefaultAddons } from './default';
|
|
|
7
7
|
/**
|
|
8
8
|
* Union Type describing all catcher-specific additional data
|
|
9
9
|
*/
|
|
10
|
-
declare type EventAddons = JavaScriptAddons | PhpAddons | NodeJSAddons | GoAddons | PythonAddons | DefaultAddons;
|
|
11
|
-
export { WindowData, VueIntegrationAddons, BeautifiedUserAgent, EventAddons, JavaScriptAddons, PhpAddons, NodeJSAddons, GoAddons, PythonAddons,
|
|
10
|
+
declare type EventAddons = DefaultAddons | JavaScriptAddons | PhpAddons | NodeJSAddons | GoAddons | PythonAddons | DefaultAddons;
|
|
11
|
+
export { WindowData, VueIntegrationAddons, BeautifiedUserAgent, EventAddons, DefaultAddons, JavaScriptAddons, PhpAddons, NodeJSAddons, GoAddons, PythonAddons, };
|
|
@@ -12,9 +12,13 @@ export interface PlanDBScheme {
|
|
|
12
12
|
*/
|
|
13
13
|
name: string;
|
|
14
14
|
/**
|
|
15
|
-
* Monthly charge for plan in
|
|
15
|
+
* Monthly charge for plan in currencry specified in `monthlyChargeCurrency`
|
|
16
16
|
*/
|
|
17
17
|
monthlyCharge: number;
|
|
18
|
+
/**
|
|
19
|
+
* Currency of `monthlyCharge`
|
|
20
|
+
*/
|
|
21
|
+
monthlyChargeCurrency: string;
|
|
18
22
|
/**
|
|
19
23
|
* Maximum amount of events available for plan
|
|
20
24
|
*/
|
package/package.json
CHANGED
|
@@ -49,6 +49,11 @@ export interface PayloadOfDepositByUser {
|
|
|
49
49
|
*/
|
|
50
50
|
amount: number;
|
|
51
51
|
|
|
52
|
+
/**
|
|
53
|
+
* Currency of payment
|
|
54
|
+
*/
|
|
55
|
+
currency: string;
|
|
56
|
+
|
|
52
57
|
/**
|
|
53
58
|
* ID of the user who made the payment
|
|
54
59
|
*/
|
|
@@ -74,6 +79,11 @@ export interface PayloadOfWorkspacePlanPurchase {
|
|
|
74
79
|
*/
|
|
75
80
|
amount: number;
|
|
76
81
|
|
|
82
|
+
/**
|
|
83
|
+
* Currency of payment
|
|
84
|
+
*/
|
|
85
|
+
currency: string;
|
|
86
|
+
|
|
77
87
|
/**
|
|
78
88
|
* ID of the user who made the payment
|
|
79
89
|
*/
|
|
@@ -9,6 +9,7 @@ import { DefaultAddons } from './default';
|
|
|
9
9
|
* Union Type describing all catcher-specific additional data
|
|
10
10
|
*/
|
|
11
11
|
type EventAddons =
|
|
12
|
+
| DefaultAddons
|
|
12
13
|
| JavaScriptAddons
|
|
13
14
|
| PhpAddons
|
|
14
15
|
| NodeJSAddons
|
|
@@ -22,10 +23,10 @@ export {
|
|
|
22
23
|
VueIntegrationAddons,
|
|
23
24
|
BeautifiedUserAgent,
|
|
24
25
|
EventAddons,
|
|
26
|
+
DefaultAddons,
|
|
25
27
|
JavaScriptAddons,
|
|
26
28
|
PhpAddons,
|
|
27
29
|
NodeJSAddons,
|
|
28
30
|
GoAddons,
|
|
29
31
|
PythonAddons,
|
|
30
|
-
DefaultAddons
|
|
31
32
|
}
|
package/src/dbScheme/plan.ts
CHANGED
|
@@ -15,10 +15,15 @@ export interface PlanDBScheme {
|
|
|
15
15
|
name: string;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* Monthly charge for plan in
|
|
18
|
+
* Monthly charge for plan in currencry specified in `monthlyChargeCurrency`
|
|
19
19
|
*/
|
|
20
20
|
monthlyCharge: number;
|
|
21
21
|
|
|
22
|
+
/**
|
|
23
|
+
* Currency of `monthlyCharge`
|
|
24
|
+
*/
|
|
25
|
+
monthlyChargeCurrency: string;
|
|
26
|
+
|
|
22
27
|
/**
|
|
23
28
|
* Maximum amount of events available for plan
|
|
24
29
|
*/
|