expo-backend-types 0.48.0 → 0.49.0-EXPO-345-ExpoBackend-Agregar-los-nuevos-requerimientos-a-las-rutas.2
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 +72 -23
- package/dist/src/event/dto/create-event.dto.js +7 -1
- package/dist/src/event/dto/delete-banner-event.dto.d.ts +18 -0
- package/dist/src/event/dto/delete-banner-event.dto.js +12 -0
- package/dist/src/event/dto/delete-event.dto.d.ts +18 -0
- package/dist/src/event/dto/delete-main-picture-event.dto.d.ts +18 -0
- package/dist/src/event/dto/delete-main-picture-event.dto.js +12 -0
- package/dist/src/event/dto/event-tickets.dto.d.ts +2 -33
- package/dist/src/event/dto/event-tickets.dto.js +8 -18
- package/dist/src/event/dto/event.dto.d.ts +9 -0
- package/dist/src/event/dto/event.dto.js +13 -0
- package/dist/src/event/dto/get-active-events.dto.d.ts +33 -23
- package/dist/src/event/dto/get-all-event.dto.d.ts +272 -48
- package/dist/src/event/dto/get-all-event.dto.js +2 -2
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +99 -23
- package/dist/src/event/dto/toggle-active-event.dto.d.ts +9 -0
- package/dist/src/event/dto/update-banner-event.dto.d.ts +33 -0
- package/dist/src/event/dto/update-banner-event.dto.js +18 -0
- package/dist/src/event/dto/update-event.dto.d.ts +75 -46
- package/dist/src/event/dto/update-event.dto.js +8 -2
- package/dist/src/event/dto/update-main-picture-event.dto.d.ts +33 -0
- package/dist/src/event/dto/update-main-picture-event.dto.js +18 -0
- package/dist/src/event-folder/dto/get-all-event-folder.dto.d.ts +42 -0
- package/dist/src/event-folder/dto/get-by-id-event-folder.dto.d.ts +30 -0
- package/dist/src/i18n/es.d.ts +7 -1
- package/dist/src/i18n/es.js +7 -3
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/mi-expo/dto/get-invitations.dto.d.ts +3 -0
- package/dist/src/profile/dto/delete-image-profile.dto.d.ts +18 -0
- package/dist/src/profile/dto/delete-image-profile.dto.js +12 -0
- package/dist/src/profile/dto/update-image-profile.dto.d.ts +33 -0
- package/dist/src/profile/dto/update-image-profile.dto.js +18 -0
- package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +30 -0
- package/dist/src/ticket/dto/create-ticket.dto.d.ts +30 -0
- package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +3 -0
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +3 -0
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +42 -0
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +3 -0
- package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +42 -0
- package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +30 -0
- package/dist/types/prisma-schema/edge.js +6 -3
- package/dist/types/prisma-schema/index-browser.js +3 -0
- package/dist/types/prisma-schema/index.d.ts +214 -1
- package/dist/types/prisma-schema/index.js +6 -3
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +9 -6
- package/dist/types/prisma-schema/wasm.js +3 -0
- package/dist/types/schema.d.ts +383 -63
- package/package.json +1 -2
@@ -6,6 +6,9 @@ export declare const updateEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
|
|
6
6
|
startingDate: z.ZodDate;
|
7
7
|
endingDate: z.ZodDate;
|
8
8
|
location: z.ZodString;
|
9
|
+
mainPictureUrl: z.ZodNullable<z.ZodString>;
|
10
|
+
bannerUrl: z.ZodNullable<z.ZodString>;
|
11
|
+
description: z.ZodNullable<z.ZodString>;
|
9
12
|
folderId: z.ZodNullable<z.ZodString>;
|
10
13
|
tagAssistedId: z.ZodString;
|
11
14
|
tagConfirmedId: z.ZodString;
|
@@ -13,7 +16,7 @@ export declare const updateEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
|
|
13
16
|
supraEventId: z.ZodNullable<z.ZodString>;
|
14
17
|
created_at: z.ZodDate;
|
15
18
|
updated_at: z.ZodDate;
|
16
|
-
}, "location" | "name" | "date" | "startingDate" | "endingDate" | "folderId">, {
|
19
|
+
}, "description" | "location" | "name" | "date" | "startingDate" | "endingDate" | "mainPictureUrl" | "bannerUrl" | "folderId">, {
|
17
20
|
tagsId: z.ZodArray<z.ZodString, "many">;
|
18
21
|
subEvents: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<{
|
19
22
|
id: z.ZodString;
|
@@ -22,6 +25,9 @@ export declare const updateEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
|
|
22
25
|
startingDate: z.ZodDate;
|
23
26
|
endingDate: z.ZodDate;
|
24
27
|
location: z.ZodString;
|
28
|
+
mainPictureUrl: z.ZodNullable<z.ZodString>;
|
29
|
+
bannerUrl: z.ZodNullable<z.ZodString>;
|
30
|
+
description: z.ZodNullable<z.ZodString>;
|
25
31
|
folderId: z.ZodNullable<z.ZodString>;
|
26
32
|
tagAssistedId: z.ZodString;
|
27
33
|
tagConfirmedId: z.ZodString;
|
@@ -29,24 +35,30 @@ export declare const updateEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
|
|
29
35
|
supraEventId: z.ZodNullable<z.ZodString>;
|
30
36
|
created_at: z.ZodDate;
|
31
37
|
updated_at: z.ZodDate;
|
32
|
-
}, "location" | "name" | "date" | "startingDate" | "endingDate">, {
|
38
|
+
}, "description" | "location" | "name" | "date" | "startingDate" | "endingDate" | "mainPictureUrl" | "bannerUrl">, {
|
33
39
|
id: z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>;
|
34
40
|
}>, "strip", z.ZodTypeAny, {
|
41
|
+
description: string | null;
|
35
42
|
location: string;
|
36
43
|
id: string;
|
37
44
|
name: string;
|
38
45
|
date: Date;
|
39
46
|
startingDate: Date;
|
40
47
|
endingDate: Date;
|
48
|
+
mainPictureUrl: string | null;
|
49
|
+
bannerUrl: string | null;
|
41
50
|
}, {
|
51
|
+
description: string | null;
|
42
52
|
location: string;
|
43
53
|
id: string;
|
44
54
|
name: string;
|
45
55
|
date: Date;
|
46
56
|
startingDate: Date;
|
47
57
|
endingDate: Date;
|
58
|
+
mainPictureUrl: string | null;
|
59
|
+
bannerUrl: string | null;
|
48
60
|
}>, "many">;
|
49
|
-
eventTickets: z.ZodArray<z.
|
61
|
+
eventTickets: z.ZodArray<z.ZodObject<Omit<{
|
50
62
|
id: z.ZodString;
|
51
63
|
amount: z.ZodNullable<z.ZodNumber>;
|
52
64
|
type: z.ZodNativeEnum<{
|
@@ -63,29 +75,27 @@ export declare const updateEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
|
|
63
75
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
64
76
|
amount: number | null;
|
65
77
|
price: number | null;
|
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
78
|
}>, "many">;
|
75
79
|
}>, "strip", z.ZodTypeAny, {
|
80
|
+
description: string | null;
|
76
81
|
location: string;
|
77
82
|
name: string;
|
78
83
|
date: Date;
|
79
84
|
startingDate: Date;
|
80
85
|
endingDate: Date;
|
86
|
+
mainPictureUrl: string | null;
|
87
|
+
bannerUrl: string | null;
|
81
88
|
folderId: string | null;
|
82
89
|
subEvents: {
|
90
|
+
description: string | null;
|
83
91
|
location: string;
|
84
92
|
id: string;
|
85
93
|
name: string;
|
86
94
|
date: Date;
|
87
95
|
startingDate: Date;
|
88
96
|
endingDate: Date;
|
97
|
+
mainPictureUrl: string | null;
|
98
|
+
bannerUrl: string | null;
|
89
99
|
}[];
|
90
100
|
tagsId: string[];
|
91
101
|
eventTickets: {
|
@@ -94,19 +104,25 @@ export declare const updateEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
|
|
94
104
|
price: number | null;
|
95
105
|
}[];
|
96
106
|
}, {
|
107
|
+
description: string | null;
|
97
108
|
location: string;
|
98
109
|
name: string;
|
99
110
|
date: Date;
|
100
111
|
startingDate: Date;
|
101
112
|
endingDate: Date;
|
113
|
+
mainPictureUrl: string | null;
|
114
|
+
bannerUrl: string | null;
|
102
115
|
folderId: string | null;
|
103
116
|
subEvents: {
|
117
|
+
description: string | null;
|
104
118
|
location: string;
|
105
119
|
id: string;
|
106
120
|
name: string;
|
107
121
|
date: Date;
|
108
122
|
startingDate: Date;
|
109
123
|
endingDate: Date;
|
124
|
+
mainPictureUrl: string | null;
|
125
|
+
bannerUrl: string | null;
|
110
126
|
}[];
|
111
127
|
tagsId: string[];
|
112
128
|
eventTickets: {
|
@@ -116,53 +132,56 @@ export declare const updateEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
|
|
116
132
|
}[];
|
117
133
|
}>;
|
118
134
|
declare const UpdateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
135
|
+
description: z.ZodNullable<z.ZodString>;
|
119
136
|
location: z.ZodString;
|
120
137
|
name: z.ZodString;
|
121
138
|
date: z.ZodString;
|
122
139
|
startingDate: z.ZodString;
|
123
140
|
endingDate: z.ZodString;
|
141
|
+
mainPictureUrl: z.ZodNullable<z.ZodString>;
|
142
|
+
bannerUrl: z.ZodNullable<z.ZodString>;
|
124
143
|
folderId: z.ZodNullable<z.ZodString>;
|
125
144
|
tagsId: z.ZodArray<z.ZodString, "many">;
|
126
145
|
subEvents: z.ZodArray<z.ZodObject<{
|
146
|
+
description: z.ZodNullable<z.ZodString>;
|
127
147
|
location: z.ZodString;
|
128
148
|
name: z.ZodString;
|
129
149
|
date: z.ZodString;
|
130
150
|
startingDate: z.ZodString;
|
131
151
|
endingDate: z.ZodString;
|
152
|
+
mainPictureUrl: z.ZodNullable<z.ZodString>;
|
153
|
+
bannerUrl: z.ZodNullable<z.ZodString>;
|
132
154
|
id: z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>;
|
133
155
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
156
|
+
description: string | null;
|
134
157
|
location: string;
|
135
158
|
id: string;
|
136
159
|
name: string;
|
137
160
|
date: string;
|
138
161
|
startingDate: string;
|
139
162
|
endingDate: string;
|
163
|
+
mainPictureUrl: string | null;
|
164
|
+
bannerUrl: string | null;
|
140
165
|
}, {
|
166
|
+
description: string | null;
|
141
167
|
location: string;
|
142
168
|
id: string;
|
143
169
|
name: string;
|
144
170
|
date: string;
|
145
171
|
startingDate: string;
|
146
172
|
endingDate: string;
|
173
|
+
mainPictureUrl: string | null;
|
174
|
+
bannerUrl: string | null;
|
147
175
|
}>, "many">;
|
148
|
-
eventTickets: z.ZodArray<z.
|
149
|
-
id: z.ZodString;
|
150
|
-
amount: z.ZodNullable<z.ZodNumber>;
|
176
|
+
eventTickets: z.ZodArray<z.ZodObject<{
|
151
177
|
type: z.ZodNativeEnum<{
|
152
178
|
PARTICIPANT: "PARTICIPANT";
|
153
179
|
STAFF: "STAFF";
|
154
180
|
SPECTATOR: "SPECTATOR";
|
155
181
|
}>;
|
182
|
+
amount: z.ZodNullable<z.ZodNumber>;
|
156
183
|
price: z.ZodNullable<z.ZodNumber>;
|
157
|
-
},
|
158
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
159
|
-
amount: number | null;
|
160
|
-
price: number | null;
|
161
|
-
}, {
|
162
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
163
|
-
amount: number | null;
|
164
|
-
price: number | null;
|
165
|
-
}>, {
|
184
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
166
185
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
167
186
|
amount: number | null;
|
168
187
|
price: number | null;
|
@@ -172,19 +191,25 @@ declare const UpdateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.
|
|
172
191
|
price: number | null;
|
173
192
|
}>, "many">;
|
174
193
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
194
|
+
description: string | null;
|
175
195
|
location: string;
|
176
196
|
name: string;
|
177
197
|
date: string;
|
178
198
|
startingDate: string;
|
179
199
|
endingDate: string;
|
200
|
+
mainPictureUrl: string | null;
|
201
|
+
bannerUrl: string | null;
|
180
202
|
folderId: string | null;
|
181
203
|
subEvents: {
|
204
|
+
description: string | null;
|
182
205
|
location: string;
|
183
206
|
id: string;
|
184
207
|
name: string;
|
185
208
|
date: string;
|
186
209
|
startingDate: string;
|
187
210
|
endingDate: string;
|
211
|
+
mainPictureUrl: string | null;
|
212
|
+
bannerUrl: string | null;
|
188
213
|
}[];
|
189
214
|
tagsId: string[];
|
190
215
|
eventTickets: {
|
@@ -193,19 +218,25 @@ declare const UpdateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.
|
|
193
218
|
price: number | null;
|
194
219
|
}[];
|
195
220
|
}, {
|
221
|
+
description: string | null;
|
196
222
|
location: string;
|
197
223
|
name: string;
|
198
224
|
date: string;
|
199
225
|
startingDate: string;
|
200
226
|
endingDate: string;
|
227
|
+
mainPictureUrl: string | null;
|
228
|
+
bannerUrl: string | null;
|
201
229
|
folderId: string | null;
|
202
230
|
subEvents: {
|
231
|
+
description: string | null;
|
203
232
|
location: string;
|
204
233
|
id: string;
|
205
234
|
name: string;
|
206
235
|
date: string;
|
207
236
|
startingDate: string;
|
208
237
|
endingDate: string;
|
238
|
+
mainPictureUrl: string | null;
|
239
|
+
bannerUrl: string | null;
|
209
240
|
}[];
|
210
241
|
tagsId: string[];
|
211
242
|
eventTickets: {
|
@@ -223,6 +254,9 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
|
|
223
254
|
startingDate: z.ZodDate;
|
224
255
|
endingDate: z.ZodDate;
|
225
256
|
location: z.ZodString;
|
257
|
+
mainPictureUrl: z.ZodNullable<z.ZodString>;
|
258
|
+
bannerUrl: z.ZodNullable<z.ZodString>;
|
259
|
+
description: z.ZodNullable<z.ZodString>;
|
226
260
|
folderId: z.ZodNullable<z.ZodString>;
|
227
261
|
tagAssistedId: z.ZodString;
|
228
262
|
tagConfirmedId: z.ZodString;
|
@@ -297,7 +331,7 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
|
|
297
331
|
isExclusive: boolean;
|
298
332
|
};
|
299
333
|
}>;
|
300
|
-
eventTickets: z.ZodArray<z.
|
334
|
+
eventTickets: z.ZodArray<z.ZodObject<{
|
301
335
|
id: z.ZodString;
|
302
336
|
amount: z.ZodNullable<z.ZodNumber>;
|
303
337
|
type: z.ZodNativeEnum<{
|
@@ -316,18 +350,9 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
|
|
316
350
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
317
351
|
amount: number | null;
|
318
352
|
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;
|
329
353
|
}>, "many">;
|
330
354
|
}>, "strip", z.ZodTypeAny, {
|
355
|
+
description: string | null;
|
331
356
|
location: string;
|
332
357
|
id: string;
|
333
358
|
name: string;
|
@@ -337,6 +362,8 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
|
|
337
362
|
created_at: Date;
|
338
363
|
updated_at: Date;
|
339
364
|
active: boolean;
|
365
|
+
mainPictureUrl: string | null;
|
366
|
+
bannerUrl: string | null;
|
340
367
|
folderId: string | null;
|
341
368
|
tagAssistedId: string;
|
342
369
|
tagConfirmedId: string;
|
@@ -364,6 +391,7 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
|
|
364
391
|
};
|
365
392
|
};
|
366
393
|
}, {
|
394
|
+
description: string | null;
|
367
395
|
location: string;
|
368
396
|
id: string;
|
369
397
|
name: string;
|
@@ -373,6 +401,8 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
|
|
373
401
|
created_at: Date;
|
374
402
|
updated_at: Date;
|
375
403
|
active: boolean;
|
404
|
+
mainPictureUrl: string | null;
|
405
|
+
bannerUrl: string | null;
|
376
406
|
folderId: string | null;
|
377
407
|
tagAssistedId: string;
|
378
408
|
tagConfirmedId: string;
|
@@ -407,6 +437,9 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
407
437
|
startingDate: z.ZodString;
|
408
438
|
endingDate: z.ZodString;
|
409
439
|
location: z.ZodString;
|
440
|
+
mainPictureUrl: z.ZodNullable<z.ZodString>;
|
441
|
+
bannerUrl: z.ZodNullable<z.ZodString>;
|
442
|
+
description: z.ZodNullable<z.ZodString>;
|
410
443
|
folderId: z.ZodNullable<z.ZodString>;
|
411
444
|
tagAssistedId: z.ZodString;
|
412
445
|
tagConfirmedId: z.ZodString;
|
@@ -479,7 +512,7 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
479
512
|
isExclusive: boolean;
|
480
513
|
};
|
481
514
|
}>;
|
482
|
-
eventTickets: z.ZodArray<z.
|
515
|
+
eventTickets: z.ZodArray<z.ZodObject<{
|
483
516
|
id: z.ZodString;
|
484
517
|
amount: z.ZodNullable<z.ZodNumber>;
|
485
518
|
type: z.ZodNativeEnum<{
|
@@ -488,17 +521,7 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
488
521
|
SPECTATOR: "SPECTATOR";
|
489
522
|
}>;
|
490
523
|
price: z.ZodNullable<z.ZodNumber>;
|
491
|
-
},
|
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
|
-
}>, {
|
524
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
502
525
|
id: string;
|
503
526
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
504
527
|
amount: number | null;
|
@@ -510,6 +533,7 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
510
533
|
price: number | null;
|
511
534
|
}>, "many">;
|
512
535
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
536
|
+
description: string | null;
|
513
537
|
location: string;
|
514
538
|
id: string;
|
515
539
|
name: string;
|
@@ -519,6 +543,8 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
519
543
|
created_at: string;
|
520
544
|
updated_at: string;
|
521
545
|
active: boolean;
|
546
|
+
mainPictureUrl: string | null;
|
547
|
+
bannerUrl: string | null;
|
522
548
|
folderId: string | null;
|
523
549
|
tagAssistedId: string;
|
524
550
|
tagConfirmedId: string;
|
@@ -546,6 +572,7 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
546
572
|
};
|
547
573
|
};
|
548
574
|
}, {
|
575
|
+
description: string | null;
|
549
576
|
location: string;
|
550
577
|
id: string;
|
551
578
|
name: string;
|
@@ -555,6 +582,8 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
555
582
|
created_at: string;
|
556
583
|
updated_at: string;
|
557
584
|
active: boolean;
|
585
|
+
mainPictureUrl: string | null;
|
586
|
+
bannerUrl: string | null;
|
558
587
|
folderId: string | null;
|
559
588
|
tagAssistedId: string;
|
560
589
|
tagConfirmedId: string;
|
@@ -18,6 +18,9 @@ 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,
|
21
24
|
})
|
22
25
|
.merge(zod_1.default.object({
|
23
26
|
tagsId: zod_1.default.array(tag_dto_1.tagSchema.shape.id),
|
@@ -28,13 +31,16 @@ exports.updateEventSchema = event_dto_1.eventSchema
|
|
28
31
|
date: true,
|
29
32
|
startingDate: true,
|
30
33
|
endingDate: true,
|
34
|
+
bannerUrl: true,
|
35
|
+
mainPictureUrl: true,
|
36
|
+
description: true,
|
31
37
|
})
|
32
38
|
.extend({
|
33
39
|
id: event_dto_1.eventSchema.shape.id.or(zod_1.default.literal('')),
|
34
40
|
})),
|
35
|
-
eventTickets: zod_1.default.array(
|
41
|
+
eventTickets: zod_1.default.array(event_tickets_dto_1.eventTicketsSchema.omit({
|
36
42
|
id: true,
|
37
|
-
}))
|
43
|
+
})),
|
38
44
|
}));
|
39
45
|
class UpdateEventDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateEventSchema) {
|
40
46
|
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
export declare const updateMainPictureEventSchema: import("zod").ZodObject<Pick<{
|
2
|
+
image: import("zod").ZodType<Express.Multer.File, import("zod").ZodTypeDef, Express.Multer.File>;
|
3
|
+
}, "image">, "strip", import("zod").ZodTypeAny, {
|
4
|
+
image: Express.Multer.File;
|
5
|
+
}, {
|
6
|
+
image: Express.Multer.File;
|
7
|
+
}>;
|
8
|
+
declare const UpdateMainPictureEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
9
|
+
image: import("zod").ZodType<Express.Multer.File, import("zod").ZodTypeDef, Express.Multer.File>;
|
10
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
11
|
+
image: Express.Multer.File;
|
12
|
+
}, {
|
13
|
+
image: Express.Multer.File;
|
14
|
+
}>>;
|
15
|
+
export declare class UpdateMainPictureEventDto extends UpdateMainPictureEventDto_base {
|
16
|
+
}
|
17
|
+
export declare const updateMainPictureEventResponseSchema: import("zod").ZodObject<Pick<{
|
18
|
+
message: import("zod").ZodString;
|
19
|
+
}, "message">, "strip", import("zod").ZodTypeAny, {
|
20
|
+
message: string;
|
21
|
+
}, {
|
22
|
+
message: string;
|
23
|
+
}>;
|
24
|
+
declare const UpdateMainPictureEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
25
|
+
message: import("zod").ZodString;
|
26
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
27
|
+
message: string;
|
28
|
+
}, {
|
29
|
+
message: string;
|
30
|
+
}>>;
|
31
|
+
export declare class UpdateMainPictureEventResponseDto extends UpdateMainPictureEventResponseDto_base {
|
32
|
+
}
|
33
|
+
export {};
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateMainPictureEventResponseDto = exports.updateMainPictureEventResponseSchema = exports.UpdateMainPictureEventDto = exports.updateMainPictureEventSchema = void 0;
|
4
|
+
const update_image_dto_1 = require("../../image/dto/update-image.dto");
|
5
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
6
|
+
exports.updateMainPictureEventSchema = update_image_dto_1.updateImageSchema.pick({
|
7
|
+
image: true,
|
8
|
+
});
|
9
|
+
class UpdateMainPictureEventDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateMainPictureEventSchema) {
|
10
|
+
}
|
11
|
+
exports.UpdateMainPictureEventDto = UpdateMainPictureEventDto;
|
12
|
+
exports.updateMainPictureEventResponseSchema = update_image_dto_1.updateImageResponseSchema.pick({
|
13
|
+
message: true,
|
14
|
+
});
|
15
|
+
class UpdateMainPictureEventResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateMainPictureEventResponseSchema) {
|
16
|
+
}
|
17
|
+
exports.UpdateMainPictureEventResponseDto = UpdateMainPictureEventResponseDto;
|
18
|
+
//# sourceMappingURL=update-main-picture-event.dto.js.map
|
@@ -14,6 +14,9 @@ export declare const getAllEventFolderResponseSchema: z.ZodObject<{
|
|
14
14
|
startingDate: z.ZodDate;
|
15
15
|
endingDate: z.ZodDate;
|
16
16
|
location: z.ZodString;
|
17
|
+
mainPictureUrl: z.ZodNullable<z.ZodString>;
|
18
|
+
bannerUrl: z.ZodNullable<z.ZodString>;
|
19
|
+
description: z.ZodNullable<z.ZodString>;
|
17
20
|
folderId: z.ZodNullable<z.ZodString>;
|
18
21
|
tagAssistedId: z.ZodString;
|
19
22
|
tagConfirmedId: z.ZodString;
|
@@ -22,6 +25,7 @@ export declare const getAllEventFolderResponseSchema: z.ZodObject<{
|
|
22
25
|
created_at: z.ZodDate;
|
23
26
|
updated_at: z.ZodDate;
|
24
27
|
}, "strip", z.ZodTypeAny, {
|
28
|
+
description: string | null;
|
25
29
|
location: string;
|
26
30
|
id: string;
|
27
31
|
name: string;
|
@@ -31,11 +35,14 @@ export declare const getAllEventFolderResponseSchema: z.ZodObject<{
|
|
31
35
|
created_at: Date;
|
32
36
|
updated_at: Date;
|
33
37
|
active: boolean;
|
38
|
+
mainPictureUrl: string | null;
|
39
|
+
bannerUrl: string | null;
|
34
40
|
folderId: string | null;
|
35
41
|
tagAssistedId: string;
|
36
42
|
tagConfirmedId: string;
|
37
43
|
supraEventId: string | null;
|
38
44
|
}, {
|
45
|
+
description: string | null;
|
39
46
|
location: string;
|
40
47
|
id: string;
|
41
48
|
name: string;
|
@@ -45,6 +52,8 @@ export declare const getAllEventFolderResponseSchema: z.ZodObject<{
|
|
45
52
|
created_at: Date;
|
46
53
|
updated_at: Date;
|
47
54
|
active: boolean;
|
55
|
+
mainPictureUrl: string | null;
|
56
|
+
bannerUrl: string | null;
|
48
57
|
folderId: string | null;
|
49
58
|
tagAssistedId: string;
|
50
59
|
tagConfirmedId: string;
|
@@ -57,6 +66,7 @@ export declare const getAllEventFolderResponseSchema: z.ZodObject<{
|
|
57
66
|
created_at: Date;
|
58
67
|
updated_at: Date;
|
59
68
|
events: {
|
69
|
+
description: string | null;
|
60
70
|
location: string;
|
61
71
|
id: string;
|
62
72
|
name: string;
|
@@ -66,6 +76,8 @@ export declare const getAllEventFolderResponseSchema: z.ZodObject<{
|
|
66
76
|
created_at: Date;
|
67
77
|
updated_at: Date;
|
68
78
|
active: boolean;
|
79
|
+
mainPictureUrl: string | null;
|
80
|
+
bannerUrl: string | null;
|
69
81
|
folderId: string | null;
|
70
82
|
tagAssistedId: string;
|
71
83
|
tagConfirmedId: string;
|
@@ -78,6 +90,7 @@ export declare const getAllEventFolderResponseSchema: z.ZodObject<{
|
|
78
90
|
created_at: Date;
|
79
91
|
updated_at: Date;
|
80
92
|
events: {
|
93
|
+
description: string | null;
|
81
94
|
location: string;
|
82
95
|
id: string;
|
83
96
|
name: string;
|
@@ -87,6 +100,8 @@ export declare const getAllEventFolderResponseSchema: z.ZodObject<{
|
|
87
100
|
created_at: Date;
|
88
101
|
updated_at: Date;
|
89
102
|
active: boolean;
|
103
|
+
mainPictureUrl: string | null;
|
104
|
+
bannerUrl: string | null;
|
90
105
|
folderId: string | null;
|
91
106
|
tagAssistedId: string;
|
92
107
|
tagConfirmedId: string;
|
@@ -101,6 +116,7 @@ export declare const getAllEventFolderResponseSchema: z.ZodObject<{
|
|
101
116
|
created_at: Date;
|
102
117
|
updated_at: Date;
|
103
118
|
events: {
|
119
|
+
description: string | null;
|
104
120
|
location: string;
|
105
121
|
id: string;
|
106
122
|
name: string;
|
@@ -110,6 +126,8 @@ export declare const getAllEventFolderResponseSchema: z.ZodObject<{
|
|
110
126
|
created_at: Date;
|
111
127
|
updated_at: Date;
|
112
128
|
active: boolean;
|
129
|
+
mainPictureUrl: string | null;
|
130
|
+
bannerUrl: string | null;
|
113
131
|
folderId: string | null;
|
114
132
|
tagAssistedId: string;
|
115
133
|
tagConfirmedId: string;
|
@@ -124,6 +142,7 @@ export declare const getAllEventFolderResponseSchema: z.ZodObject<{
|
|
124
142
|
created_at: Date;
|
125
143
|
updated_at: Date;
|
126
144
|
events: {
|
145
|
+
description: string | null;
|
127
146
|
location: string;
|
128
147
|
id: string;
|
129
148
|
name: string;
|
@@ -133,6 +152,8 @@ export declare const getAllEventFolderResponseSchema: z.ZodObject<{
|
|
133
152
|
created_at: Date;
|
134
153
|
updated_at: Date;
|
135
154
|
active: boolean;
|
155
|
+
mainPictureUrl: string | null;
|
156
|
+
bannerUrl: string | null;
|
136
157
|
folderId: string | null;
|
137
158
|
tagAssistedId: string;
|
138
159
|
tagConfirmedId: string;
|
@@ -154,6 +175,9 @@ declare const GetAllEventFolderResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
154
175
|
startingDate: z.ZodString;
|
155
176
|
endingDate: z.ZodString;
|
156
177
|
location: z.ZodString;
|
178
|
+
mainPictureUrl: z.ZodNullable<z.ZodString>;
|
179
|
+
bannerUrl: z.ZodNullable<z.ZodString>;
|
180
|
+
description: z.ZodNullable<z.ZodString>;
|
157
181
|
folderId: z.ZodNullable<z.ZodString>;
|
158
182
|
tagAssistedId: z.ZodString;
|
159
183
|
tagConfirmedId: z.ZodString;
|
@@ -162,6 +186,7 @@ declare const GetAllEventFolderResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
162
186
|
created_at: z.ZodString;
|
163
187
|
updated_at: z.ZodString;
|
164
188
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
189
|
+
description: string | null;
|
165
190
|
location: string;
|
166
191
|
id: string;
|
167
192
|
name: string;
|
@@ -171,11 +196,14 @@ declare const GetAllEventFolderResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
171
196
|
created_at: string;
|
172
197
|
updated_at: string;
|
173
198
|
active: boolean;
|
199
|
+
mainPictureUrl: string | null;
|
200
|
+
bannerUrl: string | null;
|
174
201
|
folderId: string | null;
|
175
202
|
tagAssistedId: string;
|
176
203
|
tagConfirmedId: string;
|
177
204
|
supraEventId: string | null;
|
178
205
|
}, {
|
206
|
+
description: string | null;
|
179
207
|
location: string;
|
180
208
|
id: string;
|
181
209
|
name: string;
|
@@ -185,6 +213,8 @@ declare const GetAllEventFolderResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
185
213
|
created_at: string;
|
186
214
|
updated_at: string;
|
187
215
|
active: boolean;
|
216
|
+
mainPictureUrl: string | null;
|
217
|
+
bannerUrl: string | null;
|
188
218
|
folderId: string | null;
|
189
219
|
tagAssistedId: string;
|
190
220
|
tagConfirmedId: string;
|
@@ -197,6 +227,7 @@ declare const GetAllEventFolderResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
197
227
|
created_at: string;
|
198
228
|
updated_at: string;
|
199
229
|
events: {
|
230
|
+
description: string | null;
|
200
231
|
location: string;
|
201
232
|
id: string;
|
202
233
|
name: string;
|
@@ -206,6 +237,8 @@ declare const GetAllEventFolderResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
206
237
|
created_at: string;
|
207
238
|
updated_at: string;
|
208
239
|
active: boolean;
|
240
|
+
mainPictureUrl: string | null;
|
241
|
+
bannerUrl: string | null;
|
209
242
|
folderId: string | null;
|
210
243
|
tagAssistedId: string;
|
211
244
|
tagConfirmedId: string;
|
@@ -218,6 +251,7 @@ declare const GetAllEventFolderResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
218
251
|
created_at: string;
|
219
252
|
updated_at: string;
|
220
253
|
events: {
|
254
|
+
description: string | null;
|
221
255
|
location: string;
|
222
256
|
id: string;
|
223
257
|
name: string;
|
@@ -227,6 +261,8 @@ declare const GetAllEventFolderResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
227
261
|
created_at: string;
|
228
262
|
updated_at: string;
|
229
263
|
active: boolean;
|
264
|
+
mainPictureUrl: string | null;
|
265
|
+
bannerUrl: string | null;
|
230
266
|
folderId: string | null;
|
231
267
|
tagAssistedId: string;
|
232
268
|
tagConfirmedId: string;
|
@@ -241,6 +277,7 @@ declare const GetAllEventFolderResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
241
277
|
created_at: string;
|
242
278
|
updated_at: string;
|
243
279
|
events: {
|
280
|
+
description: string | null;
|
244
281
|
location: string;
|
245
282
|
id: string;
|
246
283
|
name: string;
|
@@ -250,6 +287,8 @@ declare const GetAllEventFolderResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
250
287
|
created_at: string;
|
251
288
|
updated_at: string;
|
252
289
|
active: boolean;
|
290
|
+
mainPictureUrl: string | null;
|
291
|
+
bannerUrl: string | null;
|
253
292
|
folderId: string | null;
|
254
293
|
tagAssistedId: string;
|
255
294
|
tagConfirmedId: string;
|
@@ -264,6 +303,7 @@ declare const GetAllEventFolderResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
264
303
|
created_at: string;
|
265
304
|
updated_at: string;
|
266
305
|
events: {
|
306
|
+
description: string | null;
|
267
307
|
location: string;
|
268
308
|
id: string;
|
269
309
|
name: string;
|
@@ -273,6 +313,8 @@ declare const GetAllEventFolderResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
273
313
|
created_at: string;
|
274
314
|
updated_at: string;
|
275
315
|
active: boolean;
|
316
|
+
mainPictureUrl: string | null;
|
317
|
+
bannerUrl: string | null;
|
276
318
|
folderId: string | null;
|
277
319
|
tagAssistedId: string;
|
278
320
|
tagConfirmedId: string;
|