expo-backend-types 0.10.0-EXPO-247-EB-Evento.6 → 0.11.0-EXPO-249-EB-Modelo.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/event/exports.d.ts +0 -5
- package/dist/src/event/exports.js +0 -5
- package/dist/src/event-folder/dto/event-folder.dto.js +1 -3
- package/dist/src/event-folder/dto/get-all-event-folder.dto.d.ts +6 -6
- package/dist/src/event-folder/dto/get-all-event-folder.dto.js +1 -1
- package/dist/src/exports.d.ts +1 -0
- package/dist/src/exports.js +1 -0
- package/dist/src/i18n/es.d.ts +8 -31
- package/dist/src/i18n/es.js +8 -31
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/message/dto/message.dto.d.ts +173 -0
- package/dist/src/message/dto/message.dto.js +38 -0
- package/dist/src/message/exports.d.ts +1 -0
- package/dist/src/message/exports.js +18 -0
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +728 -0
- package/dist/src/profile/dto/find-with-active-chat.dto.js +26 -0
- package/dist/src/profile/exports.d.ts +1 -0
- package/dist/src/profile/exports.js +1 -0
- package/dist/types/prisma-schema/edge.js +2 -2
- package/dist/types/prisma-schema/index.js +2 -2
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +1 -1
- package/dist/types/schema.d.ts +56 -324
- package/package.json +2 -1
- package/dist/src/event/dto/create-event.dto.d.ts +0 -166
- package/dist/src/event/dto/create-event.dto.js +0 -33
- package/dist/src/event/dto/delete-event.dto.d.ts +0 -71
- package/dist/src/event/dto/delete-event.dto.js +0 -10
- package/dist/src/event/dto/get-all-event.dto.d.ts +0 -1113
- package/dist/src/event/dto/get-all-event.dto.js +0 -26
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +0 -548
- package/dist/src/event/dto/get-by-id-event.dto.js +0 -25
- package/dist/src/event/dto/update-event.dto.d.ts +0 -373
- package/dist/src/event/dto/update-event.dto.js +0 -41
@@ -1,373 +0,0 @@
|
|
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
|
-
location: z.ZodString;
|
7
|
-
folderId: z.ZodNullable<z.ZodString>;
|
8
|
-
tagAssistedId: z.ZodString;
|
9
|
-
tagConfirmedId: z.ZodString;
|
10
|
-
supraEventId: z.ZodNullable<z.ZodString>;
|
11
|
-
created_at: z.ZodDate;
|
12
|
-
updated_at: z.ZodDate;
|
13
|
-
}, "location" | "name" | "date" | "folderId">, {
|
14
|
-
subEvents: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<{
|
15
|
-
id: z.ZodString;
|
16
|
-
name: z.ZodString;
|
17
|
-
date: z.ZodDate;
|
18
|
-
location: z.ZodString;
|
19
|
-
folderId: z.ZodNullable<z.ZodString>;
|
20
|
-
tagAssistedId: z.ZodString;
|
21
|
-
tagConfirmedId: z.ZodString;
|
22
|
-
supraEventId: z.ZodNullable<z.ZodString>;
|
23
|
-
created_at: z.ZodDate;
|
24
|
-
updated_at: z.ZodDate;
|
25
|
-
}, "location" | "name" | "date">, {
|
26
|
-
id: z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>;
|
27
|
-
}>, "strip", z.ZodTypeAny, {
|
28
|
-
location: string;
|
29
|
-
id: string;
|
30
|
-
name: string;
|
31
|
-
date: Date;
|
32
|
-
}, {
|
33
|
-
location: string;
|
34
|
-
id: string;
|
35
|
-
name: string;
|
36
|
-
date: Date;
|
37
|
-
}>, "many">;
|
38
|
-
}>, "strip", z.ZodTypeAny, {
|
39
|
-
location: string;
|
40
|
-
name: string;
|
41
|
-
date: Date;
|
42
|
-
folderId: string | null;
|
43
|
-
subEvents: {
|
44
|
-
location: string;
|
45
|
-
id: string;
|
46
|
-
name: string;
|
47
|
-
date: Date;
|
48
|
-
}[];
|
49
|
-
}, {
|
50
|
-
location: string;
|
51
|
-
name: string;
|
52
|
-
date: Date;
|
53
|
-
folderId: string | null;
|
54
|
-
subEvents: {
|
55
|
-
location: string;
|
56
|
-
id: string;
|
57
|
-
name: string;
|
58
|
-
date: Date;
|
59
|
-
}[];
|
60
|
-
}>;
|
61
|
-
declare const UpdateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
62
|
-
location: z.ZodString;
|
63
|
-
name: z.ZodString;
|
64
|
-
date: z.ZodString;
|
65
|
-
folderId: z.ZodNullable<z.ZodString>;
|
66
|
-
subEvents: z.ZodArray<z.ZodObject<{
|
67
|
-
location: z.ZodString;
|
68
|
-
name: z.ZodString;
|
69
|
-
date: z.ZodString;
|
70
|
-
id: z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>;
|
71
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
72
|
-
location: string;
|
73
|
-
id: string;
|
74
|
-
name: string;
|
75
|
-
date: string;
|
76
|
-
}, {
|
77
|
-
location: string;
|
78
|
-
id: string;
|
79
|
-
name: string;
|
80
|
-
date: string;
|
81
|
-
}>, "many">;
|
82
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
83
|
-
location: string;
|
84
|
-
name: string;
|
85
|
-
date: string;
|
86
|
-
folderId: string | null;
|
87
|
-
subEvents: {
|
88
|
-
location: string;
|
89
|
-
id: string;
|
90
|
-
name: string;
|
91
|
-
date: string;
|
92
|
-
}[];
|
93
|
-
}, {
|
94
|
-
location: string;
|
95
|
-
name: string;
|
96
|
-
date: string;
|
97
|
-
folderId: string | null;
|
98
|
-
subEvents: {
|
99
|
-
location: string;
|
100
|
-
id: string;
|
101
|
-
name: string;
|
102
|
-
date: string;
|
103
|
-
}[];
|
104
|
-
}>>;
|
105
|
-
export declare class UpdateEventDto extends UpdateEventDto_base {
|
106
|
-
}
|
107
|
-
export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
|
108
|
-
id: z.ZodString;
|
109
|
-
name: z.ZodString;
|
110
|
-
date: z.ZodDate;
|
111
|
-
location: z.ZodString;
|
112
|
-
folderId: z.ZodNullable<z.ZodString>;
|
113
|
-
tagAssistedId: z.ZodString;
|
114
|
-
tagConfirmedId: z.ZodString;
|
115
|
-
supraEventId: z.ZodNullable<z.ZodString>;
|
116
|
-
created_at: z.ZodDate;
|
117
|
-
updated_at: z.ZodDate;
|
118
|
-
}, {
|
119
|
-
tagAssisted: z.ZodObject<z.objectUtil.extendShape<{
|
120
|
-
id: z.ZodString;
|
121
|
-
name: z.ZodString;
|
122
|
-
groupId: z.ZodString;
|
123
|
-
type: z.ZodNativeEnum<{
|
124
|
-
PROFILE: "PROFILE";
|
125
|
-
EVENT: "EVENT";
|
126
|
-
PARTICIPANT: "PARTICIPANT";
|
127
|
-
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
128
|
-
}>;
|
129
|
-
created_at: z.ZodDate;
|
130
|
-
updated_at: z.ZodDate;
|
131
|
-
}, {
|
132
|
-
group: z.ZodObject<{
|
133
|
-
id: z.ZodString;
|
134
|
-
name: z.ZodString;
|
135
|
-
color: z.ZodString;
|
136
|
-
isExclusive: z.ZodBoolean;
|
137
|
-
created_at: z.ZodDate;
|
138
|
-
updated_at: z.ZodDate;
|
139
|
-
}, "strip", z.ZodTypeAny, {
|
140
|
-
id: string;
|
141
|
-
name: string;
|
142
|
-
color: string;
|
143
|
-
created_at: Date;
|
144
|
-
updated_at: Date;
|
145
|
-
isExclusive: boolean;
|
146
|
-
}, {
|
147
|
-
id: string;
|
148
|
-
name: string;
|
149
|
-
color: string;
|
150
|
-
created_at: Date;
|
151
|
-
updated_at: Date;
|
152
|
-
isExclusive: boolean;
|
153
|
-
}>;
|
154
|
-
}>, "strip", z.ZodTypeAny, {
|
155
|
-
id: string;
|
156
|
-
name: string;
|
157
|
-
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
158
|
-
created_at: Date;
|
159
|
-
updated_at: Date;
|
160
|
-
groupId: string;
|
161
|
-
group: {
|
162
|
-
id: string;
|
163
|
-
name: string;
|
164
|
-
color: string;
|
165
|
-
created_at: Date;
|
166
|
-
updated_at: Date;
|
167
|
-
isExclusive: boolean;
|
168
|
-
};
|
169
|
-
}, {
|
170
|
-
id: string;
|
171
|
-
name: string;
|
172
|
-
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
173
|
-
created_at: Date;
|
174
|
-
updated_at: Date;
|
175
|
-
groupId: string;
|
176
|
-
group: {
|
177
|
-
id: string;
|
178
|
-
name: string;
|
179
|
-
color: string;
|
180
|
-
created_at: Date;
|
181
|
-
updated_at: Date;
|
182
|
-
isExclusive: boolean;
|
183
|
-
};
|
184
|
-
}>;
|
185
|
-
}>, "strip", z.ZodTypeAny, {
|
186
|
-
location: string;
|
187
|
-
id: string;
|
188
|
-
name: string;
|
189
|
-
date: Date;
|
190
|
-
created_at: Date;
|
191
|
-
updated_at: Date;
|
192
|
-
folderId: string | null;
|
193
|
-
tagAssistedId: string;
|
194
|
-
tagConfirmedId: string;
|
195
|
-
supraEventId: string | null;
|
196
|
-
tagAssisted: {
|
197
|
-
id: string;
|
198
|
-
name: string;
|
199
|
-
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
200
|
-
created_at: Date;
|
201
|
-
updated_at: Date;
|
202
|
-
groupId: string;
|
203
|
-
group: {
|
204
|
-
id: string;
|
205
|
-
name: string;
|
206
|
-
color: string;
|
207
|
-
created_at: Date;
|
208
|
-
updated_at: Date;
|
209
|
-
isExclusive: boolean;
|
210
|
-
};
|
211
|
-
};
|
212
|
-
}, {
|
213
|
-
location: string;
|
214
|
-
id: string;
|
215
|
-
name: string;
|
216
|
-
date: Date;
|
217
|
-
created_at: Date;
|
218
|
-
updated_at: Date;
|
219
|
-
folderId: string | null;
|
220
|
-
tagAssistedId: string;
|
221
|
-
tagConfirmedId: string;
|
222
|
-
supraEventId: string | null;
|
223
|
-
tagAssisted: {
|
224
|
-
id: string;
|
225
|
-
name: string;
|
226
|
-
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
227
|
-
created_at: Date;
|
228
|
-
updated_at: Date;
|
229
|
-
groupId: string;
|
230
|
-
group: {
|
231
|
-
id: string;
|
232
|
-
name: string;
|
233
|
-
color: string;
|
234
|
-
created_at: Date;
|
235
|
-
updated_at: Date;
|
236
|
-
isExclusive: boolean;
|
237
|
-
};
|
238
|
-
};
|
239
|
-
}>;
|
240
|
-
declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
241
|
-
id: z.ZodString;
|
242
|
-
name: z.ZodString;
|
243
|
-
date: z.ZodString;
|
244
|
-
location: z.ZodString;
|
245
|
-
folderId: z.ZodNullable<z.ZodString>;
|
246
|
-
tagAssistedId: z.ZodString;
|
247
|
-
tagConfirmedId: z.ZodString;
|
248
|
-
supraEventId: z.ZodNullable<z.ZodString>;
|
249
|
-
created_at: z.ZodString;
|
250
|
-
updated_at: z.ZodString;
|
251
|
-
tagAssisted: z.ZodObject<{
|
252
|
-
id: z.ZodString;
|
253
|
-
name: z.ZodString;
|
254
|
-
groupId: z.ZodString;
|
255
|
-
type: z.ZodNativeEnum<{
|
256
|
-
PROFILE: "PROFILE";
|
257
|
-
EVENT: "EVENT";
|
258
|
-
PARTICIPANT: "PARTICIPANT";
|
259
|
-
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
260
|
-
}>;
|
261
|
-
created_at: z.ZodString;
|
262
|
-
updated_at: z.ZodString;
|
263
|
-
group: z.ZodObject<{
|
264
|
-
id: z.ZodString;
|
265
|
-
name: z.ZodString;
|
266
|
-
color: z.ZodString;
|
267
|
-
isExclusive: z.ZodBoolean;
|
268
|
-
created_at: z.ZodString;
|
269
|
-
updated_at: z.ZodString;
|
270
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
271
|
-
id: string;
|
272
|
-
name: string;
|
273
|
-
color: string;
|
274
|
-
created_at: string;
|
275
|
-
updated_at: string;
|
276
|
-
isExclusive: boolean;
|
277
|
-
}, {
|
278
|
-
id: string;
|
279
|
-
name: string;
|
280
|
-
color: string;
|
281
|
-
created_at: string;
|
282
|
-
updated_at: string;
|
283
|
-
isExclusive: boolean;
|
284
|
-
}>;
|
285
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
286
|
-
id: string;
|
287
|
-
name: string;
|
288
|
-
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
289
|
-
created_at: string;
|
290
|
-
updated_at: string;
|
291
|
-
groupId: string;
|
292
|
-
group: {
|
293
|
-
id: string;
|
294
|
-
name: string;
|
295
|
-
color: string;
|
296
|
-
created_at: string;
|
297
|
-
updated_at: string;
|
298
|
-
isExclusive: boolean;
|
299
|
-
};
|
300
|
-
}, {
|
301
|
-
id: string;
|
302
|
-
name: string;
|
303
|
-
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
304
|
-
created_at: string;
|
305
|
-
updated_at: string;
|
306
|
-
groupId: string;
|
307
|
-
group: {
|
308
|
-
id: string;
|
309
|
-
name: string;
|
310
|
-
color: string;
|
311
|
-
created_at: string;
|
312
|
-
updated_at: string;
|
313
|
-
isExclusive: boolean;
|
314
|
-
};
|
315
|
-
}>;
|
316
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
317
|
-
location: string;
|
318
|
-
id: string;
|
319
|
-
name: string;
|
320
|
-
date: string;
|
321
|
-
created_at: string;
|
322
|
-
updated_at: string;
|
323
|
-
folderId: string | null;
|
324
|
-
tagAssistedId: string;
|
325
|
-
tagConfirmedId: string;
|
326
|
-
supraEventId: string | null;
|
327
|
-
tagAssisted: {
|
328
|
-
id: string;
|
329
|
-
name: string;
|
330
|
-
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
331
|
-
created_at: string;
|
332
|
-
updated_at: string;
|
333
|
-
groupId: string;
|
334
|
-
group: {
|
335
|
-
id: string;
|
336
|
-
name: string;
|
337
|
-
color: string;
|
338
|
-
created_at: string;
|
339
|
-
updated_at: string;
|
340
|
-
isExclusive: boolean;
|
341
|
-
};
|
342
|
-
};
|
343
|
-
}, {
|
344
|
-
location: string;
|
345
|
-
id: string;
|
346
|
-
name: string;
|
347
|
-
date: string;
|
348
|
-
created_at: string;
|
349
|
-
updated_at: string;
|
350
|
-
folderId: string | null;
|
351
|
-
tagAssistedId: string;
|
352
|
-
tagConfirmedId: string;
|
353
|
-
supraEventId: string | null;
|
354
|
-
tagAssisted: {
|
355
|
-
id: string;
|
356
|
-
name: string;
|
357
|
-
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
358
|
-
created_at: string;
|
359
|
-
updated_at: string;
|
360
|
-
groupId: string;
|
361
|
-
group: {
|
362
|
-
id: string;
|
363
|
-
name: string;
|
364
|
-
color: string;
|
365
|
-
created_at: string;
|
366
|
-
updated_at: string;
|
367
|
-
isExclusive: boolean;
|
368
|
-
};
|
369
|
-
};
|
370
|
-
}>>;
|
371
|
-
export declare class UpdateEventResponseDto extends UpdateEventResponseDto_base {
|
372
|
-
}
|
373
|
-
export {};
|
@@ -1,41 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
-
};
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.UpdateEventResponseDto = exports.updateEventResponseSchema = exports.UpdateEventDto = exports.updateEventSchema = void 0;
|
7
|
-
const event_dto_1 = require("./event.dto");
|
8
|
-
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
9
|
-
const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
|
10
|
-
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
11
|
-
const zod_1 = __importDefault(require("zod"));
|
12
|
-
exports.updateEventSchema = event_dto_1.eventSchema
|
13
|
-
.pick({
|
14
|
-
name: true,
|
15
|
-
folderId: true,
|
16
|
-
date: true,
|
17
|
-
location: true,
|
18
|
-
})
|
19
|
-
.merge(zod_1.default.object({
|
20
|
-
subEvents: zod_1.default.array(event_dto_1.eventSchema
|
21
|
-
.pick({
|
22
|
-
name: true,
|
23
|
-
location: true,
|
24
|
-
date: true,
|
25
|
-
})
|
26
|
-
.extend({
|
27
|
-
id: event_dto_1.eventSchema.shape.id.or(zod_1.default.literal('')),
|
28
|
-
})),
|
29
|
-
}));
|
30
|
-
class UpdateEventDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateEventSchema) {
|
31
|
-
}
|
32
|
-
exports.UpdateEventDto = UpdateEventDto;
|
33
|
-
exports.updateEventResponseSchema = event_dto_1.eventSchema.merge(zod_1.default.object({
|
34
|
-
tagAssisted: tag_dto_1.tagSchema.merge(zod_1.default.object({
|
35
|
-
group: tag_group_dto_1.tagGroupSchema,
|
36
|
-
})),
|
37
|
-
}));
|
38
|
-
class UpdateEventResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateEventResponseSchema) {
|
39
|
-
}
|
40
|
-
exports.UpdateEventResponseDto = UpdateEventResponseDto;
|
41
|
-
//# sourceMappingURL=update-event.dto.js.map
|