expo-backend-types 0.4.0-EXPO-248-EB-GrupoEtiqueta.7 → 0.4.0-EXPO-248-EB-GrupoEtiqueta.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. package/dist/src/account/dto/account.dto.d.ts +7 -7
  2. package/dist/src/account/dto/account.dto.js +2 -2
  3. package/dist/src/account/dto/create-account.dto.d.ts +4 -12
  4. package/dist/src/account/dto/create-account.dto.js +3 -3
  5. package/dist/src/account/dto/get-global-filter.dto.d.ts +7 -25
  6. package/dist/src/account/dto/get-global-filter.dto.js +4 -4
  7. package/dist/src/account/dto/get-me.dto.d.ts +23 -32
  8. package/dist/src/account/dto/get-me.dto.js +4 -4
  9. package/dist/src/account/dto/update-global-filter.dto.d.ts +20 -21
  10. package/dist/src/account/dto/update-global-filter.dto.js +4 -4
  11. package/dist/src/auth/dto/login.dto.d.ts +16 -26
  12. package/dist/src/auth/dto/login.dto.js +4 -4
  13. package/dist/src/comment/dto/comment.dto.d.ts +1 -1
  14. package/dist/src/comment/dto/comment.dto.js +2 -2
  15. package/dist/src/i18n/es.d.ts +3 -3
  16. package/dist/src/i18n/es.js +3 -3
  17. package/dist/src/i18n/es.js.map +1 -1
  18. package/dist/src/tag/dto/create-tag.dto.d.ts +5 -16
  19. package/dist/src/tag/dto/create-tag.dto.js +3 -3
  20. package/dist/src/tag/dto/delete-tag.dto.d.ts +7 -7
  21. package/dist/src/tag/dto/delete-tag.dto.js +2 -2
  22. package/dist/src/tag/dto/find-all-tag.dto.d.ts +28 -29
  23. package/dist/src/tag/dto/find-all-tag.dto.js +2 -2
  24. package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +28 -29
  25. package/dist/src/tag/dto/find-by-group-tag.dto.js +3 -3
  26. package/dist/src/tag/dto/find-one-tag.dto.d.ts +19 -20
  27. package/dist/src/tag/dto/find-one-tag.dto.js +2 -2
  28. package/dist/src/tag/dto/tag.dto.d.ts +7 -7
  29. package/dist/src/tag/dto/tag.dto.js +3 -3
  30. package/dist/src/tag/dto/update-tag.dto.d.ts +8 -8
  31. package/dist/src/tag/dto/update-tag.dto.js +3 -3
  32. package/dist/src/tag/exports.d.ts +0 -1
  33. package/dist/src/tag/exports.js +0 -1
  34. package/dist/src/tag-group/dto/create-tag-group.dto.d.ts +9 -12
  35. package/dist/src/tag-group/dto/create-tag-group.dto.js +3 -3
  36. package/dist/src/tag-group/dto/delete-tag-group.dto.d.ts +7 -7
  37. package/dist/src/tag-group/dto/delete-tag-group.dto.js +2 -2
  38. package/dist/src/tag-group/dto/find-all-tag-group.dto.d.ts +29 -30
  39. package/dist/src/tag-group/dto/find-all-tag-group.dto.js +4 -4
  40. package/dist/src/{tag/dto/find-all-grouped-tag.dto.d.ts → tag-group/dto/find-all-with-tags.dto.d.ts} +24 -28
  41. package/dist/src/{tag/dto/find-all-grouped-tag.dto.js → tag-group/dto/find-all-with-tags.dto.js} +8 -8
  42. package/dist/src/tag-group/dto/find-one-tag-group.dto.d.ts +19 -20
  43. package/dist/src/tag-group/dto/find-one-tag-group.dto.js +2 -2
  44. package/dist/src/tag-group/dto/tag-group.dto.d.ts +7 -7
  45. package/dist/src/tag-group/dto/tag-group.dto.js +2 -2
  46. package/dist/src/tag-group/dto/update-tag-group.dto.d.ts +9 -12
  47. package/dist/src/tag-group/dto/update-tag-group.dto.js +3 -3
  48. package/dist/src/tag-group/exports.d.ts +1 -0
  49. package/dist/src/tag-group/exports.js +1 -0
  50. package/dist/types/schema.d.ts +57 -57
  51. package/package.json +1 -1
