expo-backend-types 0.3.0-EXPO-245.4 → 0.3.0-EXPO-245.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,245 @@
1
+ export declare const getMeResponseSchema: import("zod").ZodObject<Omit<{
2
+ id: import("zod").ZodString;
3
+ username: import("zod").ZodString;
4
+ password: import("zod").ZodString;
5
+ isAdmin: import("zod").ZodDefault<import("zod").ZodBoolean>;
6
+ created_at: import("zod").ZodString;
7
+ updated_at: import("zod").ZodString;
8
+ filtroBase: import("zod").ZodObject<{
9
+ etiquetas: import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
10
+ id: import("zod").ZodString;
11
+ name: import("zod").ZodString;
12
+ groupId: import("zod").ZodString;
13
+ type: import("zod").ZodNativeEnum<{
14
+ PERSONAL: "PERSONAL";
15
+ EVENTO: "EVENTO";
16
+ MODELO: "MODELO";
17
+ TENTATIVA: "TENTATIVA";
18
+ }>;
19
+ created_at: import("zod").ZodString;
20
+ updated_at: import("zod").ZodString;
21
+ }, "id" | "name">, {
22
+ grupo: import("zod").ZodObject<Pick<{
23
+ id: import("zod").ZodString;
24
+ name: import("zod").ZodString;
25
+ color: import("zod").ZodString;
26
+ isExclusive: import("zod").ZodBoolean;
27
+ created_at: import("zod").ZodString;
28
+ updated_at: import("zod").ZodString;
29
+ }, "id" | "color" | "isExclusive">, "strip", import("zod").ZodTypeAny, {
30
+ id: string;
31
+ color: string;
32
+ isExclusive: boolean;
33
+ }, {
34
+ id: string;
35
+ color: string;
36
+ isExclusive: boolean;
37
+ }>;
38
+ }>, "strip", import("zod").ZodTypeAny, {
39
+ id: string;
40
+ name: string;
41
+ grupo: {
42
+ id: string;
43
+ color: string;
44
+ isExclusive: boolean;
45
+ };
46
+ }, {
47
+ id: string;
48
+ name: string;
49
+ grupo: {
50
+ id: string;
51
+ color: string;
52
+ isExclusive: boolean;
53
+ };
54
+ }>;
55
+ active: import("zod").ZodBoolean;
56
+ }, "strip", import("zod").ZodTypeAny, {
57
+ etiquetas: {
58
+ id: string;
59
+ name: string;
60
+ grupo: {
61
+ id: string;
62
+ color: string;
63
+ isExclusive: boolean;
64
+ };
65
+ };
66
+ active: boolean;
67
+ }, {
68
+ etiquetas: {
69
+ id: string;
70
+ name: string;
71
+ grupo: {
72
+ id: string;
73
+ color: string;
74
+ isExclusive: boolean;
75
+ };
76
+ };
77
+ active: boolean;
78
+ }>;
79
+ filtroBaseActivo: import("zod").ZodDefault<import("zod").ZodBoolean>;
80
+ fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
81
+ }, "password">, "strip", import("zod").ZodTypeAny, {
82
+ id: string;
83
+ created_at: string;
84
+ updated_at: string;
85
+ username: string;
86
+ isAdmin: boolean;
87
+ filtroBase: {
88
+ etiquetas: {
89
+ id: string;
90
+ name: string;
91
+ grupo: {
92
+ id: string;
93
+ color: string;
94
+ isExclusive: boolean;
95
+ };
96
+ };
97
+ active: boolean;
98
+ };
99
+ filtroBaseActivo: boolean;
100
+ fcmToken: string[];
101
+ }, {
102
+ id: string;
103
+ created_at: string;
104
+ updated_at: string;
105
+ username: string;
106
+ filtroBase: {
107
+ etiquetas: {
108
+ id: string;
109
+ name: string;
110
+ grupo: {
111
+ id: string;
112
+ color: string;
113
+ isExclusive: boolean;
114
+ };
115
+ };
116
+ active: boolean;
117
+ };
118
+ isAdmin?: boolean | undefined;
119
+ filtroBaseActivo?: boolean | undefined;
120
+ fcmToken?: string[] | undefined;
121
+ }>;
122
+ declare const GetMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<Omit<{
123
+ id: import("zod").ZodString;
124
+ username: import("zod").ZodString;
125
+ password: import("zod").ZodString;
126
+ isAdmin: import("zod").ZodDefault<import("zod").ZodBoolean>;
127
+ created_at: import("zod").ZodString;
128
+ updated_at: import("zod").ZodString;
129
+ filtroBase: import("zod").ZodObject<{
130
+ etiquetas: import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
131
+ id: import("zod").ZodString;
132
+ name: import("zod").ZodString;
133
+ groupId: import("zod").ZodString;
134
+ type: import("zod").ZodNativeEnum<{
135
+ PERSONAL: "PERSONAL";
136
+ EVENTO: "EVENTO";
137
+ MODELO: "MODELO";
138
+ TENTATIVA: "TENTATIVA";
139
+ }>;
140
+ created_at: import("zod").ZodString;
141
+ updated_at: import("zod").ZodString;
142
+ }, "id" | "name">, {
143
+ grupo: import("zod").ZodObject<Pick<{
144
+ id: import("zod").ZodString;
145
+ name: import("zod").ZodString;
146
+ color: import("zod").ZodString;
147
+ isExclusive: import("zod").ZodBoolean;
148
+ created_at: import("zod").ZodString;
149
+ updated_at: import("zod").ZodString;
150
+ }, "id" | "color" | "isExclusive">, "strip", import("zod").ZodTypeAny, {
151
+ id: string;
152
+ color: string;
153
+ isExclusive: boolean;
154
+ }, {
155
+ id: string;
156
+ color: string;
157
+ isExclusive: boolean;
158
+ }>;
159
+ }>, "strip", import("zod").ZodTypeAny, {
160
+ id: string;
161
+ name: string;
162
+ grupo: {
163
+ id: string;
164
+ color: string;
165
+ isExclusive: boolean;
166
+ };
167
+ }, {
168
+ id: string;
169
+ name: string;
170
+ grupo: {
171
+ id: string;
172
+ color: string;
173
+ isExclusive: boolean;
174
+ };
175
+ }>;
176
+ active: import("zod").ZodBoolean;
177
+ }, "strip", import("zod").ZodTypeAny, {
178
+ etiquetas: {
179
+ id: string;
180
+ name: string;
181
+ grupo: {
182
+ id: string;
183
+ color: string;
184
+ isExclusive: boolean;
185
+ };
186
+ };
187
+ active: boolean;
188
+ }, {
189
+ etiquetas: {
190
+ id: string;
191
+ name: string;
192
+ grupo: {
193
+ id: string;
194
+ color: string;
195
+ isExclusive: boolean;
196
+ };
197
+ };
198
+ active: boolean;
199
+ }>;
200
+ filtroBaseActivo: import("zod").ZodDefault<import("zod").ZodBoolean>;
201
+ fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
202
+ }, "password">, "strip", import("zod").ZodTypeAny, {
203
+ id: string;
204
+ created_at: string;
205
+ updated_at: string;
206
+ username: string;
207
+ isAdmin: boolean;
208
+ filtroBase: {
209
+ etiquetas: {
210
+ id: string;
211
+ name: string;
212
+ grupo: {
213
+ id: string;
214
+ color: string;
215
+ isExclusive: boolean;
216
+ };
217
+ };
218
+ active: boolean;
219
+ };
220
+ filtroBaseActivo: boolean;
221
+ fcmToken: string[];
222
+ }, {
223
+ id: string;
224
+ created_at: string;
225
+ updated_at: string;
226
+ username: string;
227
+ filtroBase: {
228
+ etiquetas: {
229
+ id: string;
230
+ name: string;
231
+ grupo: {
232
+ id: string;
233
+ color: string;
234
+ isExclusive: boolean;
235
+ };
236
+ };
237
+ active: boolean;
238
+ };
239
+ isAdmin?: boolean | undefined;
240
+ filtroBaseActivo?: boolean | undefined;
241
+ fcmToken?: string[] | undefined;
242
+ }>>;
243
+ export declare class GetMeResponseDto extends GetMeResponseDto_base {
244
+ }
245
+ export {};
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetMeResponseDto = exports.getMeResponseSchema = void 0;
4
+ const cuenta_dto_1 = require("../dto/cuenta.dto");
5
+ const zod_nestjs_1 = require("@anatine/zod-nestjs");
6
+ exports.getMeResponseSchema = cuenta_dto_1.cuentaSchema.omit({
7
+ password: true,
8
+ });
9
+ class GetMeResponseDto extends (0, zod_nestjs_1.createZodDto)(exports.getMeResponseSchema) {
10
+ }
11
+ exports.GetMeResponseDto = GetMeResponseDto;
12
+ //# sourceMappingURL=getMe.dto.js.map
@@ -1 +1,5 @@
1
1
  export * from './dto/cuenta.dto';
