expo-backend-types 0.52.0 → 0.53.0-EXPO-360-Tato-Bores.1

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.
Files changed (48) hide show
  1. package/dist/src/event/dto/create-event.dto.d.ts +68 -2
  2. package/dist/src/event/dto/create-event.dto.js +6 -0
  3. package/dist/src/event/dto/delete-banner-event.dto.d.ts +18 -0
  4. package/dist/src/event/dto/delete-banner-event.dto.js +12 -0
  5. package/dist/src/event/dto/delete-event.dto.d.ts +18 -0
  6. package/dist/src/event/dto/delete-main-picture-event.dto.d.ts +18 -0
  7. package/dist/src/event/dto/delete-main-picture-event.dto.js +12 -0
  8. package/dist/src/event/dto/event.dto.d.ts +9 -0
  9. package/dist/src/event/dto/event.dto.js +13 -0
  10. package/dist/src/event/dto/get-active-events.dto.d.ts +30 -0
  11. package/dist/src/event/dto/get-all-event.dto.d.ts +264 -0
  12. package/dist/src/event/dto/get-all-statistics.dto.d.ts +9 -0
  13. package/dist/src/event/dto/get-by-id-event.dto.d.ts +96 -0
  14. package/dist/src/event/dto/get-statistics-by-id-event.dto.d.ts +9 -0
  15. package/dist/src/event/dto/toggle-active-event.dto.d.ts +9 -0
  16. package/dist/src/event/dto/update-banner-event.dto.d.ts +33 -0
  17. package/dist/src/event/dto/update-banner-event.dto.js +18 -0
  18. package/dist/src/event/dto/update-event.dto.d.ts +185 -135
  19. package/dist/src/event/dto/update-event.dto.js +9 -1
  20. package/dist/src/event/dto/update-main-picture-event.dto.d.ts +33 -0
  21. package/dist/src/event/dto/update-main-picture-event.dto.js +18 -0
  22. package/dist/src/event-folder/dto/get-all-event-folder.dto.d.ts +42 -0
  23. package/dist/src/event-folder/dto/get-by-id-event-folder.dto.d.ts +30 -0
  24. package/dist/src/i18n/es.d.ts +7 -0
  25. package/dist/src/i18n/es.js +7 -0
  26. package/dist/src/i18n/es.js.map +1 -1
  27. package/dist/src/mi-expo/dto/get-invitations.dto.d.ts +3 -0
  28. package/dist/src/profile/dto/delete-image-profile.dto.d.ts +18 -0
  29. package/dist/src/profile/dto/delete-image-profile.dto.js +12 -0
  30. package/dist/src/profile/dto/update-image-profile.dto.d.ts +33 -0
  31. package/dist/src/profile/dto/update-image-profile.dto.js +18 -0
  32. package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +30 -0
  33. package/dist/src/ticket/dto/create-ticket.dto.d.ts +30 -0
  34. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +3 -0
  35. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +3 -0
  36. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +42 -0
  37. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +3 -0
  38. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +42 -0
  39. package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +30 -0
  40. package/dist/types/prisma-schema/edge.js +6 -3
  41. package/dist/types/prisma-schema/index-browser.js +3 -0
  42. package/dist/types/prisma-schema/index.d.ts +244 -1
  43. package/dist/types/prisma-schema/index.js +6 -3
  44. package/dist/types/prisma-schema/package.json +1 -1
  45. package/dist/types/prisma-schema/schema.prisma +9 -6
  46. package/dist/types/prisma-schema/wasm.js +3 -0
  47. package/dist/types/schema.d.ts +397 -77
  48. package/package.json +1 -1
