@virtality/schema 0.0.1-alpha0.2.9 → 0.0.1-alpha0.3.1

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.
@@ -9,11 +9,11 @@ export interface PrismaClientConstructor {
9
9
  * @example
10
10
  * ```
11
11
  * const prisma = new PrismaClient()
12
- * // Fetch zero or more Accounts
13
- * const accounts = await prisma.account.findMany()
12
+ * // Fetch zero or more Avatars
13
+ * const avatars = await prisma.avatar.findMany()
14
14
  * ```
15
15
  *
16
- * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client).
16
+ * Read more in our [docs](https://pris.ly/d/client).
17
17
  */
18
18
  new <Options extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions, LogOpts extends LogOptions<Options> = LogOptions<Options>, OmitOpts extends Prisma.PrismaClientOptions['omit'] = Options extends {
19
19
  omit: infer U;
@@ -26,11 +26,11 @@ export interface PrismaClientConstructor {
26
26
  * @example
27
27
  * ```
28
28
  * const prisma = new PrismaClient()
29
- * // Fetch zero or more Accounts
30
- * const accounts = await prisma.account.findMany()
29
+ * // Fetch zero or more Avatars
30
+ * const avatars = await prisma.avatar.findMany()
31
31
  * ```
32
32
  *
33
- * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client).
33
+ * Read more in our [docs](https://pris.ly/d/client).
34
34
  */
35
35
  export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out OmitOpts extends Prisma.PrismaClientOptions['omit'] = undefined, in out ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> {
36
36
  [K: symbol]: {
@@ -52,7 +52,7 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
52
52
  * const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};`
53
53
  * ```
54
54
  *
55
- * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
55
+ * Read more in our [docs](https://pris.ly/d/raw-queries).
56
56
  */
57
57
  $executeRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<number>;
58
58
  /**
@@ -63,7 +63,7 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
63
63
  * const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com')
64
64
  * ```
65
65
  *
66
- * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
66
+ * Read more in our [docs](https://pris.ly/d/raw-queries).
67
67
  */
68
68
  $executeRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<number>;
69
69
  /**
@@ -73,7 +73,7 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
73
73
  * const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};`
74
74
  * ```
75
75
  *
76
- * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
76
+ * Read more in our [docs](https://pris.ly/d/raw-queries).
77
77
  */
78
78
  $queryRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<T>;
79
79
  /**
@@ -84,7 +84,7 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
84
84
  * const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com')
85
85
  * ```
86
86
  *
87
- * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/raw-database-access).
87
+ * Read more in our [docs](https://pris.ly/d/raw-queries).
88
88
  */
89
89
  $queryRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>;
90
90
  /**
@@ -112,80 +112,91 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
112
112
  extArgs: ExtArgs;
113
113
  }>>;
114
114
  /**
115
- * `prisma.account`: Exposes CRUD operations for the **Account** model.
115
+ * `prisma.avatar`: Exposes CRUD operations for the **Avatar** model.
116
116
  * Example usage:
117
117
  * ```ts
118
- * // Fetch zero or more Accounts
119
- * const accounts = await prisma.account.findMany()
118
+ * // Fetch zero or more Avatars
119
+ * const avatars = await prisma.avatar.findMany()
120
120
  * ```
121
121
  */
122
- get account(): Prisma.AccountDelegate<ExtArgs, {
122
+ get avatar(): Prisma.AvatarDelegate<ExtArgs, {
123
123
  omit: OmitOpts;
124
124
  }>;
125
125
  /**
126
- * `prisma.user`: Exposes CRUD operations for the **User** model.
126
+ * `prisma.map`: Exposes CRUD operations for the **Map** model.
127
127
  * Example usage:
128
128
  * ```ts
129
- * // Fetch zero or more Users
130
- * const users = await prisma.user.findMany()
129
+ * // Fetch zero or more Maps
130
+ * const maps = await prisma.map.findMany()
131
131
  * ```
132
132
  */
133
- get user(): Prisma.UserDelegate<ExtArgs, {
133
+ get map(): Prisma.MapDelegate<ExtArgs, {
134
134
  omit: OmitOpts;
135
135
  }>;
136
136
  /**
137
- * `prisma.session`: Exposes CRUD operations for the **Session** model.
137
+ * `prisma.device`: Exposes CRUD operations for the **Device** model.
138
138
  * Example usage:
139
139
  * ```ts
140
- * // Fetch zero or more Sessions
141
- * const sessions = await prisma.session.findMany()
140
+ * // Fetch zero or more Devices
141
+ * const devices = await prisma.device.findMany()
142
142
  * ```
143
143
  */
144
- get session(): Prisma.SessionDelegate<ExtArgs, {
144
+ get device(): Prisma.DeviceDelegate<ExtArgs, {
145
145
  omit: OmitOpts;
146
146
  }>;
147
147
  /**
148
- * `prisma.verification`: Exposes CRUD operations for the **Verification** model.
148
+ * `prisma.user`: Exposes CRUD operations for the **User** model.
149
149
  * Example usage:
150
150
  * ```ts
151
- * // Fetch zero or more Verifications
152
- * const verifications = await prisma.verification.findMany()
151
+ * // Fetch zero or more Users
152
+ * const users = await prisma.user.findMany()
153
153
  * ```
154
154
  */
155
- get verification(): Prisma.VerificationDelegate<ExtArgs, {
155
+ get user(): Prisma.UserDelegate<ExtArgs, {
156
156
  omit: OmitOpts;
157
157
  }>;
158
158
  /**
159
- * `prisma.organization`: Exposes CRUD operations for the **Organization** model.
159
+ * `prisma.account`: Exposes CRUD operations for the **Account** model.
160
160
  * Example usage:
161
161
  * ```ts
162
- * // Fetch zero or more Organizations
163
- * const organizations = await prisma.organization.findMany()
162
+ * // Fetch zero or more Accounts
163
+ * const accounts = await prisma.account.findMany()
164
164
  * ```
165
165
  */
166
- get organization(): Prisma.OrganizationDelegate<ExtArgs, {
166
+ get account(): Prisma.AccountDelegate<ExtArgs, {
167
167
  omit: OmitOpts;
168
168
  }>;
169
169
  /**
170
- * `prisma.member`: Exposes CRUD operations for the **Member** model.
170
+ * `prisma.session`: Exposes CRUD operations for the **Session** model.
171
171
  * Example usage:
172
172
  * ```ts
173
- * // Fetch zero or more Members
174
- * const members = await prisma.member.findMany()
173
+ * // Fetch zero or more Sessions
174
+ * const sessions = await prisma.session.findMany()
175
175
  * ```
176
176
  */
177
- get member(): Prisma.MemberDelegate<ExtArgs, {
177
+ get session(): Prisma.SessionDelegate<ExtArgs, {
178
178
  omit: OmitOpts;
179
179
  }>;
180
180
  /**
181
- * `prisma.invitation`: Exposes CRUD operations for the **Invitation** model.
181
+ * `prisma.verification`: Exposes CRUD operations for the **Verification** model.
182
182
  * Example usage:
183
183
  * ```ts
184
- * // Fetch zero or more Invitations
185
- * const invitations = await prisma.invitation.findMany()
184
+ * // Fetch zero or more Verifications
185
+ * const verifications = await prisma.verification.findMany()
186
186
  * ```
187
187
  */
188
- get invitation(): Prisma.InvitationDelegate<ExtArgs, {
188
+ get verification(): Prisma.VerificationDelegate<ExtArgs, {
189
+ omit: OmitOpts;
190
+ }>;
191
+ /**
192
+ * `prisma.referralCode`: Exposes CRUD operations for the **ReferralCode** model.
193
+ * Example usage:
194
+ * ```ts
195
+ * // Fetch zero or more ReferralCodes
196
+ * const referralCodes = await prisma.referralCode.findMany()
197
+ * ```
198
+ */
199
+ get referralCode(): Prisma.ReferralCodeDelegate<ExtArgs, {
189
200
  omit: OmitOpts;
190
201
  }>;
191
202
  /**
@@ -200,47 +211,47 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
200
211
  omit: OmitOpts;
201
212
  }>;
202
213
  /**
203
- * `prisma.device`: Exposes CRUD operations for the **Device** model.
214
+ * `prisma.waitingList`: Exposes CRUD operations for the **WaitingList** model.
204
215
  * Example usage:
205
216
  * ```ts
206
- * // Fetch zero or more Devices
207
- * const devices = await prisma.device.findMany()
217
+ * // Fetch zero or more WaitingLists
218
+ * const waitingLists = await prisma.waitingList.findMany()
208
219
  * ```
209
220
  */
210
- get device(): Prisma.DeviceDelegate<ExtArgs, {
221
+ get waitingList(): Prisma.WaitingListDelegate<ExtArgs, {
211
222
  omit: OmitOpts;
212
223
  }>;
213
224
  /**
214
- * `prisma.exercise`: Exposes CRUD operations for the **Exercise** model.
225
+ * `prisma.bugReport`: Exposes CRUD operations for the **BugReport** model.
215
226
  * Example usage:
216
227
  * ```ts
217
- * // Fetch zero or more Exercises
218
- * const exercises = await prisma.exercise.findMany()
228
+ * // Fetch zero or more BugReports
229
+ * const bugReports = await prisma.bugReport.findMany()
219
230
  * ```
220
231
  */
221
- get exercise(): Prisma.ExerciseDelegate<ExtArgs, {
232
+ get bugReport(): Prisma.BugReportDelegate<ExtArgs, {
222
233
  omit: OmitOpts;
223
234
  }>;
224
235
  /**
225
- * `prisma.patient`: Exposes CRUD operations for the **Patient** model.
236
+ * `prisma.bugReportImage`: Exposes CRUD operations for the **BugReportImage** model.
226
237
  * Example usage:
227
238
  * ```ts
228
- * // Fetch zero or more Patients
229
- * const patients = await prisma.patient.findMany()
239
+ * // Fetch zero or more BugReportImages
240
+ * const bugReportImages = await prisma.bugReportImage.findMany()
230
241
  * ```
231
242
  */
232
- get patient(): Prisma.PatientDelegate<ExtArgs, {
243
+ get bugReportImage(): Prisma.BugReportImageDelegate<ExtArgs, {
233
244
  omit: OmitOpts;
234
245
  }>;
235
246
  /**
236
- * `prisma.medicalHistory`: Exposes CRUD operations for the **MedicalHistory** model.
247
+ * `prisma.exercise`: Exposes CRUD operations for the **Exercise** model.
237
248
  * Example usage:
238
249
  * ```ts
239
- * // Fetch zero or more MedicalHistories
240
- * const medicalHistories = await prisma.medicalHistory.findMany()
250
+ * // Fetch zero or more Exercises
251
+ * const exercises = await prisma.exercise.findMany()
241
252
  * ```
242
253
  */
243
- get medicalHistory(): Prisma.MedicalHistoryDelegate<ExtArgs, {
254
+ get exercise(): Prisma.ExerciseDelegate<ExtArgs, {
244
255
  omit: OmitOpts;
245
256
  }>;
246
257
  /**
@@ -266,25 +277,36 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
266
277
  omit: OmitOpts;
267
278
  }>;
268
279
  /**
269
- * `prisma.patientProgram`: Exposes CRUD operations for the **PatientProgram** model.
280
+ * `prisma.organization`: Exposes CRUD operations for the **Organization** model.
270
281
  * Example usage:
271
282
  * ```ts
272
- * // Fetch zero or more PatientPrograms
273
- * const patientPrograms = await prisma.patientProgram.findMany()
283
+ * // Fetch zero or more Organizations
284
+ * const organizations = await prisma.organization.findMany()
274
285
  * ```
275
286
  */
276
- get patientProgram(): Prisma.PatientProgramDelegate<ExtArgs, {
287
+ get organization(): Prisma.OrganizationDelegate<ExtArgs, {
277
288
  omit: OmitOpts;
278
289
  }>;
279
290
  /**
280
- * `prisma.programExercise`: Exposes CRUD operations for the **ProgramExercise** model.
291
+ * `prisma.member`: Exposes CRUD operations for the **Member** model.
281
292
  * Example usage:
282
293
  * ```ts
283
- * // Fetch zero or more ProgramExercises
284
- * const programExercises = await prisma.programExercise.findMany()
294
+ * // Fetch zero or more Members
295
+ * const members = await prisma.member.findMany()
285
296
  * ```
286
297
  */
287
- get programExercise(): Prisma.ProgramExerciseDelegate<ExtArgs, {
298
+ get member(): Prisma.MemberDelegate<ExtArgs, {
299
+ omit: OmitOpts;
300
+ }>;
301
+ /**
302
+ * `prisma.invitation`: Exposes CRUD operations for the **Invitation** model.
303
+ * Example usage:
304
+ * ```ts
305
+ * // Fetch zero or more Invitations
306
+ * const invitations = await prisma.invitation.findMany()
307
+ * ```
308
+ */
309
+ get invitation(): Prisma.InvitationDelegate<ExtArgs, {
288
310
  omit: OmitOpts;
289
311
  }>;
290
312
  /**
@@ -321,80 +343,69 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
321
343
  omit: OmitOpts;
322
344
  }>;
323
345
  /**
324
- * `prisma.avatar`: Exposes CRUD operations for the **Avatar** model.
325
- * Example usage:
326
- * ```ts
327
- * // Fetch zero or more Avatars
328
- * const avatars = await prisma.avatar.findMany()
329
- * ```
330
- */
331
- get avatar(): Prisma.AvatarDelegate<ExtArgs, {
332
- omit: OmitOpts;
333
- }>;
334
- /**
335
- * `prisma.map`: Exposes CRUD operations for the **Map** model.
346
+ * `prisma.supplementalTherapy`: Exposes CRUD operations for the **SupplementalTherapy** model.
336
347
  * Example usage:
337
348
  * ```ts
338
- * // Fetch zero or more Maps
339
- * const maps = await prisma.map.findMany()
349
+ * // Fetch zero or more SupplementalTherapies
350
+ * const supplementalTherapies = await prisma.supplementalTherapy.findMany()
340
351
  * ```
341
352
  */
342
- get map(): Prisma.MapDelegate<ExtArgs, {
353
+ get supplementalTherapy(): Prisma.SupplementalTherapyDelegate<ExtArgs, {
343
354
  omit: OmitOpts;
344
355
  }>;
345
356
  /**
346
- * `prisma.waitingList`: Exposes CRUD operations for the **WaitingList** model.
357
+ * `prisma.patientSessionSupplementalTherapyRel`: Exposes CRUD operations for the **PatientSessionSupplementalTherapyRel** model.
347
358
  * Example usage:
348
359
  * ```ts
349
- * // Fetch zero or more WaitingLists
350
- * const waitingLists = await prisma.waitingList.findMany()
360
+ * // Fetch zero or more PatientSessionSupplementalTherapyRels
361
+ * const patientSessionSupplementalTherapyRels = await prisma.patientSessionSupplementalTherapyRel.findMany()
351
362
  * ```
352
363
  */
353
- get waitingList(): Prisma.WaitingListDelegate<ExtArgs, {
364
+ get patientSessionSupplementalTherapyRel(): Prisma.PatientSessionSupplementalTherapyRelDelegate<ExtArgs, {
354
365
  omit: OmitOpts;
355
366
  }>;
356
367
  /**
357
- * `prisma.bugReport`: Exposes CRUD operations for the **BugReport** model.
368
+ * `prisma.patient`: Exposes CRUD operations for the **Patient** model.
358
369
  * Example usage:
359
370
  * ```ts
360
- * // Fetch zero or more BugReports
361
- * const bugReports = await prisma.bugReport.findMany()
371
+ * // Fetch zero or more Patients
372
+ * const patients = await prisma.patient.findMany()
362
373
  * ```
363
374
  */
364
- get bugReport(): Prisma.BugReportDelegate<ExtArgs, {
375
+ get patient(): Prisma.PatientDelegate<ExtArgs, {
365
376
  omit: OmitOpts;
366
377
  }>;
367
378
  /**
368
- * `prisma.bugReportImage`: Exposes CRUD operations for the **BugReportImage** model.
379
+ * `prisma.medicalHistory`: Exposes CRUD operations for the **MedicalHistory** model.
369
380
  * Example usage:
370
381
  * ```ts
371
- * // Fetch zero or more BugReportImages
372
- * const bugReportImages = await prisma.bugReportImage.findMany()
382
+ * // Fetch zero or more MedicalHistories
383
+ * const medicalHistories = await prisma.medicalHistory.findMany()
373
384
  * ```
374
385
  */
375
- get bugReportImage(): Prisma.BugReportImageDelegate<ExtArgs, {
386
+ get medicalHistory(): Prisma.MedicalHistoryDelegate<ExtArgs, {
376
387
  omit: OmitOpts;
377
388
  }>;
378
389
  /**
379
- * `prisma.supplementalTherapy`: Exposes CRUD operations for the **SupplementalTherapy** model.
390
+ * `prisma.patientProgram`: Exposes CRUD operations for the **PatientProgram** model.
380
391
  * Example usage:
381
392
  * ```ts
382
- * // Fetch zero or more SupplementalTherapies
383
- * const supplementalTherapies = await prisma.supplementalTherapy.findMany()
393
+ * // Fetch zero or more PatientPrograms
394
+ * const patientPrograms = await prisma.patientProgram.findMany()
384
395
  * ```
385
396
  */
386
- get supplementalTherapy(): Prisma.SupplementalTherapyDelegate<ExtArgs, {
397
+ get patientProgram(): Prisma.PatientProgramDelegate<ExtArgs, {
387
398
  omit: OmitOpts;
388
399
  }>;
389
400
  /**
390
- * `prisma.patientSessionSupplementalTherapyRel`: Exposes CRUD operations for the **PatientSessionSupplementalTherapyRel** model.
401
+ * `prisma.programExercise`: Exposes CRUD operations for the **ProgramExercise** model.
391
402
  * Example usage:
392
403
  * ```ts
393
- * // Fetch zero or more PatientSessionSupplementalTherapyRels
394
- * const patientSessionSupplementalTherapyRels = await prisma.patientSessionSupplementalTherapyRel.findMany()
404
+ * // Fetch zero or more ProgramExercises
405
+ * const programExercises = await prisma.programExercise.findMany()
395
406
  * ```
396
407
  */
397
- get patientSessionSupplementalTherapyRel(): Prisma.PatientSessionSupplementalTherapyRelDelegate<ExtArgs, {
408
+ get programExercise(): Prisma.ProgramExerciseDelegate<ExtArgs, {
398
409
  omit: OmitOpts;
399
410
  }>;
400
411
  }