@xoxno/types 1.0.267 → 1.0.268
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.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PerpTradesSide } from '../../enums/perp.enum';
|
|
2
2
|
import { L2BookPerpEvent, TradesPerpEvent } from './request';
|
|
3
3
|
declare class L2BookPerpResponseSingle {
|
|
4
|
-
px:
|
|
5
|
-
sz:
|
|
4
|
+
px: string;
|
|
5
|
+
sz: string;
|
|
6
6
|
n: number;
|
|
7
7
|
}
|
|
8
8
|
export declare class L2BookPerpResponse extends L2BookPerpEvent {
|
|
@@ -12,8 +12,8 @@ export declare class L2BookPerpResponse extends L2BookPerpEvent {
|
|
|
12
12
|
}
|
|
13
13
|
export declare class TradesPerpResponse extends TradesPerpEvent {
|
|
14
14
|
side: PerpTradesSide;
|
|
15
|
-
px:
|
|
16
|
-
sz:
|
|
15
|
+
px: string;
|
|
16
|
+
sz: string;
|
|
17
17
|
time: number;
|
|
18
18
|
hash: string;
|
|
19
19
|
users: string[];
|
|
@@ -17,11 +17,11 @@ class L2BookPerpResponseSingle {
|
|
|
17
17
|
}
|
|
18
18
|
__decorate([
|
|
19
19
|
(0, swagger_1.ApiProperty)(),
|
|
20
|
-
__metadata("design:type",
|
|
20
|
+
__metadata("design:type", String)
|
|
21
21
|
], L2BookPerpResponseSingle.prototype, "px", void 0);
|
|
22
22
|
__decorate([
|
|
23
23
|
(0, swagger_1.ApiProperty)(),
|
|
24
|
-
__metadata("design:type",
|
|
24
|
+
__metadata("design:type", String)
|
|
25
25
|
], L2BookPerpResponseSingle.prototype, "sz", void 0);
|
|
26
26
|
__decorate([
|
|
27
27
|
(0, swagger_1.ApiProperty)(),
|
|
@@ -51,11 +51,11 @@ __decorate([
|
|
|
51
51
|
], TradesPerpResponse.prototype, "side", void 0);
|
|
52
52
|
__decorate([
|
|
53
53
|
(0, swagger_1.ApiProperty)(),
|
|
54
|
-
__metadata("design:type",
|
|
54
|
+
__metadata("design:type", String)
|
|
55
55
|
], TradesPerpResponse.prototype, "px", void 0);
|
|
56
56
|
__decorate([
|
|
57
57
|
(0, swagger_1.ApiProperty)(),
|
|
58
|
-
__metadata("design:type",
|
|
58
|
+
__metadata("design:type", String)
|
|
59
59
|
], TradesPerpResponse.prototype, "sz", void 0);
|
|
60
60
|
__decorate([
|
|
61
61
|
(0, swagger_1.ApiProperty)(),
|