@@ -40,24 +40,24 @@ declare const CuentaDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
40
40
  }>;
41
41
  isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
42
42
  fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
43
- created_at: z.ZodDate;
44
- updated_at: z.ZodDate;
45
- }, "strip", z.ZodTypeAny, {
43
+ created_at: z.ZodString;
44
+ updated_at: z.ZodString;
45
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
46
46
  id: string;
47
47
  username: string;
48
48
  password: string;
49
49
  role: "USER" | "ADMIN";
50
50
  isGlobalFilterActive: boolean;
51
51
  fcmToken: string[];
52
- created_at: Date;
53
- updated_at: Date;
52
+ created_at: string;
53
+ updated_at: string;
54
54
  }, {
55
55
  id: string;
56
56
  username: string;
57
57
  password: string;
58
58
  role: "USER" | "ADMIN";
59
- created_at: Date;
60
- updated_at: Date;
59
+ created_at: string;
60
+ updated_at: string;
61
61
  isGlobalFilterActive?: boolean | undefined;
62
62
  fcmToken?: string[] | undefined;
63
63
  }>>;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CuentaDto = exports.accountSchema = void 0;
4
4
  const translate_1 = require("../../i18n/translate");
5
- const zod_nestjs_1 = require("@anatine/zod-nestjs");
5
+ const create_zod_dto_without_date_1 = require("../../shared/dtoModification/create-zod-dto-without-date");
6
6
  const zod_1 = require("zod");
7
7
  const prisma_schema_1 = require("../../../types/prisma-schema/index.js");
