expo-backend-types 0.30.0-EXPO-308-auth.25 → 0.30.0-EXPO-308-auth.26

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.
@@ -1,4 +1,4 @@
1
- export declare const getMiExpoMeResponseSchema: import("zod").ZodObject<Omit<{
1
+ export declare const getMiExpoMeResponseSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<Omit<{
2
2
  id: import("zod").ZodString;
3
3
  shortId: import("zod").ZodNumber;
4
4
  firstTimeMiExpo: import("zod").ZodBoolean;
@@ -22,7 +22,64 @@ export declare const getMiExpoMeResponseSchema: import("zod").ZodObject<Omit<{
22
22
  movedToTrashDate: import("zod").ZodNullable<import("zod").ZodDate>;
23
23
  created_at: import("zod").ZodDate;
24
24
  updated_at: import("zod").ZodDate;
25
- }, "password">, "strip", import("zod").ZodTypeAny, {
25
+ }, "password">, {
26
+ residenceLocation: import("zod").ZodNullable<import("zod").ZodObject<{
27
+ id: import("zod").ZodString;
28
+ latitude: import("zod").ZodNumber;
29
+ longitude: import("zod").ZodNumber;
30
+ country: import("zod").ZodString;
31
+ state: import("zod").ZodString;
32
+ city: import("zod").ZodString;
33
+ created_at: import("zod").ZodDate;
34
+ updated_at: import("zod").ZodDate;
35
+ }, "strip", import("zod").ZodTypeAny, {
36
+ id: string;
37
+ latitude: number;
38
+ longitude: number;
39
+ created_at: Date;
40
+ updated_at: Date;
41
+ state: string;
42
+ country: string;
43
+ city: string;
44
+ }, {
45
+ id: string;
46
+ latitude: number;
47
+ longitude: number;
48
+ created_at: Date;
49
+ updated_at: Date;
50
+ state: string;
51
+ country: string;
52
+ city: string;
53
+ }>>;
54
+ birthLocation: import("zod").ZodNullable<import("zod").ZodObject<{
55
+ id: import("zod").ZodString;
56
+ latitude: import("zod").ZodNumber;
57
+ longitude: import("zod").ZodNumber;
58
+ country: import("zod").ZodString;
59
+ state: import("zod").ZodString;
60
+ city: import("zod").ZodString;
61
+ created_at: import("zod").ZodDate;
62
+ updated_at: import("zod").ZodDate;
63
+ }, "strip", import("zod").ZodTypeAny, {
64
+ id: string;
65
+ latitude: number;
66
+ longitude: number;
67
+ created_at: Date;
68
+ updated_at: Date;
69
+ state: string;
70
+ country: string;
71
+ city: string;
72
+ }, {
73
+ id: string;
74
+ latitude: number;
75
+ longitude: number;
76
+ created_at: Date;
77
+ updated_at: Date;
78
+ state: string;
79
+ country: string;
80
+ city: string;
81
+ }>>;
82
+ }>, "strip", import("zod").ZodTypeAny, {
26
83
  id: string;
27
84
  username: string | null;
28
85
  phoneNumber: string;
@@ -45,6 +102,26 @@ export declare const getMiExpoMeResponseSchema: import("zod").ZodObject<Omit<{
45
102
  residenceLocationId: string | null;
46
103
  isInTrash: boolean;
47
104
  movedToTrashDate: Date | null;
105
+ birthLocation: {
106
+ id: string;
107
+ latitude: number;
108
+ longitude: number;
109
+ created_at: Date;
110
+ updated_at: Date;
111
+ state: string;
112
+ country: string;
113
+ city: string;
114
+ } | null;
115
+ residenceLocation: {
116
+ id: string;
117
+ latitude: number;
118
+ longitude: number;
119
+ created_at: Date;
120
+ updated_at: Date;
121
+ state: string;
122
+ country: string;
123
+ city: string;
124
+ } | null;
48
125
  }, {
49
126
  id: string;
50
127
  username: string | null;
@@ -68,6 +145,26 @@ export declare const getMiExpoMeResponseSchema: import("zod").ZodObject<Omit<{
68
145
  residenceLocationId: string | null;
69
146
  isInTrash: boolean;
70
147
  movedToTrashDate: Date | null;
148
+ birthLocation: {
149
+ id: string;
150
+ latitude: number;
151
+ longitude: number;
152
+ created_at: Date;
153
+ updated_at: Date;
154
+ state: string;
155
+ country: string;
156
+ city: string;
157
+ } | null;
158
+ residenceLocation: {
159
+ id: string;
160
+ latitude: number;
161
+ longitude: number;
162
+ created_at: Date;
163
+ updated_at: Date;
164
+ state: string;
165
+ country: string;
166
+ city: string;
167
+ } | null;
71
168
  }>;
72
169
  declare const GetMiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
73
170
  id: import("zod").ZodString;
@@ -92,6 +189,62 @@ declare const GetMiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
92
189
  residenceLocationId: import("zod").ZodNullable<import("zod").ZodString>;
93
190
  isInTrash: import("zod").ZodBoolean;
94
191
  movedToTrashDate: import("zod").ZodNullable<import("zod").ZodString>;
192
+ residenceLocation: import("zod").ZodNullable<import("zod").ZodObject<{
193
+ id: import("zod").ZodString;
194
+ latitude: import("zod").ZodNumber;
195
+ longitude: import("zod").ZodNumber;
196
+ country: import("zod").ZodString;
197
+ state: import("zod").ZodString;
198
+ city: import("zod").ZodString;
199
+ created_at: import("zod").ZodString;
200
+ updated_at: import("zod").ZodString;
201
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
202
+ id: string;
203
+ latitude: number;
204
+ longitude: number;
205
+ created_at: string;
206
+ updated_at: string;
207
+ state: string;
208
+ country: string;
209
+ city: string;
210
+ }, {
211
+ id: string;
212
+ latitude: number;
213
+ longitude: number;
214
+ created_at: string;
215
+ updated_at: string;
216
+ state: string;
217
+ country: string;
218
+ city: string;
219
+ }>>;
220
+ birthLocation: import("zod").ZodNullable<import("zod").ZodObject<{
221
+ id: import("zod").ZodString;
222
+ latitude: import("zod").ZodNumber;
223
+ longitude: import("zod").ZodNumber;
224
+ country: import("zod").ZodString;
225
+ state: import("zod").ZodString;
226
+ city: import("zod").ZodString;
227
+ created_at: import("zod").ZodString;
228
+ updated_at: import("zod").ZodString;
229
+ }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
230
+ id: string;
231
+ latitude: number;
232
+ longitude: number;
233
+ created_at: string;
234
+ updated_at: string;
235
+ state: string;
236
+ country: string;
237
+ city: string;
238
+ }, {
239
+ id: string;
240
+ latitude: number;
241
+ longitude: number;
242
+ created_at: string;
243
+ updated_at: string;
244
+ state: string;
245
+ country: string;
246
+ city: string;
247
+ }>>;
95
248
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
96
249
  id: string;
97
250
  username: string | null;
@@ -115,6 +268,26 @@ declare const GetMiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
115
268
  residenceLocationId: string | null;
116
269
  isInTrash: boolean;
117
270
  movedToTrashDate: string | null;
271
+ birthLocation: {
272
+ id: string;
273
+ latitude: number;
274
+ longitude: number;
275
+ created_at: string;
276
+ updated_at: string;
277
+ state: string;
278
+ country: string;
279
+ city: string;
280
+ } | null;
281
+ residenceLocation: {
282
+ id: string;
283
+ latitude: number;
284
+ longitude: number;
285
+ created_at: string;
286
+ updated_at: string;
287
+ state: string;
288
+ country: string;
289
+ city: string;
290
+ } | null;
118
291
  }, {
119
292
  id: string;
120
293
  username: string | null;
@@ -138,6 +311,26 @@ declare const GetMiExpoMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
138
311
  residenceLocationId: string | null;
139
312
  isInTrash: boolean;
140
313
  movedToTrashDate: string | null;
314
+ birthLocation: {
315
+ id: string;
316
+ latitude: number;
317
+ longitude: number;
318
+ created_at: string;
319
+ updated_at: string;
320
+ state: string;
321
+ country: string;
322
+ city: string;
323
+ } | null;
324
+ residenceLocation: {
325
+ id: string;
326
+ latitude: number;
327
+ longitude: number;
328
+ created_at: string;
329
+ updated_at: string;
330
+ state: string;
331
+ country: string;
332
+ city: string;
333
+ } | null;
141
334
  }>>;
142
335
  export declare class GetMiExpoMeResponseDto extends GetMiExpoMeResponseDto_base {
143
336
  }
@@ -1,9 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetMiExpoMeResponseDto = exports.getMiExpoMeResponseSchema = void 0;
4
+ const location_schema_1 = require("../../schema/location.schema");
4
5
  const profile_schema_1 = require("../../schema/profile.schema");
5
6
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
6
- exports.getMiExpoMeResponseSchema = profile_schema_1.profileSchema.omit({ password: true });
7
+ exports.getMiExpoMeResponseSchema = profile_schema_1.profileSchema
8
+ .omit({ password: true })
9
+ .extend({
10
+ residenceLocation: location_schema_1.locationSchema.nullable(),
11
+ birthLocation: location_schema_1.locationSchema.nullable(),
12
+ });
7
13
  class GetMiExpoMeResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getMiExpoMeResponseSchema) {
8
14
  }
9
15
  exports.GetMiExpoMeResponseDto = GetMiExpoMeResponseDto;
@@ -2380,6 +2380,26 @@ export interface components {
2380
2380
  movedToTrashDate: string | null;
2381
2381
  created_at: string;
2382
2382
  updated_at: string;
2383
+ residenceLocation: {
2384
+ id: string;
2385
+ latitude: number;
2386
+ longitude: number;
2387
+ country: string;
2388
+ state: string;
2389
+ city: string;
2390
+ created_at: string;
2391
+ updated_at: string;
2392
+ } | null;
2393
+ birthLocation: {
2394
+ id: string;
2395
+ latitude: number;
2396
+ longitude: number;
2397
+ country: string;
2398
+ state: string;
2399
+ city: string;
2400
+ created_at: string;
2401
+ updated_at: string;
2402
+ } | null;
2383
2403
  };
2384
2404
  UpdateMiExpoMeDto: {
2385
2405
  birthDate: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.30.0-EXPO-308-auth.25",
3
+ "version": "0.30.0-EXPO-308-auth.26",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,