@@ -1,52 +1,48 @@
1
1
  import z from 'zod';
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<{
19
- id: z.ZodString;
20
- name: z.ZodString;
21
- date: z.ZodDate;
22
- startingDate: z.ZodDate;
23
- endingDate: z.ZodDate;
24
- location: z.ZodString;
25
- folderId: z.ZodNullable<z.ZodString>;
26
- tagAssistedId: z.ZodString;
27
- tagConfirmedId: z.ZodString;
28
- active: z.ZodBoolean;
29
- supraEventId: z.ZodNullable<z.ZodString>;
30
- created_at: z.ZodDate;
31
- updated_at: z.ZodDate;
32
- }, "location" | "name" | "date" | "startingDate" | "endingDate">, {
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<{
14
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ location: z.ZodOptional<z.ZodString>;
16
+ name: z.ZodOptional<z.ZodString>;
17
+ date: z.ZodOptional<z.ZodDate>;
18
+ startingDate: z.ZodOptional<z.ZodDate>;
19
+ endingDate: z.ZodOptional<z.ZodDate>;
20
+ mainPictureUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ bannerUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, {
33
23
  id: z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>;
34
24
  }>, "strip", z.ZodTypeAny, {
35
- location: string;
36
25
  id: string;
37
- name: string;
38
- date: Date;
39
- startingDate: Date;
40
- endingDate: Date;
26
+ description?: string | null | undefined;
27
+ location?: string | undefined;
28
+ name?: string | undefined;
29
+ date?: Date | undefined;
30
+ startingDate?: Date | undefined;
31
+ endingDate?: Date | undefined;
32
+ mainPictureUrl?: string | null | undefined;
33
+ bannerUrl?: string | null | undefined;
41
34
  }, {
42
- location: string;
43
35
  id: string;
44
- name: string;
45
- date: Date;
46
- startingDate: Date;
47
- endingDate: Date;
48
- }>, "many">;
49
- eventTickets: z.ZodArray<z.ZodEffects<z.ZodObject<Omit<{
36
+ description?: string | null | undefined;
37
+ location?: string | undefined;
38
+ name?: string | undefined;
39
+ date?: Date | undefined;
40
+ startingDate?: Date | undefined;
41
+ endingDate?: Date | undefined;
42
+ mainPictureUrl?: string | null | undefined;
43
+ bannerUrl?: string | null | undefined;
44
+ }>, "many">>;
45
+ eventTickets: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<Omit<{
50
46
  id: z.ZodString;
51
47
  amount: z.ZodNullable<z.ZodNumber>;
52
48
  type: z.ZodNativeEnum<{
@@ -71,81 +67,105 @@ export declare const updateEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
71
67
  type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
72
68
  amount: number | null;
73
69
  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
- location: string;
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?: {
84
82
  id: string;
85
- name: string;
86
- date: Date;
87
- startingDate: Date;
88
- endingDate: Date;
89
- }[];
90
- tagsId: string[];
91
- eventTickets: {
83
+ description?: string | null | undefined;
84
+ location?: string | undefined;
85
+ name?: string | undefined;
86
+ date?: Date | undefined;
87
+ startingDate?: Date | undefined;
88
+ endingDate?: Date | undefined;
89
+ mainPictureUrl?: string | null | undefined;
90
+ bannerUrl?: string | null | undefined;
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
- location: string;
98
- name: string;
99
- date: Date;
100
- startingDate: Date;
101
- endingDate: Date;
102
- folderId: string | null;
103
- subEvents: {
104
- location: string;
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?: {
105
109
  id: string;
106
- name: string;
107
- date: Date;
108
- startingDate: Date;
109
- endingDate: Date;
110
- }[];
111
- tagsId: string[];
112
- eventTickets: {
110
+ description?: string | null | undefined;
111
+ location?: string | undefined;
112
+ name?: string | undefined;
113
+ date?: Date | undefined;
114
+ startingDate?: Date | undefined;
115
+ endingDate?: Date | undefined;
116
+ mainPictureUrl?: string | null | undefined;
117
+ bannerUrl?: string | null | undefined;
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
- 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<{
127
- location: z.ZodString;
128
- name: z.ZodString;
129
- date: z.ZodString;
130
- startingDate: z.ZodString;
131
- endingDate: z.ZodString;
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.ZodOptional<z.ZodNullable<z.ZodString>>;
139
+ location: z.ZodOptional<z.ZodString>;
140
+ name: z.ZodOptional<z.ZodString>;
141
+ date: z.ZodOptional<z.ZodString>;
142
+ startingDate: z.ZodOptional<z.ZodString>;
143
+ endingDate: z.ZodOptional<z.ZodString>;
144
+ mainPictureUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
145
+ bannerUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132
146
  id: z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>;
133
147
  }, z.UnknownKeysParam, z.ZodTypeAny, {
134
- location: string;
135
148
  id: string;
136
- name: string;
137
- date: string;
138
- startingDate: string;
139
- endingDate: string;
149
+ description?: string | null | undefined;
150
+ location?: string | undefined;
151
+ name?: string | undefined;
152
+ date?: string | undefined;
153
+ startingDate?: string | undefined;
154
+ endingDate?: string | undefined;
155
+ mainPictureUrl?: string | null | undefined;
156
+ bannerUrl?: string | null | undefined;
140
157
  }, {
141
- location: string;
142
158
  id: string;
143
- name: string;
144
- date: string;
145
- startingDate: string;
146
- endingDate: string;
147
- }>, "many">;
148
- eventTickets: z.ZodArray<z.ZodEffects<z.ZodObject<Omit<{
159
+ description?: string | null | undefined;
160
+ location?: string | undefined;
161
+ name?: string | undefined;
162
+ date?: string | undefined;
163
+ startingDate?: string | undefined;
164
+ endingDate?: string | undefined;
165
+ mainPictureUrl?: string | null | undefined;
166
+ bannerUrl?: string | null | undefined;
167
+ }>, "many">>;
168
+ eventTickets: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<Omit<{
149
169
  id: z.ZodString;
150
170
  amount: z.ZodNullable<z.ZodNumber>;
151
171
  type: z.ZodNativeEnum<{
@@ -170,49 +190,61 @@ declare const UpdateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.
170
190
  type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
171
191
  amount: number | null;
172
192
  price: number | null;
173
- }>, "many">;
193
+ }>, "many">>;
174
194
  }, z.UnknownKeysParam, z.ZodTypeAny, {
175
- location: string;
176
- name: string;
177
- date: string;
178
- startingDate: string;
179
- endingDate: string;
180
- folderId: string | null;
181
- subEvents: {
182
- location: string;
195
+ description?: string | null | undefined;
196
+ location?: string | undefined;
197
+ name?: string | undefined;
198
+ date?: string | undefined;
199
+ startingDate?: string | undefined;
200
+ endingDate?: string | undefined;
201
+ mainPictureUrl?: string | null | undefined;
202
+ bannerUrl?: string | null | undefined;
203
+ folderId?: string | null | undefined;
204
+ subEvents?: {
183
205
  id: string;
184
- name: string;
185
- date: string;
186
- startingDate: string;
187
- endingDate: string;
188
- }[];
189
- tagsId: string[];
190
- eventTickets: {
206
+ description?: string | null | undefined;
207
+ location?: string | undefined;
208
+ name?: string | undefined;
209
+ date?: string | undefined;
210
+ startingDate?: string | undefined;
211
+ endingDate?: string | undefined;
212
+ mainPictureUrl?: string | null | undefined;
213
+ bannerUrl?: string | null | undefined;
214
+ }[] | undefined;
215
+ tagsId?: string[] | undefined;
216
+ eventTickets?: {
191
217
  type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
192
218
  amount: number | null;
193
219
  price: number | null;
194
- }[];
220
+ }[] | undefined;
195
221
  }, {
196
- location: string;
197
- name: string;
198
- date: string;
199
- startingDate: string;
200
- endingDate: string;
201
- folderId: string | null;
202
- subEvents: {
203
- location: string;
222
+ description?: string | null | undefined;
223
+ location?: string | undefined;
224
+ name?: string | undefined;
225
+ date?: string | undefined;
226
+ startingDate?: string | undefined;
227
+ endingDate?: string | undefined;
228
+ mainPictureUrl?: string | null | undefined;
229
+ bannerUrl?: string | null | undefined;
230
+ folderId?: string | null | undefined;
231
+ subEvents?: {
204
232
  id: string;
205
- name: string;
206
- date: string;
207
- startingDate: string;
208
- endingDate: string;
209
- }[];
210
- tagsId: string[];
211
- eventTickets: {
233
+ description?: string | null | undefined;
234
+ location?: string | undefined;
235
+ name?: string | undefined;
236
+ date?: string | undefined;
237
+ startingDate?: string | undefined;
238
+ endingDate?: string | undefined;
239
+ mainPictureUrl?: string | null | undefined;
240
+ bannerUrl?: string | null | undefined;
241
+ }[] | undefined;
242
+ tagsId?: string[] | undefined;
243
+ eventTickets?: {
212
244
  type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
213
245
  amount: number | null;
214
246
  price: number | null;
215
- }[];
247
+ }[] | undefined;
216
248
  }>>;
217
249
  export declare class UpdateEventDto extends UpdateEventDto_base {
218
250
  }
@@ -223,6 +255,9 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
223
255
  startingDate: z.ZodDate;
224
256
  endingDate: z.ZodDate;
225
257
  location: z.ZodString;
258
+ mainPictureUrl: z.ZodNullable<z.ZodString>;
259
+ bannerUrl: z.ZodNullable<z.ZodString>;
260
+ description: z.ZodNullable<z.ZodString>;
226
261
  folderId: z.ZodNullable<z.ZodString>;
227
262
  tagAssistedId: z.ZodString;
228
263
  tagConfirmedId: z.ZodString;
@@ -329,6 +364,7 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
329
364
  price: number | null;
330
365
  }>, "many">;
331
366
  }>, "strip", z.ZodTypeAny, {
367
+ description: string | null;
332
368
  location: string;
333
369
  id: string;
334
370
  name: string;
@@ -338,6 +374,8 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
338
374
  created_at: Date;
339
375
  updated_at: Date;
340
376
  active: boolean;
377
+ mainPictureUrl: string | null;
378
+ bannerUrl: string | null;
341
379
  folderId: string | null;
342
380
  tagAssistedId: string;
343
381
  tagConfirmedId: string;
@@ -365,6 +403,7 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
365
403
  };
366
404
  };
367
405
  }, {
406
+ description: string | null;
368
407
  location: string;
369
408
  id: string;
370
409
  name: string;
@@ -374,6 +413,8 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
374
413
  created_at: Date;
375
414
  updated_at: Date;
376
415
  active: boolean;
416
+ mainPictureUrl: string | null;
417
+ bannerUrl: string | null;
377
418
  folderId: string | null;
378
419
  tagAssistedId: string;
379
420
  tagConfirmedId: string;
@@ -408,6 +449,9 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
408
449
  startingDate: z.ZodString;
409
450
  endingDate: z.ZodString;
410
451
  location: z.ZodString;
452
+ mainPictureUrl: z.ZodNullable<z.ZodString>;
453
+ bannerUrl: z.ZodNullable<z.ZodString>;
454
+ description: z.ZodNullable<z.ZodString>;
411
455
  folderId: z.ZodNullable<z.ZodString>;
412
456
  tagAssistedId: z.ZodString;
413
457
  tagConfirmedId: z.ZodString;
@@ -512,6 +556,7 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
512
556
  price: number | null;
513
557
  }>, "many">;
514
558
  }, z.UnknownKeysParam, z.ZodTypeAny, {
559
+ description: string | null;
515
560
  location: string;
516
561
  id: string;
517
562
  name: string;
@@ -521,6 +566,8 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
521
566
  created_at: string;
522
567
  updated_at: string;
523
568
  active: boolean;
569
+ mainPictureUrl: string | null;
570
+ bannerUrl: string | null;
524
571
  folderId: string | null;
525
572
  tagAssistedId: string;
526
573
  tagConfirmedId: string;
@@ -548,6 +595,7 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
548
595
  };
549
596
  };
550
597
  }, {
598
+ description: string | null;
551
599
  location: string;
552
600
  id: string;
553
601
  name: string;
@@ -557,6 +605,8 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
557
605
  created_at: string;
558
606
  updated_at: string;
559
607
  active: boolean;
608
+ mainPictureUrl: string | null;
609
+ bannerUrl: string | null;
560
610
  folderId: string | null;
561
611
  tagAssistedId: string;
562
612
  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,19 @@ 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
  })
38
+ .partial()
32
39
  .extend({
33
40
  id: event_dto_1.eventSchema.shape.id.or(zod_1.default.literal('')),
34
41
  })),
35
42
  eventTickets: zod_1.default.array((0, event_tickets_dto_1.addEventTicketRefinements)(event_tickets_dto_1.baseEventTicketsSchema.omit({
36
43
  id: true,
37
44
  }))),
38
- }));
45
+ }))
46
+ .partial();
39
47
  class UpdateEventDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateEventSchema) {
40
48
  }
41
49
  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