2
+ export * from './dto/createCuenta.dto';
3
+ export * from './dto/getFiltroBase.dto';
4
+ export * from './dto/getMe.dto';
5
+ export * from './dto/updateFiltroBase.dto';
@@ -15,4 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./dto/cuenta.dto"), exports);
18
+ __exportStar(require("./dto/createCuenta.dto"), exports);
19
+ __exportStar(require("./dto/getFiltroBase.dto"), exports);
20
+ __exportStar(require("./dto/getMe.dto"), exports);
21
+ __exportStar(require("./dto/updateFiltroBase.dto"), exports);
18
22
  //# sourceMappingURL=exports.js.map
@@ -79,6 +79,22 @@ export interface paths {
79
79
  patch: operations["CuentaController_updateFiltroBase"];
80
80
  trace?: never;
81
81
  };
82
+ "/cuenta/me": {
83
+ parameters: {
84
+ query?: never;
85
+ header?: never;
86
+ path?: never;
87
+ cookie?: never;
88
+ };
89
+ get: operations["CuentaController_getMe"];
90
+ put?: never;
91
+ post?: never;
92
+ delete?: never;
93
+ options?: never;
94
+ head?: never;
95
+ patch?: never;
96
+ trace?: never;
97
+ };
82
98
  }
83
99
  export type webhooks = Record<string, never>;
