expo-backend-types 0.5.0-EXPO-283-EB-Respuesta-Enlatada.6 → 0.5.0-EXPO-283-EB-Respuesta-Enlatada.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -40,7 +40,7 @@ declare const CommentDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodO
40
40
  profileId: z.ZodString;
41
41
  isSolvable: z.ZodDefault<z.ZodBoolean>;
42
42
  isSolved: z.ZodDefault<z.ZodBoolean>;
43
- solvedAt: z.ZodNullable<z.ZodDate>;
43
+ solvedAt: z.ZodNullable<z.ZodString>;
44
44
  solvedBy: z.ZodOptional<z.ZodString>;
45
45
  created_at: z.ZodString;
46
46
  updated_at: z.ZodString;
@@ -53,7 +53,7 @@ declare const CommentDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodO
53
53
  createdBy: string;
54
54
  profileId: string;
55
55
  isSolved: boolean;
56
- solvedAt: Date | null;
56
+ solvedAt: string | null;
57
57
  solvedBy?: string | undefined;
58
58
  }, {
59
59
  id: string;
@@ -62,7 +62,7 @@ declare const CommentDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodO
62
62
  updated_at: string;
63
63
  createdBy: string;
64
64
  profileId: string;
65
- solvedAt: Date | null;
65
+ solvedAt: string | null;
66
66
  isSolvable?: boolean | undefined;
67
67
  isSolved?: boolean | undefined;
68
68
  solvedBy?: string | undefined;
@@ -74,7 +74,7 @@ declare const CreateCommentResponseDto_base: import("@anatine/zod-nestjs").ZodDt
74
74
  profileId: import("zod").ZodString;
75
75
  isSolvable: import("zod").ZodDefault<import("zod").ZodBoolean>;
76
76
  isSolved: import("zod").ZodDefault<import("zod").ZodBoolean>;
77
- solvedAt: import("zod").ZodNullable<import("zod").ZodDate>;
77
+ solvedAt: import("zod").ZodNullable<import("zod").ZodString>;
78
78
  solvedBy: import("zod").ZodOptional<import("zod").ZodString>;
79
79
  created_at: import("zod").ZodString;
80
80
  updated_at: import("zod").ZodString;
@@ -87,7 +87,7 @@ declare const CreateCommentResponseDto_base: import("@anatine/zod-nestjs").ZodDt
87
87
  createdBy: string;
88
88
  profileId: string;
89
89
  isSolved: boolean;
90
- solvedAt: Date | null;
90
+ solvedAt: string | null;
91
91
  solvedBy?: string | undefined;
92
92
  }, {
93
93
  id: string;
@@ -96,7 +96,7 @@ declare const CreateCommentResponseDto_base: import("@anatine/zod-nestjs").ZodDt
96
96
  updated_at: string;
97
97
  createdBy: string;
98
98
  profileId: string;
99
- solvedAt: Date | null;
99
+ solvedAt: string | null;
100
100
  isSolvable?: boolean | undefined;
101
101
  isSolved?: boolean | undefined;
102
102
  solvedBy?: string | undefined;
@@ -99,7 +99,7 @@ declare const GetByProfileCommentResponseDto_base: import("@anatine/zod-nestjs")
99
99
  profileId: z.ZodString;
100
100
  isSolvable: z.ZodDefault<z.ZodBoolean>;
101
101
  isSolved: z.ZodDefault<z.ZodBoolean>;
102
- solvedAt: z.ZodNullable<z.ZodDate>;
102
+ solvedAt: z.ZodNullable<z.ZodString>;
103
103
  solvedBy: z.ZodOptional<z.ZodString>;
104
104
  created_at: z.ZodString;
105
105
  updated_at: z.ZodString;
@@ -122,7 +122,7 @@ declare const GetByProfileCommentResponseDto_base: import("@anatine/zod-nestjs")
122
122
  createdBy: string;
123
123
  profileId: string;
124
124
  isSolved: boolean;
125
- solvedAt: Date | null;
125
+ solvedAt: string | null;
126
126
  solvedBy?: string | undefined;
127
127
  }, {
128
128
  account: {
@@ -134,7 +134,7 @@ declare const GetByProfileCommentResponseDto_base: import("@anatine/zod-nestjs")
134
134
  updated_at: string;
135
135
  createdBy: string;
136
136
  profileId: string;
137
- solvedAt: Date | null;
137
+ solvedAt: string | null;
138
138
  isSolvable?: boolean | undefined;
139
139
  isSolved?: boolean | undefined;
140
140
  solvedBy?: string | undefined;
@@ -152,7 +152,7 @@ declare const GetByProfileCommentResponseDto_base: import("@anatine/zod-nestjs")
152
152
  createdBy: string;
153
153
  profileId: string;
154
154
  isSolved: boolean;
155
- solvedAt: Date | null;
155
+ solvedAt: string | null;
156
156
  solvedBy?: string | undefined;
157
157
  }[];
158
158
  }, {
@@ -166,7 +166,7 @@ declare const GetByProfileCommentResponseDto_base: import("@anatine/zod-nestjs")
166
166
  updated_at: string;
167
167
  createdBy: string;
168
168
  profileId: string;
169
- solvedAt: Date | null;
169
+ solvedAt: string | null;
170
170
  isSolvable?: boolean | undefined;
171
171
  isSolved?: boolean | undefined;
172
172
  solvedBy?: string | undefined;
@@ -39,7 +39,7 @@ declare const ToggleSolveCommentResponseDto_base: import("@anatine/zod-nestjs").
39
39
  profileId: import("zod").ZodString;
40
40
  isSolvable: import("zod").ZodDefault<import("zod").ZodBoolean>;
41
41
  isSolved: import("zod").ZodDefault<import("zod").ZodBoolean>;
42
- solvedAt: import("zod").ZodNullable<import("zod").ZodDate>;
42
+ solvedAt: import("zod").ZodNullable<import("zod").ZodString>;
43
43
  solvedBy: import("zod").ZodOptional<import("zod").ZodString>;
44
44
  created_at: import("zod").ZodString;
45
45
  updated_at: import("zod").ZodString;
@@ -52,7 +52,7 @@ declare const ToggleSolveCommentResponseDto_base: import("@anatine/zod-nestjs").
52
52
  createdBy: string;
53
53
  profileId: string;
54
54
  isSolved: boolean;
55
- solvedAt: Date | null;
55
+ solvedAt: string | null;
56
56
  solvedBy?: string | undefined;
57
57
  }, {
58
58
  id: string;
@@ -61,7 +61,7 @@ declare const ToggleSolveCommentResponseDto_base: import("@anatine/zod-nestjs").
61
61
  updated_at: string;
62
62
  createdBy: string;
63
63
  profileId: string;
64
- solvedAt: Date | null;
64
+ solvedAt: string | null;
65
65
  isSolvable?: boolean | undefined;
66
66
  isSolved?: boolean | undefined;
67
67
  solvedBy?: string | undefined;
@@ -1,8 +1,8 @@
1
1
  import { OpenApiZodAny } from '@anatine/zod-openapi';
2
- import { z, ZodArray, ZodDate, ZodIntersection, ZodObject, ZodTypeAny, ZodUnion } from 'zod';
2
+ import { z, ZodArray, ZodDate, ZodIntersection, ZodNullable, ZodObject, ZodTypeAny, ZodUnion } from 'zod';
3
3
  export type ReplaceDatesWithStrings<T extends ZodTypeAny> = T extends ZodDate ? ReturnType<typeof z.string> : T extends ZodObject<infer Shape> ? ZodObject<{
4
4
  [k in keyof Shape]: ReplaceDatesWithStrings<Shape[k]>;
5
5
  }> : T extends ZodArray<infer Item> ? ZodArray<ReplaceDatesWithStrings<Item>> : T extends ZodUnion<infer Options> ? ZodUnion<{
6
6
  [k in keyof Options]: ReplaceDatesWithStrings<Options[k]>;
7
- }> : T extends ZodIntersection<infer Left, infer Right> ? ZodIntersection<ReplaceDatesWithStrings<Left>, ReplaceDatesWithStrings<Right>> : T;
7
+ }> : T extends ZodIntersection<infer Left, infer Right> ? ZodIntersection<ReplaceDatesWithStrings<Left>, ReplaceDatesWithStrings<Right>> : T extends ZodNullable<infer Inner> ? ZodNullable<ReplaceDatesWithStrings<Inner>> : T;
8
8
  export declare const replaceDatesWithStrings: <T extends OpenApiZodAny>(schema: T) => ReplaceDatesWithStrings<T>;
