expo-backend-types 0.0.40 → 0.0.42
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +114 -122
- package/src/auth/dto/login.dto.ts +22 -0
- package/src/auth/dto/register.dto.ts +16 -0
- package/src/cuenta/dto/cuenta.dto.ts +28 -0
- package/{dist/types/dto.d.ts → types/dto.ts} +1 -1
- package/types/index.d.ts +2 -0
- package/types/prisma-schema/default.d.ts +1 -0
- package/types/prisma-schema/default.js +1 -0
- package/types/prisma-schema/edge.d.ts +1 -0
- package/types/prisma-schema/edge.js +306 -0
- package/types/prisma-schema/index-browser.js +298 -0
- package/types/prisma-schema/index.d.ts +16638 -0
- package/types/prisma-schema/index.js +327 -0
- package/types/prisma-schema/package.json +84 -0
- package/types/prisma-schema/query_engine-windows.dll.node +0 -0
- package/types/prisma-schema/runtime/edge-esm.js +28 -0
- package/types/prisma-schema/runtime/edge.js +28 -0
- package/types/prisma-schema/runtime/index-browser.d.ts +365 -0
- package/types/prisma-schema/runtime/index-browser.js +13 -0
- package/types/prisma-schema/runtime/library.d.ts +3193 -0
- package/types/prisma-schema/runtime/library.js +140 -0
- package/types/prisma-schema/runtime/react-native.js +77 -0
- package/types/prisma-schema/runtime/wasm.js +29 -0
- package/types/prisma-schema/schema.prisma +170 -0
- package/types/prisma-schema/wasm.d.ts +1 -0
- package/types/prisma-schema/wasm.js +298 -0
- package/{dist/types → types}/schema.d.ts +15 -0
- package/dist/src/auth/dto/login.dto.d.ts +0 -170
- package/dist/src/auth/dto/login.dto.js +0 -29
- package/dist/src/auth/dto/login.dto.js.map +0 -1
- package/dist/src/auth/dto/register.dto.d.ts +0 -73
- package/dist/src/auth/dto/register.dto.js +0 -20
- package/dist/src/auth/dto/register.dto.js.map +0 -1
- package/dist/src/auth/exports.d.ts +0 -2
- package/dist/src/auth/exports.js +0 -19
- package/dist/src/auth/exports.js.map +0 -1
- package/dist/src/cuenta/dto/cuenta.dto.d.ts +0 -60
- package/dist/src/cuenta/dto/cuenta.dto.js +0 -31
- package/dist/src/cuenta/dto/cuenta.dto.js.map +0 -1
- package/dist/src/cuenta/exports.d.ts +0 -1
- package/dist/src/cuenta/exports.js +0 -18
- package/dist/src/cuenta/exports.js.map +0 -1
- package/dist/src/exports.d.ts +0 -2
- package/dist/src/exports.js +0 -19
- package/dist/src/exports.js.map +0 -1
- package/dist/types/dto.js +0 -18
- package/dist/types/dto.js.map +0 -1
- package/dist/types/index.d.ts +0 -2
- package/dist/types/index.js +0 -19
- package/dist/types/index.js.map +0 -1
- package/dist/types/schema.js +0 -3
- package/dist/types/schema.js.map +0 -1
- 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)
|