expo-backend-types 0.12.0 → 0.14.0-EXPO-249-EB-Modelo.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1 @@
1
- export * from './dto/create-event.dto';
2
- export * from './dto/delete-event.dto';
3
1
  export * from './dto/event.dto';
4
- export * from './dto/get-all-event.dto';
5
- export * from './dto/get-by-id-event.dto';
6
- export * from './dto/update-event.dto';
@@ -14,10 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./dto/create-event.dto"), exports);
18
- __exportStar(require("./dto/delete-event.dto"), exports);
19
17
  __exportStar(require("./dto/event.dto"), exports);
20
- __exportStar(require("./dto/get-all-event.dto"), exports);
21
- __exportStar(require("./dto/get-by-id-event.dto"), exports);
22
- __exportStar(require("./dto/update-event.dto"), exports);
23
18
  //# sourceMappingURL=exports.js.map
@@ -10,9 +10,7 @@ exports.eventFolderSchema = zod_1.default.object({
10
10
  id: zod_1.default.string().uuid({
11
11
  message: (0, translate_1.translate)('model.event-folder.id.uuid'),
12
12
  }),
13
- name: zod_1.default.string().min(1, {
14
- message: (0, translate_1.translate)('model.event-folder.name.min'),
15
- }),
13
+ name: zod_1.default.string().min(1),
16
14
  color: zod_1.default
17
15
  .string()
18
16
  .length(7)
@@ -1,6 +1,6 @@
1
1
  import z from 'zod';
2
2
  export declare const getAllEventFolderResponseSchema: z.ZodObject<{
3
- folders: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3
+ eventFolders: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
4
4
  id: z.ZodString;
5
5
  name: z.ZodString;
6
6
  color: z.ZodString;
@@ -79,7 +79,7 @@ export declare const getAllEventFolderResponseSchema: z.ZodObject<{
79
79
  }[];
80
80
  }>, "many">;
81
81
  }, "strip", z.ZodTypeAny, {
82
- folders: {
82
+ eventFolders: {
83
83
  id: string;
84
84
  name: string;
85
85
  color: string;
@@ -99,7 +99,7 @@ export declare const getAllEventFolderResponseSchema: z.ZodObject<{
99
99
  }[];
100
100
  }[];
101
101
  }, {
102
- folders: {
102
+ eventFolders: {
103
103
  id: string;
104
104
  name: string;
105
105
  color: string;
@@ -120,7 +120,7 @@ export declare const getAllEventFolderResponseSchema: z.ZodObject<{
120
120
  }[];
121
121
  }>;
122
122
  declare const GetAllEventFolderResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
123
- folders: z.ZodArray<z.ZodObject<{
123
+ eventFolders: z.ZodArray<z.ZodObject<{
124
124
  id: z.ZodString;
125
125
  name: z.ZodString;
126
126
  color: z.ZodString;
@@ -198,7 +198,7 @@ declare const GetAllEventFolderResponseDto_base: import("@anatine/zod-nestjs").Z
198
198
  }[];
199
199
  }>, "many">;
200
200
  }, z.UnknownKeysParam, z.ZodTypeAny, {
201
- folders: {
201
+ eventFolders: {
202
202
  id: string;
203
203
  name: string;
204
204
  color: string;
@@ -218,7 +218,7 @@ declare const GetAllEventFolderResponseDto_base: import("@anatine/zod-nestjs").Z
218
218
  }[];
219
219
  }[];
220
220
  }, {
221
- folders: {
221
+ eventFolders: {
222
222
  id: string;
223
223
  name: string;
224
224
  color: string;
@@ -9,7 +9,7 @@ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/cre
9
9
  const zod_1 = __importDefault(require("zod"));
10
10
  const event_folder_dto_1 = require("./event-folder.dto");
11
11
  exports.getAllEventFolderResponseSchema = zod_1.default.object({
12
- folders: zod_1.default.array(event_folder_dto_1.eventFolderSchema.merge(zod_1.default.object({
12
+ eventFolders: zod_1.default.array(event_folder_dto_1.eventFolderSchema.merge(zod_1.default.object({
13
13
  events: zod_1.default.array(event_dto_1.eventSchema),
14
14
  }))),
15
15
  });
@@ -12,10 +12,6 @@ declare const _default: {
12
12
  readonly cannedResponse: "Respuesta enlatada";
13
13
  readonly message: "Mensaje";
14
14
  };
15
- readonly tag: {
16
- readonly assisted: "Asistió";
17
- readonly confirmed: "Confirmó asistencia";
18
- };
19
15
  readonly conflict: "Ya existe un registro con el campo {{field}} '{{value}}' en la tabla de {{model}}";
20
16
  readonly 'not-found': "No se encontró un registro con el campo {{field}} '{{value}}' en la tabla de {{model}}";
21
17
  };
@@ -94,9 +90,6 @@ declare const _default: {
94
90
  readonly id: {
95
91
  readonly uuid: "El ID debe ser un UUID";
96
92
  };
97
- readonly name: {
98
- readonly min: "El nombre debe tener al menos 1 caracter";
99
- };
100
93
  readonly color: {
101
94
  readonly invalid: "El color debe tener el formato hexadecimal (#ABCDEF)";
102
95
  };
@@ -301,30 +294,6 @@ declare const _default: {
301
294
  readonly 'not-found': "Carpeta de evento no encontrada";
302
295
  };
303
296
  };
304
- readonly event: {
305
- readonly create: {
306
- readonly success: "Evento creado con éxito";
307
- readonly conflict: "Error en la creación del evento";
308
- readonly 'folder-not-found': "Carpeta de evento no encontrada";
309
- };
310
- readonly 'get-all': {
311
- readonly success: "Eventos obtenidos con éxito";
312
- readonly 'not-found': "No se encontraron eventos";
313
- };
314
- readonly 'get-by-id': {
315
- readonly success: "Evento obtenido con éxito";
316
- readonly 'not-found': "Evento no encontrado";
317
- };
318
- readonly update: {
319
- readonly success: "Evento actualizado con éxito";
320
- readonly 'not-found': "Evento no encontrado";
321
- readonly 'subevent-not-found': "Subevento no encontrado";
322
- };
323
- readonly delete: {
324
- readonly success: "Evento eliminado con éxito";
325
- readonly 'not-found': "Evento no encontrado";
326
- };
327
- };
328
297
  readonly profile: {
329
298
  readonly 'find-all': {
330
299
  readonly success: "Perfiles obtenidos";
@@ -359,6 +328,7 @@ declare const _default: {
359
328
  readonly success: "Perfil actualizado con éxito";
360
329
  readonly 'not-found': "Perfil no encontrado";
361
330
  readonly conflict: "Error en la actualización del perfil";
331
+ readonly 'exclusive-tags': "Las etiquetas {{tag1}} y {{tag2}} son exclusivas del mismo grupo";
362
332
  };
363
333
  readonly 'find-by-date-range': {
364
334
  readonly success: "Perfiles obtenidos";
@@ -14,10 +14,6 @@ exports.default = {
14
14
  cannedResponse: 'Respuesta enlatada',
15
15
  message: 'Mensaje',
16
16
  },
17
- tag: {
18
- assisted: 'Asistió',
19
- confirmed: 'Confirmó asistencia',
20
- },
21
17
  conflict: `Ya existe un registro con el campo \{\{field\}\} '\{\{value\}\}' en la tabla de \{\{model\}\}`,
22
18
  'not-found': `No se encontró un registro con el campo \{\{field\}\} '\{\{value\}\}' en la tabla de \{\{model\}\}`,
23
19
  },
@@ -96,9 +92,6 @@ exports.default = {
96
92
  id: {
97
93
  uuid: 'El ID debe ser un UUID',
98
94
  },
99
- name: {
100
- min: 'El nombre debe tener al menos 1 caracter',
101
- },
102
95
  color: {
103
96
  invalid: 'El color debe tener el formato hexadecimal (#ABCDEF)',
104
97
  },
@@ -303,30 +296,6 @@ exports.default = {
303
296
  'not-found': 'Carpeta de evento no encontrada',
304
297
  },
305
298
  },
306
- event: {
307
- create: {
308
- success: 'Evento creado con éxito',
309
- conflict: 'Error en la creación del evento',
310
- 'folder-not-found': 'Carpeta de evento no encontrada',
311
- },
312
- 'get-all': {
313
- success: 'Eventos obtenidos con éxito',
314
- 'not-found': 'No se encontraron eventos',
315
- },
316
- 'get-by-id': {
317
- success: 'Evento obtenido con éxito',
318
- 'not-found': 'Evento no encontrado',
319
- },
320
- update: {
321
- success: 'Evento actualizado con éxito',
322
- 'not-found': 'Evento no encontrado',
323
- 'subevent-not-found': 'Subevento no encontrado',
324
- },
325
- delete: {
326
- success: 'Evento eliminado con éxito',
327
- 'not-found': 'Evento no encontrado',
328
- },
329
- },
330
299
  profile: {
331
300
  'find-all': {
332
301
  success: 'Perfiles obtenidos',
@@ -361,6 +330,7 @@ exports.default = {
361
330
  success: 'Perfil actualizado con éxito',
362
331
  'not-found': 'Perfil no encontrado',
363
332
  conflict: 'Error en la actualización del perfil',
333
+ 'exclusive-tags': `Las etiquetas \{\{tag1\}\} y \{\{tag2\}\} son exclusivas del mismo grupo`,
364
334
  },
365
335
  'find-by-date-range': {
366
336
  success: 'Perfiles obtenidos',
@@ -1 +1 @@
1
- {"version":3,"file":"es.js","sourceRoot":"","sources":["../../../src/i18n/es.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,MAAM,EAAE;QACN,KAAK,EAAE;YACL,OAAO,EAAE,QAAQ;YACjB,GAAG,EAAE,UAAU;YACf,QAAQ,EAAE,oBAAoB;YAC9B,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,oBAAoB;YACjC,OAAO,EAAE,YAAY;YACrB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,WAAW;YACrB,cAAc,EAAE,oBAAoB;YACpC,OAAO,EAAE,SAAS;SACnB;QACD,GAAG,EAAE;YACH,QAAQ,EAAE,SAAS;YACnB,SAAS,EAAE,qBAAqB;SACjC;QACD,QAAQ,EAAE,+FAA+F;QACzG,WAAW,EAAE,oGAAoG;KAClH;IACD,KAAK,EAAE;QACL,OAAO,EAAE;YACP,EAAE,EAAE;gBACF,IAAI,EAAE,wBAAwB;aAC/B;YACD,OAAO,EAAE;gBACP,GAAG,EAAE,6CAA6C;aACnD;YACD,UAAU,EAAE;gBACV,QAAQ,EAAE,4CAA4C;aACvD;SACF;QACD,OAAO,EAAE;YACP,EAAE,EAAE;gBACF,QAAQ,EAAE,oBAAoB;gBAC9B,IAAI,EAAE,wBAAwB;aAC/B;YACD,QAAQ,EAAE;gBACR,QAAQ,EAAE,mCAAmC;aAC9C;YACD,KAAK,EAAE;gBACL,QAAQ,EAAE,uBAAuB;gBACjC,KAAK,EAAE,mCAAmC;aAC3C;YACD,QAAQ,EAAE;gBACR,QAAQ,EAAE,4BAA4B;gBACtC,GAAG,EAAE,gDAAgD;aACtD;YACD,IAAI,EAAE;gBACJ,QAAQ,EAAE,qBAAqB;gBAC/B,OAAO,EAAE,oBAAoB;aAC9B;SACF;QACD,GAAG,EAAE;YACH,EAAE,EAAE;gBACF,IAAI,EAAE,wBAAwB;aAC/B;YAC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;KACF;CACO,CAAC"}
@@ -1,25 +1,18 @@
1
1
  import z from 'zod';
2
- export declare const updateProfileSchema: z.ZodObject<z.objectUtil.extendShape<Pick<{
3
- id: z.ZodString;
4
- shortId: z.ZodNumber;
5
- phoneNumber: z.ZodEffects<z.ZodString, string, string>;
6
- secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
7
- fullName: z.ZodString;
8
- firstName: z.ZodNullable<z.ZodString>;
9
- gender: z.ZodNullable<z.ZodString>;
10
- birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
11
- profilePictureUrl: z.ZodNullable<z.ZodString>;
12
- instagram: z.ZodNullable<z.ZodString>;
13
- mail: z.ZodNullable<z.ZodString>;
14
- dni: z.ZodNullable<z.ZodString>;
15
- alternativeNames: z.ZodArray<z.ZodString, "many">;
16
- birthLocationId: z.ZodNullable<z.ZodString>;
17
- residenceLocationId: z.ZodNullable<z.ZodString>;
18
- isInTrash: z.ZodBoolean;
19
- movedToTrashDate: z.ZodNullable<z.ZodDate>;
20
- created_at: z.ZodDate;
21
- updated_at: z.ZodDate;
22
- }, "phoneNumber" | "secondaryPhoneNumber" | "fullName" | "profilePictureUrl" | "gender" | "birthDate" | "instagram" | "mail" | "dni" | "alternativeNames" | "isInTrash" | "movedToTrashDate">, {
2
+ export declare const updateProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
3
+ phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
4
+ secondaryPhoneNumber: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>>;
5
+ fullName: z.ZodOptional<z.ZodString>;
6
+ profilePictureUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ birthDate: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>>;
9
+ instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ dni: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ alternativeNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13
+ isInTrash: z.ZodOptional<z.ZodBoolean>;
14
+ movedToTrashDate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
15
+ }, {
23
16
  residence: z.ZodOptional<z.ZodObject<Pick<{
24
17
  id: z.ZodString;
25
18
  latitude: z.ZodNumber;
@@ -66,19 +59,19 @@ export declare const updateProfileSchema: z.ZodObject<z.objectUtil.extendShape<P
66
59
  }>>;
67
60
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
68
61
  }>, "strip", z.ZodTypeAny, {
69
- phoneNumber: string;
70
- secondaryPhoneNumber: string | null;
71
- fullName: string;
72
- profilePictureUrl: string | null;
73
- gender: string | null;
74
- birthDate: Date | null;
75
- instagram: string | null;
76
- mail: string | null;
77
- dni: string | null;
78
- alternativeNames: string[];
79
- isInTrash: boolean;
80
- movedToTrashDate: Date | null;
62
+ phoneNumber?: string | undefined;
63
+ secondaryPhoneNumber?: string | null | undefined;
64
+ fullName?: string | undefined;
65
+ profilePictureUrl?: string | null | undefined;
81
66
  tags?: string[] | undefined;
67
+ gender?: string | null | undefined;
68
+ birthDate?: Date | null | undefined;
69
+ instagram?: string | null | undefined;
70
+ mail?: string | null | undefined;
71
+ dni?: string | null | undefined;
72
+ alternativeNames?: string[] | undefined;
73
+ isInTrash?: boolean | undefined;
74
+ movedToTrashDate?: Date | null | undefined;
82
75
  residence?: {
83
76
  latitude: number;
84
77
  longitude: number;
@@ -94,19 +87,19 @@ export declare const updateProfileSchema: z.ZodObject<z.objectUtil.extendShape<P
94
87
  city: string;
95
88
  } | undefined;
96
89
  }, {
97
- phoneNumber: string;
98
- secondaryPhoneNumber: string | null;
99
- fullName: string;
100
- profilePictureUrl: string | null;
101
- gender: string | null;
102
- birthDate: string | null;
103
- instagram: string | null;
104
- mail: string | null;
105
- dni: string | null;
106
- alternativeNames: string[];
107
- isInTrash: boolean;
108
- movedToTrashDate: Date | null;
90
+ phoneNumber?: string | undefined;
91
+ secondaryPhoneNumber?: string | null | undefined;
92
+ fullName?: string | undefined;
93
+ profilePictureUrl?: string | null | undefined;
109
94
  tags?: string[] | undefined;
95
+ gender?: string | null | undefined;
96
+ birthDate?: string | null | undefined;
97
+ instagram?: string | null | undefined;
98
+ mail?: string | null | undefined;
99
+ dni?: string | null | undefined;
100
+ alternativeNames?: string[] | undefined;
101
+ isInTrash?: boolean | undefined;
102
+ movedToTrashDate?: Date | null | undefined;
110
103
  residence?: {
111
104
  latitude: number;
112
105
  longitude: number;
@@ -123,18 +116,18 @@ export declare const updateProfileSchema: z.ZodObject<z.objectUtil.extendShape<P
123
116
  } | undefined;
124
117
  }>;
125
118
  declare const UpdateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
126
- phoneNumber: z.ZodEffects<z.ZodString, string, string>;
127
- secondaryPhoneNumber: z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>;
128
- fullName: z.ZodString;
129
- profilePictureUrl: z.ZodNullable<z.ZodString>;
130
- gender: z.ZodNullable<z.ZodString>;
131
- birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
132
- instagram: z.ZodNullable<z.ZodString>;
133
- mail: z.ZodNullable<z.ZodString>;
134
- dni: z.ZodNullable<z.ZodString>;
135
- alternativeNames: z.ZodArray<z.ZodString, "many">;
136
- isInTrash: z.ZodBoolean;
137
- movedToTrashDate: z.ZodNullable<z.ZodString>;
119
+ phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
120
+ secondaryPhoneNumber: z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>>;
121
+ fullName: z.ZodOptional<z.ZodString>;
122
+ profilePictureUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
123
+ gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
124
+ birthDate: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>>;
125
+ instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
126
+ mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
127
+ dni: z.ZodOptional<z.ZodNullable<z.ZodString>>;
128
+ alternativeNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
129
+ isInTrash: z.ZodOptional<z.ZodBoolean>;
130
+ movedToTrashDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
138
131
  residence: z.ZodOptional<z.ZodObject<{
139
132
  latitude: z.ZodNumber;
140
133
  longitude: z.ZodNumber;
@@ -175,19 +168,19 @@ declare const UpdateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
175
168
  }>>;
176
169
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
177
170
  }, z.UnknownKeysParam, z.ZodTypeAny, {
178
- phoneNumber: string;
179
- secondaryPhoneNumber: string | null;
180
- fullName: string;
181
- profilePictureUrl: string | null;
182
- gender: string | null;
183
- birthDate: Date | null;
184
- instagram: string | null;
185
- mail: string | null;
186
- dni: string | null;
187
- alternativeNames: string[];
188
- isInTrash: boolean;
189
- movedToTrashDate: string | null;
171
+ phoneNumber?: string | undefined;
172
+ secondaryPhoneNumber?: string | null | undefined;
173
+ fullName?: string | undefined;
174
+ profilePictureUrl?: string | null | undefined;
190
175
  tags?: string[] | undefined;
176
+ gender?: string | null | undefined;
177
+ birthDate?: Date | null | undefined;
178
+ instagram?: string | null | undefined;
179
+ mail?: string | null | undefined;
180
+ dni?: string | null | undefined;
181
+ alternativeNames?: string[] | undefined;
182
+ isInTrash?: boolean | undefined;
183
+ movedToTrashDate?: string | null | undefined;
191
184
  residence?: {
192
185
  latitude: number;
193
186
  longitude: number;
@@ -203,19 +196,19 @@ declare const UpdateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
203
196
  city: string;
204
197
  } | undefined;
205
198
  }, {
206
- phoneNumber: string;
207
- secondaryPhoneNumber: string | null;
208
- fullName: string;
209
- profilePictureUrl: string | null;
210
- gender: string | null;
211
- birthDate: string | null;
212
- instagram: string | null;
213
- mail: string | null;
214
- dni: string | null;
215
- alternativeNames: string[];
216
- isInTrash: boolean;
217
- movedToTrashDate: string | null;
199
+ phoneNumber?: string | undefined;
200
+ secondaryPhoneNumber?: string | null | undefined;
201
+ fullName?: string | undefined;
202
+ profilePictureUrl?: string | null | undefined;
218
203
  tags?: string[] | undefined;
204
+ gender?: string | null | undefined;
205
+ birthDate?: string | null | undefined;
206
+ instagram?: string | null | undefined;
207
+ mail?: string | null | undefined;
208
+ dni?: string | null | undefined;
209
+ alternativeNames?: string[] | undefined;
210
+ isInTrash?: boolean | undefined;
211
+ movedToTrashDate?: string | null | undefined;
219
212
  residence?: {
220
213
  latitude: number;
221
214
  longitude: number;
@@ -24,6 +24,7 @@ exports.updateProfileSchema = profile_dto_1.profileSchema
24
24
  isInTrash: true,
25
25
  movedToTrashDate: true,
26
26
  })
27
+ .partial()
27
28
  .merge(zod_1.default.object({
28
29
  residence: location_dto_1.locationSchema
29
30
  .pick({