8
8
  exports.accountSchema = zod_1.z.object({
@@ -30,7 +30,7 @@ exports.accountSchema = zod_1.z.object({
30
30
  created_at: zod_1.z.date(),
31
31
  updated_at: zod_1.z.date(),
32
32
  });
33
- class CuentaDto extends (0, zod_nestjs_1.createZodDto)(exports.accountSchema) {
33
+ class CuentaDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.accountSchema) {
34
34
  }
35
35
  exports.CuentaDto = CuentaDto;
36
36
  //# sourceMappingURL=account.dto.js.map
@@ -19,19 +19,14 @@ export declare const createAccountSchema: import("zod").ZodObject<Pick<{
19
19
  password: string;
20
20
  role: "USER" | "ADMIN";
21
21
  }>;
22
- declare const CreateAccountDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<Pick<{
23
- id: import("zod").ZodString;
22
+ declare const CreateAccountDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
24
23
  username: import("zod").ZodString;
25
24
  password: import("zod").ZodString;
26
25
  role: import("zod").ZodNativeEnum<{
27
26
  USER: "USER";
28
27
  ADMIN: "ADMIN";
29
28
  }>;
30
- isGlobalFilterActive: import("zod").ZodDefault<import("zod").ZodBoolean>;
31
- fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
32
- created_at: import("zod").ZodDate;
33
- updated_at: import("zod").ZodDate;
34
- }, "username" | "password" | "role">, "strip", import("zod").ZodTypeAny, {
29
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
35
30
  username: string;
36
31
  password: string;
37
32
  role: "USER" | "ADMIN";
@@ -67,19 +62,16 @@ export declare const createAccountResponseSchema: import("zod").ZodObject<Omit<{
67
62
  isGlobalFilterActive?: boolean | undefined;
68
63
  fcmToken?: string[] | undefined;
69
64
  }>;
70
- declare const CreateAccountResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<Omit<{
65
+ declare const CreateAccountResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
71
66
  id: import("zod").ZodString;
72
67
  username: import("zod").ZodString;
73
- password: import("zod").ZodString;
74
68
  role: import("zod").ZodNativeEnum<{
75
69
  USER: "USER";
76
70
  ADMIN: "ADMIN";
77
71
  }>;
78
72
  isGlobalFilterActive: import("zod").ZodDefault<import("zod").ZodBoolean>;
79
73
  fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
80
- created_at: import("zod").ZodDate;
81
- updated_at: import("zod").ZodDate;
82
- }, "password" | "created_at" | "updated_at">, "strip", import("zod").ZodTypeAny, {
74
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
83
75
  id: string;
84
76
  username: string;
85
77
  role: "USER" | "ADMIN";
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateAccountResponseDto = exports.createAccountResponseSchema = exports.CreateAccountDto = exports.createAccountSchema = void 0;
4
4
  const account_dto_1 = require("./account.dto");
5
- const zod_nestjs_1 = require("@anatine/zod-nestjs");
5
+ const create_zod_dto_without_date_1 = require("../../shared/dtoModification/create-zod-dto-without-date");
6
6
  exports.createAccountSchema = account_dto_1.accountSchema.pick({
7
7
  username: true,
8
8
  password: true,
9
9
  role: true,
10
10
  });
11
- class CreateAccountDto extends (0, zod_nestjs_1.createZodDto)(exports.createAccountSchema) {
11
+ class CreateAccountDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createAccountSchema) {
12
12
  }
13
13
  exports.CreateAccountDto = CreateAccountDto;
14
14
  exports.createAccountResponseSchema = account_dto_1.accountSchema.omit({
@@ -16,7 +16,7 @@ exports.createAccountResponseSchema = account_dto_1.accountSchema.omit({
16
16
  created_at: true,
17
17
  updated_at: true,
18
18
  });
19
- class CreateAccountResponseDto extends (0, zod_nestjs_1.createZodDto)(exports.createAccountResponseSchema) {
19
+ class CreateAccountResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createAccountResponseSchema) {
20
20
  }
21
21
  exports.CreateAccountResponseDto = CreateAccountResponseDto;
22
22
  //# sourceMappingURL=create-account.dto.js.map
@@ -1,5 +1,5 @@
1
1
  import z from 'zod';
2
- export declare const getGlobalFilterResponse: z.ZodObject<z.objectUtil.extendShape<Pick<{
2
+ export declare const getGlobalFilterResponseSchema: z.ZodObject<z.objectUtil.extendShape<Pick<{
3
3
  id: z.ZodString;
4
4
  username: z.ZodString;
5
5
  password: z.ZodString;
@@ -85,40 +85,22 @@ export declare const getGlobalFilterResponse: z.ZodObject<z.objectUtil.extendSha
85
85
  }[];
86
86
  isGlobalFilterActive?: boolean | undefined;
87
87
  }>;
88
- declare const GetGlobalFilterResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<z.objectUtil.extendShape<Pick<{
89
- id: z.ZodString;
90
- username: z.ZodString;
91
- password: z.ZodString;
92
- role: z.ZodNativeEnum<{
93
- USER: "USER";
94
- ADMIN: "ADMIN";
95
- }>;
88
+ declare const GetGlobalFilterResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
96
89
  isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
97
- fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
98
- created_at: z.ZodDate;
99
- updated_at: z.ZodDate;
100
- }, "isGlobalFilterActive">, {
101
- globalFilter: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<{
90
+ globalFilter: z.ZodArray<z.ZodObject<{
102
91
  id: z.ZodString;
103
92
  name: z.ZodString;
104
- groupId: z.ZodString;
105
93
  type: z.ZodNativeEnum<{
106
94
  PROFILE: "PROFILE";
107
95
  EVENT: "EVENT";
108
96
  PARTICIPANT: "PARTICIPANT";
109
97
  NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
110
98
  }>;
111
- created_at: z.ZodDate;
112
- updated_at: z.ZodDate;
113
- }, "id" | "name" | "type">, {
114
- group: z.ZodObject<Pick<{
99
+ group: z.ZodObject<{
115
100
  id: z.ZodString;
116
- name: z.ZodString;
117
101
  color: z.ZodString;
118
102
  isExclusive: z.ZodBoolean;
119
- created_at: z.ZodDate;
120
- updated_at: z.ZodDate;
121
- }, "id" | "color" | "isExclusive">, "strip", z.ZodTypeAny, {
103
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
122
104
  id: string;
123
105
  color: string;
124
106
  isExclusive: boolean;
@@ -127,7 +109,7 @@ declare const GetGlobalFilterResponseDto_base: import("@anatine/zod-nestjs").Zod
127
109
  color: string;
128
110
  isExclusive: boolean;
129
111
  }>;
130
- }>, "strip", z.ZodTypeAny, {
112
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
131
113
  id: string;
132
114
  name: string;
133
115
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
@@ -146,7 +128,7 @@ declare const GetGlobalFilterResponseDto_base: import("@anatine/zod-nestjs").Zod
146
128
  isExclusive: boolean;
147
129
  };
148
130
  }>, "many">;
149
- }>, "strip", z.ZodTypeAny, {
131
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
150
132
  isGlobalFilterActive: boolean;
151
133
  globalFilter: {
152
134
  id: string;
@@ -3,13 +3,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.GetGlobalFilterResponseDto = exports.getGlobalFilterResponse = void 0;
6
+ exports.GetGlobalFilterResponseDto = exports.getGlobalFilterResponseSchema = void 0;
7
7
  const account_dto_1 = require("./account.dto");
8
+ const create_zod_dto_without_date_1 = require("../../shared/dtoModification/create-zod-dto-without-date");
8
9
  const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
9
10
  const tag_dto_1 = require("../../tag/dto/tag.dto");
10
- const zod_nestjs_1 = require("@anatine/zod-nestjs");
11
11
  const zod_1 = __importDefault(require("zod"));
12
- exports.getGlobalFilterResponse = account_dto_1.accountSchema
12
+ exports.getGlobalFilterResponseSchema = account_dto_1.accountSchema
13
13
  .pick({
14
14
  isGlobalFilterActive: true,
15
15
  })
@@ -28,7 +28,7 @@ exports.getGlobalFilterResponse = account_dto_1.accountSchema
28
28
  }),
29
29
  }))),
30
30
  }));