@@ -1 +1 @@
1
- {"version":3,"file":"zod-without-dates.js","sourceRoot":"","sources":["../../../../src/shared/dto-modification/zod-without-dates.ts"],"names":[],"mappings":";;;AACA,6BASa;AAoBN,MAAM,uBAAuB,GAAG,CACrC,MAAS,EACmB,EAAE;IAC9B,IAAI,MAAM,YAAY,aAAO,EAAE,CAAC;QAC9B,OAAO,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAgC,CAAC;IAC7D,CAAC;IAED,IAAI,MAAM,YAAY,eAAS,EAAE,CAAC;QAChC,MAAM,QAAQ,GAAgB,EAAE,CAAC;QACjC,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC;YAC/B,QAAQ,CAAC,GAAG,CAAC,GAAG,IAAA,+BAAuB,EAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;QAC7D,CAAC;QACD,OAAO,OAAC,CAAC,MAAM,CAAC,QAAQ,CAA+B,CAAC;IAC1D,CAAC;IAED,IAAI,MAAM,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,CAAC;IAC1D,CAAC;IAED,IAAI,MAAM,YAAY,cAAQ,EAAE,CAAC;QAC/B,OAAO,OAAC,CAAC,KAAK,CACZ,IAAA,+BAAuB,EAAC,MAAM,CAAC,OAAO,CAAC,CACV,CAAC;IAClC,CAAC;IAED,IAAI,MAAM,YAAY,cAAQ,EAAE,CAAC;QAC/B,OAAO,OAAC,CAAC,KAAK,CACZ,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAS,EAAE,EAAE,CAAC,IAAA,+BAAuB,EAAC,MAAM,CAAC,CAAC,CAC1C,CAAC;IAClC,CAAC;IAED,IAAI,MAAM,YAAY,qBAAe,EAAE,CAAC;QACtC,OAAO,OAAC,CAAC,YAAY,CACnB,IAAA,+BAAuB,EAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EACzC,IAAA,+BAAuB,EAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CACb,CAAC;IAClC,CAAC;IAGD,OAAO,MAAoC,CAAC;AAC9C,CAAC,CAAC;AApCW,QAAA,uBAAuB,2BAoClC"}
@@ -147,7 +147,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
147
147
  fullName: z.ZodString;
