expo-backend-types 0.0.40 → 0.0.41

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. package/package.json +12 -21
  2. package/src/auth/dto/login.dto.ts +22 -0
  3. package/src/auth/dto/register.dto.ts +16 -0
  4. package/src/cuenta/dto/cuenta.dto.ts +28 -0
  5. package/{dist/types/dto.d.ts → types/dto.ts} +1 -1
  6. package/types/index.d.ts +2 -0
  7. package/types/prisma-schema/default.d.ts +1 -0
  8. package/types/prisma-schema/default.js +1 -0
  9. package/types/prisma-schema/edge.d.ts +1 -0
  10. package/types/prisma-schema/edge.js +306 -0
  11. package/types/prisma-schema/index-browser.js +298 -0
  12. package/types/prisma-schema/index.d.ts +16638 -0
  13. package/types/prisma-schema/index.js +327 -0
  14. package/types/prisma-schema/package.json +84 -0
  15. package/types/prisma-schema/query_engine-windows.dll.node +0 -0
  16. package/types/prisma-schema/runtime/edge-esm.js +28 -0
  17. package/types/prisma-schema/runtime/edge.js +28 -0
  18. package/types/prisma-schema/runtime/index-browser.d.ts +365 -0
  19. package/types/prisma-schema/runtime/index-browser.js +13 -0
  20. package/types/prisma-schema/runtime/library.d.ts +3193 -0
  21. package/types/prisma-schema/runtime/library.js +140 -0
  22. package/types/prisma-schema/runtime/react-native.js +77 -0
  23. package/types/prisma-schema/runtime/wasm.js +29 -0
  24. package/types/prisma-schema/schema.prisma +170 -0
  25. package/types/prisma-schema/wasm.d.ts +1 -0
  26. package/types/prisma-schema/wasm.js +298 -0
  27. package/{dist/types → types}/schema.d.ts +15 -0
  28. package/dist/src/auth/dto/login.dto.d.ts +0 -170
  29. package/dist/src/auth/dto/login.dto.js +0 -29
  30. package/dist/src/auth/dto/login.dto.js.map +0 -1
  31. package/dist/src/auth/dto/register.dto.d.ts +0 -73
  32. package/dist/src/auth/dto/register.dto.js +0 -20
  33. package/dist/src/auth/dto/register.dto.js.map +0 -1
  34. package/dist/src/auth/exports.d.ts +0 -2
  35. package/dist/src/auth/exports.js +0 -19
  36. package/dist/src/auth/exports.js.map +0 -1
  37. package/dist/src/cuenta/dto/cuenta.dto.d.ts +0 -60
  38. package/dist/src/cuenta/dto/cuenta.dto.js +0 -31
  39. package/dist/src/cuenta/dto/cuenta.dto.js.map +0 -1
  40. package/dist/src/cuenta/exports.d.ts +0 -1
  41. package/dist/src/cuenta/exports.js +0 -18
  42. package/dist/src/cuenta/exports.js.map +0 -1
  43. package/dist/src/exports.d.ts +0 -2
  44. package/dist/src/exports.js +0 -19
  45. package/dist/src/exports.js.map +0 -1
  46. package/dist/types/dto.js +0 -18
  47. package/dist/types/dto.js.map +0 -1
  48. package/dist/types/index.d.ts +0 -2
  49. package/dist/types/index.js +0 -19
  50. package/dist/types/index.js.map +0 -1
  51. package/dist/types/schema.js +0 -3
  52. package/dist/types/schema.js.map +0 -1
  53. package/tsconfig.json +0 -27