31
- class GetGlobalFilterResponseDto extends (0, zod_nestjs_1.createZodDto)(exports.getGlobalFilterResponse) {
31
+ class GetGlobalFilterResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getGlobalFilterResponseSchema) {
32
32
  }
33
33
  exports.GetGlobalFilterResponseDto = GetGlobalFilterResponseDto;
34
34
  //# sourceMappingURL=get-global-filter.dto.js.map
@@ -140,40 +140,31 @@ export declare const getMeResponseSchema: z.ZodObject<z.objectUtil.extendShape<O
140
140
  isGlobalFilterActive?: boolean | undefined;
141
141
  fcmToken?: string[] | undefined;
142
142
  }>;
143
- declare const GetMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<z.objectUtil.extendShape<Omit<{
143
+ declare const GetMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
144
144
  id: z.ZodString;
145
145
  username: z.ZodString;
146
- password: z.ZodString;
147
146
  role: z.ZodNativeEnum<{
148
147
  USER: "USER";
149
148
  ADMIN: "ADMIN";
150
149
  }>;
151
150
  isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
152
151
  fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
153
- created_at: z.ZodDate;
154
- updated_at: z.ZodDate;
155
- }, "password">, {
156
- globalFilter: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<{
152
+ created_at: z.ZodString;
153
+ updated_at: z.ZodString;
154
+ globalFilter: z.ZodArray<z.ZodObject<{
157
155
  id: z.ZodString;
158
156
  name: z.ZodString;
159
- groupId: z.ZodString;
160
157
  type: z.ZodNativeEnum<{
161
158
  PROFILE: "PROFILE";
162
159
  EVENT: "EVENT";
163
160
  PARTICIPANT: "PARTICIPANT";
164
161
  NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
165
162
  }>;
166
- created_at: z.ZodDate;
167
- updated_at: z.ZodDate;
168
- }, "id" | "name" | "type">, {
169
- group: z.ZodObject<Pick<{
163
+ group: z.ZodObject<{
170
164
  id: z.ZodString;
171
- name: z.ZodString;
172
165
  color: z.ZodString;
173
166
  isExclusive: z.ZodBoolean;
174
- created_at: z.ZodDate;
175
- updated_at: z.ZodDate;
176
- }, "id" | "color" | "isExclusive">, "strip", z.ZodTypeAny, {
167
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
177
168
  id: string;
178
169
  color: string;
179
170
  isExclusive: boolean;
@@ -182,7 +173,7 @@ declare const GetMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
182
173
  color: string;
183
174
  isExclusive: boolean;
184
175
  }>;
185
- }>, "strip", z.ZodTypeAny, {
176
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
186
177
  id: string;
187
178
  name: string;
188
179
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
@@ -211,31 +202,31 @@ declare const GetMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
211
202
  PARTICIPANT: "PARTICIPANT";
212
203
  NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
213
204
  }>;
214
- created_at: z.ZodDate;
215
- updated_at: z.ZodDate;
216
- }, "strip", z.ZodTypeAny, {
205
+ created_at: z.ZodString;
206
+ updated_at: z.ZodString;
207
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
217
208
  id: string;
218
209
  name: string;
219
210
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
220
- created_at: Date;
221
- updated_at: Date;
211
+ created_at: string;
212
+ updated_at: string;
222
213
  groupId: string;
223
214
  }, {
224
215
  id: string;
225
216
  name: string;
226
217
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
227
- created_at: Date;
228
- updated_at: Date;
218
+ created_at: string;
219
+ updated_at: string;
229
220
  groupId: string;
230
221
  }>, "many">;
231
- }>, "strip", z.ZodTypeAny, {
222
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
232
223
  id: string;
233
224
  username: string;
234
225
  role: "USER" | "ADMIN";
235
226
  isGlobalFilterActive: boolean;
236
227
  fcmToken: string[];
237
- created_at: Date;
238
- updated_at: Date;
228
+ created_at: string;
229
+ updated_at: string;
239
230
  globalFilter: {
240
231
  id: string;
241
232
  name: string;
@@ -250,16 +241,16 @@ declare const GetMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
250
241
  id: string;
251
242
  name: string;
252
243
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
253
- created_at: Date;
254
- updated_at: Date;
244
+ created_at: string;
245
+ updated_at: string;
255
246
  groupId: string;
256
247
  }[];
257
248
  }, {
258
249
  id: string;
259
250
  username: string;
260
251
  role: "USER" | "ADMIN";
261
- created_at: Date;
262
- updated_at: Date;
252
+ created_at: string;
253
+ updated_at: string;
263
254
  globalFilter: {
264
255
  id: string;
265
256
  name: string;
@@ -274,8 +265,8 @@ declare const GetMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
274
265
  id: string;
275
266
  name: string;
276
267
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
277
- created_at: Date;
278
- updated_at: Date;
268
+ created_at: string;
269
+ updated_at: string;
279
270
  groupId: string;
280
271
  }[];
281
272
  isGlobalFilterActive?: boolean | undefined;
@@ -4,11 +4,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.GetMeResponseDto = exports.getMeResponseSchema = void 0;
7
+ const create_zod_dto_without_date_1 = require("../../shared/dtoModification/create-zod-dto-without-date");
8
+ const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
9
+ const tag_dto_1 = require("../../tag/dto/tag.dto");
7
10
  const zod_1 = __importDefault(require("zod"));
8
11
  const account_dto_1 = require("./account.dto");
9
- const zod_nestjs_1 = require("@anatine/zod-nestjs");
10
- const tag_dto_1 = require("../../tag/dto/tag.dto");
11
- const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
12
12
  exports.getMeResponseSchema = account_dto_1.accountSchema
13
13
  .omit({
14
14
  password: true,
@@ -29,7 +29,7 @@ exports.getMeResponseSchema = account_dto_1.accountSchema
29
29
  }))),
