@xoxno/types 1.0.328 → 1.0.330
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.
|
@@ -25,11 +25,16 @@ export declare class RegistrationDetailsDto {
|
|
|
25
25
|
hasCustomQuestions?: boolean;
|
|
26
26
|
emailSender?: string;
|
|
27
27
|
}
|
|
28
|
+
export declare class GeoPointDto {
|
|
29
|
+
type?: string;
|
|
30
|
+
coordinates?: number[];
|
|
31
|
+
}
|
|
28
32
|
export declare class EventLocationDto {
|
|
29
33
|
address?: string;
|
|
30
34
|
placeId?: string;
|
|
31
35
|
lat?: number;
|
|
32
36
|
long?: number;
|
|
37
|
+
geo?: GeoPointDto;
|
|
33
38
|
instructions?: string;
|
|
34
39
|
onlineLink?: string;
|
|
35
40
|
city?: string;
|
|
@@ -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.EventLocationDto = exports.GeoPointDto = 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");
|
|
@@ -172,6 +172,23 @@ __decorate([
|
|
|
172
172
|
(0, class_validator_1.IsOptional)(),
|
|
173
173
|
__metadata("design:type", String)
|
|
174
174
|
], RegistrationDetailsDto.prototype, "emailSender", void 0);
|
|
175
|
+
class GeoPointDto {
|
|
176
|
+
}
|
|
177
|
+
exports.GeoPointDto = GeoPointDto;
|
|
178
|
+
__decorate([
|
|
179
|
+
(0, swagger_1.ApiProperty)({ required: false }),
|
|
180
|
+
(0, class_validator_1.IsString)(),
|
|
181
|
+
(0, class_validator_1.IsOptional)(),
|
|
182
|
+
__metadata("design:type", String)
|
|
183
|
+
], GeoPointDto.prototype, "type", void 0);
|
|
184
|
+
__decorate([
|
|
185
|
+
(0, swagger_1.ApiProperty)({ required: false }),
|
|
186
|
+
(0, class_validator_1.IsArray)(),
|
|
187
|
+
(0, class_validator_1.IsNumber)({}, { each: true }),
|
|
188
|
+
(0, class_validator_1.IsOptional)(),
|
|
189
|
+
(0, class_validator_1.ArrayMaxSize)(2),
|
|
190
|
+
__metadata("design:type", Array)
|
|
191
|
+
], GeoPointDto.prototype, "coordinates", void 0);
|
|
175
192
|
class EventLocationDto {
|
|
176
193
|
}
|
|
177
194
|
exports.EventLocationDto = EventLocationDto;
|
|
@@ -214,6 +231,14 @@ __decorate([
|
|
|
214
231
|
(0, class_validator_1.IsOptional)(),
|
|
215
232
|
__metadata("design:type", Number)
|
|
216
233
|
], EventLocationDto.prototype, "long", void 0);
|
|
234
|
+
__decorate([
|
|
235
|
+
(0, swagger_1.ApiProperty)({ required: false }),
|
|
236
|
+
(0, class_validator_1.IsObject)(),
|
|
237
|
+
(0, class_validator_1.ValidateNested)(),
|
|
238
|
+
(0, class_validator_1.IsOptional)(),
|
|
239
|
+
(0, class_transformer_1.Type)(() => GeoPointDto),
|
|
240
|
+
__metadata("design:type", GeoPointDto)
|
|
241
|
+
], EventLocationDto.prototype, "geo", void 0);
|
|
217
242
|
__decorate([
|
|
218
243
|
(0, swagger_1.ApiProperty)({ required: false }),
|
|
219
244
|
(0, class_validator_1.IsString)(),
|