148
148
  firstName: z.ZodNullable<z.ZodString>;
149
149
  gender: z.ZodNullable<z.ZodString>;
150
- birthDate: z.ZodNullable<z.ZodDate>;
150
+ birthDate: z.ZodNullable<z.ZodString>;
151
151
  profilePictureUrl: z.ZodNullable<z.ZodString>;
152
152
  instagram: z.ZodNullable<z.ZodString>;
153
153
  mail: z.ZodNullable<z.ZodString>;
@@ -158,7 +158,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
158
158
  residenceLongitude: z.ZodNullable<z.ZodNumber>;
159
159
  residenceLatitude: z.ZodNullable<z.ZodNumber>;
160
160
  isInTrash: z.ZodBoolean;
161
- movedToTrashDate: z.ZodNullable<z.ZodDate>;
161
+ movedToTrashDate: z.ZodNullable<z.ZodString>;
162
162
  created_at: z.ZodString;
163
163
  updated_at: z.ZodString;
164
164
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -172,7 +172,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
172
172
  shortId: number;
173
173
  firstName: string | null;
174
174
  gender: string | null;
175
- birthDate: Date | null;
175
+ birthDate: string | null;
176
176
  instagram: string | null;
177
177
  mail: string | null;
178
178
  dni: string | null;
@@ -182,7 +182,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
182
182
  residenceLongitude: number | null;
183
183
  residenceLatitude: number | null;
184
184
  isInTrash: boolean;
185
- movedToTrashDate: Date | null;
185
+ movedToTrashDate: string | null;
186
186
  }, {
187
187
  id: string;
188
188
  phoneNumber: string;
@@ -194,7 +194,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
194
194
  shortId: number;
195
195
  firstName: string | null;
196
196
  gender: string | null;
197
- birthDate: Date | null;
197
+ birthDate: string | null;
198
198
  instagram: string | null;
199
199
  mail: string | null;
200
200
  dni: string | null;
@@ -204,7 +204,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
204
204
  residenceLongitude: number | null;
205
205
  residenceLatitude: number | null;
206
206
  isInTrash: boolean;
207
- movedToTrashDate: Date | null;
207
+ movedToTrashDate: string | null;
208
208
  }>, "many">;
209
209
  }, z.UnknownKeysParam, z.ZodTypeAny, {
210
210
  profiles: {
@@ -218,7 +218,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
218
218
  shortId: number;
219
219
  firstName: string | null;
220
220
  gender: string | null;
221
- birthDate: Date | null;
221
+ birthDate: string | null;
222
222
  instagram: string | null;
223
223
  mail: string | null;
224
224
  dni: string | null;
@@ -228,7 +228,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
228
228
  residenceLongitude: number | null;
229
229
  residenceLatitude: number | null;
230
230
  isInTrash: boolean;
231
- movedToTrashDate: Date | null;
231
+ movedToTrashDate: string | null;
232
232
  }[];
233
233
  }, {
234
234
  profiles: {
@@ -242,7 +242,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
242
242
  shortId: number;
243
243
  firstName: string | null;
244
244
  gender: string | null;
245
- birthDate: Date | null;
245
+ birthDate: string | null;
246
246
  instagram: string | null;
247
247
  mail: string | null;
248
248
  dni: string | null;
@@ -252,7 +252,7 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
252
252
  residenceLongitude: number | null;
253
253
  residenceLatitude: number | null;
254
254
  isInTrash: boolean;
255
- movedToTrashDate: Date | null;
255
+ movedToTrashDate: string | null;
256
256
  }[];
257
257
  }>>;