30
30
  tags: zod_1.default.array(tag_dto_1.tagSchema),
31
31
  }));
32
- class GetMeResponseDto extends (0, zod_nestjs_1.createZodDto)(exports.getMeResponseSchema) {
32
+ class GetMeResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getMeResponseSchema) {
33
33
  }
34
34
  exports.GetMeResponseDto = GetMeResponseDto;
35
35
  //# sourceMappingURL=get-me.dto.js.map
@@ -12,7 +12,7 @@ export declare const updateGlobalFilterSchema: z.ZodObject<{
12
12
  declare const UpdateGlobalFilterDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
13
13
  active: z.ZodDefault<z.ZodBoolean>;
14
14
  tagsIds: z.ZodArray<z.ZodString, "many">;
15
- }, "strip", z.ZodTypeAny, {
15
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
16
16
  active: boolean;
17
17
  tagsIds: string[];
18
18
  }, {
@@ -96,7 +96,7 @@ export declare const updateGlobalFilterResponseSchema: z.ZodObject<z.objectUtil.
96
96
  isGlobalFilterActive?: boolean | undefined;
97
97
  fcmToken?: string[] | undefined;
98
98
  }>;
99
- declare const UpdateGlobalFilterResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<z.objectUtil.extendShape<{
99
+ declare const UpdateGlobalFilterResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
100
100
  id: z.ZodString;
101
101
  username: z.ZodString;
102
102
  password: z.ZodString;
@@ -106,9 +106,8 @@ declare const UpdateGlobalFilterResponseDto_base: import("@anatine/zod-nestjs").
106
106
  }>;