@@ -0,0 +1,298 @@
1
+
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+
4
+ const {
5
+ Decimal,
6
+ objectEnumValues,
7
+ makeStrictEnum,
8
+ Public,
9
+ getRuntime,
10
+ } = require('./runtime/index-browser.js')
11
+
12
+
13
+ const Prisma = {}
14
+
15
+ exports.Prisma = Prisma
16
+ exports.$Enums = {}
17
+
18
+ /**
19
+ * Prisma Client JS version: 5.14.0
20
+ * Query Engine version: e9771e62de70f79a5e1c604a2d7c8e2a0a874b48
21
+ */
22
+ Prisma.prismaVersion = {
23
+ client: "5.14.0",
24
+ engine: "e9771e62de70f79a5e1c604a2d7c8e2a0a874b48"
25
+ }
26
+
27
+ Prisma.PrismaClientKnownRequestError = () => {
28
+ const runtimeName = getRuntime().prettyName;
29
+ throw new Error(`PrismaClientKnownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
30
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
31
+ )};
32
+ Prisma.PrismaClientUnknownRequestError = () => {
33
+ const runtimeName = getRuntime().prettyName;
34
+ throw new Error(`PrismaClientUnknownRequestError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
35
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
36
+ )}
37
+ Prisma.PrismaClientRustPanicError = () => {
38
+ const runtimeName = getRuntime().prettyName;
39
+ throw new Error(`PrismaClientRustPanicError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
40
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
41
+ )}
42
+ Prisma.PrismaClientInitializationError = () => {
43
+ const runtimeName = getRuntime().prettyName;
44
+ throw new Error(`PrismaClientInitializationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
45
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
46
+ )}
47
+ Prisma.PrismaClientValidationError = () => {
48
+ const runtimeName = getRuntime().prettyName;
49
+ throw new Error(`PrismaClientValidationError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
50
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
51
+ )}
52
+ Prisma.NotFoundError = () => {
53
+ const runtimeName = getRuntime().prettyName;
54
+ throw new Error(`NotFoundError is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
55
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
56
+ )}
57
+ Prisma.Decimal = Decimal
58
+
59
+ /**
60
+ * Re-export of sql-template-tag
61
+ */
62
+ Prisma.sql = () => {
63
+ const runtimeName = getRuntime().prettyName;
64
+ throw new Error(`sqltag is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
65
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
66
+ )}
67
+ Prisma.empty = () => {
68
+ const runtimeName = getRuntime().prettyName;
69
+ throw new Error(`empty is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
70
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
71
+ )}
72
+ Prisma.join = () => {
73
+ const runtimeName = getRuntime().prettyName;
74
+ throw new Error(`join is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
75
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
76
+ )}
77
+ Prisma.raw = () => {
78
+ const runtimeName = getRuntime().prettyName;
79
+ throw new Error(`raw is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
80
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
81
+ )}
82
+ Prisma.validator = Public.validator
83
+
84
+ /**
85
+ * Extensions
86
+ */
87
+ Prisma.getExtensionContext = () => {
88
+ const runtimeName = getRuntime().prettyName;
89
+ throw new Error(`Extensions.getExtensionContext is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
90
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
91
+ )}
92
+ Prisma.defineExtension = () => {
93
+ const runtimeName = getRuntime().prettyName;
94
+ throw new Error(`Extensions.defineExtension is unable to run in this browser environment, or has been bundled for the browser (running in ${runtimeName}).
95
+ In case this error is unexpected for you, please report it in https://pris.ly/prisma-prisma-bug-report`,
96
+ )}
97
+
98
+ /**
99
+ * Shorthand utilities for JSON filtering
100
+ */
101
+ Prisma.DbNull = objectEnumValues.instances.DbNull
102
+ Prisma.JsonNull = objectEnumValues.instances.JsonNull
103
+ Prisma.AnyNull = objectEnumValues.instances.AnyNull
104
+
105
+ Prisma.NullTypes = {
106
+ DbNull: objectEnumValues.classes.DbNull,
107
+ JsonNull: objectEnumValues.classes.JsonNull,
108
+ AnyNull: objectEnumValues.classes.AnyNull
109
+ }
110
+
111
+ /**
112
+ * Enums
113
+ */
114
+
115
+ exports.Prisma.TransactionIsolationLevel = makeStrictEnum({
116
+ ReadUncommitted: 'ReadUncommitted',
117
+ ReadCommitted: 'ReadCommitted',
118
+ RepeatableRead: 'RepeatableRead',
119
+ Serializable: 'Serializable'
120
+ });
121
+
122
+ exports.Prisma.CuentaScalarFieldEnum = {
123
+ id: 'id',
124
+ nombreUsuario: 'nombreUsuario',
125
+ contrasena: 'contrasena',
126
+ esAdmin: 'esAdmin',
127
+ created_at: 'created_at',
128
+ updated_at: 'updated_at',
129
+ filtroBaseActivo: 'filtroBaseActivo',
130
+ fcmToken: 'fcmToken'
131
+ };
132
+
133
+ exports.Prisma.PerfilScalarFieldEnum = {
134
+ id: 'id',
135
+ idLegible: 'idLegible',
136
+ telefono: 'telefono',
137
+ nombreCompleto: 'nombreCompleto',
138
+ nombrePila: 'nombrePila',
139
+ genero: 'genero',
140
+ fechaNacimiento: 'fechaNacimiento',
141
+ fotoUrl: 'fotoUrl',
142
+ instagram: 'instagram',
143
+ mail: 'mail',
144
+ dni: 'dni',
145
+ nombresAlternativos: 'nombresAlternativos',
146
+ esPapelera: 'esPapelera',
147
+ fechaPapelera: 'fechaPapelera',
148
+ created_at: 'created_at',
149
+ updated_at: 'updated_at'
150
+ };
151
+
152
+ exports.Prisma.ComentarioScalarFieldEnum = {
153
+ id: 'id',
154
+ contenido: 'contenido',
155
+ creadoPor: 'creadoPor',
156
+ perfilId: 'perfilId',
157
+ created_at: 'created_at',
158
+ updated_at: 'updated_at'
159
+ };
160
+
161
+ exports.Prisma.EtiquetaScalarFieldEnum = {
162
+ id: 'id',
163
+ nombre: 'nombre',
164
+ grupoId: 'grupoId',
165
+ tipo: 'tipo',
166
+ created_at: 'created_at',
167
+ updated_at: 'updated_at'
168
+ };
169
+
170
+ exports.Prisma.EtiquetaGrupoScalarFieldEnum = {
171
+ id: 'id',
172
+ nombre: 'nombre',
173
+ color: 'color',
174
+ esExclusivo: 'esExclusivo',
175
+ created_at: 'created_at',
176
+ updated_at: 'updated_at'
177
+ };
178
+
179
+ exports.Prisma.EventoScalarFieldEnum = {
180
+ id: 'id',
181
+ nombre: 'nombre',
182
+ fecha: 'fecha',
183
+ ubicacion: 'ubicacion',
184
+ etiquetaAsistioId: 'etiquetaAsistioId',
185
+ etiquetaConfirmoId: 'etiquetaConfirmoId',
186
+ eventoPadreId: 'eventoPadreId',
187
+ created_at: 'created_at',
188
+ updated_at: 'updated_at'
189
+ };
190
+
191
+ exports.Prisma.MensajeScalarFieldEnum = {
192
+ id: 'id',
193
+ wamId: 'wamId',
194
+ message: 'message',
195
+ perfilTelefono: 'perfilTelefono',
196
+ status: 'status',
197
+ statusAt: 'statusAt',
198
+ visto: 'visto',
199
+ created_at: 'created_at',
200
+ updated_at: 'updated_at'
201
+ };
202
+
203
+ exports.Prisma.EnumsScalarFieldEnum = {
204
+ id: 'id',
205
+ EstadoPlantilla: 'EstadoPlantilla',
206
+ CategoriaPlantilla: 'CategoriaPlantilla'
207
+ };
208
+
209
+ exports.Prisma.SortOrder = {
210
+ asc: 'asc',
211
+ desc: 'desc'
212
+ };
213
+
214
+ exports.Prisma.JsonNullValueInput = {
215
+ JsonNull: Prisma.JsonNull
216
+ };
217
+
218
+ exports.Prisma.QueryMode = {
219
+ default: 'default',
220
+ insensitive: 'insensitive'
221
+ };
222
+
223
+ exports.Prisma.NullsOrder = {
224
+ first: 'first',
225
+ last: 'last'
226
+ };
227
+
228
+ exports.Prisma.JsonNullValueFilter = {
229
+ DbNull: Prisma.DbNull,
230
+ JsonNull: Prisma.JsonNull,
231
+ AnyNull: Prisma.AnyNull
232
+ };
233
+ exports.TipoEtiqueta = exports.$Enums.TipoEtiqueta = {
234
+ PERSONAL: 'PERSONAL',
235
+ EVENTO: 'EVENTO',
236
+ MODELO: 'MODELO',
237
+ TENTATIVA: 'TENTATIVA'
238
+ };
239
+
240
+ exports.MensajeStatus = exports.$Enums.MensajeStatus = {
241
+ ENVIADO: 'ENVIADO',
242
+ RECIBIDO: 'RECIBIDO',
243
+ LEIDO: 'LEIDO'
244
+ };
245
+
246
+ exports.EstadoPlantilla = exports.$Enums.EstadoPlantilla = {
247
+ APRROVED: 'APRROVED',
248
+ PENDING: 'PENDING',
249
+ REJECTED: 'REJECTED'
250
+ };
251
+
252
+ exports.CategoriaPlantilla = exports.$Enums.CategoriaPlantilla = {
253
+ MARKETING: 'MARKETING',
254
+ UTILITY: 'UTILITY',
255
+ AUTHENTICATION: 'AUTHENTICATION'
256
+ };
257
+
258
+ exports.Prisma.ModelName = {
259
+ Cuenta: 'Cuenta',
260
+ Perfil: 'Perfil',
261
+ Comentario: 'Comentario',
262
+ Etiqueta: 'Etiqueta',
263
+ EtiquetaGrupo: 'EtiquetaGrupo',
264
+ Evento: 'Evento',
265
+ Mensaje: 'Mensaje',
266
+ Enums: 'Enums'
267
+ };
268
+
269
+ /**
270
+ * This is a stub Prisma Client that will error at runtime if called.
271
+ */
272
+ class PrismaClient {
273
+ constructor() {
274
+ return new Proxy(this, {
275
+ get(target, prop) {
276
+ let message
277
+ const runtime = getRuntime()
278
+ if (runtime.isEdge) {
279
+ message = `PrismaClient is not configured to run in ${runtime.prettyName}. In order to run Prisma Client on edge runtime, either:
280
+ - Use Prisma Accelerate: https://pris.ly/d/accelerate
281
+ - Use Driver Adapters: https://pris.ly/d/driver-adapters
282
+ `;
283
+ } else {
284
+ message = 'PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `' + runtime.prettyName + '`).'
285
+ }
286
+
287
+ message += `
288
+ If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`
289
+
290
+ throw new Error(message)
291
+ }
292
+ })
293
+ }
294
+ }
295
+
296
+ exports.PrismaClient = PrismaClient
297
+
298
+ Object.assign(exports, Prisma)