expo-backend-types 0.49.0-EXPO-343-Quique-Wolff.3 → 0.49.0-EXPO-350-ExpoBackend-Estadisticas-de-evento.11
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/src/event/dto/create-event.dto.d.ts +23 -72
- package/dist/src/event/dto/create-event.dto.js +1 -7
- package/dist/src/event/dto/delete-event.dto.d.ts +0 -18
- package/dist/src/event/dto/event-tickets.dto.d.ts +33 -2
- package/dist/src/event/dto/event-tickets.dto.js +18 -8
- package/dist/src/event/dto/event.dto.d.ts +0 -9
- package/dist/src/event/dto/event.dto.js +0 -13
- package/dist/src/event/dto/get-active-events.dto.d.ts +23 -33
- package/dist/src/event/dto/get-all-event.dto.d.ts +48 -272
- package/dist/src/event/dto/get-all-event.dto.js +2 -2
- package/dist/src/event/dto/get-all-statistics.dto.d.ts +364 -0
- package/dist/src/event/dto/get-all-statistics.dto.js +40 -0
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +23 -99
- package/dist/src/event/dto/get-statistics-by-id-event.dto.d.ts +264 -0
- package/dist/src/event/dto/get-statistics-by-id-event.dto.js +35 -0
- package/dist/src/event/dto/toggle-active-event.dto.d.ts +0 -9
- package/dist/src/event/dto/update-event.dto.d.ts +119 -140
- package/dist/src/event/dto/update-event.dto.js +3 -10
- package/dist/src/event-folder/dto/get-all-event-folder.dto.d.ts +0 -42
- package/dist/src/event-folder/dto/get-by-id-event-folder.dto.d.ts +0 -30
- package/dist/src/i18n/es.d.ts +8 -8
- package/dist/src/i18n/es.js +10 -8
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/mi-expo/dto/get-invitations.dto.d.ts +0 -3
- package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +0 -30
- package/dist/src/ticket/dto/create-ticket.dto.d.ts +0 -30
- package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +0 -3
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +0 -3
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +0 -42
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +0 -3
- package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +0 -42
- package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +0 -30
- package/dist/types/prisma-schema/edge.js +3 -6
- package/dist/types/prisma-schema/index-browser.js +0 -3
- package/dist/types/prisma-schema/index.d.ts +1 -214
- package/dist/types/prisma-schema/index.js +3 -6
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +6 -9
- package/dist/types/prisma-schema/wasm.js +0 -3
- package/dist/types/schema.d.ts +162 -358
- package/package.json +2 -1
- package/dist/src/event/dto/delete-banner-event.dto.d.ts +0 -18
- package/dist/src/event/dto/delete-banner-event.dto.js +0 -12
- package/dist/src/event/dto/delete-main-picture-event.dto.d.ts +0 -18
- package/dist/src/event/dto/delete-main-picture-event.dto.js +0 -12
- package/dist/src/event/dto/update-banner-event.dto.d.ts +0 -33
- package/dist/src/event/dto/update-banner-event.dto.js +0 -18
- package/dist/src/event/dto/update-main-picture-event.dto.d.ts +0 -33
- package/dist/src/event/dto/update-main-picture-event.dto.js +0 -18
- package/dist/src/profile/dto/delete-image-profile.dto.d.ts +0 -18
- package/dist/src/profile/dto/delete-image-profile.dto.js +0 -12
- package/dist/src/profile/dto/update-image-profile.dto.d.ts +0 -33
- package/dist/src/profile/dto/update-image-profile.dto.js +0 -18
@@ -1,25 +1,27 @@
|
|
1
1
|
import z from 'zod';
|
2
|
-
export declare const updateEventSchema: z.ZodObject<{
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
2
|
+
export declare const updateEventSchema: z.ZodObject<z.objectUtil.extendShape<Pick<{
|
3
|
+
id: z.ZodString;
|
4
|
+
name: z.ZodString;
|
5
|
+
date: z.ZodDate;
|
6
|
+
startingDate: z.ZodDate;
|
7
|
+
endingDate: z.ZodDate;
|
8
|
+
location: z.ZodString;
|
9
|
+
folderId: z.ZodNullable<z.ZodString>;
|
10
|
+
tagAssistedId: z.ZodString;
|
11
|
+
tagConfirmedId: z.ZodString;
|
12
|
+
active: z.ZodBoolean;
|
13
|
+
supraEventId: z.ZodNullable<z.ZodString>;
|
14
|
+
created_at: z.ZodDate;
|
15
|
+
updated_at: z.ZodDate;
|
16
|
+
}, "location" | "name" | "date" | "startingDate" | "endingDate" | "folderId">, {
|
17
|
+
tagsId: z.ZodArray<z.ZodString, "many">;
|
18
|
+
subEvents: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<{
|
14
19
|
id: z.ZodString;
|
15
20
|
name: z.ZodString;
|
16
21
|
date: z.ZodDate;
|
17
22
|
startingDate: z.ZodDate;
|
18
23
|
endingDate: z.ZodDate;
|
19
24
|
location: z.ZodString;
|
20
|
-
mainPictureUrl: z.ZodNullable<z.ZodString>;
|
21
|
-
bannerUrl: z.ZodNullable<z.ZodString>;
|
22
|
-
description: z.ZodNullable<z.ZodString>;
|
23
25
|
folderId: z.ZodNullable<z.ZodString>;
|
24
26
|
tagAssistedId: z.ZodString;
|
25
27
|
tagConfirmedId: z.ZodString;
|
@@ -27,30 +29,24 @@ export declare const updateEventSchema: z.ZodObject<{
|
|
27
29
|
supraEventId: z.ZodNullable<z.ZodString>;
|
28
30
|
created_at: z.ZodDate;
|
29
31
|
updated_at: z.ZodDate;
|
30
|
-
}, "
|
32
|
+
}, "location" | "name" | "date" | "startingDate" | "endingDate">, {
|
31
33
|
id: z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>;
|
32
34
|
}>, "strip", z.ZodTypeAny, {
|
33
|
-
description: string | null;
|
34
35
|
location: string;
|
35
36
|
id: string;
|
36
37
|
name: string;
|
37
38
|
date: Date;
|
38
39
|
startingDate: Date;
|
39
40
|
endingDate: Date;
|
40
|
-
mainPictureUrl: string | null;
|
41
|
-
bannerUrl: string | null;
|
42
41
|
}, {
|
43
|
-
description: string | null;
|
44
42
|
location: string;
|
45
43
|
id: string;
|
46
44
|
name: string;
|
47
45
|
date: Date;
|
48
46
|
startingDate: Date;
|
49
47
|
endingDate: Date;
|
50
|
-
|
51
|
-
|
52
|
-
}>, "many">>;
|
53
|
-
eventTickets: z.ZodOptional<z.ZodArray<z.ZodObject<Omit<{
|
48
|
+
}>, "many">;
|
49
|
+
eventTickets: z.ZodArray<z.ZodEffects<z.ZodObject<Omit<{
|
54
50
|
id: z.ZodString;
|
55
51
|
amount: z.ZodNullable<z.ZodNumber>;
|
56
52
|
type: z.ZodNativeEnum<{
|
@@ -67,113 +63,98 @@ export declare const updateEventSchema: z.ZodObject<{
|
|
67
63
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
68
64
|
amount: number | null;
|
69
65
|
price: number | null;
|
70
|
-
}>,
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
66
|
+
}>, {
|
67
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
68
|
+
amount: number | null;
|
69
|
+
price: number | null;
|
70
|
+
}, {
|
71
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
72
|
+
amount: number | null;
|
73
|
+
price: number | null;
|
74
|
+
}>, "many">;
|
75
|
+
}>, "strip", z.ZodTypeAny, {
|
76
|
+
location: string;
|
77
|
+
name: string;
|
78
|
+
date: Date;
|
79
|
+
startingDate: Date;
|
80
|
+
endingDate: Date;
|
81
|
+
folderId: string | null;
|
82
|
+
subEvents: {
|
83
83
|
location: string;
|
84
84
|
id: string;
|
85
85
|
name: string;
|
86
86
|
date: Date;
|
87
87
|
startingDate: Date;
|
88
88
|
endingDate: Date;
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
tagsId?: string[] | undefined;
|
93
|
-
eventTickets?: {
|
89
|
+
}[];
|
90
|
+
tagsId: string[];
|
91
|
+
eventTickets: {
|
94
92
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
95
93
|
amount: number | null;
|
96
94
|
price: number | null;
|
97
|
-
}[]
|
95
|
+
}[];
|
98
96
|
}, {
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
bannerUrl?: string | null | undefined;
|
107
|
-
folderId?: string | null | undefined;
|
108
|
-
subEvents?: {
|
109
|
-
description: string | null;
|
97
|
+
location: string;
|
98
|
+
name: string;
|
99
|
+
date: Date;
|
100
|
+
startingDate: Date;
|
101
|
+
endingDate: Date;
|
102
|
+
folderId: string | null;
|
103
|
+
subEvents: {
|
110
104
|
location: string;
|
111
105
|
id: string;
|
112
106
|
name: string;
|
113
107
|
date: Date;
|
114
108
|
startingDate: Date;
|
115
109
|
endingDate: Date;
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
tagsId?: string[] | undefined;
|
120
|
-
eventTickets?: {
|
110
|
+
}[];
|
111
|
+
tagsId: string[];
|
112
|
+
eventTickets: {
|
121
113
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
122
114
|
amount: number | null;
|
123
115
|
price: number | null;
|
124
|
-
}[]
|
116
|
+
}[];
|
125
117
|
}>;
|
126
118
|
declare const UpdateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
folderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
136
|
-
tagsId: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
137
|
-
subEvents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
138
|
-
description: z.ZodNullable<z.ZodString>;
|
119
|
+
location: z.ZodString;
|
120
|
+
name: z.ZodString;
|
121
|
+
date: z.ZodString;
|
122
|
+
startingDate: z.ZodString;
|
123
|
+
endingDate: z.ZodString;
|
124
|
+
folderId: z.ZodNullable<z.ZodString>;
|
125
|
+
tagsId: z.ZodArray<z.ZodString, "many">;
|
126
|
+
subEvents: z.ZodArray<z.ZodObject<{
|
139
127
|
location: z.ZodString;
|
140
128
|
name: z.ZodString;
|
141
129
|
date: z.ZodString;
|
142
130
|
startingDate: z.ZodString;
|
143
131
|
endingDate: z.ZodString;
|
144
|
-
mainPictureUrl: z.ZodNullable<z.ZodString>;
|
145
|
-
bannerUrl: z.ZodNullable<z.ZodString>;
|
146
132
|
id: z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>;
|
147
133
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
148
|
-
description: string | null;
|
149
134
|
location: string;
|
150
135
|
id: string;
|
151
136
|
name: string;
|
152
137
|
date: string;
|
153
138
|
startingDate: string;
|
154
139
|
endingDate: string;
|
155
|
-
mainPictureUrl: string | null;
|
156
|
-
bannerUrl: string | null;
|
157
140
|
}, {
|
158
|
-
description: string | null;
|
159
141
|
location: string;
|
160
142
|
id: string;
|
161
143
|
name: string;
|
162
144
|
date: string;
|
163
145
|
startingDate: string;
|
164
146
|
endingDate: string;
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
147
|
+
}>, "many">;
|
148
|
+
eventTickets: z.ZodArray<z.ZodEffects<z.ZodObject<Omit<{
|
149
|
+
id: z.ZodString;
|
150
|
+
amount: z.ZodNullable<z.ZodNumber>;
|
169
151
|
type: z.ZodNativeEnum<{
|
170
152
|
PARTICIPANT: "PARTICIPANT";
|
171
153
|
STAFF: "STAFF";
|
172
154
|
SPECTATOR: "SPECTATOR";
|
173
155
|
}>;
|
174
|
-
amount: z.ZodNullable<z.ZodNumber>;
|
175
156
|
price: z.ZodNullable<z.ZodNumber>;
|
176
|
-
},
|
157
|
+
}, "id">, "strip", z.ZodTypeAny, {
|
177
158
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
178
159
|
amount: number | null;
|
179
160
|
price: number | null;
|
@@ -181,61 +162,57 @@ declare const UpdateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.
|
|
181
162
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
182
163
|
amount: number | null;
|
183
164
|
price: number | null;
|
184
|
-
}>,
|
165
|
+
}>, {
|
166
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
167
|
+
amount: number | null;
|
168
|
+
price: number | null;
|
169
|
+
}, {
|
170
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
171
|
+
amount: number | null;
|
172
|
+
price: number | null;
|
173
|
+
}>, "many">;
|
185
174
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
bannerUrl?: string | null | undefined;
|
194
|
-
folderId?: string | null | undefined;
|
195
|
-
subEvents?: {
|
196
|
-
description: string | null;
|
175
|
+
location: string;
|
176
|
+
name: string;
|
177
|
+
date: string;
|
178
|
+
startingDate: string;
|
179
|
+
endingDate: string;
|
180
|
+
folderId: string | null;
|
181
|
+
subEvents: {
|
197
182
|
location: string;
|
198
183
|
id: string;
|
199
184
|
name: string;
|
200
185
|
date: string;
|
201
186
|
startingDate: string;
|
202
187
|
endingDate: string;
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
tagsId?: string[] | undefined;
|
207
|
-
eventTickets?: {
|
188
|
+
}[];
|
189
|
+
tagsId: string[];
|
190
|
+
eventTickets: {
|
208
191
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
209
192
|
amount: number | null;
|
210
193
|
price: number | null;
|
211
|
-
}[]
|
194
|
+
}[];
|
212
195
|
}, {
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
bannerUrl?: string | null | undefined;
|
221
|
-
folderId?: string | null | undefined;
|
222
|
-
subEvents?: {
|
223
|
-
description: string | null;
|
196
|
+
location: string;
|
197
|
+
name: string;
|
198
|
+
date: string;
|
199
|
+
startingDate: string;
|
200
|
+
endingDate: string;
|
201
|
+
folderId: string | null;
|
202
|
+
subEvents: {
|
224
203
|
location: string;
|
225
204
|
id: string;
|
226
205
|
name: string;
|
227
206
|
date: string;
|
228
207
|
startingDate: string;
|
229
208
|
endingDate: string;
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
tagsId?: string[] | undefined;
|
234
|
-
eventTickets?: {
|
209
|
+
}[];
|
210
|
+
tagsId: string[];
|
211
|
+
eventTickets: {
|
235
212
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
236
213
|
amount: number | null;
|
237
214
|
price: number | null;
|
238
|
-
}[]
|
215
|
+
}[];
|
239
216
|
}>>;
|
240
217
|
export declare class UpdateEventDto extends UpdateEventDto_base {
|
241
218
|
}
|
@@ -246,9 +223,6 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
|
|
246
223
|
startingDate: z.ZodDate;
|
247
224
|
endingDate: z.ZodDate;
|
248
225
|
location: z.ZodString;
|
249
|
-
mainPictureUrl: z.ZodNullable<z.ZodString>;
|
250
|
-
bannerUrl: z.ZodNullable<z.ZodString>;
|
251
|
-
description: z.ZodNullable<z.ZodString>;
|
252
226
|
folderId: z.ZodNullable<z.ZodString>;
|
253
227
|
tagAssistedId: z.ZodString;
|
254
228
|
tagConfirmedId: z.ZodString;
|
@@ -323,7 +297,7 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
|
|
323
297
|
isExclusive: boolean;
|
324
298
|
};
|
325
299
|
}>;
|
326
|
-
eventTickets: z.ZodArray<z.ZodObject<{
|
300
|
+
eventTickets: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
327
301
|
id: z.ZodString;
|
328
302
|
amount: z.ZodNullable<z.ZodNumber>;
|
329
303
|
type: z.ZodNativeEnum<{
|
@@ -342,9 +316,18 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
|
|
342
316
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
343
317
|
amount: number | null;
|
344
318
|
price: number | null;
|
319
|
+
}>, {
|
320
|
+
id: string;
|
321
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
322
|
+
amount: number | null;
|
323
|
+
price: number | null;
|
324
|
+
}, {
|
325
|
+
id: string;
|
326
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
327
|
+
amount: number | null;
|
328
|
+
price: number | null;
|
345
329
|
}>, "many">;
|
346
330
|
}>, "strip", z.ZodTypeAny, {
|
347
|
-
description: string | null;
|
348
331
|
location: string;
|
349
332
|
id: string;
|
350
333
|
name: string;
|
@@ -354,8 +337,6 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
|
|
354
337
|
created_at: Date;
|
355
338
|
updated_at: Date;
|
356
339
|
active: boolean;
|
357
|
-
mainPictureUrl: string | null;
|
358
|
-
bannerUrl: string | null;
|
359
340
|
folderId: string | null;
|
360
341
|
tagAssistedId: string;
|
361
342
|
tagConfirmedId: string;
|
@@ -383,7 +364,6 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
|
|
383
364
|
};
|
384
365
|
};
|
385
366
|
}, {
|
386
|
-
description: string | null;
|
387
367
|
location: string;
|
388
368
|
id: string;
|
389
369
|
name: string;
|
@@ -393,8 +373,6 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
|
|
393
373
|
created_at: Date;
|
394
374
|
updated_at: Date;
|
395
375
|
active: boolean;
|
396
|
-
mainPictureUrl: string | null;
|
397
|
-
bannerUrl: string | null;
|
398
376
|
folderId: string | null;
|
399
377
|
tagAssistedId: string;
|
400
378
|
tagConfirmedId: string;
|
@@ -429,9 +407,6 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
429
407
|
startingDate: z.ZodString;
|
430
408
|
endingDate: z.ZodString;
|
431
409
|
location: z.ZodString;
|
432
|
-
mainPictureUrl: z.ZodNullable<z.ZodString>;
|
433
|
-
bannerUrl: z.ZodNullable<z.ZodString>;
|
434
|
-
description: z.ZodNullable<z.ZodString>;
|
435
410
|
folderId: z.ZodNullable<z.ZodString>;
|
436
411
|
tagAssistedId: z.ZodString;
|
437
412
|
tagConfirmedId: z.ZodString;
|
@@ -504,7 +479,7 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
504
479
|
isExclusive: boolean;
|
505
480
|
};
|
506
481
|
}>;
|
507
|
-
eventTickets: z.ZodArray<z.ZodObject<{
|
482
|
+
eventTickets: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
508
483
|
id: z.ZodString;
|
509
484
|
amount: z.ZodNullable<z.ZodNumber>;
|
510
485
|
type: z.ZodNativeEnum<{
|
@@ -513,7 +488,17 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
513
488
|
SPECTATOR: "SPECTATOR";
|
514
489
|
}>;
|
515
490
|
price: z.ZodNullable<z.ZodNumber>;
|
516
|
-
},
|
491
|
+
}, "strip", z.ZodTypeAny, {
|
492
|
+
id: string;
|
493
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
494
|
+
amount: number | null;
|
495
|
+
price: number | null;
|
496
|
+
}, {
|
497
|
+
id: string;
|
498
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
499
|
+
amount: number | null;
|
500
|
+
price: number | null;
|
501
|
+
}>, {
|
517
502
|
id: string;
|
518
503
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
519
504
|
amount: number | null;
|
@@ -525,7 +510,6 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
525
510
|
price: number | null;
|
526
511
|
}>, "many">;
|
527
512
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
528
|
-
description: string | null;
|
529
513
|
location: string;
|
530
514
|
id: string;
|
531
515
|
name: string;
|
@@ -535,8 +519,6 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
535
519
|
created_at: string;
|
536
520
|
updated_at: string;
|
537
521
|
active: boolean;
|
538
|
-
mainPictureUrl: string | null;
|
539
|
-
bannerUrl: string | null;
|
540
522
|
folderId: string | null;
|
541
523
|
tagAssistedId: string;
|
542
524
|
tagConfirmedId: string;
|
@@ -564,7 +546,6 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
564
546
|
};
|
565
547
|
};
|
566
548
|
}, {
|
567
|
-
description: string | null;
|
568
549
|
location: string;
|
569
550
|
id: string;
|
570
551
|
name: string;
|
@@ -574,8 +555,6 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
574
555
|
created_at: string;
|
575
556
|
updated_at: string;
|
576
557
|
active: boolean;
|
577
|
-
mainPictureUrl: string | null;
|
578
|
-
bannerUrl: string | null;
|
579
558
|
folderId: string | null;
|
580
559
|
tagAssistedId: string;
|
581
560
|
tagConfirmedId: string;
|
@@ -18,9 +18,6 @@ exports.updateEventSchema = event_dto_1.eventSchema
|
|
18
18
|
location: true,
|
19
19
|
startingDate: true,
|
20
20
|
endingDate: true,
|
21
|
-
bannerUrl: true,
|
22
|
-
mainPictureUrl: true,
|
23
|
-
description: true,
|
24
21
|
})
|
25
22
|
.merge(zod_1.default.object({
|
26
23
|
tagsId: zod_1.default.array(tag_dto_1.tagSchema.shape.id),
|
@@ -31,18 +28,14 @@ exports.updateEventSchema = event_dto_1.eventSchema
|
|
31
28
|
date: true,
|
32
29
|
startingDate: true,
|
33
30
|
endingDate: true,
|
34
|
-
bannerUrl: true,
|
35
|
-
mainPictureUrl: true,
|
36
|
-
description: true,
|
37
31
|
})
|
38
32
|
.extend({
|
39
33
|
id: event_dto_1.eventSchema.shape.id.or(zod_1.default.literal('')),
|
40
34
|
})),
|
41
|
-
eventTickets: zod_1.default.array(event_tickets_dto_1.
|
35
|
+
eventTickets: zod_1.default.array((0, event_tickets_dto_1.addEventTicketRefinements)(event_tickets_dto_1.baseEventTicketsSchema.omit({
|
42
36
|
id: true,
|
43
|
-
})),
|
44
|
-
}))
|
45
|
-
.partial();
|
37
|
+
}))),
|
38
|
+
}));
|
46
39
|
class UpdateEventDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateEventSchema) {
|
47
40
|
}
|
48
41
|
exports.UpdateEventDto = UpdateEventDto;
|