@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.
@@ -32,6 +32,7 @@ export declare class EventProfileDoc {
32
32
  isVirtualEvent: boolean;
33
33
  slug?: string;
34
34
  profile: string;
35
+ profileBlurhash?: string;
35
36
  category: EventCategory;
36
37
  subCategory?: EventSubCategory;
37
38
  background?: string;
@@ -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: string[];
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: string;
26
- timezone: string;
27
- exchange: string;
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: string[];
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;
@@ -24,7 +24,7 @@ export declare enum PerpCoinTypes {
24
24
  L2 = "l2",
25
25
  MEME = "meme"
26
26
  }
27
- export declare enum PerpChartIntervals {
27
+ export declare enum PerpAssetIntervals {
28
28
  ONE_MINUTE = "1",
29
29
  THREE_MINUTES = "3",
30
30
  FIVE_MINUTES = "5",
@@ -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.PerpChartIntervals = exports.PerpCoinTypes = exports.PerpTradesSide = exports.PerpEnum = void 0;
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 PerpChartIntervals;
34
- (function (PerpChartIntervals) {
35
- PerpChartIntervals["ONE_MINUTE"] = "1";
36
- PerpChartIntervals["THREE_MINUTES"] = "3";
37
- PerpChartIntervals["FIVE_MINUTES"] = "5";
38
- PerpChartIntervals["FIFTEEN_MINUTES"] = "15";
39
- PerpChartIntervals["THIRTY_MINUTES"] = "30";
40
- PerpChartIntervals["ONE_HOUR"] = "60";
41
- PerpChartIntervals["TWO_HOURS"] = "120";
42
- PerpChartIntervals["FOUR_HOURS"] = "240";
43
- PerpChartIntervals["EIGHT_HOURS"] = "480";
44
- PerpChartIntervals["TWELVE_HOURS"] = "720";
45
- PerpChartIntervals["ONE_DAY"] = "1D";
46
- PerpChartIntervals["THREE_DAYS"] = "3D";
47
- PerpChartIntervals["ONE_WEEK"] = "1W";
48
- PerpChartIntervals["ONE_MONTH"] = "1M";
49
- })(PerpChartIntervals || (exports.PerpChartIntervals = PerpChartIntervals = {}));
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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.297",
3
+ "version": "1.0.299",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {