@xoxno/types 1.0.297 → 1.0.299
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/dist/cosmos-db/documents/ticketing/event-profile.doc.d.ts +1 -0
- package/dist/cosmos-db/documents/ticketing/event-profile.doc.js +9 -0
- package/dist/entities/perp/tradingview.d.ts +6 -5
- package/dist/entities/perp/tradingview.js +1 -0
- package/dist/enums/perp.enum.d.ts +1 -1
- package/dist/enums/perp.enum.js +18 -18
- package/package.json +1 -1
|
@@ -218,6 +218,15 @@ __decorate([
|
|
|
218
218
|
(0, class_validator_1.IsString)(),
|
|
219
219
|
__metadata("design:type", String)
|
|
220
220
|
], EventProfileDoc.prototype, "profile", void 0);
|
|
221
|
+
__decorate([
|
|
222
|
+
(0, swagger_1.ApiProperty)({
|
|
223
|
+
description: 'Blurhash-encoded placeholder for the profile image.',
|
|
224
|
+
required: false,
|
|
225
|
+
}),
|
|
226
|
+
(0, class_validator_1.IsString)(),
|
|
227
|
+
(0, class_validator_1.IsOptional)(),
|
|
228
|
+
__metadata("design:type", String)
|
|
229
|
+
], EventProfileDoc.prototype, "profileBlurhash", void 0);
|
|
221
230
|
__decorate([
|
|
222
231
|
(0, swagger_1.ApiProperty)({
|
|
223
232
|
description: 'Category of the event.',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PerpAssetExchange, PerpAssetIntervals, PerpAssetSession, PerpAssetTimezone } from '../../enums';
|
|
1
2
|
export declare class ExchangeDto {
|
|
2
3
|
value: string;
|
|
3
4
|
name: string;
|
|
@@ -13,7 +14,7 @@ export declare class DatafeedConfigurationDto {
|
|
|
13
14
|
supports_marks: boolean;
|
|
14
15
|
supports_timescale_marks: boolean;
|
|
15
16
|
supports_time: boolean;
|
|
16
|
-
supported_resolutions:
|
|
17
|
+
supported_resolutions: PerpAssetIntervals[];
|
|
17
18
|
exchanges: ExchangeDto[];
|
|
18
19
|
symbols_types: SymbolTypeDto[];
|
|
19
20
|
}
|
|
@@ -22,13 +23,13 @@ export declare class SymbolInfoDto {
|
|
|
22
23
|
ticker: string;
|
|
23
24
|
description: string;
|
|
24
25
|
type: string;
|
|
25
|
-
session:
|
|
26
|
-
timezone:
|
|
27
|
-
exchange:
|
|
26
|
+
session: PerpAssetSession;
|
|
27
|
+
timezone: PerpAssetTimezone;
|
|
28
|
+
exchange: PerpAssetExchange;
|
|
28
29
|
minmov: number;
|
|
29
30
|
pricescale: number;
|
|
30
31
|
has_intraday: boolean;
|
|
31
|
-
supported_resolutions:
|
|
32
|
+
supported_resolutions: PerpAssetIntervals[];
|
|
32
33
|
volume_precision: number;
|
|
33
34
|
data_status: 'streaming' | 'endofday' | 'pulsed' | 'delayed_streaming';
|
|
34
35
|
}
|
|
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.BarDto = exports.PeriodParamsDto = exports.SymbolInfoDto = exports.DatafeedConfigurationDto = exports.SymbolTypeDto = exports.ExchangeDto = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const enums_1 = require("../../enums");
|
|
14
15
|
class ExchangeDto {
|
|
15
16
|
}
|
|
16
17
|
exports.ExchangeDto = ExchangeDto;
|
package/dist/enums/perp.enum.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PerpAssetExchange = exports.PerpAssetSession = exports.PerpAssetType = exports.PerpAssetTimezone = exports.
|
|
3
|
+
exports.PerpAssetExchange = exports.PerpAssetSession = exports.PerpAssetType = exports.PerpAssetTimezone = exports.PerpAssetIntervals = exports.PerpCoinTypes = exports.PerpTradesSide = exports.PerpEnum = void 0;
|
|
4
4
|
var PerpEnum;
|
|
5
5
|
(function (PerpEnum) {
|
|
6
6
|
PerpEnum["L2BOOK"] = "l2Book";
|
|
@@ -30,23 +30,23 @@ var PerpCoinTypes;
|
|
|
30
30
|
PerpCoinTypes["L2"] = "l2";
|
|
31
31
|
PerpCoinTypes["MEME"] = "meme";
|
|
32
32
|
})(PerpCoinTypes || (exports.PerpCoinTypes = PerpCoinTypes = {}));
|
|
33
|
-
var
|
|
34
|
-
(function (
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
})(
|
|
33
|
+
var PerpAssetIntervals;
|
|
34
|
+
(function (PerpAssetIntervals) {
|
|
35
|
+
PerpAssetIntervals["ONE_MINUTE"] = "1";
|
|
36
|
+
PerpAssetIntervals["THREE_MINUTES"] = "3";
|
|
37
|
+
PerpAssetIntervals["FIVE_MINUTES"] = "5";
|
|
38
|
+
PerpAssetIntervals["FIFTEEN_MINUTES"] = "15";
|
|
39
|
+
PerpAssetIntervals["THIRTY_MINUTES"] = "30";
|
|
40
|
+
PerpAssetIntervals["ONE_HOUR"] = "60";
|
|
41
|
+
PerpAssetIntervals["TWO_HOURS"] = "120";
|
|
42
|
+
PerpAssetIntervals["FOUR_HOURS"] = "240";
|
|
43
|
+
PerpAssetIntervals["EIGHT_HOURS"] = "480";
|
|
44
|
+
PerpAssetIntervals["TWELVE_HOURS"] = "720";
|
|
45
|
+
PerpAssetIntervals["ONE_DAY"] = "1D";
|
|
46
|
+
PerpAssetIntervals["THREE_DAYS"] = "3D";
|
|
47
|
+
PerpAssetIntervals["ONE_WEEK"] = "1W";
|
|
48
|
+
PerpAssetIntervals["ONE_MONTH"] = "1M";
|
|
49
|
+
})(PerpAssetIntervals || (exports.PerpAssetIntervals = PerpAssetIntervals = {}));
|
|
50
50
|
var PerpAssetTimezone;
|
|
51
51
|
(function (PerpAssetTimezone) {
|
|
52
52
|
PerpAssetTimezone["UTC"] = "UTC";
|