107
107
  isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
108
108
  fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
109
- created_at: z.ZodDate;
110
- updated_at: z.ZodDate;
111
- }, {
109
+ created_at: z.ZodString;
110
+ updated_at: z.ZodString;
112
111
  globalFilter: z.ZodArray<z.ZodObject<{
113
112
  id: z.ZodString;
114
113
  name: z.ZodString;
@@ -119,38 +118,38 @@ declare const UpdateGlobalFilterResponseDto_base: import("@anatine/zod-nestjs").
119
118
  PARTICIPANT: "PARTICIPANT";
120
119
  NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
121
120
  }>;
122
- created_at: z.ZodDate;
123
- updated_at: z.ZodDate;
124
- }, "strip", z.ZodTypeAny, {
121
+ created_at: z.ZodString;
122
+ updated_at: z.ZodString;
123
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
125
124
  id: string;
126
125
  name: string;
127
126
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
128
- created_at: Date;
129
- updated_at: Date;
127
+ created_at: string;
128
+ updated_at: string;
130
129
  groupId: string;
131
130
  }, {
132
131
  id: string;
133
132
  name: string;
134
133
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
135
- created_at: Date;
136
- updated_at: Date;
134
+ created_at: string;
135
+ updated_at: string;
137
136
  groupId: string;
138
137
  }>, "many">;
