expo-backend-types 0.30.0-EXPO-308-auth.14 → 0.30.0-EXPO-308-auth.16
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.
- package/dist/src/auth/dto/login-mi-expo.dto.js +1 -1
- package/dist/src/exports.d.ts +1 -0
- package/dist/src/exports.js +1 -0
- package/dist/src/message/dto/non-read-messages.dto.js +1 -1
- package/dist/src/message/dto/send-message-to-phone.dto.js +1 -1
- package/dist/src/otp/dto/send-otp.dto.js +1 -1
- package/dist/src/otp/dto/verify-otp.dto.js +1 -1
- package/dist/src/profile/dto/create-profile.dto.d.ts +468 -82
- package/dist/src/profile/dto/create-profile.dto.js +80 -4
- package/dist/src/profile/dto/delete-profile.dto.d.ts +73 -0
- package/dist/src/profile/dto/delete-profile.dto.js +4 -3
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +266 -39
- package/dist/src/profile/dto/find-all-profile.dto.js +19 -3
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +440 -79
- package/dist/src/profile/dto/find-by-date-range-profile.dto.js +26 -4
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +309 -58
- package/dist/src/profile/dto/find-by-id-profile.dto.js +21 -3
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +73 -0
- package/dist/src/profile/dto/find-by-phone-number.dto.js +4 -3
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +223 -35
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.js +13 -3
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +257 -38
- package/dist/src/profile/dto/find-by-tags-profile.dto.js +18 -3
- package/dist/src/profile/dto/find-trash.dto.d.ts +75 -11
- package/dist/src/profile/dto/find-trash.dto.js +18 -3
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +443 -58
- package/dist/src/profile/dto/find-with-active-chat.dto.js +20 -3
- package/dist/src/profile/dto/profile.dto.js +1 -1
- package/dist/src/profile/dto/update-profile.dto.d.ts +244 -60
- package/dist/src/profile/dto/update-profile.dto.js +48 -4
- package/dist/src/profile/exports.d.ts +12 -12
- package/dist/src/profile/exports.js +12 -12
- package/dist/src/schema/exports.d.ts +1 -0
- package/dist/src/schema/exports.js +18 -0
- package/dist/src/{profile/schema → schema}/profile.schema.js +1 -1
- package/dist/src/tag/dto/massive-allocation.dto.js +1 -1
- package/dist/src/tag/dto/massive-deallocation.dto.js +1 -1
- package/dist/types/schema.d.ts +0 -4
- package/package.json +23 -25
- package/dist/src/profile/schema/create-profile.schema.d.ts +0 -405
- package/dist/src/profile/schema/create-profile.schema.js +0 -83
- package/dist/src/profile/schema/delete-profile.schema.d.ts +0 -73
- package/dist/src/profile/schema/delete-profile.schema.js +0 -6
- package/dist/src/profile/schema/find-all-profile.schema.d.ts +0 -227
- package/dist/src/profile/schema/find-all-profile.schema.js +0 -21
- package/dist/src/profile/schema/find-by-date-range-profile.schema.d.ts +0 -361
- package/dist/src/profile/schema/find-by-date-range-profile.schema.js +0 -27
- package/dist/src/profile/schema/find-by-id-profile.schema.d.ts +0 -251
- package/dist/src/profile/schema/find-by-id-profile.schema.js +0 -23
- package/dist/src/profile/schema/find-by-phone-number.schema.d.ts +0 -73
- package/dist/src/profile/schema/find-by-phone-number.schema.js +0 -6
- package/dist/src/profile/schema/find-by-tag-groups-profile.schema.d.ts +0 -188
- package/dist/src/profile/schema/find-by-tag-groups-profile.schema.js +0 -15
- package/dist/src/profile/schema/find-by-tags-profile.schema.d.ts +0 -219
- package/dist/src/profile/schema/find-by-tags-profile.schema.js +0 -20
- package/dist/src/profile/schema/find-trash.schema.d.ts +0 -64
- package/dist/src/profile/schema/find-trash.schema.js +0 -20
- package/dist/src/profile/schema/find-with-active-chat.schema.d.ts +0 -385
- package/dist/src/profile/schema/find-with-active-chat.schema.js +0 -22
- package/dist/src/profile/schema/update-profile.schema.d.ts +0 -196
- package/dist/src/profile/schema/update-profile.schema.js +0 -51
- /package/dist/src/{profile/schema → schema}/profile.schema.d.ts +0 -0
@@ -1,25 +1,28 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
residence:
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
country:
|
21
|
-
|
22
|
-
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const updateProfileSchema: z.ZodObject<z.objectUtil.extendShape<{
|
3
|
+
phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
4
|
+
secondaryPhoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>>;
|
5
|
+
fullName: z.ZodOptional<z.ZodString>;
|
6
|
+
profilePictureUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
7
|
+
mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8
|
+
gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
9
|
+
birthDate: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>>;
|
10
|
+
instagram: 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
|
+
}, {
|
16
|
+
residence: z.ZodOptional<z.ZodObject<Pick<{
|
17
|
+
id: z.ZodString;
|
18
|
+
latitude: z.ZodNumber;
|
19
|
+
longitude: z.ZodNumber;
|
20
|
+
country: z.ZodString;
|
21
|
+
state: z.ZodString;
|
22
|
+
city: z.ZodString;
|
23
|
+
created_at: z.ZodDate;
|
24
|
+
updated_at: z.ZodDate;
|
25
|
+
}, "latitude" | "longitude" | "state" | "country" | "city">, "strip", z.ZodTypeAny, {
|
23
26
|
latitude: number;
|
24
27
|
longitude: number;
|
25
28
|
state: string;
|
@@ -32,13 +35,16 @@ declare const UpdateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
32
35
|
country: string;
|
33
36
|
city: string;
|
34
37
|
}>>;
|
35
|
-
birth:
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
country:
|
40
|
-
|
41
|
-
|
38
|
+
birth: z.ZodOptional<z.ZodObject<Pick<{
|
39
|
+
id: z.ZodString;
|
40
|
+
latitude: z.ZodNumber;
|
41
|
+
longitude: z.ZodNumber;
|
42
|
+
country: z.ZodString;
|
43
|
+
state: z.ZodString;
|
44
|
+
city: z.ZodString;
|
45
|
+
created_at: z.ZodDate;
|
46
|
+
updated_at: z.ZodDate;
|
47
|
+
}, "latitude" | "longitude" | "state" | "country" | "city">, "strip", z.ZodTypeAny, {
|
42
48
|
latitude: number;
|
43
49
|
longitude: number;
|
44
50
|
state: string;
|
@@ -51,10 +57,117 @@ declare const UpdateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
51
57
|
country: string;
|
52
58
|
city: string;
|
53
59
|
}>>;
|
54
|
-
tags:
|
55
|
-
}
|
56
|
-
|
57
|
-
|
60
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
61
|
+
}>, "strip", z.ZodTypeAny, {
|
62
|
+
phoneNumber?: string | undefined;
|
63
|
+
secondaryPhoneNumber?: string | null | undefined;
|
64
|
+
fullName?: string | undefined;
|
65
|
+
profilePictureUrl?: string | null | undefined;
|
66
|
+
mail?: string | null | undefined;
|
67
|
+
gender?: string | null | undefined;
|
68
|
+
birthDate?: Date | null | undefined;
|
69
|
+
instagram?: string | null | undefined;
|
70
|
+
dni?: string | null | undefined;
|
71
|
+
alternativeNames?: string[] | undefined;
|
72
|
+
isInTrash?: boolean | undefined;
|
73
|
+
movedToTrashDate?: Date | null | undefined;
|
74
|
+
tags?: string[] | undefined;
|
75
|
+
residence?: {
|
76
|
+
latitude: number;
|
77
|
+
longitude: number;
|
78
|
+
state: string;
|
79
|
+
country: string;
|
80
|
+
city: string;
|
81
|
+
} | undefined;
|
82
|
+
birth?: {
|
83
|
+
latitude: number;
|
84
|
+
longitude: number;
|
85
|
+
state: string;
|
86
|
+
country: string;
|
87
|
+
city: string;
|
88
|
+
} | undefined;
|
89
|
+
}, {
|
90
|
+
phoneNumber?: string | undefined;
|
91
|
+
secondaryPhoneNumber?: string | null | undefined;
|
92
|
+
fullName?: string | undefined;
|
93
|
+
profilePictureUrl?: string | null | undefined;
|
94
|
+
mail?: string | null | undefined;
|
95
|
+
gender?: string | null | undefined;
|
96
|
+
birthDate?: string | null | undefined;
|
97
|
+
instagram?: string | null | undefined;
|
98
|
+
dni?: string | null | undefined;
|
99
|
+
alternativeNames?: string[] | undefined;
|
100
|
+
isInTrash?: boolean | undefined;
|
101
|
+
movedToTrashDate?: Date | null | undefined;
|
102
|
+
tags?: string[] | undefined;
|
103
|
+
residence?: {
|
104
|
+
latitude: number;
|
105
|
+
longitude: number;
|
106
|
+
state: string;
|
107
|
+
country: string;
|
108
|
+
city: string;
|
109
|
+
} | undefined;
|
110
|
+
birth?: {
|
111
|
+
latitude: number;
|
112
|
+
longitude: number;
|
113
|
+
state: string;
|
114
|
+
country: string;
|
115
|
+
city: string;
|
116
|
+
} | undefined;
|
117
|
+
}>;
|
118
|
+
declare const UpdateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
119
|
+
phoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
120
|
+
secondaryPhoneNumber: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>>;
|
121
|
+
fullName: z.ZodOptional<z.ZodString>;
|
122
|
+
profilePictureUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
123
|
+
mail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
124
|
+
gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
125
|
+
birthDate: z.ZodOptional<z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>>;
|
126
|
+
instagram: 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>>;
|
131
|
+
residence: z.ZodOptional<z.ZodObject<{
|
132
|
+
latitude: z.ZodNumber;
|
133
|
+
longitude: z.ZodNumber;
|
134
|
+
state: z.ZodString;
|
135
|
+
country: z.ZodString;
|
136
|
+
city: z.ZodString;
|
137
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
138
|
+
latitude: number;
|
139
|
+
longitude: number;
|
140
|
+
state: string;
|
141
|
+
country: string;
|
142
|
+
city: string;
|
143
|
+
}, {
|
144
|
+
latitude: number;
|
145
|
+
longitude: number;
|
146
|
+
state: string;
|
147
|
+
country: string;
|
148
|
+
city: string;
|
149
|
+
}>>;
|
150
|
+
birth: z.ZodOptional<z.ZodObject<{
|
151
|
+
latitude: z.ZodNumber;
|
152
|
+
longitude: z.ZodNumber;
|
153
|
+
state: z.ZodString;
|
154
|
+
country: z.ZodString;
|
155
|
+
city: z.ZodString;
|
156
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
157
|
+
latitude: number;
|
158
|
+
longitude: number;
|
159
|
+
state: string;
|
160
|
+
country: string;
|
161
|
+
city: string;
|
162
|
+
}, {
|
163
|
+
latitude: number;
|
164
|
+
longitude: number;
|
165
|
+
state: string;
|
166
|
+
country: string;
|
167
|
+
city: string;
|
168
|
+
}>>;
|
169
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
170
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
58
171
|
phoneNumber?: string | undefined;
|
59
172
|
secondaryPhoneNumber?: string | null | undefined;
|
60
173
|
fullName?: string | undefined;
|
@@ -83,8 +196,6 @@ declare const UpdateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
83
196
|
city: string;
|
84
197
|
} | undefined;
|
85
198
|
}, {
|
86
|
-
username?: string | null | undefined;
|
87
|
-
password?: string | null | undefined;
|
88
199
|
phoneNumber?: string | undefined;
|
89
200
|
secondaryPhoneNumber?: string | null | undefined;
|
90
201
|
fullName?: string | undefined;
|
@@ -115,31 +226,104 @@ declare const UpdateProfileDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
115
226
|
}>>;
|
116
227
|
export declare class UpdateProfileDto extends UpdateProfileDto_base {
|
117
228
|
}
|
118
|
-
declare const
|
119
|
-
id:
|
120
|
-
shortId:
|
121
|
-
firstTimeMiExpo:
|
122
|
-
username:
|
123
|
-
password:
|
124
|
-
phoneNumber:
|
125
|
-
isPhoneVerified:
|
126
|
-
secondaryPhoneNumber:
|
127
|
-
fullName:
|
128
|
-
firstName:
|
129
|
-
gender:
|
130
|
-
birthDate:
|
131
|
-
profilePictureUrl:
|
132
|
-
instagram:
|
133
|
-
mail:
|
134
|
-
dni:
|
135
|
-
alternativeNames:
|
136
|
-
birthLocationId:
|
137
|
-
residenceLocationId:
|
138
|
-
isInTrash:
|
139
|
-
movedToTrashDate:
|
140
|
-
created_at:
|
141
|
-
updated_at:
|
142
|
-
},
|
229
|
+
export declare const updateProfileResponseSchema: z.ZodObject<{
|
230
|
+
id: z.ZodString;
|
231
|
+
shortId: z.ZodNumber;
|
232
|
+
firstTimeMiExpo: z.ZodBoolean;
|
233
|
+
username: z.ZodNullable<z.ZodString>;
|
234
|
+
password: z.ZodNullable<z.ZodString>;
|
235
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
236
|
+
isPhoneVerified: z.ZodBoolean;
|
237
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
238
|
+
fullName: z.ZodString;
|
239
|
+
firstName: z.ZodNullable<z.ZodString>;
|
240
|
+
gender: z.ZodNullable<z.ZodString>;
|
241
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
|
242
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
243
|
+
instagram: z.ZodNullable<z.ZodString>;
|
244
|
+
mail: z.ZodNullable<z.ZodString>;
|
245
|
+
dni: z.ZodNullable<z.ZodString>;
|
246
|
+
alternativeNames: z.ZodArray<z.ZodString, "many">;
|
247
|
+
birthLocationId: z.ZodNullable<z.ZodString>;
|
248
|
+
residenceLocationId: z.ZodNullable<z.ZodString>;
|
249
|
+
isInTrash: z.ZodBoolean;
|
250
|
+
movedToTrashDate: z.ZodNullable<z.ZodDate>;
|
251
|
+
created_at: z.ZodDate;
|
252
|
+
updated_at: z.ZodDate;
|
253
|
+
}, "strip", z.ZodTypeAny, {
|
254
|
+
id: string;
|
255
|
+
username: string | null;
|
256
|
+
password: string | null;
|
257
|
+
phoneNumber: string;
|
258
|
+
secondaryPhoneNumber: string | null;
|
259
|
+
fullName: string;
|
260
|
+
profilePictureUrl: string | null;
|
261
|
+
mail: string | null;
|
262
|
+
created_at: Date;
|
263
|
+
updated_at: Date;
|
264
|
+
shortId: number;
|
265
|
+
firstTimeMiExpo: boolean;
|
266
|
+
isPhoneVerified: boolean;
|
267
|
+
firstName: string | null;
|
268
|
+
gender: string | null;
|
269
|
+
birthDate: Date | null;
|
270
|
+
instagram: string | null;
|
271
|
+
dni: string | null;
|
272
|
+
alternativeNames: string[];
|
273
|
+
birthLocationId: string | null;
|
274
|
+
residenceLocationId: string | null;
|
275
|
+
isInTrash: boolean;
|
276
|
+
movedToTrashDate: Date | null;
|
277
|
+
}, {
|
278
|
+
id: string;
|
279
|
+
username: string | null;
|
280
|
+
password: string | null;
|
281
|
+
phoneNumber: string;
|
282
|
+
secondaryPhoneNumber: string | null;
|
283
|
+
fullName: string;
|
284
|
+
profilePictureUrl: string | null;
|
285
|
+
mail: string | null;
|
286
|
+
created_at: Date;
|
287
|
+
updated_at: Date;
|
288
|
+
shortId: number;
|
289
|
+
firstTimeMiExpo: boolean;
|
290
|
+
isPhoneVerified: boolean;
|
291
|
+
firstName: string | null;
|
292
|
+
gender: string | null;
|
293
|
+
birthDate: string | null;
|
294
|
+
instagram: string | null;
|
295
|
+
dni: string | null;
|
296
|
+
alternativeNames: string[];
|
297
|
+
birthLocationId: string | null;
|
298
|
+
residenceLocationId: string | null;
|
299
|
+
isInTrash: boolean;
|
300
|
+
movedToTrashDate: Date | null;
|
301
|
+
}>;
|
302
|
+
declare const UpdateProfileResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
303
|
+
id: z.ZodString;
|
304
|
+
shortId: z.ZodNumber;
|
305
|
+
firstTimeMiExpo: z.ZodBoolean;
|
306
|
+
username: z.ZodNullable<z.ZodString>;
|
307
|
+
password: z.ZodNullable<z.ZodString>;
|
308
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
309
|
+
isPhoneVerified: z.ZodBoolean;
|
310
|
+
secondaryPhoneNumber: z.ZodEffects<z.ZodEffects<z.ZodNullable<z.ZodString>, string | null, string | null>, string | null, string | null>;
|
311
|
+
fullName: z.ZodString;
|
312
|
+
firstName: z.ZodNullable<z.ZodString>;
|
313
|
+
gender: z.ZodNullable<z.ZodString>;
|
314
|
+
birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
|
315
|
+
profilePictureUrl: z.ZodNullable<z.ZodString>;
|
316
|
+
instagram: z.ZodNullable<z.ZodString>;
|
317
|
+
mail: z.ZodNullable<z.ZodString>;
|
318
|
+
dni: z.ZodNullable<z.ZodString>;
|
319
|
+
alternativeNames: z.ZodArray<z.ZodString, "many">;
|
320
|
+
birthLocationId: z.ZodNullable<z.ZodString>;
|
321
|
+
residenceLocationId: z.ZodNullable<z.ZodString>;
|
322
|
+
isInTrash: z.ZodBoolean;
|
323
|
+
movedToTrashDate: z.ZodNullable<z.ZodString>;
|
324
|
+
created_at: z.ZodString;
|
325
|
+
updated_at: z.ZodString;
|
326
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
143
327
|
id: string;
|
144
328
|
username: string | null;
|
145
329
|
password: string | null;
|
@@ -1,12 +1,56 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.UpdateProfileResponseDto = exports.UpdateProfileDto = void 0;
|
4
|
-
const
|
6
|
+
exports.UpdateProfileResponseDto = exports.updateProfileResponseSchema = exports.UpdateProfileDto = exports.updateProfileSchema = void 0;
|
7
|
+
const location_dto_1 = require("../../location/dto/location.dto");
|
8
|
+
const profile_schema_1 = require("../../schema/profile.schema");
|
5
9
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
6
|
-
|
10
|
+
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
11
|
+
const zod_1 = __importDefault(require("zod"));
|
12
|
+
exports.updateProfileSchema = profile_schema_1.profileSchema
|
13
|
+
.pick({
|
14
|
+
alternativeNames: true,
|
15
|
+
birthDate: true,
|
16
|
+
dni: true,
|
17
|
+
fullName: true,
|
18
|
+
gender: true,
|
19
|
+
instagram: true,
|
20
|
+
mail: true,
|
21
|
+
phoneNumber: true,
|
22
|
+
profilePictureUrl: true,
|
23
|
+
secondaryPhoneNumber: true,
|
24
|
+
isInTrash: true,
|
25
|
+
movedToTrashDate: true,
|
26
|
+
})
|
27
|
+
.partial()
|
28
|
+
.merge(zod_1.default.object({
|
29
|
+
residence: location_dto_1.locationSchema
|
30
|
+
.pick({
|
31
|
+
city: true,
|
32
|
+
country: true,
|
33
|
+
latitude: true,
|
34
|
+
longitude: true,
|
35
|
+
state: true,
|
36
|
+
})
|
37
|
+
.optional(),
|
38
|
+
birth: location_dto_1.locationSchema
|
39
|
+
.pick({
|
40
|
+
city: true,
|
41
|
+
country: true,
|
42
|
+
latitude: true,
|
43
|
+
longitude: true,
|
44
|
+
state: true,
|
45
|
+
})
|
46
|
+
.optional(),
|
47
|
+
tags: zod_1.default.array(tag_dto_1.tagSchema.shape.id).optional(),
|
48
|
+
}));
|
49
|
+
class UpdateProfileDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateProfileSchema) {
|
7
50
|
}
|
8
51
|
exports.UpdateProfileDto = UpdateProfileDto;
|
9
|
-
|
52
|
+
exports.updateProfileResponseSchema = profile_schema_1.profileSchema;
|
53
|
+
class UpdateProfileResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateProfileResponseSchema) {
|
10
54
|
}
|
11
55
|
exports.UpdateProfileResponseDto = UpdateProfileResponseDto;
|
12
56
|
//# sourceMappingURL=update-profile.dto.js.map
|
@@ -1,12 +1,12 @@
|
|
1
|
-
export * from './
|
2
|
-
export * from './
|
3
|
-
export * from './
|
4
|
-
export * from './
|
5
|
-
export * from './
|
6
|
-
export * from './
|
7
|
-
export * from './
|
8
|
-
export * from './
|
9
|
-
export * from './
|
10
|
-
export * from './
|
11
|
-
export * from './
|
12
|
-
export * from './
|
1
|
+
export * from './dto/create-profile.dto';
|
2
|
+
export * from './dto/delete-profile.dto';
|
3
|
+
export * from './dto/find-all-profile.dto';
|
4
|
+
export * from './dto/find-by-date-range-profile.dto';
|
5
|
+
export * from './dto/find-by-id-profile.dto';
|
6
|
+
export * from './dto/find-by-phone-number.dto';
|
7
|
+
export * from './dto/find-by-tag-groups-profile.dto';
|
8
|
+
export * from './dto/find-by-tags-profile.dto';
|
9
|
+
export * from './dto/find-trash.dto';
|
10
|
+
export * from './dto/find-with-active-chat.dto';
|
11
|
+
export * from './dto/profile.dto';
|
12
|
+
export * from './dto/update-profile.dto';
|
@@ -14,16 +14,16 @@ 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("./
|
18
|
-
__exportStar(require("./
|
19
|
-
__exportStar(require("./
|
20
|
-
__exportStar(require("./
|
21
|
-
__exportStar(require("./
|
22
|
-
__exportStar(require("./
|
23
|
-
__exportStar(require("./
|
24
|
-
__exportStar(require("./
|
25
|
-
__exportStar(require("./
|
26
|
-
__exportStar(require("./
|
27
|
-
__exportStar(require("./
|
28
|
-
__exportStar(require("./
|
17
|
+
__exportStar(require("./dto/create-profile.dto"), exports);
|
18
|
+
__exportStar(require("./dto/delete-profile.dto"), exports);
|
19
|
+
__exportStar(require("./dto/find-all-profile.dto"), exports);
|
20
|
+
__exportStar(require("./dto/find-by-date-range-profile.dto"), exports);
|
21
|
+
__exportStar(require("./dto/find-by-id-profile.dto"), exports);
|
22
|
+
__exportStar(require("./dto/find-by-phone-number.dto"), exports);
|
23
|
+
__exportStar(require("./dto/find-by-tag-groups-profile.dto"), exports);
|
24
|
+
__exportStar(require("./dto/find-by-tags-profile.dto"), exports);
|
25
|
+
__exportStar(require("./dto/find-trash.dto"), exports);
|
26
|
+
__exportStar(require("./dto/find-with-active-chat.dto"), exports);
|
27
|
+
__exportStar(require("./dto/profile.dto"), exports);
|
28
|
+
__exportStar(require("./dto/update-profile.dto"), exports);
|
29
29
|
//# sourceMappingURL=exports.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './profile.schema';
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./profile.schema"), exports);
|
18
|
+
//# sourceMappingURL=exports.js.map
|
@@ -27,7 +27,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.profileSchema = void 0;
|
30
|
-
const translate_1 = require("
|
30
|
+
const translate_1 = require("../i18n/translate");
|
31
31
|
const libphonenumber_js_1 = __importStar(require("libphonenumber-js"));
|
32
32
|
const zod_1 = __importDefault(require("zod"));
|
33
33
|
function formatArgNumber(phoneNumber, value) {
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.MassiveAllocationResponseDto = exports.massiveAllocationResponseSchema = exports.MassiveAllocationDto = exports.massiveAllocationSchema = void 0;
|
7
|
-
const profile_schema_1 = require("../../
|
7
|
+
const profile_schema_1 = require("../../schema/profile.schema");
|
8
8
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
9
9
|
const tag_dto_1 = require("./tag.dto");
|
10
10
|
const zod_1 = __importDefault(require("zod"));
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.MassiveDeallocationResponseDto = exports.massiveDeallocationResponseSchema = exports.MassiveDeallocationDto = exports.massiveDeallocationSchema = void 0;
|
7
|
-
const profile_schema_1 = require("../../
|
7
|
+
const profile_schema_1 = require("../../schema/profile.schema");
|
8
8
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
9
9
|
const tag_dto_1 = require("./tag.dto");
|
10
10
|
const zod_1 = __importDefault(require("zod"));
|
package/dist/types/schema.d.ts
CHANGED
@@ -2013,8 +2013,6 @@ export interface components {
|
|
2013
2013
|
phoneNumber: string;
|
2014
2014
|
profilePictureUrl: string | null;
|
2015
2015
|
secondaryPhoneNumber: string | null;
|
2016
|
-
password: string | null;
|
2017
|
-
username: string | null;
|
2018
2016
|
comments?: {
|
2019
2017
|
content: string;
|
2020
2018
|
isSolvable: boolean;
|
@@ -2150,8 +2148,6 @@ export interface components {
|
|
2150
2148
|
secondaryPhoneNumber?: string | null;
|
2151
2149
|
isInTrash?: boolean;
|
2152
2150
|
movedToTrashDate?: string | null;
|
2153
|
-
username?: string | null;
|
2154
|
-
password?: string | null;
|
2155
2151
|
residence?: {
|
2156
2152
|
city: string;
|
2157
2153
|
country: string;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "expo-backend-types",
|
3
|
-
"version": "0.30.0-EXPO-308-auth.
|
3
|
+
"version": "0.30.0-EXPO-308-auth.16",
|
4
4
|
"description": "",
|
5
5
|
"author": "Expo",
|
6
6
|
"private": false,
|
@@ -8,11 +8,10 @@
|
|
8
8
|
"files": [
|
9
9
|
"dist/types",
|
10
10
|
"dist/src/**/*.dto.{js,d.ts,ts}",
|
11
|
-
"dist/src/**/constants.{js,d.ts,ts}",
|
12
11
|
"dist/src/**/*.schema.{js,d.ts,ts}",
|
12
|
+
"dist/src/**/constants.{js,d.ts,ts}",
|
13
13
|
"dist/src/**/exports.{js,d.ts,ts}",
|
14
14
|
"dist/src/shared/dto-modification",
|
15
|
-
"dist/src/shared/errors/dotType.ts",
|
16
15
|
"dist/src/i18n"
|
17
16
|
],
|
18
17
|
"scripts": {
|
@@ -21,7 +20,7 @@
|
|
21
20
|
"postinstall": "patch-package",
|
22
21
|
"format": "prettier --write \"src/**/*.ts\" \"types/**/*.ts\"",
|
23
22
|
"check-format": "prettier --check \"src/**/*.ts\"",
|
24
|
-
"check-exports": "attw --pack
|
23
|
+
"check-exports": "attw --pack .",
|
25
24
|
"local-release": "changeset version && changeset publish",
|
26
25
|
"commit-schema": "git add ./types/schema.d.ts swagger.yaml && git commit -m \"Update schema\"",
|
27
26
|
"start": "npx prisma generate && npx nest start",
|
@@ -42,24 +41,37 @@
|
|
42
41
|
"@anatine/zod-nestjs": "^2.0.9",
|
43
42
|
"@anatine/zod-openapi": "^2.2.6",
|
44
43
|
"i18n-js": "^4.4.3",
|
45
|
-
"libphonenumber-js": "^1.10.53",
|
46
44
|
"patch-package": "^8.0.0",
|
47
45
|
"zod": "^3.23.8"
|
48
46
|
},
|
49
47
|
"devDependencies": {
|
50
|
-
"
|
51
|
-
"
|
52
|
-
"
|
48
|
+
"reflect-metadata": "^0.2.0",
|
49
|
+
"string-comparison": "^1.3.0",
|
50
|
+
"json-to-pretty-yaml": "^1.2.2",
|
51
|
+
"jszip": "^3.10.1",
|
52
|
+
"multer": "^1.4.5-lts.1",
|
53
|
+
"openapi3-ts": "^4.4.0",
|
53
54
|
"@nestjs/common": "^10.0.0",
|
54
55
|
"@nestjs/config": "^3.2.3",
|
55
56
|
"@nestjs/core": "^10.0.0",
|
56
57
|
"@nestjs/jwt": "^10.2.0",
|
57
58
|
"@nestjs/platform-express": "^10.0.0",
|
58
|
-
"@nestjs/schematics": "^10.0.0",
|
59
59
|
"@nestjs/swagger": "^7.3.1",
|
60
|
+
"@prisma/client": "^6.3.1",
|
61
|
+
"bcrypt": "^5.1.1",
|
62
|
+
"body-parser": "^1.20.3",
|
63
|
+
"class-transformer": "^0.5.1",
|
64
|
+
"class-validator": "^0.14.1",
|
65
|
+
"country-state-city": "^3.2.1",
|
66
|
+
"date-fns": "^4.1.0",
|
67
|
+
"exceljs": "^4.4.0",
|
68
|
+
"fast-csv": "^5.0.2",
|
69
|
+
"@arethetypeswrong/cli": "^0.15.4",
|
70
|
+
"@changesets/cli": "^2.27.7",
|
71
|
+
"@nestjs/cli": "^10.0.0",
|
72
|
+
"@nestjs/schematics": "^10.0.0",
|
60
73
|
"@nestjs/testing": "^10.0.0",
|
61
74
|
"@openapitools/openapi-generator-cli": "^2.13.4",
|
62
|
-
"@prisma/client": "^6.3.1",
|
63
75
|
"@types/bcrypt": "^5.0.2",
|
64
76
|
"@types/express": "^4.17.17",
|
65
77
|
"@types/jest": "^29.5.2",
|
@@ -70,33 +82,19 @@
|
|
70
82
|
"@types/supertest": "^6.0.0",
|
71
83
|
"@typescript-eslint/eslint-plugin": "^8.8.0",
|
72
84
|
"@typescript-eslint/parser": "^8.8.0",
|
73
|
-
"
|
74
|
-
"body-parser": "^1.20.3",
|
75
|
-
"class-transformer": "^0.5.1",
|
76
|
-
"class-validator": "^0.14.1",
|
77
|
-
"country-state-city": "^3.2.1",
|
78
|
-
"date-fns": "^4.1.0",
|
85
|
+
"eslint": "^9.11.1",
|
79
86
|
"eslint-config-prettier": "^9.0.0",
|
80
87
|
"eslint-plugin-prettier": "^5.0.0",
|
81
88
|
"eslint-plugin-unused-imports": "^4.1.4",
|
82
|
-
"eslint": "^9.11.1",
|
83
|
-
"exceljs": "^4.4.0",
|
84
|
-
"fast-csv": "^5.0.2",
|
85
89
|
"globals": "^15.10.0",
|
86
90
|
"husky": "^9.0.11",
|
87
91
|
"jest": "^29.5.0",
|
88
|
-
"json-to-pretty-yaml": "^1.2.2",
|
89
|
-
"jszip": "^3.10.1",
|
90
92
|
"lint-staged": "^15.2.5",
|
91
93
|
"luxon": "^3.5.0",
|
92
|
-
"multer": "^1.4.5-lts.1",
|
93
94
|
"openapi-typescript": "^7.0.0-rc.0",
|
94
|
-
"openapi3-ts": "^4.4.0",
|
95
95
|
"prettier": "^3.0.0",
|
96
96
|
"prisma": "^6.3.1",
|
97
|
-
"reflect-metadata": "^0.2.0",
|
98
97
|
"source-map-support": "^0.5.21",
|
99
|
-
"string-comparison": "^1.3.0",
|
100
98
|
"supertest": "^6.3.3",
|
101
99
|
"ts-jest": "^29.1.0",
|
102
100
|
"ts-loader": "^9.4.3",
|