@xoxno/types 1.0.327 → 1.0.329
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.
|
@@ -30,11 +30,16 @@ export declare class EventLocationDto {
|
|
|
30
30
|
placeId?: string;
|
|
31
31
|
lat?: number;
|
|
32
32
|
long?: number;
|
|
33
|
+
geo?: GeoPointDto;
|
|
33
34
|
instructions?: string;
|
|
34
35
|
onlineLink?: string;
|
|
35
36
|
city?: string;
|
|
36
37
|
country?: string;
|
|
37
38
|
}
|
|
39
|
+
export declare class GeoPointDto {
|
|
40
|
+
type?: string;
|
|
41
|
+
coordinates?: number[];
|
|
42
|
+
}
|
|
38
43
|
declare type RegistrationDetailsCreateDto_base = Pick<RegistrationDetailsDto, "maxLimit" | "userLimit" | "visibility" | "requireKYC" | "requireName" | "requireEmail" | "requirePhoneNumber" | "isPublished" | "hasSideEvents" | "hasWaitlist" | "showGuestCount" | "refundable" | "nameWithNumber" | "botProtection">;
|
|
39
44
|
export declare type RegistrationDetailsCreateDto = RegistrationDetailsCreateDto_base ;
|
|
40
45
|
declare const RegistrationDetailsCreateDtoNest_base: import("@nestjs/common").Type<Pick<RegistrationDetailsDto, "maxLimit" | "userLimit" | "visibility" | "requireKYC" | "requireName" | "requireEmail" | "requirePhoneNumber" | "isPublished" | "hasSideEvents" | "hasWaitlist" | "showGuestCount" | "refundable" | "nameWithNumber" | "botProtection">>;
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.EventProfileCreateDto = exports.EventLocationDto = exports.RegistrationDetailsDto = exports.EventSeoDto = void 0;
|
|
12
|
+
exports.EventProfileCreateDto = exports.GeoPointDto = exports.EventLocationDto = exports.RegistrationDetailsDto = exports.EventSeoDto = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const ticketing_visibility_enum_1 = require("../../../enums/ticketing-visibility.enum");
|
|
@@ -214,6 +214,14 @@ __decorate([
|
|
|
214
214
|
(0, class_validator_1.IsOptional)(),
|
|
215
215
|
__metadata("design:type", Number)
|
|
216
216
|
], EventLocationDto.prototype, "long", void 0);
|
|
217
|
+
__decorate([
|
|
218
|
+
(0, swagger_1.ApiProperty)({ required: false }),
|
|
219
|
+
(0, class_validator_1.IsObject)(),
|
|
220
|
+
(0, class_validator_1.ValidateNested)(),
|
|
221
|
+
(0, class_validator_1.IsOptional)(),
|
|
222
|
+
(0, class_transformer_1.Type)(() => GeoPointDto),
|
|
223
|
+
__metadata("design:type", GeoPointDto)
|
|
224
|
+
], EventLocationDto.prototype, "geo", void 0);
|
|
217
225
|
__decorate([
|
|
218
226
|
(0, swagger_1.ApiProperty)({ required: false }),
|
|
219
227
|
(0, class_validator_1.IsString)(),
|
|
@@ -242,6 +250,23 @@ __decorate([
|
|
|
242
250
|
(0, class_validator_1.IsOptional)(),
|
|
243
251
|
__metadata("design:type", String)
|
|
244
252
|
], EventLocationDto.prototype, "country", void 0);
|
|
253
|
+
class GeoPointDto {
|
|
254
|
+
}
|
|
255
|
+
exports.GeoPointDto = GeoPointDto;
|
|
256
|
+
__decorate([
|
|
257
|
+
(0, swagger_1.ApiProperty)({ required: false }),
|
|
258
|
+
(0, class_validator_1.IsString)(),
|
|
259
|
+
(0, class_validator_1.IsOptional)(),
|
|
260
|
+
__metadata("design:type", String)
|
|
261
|
+
], GeoPointDto.prototype, "type", void 0);
|
|
262
|
+
__decorate([
|
|
263
|
+
(0, swagger_1.ApiProperty)({ required: false }),
|
|
264
|
+
(0, class_validator_1.IsArray)(),
|
|
265
|
+
(0, class_validator_1.IsNumber)({}, { each: true }),
|
|
266
|
+
(0, class_validator_1.IsOptional)(),
|
|
267
|
+
(0, class_validator_1.ArrayMaxSize)(2),
|
|
268
|
+
__metadata("design:type", Array)
|
|
269
|
+
], GeoPointDto.prototype, "coordinates", void 0);
|
|
245
270
|
class RegistrationDetailsCreateDto extends (0, swagger_1.PickType)(RegistrationDetailsDto, [
|
|
246
271
|
'visibility',
|
|
247
272
|
'maxLimit',
|
|
@@ -66,7 +66,6 @@ export declare class Web3DataAssetPositionCumFunding {
|
|
|
66
66
|
sinceOpen: string;
|
|
67
67
|
}
|
|
68
68
|
export declare class Web3DataAssetPositionLeverage {
|
|
69
|
-
rawUsd: string;
|
|
70
69
|
type: PerpPositionLeverageType;
|
|
71
70
|
value: number;
|
|
72
71
|
}
|
|
@@ -81,6 +80,7 @@ export declare class Web3DataAssetPositionPosition {
|
|
|
81
80
|
szi: string;
|
|
82
81
|
unrealizedPnl: string;
|
|
83
82
|
cumFunding: Web3DataAssetPositionCumFunding;
|
|
83
|
+
leverage: Web3DataAssetPositionLeverage;
|
|
84
84
|
}
|
|
85
85
|
export declare class Web3DataAssetPosition {
|
|
86
86
|
position: Web3DataAssetPositionPosition;
|
|
@@ -203,10 +203,6 @@ __decorate([
|
|
|
203
203
|
class Web3DataAssetPositionLeverage {
|
|
204
204
|
}
|
|
205
205
|
exports.Web3DataAssetPositionLeverage = Web3DataAssetPositionLeverage;
|
|
206
|
-
__decorate([
|
|
207
|
-
(0, swagger_1.ApiProperty)(),
|
|
208
|
-
__metadata("design:type", String)
|
|
209
|
-
], Web3DataAssetPositionLeverage.prototype, "rawUsd", void 0);
|
|
210
206
|
__decorate([
|
|
211
207
|
(0, swagger_1.ApiProperty)(),
|
|
212
208
|
__metadata("design:type", String)
|
|
@@ -258,6 +254,10 @@ __decorate([
|
|
|
258
254
|
(0, swagger_1.ApiProperty)(),
|
|
259
255
|
__metadata("design:type", Web3DataAssetPositionCumFunding)
|
|
260
256
|
], Web3DataAssetPositionPosition.prototype, "cumFunding", void 0);
|
|
257
|
+
__decorate([
|
|
258
|
+
(0, swagger_1.ApiProperty)(),
|
|
259
|
+
__metadata("design:type", Web3DataAssetPositionLeverage)
|
|
260
|
+
], Web3DataAssetPositionPosition.prototype, "leverage", void 0);
|
|
261
261
|
class Web3DataAssetPosition {
|
|
262
262
|
}
|
|
263
263
|
exports.Web3DataAssetPosition = Web3DataAssetPosition;
|