lang-database 6.3.0 → 7.0.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.
@@ -76,14 +76,14 @@ export type User = {
76
76
  }
77
77
 
78
78
  /**
79
- * Model Achivement
79
+ * Model Achievement
80
80
  *
81
81
  */
82
- export type Achivement = {
82
+ export type Achievement = {
83
83
  id: string
84
84
  userId: string
85
85
  badge: boolean
86
- type: AchivementType
86
+ type: AchievementType
87
87
  info: string
88
88
  timestamp: Date
89
89
  dismissed: boolean
@@ -156,7 +156,7 @@ export type Purchase = {
156
156
  // Based on
157
157
  // https://github.com/microsoft/TypeScript/issues/3192#issuecomment-261720275
158
158
 
159
- export const AchivementType: {
159
+ export const AchievementType: {
160
160
  Today15Min: 'Today15Min',
161
161
  Weekly15Min: 'Weekly15Min',
162
162
  Monthly15Min: 'Monthly15Min',
@@ -165,7 +165,7 @@ export const AchivementType: {
165
165
  DeckAlreadyKnown: 'DeckAlreadyKnown'
166
166
  };
167
167
 
168
- export type AchivementType = (typeof AchivementType)[keyof typeof AchivementType]
168
+ export type AchievementType = (typeof AchievementType)[keyof typeof AchievementType]
169
169
 
170
170
 
171
171
  export const PurchaseStatus: {
@@ -367,14 +367,14 @@ export class PrismaClient<
367
367
  get user(): Prisma.UserDelegate<GlobalReject>;
368
368
 
369
369
  /**
370
- * `prisma.achivement`: Exposes CRUD operations for the **Achivement** model.
370
+ * `prisma.achievement`: Exposes CRUD operations for the **Achievement** model.
371
371
  * Example usage:
372
372
  * ```ts
373
- * // Fetch zero or more Achivements
374
- * const achivements = await prisma.achivement.findMany()
373
+ * // Fetch zero or more Achievements
374
+ * const achievements = await prisma.achievement.findMany()
375
375
  * ```
376
376
  */
377
- get achivement(): Prisma.AchivementDelegate<GlobalReject>;
377
+ get achievement(): Prisma.AchievementDelegate<GlobalReject>;
378
378
 
379
379
  /**
380
380
  * `prisma.team`: Exposes CRUD operations for the **Team** model.
@@ -903,7 +903,7 @@ export namespace Prisma {
903
903
  Category: 'Category',
904
904
  Pack: 'Pack',
905
905
  User: 'User',
906
- Achivement: 'Achivement',
906
+ Achievement: 'Achievement',
907
907
  Team: 'Team',
908
908
  Teacher: 'Teacher',
909
909
  GoogleUser: 'GoogleUser',
@@ -1228,7 +1228,7 @@ export namespace Prisma {
1228
1228
 
1229
1229
 
1230
1230
  export type UserCountOutputType = {
1231
- achivements: number
1231
+ achievements: number
1232
1232
  purchases: number
1233
1233
  packs: number
1234
1234
  userCards: number
@@ -1236,7 +1236,7 @@ export namespace Prisma {
1236
1236
  }
1237
1237
 
1238
1238
  export type UserCountOutputTypeSelect = {
1239
- achivements?: boolean
1239
+ achievements?: boolean
1240
1240
  purchases?: boolean
1241
1241
  packs?: boolean
1242
1242
  userCards?: boolean
@@ -5405,7 +5405,7 @@ export namespace Prisma {
5405
5405
  name?: boolean
5406
5406
  password?: boolean
5407
5407
  googleUser?: boolean | GoogleUserArgs
5408
- achivements?: boolean | AchivementFindManyArgs
5408
+ achievements?: boolean | AchievementFindManyArgs
5409
5409
  purchases?: boolean | PurchaseFindManyArgs
5410
5410
  packs?: boolean | PackFindManyArgs
5411
5411
  userCards?: boolean | UserCardFindManyArgs
@@ -5418,7 +5418,7 @@ export namespace Prisma {
5418
5418
 
5419
5419
  export type UserInclude = {
5420
5420
  googleUser?: boolean | GoogleUserArgs
5421
- achivements?: boolean | AchivementFindManyArgs
5421
+ achievements?: boolean | AchievementFindManyArgs
5422
5422
  purchases?: boolean | PurchaseFindManyArgs
5423
5423
  packs?: boolean | PackFindManyArgs
5424
5424
  userCards?: boolean | UserCardFindManyArgs
@@ -5439,7 +5439,7 @@ export namespace Prisma {
5439
5439
  ? User & {
5440
5440
  [P in TrueKeys<S['include']>]:
5441
5441
  P extends 'googleUser' ? GoogleUserGetPayload<Exclude<S['include'], undefined | null>[P]> | null :
5442
- P extends 'achivements' ? Array < AchivementGetPayload<Exclude<S['include'], undefined | null>[P]>> :
5442
+ P extends 'achievements' ? Array < AchievementGetPayload<Exclude<S['include'], undefined | null>[P]>> :
5443
5443
  P extends 'purchases' ? Array < PurchaseGetPayload<Exclude<S['include'], undefined | null>[P]>> :
5444
5444
  P extends 'packs' ? Array < PackGetPayload<Exclude<S['include'], undefined | null>[P]>> :
5445
5445
  P extends 'userCards' ? Array < UserCardGetPayload<Exclude<S['include'], undefined | null>[P]>> :
@@ -5451,7 +5451,7 @@ export namespace Prisma {
5451
5451
  ? {
5452
5452
  [P in TrueKeys<S['select']>]:
5453
5453
  P extends 'googleUser' ? GoogleUserGetPayload<Exclude<S['select'], undefined | null>[P]> | null :
5454
- P extends 'achivements' ? Array < AchivementGetPayload<Exclude<S['select'], undefined | null>[P]>> :
5454
+ P extends 'achievements' ? Array < AchievementGetPayload<Exclude<S['select'], undefined | null>[P]>> :
5455
5455
  P extends 'purchases' ? Array < PurchaseGetPayload<Exclude<S['select'], undefined | null>[P]>> :
5456
5456
  P extends 'packs' ? Array < PackGetPayload<Exclude<S['select'], undefined | null>[P]>> :
5457
5457
  P extends 'userCards' ? Array < UserCardGetPayload<Exclude<S['select'], undefined | null>[P]>> :
@@ -5834,7 +5834,7 @@ export namespace Prisma {
5834
5834
 
5835
5835
  googleUser<T extends GoogleUserArgs = {}>(args?: Subset<T, GoogleUserArgs>): CheckSelect<T, Prisma__GoogleUserClient<GoogleUser | null >, Prisma__GoogleUserClient<GoogleUserGetPayload<T> | null >>;
5836
5836
 
5837
- achivements<T extends AchivementFindManyArgs = {}>(args?: Subset<T, AchivementFindManyArgs>): CheckSelect<T, PrismaPromise<Array<Achivement>>, PrismaPromise<Array<AchivementGetPayload<T>>>>;
5837
+ achievements<T extends AchievementFindManyArgs = {}>(args?: Subset<T, AchievementFindManyArgs>): CheckSelect<T, PrismaPromise<Array<Achievement>>, PrismaPromise<Array<AchievementGetPayload<T>>>>;
5838
5838
 
5839
5839
  purchases<T extends PurchaseFindManyArgs = {}>(args?: Subset<T, PurchaseFindManyArgs>): CheckSelect<T, PrismaPromise<Array<Purchase>>, PrismaPromise<Array<PurchaseGetPayload<T>>>>;
5840
5840
 
@@ -6201,37 +6201,37 @@ export namespace Prisma {
6201
6201
 
6202
6202
 
6203
6203
  /**
6204
- * Model Achivement
6204
+ * Model Achievement
6205
6205
  */
6206
6206
 
6207
6207
 
6208
- export type AggregateAchivement = {
6209
- _count: AchivementCountAggregateOutputType | null
6210
- _min: AchivementMinAggregateOutputType | null
6211
- _max: AchivementMaxAggregateOutputType | null
6208
+ export type AggregateAchievement = {
6209
+ _count: AchievementCountAggregateOutputType | null
6210
+ _min: AchievementMinAggregateOutputType | null
6211
+ _max: AchievementMaxAggregateOutputType | null
6212
6212
  }
6213
6213
 
6214
- export type AchivementMinAggregateOutputType = {
6214
+ export type AchievementMinAggregateOutputType = {
6215
6215
  id: string | null
6216
6216
  userId: string | null
6217
6217
  badge: boolean | null
6218
- type: AchivementType | null
6218
+ type: AchievementType | null
6219
6219
  info: string | null
6220
6220
  timestamp: Date | null
6221
6221
  dismissed: boolean | null
6222
6222
  }
6223
6223
 
6224
- export type AchivementMaxAggregateOutputType = {
6224
+ export type AchievementMaxAggregateOutputType = {
6225
6225
  id: string | null
6226
6226
  userId: string | null
6227
6227
  badge: boolean | null
6228
- type: AchivementType | null
6228
+ type: AchievementType | null
6229
6229
  info: string | null
6230
6230
  timestamp: Date | null
6231
6231
  dismissed: boolean | null
6232
6232
  }
6233
6233
 
6234
- export type AchivementCountAggregateOutputType = {
6234
+ export type AchievementCountAggregateOutputType = {
6235
6235
  id: number
6236
6236
  userId: number
6237
6237
  badge: number
@@ -6243,7 +6243,7 @@ export namespace Prisma {
6243
6243
  }
6244
6244
 
6245
6245
 
6246
- export type AchivementMinAggregateInputType = {
6246
+ export type AchievementMinAggregateInputType = {
6247
6247
  id?: true
6248
6248
  userId?: true
6249
6249
  badge?: true
@@ -6253,7 +6253,7 @@ export namespace Prisma {
6253
6253
  dismissed?: true
6254
6254
  }
6255
6255
 
6256
- export type AchivementMaxAggregateInputType = {
6256
+ export type AchievementMaxAggregateInputType = {
6257
6257
  id?: true
6258
6258
  userId?: true
6259
6259
  badge?: true
@@ -6263,7 +6263,7 @@ export namespace Prisma {
6263
6263
  dismissed?: true
6264
6264
  }
6265
6265
 
6266
- export type AchivementCountAggregateInputType = {
6266
+ export type AchievementCountAggregateInputType = {
6267
6267
  id?: true
6268
6268
  userId?: true
6269
6269
  badge?: true
@@ -6274,112 +6274,112 @@ export namespace Prisma {
6274
6274
  _all?: true
6275
6275
  }
6276
6276
 
6277
- export type AchivementAggregateArgs = {
6277
+ export type AchievementAggregateArgs = {
6278
6278
  /**
6279
- * Filter which Achivement to aggregate.
6279
+ * Filter which Achievement to aggregate.
6280
6280
  *
6281
6281
  **/
6282
- where?: AchivementWhereInput
6282
+ where?: AchievementWhereInput
6283
6283
  /**
6284
6284
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
6285
6285
  *
6286
- * Determine the order of Achivements to fetch.
6286
+ * Determine the order of Achievements to fetch.
6287
6287
  *
6288
6288
  **/
6289
- orderBy?: Enumerable<AchivementOrderByWithRelationInput>
6289
+ orderBy?: Enumerable<AchievementOrderByWithRelationInput>
6290
6290
  /**
6291
6291
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
6292
6292
  *
6293
6293
  * Sets the start position
6294
6294
  *
6295
6295
  **/
6296
- cursor?: AchivementWhereUniqueInput
6296
+ cursor?: AchievementWhereUniqueInput
6297
6297
  /**
6298
6298
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
6299
6299
  *
6300
- * Take `±n` Achivements from the position of the cursor.
6300
+ * Take `±n` Achievements from the position of the cursor.
6301
6301
  *
6302
6302
  **/
6303
6303
  take?: number
6304
6304
  /**
6305
6305
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
6306
6306
  *
6307
- * Skip the first `n` Achivements.
6307
+ * Skip the first `n` Achievements.
6308
6308
  *
6309
6309
  **/
6310
6310
  skip?: number
6311
6311
  /**
6312
6312
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
6313
6313
  *
6314
- * Count returned Achivements
6314
+ * Count returned Achievements
6315
6315
  **/
6316
- _count?: true | AchivementCountAggregateInputType
6316
+ _count?: true | AchievementCountAggregateInputType
6317
6317
  /**
6318
6318
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
6319
6319
  *
6320
6320
  * Select which fields to find the minimum value
6321
6321
  **/
6322
- _min?: AchivementMinAggregateInputType
6322
+ _min?: AchievementMinAggregateInputType
6323
6323
  /**
6324
6324
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
6325
6325
  *
6326
6326
  * Select which fields to find the maximum value
6327
6327
  **/
6328
- _max?: AchivementMaxAggregateInputType
6328
+ _max?: AchievementMaxAggregateInputType
6329
6329
  }
6330
6330
 
6331
- export type GetAchivementAggregateType<T extends AchivementAggregateArgs> = {
6332
- [P in keyof T & keyof AggregateAchivement]: P extends '_count' | 'count'
6331
+ export type GetAchievementAggregateType<T extends AchievementAggregateArgs> = {
6332
+ [P in keyof T & keyof AggregateAchievement]: P extends '_count' | 'count'
6333
6333
  ? T[P] extends true
6334
6334
  ? number
6335
- : GetScalarType<T[P], AggregateAchivement[P]>
6336
- : GetScalarType<T[P], AggregateAchivement[P]>
6335
+ : GetScalarType<T[P], AggregateAchievement[P]>
6336
+ : GetScalarType<T[P], AggregateAchievement[P]>
6337
6337
  }
6338
6338
 
6339
6339
 
6340
6340
 
6341
6341
 
6342
- export type AchivementGroupByArgs = {
6343
- where?: AchivementWhereInput
6344
- orderBy?: Enumerable<AchivementOrderByWithAggregationInput>
6345
- by: Array<AchivementScalarFieldEnum>
6346
- having?: AchivementScalarWhereWithAggregatesInput
6342
+ export type AchievementGroupByArgs = {
6343
+ where?: AchievementWhereInput
6344
+ orderBy?: Enumerable<AchievementOrderByWithAggregationInput>
6345
+ by: Array<AchievementScalarFieldEnum>
6346
+ having?: AchievementScalarWhereWithAggregatesInput
6347
6347
  take?: number
6348
6348
  skip?: number
6349
- _count?: AchivementCountAggregateInputType | true
6350
- _min?: AchivementMinAggregateInputType
6351
- _max?: AchivementMaxAggregateInputType
6349
+ _count?: AchievementCountAggregateInputType | true
6350
+ _min?: AchievementMinAggregateInputType
6351
+ _max?: AchievementMaxAggregateInputType
6352
6352
  }
6353
6353
 
6354
6354
 
6355
- export type AchivementGroupByOutputType = {
6355
+ export type AchievementGroupByOutputType = {
6356
6356
  id: string
6357
6357
  userId: string
6358
6358
  badge: boolean
6359
- type: AchivementType
6359
+ type: AchievementType
6360
6360
  info: string
6361
6361
  timestamp: Date
6362
6362
  dismissed: boolean
6363
- _count: AchivementCountAggregateOutputType | null
6364
- _min: AchivementMinAggregateOutputType | null
6365
- _max: AchivementMaxAggregateOutputType | null
6363
+ _count: AchievementCountAggregateOutputType | null
6364
+ _min: AchievementMinAggregateOutputType | null
6365
+ _max: AchievementMaxAggregateOutputType | null
6366
6366
  }
6367
6367
 
6368
- type GetAchivementGroupByPayload<T extends AchivementGroupByArgs> = PrismaPromise<
6368
+ type GetAchievementGroupByPayload<T extends AchievementGroupByArgs> = PrismaPromise<
6369
6369
  Array<
6370
- PickArray<AchivementGroupByOutputType, T['by']> &
6370
+ PickArray<AchievementGroupByOutputType, T['by']> &
6371
6371
  {
6372
- [P in ((keyof T) & (keyof AchivementGroupByOutputType))]: P extends '_count'
6372
+ [P in ((keyof T) & (keyof AchievementGroupByOutputType))]: P extends '_count'
6373
6373
  ? T[P] extends boolean
6374
6374
  ? number
6375
- : GetScalarType<T[P], AchivementGroupByOutputType[P]>
6376
- : GetScalarType<T[P], AchivementGroupByOutputType[P]>
6375
+ : GetScalarType<T[P], AchievementGroupByOutputType[P]>
6376
+ : GetScalarType<T[P], AchievementGroupByOutputType[P]>
6377
6377
  }
6378
6378
  >
6379
6379
  >
6380
6380
 
6381
6381
 
6382
- export type AchivementSelect = {
6382
+ export type AchievementSelect = {
6383
6383
  id?: boolean
6384
6384
  user?: boolean | UserArgs
6385
6385
  userId?: boolean
@@ -6390,145 +6390,145 @@ export namespace Prisma {
6390
6390
  dismissed?: boolean
6391
6391
  }
6392
6392
 
6393
- export type AchivementInclude = {
6393
+ export type AchievementInclude = {
6394
6394
  user?: boolean | UserArgs
6395
6395
  }
6396
6396
 
6397
- export type AchivementGetPayload<
6398
- S extends boolean | null | undefined | AchivementArgs,
6397
+ export type AchievementGetPayload<
6398
+ S extends boolean | null | undefined | AchievementArgs,
6399
6399
  U = keyof S
6400
6400
  > = S extends true
6401
- ? Achivement
6401
+ ? Achievement
6402
6402
  : S extends undefined
6403
6403
  ? never
6404
- : S extends AchivementArgs | AchivementFindManyArgs
6404
+ : S extends AchievementArgs | AchievementFindManyArgs
6405
6405
  ?'include' extends U
6406
- ? Achivement & {
6406
+ ? Achievement & {
6407
6407
  [P in TrueKeys<S['include']>]:
6408
6408
  P extends 'user' ? UserGetPayload<Exclude<S['include'], undefined | null>[P]> : never
6409
6409
  }
6410
6410
  : 'select' extends U
6411
6411
  ? {
6412
6412
  [P in TrueKeys<S['select']>]:
6413
- P extends 'user' ? UserGetPayload<Exclude<S['select'], undefined | null>[P]> : P extends keyof Achivement ? Achivement[P] : never
6413
+ P extends 'user' ? UserGetPayload<Exclude<S['select'], undefined | null>[P]> : P extends keyof Achievement ? Achievement[P] : never
6414
6414
  }
6415
- : Achivement
6416
- : Achivement
6415
+ : Achievement
6416
+ : Achievement
6417
6417
 
6418
6418
 
6419
- type AchivementCountArgs = Merge<
6420
- Omit<AchivementFindManyArgs, 'select' | 'include'> & {
6421
- select?: AchivementCountAggregateInputType | true
6419
+ type AchievementCountArgs = Merge<
6420
+ Omit<AchievementFindManyArgs, 'select' | 'include'> & {
6421
+ select?: AchievementCountAggregateInputType | true
6422
6422
  }
6423
6423
  >
6424
6424
 
6425
- export interface AchivementDelegate<GlobalRejectSettings extends Prisma.RejectOnNotFound | Prisma.RejectPerOperation | false | undefined> {
6425
+ export interface AchievementDelegate<GlobalRejectSettings extends Prisma.RejectOnNotFound | Prisma.RejectPerOperation | false | undefined> {
6426
6426
  /**
6427
- * Find zero or one Achivement that matches the filter.
6428
- * @param {AchivementFindUniqueArgs} args - Arguments to find a Achivement
6427
+ * Find zero or one Achievement that matches the filter.
6428
+ * @param {AchievementFindUniqueArgs} args - Arguments to find a Achievement
6429
6429
  * @example
6430
- * // Get one Achivement
6431
- * const achivement = await prisma.achivement.findUnique({
6430
+ * // Get one Achievement
6431
+ * const achievement = await prisma.achievement.findUnique({
6432
6432
  * where: {
6433
6433
  * // ... provide filter here
6434
6434
  * }
6435
6435
  * })
6436
6436
  **/
6437
- findUnique<T extends AchivementFindUniqueArgs, LocalRejectSettings = T["rejectOnNotFound"] extends RejectOnNotFound ? T['rejectOnNotFound'] : undefined>(
6438
- args: SelectSubset<T, AchivementFindUniqueArgs>
6439
- ): HasReject<GlobalRejectSettings, LocalRejectSettings, 'findUnique', 'Achivement'> extends True ? CheckSelect<T, Prisma__AchivementClient<Achivement>, Prisma__AchivementClient<AchivementGetPayload<T>>> : CheckSelect<T, Prisma__AchivementClient<Achivement | null >, Prisma__AchivementClient<AchivementGetPayload<T> | null >>
6437
+ findUnique<T extends AchievementFindUniqueArgs, LocalRejectSettings = T["rejectOnNotFound"] extends RejectOnNotFound ? T['rejectOnNotFound'] : undefined>(
6438
+ args: SelectSubset<T, AchievementFindUniqueArgs>
6439
+ ): HasReject<GlobalRejectSettings, LocalRejectSettings, 'findUnique', 'Achievement'> extends True ? CheckSelect<T, Prisma__AchievementClient<Achievement>, Prisma__AchievementClient<AchievementGetPayload<T>>> : CheckSelect<T, Prisma__AchievementClient<Achievement | null >, Prisma__AchievementClient<AchievementGetPayload<T> | null >>
6440
6440
 
6441
6441
  /**
6442
- * Find the first Achivement that matches the filter.
6442
+ * Find the first Achievement that matches the filter.
6443
6443
  * Note, that providing `undefined` is treated as the value not being there.
6444
6444
  * Read more here: https://pris.ly/d/null-undefined
6445
- * @param {AchivementFindFirstArgs} args - Arguments to find a Achivement
6445
+ * @param {AchievementFindFirstArgs} args - Arguments to find a Achievement
6446
6446
  * @example
6447
- * // Get one Achivement
6448
- * const achivement = await prisma.achivement.findFirst({
6447
+ * // Get one Achievement
6448
+ * const achievement = await prisma.achievement.findFirst({
6449
6449
  * where: {
6450
6450
  * // ... provide filter here
6451
6451
  * }
6452
6452
  * })
6453
6453
  **/
6454
- findFirst<T extends AchivementFindFirstArgs, LocalRejectSettings = T["rejectOnNotFound"] extends RejectOnNotFound ? T['rejectOnNotFound'] : undefined>(
6455
- args?: SelectSubset<T, AchivementFindFirstArgs>
6456
- ): HasReject<GlobalRejectSettings, LocalRejectSettings, 'findFirst', 'Achivement'> extends True ? CheckSelect<T, Prisma__AchivementClient<Achivement>, Prisma__AchivementClient<AchivementGetPayload<T>>> : CheckSelect<T, Prisma__AchivementClient<Achivement | null >, Prisma__AchivementClient<AchivementGetPayload<T> | null >>
6454
+ findFirst<T extends AchievementFindFirstArgs, LocalRejectSettings = T["rejectOnNotFound"] extends RejectOnNotFound ? T['rejectOnNotFound'] : undefined>(
6455
+ args?: SelectSubset<T, AchievementFindFirstArgs>
6456
+ ): HasReject<GlobalRejectSettings, LocalRejectSettings, 'findFirst', 'Achievement'> extends True ? CheckSelect<T, Prisma__AchievementClient<Achievement>, Prisma__AchievementClient<AchievementGetPayload<T>>> : CheckSelect<T, Prisma__AchievementClient<Achievement | null >, Prisma__AchievementClient<AchievementGetPayload<T> | null >>
6457
6457
 
6458
6458
  /**
6459
- * Find zero or more Achivements that matches the filter.
6459
+ * Find zero or more Achievements that matches the filter.
6460
6460
  * Note, that providing `undefined` is treated as the value not being there.
6461
6461
  * Read more here: https://pris.ly/d/null-undefined
6462
- * @param {AchivementFindManyArgs=} args - Arguments to filter and select certain fields only.
6462
+ * @param {AchievementFindManyArgs=} args - Arguments to filter and select certain fields only.
6463
6463
  * @example
6464
- * // Get all Achivements
6465
- * const achivements = await prisma.achivement.findMany()
6464
+ * // Get all Achievements
6465
+ * const achievements = await prisma.achievement.findMany()
6466
6466
  *
6467
- * // Get first 10 Achivements
6468
- * const achivements = await prisma.achivement.findMany({ take: 10 })
6467
+ * // Get first 10 Achievements
6468
+ * const achievements = await prisma.achievement.findMany({ take: 10 })
6469
6469
  *
6470
6470
  * // Only select the `id`
6471
- * const achivementWithIdOnly = await prisma.achivement.findMany({ select: { id: true } })
6471
+ * const achievementWithIdOnly = await prisma.achievement.findMany({ select: { id: true } })
6472
6472
  *
6473
6473
  **/
6474
- findMany<T extends AchivementFindManyArgs>(
6475
- args?: SelectSubset<T, AchivementFindManyArgs>
6476
- ): CheckSelect<T, PrismaPromise<Array<Achivement>>, PrismaPromise<Array<AchivementGetPayload<T>>>>
6474
+ findMany<T extends AchievementFindManyArgs>(
6475
+ args?: SelectSubset<T, AchievementFindManyArgs>
6476
+ ): CheckSelect<T, PrismaPromise<Array<Achievement>>, PrismaPromise<Array<AchievementGetPayload<T>>>>
6477
6477
 
6478
6478
  /**
6479
- * Create a Achivement.
6480
- * @param {AchivementCreateArgs} args - Arguments to create a Achivement.
6479
+ * Create a Achievement.
6480
+ * @param {AchievementCreateArgs} args - Arguments to create a Achievement.
6481
6481
  * @example
6482
- * // Create one Achivement
6483
- * const Achivement = await prisma.achivement.create({
6482
+ * // Create one Achievement
6483
+ * const Achievement = await prisma.achievement.create({
6484
6484
  * data: {
6485
- * // ... data to create a Achivement
6485
+ * // ... data to create a Achievement
6486
6486
  * }
6487
6487
  * })
6488
6488
  *
6489
6489
  **/
6490
- create<T extends AchivementCreateArgs>(
6491
- args: SelectSubset<T, AchivementCreateArgs>
6492
- ): CheckSelect<T, Prisma__AchivementClient<Achivement>, Prisma__AchivementClient<AchivementGetPayload<T>>>
6490
+ create<T extends AchievementCreateArgs>(
6491
+ args: SelectSubset<T, AchievementCreateArgs>
6492
+ ): CheckSelect<T, Prisma__AchievementClient<Achievement>, Prisma__AchievementClient<AchievementGetPayload<T>>>
6493
6493
 
6494
6494
  /**
6495
- * Create many Achivements.
6496
- * @param {AchivementCreateManyArgs} args - Arguments to create many Achivements.
6495
+ * Create many Achievements.
6496
+ * @param {AchievementCreateManyArgs} args - Arguments to create many Achievements.
6497
6497
  * @example
6498
- * // Create many Achivements
6499
- * const achivement = await prisma.achivement.createMany({
6498
+ * // Create many Achievements
6499
+ * const achievement = await prisma.achievement.createMany({
6500
6500
  * data: {
6501
6501
  * // ... provide data here
6502
6502
  * }
6503
6503
  * })
6504
6504
  *
6505
6505
  **/
6506
- createMany<T extends AchivementCreateManyArgs>(
6507
- args?: SelectSubset<T, AchivementCreateManyArgs>
6506
+ createMany<T extends AchievementCreateManyArgs>(
6507
+ args?: SelectSubset<T, AchievementCreateManyArgs>
6508
6508
  ): PrismaPromise<BatchPayload>
6509
6509
 
6510
6510
  /**
6511
- * Delete a Achivement.
6512
- * @param {AchivementDeleteArgs} args - Arguments to delete one Achivement.
6511
+ * Delete a Achievement.
6512
+ * @param {AchievementDeleteArgs} args - Arguments to delete one Achievement.
6513
6513
  * @example
6514
- * // Delete one Achivement
6515
- * const Achivement = await prisma.achivement.delete({
6514
+ * // Delete one Achievement
6515
+ * const Achievement = await prisma.achievement.delete({
6516
6516
  * where: {
6517
- * // ... filter to delete one Achivement
6517
+ * // ... filter to delete one Achievement
6518
6518
  * }
6519
6519
  * })
6520
6520
  *
6521
6521
  **/
6522
- delete<T extends AchivementDeleteArgs>(
6523
- args: SelectSubset<T, AchivementDeleteArgs>
6524
- ): CheckSelect<T, Prisma__AchivementClient<Achivement>, Prisma__AchivementClient<AchivementGetPayload<T>>>
6522
+ delete<T extends AchievementDeleteArgs>(
6523
+ args: SelectSubset<T, AchievementDeleteArgs>
6524
+ ): CheckSelect<T, Prisma__AchievementClient<Achievement>, Prisma__AchievementClient<AchievementGetPayload<T>>>
6525
6525
 
6526
6526
  /**
6527
- * Update one Achivement.
6528
- * @param {AchivementUpdateArgs} args - Arguments to update one Achivement.
6527
+ * Update one Achievement.
6528
+ * @param {AchievementUpdateArgs} args - Arguments to update one Achievement.
6529
6529
  * @example
6530
- * // Update one Achivement
6531
- * const achivement = await prisma.achivement.update({
6530
+ * // Update one Achievement
6531
+ * const achievement = await prisma.achievement.update({
6532
6532
  * where: {
6533
6533
  * // ... provide filter here
6534
6534
  * },
@@ -6538,34 +6538,34 @@ export namespace Prisma {
6538
6538
  * })
6539
6539
  *
6540
6540
  **/
6541
- update<T extends AchivementUpdateArgs>(
6542
- args: SelectSubset<T, AchivementUpdateArgs>
6543
- ): CheckSelect<T, Prisma__AchivementClient<Achivement>, Prisma__AchivementClient<AchivementGetPayload<T>>>
6541
+ update<T extends AchievementUpdateArgs>(
6542
+ args: SelectSubset<T, AchievementUpdateArgs>
6543
+ ): CheckSelect<T, Prisma__AchievementClient<Achievement>, Prisma__AchievementClient<AchievementGetPayload<T>>>
6544
6544
 
6545
6545
  /**
6546
- * Delete zero or more Achivements.
6547
- * @param {AchivementDeleteManyArgs} args - Arguments to filter Achivements to delete.
6546
+ * Delete zero or more Achievements.
6547
+ * @param {AchievementDeleteManyArgs} args - Arguments to filter Achievements to delete.
6548
6548
  * @example
6549
- * // Delete a few Achivements
6550
- * const { count } = await prisma.achivement.deleteMany({
6549
+ * // Delete a few Achievements
6550
+ * const { count } = await prisma.achievement.deleteMany({
6551
6551
  * where: {
6552
6552
  * // ... provide filter here
6553
6553
  * }
6554
6554
  * })
6555
6555
  *
6556
6556
  **/
6557
- deleteMany<T extends AchivementDeleteManyArgs>(
6558
- args?: SelectSubset<T, AchivementDeleteManyArgs>
6557
+ deleteMany<T extends AchievementDeleteManyArgs>(
6558
+ args?: SelectSubset<T, AchievementDeleteManyArgs>
6559
6559
  ): PrismaPromise<BatchPayload>
6560
6560
 
6561
6561
  /**
6562
- * Update zero or more Achivements.
6562
+ * Update zero or more Achievements.
6563
6563
  * Note, that providing `undefined` is treated as the value not being there.
6564
6564
  * Read more here: https://pris.ly/d/null-undefined
6565
- * @param {AchivementUpdateManyArgs} args - Arguments to update one or more rows.
6565
+ * @param {AchievementUpdateManyArgs} args - Arguments to update one or more rows.
6566
6566
  * @example
6567
- * // Update many Achivements
6568
- * const achivement = await prisma.achivement.updateMany({
6567
+ * // Update many Achievements
6568
+ * const achievement = await prisma.achievement.updateMany({
6569
6569
  * where: {
6570
6570
  * // ... provide filter here
6571
6571
  * },
@@ -6575,93 +6575,93 @@ export namespace Prisma {
6575
6575
  * })
6576
6576
  *
6577
6577
  **/
6578
- updateMany<T extends AchivementUpdateManyArgs>(
6579
- args: SelectSubset<T, AchivementUpdateManyArgs>
6578
+ updateMany<T extends AchievementUpdateManyArgs>(
6579
+ args: SelectSubset<T, AchievementUpdateManyArgs>
6580
6580
  ): PrismaPromise<BatchPayload>
6581
6581
 
6582
6582
  /**
6583
- * Create or update one Achivement.
6584
- * @param {AchivementUpsertArgs} args - Arguments to update or create a Achivement.
6583
+ * Create or update one Achievement.
6584
+ * @param {AchievementUpsertArgs} args - Arguments to update or create a Achievement.
6585
6585
  * @example
6586
- * // Update or create a Achivement
6587
- * const achivement = await prisma.achivement.upsert({
6586
+ * // Update or create a Achievement
6587
+ * const achievement = await prisma.achievement.upsert({
6588
6588
  * create: {
6589
- * // ... data to create a Achivement
6589
+ * // ... data to create a Achievement
6590
6590
  * },
6591
6591
  * update: {
6592
6592
  * // ... in case it already exists, update
6593
6593
  * },
6594
6594
  * where: {
6595
- * // ... the filter for the Achivement we want to update
6595
+ * // ... the filter for the Achievement we want to update
6596
6596
  * }
6597
6597
  * })
6598
6598
  **/
6599
- upsert<T extends AchivementUpsertArgs>(
6600
- args: SelectSubset<T, AchivementUpsertArgs>
6601
- ): CheckSelect<T, Prisma__AchivementClient<Achivement>, Prisma__AchivementClient<AchivementGetPayload<T>>>
6599
+ upsert<T extends AchievementUpsertArgs>(
6600
+ args: SelectSubset<T, AchievementUpsertArgs>
6601
+ ): CheckSelect<T, Prisma__AchievementClient<Achievement>, Prisma__AchievementClient<AchievementGetPayload<T>>>
6602
6602
 
6603
6603
  /**
6604
- * Find one Achivement that matches the filter or throw
6604
+ * Find one Achievement that matches the filter or throw
6605
6605
  * `NotFoundError` if no matches were found.
6606
- * @param {AchivementFindUniqueOrThrowArgs} args - Arguments to find a Achivement
6606
+ * @param {AchievementFindUniqueOrThrowArgs} args - Arguments to find a Achievement
6607
6607
  * @example
6608
- * // Get one Achivement
6609
- * const achivement = await prisma.achivement.findUniqueOrThrow({
6608
+ * // Get one Achievement
6609
+ * const achievement = await prisma.achievement.findUniqueOrThrow({
6610
6610
  * where: {
6611
6611
  * // ... provide filter here
6612
6612
  * }
6613
6613
  * })
6614
6614
  **/
6615
- findUniqueOrThrow<T extends AchivementFindUniqueOrThrowArgs>(
6616
- args?: SelectSubset<T, AchivementFindUniqueOrThrowArgs>
6617
- ): CheckSelect<T, Prisma__AchivementClient<Achivement>, Prisma__AchivementClient<AchivementGetPayload<T>>>
6615
+ findUniqueOrThrow<T extends AchievementFindUniqueOrThrowArgs>(
6616
+ args?: SelectSubset<T, AchievementFindUniqueOrThrowArgs>
6617
+ ): CheckSelect<T, Prisma__AchievementClient<Achievement>, Prisma__AchievementClient<AchievementGetPayload<T>>>
6618
6618
 
6619
6619
  /**
6620
- * Find the first Achivement that matches the filter or
6620
+ * Find the first Achievement that matches the filter or
6621
6621
  * throw `NotFoundError` if no matches were found.
6622
6622
  * Note, that providing `undefined` is treated as the value not being there.
6623
6623
  * Read more here: https://pris.ly/d/null-undefined
6624
- * @param {AchivementFindFirstOrThrowArgs} args - Arguments to find a Achivement
6624
+ * @param {AchievementFindFirstOrThrowArgs} args - Arguments to find a Achievement
6625
6625
  * @example
6626
- * // Get one Achivement
6627
- * const achivement = await prisma.achivement.findFirstOrThrow({
6626
+ * // Get one Achievement
6627
+ * const achievement = await prisma.achievement.findFirstOrThrow({
6628
6628
  * where: {
6629
6629
  * // ... provide filter here
6630
6630
  * }
6631
6631
  * })
6632
6632
  **/
6633
- findFirstOrThrow<T extends AchivementFindFirstOrThrowArgs>(
6634
- args?: SelectSubset<T, AchivementFindFirstOrThrowArgs>
6635
- ): CheckSelect<T, Prisma__AchivementClient<Achivement>, Prisma__AchivementClient<AchivementGetPayload<T>>>
6633
+ findFirstOrThrow<T extends AchievementFindFirstOrThrowArgs>(
6634
+ args?: SelectSubset<T, AchievementFindFirstOrThrowArgs>
6635
+ ): CheckSelect<T, Prisma__AchievementClient<Achievement>, Prisma__AchievementClient<AchievementGetPayload<T>>>
6636
6636
 
6637
6637
  /**
6638
- * Count the number of Achivements.
6638
+ * Count the number of Achievements.
6639
6639
  * Note, that providing `undefined` is treated as the value not being there.
6640
6640
  * Read more here: https://pris.ly/d/null-undefined
6641
- * @param {AchivementCountArgs} args - Arguments to filter Achivements to count.
6641
+ * @param {AchievementCountArgs} args - Arguments to filter Achievements to count.
6642
6642
  * @example
6643
- * // Count the number of Achivements
6644
- * const count = await prisma.achivement.count({
6643
+ * // Count the number of Achievements
6644
+ * const count = await prisma.achievement.count({
6645
6645
  * where: {
6646
- * // ... the filter for the Achivements we want to count
6646
+ * // ... the filter for the Achievements we want to count
6647
6647
  * }
6648
6648
  * })
6649
6649
  **/
6650
- count<T extends AchivementCountArgs>(
6651
- args?: Subset<T, AchivementCountArgs>,
6650
+ count<T extends AchievementCountArgs>(
6651
+ args?: Subset<T, AchievementCountArgs>,
6652
6652
  ): PrismaPromise<
6653
6653
  T extends _Record<'select', any>
6654
6654
  ? T['select'] extends true
6655
6655
  ? number
6656
- : GetScalarType<T['select'], AchivementCountAggregateOutputType>
6656
+ : GetScalarType<T['select'], AchievementCountAggregateOutputType>
6657
6657
  : number
6658
6658
  >
6659
6659
 
6660
6660
  /**
6661
- * Allows you to perform aggregations operations on a Achivement.
6661
+ * Allows you to perform aggregations operations on a Achievement.
6662
6662
  * Note, that providing `undefined` is treated as the value not being there.
6663
6663
  * Read more here: https://pris.ly/d/null-undefined
6664
- * @param {AchivementAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
6664
+ * @param {AchievementAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
6665
6665
  * @example
6666
6666
  * // Ordered by age ascending
6667
6667
  * // Where email contains prisma.io
@@ -6681,13 +6681,13 @@ export namespace Prisma {
6681
6681
  * take: 10,
6682
6682
  * })
6683
6683
  **/
6684
- aggregate<T extends AchivementAggregateArgs>(args: Subset<T, AchivementAggregateArgs>): PrismaPromise<GetAchivementAggregateType<T>>
6684
+ aggregate<T extends AchievementAggregateArgs>(args: Subset<T, AchievementAggregateArgs>): PrismaPromise<GetAchievementAggregateType<T>>
6685
6685
 
6686
6686
  /**
6687
- * Group by Achivement.
6687
+ * Group by Achievement.
6688
6688
  * Note, that providing `undefined` is treated as the value not being there.
6689
6689
  * Read more here: https://pris.ly/d/null-undefined
6690
- * @param {AchivementGroupByArgs} args - Group by arguments.
6690
+ * @param {AchievementGroupByArgs} args - Group by arguments.
6691
6691
  * @example
6692
6692
  * // Group by city, order by createdAt, get count
6693
6693
  * const result = await prisma.user.groupBy({
@@ -6702,14 +6702,14 @@ export namespace Prisma {
6702
6702
  *
6703
6703
  **/
6704
6704
  groupBy<
6705
- T extends AchivementGroupByArgs,
6705
+ T extends AchievementGroupByArgs,
6706
6706
  HasSelectOrTake extends Or<
6707
6707
  Extends<'skip', Keys<T>>,
6708
6708
  Extends<'take', Keys<T>>
6709
6709
  >,
6710
6710
  OrderByArg extends True extends HasSelectOrTake
6711
- ? { orderBy: AchivementGroupByArgs['orderBy'] }
6712
- : { orderBy?: AchivementGroupByArgs['orderBy'] },
6711
+ ? { orderBy: AchievementGroupByArgs['orderBy'] }
6712
+ : { orderBy?: AchievementGroupByArgs['orderBy'] },
6713
6713
  OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
6714
6714
  ByFields extends TupleToUnion<T['by']>,
6715
6715
  ByValid extends Has<ByFields, OrderFields>,
@@ -6758,17 +6758,17 @@ export namespace Prisma {
6758
6758
  ? never
6759
6759
  : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
6760
6760
  }[OrderFields]
6761
- >(args: SubsetIntersection<T, AchivementGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAchivementGroupByPayload<T> : PrismaPromise<InputErrors>
6761
+ >(args: SubsetIntersection<T, AchievementGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAchievementGroupByPayload<T> : PrismaPromise<InputErrors>
6762
6762
 
6763
6763
  }
6764
6764
 
6765
6765
  /**
6766
- * The delegate class that acts as a "Promise-like" for Achivement.
6766
+ * The delegate class that acts as a "Promise-like" for Achievement.
6767
6767
  * Why is this prefixed with `Prisma__`?
6768
6768
  * Because we want to prevent naming conflicts as mentioned in
6769
6769
  * https://github.com/prisma/prisma-client-js/issues/707
6770
6770
  */
6771
- export class Prisma__AchivementClient<T> implements PrismaPromise<T> {
6771
+ export class Prisma__AchievementClient<T> implements PrismaPromise<T> {
6772
6772
  [prisma]: true;
6773
6773
  private readonly _dmmf;
6774
6774
  private readonly _fetcher;
@@ -6815,30 +6815,30 @@ export namespace Prisma {
6815
6815
  // Custom InputTypes
6816
6816
 
6817
6817
  /**
6818
- * Achivement base type for findUnique actions
6818
+ * Achievement base type for findUnique actions
6819
6819
  */
6820
- export type AchivementFindUniqueArgsBase = {
6820
+ export type AchievementFindUniqueArgsBase = {
6821
6821
  /**
6822
- * Select specific fields to fetch from the Achivement
6822
+ * Select specific fields to fetch from the Achievement
6823
6823
  *
6824
6824
  **/
6825
- select?: AchivementSelect | null
6825
+ select?: AchievementSelect | null
6826
6826
  /**
6827
6827
  * Choose, which related nodes to fetch as well.
6828
6828
  *
6829
6829
  **/
6830
- include?: AchivementInclude | null
6830
+ include?: AchievementInclude | null
6831
6831
  /**
6832
- * Filter, which Achivement to fetch.
6832
+ * Filter, which Achievement to fetch.
6833
6833
  *
6834
6834
  **/
6835
- where: AchivementWhereUniqueInput
6835
+ where: AchievementWhereUniqueInput
6836
6836
  }
6837
6837
 
6838
6838
  /**
6839
- * Achivement: findUnique
6839
+ * Achievement: findUnique
6840
6840
  */
6841
- export interface AchivementFindUniqueArgs extends AchivementFindUniqueArgsBase {
6841
+ export interface AchievementFindUniqueArgs extends AchievementFindUniqueArgsBase {
6842
6842
  /**
6843
6843
  * Throw an Error if query returns no results
6844
6844
  * @deprecated since 4.0.0: use `findUniqueOrThrow` method instead
@@ -6848,65 +6848,65 @@ export namespace Prisma {
6848
6848
 
6849
6849
 
6850
6850
  /**
6851
- * Achivement base type for findFirst actions
6851
+ * Achievement base type for findFirst actions
6852
6852
  */
6853
- export type AchivementFindFirstArgsBase = {
6853
+ export type AchievementFindFirstArgsBase = {
6854
6854
  /**
6855
- * Select specific fields to fetch from the Achivement
6855
+ * Select specific fields to fetch from the Achievement
6856
6856
  *
6857
6857
  **/
6858
- select?: AchivementSelect | null
6858
+ select?: AchievementSelect | null
6859
6859
  /**
6860
6860
  * Choose, which related nodes to fetch as well.
6861
6861
  *
6862
6862
  **/
6863
- include?: AchivementInclude | null
6863
+ include?: AchievementInclude | null
6864
6864
  /**
6865
- * Filter, which Achivement to fetch.
6865
+ * Filter, which Achievement to fetch.
6866
6866
  *
6867
6867
  **/
6868
- where?: AchivementWhereInput
6868
+ where?: AchievementWhereInput
6869
6869
  /**
6870
6870
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
6871
6871
  *
6872
- * Determine the order of Achivements to fetch.
6872
+ * Determine the order of Achievements to fetch.
6873
6873
  *
6874
6874
  **/
6875
- orderBy?: Enumerable<AchivementOrderByWithRelationInput>
6875
+ orderBy?: Enumerable<AchievementOrderByWithRelationInput>
6876
6876
  /**
6877
6877
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
6878
6878
  *
6879
- * Sets the position for searching for Achivements.
6879
+ * Sets the position for searching for Achievements.
6880
6880
  *
6881
6881
  **/
6882
- cursor?: AchivementWhereUniqueInput
6882
+ cursor?: AchievementWhereUniqueInput
6883
6883
  /**
6884
6884
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
6885
6885
  *
6886
- * Take `±n` Achivements from the position of the cursor.
6886
+ * Take `±n` Achievements from the position of the cursor.
6887
6887
  *
6888
6888
  **/
6889
6889
  take?: number
6890
6890
  /**
6891
6891
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
6892
6892
  *
6893
- * Skip the first `n` Achivements.
6893
+ * Skip the first `n` Achievements.
6894
6894
  *
6895
6895
  **/
6896
6896
  skip?: number
6897
6897
  /**
6898
6898
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
6899
6899
  *
6900
- * Filter by unique combinations of Achivements.
6900
+ * Filter by unique combinations of Achievements.
6901
6901
  *
6902
6902
  **/
6903
- distinct?: Enumerable<AchivementScalarFieldEnum>
6903
+ distinct?: Enumerable<AchievementScalarFieldEnum>
6904
6904
  }
6905
6905
 
6906
6906
  /**
6907
- * Achivement: findFirst
6907
+ * Achievement: findFirst
6908
6908
  */
6909
- export interface AchivementFindFirstArgs extends AchivementFindFirstArgsBase {
6909
+ export interface AchievementFindFirstArgs extends AchievementFindFirstArgsBase {
6910
6910
  /**
6911
6911
  * Throw an Error if query returns no results
6912
6912
  * @deprecated since 4.0.0: use `findFirstOrThrow` method instead
@@ -6916,227 +6916,227 @@ export namespace Prisma {
6916
6916
 
6917
6917
 
6918
6918
  /**
6919
- * Achivement findMany
6919
+ * Achievement findMany
6920
6920
  */
6921
- export type AchivementFindManyArgs = {
6921
+ export type AchievementFindManyArgs = {
6922
6922
  /**
6923
- * Select specific fields to fetch from the Achivement
6923
+ * Select specific fields to fetch from the Achievement
6924
6924
  *
6925
6925
  **/
6926
- select?: AchivementSelect | null
6926
+ select?: AchievementSelect | null
6927
6927
  /**
6928
6928
  * Choose, which related nodes to fetch as well.
6929
6929
  *
6930
6930
  **/
6931
- include?: AchivementInclude | null
6931
+ include?: AchievementInclude | null
6932
6932
  /**
6933
- * Filter, which Achivements to fetch.
6933
+ * Filter, which Achievements to fetch.
6934
6934
  *
6935
6935
  **/
6936
- where?: AchivementWhereInput
6936
+ where?: AchievementWhereInput
6937
6937
  /**
6938
6938
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
6939
6939
  *
6940
- * Determine the order of Achivements to fetch.
6940
+ * Determine the order of Achievements to fetch.
6941
6941
  *
6942
6942
  **/
6943
- orderBy?: Enumerable<AchivementOrderByWithRelationInput>
6943
+ orderBy?: Enumerable<AchievementOrderByWithRelationInput>
6944
6944
  /**
6945
6945
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
6946
6946
  *
6947
- * Sets the position for listing Achivements.
6947
+ * Sets the position for listing Achievements.
6948
6948
  *
6949
6949
  **/
6950
- cursor?: AchivementWhereUniqueInput
6950
+ cursor?: AchievementWhereUniqueInput
6951
6951
  /**
6952
6952
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
6953
6953
  *
6954
- * Take `±n` Achivements from the position of the cursor.
6954
+ * Take `±n` Achievements from the position of the cursor.
6955
6955
  *
6956
6956
  **/
6957
6957
  take?: number
6958
6958
  /**
6959
6959
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
6960
6960
  *
6961
- * Skip the first `n` Achivements.
6961
+ * Skip the first `n` Achievements.
6962
6962
  *
6963
6963
  **/
6964
6964
  skip?: number
6965
- distinct?: Enumerable<AchivementScalarFieldEnum>
6965
+ distinct?: Enumerable<AchievementScalarFieldEnum>
6966
6966
  }
6967
6967
 
6968
6968
 
6969
6969
  /**
6970
- * Achivement create
6970
+ * Achievement create
6971
6971
  */
6972
- export type AchivementCreateArgs = {
6972
+ export type AchievementCreateArgs = {
6973
6973
  /**
6974
- * Select specific fields to fetch from the Achivement
6974
+ * Select specific fields to fetch from the Achievement
6975
6975
  *
6976
6976
  **/
6977
- select?: AchivementSelect | null
6977
+ select?: AchievementSelect | null
6978
6978
  /**
6979
6979
  * Choose, which related nodes to fetch as well.
6980
6980
  *
6981
6981
  **/
6982
- include?: AchivementInclude | null
6982
+ include?: AchievementInclude | null
6983
6983
  /**
6984
- * The data needed to create a Achivement.
6984
+ * The data needed to create a Achievement.
6985
6985
  *
6986
6986
  **/
6987
- data: XOR<AchivementCreateInput, AchivementUncheckedCreateInput>
6987
+ data: XOR<AchievementCreateInput, AchievementUncheckedCreateInput>
6988
6988
  }
6989
6989
 
6990
6990
 
6991
6991
  /**
6992
- * Achivement createMany
6992
+ * Achievement createMany
6993
6993
  */
6994
- export type AchivementCreateManyArgs = {
6994
+ export type AchievementCreateManyArgs = {
6995
6995
  /**
6996
- * The data used to create many Achivements.
6996
+ * The data used to create many Achievements.
6997
6997
  *
6998
6998
  **/
6999
- data: Enumerable<AchivementCreateManyInput>
6999
+ data: Enumerable<AchievementCreateManyInput>
7000
7000
  skipDuplicates?: boolean
7001
7001
  }
7002
7002
 
7003
7003
 
7004
7004
  /**
7005
- * Achivement update
7005
+ * Achievement update
7006
7006
  */
7007
- export type AchivementUpdateArgs = {
7007
+ export type AchievementUpdateArgs = {
7008
7008
  /**
7009
- * Select specific fields to fetch from the Achivement
7009
+ * Select specific fields to fetch from the Achievement
7010
7010
  *
7011
7011
  **/
7012
- select?: AchivementSelect | null
7012
+ select?: AchievementSelect | null
7013
7013
  /**
7014
7014
  * Choose, which related nodes to fetch as well.
7015
7015
  *
7016
7016
  **/
7017
- include?: AchivementInclude | null
7017
+ include?: AchievementInclude | null
7018
7018
  /**
7019
- * The data needed to update a Achivement.
7019
+ * The data needed to update a Achievement.
7020
7020
  *
7021
7021
  **/
7022
- data: XOR<AchivementUpdateInput, AchivementUncheckedUpdateInput>
7022
+ data: XOR<AchievementUpdateInput, AchievementUncheckedUpdateInput>
7023
7023
  /**
7024
- * Choose, which Achivement to update.
7024
+ * Choose, which Achievement to update.
7025
7025
  *
7026
7026
  **/
7027
- where: AchivementWhereUniqueInput
7027
+ where: AchievementWhereUniqueInput
7028
7028
  }
7029
7029
 
7030
7030
 
7031
7031
  /**
7032
- * Achivement updateMany
7032
+ * Achievement updateMany
7033
7033
  */
7034
- export type AchivementUpdateManyArgs = {
7034
+ export type AchievementUpdateManyArgs = {
7035
7035
  /**
7036
- * The data used to update Achivements.
7036
+ * The data used to update Achievements.
7037
7037
  *
7038
7038
  **/
7039
- data: XOR<AchivementUpdateManyMutationInput, AchivementUncheckedUpdateManyInput>
7039
+ data: XOR<AchievementUpdateManyMutationInput, AchievementUncheckedUpdateManyInput>
7040
7040
  /**
7041
- * Filter which Achivements to update
7041
+ * Filter which Achievements to update
7042
7042
  *
7043
7043
  **/
7044
- where?: AchivementWhereInput
7044
+ where?: AchievementWhereInput
7045
7045
  }
7046
7046
 
7047
7047
 
7048
7048
  /**
7049
- * Achivement upsert
7049
+ * Achievement upsert
7050
7050
  */
7051
- export type AchivementUpsertArgs = {
7051
+ export type AchievementUpsertArgs = {
7052
7052
  /**
7053
- * Select specific fields to fetch from the Achivement
7053
+ * Select specific fields to fetch from the Achievement
7054
7054
  *
7055
7055
  **/
7056
- select?: AchivementSelect | null
7056
+ select?: AchievementSelect | null
7057
7057
  /**
7058
7058
  * Choose, which related nodes to fetch as well.
7059
7059
  *
7060
7060
  **/
7061
- include?: AchivementInclude | null
7061
+ include?: AchievementInclude | null
7062
7062
  /**
7063
- * The filter to search for the Achivement to update in case it exists.
7063
+ * The filter to search for the Achievement to update in case it exists.
7064
7064
  *
7065
7065
  **/
7066
- where: AchivementWhereUniqueInput
7066
+ where: AchievementWhereUniqueInput
7067
7067
  /**
7068
- * In case the Achivement found by the `where` argument doesn't exist, create a new Achivement with this data.
7068
+ * In case the Achievement found by the `where` argument doesn't exist, create a new Achievement with this data.
7069
7069
  *
7070
7070
  **/
7071
- create: XOR<AchivementCreateInput, AchivementUncheckedCreateInput>
7071
+ create: XOR<AchievementCreateInput, AchievementUncheckedCreateInput>
7072
7072
  /**
7073
- * In case the Achivement was found with the provided `where` argument, update it with this data.
7073
+ * In case the Achievement was found with the provided `where` argument, update it with this data.
7074
7074
  *
7075
7075
  **/
7076
- update: XOR<AchivementUpdateInput, AchivementUncheckedUpdateInput>
7076
+ update: XOR<AchievementUpdateInput, AchievementUncheckedUpdateInput>
7077
7077
  }
7078
7078
 
7079
7079
 
7080
7080
  /**
7081
- * Achivement delete
7081
+ * Achievement delete
7082
7082
  */
7083
- export type AchivementDeleteArgs = {
7083
+ export type AchievementDeleteArgs = {
7084
7084
  /**
7085
- * Select specific fields to fetch from the Achivement
7085
+ * Select specific fields to fetch from the Achievement
7086
7086
  *
7087
7087
  **/
7088
- select?: AchivementSelect | null
7088
+ select?: AchievementSelect | null
7089
7089
  /**
7090
7090
  * Choose, which related nodes to fetch as well.
7091
7091
  *
7092
7092
  **/
7093
- include?: AchivementInclude | null
7093
+ include?: AchievementInclude | null
7094
7094
  /**
7095
- * Filter which Achivement to delete.
7095
+ * Filter which Achievement to delete.
7096
7096
  *
7097
7097
  **/
7098
- where: AchivementWhereUniqueInput
7098
+ where: AchievementWhereUniqueInput
7099
7099
  }
7100
7100
 
7101
7101
 
7102
7102
  /**
7103
- * Achivement deleteMany
7103
+ * Achievement deleteMany
7104
7104
  */
7105
- export type AchivementDeleteManyArgs = {
7105
+ export type AchievementDeleteManyArgs = {
7106
7106
  /**
7107
- * Filter which Achivements to delete
7107
+ * Filter which Achievements to delete
7108
7108
  *
7109
7109
  **/
7110
- where?: AchivementWhereInput
7110
+ where?: AchievementWhereInput
7111
7111
  }
7112
7112
 
7113
7113
 
7114
7114
  /**
7115
- * Achivement: findUniqueOrThrow
7115
+ * Achievement: findUniqueOrThrow
7116
7116
  */
7117
- export type AchivementFindUniqueOrThrowArgs = AchivementFindUniqueArgsBase
7117
+ export type AchievementFindUniqueOrThrowArgs = AchievementFindUniqueArgsBase
7118
7118
 
7119
7119
 
7120
7120
  /**
7121
- * Achivement: findFirstOrThrow
7121
+ * Achievement: findFirstOrThrow
7122
7122
  */
7123
- export type AchivementFindFirstOrThrowArgs = AchivementFindFirstArgsBase
7123
+ export type AchievementFindFirstOrThrowArgs = AchievementFindFirstArgsBase
7124
7124
 
7125
7125
 
7126
7126
  /**
7127
- * Achivement without action
7127
+ * Achievement without action
7128
7128
  */
7129
- export type AchivementArgs = {
7129
+ export type AchievementArgs = {
7130
7130
  /**
7131
- * Select specific fields to fetch from the Achivement
7131
+ * Select specific fields to fetch from the Achievement
7132
7132
  *
7133
7133
  **/
7134
- select?: AchivementSelect | null
7134
+ select?: AchievementSelect | null
7135
7135
  /**
7136
7136
  * Choose, which related nodes to fetch as well.
7137
7137
  *
7138
7138
  **/
7139
- include?: AchivementInclude | null
7139
+ include?: AchievementInclude | null
7140
7140
  }
7141
7141
 
7142
7142
 
@@ -11859,7 +11859,7 @@ export namespace Prisma {
11859
11859
  // Based on
11860
11860
  // https://github.com/microsoft/TypeScript/issues/3192#issuecomment-261720275
11861
11861
 
11862
- export const AchivementScalarFieldEnum: {
11862
+ export const AchievementScalarFieldEnum: {
11863
11863
  id: 'id',
11864
11864
  userId: 'userId',
11865
11865
  badge: 'badge',
@@ -11869,7 +11869,7 @@ export namespace Prisma {
11869
11869
  dismissed: 'dismissed'
11870
11870
  };
11871
11871
 
11872
- export type AchivementScalarFieldEnum = (typeof AchivementScalarFieldEnum)[keyof typeof AchivementScalarFieldEnum]
11872
+ export type AchievementScalarFieldEnum = (typeof AchievementScalarFieldEnum)[keyof typeof AchievementScalarFieldEnum]
11873
11873
 
11874
11874
 
11875
11875
  export const AnswerScalarFieldEnum: {
@@ -12242,7 +12242,7 @@ export namespace Prisma {
12242
12242
  name?: StringFilter | string
12243
12243
  password?: StringNullableFilter | string | null
12244
12244
  googleUser?: XOR<GoogleUserRelationFilter, GoogleUserWhereInput> | null
12245
- achivements?: AchivementListRelationFilter
12245
+ achievements?: AchievementListRelationFilter
12246
12246
  purchases?: PurchaseListRelationFilter
12247
12247
  packs?: PackListRelationFilter
12248
12248
  userCards?: UserCardListRelationFilter
@@ -12258,7 +12258,7 @@ export namespace Prisma {
12258
12258
  name?: SortOrder
12259
12259
  password?: SortOrder
12260
12260
  googleUser?: GoogleUserOrderByWithRelationInput
12261
- achivements?: AchivementOrderByRelationAggregateInput
12261
+ achievements?: AchievementOrderByRelationAggregateInput
12262
12262
  purchases?: PurchaseOrderByRelationAggregateInput
12263
12263
  packs?: PackOrderByRelationAggregateInput
12264
12264
  userCards?: UserCardOrderByRelationAggregateInput
@@ -12297,21 +12297,21 @@ export namespace Prisma {
12297
12297
  passwordActivated?: BoolWithAggregatesFilter | boolean
12298
12298
  }
12299
12299
 
12300
- export type AchivementWhereInput = {
12301
- AND?: Enumerable<AchivementWhereInput>
12302
- OR?: Enumerable<AchivementWhereInput>
12303
- NOT?: Enumerable<AchivementWhereInput>
12300
+ export type AchievementWhereInput = {
12301
+ AND?: Enumerable<AchievementWhereInput>
12302
+ OR?: Enumerable<AchievementWhereInput>
12303
+ NOT?: Enumerable<AchievementWhereInput>
12304
12304
  id?: StringFilter | string
12305
12305
  user?: XOR<UserRelationFilter, UserWhereInput>
12306
12306
  userId?: StringFilter | string
12307
12307
  badge?: BoolFilter | boolean
12308
- type?: EnumAchivementTypeFilter | AchivementType
12308
+ type?: EnumAchievementTypeFilter | AchievementType
12309
12309
  info?: StringFilter | string
12310
12310
  timestamp?: DateTimeFilter | Date | string
12311
12311
  dismissed?: BoolFilter | boolean
12312
12312
  }
12313
12313
 
12314
- export type AchivementOrderByWithRelationInput = {
12314
+ export type AchievementOrderByWithRelationInput = {
12315
12315
  id?: SortOrder
12316
12316
  user?: UserOrderByWithRelationInput
12317
12317
  userId?: SortOrder
@@ -12322,11 +12322,11 @@ export namespace Prisma {
12322
12322
  dismissed?: SortOrder
12323
12323
  }
12324
12324
 
12325
- export type AchivementWhereUniqueInput = {
12325
+ export type AchievementWhereUniqueInput = {
12326
12326
  id?: string
12327
12327
  }
12328
12328
 
12329
- export type AchivementOrderByWithAggregationInput = {
12329
+ export type AchievementOrderByWithAggregationInput = {
12330
12330
  id?: SortOrder
12331
12331
  userId?: SortOrder
12332
12332
  badge?: SortOrder
@@ -12334,19 +12334,19 @@ export namespace Prisma {
12334
12334
  info?: SortOrder
12335
12335
  timestamp?: SortOrder
12336
12336
  dismissed?: SortOrder
12337
- _count?: AchivementCountOrderByAggregateInput
12338
- _max?: AchivementMaxOrderByAggregateInput
12339
- _min?: AchivementMinOrderByAggregateInput
12337
+ _count?: AchievementCountOrderByAggregateInput
12338
+ _max?: AchievementMaxOrderByAggregateInput
12339
+ _min?: AchievementMinOrderByAggregateInput
12340
12340
  }
12341
12341
 
12342
- export type AchivementScalarWhereWithAggregatesInput = {
12343
- AND?: Enumerable<AchivementScalarWhereWithAggregatesInput>
12344
- OR?: Enumerable<AchivementScalarWhereWithAggregatesInput>
12345
- NOT?: Enumerable<AchivementScalarWhereWithAggregatesInput>
12342
+ export type AchievementScalarWhereWithAggregatesInput = {
12343
+ AND?: Enumerable<AchievementScalarWhereWithAggregatesInput>
12344
+ OR?: Enumerable<AchievementScalarWhereWithAggregatesInput>
12345
+ NOT?: Enumerable<AchievementScalarWhereWithAggregatesInput>
12346
12346
  id?: StringWithAggregatesFilter | string
12347
12347
  userId?: StringWithAggregatesFilter | string
12348
12348
  badge?: BoolWithAggregatesFilter | boolean
12349
- type?: EnumAchivementTypeWithAggregatesFilter | AchivementType
12349
+ type?: EnumAchievementTypeWithAggregatesFilter | AchievementType
12350
12350
  info?: StringWithAggregatesFilter | string
12351
12351
  timestamp?: DateTimeWithAggregatesFilter | Date | string
12352
12352
  dismissed?: BoolWithAggregatesFilter | boolean
@@ -12862,7 +12862,7 @@ export namespace Prisma {
12862
12862
  name: string
12863
12863
  password?: string | null
12864
12864
  googleUser?: GoogleUserCreateNestedOneWithoutUserInput
12865
- achivements?: AchivementCreateNestedManyWithoutUserInput
12865
+ achievements?: AchievementCreateNestedManyWithoutUserInput
12866
12866
  purchases?: PurchaseCreateNestedManyWithoutUserInput
12867
12867
  packs?: PackCreateNestedManyWithoutUsersInput
12868
12868
  userCards?: UserCardCreateNestedManyWithoutUserInput
@@ -12877,7 +12877,7 @@ export namespace Prisma {
12877
12877
  name: string
12878
12878
  password?: string | null
12879
12879
  googleUser?: GoogleUserUncheckedCreateNestedOneWithoutUserInput
12880
- achivements?: AchivementUncheckedCreateNestedManyWithoutUserInput
12880
+ achievements?: AchievementUncheckedCreateNestedManyWithoutUserInput
12881
12881
  purchases?: PurchaseUncheckedCreateNestedManyWithoutUserInput
12882
12882
  packs?: PackUncheckedCreateNestedManyWithoutUsersInput
12883
12883
  userCards?: UserCardUncheckedCreateNestedManyWithoutUserInput
@@ -12892,7 +12892,7 @@ export namespace Prisma {
12892
12892
  name?: StringFieldUpdateOperationsInput | string
12893
12893
  password?: NullableStringFieldUpdateOperationsInput | string | null
12894
12894
  googleUser?: GoogleUserUpdateOneWithoutUserNestedInput
12895
- achivements?: AchivementUpdateManyWithoutUserNestedInput
12895
+ achievements?: AchievementUpdateManyWithoutUserNestedInput
12896
12896
  purchases?: PurchaseUpdateManyWithoutUserNestedInput
12897
12897
  packs?: PackUpdateManyWithoutUsersNestedInput
12898
12898
  userCards?: UserCardUpdateManyWithoutUserNestedInput
@@ -12907,7 +12907,7 @@ export namespace Prisma {
12907
12907
  name?: StringFieldUpdateOperationsInput | string
12908
12908
  password?: NullableStringFieldUpdateOperationsInput | string | null
12909
12909
  googleUser?: GoogleUserUncheckedUpdateOneWithoutUserNestedInput
12910
- achivements?: AchivementUncheckedUpdateManyWithoutUserNestedInput
12910
+ achievements?: AchievementUncheckedUpdateManyWithoutUserNestedInput
12911
12911
  purchases?: PurchaseUncheckedUpdateManyWithoutUserNestedInput
12912
12912
  packs?: PackUncheckedUpdateManyWithoutUsersNestedInput
12913
12913
  userCards?: UserCardUncheckedUpdateManyWithoutUserNestedInput
@@ -12942,70 +12942,70 @@ export namespace Prisma {
12942
12942
  passwordActivated?: BoolFieldUpdateOperationsInput | boolean
12943
12943
  }
12944
12944
 
12945
- export type AchivementCreateInput = {
12945
+ export type AchievementCreateInput = {
12946
12946
  id?: string
12947
- user: UserCreateNestedOneWithoutAchivementsInput
12947
+ user: UserCreateNestedOneWithoutAchievementsInput
12948
12948
  badge: boolean
12949
- type: AchivementType
12949
+ type: AchievementType
12950
12950
  info: string
12951
12951
  timestamp: Date | string
12952
12952
  dismissed?: boolean
12953
12953
  }
12954
12954
 
12955
- export type AchivementUncheckedCreateInput = {
12955
+ export type AchievementUncheckedCreateInput = {
12956
12956
  id?: string
12957
12957
  userId: string
12958
12958
  badge: boolean
12959
- type: AchivementType
12959
+ type: AchievementType
12960
12960
  info: string
12961
12961
  timestamp: Date | string
12962
12962
  dismissed?: boolean
12963
12963
  }
12964
12964
 
12965
- export type AchivementUpdateInput = {
12965
+ export type AchievementUpdateInput = {
12966
12966
  id?: StringFieldUpdateOperationsInput | string
12967
- user?: UserUpdateOneRequiredWithoutAchivementsNestedInput
12967
+ user?: UserUpdateOneRequiredWithoutAchievementsNestedInput
12968
12968
  badge?: BoolFieldUpdateOperationsInput | boolean
12969
- type?: EnumAchivementTypeFieldUpdateOperationsInput | AchivementType
12969
+ type?: EnumAchievementTypeFieldUpdateOperationsInput | AchievementType
12970
12970
  info?: StringFieldUpdateOperationsInput | string
12971
12971
  timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
12972
12972
  dismissed?: BoolFieldUpdateOperationsInput | boolean
12973
12973
  }
12974
12974
 
12975
- export type AchivementUncheckedUpdateInput = {
12975
+ export type AchievementUncheckedUpdateInput = {
12976
12976
  id?: StringFieldUpdateOperationsInput | string
12977
12977
  userId?: StringFieldUpdateOperationsInput | string
12978
12978
  badge?: BoolFieldUpdateOperationsInput | boolean
12979
- type?: EnumAchivementTypeFieldUpdateOperationsInput | AchivementType
12979
+ type?: EnumAchievementTypeFieldUpdateOperationsInput | AchievementType
12980
12980
  info?: StringFieldUpdateOperationsInput | string
12981
12981
  timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
12982
12982
  dismissed?: BoolFieldUpdateOperationsInput | boolean
12983
12983
  }
12984
12984
 
12985
- export type AchivementCreateManyInput = {
12985
+ export type AchievementCreateManyInput = {
12986
12986
  id?: string
12987
12987
  userId: string
12988
12988
  badge: boolean
12989
- type: AchivementType
12989
+ type: AchievementType
12990
12990
  info: string
12991
12991
  timestamp: Date | string
12992
12992
  dismissed?: boolean
12993
12993
  }
12994
12994
 
12995
- export type AchivementUpdateManyMutationInput = {
12995
+ export type AchievementUpdateManyMutationInput = {
12996
12996
  id?: StringFieldUpdateOperationsInput | string
12997
12997
  badge?: BoolFieldUpdateOperationsInput | boolean
12998
- type?: EnumAchivementTypeFieldUpdateOperationsInput | AchivementType
12998
+ type?: EnumAchievementTypeFieldUpdateOperationsInput | AchievementType
12999
12999
  info?: StringFieldUpdateOperationsInput | string
13000
13000
  timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
13001
13001
  dismissed?: BoolFieldUpdateOperationsInput | boolean
13002
13002
  }
13003
13003
 
13004
- export type AchivementUncheckedUpdateManyInput = {
13004
+ export type AchievementUncheckedUpdateManyInput = {
13005
13005
  id?: StringFieldUpdateOperationsInput | string
13006
13006
  userId?: StringFieldUpdateOperationsInput | string
13007
13007
  badge?: BoolFieldUpdateOperationsInput | boolean
13008
- type?: EnumAchivementTypeFieldUpdateOperationsInput | AchivementType
13008
+ type?: EnumAchievementTypeFieldUpdateOperationsInput | AchievementType
13009
13009
  info?: StringFieldUpdateOperationsInput | string
13010
13010
  timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
13011
13011
  dismissed?: BoolFieldUpdateOperationsInput | boolean
@@ -13707,10 +13707,10 @@ export namespace Prisma {
13707
13707
  isNot?: GoogleUserWhereInput | null
13708
13708
  }
13709
13709
 
13710
- export type AchivementListRelationFilter = {
13711
- every?: AchivementWhereInput
13712
- some?: AchivementWhereInput
13713
- none?: AchivementWhereInput
13710
+ export type AchievementListRelationFilter = {
13711
+ every?: AchievementWhereInput
13712
+ some?: AchievementWhereInput
13713
+ none?: AchievementWhereInput
13714
13714
  }
13715
13715
 
13716
13716
  export type TeamRelationFilter = {
@@ -13718,7 +13718,7 @@ export namespace Prisma {
13718
13718
  isNot?: TeamWhereInput | null
13719
13719
  }
13720
13720
 
13721
- export type AchivementOrderByRelationAggregateInput = {
13721
+ export type AchievementOrderByRelationAggregateInput = {
13722
13722
  _count?: SortOrder
13723
13723
  }
13724
13724
 
@@ -13749,14 +13749,14 @@ export namespace Prisma {
13749
13749
  passwordActivated?: SortOrder
13750
13750
  }
13751
13751
 
13752
- export type EnumAchivementTypeFilter = {
13753
- equals?: AchivementType
13754
- in?: Enumerable<AchivementType>
13755
- notIn?: Enumerable<AchivementType>
13756
- not?: NestedEnumAchivementTypeFilter | AchivementType
13752
+ export type EnumAchievementTypeFilter = {
13753
+ equals?: AchievementType
13754
+ in?: Enumerable<AchievementType>
13755
+ notIn?: Enumerable<AchievementType>
13756
+ not?: NestedEnumAchievementTypeFilter | AchievementType
13757
13757
  }
13758
13758
 
13759
- export type AchivementCountOrderByAggregateInput = {
13759
+ export type AchievementCountOrderByAggregateInput = {
13760
13760
  id?: SortOrder
13761
13761
  userId?: SortOrder
13762
13762
  badge?: SortOrder
@@ -13766,7 +13766,7 @@ export namespace Prisma {
13766
13766
  dismissed?: SortOrder
13767
13767
  }
13768
13768
 
13769
- export type AchivementMaxOrderByAggregateInput = {
13769
+ export type AchievementMaxOrderByAggregateInput = {
13770
13770
  id?: SortOrder
13771
13771
  userId?: SortOrder
13772
13772
  badge?: SortOrder
@@ -13776,7 +13776,7 @@ export namespace Prisma {
13776
13776
  dismissed?: SortOrder
13777
13777
  }
13778
13778
 
13779
- export type AchivementMinOrderByAggregateInput = {
13779
+ export type AchievementMinOrderByAggregateInput = {
13780
13780
  id?: SortOrder
13781
13781
  userId?: SortOrder
13782
13782
  badge?: SortOrder
@@ -13786,14 +13786,14 @@ export namespace Prisma {
13786
13786
  dismissed?: SortOrder
13787
13787
  }
13788
13788
 
13789
- export type EnumAchivementTypeWithAggregatesFilter = {
13790
- equals?: AchivementType
13791
- in?: Enumerable<AchivementType>
13792
- notIn?: Enumerable<AchivementType>
13793
- not?: NestedEnumAchivementTypeWithAggregatesFilter | AchivementType
13789
+ export type EnumAchievementTypeWithAggregatesFilter = {
13790
+ equals?: AchievementType
13791
+ in?: Enumerable<AchievementType>
13792
+ notIn?: Enumerable<AchievementType>
13793
+ not?: NestedEnumAchievementTypeWithAggregatesFilter | AchievementType
13794
13794
  _count?: NestedIntFilter
13795
- _min?: NestedEnumAchivementTypeFilter
13796
- _max?: NestedEnumAchivementTypeFilter
13795
+ _min?: NestedEnumAchievementTypeFilter
13796
+ _max?: NestedEnumAchievementTypeFilter
13797
13797
  }
13798
13798
 
13799
13799
  export type IntFilter = {
@@ -14373,11 +14373,11 @@ export namespace Prisma {
14373
14373
  connect?: GoogleUserWhereUniqueInput
14374
14374
  }
14375
14375
 
14376
- export type AchivementCreateNestedManyWithoutUserInput = {
14377
- create?: XOR<Enumerable<AchivementCreateWithoutUserInput>, Enumerable<AchivementUncheckedCreateWithoutUserInput>>
14378
- connectOrCreate?: Enumerable<AchivementCreateOrConnectWithoutUserInput>
14379
- createMany?: AchivementCreateManyUserInputEnvelope
14380
- connect?: Enumerable<AchivementWhereUniqueInput>
14376
+ export type AchievementCreateNestedManyWithoutUserInput = {
14377
+ create?: XOR<Enumerable<AchievementCreateWithoutUserInput>, Enumerable<AchievementUncheckedCreateWithoutUserInput>>
14378
+ connectOrCreate?: Enumerable<AchievementCreateOrConnectWithoutUserInput>
14379
+ createMany?: AchievementCreateManyUserInputEnvelope
14380
+ connect?: Enumerable<AchievementWhereUniqueInput>
14381
14381
  }
14382
14382
 
14383
14383
  export type PurchaseCreateNestedManyWithoutUserInput = {
@@ -14419,11 +14419,11 @@ export namespace Prisma {
14419
14419
  connect?: GoogleUserWhereUniqueInput
14420
14420
  }
14421
14421
 
14422
- export type AchivementUncheckedCreateNestedManyWithoutUserInput = {
14423
- create?: XOR<Enumerable<AchivementCreateWithoutUserInput>, Enumerable<AchivementUncheckedCreateWithoutUserInput>>
14424
- connectOrCreate?: Enumerable<AchivementCreateOrConnectWithoutUserInput>
14425
- createMany?: AchivementCreateManyUserInputEnvelope
14426
- connect?: Enumerable<AchivementWhereUniqueInput>
14422
+ export type AchievementUncheckedCreateNestedManyWithoutUserInput = {
14423
+ create?: XOR<Enumerable<AchievementCreateWithoutUserInput>, Enumerable<AchievementUncheckedCreateWithoutUserInput>>
14424
+ connectOrCreate?: Enumerable<AchievementCreateOrConnectWithoutUserInput>
14425
+ createMany?: AchievementCreateManyUserInputEnvelope
14426
+ connect?: Enumerable<AchievementWhereUniqueInput>
14427
14427
  }
14428
14428
 
14429
14429
  export type PurchaseUncheckedCreateNestedManyWithoutUserInput = {
@@ -14463,18 +14463,18 @@ export namespace Prisma {
14463
14463
  update?: XOR<GoogleUserUpdateWithoutUserInput, GoogleUserUncheckedUpdateWithoutUserInput>
14464
14464
  }
14465
14465
 
14466
- export type AchivementUpdateManyWithoutUserNestedInput = {
14467
- create?: XOR<Enumerable<AchivementCreateWithoutUserInput>, Enumerable<AchivementUncheckedCreateWithoutUserInput>>
14468
- connectOrCreate?: Enumerable<AchivementCreateOrConnectWithoutUserInput>
14469
- upsert?: Enumerable<AchivementUpsertWithWhereUniqueWithoutUserInput>
14470
- createMany?: AchivementCreateManyUserInputEnvelope
14471
- set?: Enumerable<AchivementWhereUniqueInput>
14472
- disconnect?: Enumerable<AchivementWhereUniqueInput>
14473
- delete?: Enumerable<AchivementWhereUniqueInput>
14474
- connect?: Enumerable<AchivementWhereUniqueInput>
14475
- update?: Enumerable<AchivementUpdateWithWhereUniqueWithoutUserInput>
14476
- updateMany?: Enumerable<AchivementUpdateManyWithWhereWithoutUserInput>
14477
- deleteMany?: Enumerable<AchivementScalarWhereInput>
14466
+ export type AchievementUpdateManyWithoutUserNestedInput = {
14467
+ create?: XOR<Enumerable<AchievementCreateWithoutUserInput>, Enumerable<AchievementUncheckedCreateWithoutUserInput>>
14468
+ connectOrCreate?: Enumerable<AchievementCreateOrConnectWithoutUserInput>
14469
+ upsert?: Enumerable<AchievementUpsertWithWhereUniqueWithoutUserInput>
14470
+ createMany?: AchievementCreateManyUserInputEnvelope
14471
+ set?: Enumerable<AchievementWhereUniqueInput>
14472
+ disconnect?: Enumerable<AchievementWhereUniqueInput>
14473
+ delete?: Enumerable<AchievementWhereUniqueInput>
14474
+ connect?: Enumerable<AchievementWhereUniqueInput>
14475
+ update?: Enumerable<AchievementUpdateWithWhereUniqueWithoutUserInput>
14476
+ updateMany?: Enumerable<AchievementUpdateManyWithWhereWithoutUserInput>
14477
+ deleteMany?: Enumerable<AchievementScalarWhereInput>
14478
14478
  }
14479
14479
 
14480
14480
  export type PurchaseUpdateManyWithoutUserNestedInput = {
@@ -14552,18 +14552,18 @@ export namespace Prisma {
14552
14552
  update?: XOR<GoogleUserUpdateWithoutUserInput, GoogleUserUncheckedUpdateWithoutUserInput>
14553
14553
  }
14554
14554
 
14555
- export type AchivementUncheckedUpdateManyWithoutUserNestedInput = {
14556
- create?: XOR<Enumerable<AchivementCreateWithoutUserInput>, Enumerable<AchivementUncheckedCreateWithoutUserInput>>
14557
- connectOrCreate?: Enumerable<AchivementCreateOrConnectWithoutUserInput>
14558
- upsert?: Enumerable<AchivementUpsertWithWhereUniqueWithoutUserInput>
14559
- createMany?: AchivementCreateManyUserInputEnvelope
14560
- set?: Enumerable<AchivementWhereUniqueInput>
14561
- disconnect?: Enumerable<AchivementWhereUniqueInput>
14562
- delete?: Enumerable<AchivementWhereUniqueInput>
14563
- connect?: Enumerable<AchivementWhereUniqueInput>
14564
- update?: Enumerable<AchivementUpdateWithWhereUniqueWithoutUserInput>
14565
- updateMany?: Enumerable<AchivementUpdateManyWithWhereWithoutUserInput>
14566
- deleteMany?: Enumerable<AchivementScalarWhereInput>
14555
+ export type AchievementUncheckedUpdateManyWithoutUserNestedInput = {
14556
+ create?: XOR<Enumerable<AchievementCreateWithoutUserInput>, Enumerable<AchievementUncheckedCreateWithoutUserInput>>
14557
+ connectOrCreate?: Enumerable<AchievementCreateOrConnectWithoutUserInput>
14558
+ upsert?: Enumerable<AchievementUpsertWithWhereUniqueWithoutUserInput>
14559
+ createMany?: AchievementCreateManyUserInputEnvelope
14560
+ set?: Enumerable<AchievementWhereUniqueInput>
14561
+ disconnect?: Enumerable<AchievementWhereUniqueInput>
14562
+ delete?: Enumerable<AchievementWhereUniqueInput>
14563
+ connect?: Enumerable<AchievementWhereUniqueInput>
14564
+ update?: Enumerable<AchievementUpdateWithWhereUniqueWithoutUserInput>
14565
+ updateMany?: Enumerable<AchievementUpdateManyWithWhereWithoutUserInput>
14566
+ deleteMany?: Enumerable<AchievementScalarWhereInput>
14567
14567
  }
14568
14568
 
14569
14569
  export type PurchaseUncheckedUpdateManyWithoutUserNestedInput = {
@@ -14621,22 +14621,22 @@ export namespace Prisma {
14621
14621
  deleteMany?: Enumerable<AnswerScalarWhereInput>
14622
14622
  }
14623
14623
 
14624
- export type UserCreateNestedOneWithoutAchivementsInput = {
14625
- create?: XOR<UserCreateWithoutAchivementsInput, UserUncheckedCreateWithoutAchivementsInput>
14626
- connectOrCreate?: UserCreateOrConnectWithoutAchivementsInput
14624
+ export type UserCreateNestedOneWithoutAchievementsInput = {
14625
+ create?: XOR<UserCreateWithoutAchievementsInput, UserUncheckedCreateWithoutAchievementsInput>
14626
+ connectOrCreate?: UserCreateOrConnectWithoutAchievementsInput
14627
14627
  connect?: UserWhereUniqueInput
14628
14628
  }
14629
14629
 
14630
- export type UserUpdateOneRequiredWithoutAchivementsNestedInput = {
14631
- create?: XOR<UserCreateWithoutAchivementsInput, UserUncheckedCreateWithoutAchivementsInput>
14632
- connectOrCreate?: UserCreateOrConnectWithoutAchivementsInput
14633
- upsert?: UserUpsertWithoutAchivementsInput
14630
+ export type UserUpdateOneRequiredWithoutAchievementsNestedInput = {
14631
+ create?: XOR<UserCreateWithoutAchievementsInput, UserUncheckedCreateWithoutAchievementsInput>
14632
+ connectOrCreate?: UserCreateOrConnectWithoutAchievementsInput
14633
+ upsert?: UserUpsertWithoutAchievementsInput
14634
14634
  connect?: UserWhereUniqueInput
14635
- update?: XOR<UserUpdateWithoutAchivementsInput, UserUncheckedUpdateWithoutAchivementsInput>
14635
+ update?: XOR<UserUpdateWithoutAchievementsInput, UserUncheckedUpdateWithoutAchievementsInput>
14636
14636
  }
14637
14637
 
14638
- export type EnumAchivementTypeFieldUpdateOperationsInput = {
14639
- set?: AchivementType
14638
+ export type EnumAchievementTypeFieldUpdateOperationsInput = {
14639
+ set?: AchievementType
14640
14640
  }
14641
14641
 
14642
14642
  export type PackCreateNestedManyWithoutTeamsInput = {
@@ -15044,21 +15044,21 @@ export namespace Prisma {
15044
15044
  _max?: NestedDecimalFilter
15045
15045
  }
15046
15046
 
15047
- export type NestedEnumAchivementTypeFilter = {
15048
- equals?: AchivementType
15049
- in?: Enumerable<AchivementType>
15050
- notIn?: Enumerable<AchivementType>
15051
- not?: NestedEnumAchivementTypeFilter | AchivementType
15047
+ export type NestedEnumAchievementTypeFilter = {
15048
+ equals?: AchievementType
15049
+ in?: Enumerable<AchievementType>
15050
+ notIn?: Enumerable<AchievementType>
15051
+ not?: NestedEnumAchievementTypeFilter | AchievementType
15052
15052
  }
15053
15053
 
15054
- export type NestedEnumAchivementTypeWithAggregatesFilter = {
15055
- equals?: AchivementType
15056
- in?: Enumerable<AchivementType>
15057
- notIn?: Enumerable<AchivementType>
15058
- not?: NestedEnumAchivementTypeWithAggregatesFilter | AchivementType
15054
+ export type NestedEnumAchievementTypeWithAggregatesFilter = {
15055
+ equals?: AchievementType
15056
+ in?: Enumerable<AchievementType>
15057
+ notIn?: Enumerable<AchievementType>
15058
+ not?: NestedEnumAchievementTypeWithAggregatesFilter | AchievementType
15059
15059
  _count?: NestedIntFilter
15060
- _min?: NestedEnumAchivementTypeFilter
15061
- _max?: NestedEnumAchivementTypeFilter
15060
+ _min?: NestedEnumAchievementTypeFilter
15061
+ _max?: NestedEnumAchievementTypeFilter
15062
15062
  }
15063
15063
 
15064
15064
  export type NestedIntWithAggregatesFilter = {
@@ -15283,7 +15283,7 @@ export namespace Prisma {
15283
15283
  name: string
15284
15284
  password?: string | null
15285
15285
  googleUser?: GoogleUserCreateNestedOneWithoutUserInput
15286
- achivements?: AchivementCreateNestedManyWithoutUserInput
15286
+ achievements?: AchievementCreateNestedManyWithoutUserInput
15287
15287
  purchases?: PurchaseCreateNestedManyWithoutUserInput
15288
15288
  packs?: PackCreateNestedManyWithoutUsersInput
15289
15289
  answers?: AnswerCreateNestedManyWithoutUserInput
@@ -15297,7 +15297,7 @@ export namespace Prisma {
15297
15297
  name: string
15298
15298
  password?: string | null
15299
15299
  googleUser?: GoogleUserUncheckedCreateNestedOneWithoutUserInput
15300
- achivements?: AchivementUncheckedCreateNestedManyWithoutUserInput
15300
+ achievements?: AchievementUncheckedCreateNestedManyWithoutUserInput
15301
15301
  purchases?: PurchaseUncheckedCreateNestedManyWithoutUserInput
15302
15302
  packs?: PackUncheckedCreateNestedManyWithoutUsersInput
15303
15303
  answers?: AnswerUncheckedCreateNestedManyWithoutUserInput
@@ -15346,7 +15346,7 @@ export namespace Prisma {
15346
15346
  name?: StringFieldUpdateOperationsInput | string
15347
15347
  password?: NullableStringFieldUpdateOperationsInput | string | null
15348
15348
  googleUser?: GoogleUserUpdateOneWithoutUserNestedInput
15349
- achivements?: AchivementUpdateManyWithoutUserNestedInput
15349
+ achievements?: AchievementUpdateManyWithoutUserNestedInput
15350
15350
  purchases?: PurchaseUpdateManyWithoutUserNestedInput
15351
15351
  packs?: PackUpdateManyWithoutUsersNestedInput
15352
15352
  answers?: AnswerUpdateManyWithoutUserNestedInput
@@ -15360,7 +15360,7 @@ export namespace Prisma {
15360
15360
  name?: StringFieldUpdateOperationsInput | string
15361
15361
  password?: NullableStringFieldUpdateOperationsInput | string | null
15362
15362
  googleUser?: GoogleUserUncheckedUpdateOneWithoutUserNestedInput
15363
- achivements?: AchivementUncheckedUpdateManyWithoutUserNestedInput
15363
+ achievements?: AchievementUncheckedUpdateManyWithoutUserNestedInput
15364
15364
  purchases?: PurchaseUncheckedUpdateManyWithoutUserNestedInput
15365
15365
  packs?: PackUncheckedUpdateManyWithoutUsersNestedInput
15366
15366
  answers?: AnswerUncheckedUpdateManyWithoutUserNestedInput
@@ -15534,7 +15534,7 @@ export namespace Prisma {
15534
15534
  name: string
15535
15535
  password?: string | null
15536
15536
  googleUser?: GoogleUserCreateNestedOneWithoutUserInput
15537
- achivements?: AchivementCreateNestedManyWithoutUserInput
15537
+ achievements?: AchievementCreateNestedManyWithoutUserInput
15538
15538
  purchases?: PurchaseCreateNestedManyWithoutUserInput
15539
15539
  userCards?: UserCardCreateNestedManyWithoutUserInput
15540
15540
  answers?: AnswerCreateNestedManyWithoutUserInput
@@ -15548,7 +15548,7 @@ export namespace Prisma {
15548
15548
  name: string
15549
15549
  password?: string | null
15550
15550
  googleUser?: GoogleUserUncheckedCreateNestedOneWithoutUserInput
15551
- achivements?: AchivementUncheckedCreateNestedManyWithoutUserInput
15551
+ achievements?: AchievementUncheckedCreateNestedManyWithoutUserInput
15552
15552
  purchases?: PurchaseUncheckedCreateNestedManyWithoutUserInput
15553
15553
  userCards?: UserCardUncheckedCreateNestedManyWithoutUserInput
15554
15554
  answers?: AnswerUncheckedCreateNestedManyWithoutUserInput
@@ -15774,31 +15774,31 @@ export namespace Prisma {
15774
15774
  create: XOR<GoogleUserCreateWithoutUserInput, GoogleUserUncheckedCreateWithoutUserInput>
15775
15775
  }
15776
15776
 
15777
- export type AchivementCreateWithoutUserInput = {
15777
+ export type AchievementCreateWithoutUserInput = {
15778
15778
  id?: string
15779
15779
  badge: boolean
15780
- type: AchivementType
15780
+ type: AchievementType
15781
15781
  info: string
15782
15782
  timestamp: Date | string
15783
15783
  dismissed?: boolean
15784
15784
  }
15785
15785
 
15786
- export type AchivementUncheckedCreateWithoutUserInput = {
15786
+ export type AchievementUncheckedCreateWithoutUserInput = {
15787
15787
  id?: string
15788
15788
  badge: boolean
15789
- type: AchivementType
15789
+ type: AchievementType
15790
15790
  info: string
15791
15791
  timestamp: Date | string
15792
15792
  dismissed?: boolean
15793
15793
  }
15794
15794
 
15795
- export type AchivementCreateOrConnectWithoutUserInput = {
15796
- where: AchivementWhereUniqueInput
15797
- create: XOR<AchivementCreateWithoutUserInput, AchivementUncheckedCreateWithoutUserInput>
15795
+ export type AchievementCreateOrConnectWithoutUserInput = {
15796
+ where: AchievementWhereUniqueInput
15797
+ create: XOR<AchievementCreateWithoutUserInput, AchievementUncheckedCreateWithoutUserInput>
15798
15798
  }
15799
15799
 
15800
- export type AchivementCreateManyUserInputEnvelope = {
15801
- data: Enumerable<AchivementCreateManyUserInput>
15800
+ export type AchievementCreateManyUserInputEnvelope = {
15801
+ data: Enumerable<AchievementCreateManyUserInput>
15802
15802
  skipDuplicates?: boolean
15803
15803
  }
15804
15804
 
@@ -15951,30 +15951,30 @@ export namespace Prisma {
15951
15951
  id?: StringFieldUpdateOperationsInput | string
15952
15952
  }
15953
15953
 
15954
- export type AchivementUpsertWithWhereUniqueWithoutUserInput = {
15955
- where: AchivementWhereUniqueInput
15956
- update: XOR<AchivementUpdateWithoutUserInput, AchivementUncheckedUpdateWithoutUserInput>
15957
- create: XOR<AchivementCreateWithoutUserInput, AchivementUncheckedCreateWithoutUserInput>
15954
+ export type AchievementUpsertWithWhereUniqueWithoutUserInput = {
15955
+ where: AchievementWhereUniqueInput
15956
+ update: XOR<AchievementUpdateWithoutUserInput, AchievementUncheckedUpdateWithoutUserInput>
15957
+ create: XOR<AchievementCreateWithoutUserInput, AchievementUncheckedCreateWithoutUserInput>
15958
15958
  }
15959
15959
 
15960
- export type AchivementUpdateWithWhereUniqueWithoutUserInput = {
15961
- where: AchivementWhereUniqueInput
15962
- data: XOR<AchivementUpdateWithoutUserInput, AchivementUncheckedUpdateWithoutUserInput>
15960
+ export type AchievementUpdateWithWhereUniqueWithoutUserInput = {
15961
+ where: AchievementWhereUniqueInput
15962
+ data: XOR<AchievementUpdateWithoutUserInput, AchievementUncheckedUpdateWithoutUserInput>
15963
15963
  }
15964
15964
 
15965
- export type AchivementUpdateManyWithWhereWithoutUserInput = {
15966
- where: AchivementScalarWhereInput
15967
- data: XOR<AchivementUpdateManyMutationInput, AchivementUncheckedUpdateManyWithoutAchivementsInput>
15965
+ export type AchievementUpdateManyWithWhereWithoutUserInput = {
15966
+ where: AchievementScalarWhereInput
15967
+ data: XOR<AchievementUpdateManyMutationInput, AchievementUncheckedUpdateManyWithoutAchievementsInput>
15968
15968
  }
15969
15969
 
15970
- export type AchivementScalarWhereInput = {
15971
- AND?: Enumerable<AchivementScalarWhereInput>
15972
- OR?: Enumerable<AchivementScalarWhereInput>
15973
- NOT?: Enumerable<AchivementScalarWhereInput>
15970
+ export type AchievementScalarWhereInput = {
15971
+ AND?: Enumerable<AchievementScalarWhereInput>
15972
+ OR?: Enumerable<AchievementScalarWhereInput>
15973
+ NOT?: Enumerable<AchievementScalarWhereInput>
15974
15974
  id?: StringFilter | string
15975
15975
  userId?: StringFilter | string
15976
15976
  badge?: BoolFilter | boolean
15977
- type?: EnumAchivementTypeFilter | AchivementType
15977
+ type?: EnumAchievementTypeFilter | AchievementType
15978
15978
  info?: StringFilter | string
15979
15979
  timestamp?: DateTimeFilter | Date | string
15980
15980
  dismissed?: BoolFilter | boolean
@@ -16067,7 +16067,7 @@ export namespace Prisma {
16067
16067
  subscriptionExpire?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
16068
16068
  }
16069
16069
 
16070
- export type UserCreateWithoutAchivementsInput = {
16070
+ export type UserCreateWithoutAchievementsInput = {
16071
16071
  id?: string
16072
16072
  email: string
16073
16073
  name: string
@@ -16081,7 +16081,7 @@ export namespace Prisma {
16081
16081
  passwordActivated?: boolean
16082
16082
  }
16083
16083
 
16084
- export type UserUncheckedCreateWithoutAchivementsInput = {
16084
+ export type UserUncheckedCreateWithoutAchievementsInput = {
16085
16085
  id?: string
16086
16086
  email: string
16087
16087
  name: string
@@ -16095,17 +16095,17 @@ export namespace Prisma {
16095
16095
  passwordActivated?: boolean
16096
16096
  }
16097
16097
 
16098
- export type UserCreateOrConnectWithoutAchivementsInput = {
16098
+ export type UserCreateOrConnectWithoutAchievementsInput = {
16099
16099
  where: UserWhereUniqueInput
16100
- create: XOR<UserCreateWithoutAchivementsInput, UserUncheckedCreateWithoutAchivementsInput>
16100
+ create: XOR<UserCreateWithoutAchievementsInput, UserUncheckedCreateWithoutAchievementsInput>
16101
16101
  }
16102
16102
 
16103
- export type UserUpsertWithoutAchivementsInput = {
16104
- update: XOR<UserUpdateWithoutAchivementsInput, UserUncheckedUpdateWithoutAchivementsInput>
16105
- create: XOR<UserCreateWithoutAchivementsInput, UserUncheckedCreateWithoutAchivementsInput>
16103
+ export type UserUpsertWithoutAchievementsInput = {
16104
+ update: XOR<UserUpdateWithoutAchievementsInput, UserUncheckedUpdateWithoutAchievementsInput>
16105
+ create: XOR<UserCreateWithoutAchievementsInput, UserUncheckedCreateWithoutAchievementsInput>
16106
16106
  }
16107
16107
 
16108
- export type UserUpdateWithoutAchivementsInput = {
16108
+ export type UserUpdateWithoutAchievementsInput = {
16109
16109
  id?: StringFieldUpdateOperationsInput | string
16110
16110
  email?: StringFieldUpdateOperationsInput | string
16111
16111
  name?: StringFieldUpdateOperationsInput | string
@@ -16119,7 +16119,7 @@ export namespace Prisma {
16119
16119
  passwordActivated?: BoolFieldUpdateOperationsInput | boolean
16120
16120
  }
16121
16121
 
16122
- export type UserUncheckedUpdateWithoutAchivementsInput = {
16122
+ export type UserUncheckedUpdateWithoutAchievementsInput = {
16123
16123
  id?: StringFieldUpdateOperationsInput | string
16124
16124
  email?: StringFieldUpdateOperationsInput | string
16125
16125
  name?: StringFieldUpdateOperationsInput | string
@@ -16174,7 +16174,7 @@ export namespace Prisma {
16174
16174
  name: string
16175
16175
  password?: string | null
16176
16176
  googleUser?: GoogleUserCreateNestedOneWithoutUserInput
16177
- achivements?: AchivementCreateNestedManyWithoutUserInput
16177
+ achievements?: AchievementCreateNestedManyWithoutUserInput
16178
16178
  purchases?: PurchaseCreateNestedManyWithoutUserInput
16179
16179
  packs?: PackCreateNestedManyWithoutUsersInput
16180
16180
  userCards?: UserCardCreateNestedManyWithoutUserInput
@@ -16188,7 +16188,7 @@ export namespace Prisma {
16188
16188
  name: string
16189
16189
  password?: string | null
16190
16190
  googleUser?: GoogleUserUncheckedCreateNestedOneWithoutUserInput
16191
- achivements?: AchivementUncheckedCreateNestedManyWithoutUserInput
16191
+ achievements?: AchievementUncheckedCreateNestedManyWithoutUserInput
16192
16192
  purchases?: PurchaseUncheckedCreateNestedManyWithoutUserInput
16193
16193
  packs?: PackUncheckedCreateNestedManyWithoutUsersInput
16194
16194
  userCards?: UserCardUncheckedCreateNestedManyWithoutUserInput
@@ -16299,7 +16299,7 @@ export namespace Prisma {
16299
16299
  email: string
16300
16300
  name: string
16301
16301
  password?: string | null
16302
- achivements?: AchivementCreateNestedManyWithoutUserInput
16302
+ achievements?: AchievementCreateNestedManyWithoutUserInput
16303
16303
  purchases?: PurchaseCreateNestedManyWithoutUserInput
16304
16304
  packs?: PackCreateNestedManyWithoutUsersInput
16305
16305
  userCards?: UserCardCreateNestedManyWithoutUserInput
@@ -16313,7 +16313,7 @@ export namespace Prisma {
16313
16313
  email: string
16314
16314
  name: string
16315
16315
  password?: string | null
16316
- achivements?: AchivementUncheckedCreateNestedManyWithoutUserInput
16316
+ achievements?: AchievementUncheckedCreateNestedManyWithoutUserInput
16317
16317
  purchases?: PurchaseUncheckedCreateNestedManyWithoutUserInput
16318
16318
  packs?: PackUncheckedCreateNestedManyWithoutUsersInput
16319
16319
  userCards?: UserCardUncheckedCreateNestedManyWithoutUserInput
@@ -16337,7 +16337,7 @@ export namespace Prisma {
16337
16337
  email?: StringFieldUpdateOperationsInput | string
16338
16338
  name?: StringFieldUpdateOperationsInput | string
16339
16339
  password?: NullableStringFieldUpdateOperationsInput | string | null
16340
- achivements?: AchivementUpdateManyWithoutUserNestedInput
16340
+ achievements?: AchievementUpdateManyWithoutUserNestedInput
16341
16341
  purchases?: PurchaseUpdateManyWithoutUserNestedInput
16342
16342
  packs?: PackUpdateManyWithoutUsersNestedInput
16343
16343
  userCards?: UserCardUpdateManyWithoutUserNestedInput
@@ -16351,7 +16351,7 @@ export namespace Prisma {
16351
16351
  email?: StringFieldUpdateOperationsInput | string
16352
16352
  name?: StringFieldUpdateOperationsInput | string
16353
16353
  password?: NullableStringFieldUpdateOperationsInput | string | null
16354
- achivements?: AchivementUncheckedUpdateManyWithoutUserNestedInput
16354
+ achievements?: AchievementUncheckedUpdateManyWithoutUserNestedInput
16355
16355
  purchases?: PurchaseUncheckedUpdateManyWithoutUserNestedInput
16356
16356
  packs?: PackUncheckedUpdateManyWithoutUsersNestedInput
16357
16357
  userCards?: UserCardUncheckedUpdateManyWithoutUserNestedInput
@@ -16366,7 +16366,7 @@ export namespace Prisma {
16366
16366
  name: string
16367
16367
  password?: string | null
16368
16368
  googleUser?: GoogleUserCreateNestedOneWithoutUserInput
16369
- achivements?: AchivementCreateNestedManyWithoutUserInput
16369
+ achievements?: AchievementCreateNestedManyWithoutUserInput
16370
16370
  purchases?: PurchaseCreateNestedManyWithoutUserInput
16371
16371
  packs?: PackCreateNestedManyWithoutUsersInput
16372
16372
  userCards?: UserCardCreateNestedManyWithoutUserInput
@@ -16380,7 +16380,7 @@ export namespace Prisma {
16380
16380
  name: string
16381
16381
  password?: string | null
16382
16382
  googleUser?: GoogleUserUncheckedCreateNestedOneWithoutUserInput
16383
- achivements?: AchivementUncheckedCreateNestedManyWithoutUserInput
16383
+ achievements?: AchievementUncheckedCreateNestedManyWithoutUserInput
16384
16384
  purchases?: PurchaseUncheckedCreateNestedManyWithoutUserInput
16385
16385
  packs?: PackUncheckedCreateNestedManyWithoutUsersInput
16386
16386
  userCards?: UserCardUncheckedCreateNestedManyWithoutUserInput
@@ -16429,7 +16429,7 @@ export namespace Prisma {
16429
16429
  name?: StringFieldUpdateOperationsInput | string
16430
16430
  password?: NullableStringFieldUpdateOperationsInput | string | null
16431
16431
  googleUser?: GoogleUserUpdateOneWithoutUserNestedInput
16432
- achivements?: AchivementUpdateManyWithoutUserNestedInput
16432
+ achievements?: AchievementUpdateManyWithoutUserNestedInput
16433
16433
  purchases?: PurchaseUpdateManyWithoutUserNestedInput
16434
16434
  packs?: PackUpdateManyWithoutUsersNestedInput
16435
16435
  userCards?: UserCardUpdateManyWithoutUserNestedInput
@@ -16443,7 +16443,7 @@ export namespace Prisma {
16443
16443
  name?: StringFieldUpdateOperationsInput | string
16444
16444
  password?: NullableStringFieldUpdateOperationsInput | string | null
16445
16445
  googleUser?: GoogleUserUncheckedUpdateOneWithoutUserNestedInput
16446
- achivements?: AchivementUncheckedUpdateManyWithoutUserNestedInput
16446
+ achievements?: AchievementUncheckedUpdateManyWithoutUserNestedInput
16447
16447
  purchases?: PurchaseUncheckedUpdateManyWithoutUserNestedInput
16448
16448
  packs?: PackUncheckedUpdateManyWithoutUsersNestedInput
16449
16449
  userCards?: UserCardUncheckedUpdateManyWithoutUserNestedInput
@@ -16482,7 +16482,7 @@ export namespace Prisma {
16482
16482
  name: string
16483
16483
  password?: string | null
16484
16484
  googleUser?: GoogleUserCreateNestedOneWithoutUserInput
16485
- achivements?: AchivementCreateNestedManyWithoutUserInput
16485
+ achievements?: AchievementCreateNestedManyWithoutUserInput
16486
16486
  packs?: PackCreateNestedManyWithoutUsersInput
16487
16487
  userCards?: UserCardCreateNestedManyWithoutUserInput
16488
16488
  answers?: AnswerCreateNestedManyWithoutUserInput
@@ -16496,7 +16496,7 @@ export namespace Prisma {
16496
16496
  name: string
16497
16497
  password?: string | null
16498
16498
  googleUser?: GoogleUserUncheckedCreateNestedOneWithoutUserInput
16499
- achivements?: AchivementUncheckedCreateNestedManyWithoutUserInput
16499
+ achievements?: AchievementUncheckedCreateNestedManyWithoutUserInput
16500
16500
  packs?: PackUncheckedCreateNestedManyWithoutUsersInput
16501
16501
  userCards?: UserCardUncheckedCreateNestedManyWithoutUserInput
16502
16502
  answers?: AnswerUncheckedCreateNestedManyWithoutUserInput
@@ -16555,7 +16555,7 @@ export namespace Prisma {
16555
16555
  name?: StringFieldUpdateOperationsInput | string
16556
16556
  password?: NullableStringFieldUpdateOperationsInput | string | null
16557
16557
  googleUser?: GoogleUserUpdateOneWithoutUserNestedInput
16558
- achivements?: AchivementUpdateManyWithoutUserNestedInput
16558
+ achievements?: AchievementUpdateManyWithoutUserNestedInput
16559
16559
  packs?: PackUpdateManyWithoutUsersNestedInput
16560
16560
  userCards?: UserCardUpdateManyWithoutUserNestedInput
16561
16561
  answers?: AnswerUpdateManyWithoutUserNestedInput
@@ -16569,7 +16569,7 @@ export namespace Prisma {
16569
16569
  name?: StringFieldUpdateOperationsInput | string
16570
16570
  password?: NullableStringFieldUpdateOperationsInput | string | null
16571
16571
  googleUser?: GoogleUserUncheckedUpdateOneWithoutUserNestedInput
16572
- achivements?: AchivementUncheckedUpdateManyWithoutUserNestedInput
16572
+ achievements?: AchievementUncheckedUpdateManyWithoutUserNestedInput
16573
16573
  packs?: PackUncheckedUpdateManyWithoutUsersNestedInput
16574
16574
  userCards?: UserCardUncheckedUpdateManyWithoutUserNestedInput
16575
16575
  answers?: AnswerUncheckedUpdateManyWithoutUserNestedInput
@@ -16772,7 +16772,7 @@ export namespace Prisma {
16772
16772
  name?: StringFieldUpdateOperationsInput | string
16773
16773
  password?: NullableStringFieldUpdateOperationsInput | string | null
16774
16774
  googleUser?: GoogleUserUpdateOneWithoutUserNestedInput
16775
- achivements?: AchivementUpdateManyWithoutUserNestedInput
16775
+ achievements?: AchievementUpdateManyWithoutUserNestedInput
16776
16776
  purchases?: PurchaseUpdateManyWithoutUserNestedInput
16777
16777
  userCards?: UserCardUpdateManyWithoutUserNestedInput
16778
16778
  answers?: AnswerUpdateManyWithoutUserNestedInput
@@ -16786,7 +16786,7 @@ export namespace Prisma {
16786
16786
  name?: StringFieldUpdateOperationsInput | string
16787
16787
  password?: NullableStringFieldUpdateOperationsInput | string | null
16788
16788
  googleUser?: GoogleUserUncheckedUpdateOneWithoutUserNestedInput
16789
- achivements?: AchivementUncheckedUpdateManyWithoutUserNestedInput
16789
+ achievements?: AchievementUncheckedUpdateManyWithoutUserNestedInput
16790
16790
  purchases?: PurchaseUncheckedUpdateManyWithoutUserNestedInput
16791
16791
  userCards?: UserCardUncheckedUpdateManyWithoutUserNestedInput
16792
16792
  answers?: AnswerUncheckedUpdateManyWithoutUserNestedInput
@@ -16859,10 +16859,10 @@ export namespace Prisma {
16859
16859
  subscriptionExpire?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
16860
16860
  }
16861
16861
 
16862
- export type AchivementCreateManyUserInput = {
16862
+ export type AchievementCreateManyUserInput = {
16863
16863
  id?: string
16864
16864
  badge: boolean
16865
- type: AchivementType
16865
+ type: AchievementType
16866
16866
  info: string
16867
16867
  timestamp: Date | string
16868
16868
  dismissed?: boolean
@@ -16892,28 +16892,28 @@ export namespace Prisma {
16892
16892
  timestamp: Date | string
16893
16893
  }
16894
16894
 
16895
- export type AchivementUpdateWithoutUserInput = {
16895
+ export type AchievementUpdateWithoutUserInput = {
16896
16896
  id?: StringFieldUpdateOperationsInput | string
16897
16897
  badge?: BoolFieldUpdateOperationsInput | boolean
16898
- type?: EnumAchivementTypeFieldUpdateOperationsInput | AchivementType
16898
+ type?: EnumAchievementTypeFieldUpdateOperationsInput | AchievementType
16899
16899
  info?: StringFieldUpdateOperationsInput | string
16900
16900
  timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
16901
16901
  dismissed?: BoolFieldUpdateOperationsInput | boolean
16902
16902
  }
16903
16903
 
16904
- export type AchivementUncheckedUpdateWithoutUserInput = {
16904
+ export type AchievementUncheckedUpdateWithoutUserInput = {
16905
16905
  id?: StringFieldUpdateOperationsInput | string
16906
16906
  badge?: BoolFieldUpdateOperationsInput | boolean
16907
- type?: EnumAchivementTypeFieldUpdateOperationsInput | AchivementType
16907
+ type?: EnumAchievementTypeFieldUpdateOperationsInput | AchievementType
16908
16908
  info?: StringFieldUpdateOperationsInput | string
16909
16909
  timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
16910
16910
  dismissed?: BoolFieldUpdateOperationsInput | boolean
16911
16911
  }
16912
16912
 
16913
- export type AchivementUncheckedUpdateManyWithoutAchivementsInput = {
16913
+ export type AchievementUncheckedUpdateManyWithoutAchievementsInput = {
16914
16914
  id?: StringFieldUpdateOperationsInput | string
16915
16915
  badge?: BoolFieldUpdateOperationsInput | boolean
16916
- type?: EnumAchivementTypeFieldUpdateOperationsInput | AchivementType
16916
+ type?: EnumAchievementTypeFieldUpdateOperationsInput | AchievementType
16917
16917
  info?: StringFieldUpdateOperationsInput | string
16918
16918
  timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
16919
16919
  dismissed?: BoolFieldUpdateOperationsInput | boolean
@@ -17053,7 +17053,7 @@ export namespace Prisma {
17053
17053
  name?: StringFieldUpdateOperationsInput | string
17054
17054
  password?: NullableStringFieldUpdateOperationsInput | string | null
17055
17055
  googleUser?: GoogleUserUpdateOneWithoutUserNestedInput
17056
- achivements?: AchivementUpdateManyWithoutUserNestedInput
17056
+ achievements?: AchievementUpdateManyWithoutUserNestedInput
17057
17057
  purchases?: PurchaseUpdateManyWithoutUserNestedInput
17058
17058
  packs?: PackUpdateManyWithoutUsersNestedInput
17059
17059
  userCards?: UserCardUpdateManyWithoutUserNestedInput
@@ -17067,7 +17067,7 @@ export namespace Prisma {
17067
17067
  name?: StringFieldUpdateOperationsInput | string
17068
17068
  password?: NullableStringFieldUpdateOperationsInput | string | null
17069
17069
  googleUser?: GoogleUserUncheckedUpdateOneWithoutUserNestedInput
17070
- achivements?: AchivementUncheckedUpdateManyWithoutUserNestedInput
17070
+ achievements?: AchievementUncheckedUpdateManyWithoutUserNestedInput
17071
17071
  purchases?: PurchaseUncheckedUpdateManyWithoutUserNestedInput
17072
17072
  packs?: PackUncheckedUpdateManyWithoutUsersNestedInput
17073
17073
  userCards?: UserCardUncheckedUpdateManyWithoutUserNestedInput