258
258
  export declare class MassiveAllocationResponseDto extends MassiveAllocationResponseDto_base {
@@ -147,7 +147,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
147
147
  fullName: z.ZodString;
148
148
  firstName: z.ZodNullable<z.ZodString>;
149
149
  gender: z.ZodNullable<z.ZodString>;
150
- birthDate: z.ZodNullable<z.ZodDate>;
150
+ birthDate: z.ZodNullable<z.ZodString>;
151
151
  profilePictureUrl: z.ZodNullable<z.ZodString>;
152
152
  instagram: z.ZodNullable<z.ZodString>;
153
153
  mail: z.ZodNullable<z.ZodString>;
@@ -158,7 +158,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
158
158
  residenceLongitude: z.ZodNullable<z.ZodNumber>;
159
159
  residenceLatitude: z.ZodNullable<z.ZodNumber>;
160
160
  isInTrash: z.ZodBoolean;
161
- movedToTrashDate: z.ZodNullable<z.ZodDate>;
161
+ movedToTrashDate: z.ZodNullable<z.ZodString>;
162
162
  created_at: z.ZodString;
163
163
  updated_at: z.ZodString;
164
164
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -172,7 +172,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
172
172
  shortId: number;
173
173
  firstName: string | null;
174
174
  gender: string | null;
175
- birthDate: Date | null;
175
+ birthDate: string | null;
176
176
  instagram: string | null;
177
177
  mail: string | null;
178
178
  dni: string | null;
@@ -182,7 +182,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
182
182
  residenceLongitude: number | null;
183
183
  residenceLatitude: number | null;
184
184
  isInTrash: boolean;
185
- movedToTrashDate: Date | null;
185
+ movedToTrashDate: string | null;
186
186
  }, {
187
187
  id: string;
188
188
  phoneNumber: string;
@@ -194,7 +194,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
194
194
  shortId: number;
195
195
  firstName: string | null;
196
196
  gender: string | null;
197
- birthDate: Date | null;
197
+ birthDate: string | null;
198
198
  instagram: string | null;
199
199
  mail: string | null;
200
200
  dni: string | null;
@@ -204,7 +204,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
204
204
  residenceLongitude: number | null;
205
205
  residenceLatitude: number | null;
206
206
  isInTrash: boolean;
207
- movedToTrashDate: Date | null;
207
+ movedToTrashDate: string | null;
208
208
  }>, "many">;
209
209
  }, z.UnknownKeysParam, z.ZodTypeAny, {
210
210
  profiles: {
@@ -218,7 +218,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
218
218
  shortId: number;
219
219
  firstName: string | null;
220
220
  gender: string | null;
221
- birthDate: Date | null;
221
+ birthDate: string | null;
222
222
  instagram: string | null;
223
223
  mail: string | null;
224
224
  dni: string | null;
@@ -228,7 +228,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
228
228
  residenceLongitude: number | null;
229
229
  residenceLatitude: number | null;
230
230
  isInTrash: boolean;
231
- movedToTrashDate: Date | null;
231
+ movedToTrashDate: string | null;
232
232
  }[];
233
233
  }, {
234
234
  profiles: {
@@ -242,7 +242,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
242
242
  shortId: number;
243
243
  firstName: string | null;
244
244
  gender: string | null;
245
- birthDate: Date | null;
245
+ birthDate: string | null;
246
246
  instagram: string | null;
247
247
  mail: string | null;
248
248
  dni: string | null;
@@ -252,7 +252,7 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
252
252
  residenceLongitude: number | null;
253
253
  residenceLatitude: number | null;
254
254
  isInTrash: boolean;
255
- movedToTrashDate: Date | null;
255
+ movedToTrashDate: string | null;
256
256
  }[];
257
257
  }>>;
258
258
  export declare class MassiveDeallocationResponseDto extends MassiveDeallocationResponseDto_base {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.5.0-EXPO-283-EB-Respuesta-Enlatada.6",
3
+ "version": "0.5.0-EXPO-283-EB-Respuesta-Enlatada.7",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,