@xoxno/types 1.0.162 → 1.0.163
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-guest.doc.d.ts +1 -1
- package/dist/cosmos-db/documents/ticketing/event-invitation.doc.d.ts +2 -1
- package/dist/cosmos-db/documents/ticketing/event-profile-edit.dto.d.ts +4 -1
- package/dist/cosmos-db/documents/ticketing/event-profile-edit.dto.js +23 -0
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ export declare class EventGuestCheckIn {
|
|
|
14
14
|
transactionId?: string;
|
|
15
15
|
}
|
|
16
16
|
export declare class EventGuestCheckInHydrated extends EventGuestCheckIn {
|
|
17
|
-
nft
|
|
17
|
+
nft?: ShortNftEventDoc;
|
|
18
18
|
}
|
|
19
19
|
declare class EventGuestRegistration {
|
|
20
20
|
email?: string;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { EventInvitationStatus } from '../../../enums/event-invitation-status.enum';
|
|
2
2
|
import { TicketingDataType } from '../../../enums/ticketing-data-type.enum';
|
|
3
3
|
import { TicketProfileSummary } from './event-ticket-profile.doc';
|
|
4
|
+
import { TicketsType } from './event-ticket-qr-type.enum';
|
|
4
5
|
export declare class EventInvitationDoc {
|
|
5
6
|
dataType: TicketingDataType;
|
|
6
7
|
eventId: string;
|
|
7
8
|
name?: string;
|
|
8
9
|
email?: string;
|
|
9
10
|
phone?: string;
|
|
10
|
-
tickets: TicketProfileSummary[];
|
|
11
|
+
tickets: TicketsType[] | TicketProfileSummary[];
|
|
11
12
|
startTime: number;
|
|
12
13
|
endTime: number;
|
|
13
14
|
createdAt: number;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { EventProfileCreateDto } from './event-profile-create.dto';
|
|
2
2
|
declare type EventProfileEditDto_base = Partial<EventProfileCreateDto>;
|
|
3
|
-
export declare type EventProfileEditDto = EventProfileEditDto_base
|
|
3
|
+
export declare type EventProfileEditDto = EventProfileEditDto_base & {
|
|
4
|
+
slug?: string;
|
|
5
|
+
};
|
|
4
6
|
declare const EventProfileEditDtoNest_base: import("@nestjs/common").Type<Partial<EventProfileCreateDto>>;
|
|
5
7
|
export declare class EventProfileEditDtoNest extends EventProfileEditDtoNest_base {
|
|
8
|
+
slug?: string;
|
|
6
9
|
}
|
|
7
10
|
export {};
|
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
12
|
exports.EventProfileEditDto = void 0;
|
|
4
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
5
14
|
const event_profile_create_dto_1 = require("./event-profile-create.dto");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
6
16
|
class EventProfileEditDto extends (0, swagger_1.PartialType)(event_profile_create_dto_1.EventProfileCreateDto) {
|
|
7
17
|
}
|
|
8
18
|
exports.EventProfileEditDto = EventProfileEditDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, swagger_1.ApiProperty)({
|
|
21
|
+
description: 'Unique slug for the event URL.',
|
|
22
|
+
required: false,
|
|
23
|
+
}),
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
(0, class_validator_1.Matches)(/^[a-z0-9-]+$/, {
|
|
26
|
+
message: 'Slug can only contain lowercase letters, numbers, and hyphens',
|
|
27
|
+
}),
|
|
28
|
+
(0, class_validator_1.Length)(3, 20),
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], EventProfileEditDto.prototype, "slug", void 0);
|
|
9
32
|
|
|
10
33
|
exports.EventProfileEditDtoNest = EventProfileEditDto;
|