expo-backend-types 0.0.26 → 0.0.28

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.
@@ -0,0 +1,289 @@
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
+ };
130
+
131
+ exports.Prisma.PerfilScalarFieldEnum = {
132
+ id: 'id',
133
+ telefono: 'telefono',
134
+ nombreCompleto: 'nombreCompleto',
135
+ nombrePila: 'nombrePila',
136
+ genero: 'genero',
137
+ fechaNacimiento: 'fechaNacimiento',
138
+ fotoUrl: 'fotoUrl',
139
+ created_at: 'created_at',
140
+ updated_at: 'updated_at',
141
+ idLegible: 'idLegible'
142
+ };
143
+
144
+ exports.Prisma.ComentarioScalarFieldEnum = {
145
+ id: 'id',
146
+ contenido: 'contenido',
147
+ perfilId: 'perfilId',
148
+ creadoPor: 'creadoPor',
149
+ created_at: 'created_at',
150
+ updated_at: 'updated_at'
151
+ };
152
+
153
+ exports.Prisma.EtiquetaScalarFieldEnum = {
154
+ id: 'id',
155
+ nombre: 'nombre',
156
+ grupoId: 'grupoId',
157
+ tipo: 'tipo',
158
+ created_at: 'created_at',
159
+ updated_at: 'updated_at'
160
+ };
161
+
162
+ exports.Prisma.EtiquetaGrupoScalarFieldEnum = {
163
+ id: 'id',
164
+ nombre: 'nombre',
165
+ color: 'color',
166
+ esExclusivo: 'esExclusivo',
167
+ created_at: 'created_at',
168
+ updated_at: 'updated_at'
169
+ };
170
+
171
+ exports.Prisma.EventoScalarFieldEnum = {
172
+ id: 'id',
173
+ nombre: 'nombre',
174
+ fecha: 'fecha',
175
+ ubicacion: 'ubicacion',
176
+ eventoPadreId: 'eventoPadreId',
177
+ created_at: 'created_at',
178
+ updated_at: 'updated_at',
179
+ etiquetaAsistioId: 'etiquetaAsistioId',
180
+ etiquetaConfirmoId: 'etiquetaConfirmoId'
181
+ };
182
+
183
+ exports.Prisma.MensajeScalarFieldEnum = {
184
+ id: 'id',
185
+ wamId: 'wamId',
186
+ message: 'message',
187
+ status: 'status',
188
+ perfilTelefono: 'perfilTelefono',
189
+ created_at: 'created_at',
190
+ updated_at: 'updated_at',
191
+ statusAt: 'statusAt'
192
+ };
193
+
194
+ exports.Prisma.EnumsScalarFieldEnum = {
195
+ id: 'id',
196
+ EstadoPlantilla: 'EstadoPlantilla',
197
+ CategoriaPlantilla: 'CategoriaPlantilla'
198
+ };
199
+
200
+ exports.Prisma.SortOrder = {
201
+ asc: 'asc',
202
+ desc: 'desc'
203
+ };
204
+
205
+ exports.Prisma.JsonNullValueInput = {
206
+ JsonNull: Prisma.JsonNull
207
+ };
208
+
209
+ exports.Prisma.QueryMode = {
210
+ default: 'default',
211
+ insensitive: 'insensitive'
212
+ };
213
+
214
+ exports.Prisma.NullsOrder = {
215
+ first: 'first',
216
+ last: 'last'
217
+ };
218
+
219
+ exports.Prisma.JsonNullValueFilter = {
220
+ DbNull: Prisma.DbNull,
221
+ JsonNull: Prisma.JsonNull,
222
+ AnyNull: Prisma.AnyNull
223
+ };
224
+ exports.TipoEtiqueta = exports.$Enums.TipoEtiqueta = {
225
+ PERSONAL: 'PERSONAL',
226
+ EVENTO: 'EVENTO',
227
+ MODELO: 'MODELO',
228
+ TENTATIVA: 'TENTATIVA'
229
+ };
230
+
231
+ exports.MensajeStatus = exports.$Enums.MensajeStatus = {
232
+ ENVIADO: 'ENVIADO',
233
+ RECIBIDO: 'RECIBIDO',
234
+ LEIDO: 'LEIDO'
235
+ };
236
+
237
+ exports.EstadoPlantilla = exports.$Enums.EstadoPlantilla = {
238
+ APRROVED: 'APRROVED',
239
+ PENDING: 'PENDING',
240
+ REJECTED: 'REJECTED'
241
+ };
242
+
243
+ exports.CategoriaPlantilla = exports.$Enums.CategoriaPlantilla = {
244
+ MARKETING: 'MARKETING',
245
+ UTILITY: 'UTILITY',
246
+ AUTHENTICATION: 'AUTHENTICATION'
247
+ };
248
+
249
+ exports.Prisma.ModelName = {
250
+ Cuenta: 'Cuenta',
251
+ Perfil: 'Perfil',
252
+ Comentario: 'Comentario',
253
+ Etiqueta: 'Etiqueta',
254
+ EtiquetaGrupo: 'EtiquetaGrupo',
255
+ Evento: 'Evento',
256
+ Mensaje: 'Mensaje',
257
+ Enums: 'Enums'
258
+ };
259
+
260
+ /**
261
+ * This is a stub Prisma Client that will error at runtime if called.
262
+ */
263
+ class PrismaClient {
264
+ constructor() {
265
+ return new Proxy(this, {
266
+ get(target, prop) {
267
+ let message
268
+ const runtime = getRuntime()
269
+ if (runtime.isEdge) {
270
+ message = `PrismaClient is not configured to run in ${runtime.prettyName}. In order to run Prisma Client on edge runtime, either:
271
+ - Use Prisma Accelerate: https://pris.ly/d/accelerate
272
+ - Use Driver Adapters: https://pris.ly/d/driver-adapters
273
+ `;
274
+ } else {
275
+ message = 'PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `' + runtime.prettyName + '`).'
276
+ }
277
+
278
+ message += `
279
+ If this is unexpected, please open an issue: https://pris.ly/prisma-prisma-bug-report`
280
+
281
+ throw new Error(message)
282
+ }
283
+ })
284
+ }
285
+ }
286
+
287
+ exports.PrismaClient = PrismaClient
288
+
289
+ Object.assign(exports, Prisma)