84
100
  export interface components {
@@ -170,6 +186,27 @@ export interface components {
170
186
  };
171
187
  }[];
172
188
  };
189
+ GetMeResponseDto: {
190
+ id: string;
191
+ username: string;
192
+ isAdmin: boolean;
193
+ created_at: string;
194
+ updated_at: string;
195
+ filtroBase: {
196
+ etiquetas?: {
197
+ id: string;
198
+ name: string;
199
+ grupo: {
200
+ id: string;
201
+ color: string;
202
+ isExclusive: boolean;
203
+ };
204
+ };
205
+ active?: boolean;
206
+ };
207
+ filtroBaseActivo: boolean;
208
+ fcmToken: string[];
209
+ };
173
210
  };
174
211
  responses: never;
175
212
  parameters: never;
@@ -307,4 +344,23 @@ export interface operations {
307
344
  };
308
345
  };
309
346
  };
347
+ CuentaController_getMe: {
348
+ parameters: {
349
+ query?: never;
350
+ header?: never;
351
+ path?: never;
352
+ cookie?: never;
353
+ };
354
+ requestBody?: never;
355
+ responses: {
356
+ 200: {
357
+ headers: {
358
+ [name: string]: unknown;
359
+ };
360
+ content: {
361
+ "application/json": components["schemas"]["GetMeResponseDto"];
362
+ };
363
+ };
364
+ };
365
+ };
310
366
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.3.0-EXPO-245.4",
3
+ "version": "0.3.0-EXPO-245.6",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,
@@ -23,7 +23,7 @@
23
23
  "dev": "npx prisma generate && nest start --watch",
24
24
  "start:debug": "nest start --debug --watch",
25
25
  "start:prod": "node dist/src/main",
26
- "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
26
+ "lint": "eslint \"{src,apps,libs,test,types}/**/*.ts\" --fix",
27
27
  "test": "jest",
28
28
  "test:watch": "jest --watch",
29
29
  "test:cov": "jest --coverage",