139
- }>, "strip", z.ZodTypeAny, {
138
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
140
139
  id: string;
141
140
  username: string;
142
141
  password: string;
143
142
  role: "USER" | "ADMIN";
144
143
  isGlobalFilterActive: boolean;
145
144
  fcmToken: string[];
146
- created_at: Date;
147
- updated_at: Date;
145
+ created_at: string;
146
+ updated_at: string;
148
147
  globalFilter: {
149
148
  id: string;
150
149
  name: string;
151
150
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
152
- created_at: Date;
153
- updated_at: Date;
151
+ created_at: string;
152
+ updated_at: string;
154
153
  groupId: string;
155
154
  }[];
156
155
  }, {
@@ -158,14 +157,14 @@ declare const UpdateGlobalFilterResponseDto_base: import("@anatine/zod-nestjs").
158
157
  username: string;
159
158
  password: string;
160
159
  role: "USER" | "ADMIN";
161
- created_at: Date;
162
- updated_at: Date;
160
+ created_at: string;
161
+ updated_at: string;
163
162
  globalFilter: {
164
163
  id: string;
165
164
  name: string;
166
165
  type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
167
- created_at: Date;
168
- updated_at: Date;
166
+ created_at: string;
167
+ updated_at: string;
169
168
  groupId: string;
170
169
  }[];
171
170
  isGlobalFilterActive?: boolean | undefined;
@@ -1,21 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateGlobalFilterResponseDto = exports.updateGlobalFilterResponseSchema = exports.UpdateGlobalFilterDto = exports.updateGlobalFilterSchema = void 0;
4
- const tag_dto_1 = require("../../tag/dto/tag.dto");
5
4
  const account_dto_1 = require("./account.dto");
6
- const zod_nestjs_1 = require("@anatine/zod-nestjs");
5
+ const create_zod_dto_without_date_1 = require("../../shared/dtoModification/create-zod-dto-without-date");
6
+ const tag_dto_1 = require("../../tag/dto/tag.dto");
7
7
  const zod_1 = require("zod");
8
8
  exports.updateGlobalFilterSchema = zod_1.z.object({
9
9
  active: account_dto_1.accountSchema.shape.isGlobalFilterActive,
10
10
  tagsIds: zod_1.z.array(tag_dto_1.tagSchema.shape.id),
11
11
  });
12
- class UpdateGlobalFilterDto extends (0, zod_nestjs_1.createZodDto)(exports.updateGlobalFilterSchema) {
12
+ class UpdateGlobalFilterDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateGlobalFilterSchema) {
13
13
  }
14
14
  exports.UpdateGlobalFilterDto = UpdateGlobalFilterDto;
15
15
  exports.updateGlobalFilterResponseSchema = account_dto_1.accountSchema.merge(zod_1.z.object({
16
16
  globalFilter: zod_1.z.array(tag_dto_1.tagSchema),
17
17
  }));
18
- class UpdateGlobalFilterResponseDto extends (0, zod_nestjs_1.createZodDto)(exports.updateGlobalFilterResponseSchema) {
18
+ class UpdateGlobalFilterResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateGlobalFilterResponseSchema) {
19
19
  }
20
20
  exports.UpdateGlobalFilterResponseDto = UpdateGlobalFilterResponseDto;
21
21
  //# sourceMappingURL=update-global-filter.dto.js.map
@@ -18,19 +18,10 @@ export declare const loginSchema: z.ZodObject<Pick<{
18
18
  username: string;
19
19
  password: string;
20
20
  }>;
21
- declare const LoginDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<Pick<{
22
- id: z.ZodString;
21
+ declare const LoginDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
23
22
  username: z.ZodString;
24
23
  password: z.ZodString;
25
- role: z.ZodNativeEnum<{
26
- USER: "USER";
27
- ADMIN: "ADMIN";
28
- }>;
29
- isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
30
- fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
31
- created_at: z.ZodDate;
32
- updated_at: z.ZodDate;
33
- }, "username" | "password">, "strip", z.ZodTypeAny, {
24
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
34
25
  username: string;
35
26
  password: string;
36
27
  }, {
@@ -109,54 +100,53 @@ export declare const loginResponseSchema: z.ZodObject<{
109
100
  };
110
101
  }>;
111
102
  declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
112
- user: z.ZodObject<Omit<{
103
+ user: z.ZodObject<{
113
104
  id: z.ZodString;
114
105
  username: z.ZodString;
115
- password: z.ZodString;
116
106
  role: z.ZodNativeEnum<{
117
107
  USER: "USER";
118
108
  ADMIN: "ADMIN";
119
109
  }>;
120
110
  isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
121
111
  fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
122
- created_at: z.ZodDate;
123
- updated_at: z.ZodDate;
124
- }, "password">, "strip", z.ZodTypeAny, {
112
+ created_at: z.ZodString;
113
+ updated_at: z.ZodString;
114
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
125
115
  id: string;
126
116
  username: string;
127
117
  role: "USER" | "ADMIN";
128
118
  isGlobalFilterActive: boolean;
129
119
  fcmToken: string[];
130
- created_at: Date;
131
- updated_at: Date;
120
+ created_at: string;
121
+ updated_at: string;
132
122
  }, {
133
123
  id: string;
134
124
  username: string;
135
125
  role: "USER" | "ADMIN";
136
- created_at: Date;
137
- updated_at: Date;
126
+ created_at: string;
127
+ updated_at: string;
138
128
  isGlobalFilterActive?: boolean | undefined;
139
129
  fcmToken?: string[] | undefined;
140
130
  }>;
141
131
  backendTokens: z.ZodObject<{
142
132
  accessToken: z.ZodString;
143
133
  refreshToken: z.ZodString;
144
- }, "strip", z.ZodTypeAny, {
134
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
145
135
  accessToken: string;
146
136
  refreshToken: string;
147
137
  }, {
148
138
  accessToken: string;
149
139
  refreshToken: string;
150
140
  }>;
151
- }, "strip", z.ZodTypeAny, {
141
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
152
142
  user: {
153
143
  id: string;
154
144
  username: string;
155
145
  role: "USER" | "ADMIN";
156
146
  isGlobalFilterActive: boolean;
157
147
  fcmToken: string[];
158
- created_at: Date;
159
- updated_at: Date;
148
+ created_at: string;
149
+ updated_at: string;
160
150
  };
161
151
  backendTokens: {
162
152
  accessToken: string;
@@ -167,8 +157,8 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
167
157
  id: string;
168
158
  username: string;
169
159
  role: "USER" | "ADMIN";
170
- created_at: Date;
171
- updated_at: Date;
160
+ created_at: string;
161
+ updated_at: string;
172
162
  isGlobalFilterActive?: boolean | undefined;
173
163
  fcmToken?: string[] | undefined;
174
164
  };
@@ -4,14 +4,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.LoginResponseDto = exports.loginResponseSchema = exports.LoginDto = exports.loginSchema = void 0;
7
- const zod_1 = __importDefault(require("zod"));
8
- const zod_nestjs_1 = require("@anatine/zod-nestjs");
9
7
  const account_dto_1 = require("../../account/dto/account.dto");
8
+ const create_zod_dto_without_date_1 = require("../../shared/dtoModification/create-zod-dto-without-date");
9
+ const zod_1 = __importDefault(require("zod"));
10
10
  exports.loginSchema = account_dto_1.accountSchema.pick({
11
11
  username: true,
12
12
  password: true,
13
13
  });
14
- class LoginDto extends (0, zod_nestjs_1.createZodDto)(exports.loginSchema) {
14
+ class LoginDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.loginSchema) {
15
15
  }
16
16
  exports.LoginDto = LoginDto;
17
17
  exports.loginResponseSchema = zod_1.default.object({
@@ -23,7 +23,7 @@ exports.loginResponseSchema = zod_1.default.object({
23
23
  refreshToken: zod_1.default.string(),
24
24
  }),
25
25
  });
26
- class LoginResponseDto extends (0, zod_nestjs_1.createZodDto)(exports.loginResponseSchema) {
26
+ class LoginResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.loginResponseSchema) {
27
27
  }
28
28
  exports.LoginResponseDto = LoginResponseDto;
29
29
  //# sourceMappingURL=login.dto.js.map
@@ -40,7 +40,7 @@ declare const CommentDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodO
40
40
  solvedBy: z.ZodOptional<z.ZodString>;
41
41
  created_at: z.ZodString;
42
42
  updated_at: z.ZodString;
43
- }, "strip", z.ZodTypeAny, {
43
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
44
44
  id: string;
45
45
  content: string;
46
46
  created_at: string;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CommentDto = exports.commentSchema = void 0;
4
4
  const account_dto_1 = require("../../account/dto/account.dto");
5
5
  const translate_1 = require("../../i18n/translate");
6
- const zod_nestjs_1 = require("@anatine/zod-nestjs");
6
+ const create_zod_dto_without_date_1 = require("../../shared/dtoModification/create-zod-dto-without-date");
7
7
  const zod_1 = require("zod");
8
8
  exports.commentSchema = zod_1.z.object({
9
9
  id: zod_1.z.string().uuid({
@@ -20,7 +20,7 @@ exports.commentSchema = zod_1.z.object({
20
20
  created_at: zod_1.z.string().datetime(),
21
21
  updated_at: zod_1.z.string().datetime(),
22
22
  });
23
- class CommentDto extends (0, zod_nestjs_1.createZodDto)(exports.commentSchema) {
23
+ class CommentDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.commentSchema) {
24
24
  }
25
25
  exports.CommentDto = CommentDto;
26
26
  //# sourceMappingURL=comment.dto.js.map