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