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
|
|
79
|
+
* Model Achievement
|
|
80
80
|
*
|
|
81
81
|
*/
|
|
82
|
-
export type
|
|
82
|
+
export type Achievement = {
|
|
83
83
|
id: string
|
|
84
84
|
userId: string
|
|
85
85
|
badge: boolean
|
|
86
|
-
type:
|
|
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
|
|
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
|
|
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.
|
|
370
|
+
* `prisma.achievement`: Exposes CRUD operations for the **Achievement** model.
|
|
371
371
|
* Example usage:
|
|
372
372
|
* ```ts
|
|
373
|
-
* // Fetch zero or more
|
|
374
|
-
* const
|
|
373
|
+
* // Fetch zero or more Achievements
|
|
374
|
+
* const achievements = await prisma.achievement.findMany()
|
|
375
375
|
* ```
|
|
376
376
|
*/
|
|
377
|
-
get
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 '
|
|
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 '
|
|
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
|
-
|
|
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
|
|
6204
|
+
* Model Achievement
|
|
6205
6205
|
*/
|
|
6206
6206
|
|
|
6207
6207
|
|
|
6208
|
-
export type
|
|
6209
|
-
_count:
|
|
6210
|
-
_min:
|
|
6211
|
-
_max:
|
|
6208
|
+
export type AggregateAchievement = {
|
|
6209
|
+
_count: AchievementCountAggregateOutputType | null
|
|
6210
|
+
_min: AchievementMinAggregateOutputType | null
|
|
6211
|
+
_max: AchievementMaxAggregateOutputType | null
|
|
6212
6212
|
}
|
|
6213
6213
|
|
|
6214
|
-
export type
|
|
6214
|
+
export type AchievementMinAggregateOutputType = {
|
|
6215
6215
|
id: string | null
|
|
6216
6216
|
userId: string | null
|
|
6217
6217
|
badge: boolean | null
|
|
6218
|
-
type:
|
|
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
|
|
6224
|
+
export type AchievementMaxAggregateOutputType = {
|
|
6225
6225
|
id: string | null
|
|
6226
6226
|
userId: string | null
|
|
6227
6227
|
badge: boolean | null
|
|
6228
|
-
type:
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
6277
|
+
export type AchievementAggregateArgs = {
|
|
6278
6278
|
/**
|
|
6279
|
-
* Filter which
|
|
6279
|
+
* Filter which Achievement to aggregate.
|
|
6280
6280
|
*
|
|
6281
6281
|
**/
|
|
6282
|
-
where?:
|
|
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
|
|
6286
|
+
* Determine the order of Achievements to fetch.
|
|
6287
6287
|
*
|
|
6288
6288
|
**/
|
|
6289
|
-
orderBy?: Enumerable<
|
|
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?:
|
|
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`
|
|
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`
|
|
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
|
|
6314
|
+
* Count returned Achievements
|
|
6315
6315
|
**/
|
|
6316
|
-
_count?: true |
|
|
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?:
|
|
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?:
|
|
6328
|
+
_max?: AchievementMaxAggregateInputType
|
|
6329
6329
|
}
|
|
6330
6330
|
|
|
6331
|
-
export type
|
|
6332
|
-
[P in keyof T & keyof
|
|
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],
|
|
6336
|
-
: GetScalarType<T[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
|
|
6343
|
-
where?:
|
|
6344
|
-
orderBy?: Enumerable<
|
|
6345
|
-
by: Array<
|
|
6346
|
-
having?:
|
|
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?:
|
|
6350
|
-
_min?:
|
|
6351
|
-
_max?:
|
|
6349
|
+
_count?: AchievementCountAggregateInputType | true
|
|
6350
|
+
_min?: AchievementMinAggregateInputType
|
|
6351
|
+
_max?: AchievementMaxAggregateInputType
|
|
6352
6352
|
}
|
|
6353
6353
|
|
|
6354
6354
|
|
|
6355
|
-
export type
|
|
6355
|
+
export type AchievementGroupByOutputType = {
|
|
6356
6356
|
id: string
|
|
6357
6357
|
userId: string
|
|
6358
6358
|
badge: boolean
|
|
6359
|
-
type:
|
|
6359
|
+
type: AchievementType
|
|
6360
6360
|
info: string
|
|
6361
6361
|
timestamp: Date
|
|
6362
6362
|
dismissed: boolean
|
|
6363
|
-
_count:
|
|
6364
|
-
_min:
|
|
6365
|
-
_max:
|
|
6363
|
+
_count: AchievementCountAggregateOutputType | null
|
|
6364
|
+
_min: AchievementMinAggregateOutputType | null
|
|
6365
|
+
_max: AchievementMaxAggregateOutputType | null
|
|
6366
6366
|
}
|
|
6367
6367
|
|
|
6368
|
-
type
|
|
6368
|
+
type GetAchievementGroupByPayload<T extends AchievementGroupByArgs> = PrismaPromise<
|
|
6369
6369
|
Array<
|
|
6370
|
-
PickArray<
|
|
6370
|
+
PickArray<AchievementGroupByOutputType, T['by']> &
|
|
6371
6371
|
{
|
|
6372
|
-
[P in ((keyof T) & (keyof
|
|
6372
|
+
[P in ((keyof T) & (keyof AchievementGroupByOutputType))]: P extends '_count'
|
|
6373
6373
|
? T[P] extends boolean
|
|
6374
6374
|
? number
|
|
6375
|
-
: GetScalarType<T[P],
|
|
6376
|
-
: GetScalarType<T[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
|
|
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
|
|
6393
|
+
export type AchievementInclude = {
|
|
6394
6394
|
user?: boolean | UserArgs
|
|
6395
6395
|
}
|
|
6396
6396
|
|
|
6397
|
-
export type
|
|
6398
|
-
S extends boolean | null | undefined |
|
|
6397
|
+
export type AchievementGetPayload<
|
|
6398
|
+
S extends boolean | null | undefined | AchievementArgs,
|
|
6399
6399
|
U = keyof S
|
|
6400
6400
|
> = S extends true
|
|
6401
|
-
?
|
|
6401
|
+
? Achievement
|
|
6402
6402
|
: S extends undefined
|
|
6403
6403
|
? never
|
|
6404
|
-
: S extends
|
|
6404
|
+
: S extends AchievementArgs | AchievementFindManyArgs
|
|
6405
6405
|
?'include' extends U
|
|
6406
|
-
?
|
|
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
|
|
6413
|
+
P extends 'user' ? UserGetPayload<Exclude<S['select'], undefined | null>[P]> : P extends keyof Achievement ? Achievement[P] : never
|
|
6414
6414
|
}
|
|
6415
|
-
:
|
|
6416
|
-
:
|
|
6415
|
+
: Achievement
|
|
6416
|
+
: Achievement
|
|
6417
6417
|
|
|
6418
6418
|
|
|
6419
|
-
type
|
|
6420
|
-
Omit<
|
|
6421
|
-
select?:
|
|
6419
|
+
type AchievementCountArgs = Merge<
|
|
6420
|
+
Omit<AchievementFindManyArgs, 'select' | 'include'> & {
|
|
6421
|
+
select?: AchievementCountAggregateInputType | true
|
|
6422
6422
|
}
|
|
6423
6423
|
>
|
|
6424
6424
|
|
|
6425
|
-
export interface
|
|
6425
|
+
export interface AchievementDelegate<GlobalRejectSettings extends Prisma.RejectOnNotFound | Prisma.RejectPerOperation | false | undefined> {
|
|
6426
6426
|
/**
|
|
6427
|
-
* Find zero or one
|
|
6428
|
-
* @param {
|
|
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
|
|
6431
|
-
* const
|
|
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
|
|
6438
|
-
args: SelectSubset<T,
|
|
6439
|
-
): HasReject<GlobalRejectSettings, LocalRejectSettings, 'findUnique', '
|
|
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
|
|
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 {
|
|
6445
|
+
* @param {AchievementFindFirstArgs} args - Arguments to find a Achievement
|
|
6446
6446
|
* @example
|
|
6447
|
-
* // Get one
|
|
6448
|
-
* const
|
|
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
|
|
6455
|
-
args?: SelectSubset<T,
|
|
6456
|
-
): HasReject<GlobalRejectSettings, LocalRejectSettings, 'findFirst', '
|
|
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
|
|
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 {
|
|
6462
|
+
* @param {AchievementFindManyArgs=} args - Arguments to filter and select certain fields only.
|
|
6463
6463
|
* @example
|
|
6464
|
-
* // Get all
|
|
6465
|
-
* const
|
|
6464
|
+
* // Get all Achievements
|
|
6465
|
+
* const achievements = await prisma.achievement.findMany()
|
|
6466
6466
|
*
|
|
6467
|
-
* // Get first 10
|
|
6468
|
-
* const
|
|
6467
|
+
* // Get first 10 Achievements
|
|
6468
|
+
* const achievements = await prisma.achievement.findMany({ take: 10 })
|
|
6469
6469
|
*
|
|
6470
6470
|
* // Only select the `id`
|
|
6471
|
-
* const
|
|
6471
|
+
* const achievementWithIdOnly = await prisma.achievement.findMany({ select: { id: true } })
|
|
6472
6472
|
*
|
|
6473
6473
|
**/
|
|
6474
|
-
findMany<T extends
|
|
6475
|
-
args?: SelectSubset<T,
|
|
6476
|
-
): CheckSelect<T, PrismaPromise<Array<
|
|
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
|
|
6480
|
-
* @param {
|
|
6479
|
+
* Create a Achievement.
|
|
6480
|
+
* @param {AchievementCreateArgs} args - Arguments to create a Achievement.
|
|
6481
6481
|
* @example
|
|
6482
|
-
* // Create one
|
|
6483
|
-
* const
|
|
6482
|
+
* // Create one Achievement
|
|
6483
|
+
* const Achievement = await prisma.achievement.create({
|
|
6484
6484
|
* data: {
|
|
6485
|
-
* // ... data to create a
|
|
6485
|
+
* // ... data to create a Achievement
|
|
6486
6486
|
* }
|
|
6487
6487
|
* })
|
|
6488
6488
|
*
|
|
6489
6489
|
**/
|
|
6490
|
-
create<T extends
|
|
6491
|
-
args: SelectSubset<T,
|
|
6492
|
-
): CheckSelect<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
|
|
6496
|
-
* @param {
|
|
6495
|
+
* Create many Achievements.
|
|
6496
|
+
* @param {AchievementCreateManyArgs} args - Arguments to create many Achievements.
|
|
6497
6497
|
* @example
|
|
6498
|
-
* // Create many
|
|
6499
|
-
* const
|
|
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
|
|
6507
|
-
args?: SelectSubset<T,
|
|
6506
|
+
createMany<T extends AchievementCreateManyArgs>(
|
|
6507
|
+
args?: SelectSubset<T, AchievementCreateManyArgs>
|
|
6508
6508
|
): PrismaPromise<BatchPayload>
|
|
6509
6509
|
|
|
6510
6510
|
/**
|
|
6511
|
-
* Delete a
|
|
6512
|
-
* @param {
|
|
6511
|
+
* Delete a Achievement.
|
|
6512
|
+
* @param {AchievementDeleteArgs} args - Arguments to delete one Achievement.
|
|
6513
6513
|
* @example
|
|
6514
|
-
* // Delete one
|
|
6515
|
-
* const
|
|
6514
|
+
* // Delete one Achievement
|
|
6515
|
+
* const Achievement = await prisma.achievement.delete({
|
|
6516
6516
|
* where: {
|
|
6517
|
-
* // ... filter to delete one
|
|
6517
|
+
* // ... filter to delete one Achievement
|
|
6518
6518
|
* }
|
|
6519
6519
|
* })
|
|
6520
6520
|
*
|
|
6521
6521
|
**/
|
|
6522
|
-
delete<T extends
|
|
6523
|
-
args: SelectSubset<T,
|
|
6524
|
-
): CheckSelect<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
|
|
6528
|
-
* @param {
|
|
6527
|
+
* Update one Achievement.
|
|
6528
|
+
* @param {AchievementUpdateArgs} args - Arguments to update one Achievement.
|
|
6529
6529
|
* @example
|
|
6530
|
-
* // Update one
|
|
6531
|
-
* const
|
|
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
|
|
6542
|
-
args: SelectSubset<T,
|
|
6543
|
-
): CheckSelect<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
|
|
6547
|
-
* @param {
|
|
6546
|
+
* Delete zero or more Achievements.
|
|
6547
|
+
* @param {AchievementDeleteManyArgs} args - Arguments to filter Achievements to delete.
|
|
6548
6548
|
* @example
|
|
6549
|
-
* // Delete a few
|
|
6550
|
-
* const { count } = await prisma.
|
|
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
|
|
6558
|
-
args?: SelectSubset<T,
|
|
6557
|
+
deleteMany<T extends AchievementDeleteManyArgs>(
|
|
6558
|
+
args?: SelectSubset<T, AchievementDeleteManyArgs>
|
|
6559
6559
|
): PrismaPromise<BatchPayload>
|
|
6560
6560
|
|
|
6561
6561
|
/**
|
|
6562
|
-
* Update zero or more
|
|
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 {
|
|
6565
|
+
* @param {AchievementUpdateManyArgs} args - Arguments to update one or more rows.
|
|
6566
6566
|
* @example
|
|
6567
|
-
* // Update many
|
|
6568
|
-
* const
|
|
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
|
|
6579
|
-
args: SelectSubset<T,
|
|
6578
|
+
updateMany<T extends AchievementUpdateManyArgs>(
|
|
6579
|
+
args: SelectSubset<T, AchievementUpdateManyArgs>
|
|
6580
6580
|
): PrismaPromise<BatchPayload>
|
|
6581
6581
|
|
|
6582
6582
|
/**
|
|
6583
|
-
* Create or update one
|
|
6584
|
-
* @param {
|
|
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
|
|
6587
|
-
* const
|
|
6586
|
+
* // Update or create a Achievement
|
|
6587
|
+
* const achievement = await prisma.achievement.upsert({
|
|
6588
6588
|
* create: {
|
|
6589
|
-
* // ... data to create a
|
|
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
|
|
6595
|
+
* // ... the filter for the Achievement we want to update
|
|
6596
6596
|
* }
|
|
6597
6597
|
* })
|
|
6598
6598
|
**/
|
|
6599
|
-
upsert<T extends
|
|
6600
|
-
args: SelectSubset<T,
|
|
6601
|
-
): CheckSelect<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
|
|
6604
|
+
* Find one Achievement that matches the filter or throw
|
|
6605
6605
|
* `NotFoundError` if no matches were found.
|
|
6606
|
-
* @param {
|
|
6606
|
+
* @param {AchievementFindUniqueOrThrowArgs} args - Arguments to find a Achievement
|
|
6607
6607
|
* @example
|
|
6608
|
-
* // Get one
|
|
6609
|
-
* const
|
|
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
|
|
6616
|
-
args?: SelectSubset<T,
|
|
6617
|
-
): CheckSelect<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
|
|
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 {
|
|
6624
|
+
* @param {AchievementFindFirstOrThrowArgs} args - Arguments to find a Achievement
|
|
6625
6625
|
* @example
|
|
6626
|
-
* // Get one
|
|
6627
|
-
* const
|
|
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
|
|
6634
|
-
args?: SelectSubset<T,
|
|
6635
|
-
): CheckSelect<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
|
|
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 {
|
|
6641
|
+
* @param {AchievementCountArgs} args - Arguments to filter Achievements to count.
|
|
6642
6642
|
* @example
|
|
6643
|
-
* // Count the number of
|
|
6644
|
-
* const count = await prisma.
|
|
6643
|
+
* // Count the number of Achievements
|
|
6644
|
+
* const count = await prisma.achievement.count({
|
|
6645
6645
|
* where: {
|
|
6646
|
-
* // ... the filter for the
|
|
6646
|
+
* // ... the filter for the Achievements we want to count
|
|
6647
6647
|
* }
|
|
6648
6648
|
* })
|
|
6649
6649
|
**/
|
|
6650
|
-
count<T extends
|
|
6651
|
-
args?: Subset<T,
|
|
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'],
|
|
6656
|
+
: GetScalarType<T['select'], AchievementCountAggregateOutputType>
|
|
6657
6657
|
: number
|
|
6658
6658
|
>
|
|
6659
6659
|
|
|
6660
6660
|
/**
|
|
6661
|
-
* Allows you to perform aggregations operations on a
|
|
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 {
|
|
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
|
|
6684
|
+
aggregate<T extends AchievementAggregateArgs>(args: Subset<T, AchievementAggregateArgs>): PrismaPromise<GetAchievementAggregateType<T>>
|
|
6685
6685
|
|
|
6686
6686
|
/**
|
|
6687
|
-
* Group by
|
|
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 {
|
|
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
|
|
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:
|
|
6712
|
-
: { 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,
|
|
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
|
|
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
|
|
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
|
-
*
|
|
6818
|
+
* Achievement base type for findUnique actions
|
|
6819
6819
|
*/
|
|
6820
|
-
export type
|
|
6820
|
+
export type AchievementFindUniqueArgsBase = {
|
|
6821
6821
|
/**
|
|
6822
|
-
* Select specific fields to fetch from the
|
|
6822
|
+
* Select specific fields to fetch from the Achievement
|
|
6823
6823
|
*
|
|
6824
6824
|
**/
|
|
6825
|
-
select?:
|
|
6825
|
+
select?: AchievementSelect | null
|
|
6826
6826
|
/**
|
|
6827
6827
|
* Choose, which related nodes to fetch as well.
|
|
6828
6828
|
*
|
|
6829
6829
|
**/
|
|
6830
|
-
include?:
|
|
6830
|
+
include?: AchievementInclude | null
|
|
6831
6831
|
/**
|
|
6832
|
-
* Filter, which
|
|
6832
|
+
* Filter, which Achievement to fetch.
|
|
6833
6833
|
*
|
|
6834
6834
|
**/
|
|
6835
|
-
where:
|
|
6835
|
+
where: AchievementWhereUniqueInput
|
|
6836
6836
|
}
|
|
6837
6837
|
|
|
6838
6838
|
/**
|
|
6839
|
-
*
|
|
6839
|
+
* Achievement: findUnique
|
|
6840
6840
|
*/
|
|
6841
|
-
export interface
|
|
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
|
-
*
|
|
6851
|
+
* Achievement base type for findFirst actions
|
|
6852
6852
|
*/
|
|
6853
|
-
export type
|
|
6853
|
+
export type AchievementFindFirstArgsBase = {
|
|
6854
6854
|
/**
|
|
6855
|
-
* Select specific fields to fetch from the
|
|
6855
|
+
* Select specific fields to fetch from the Achievement
|
|
6856
6856
|
*
|
|
6857
6857
|
**/
|
|
6858
|
-
select?:
|
|
6858
|
+
select?: AchievementSelect | null
|
|
6859
6859
|
/**
|
|
6860
6860
|
* Choose, which related nodes to fetch as well.
|
|
6861
6861
|
*
|
|
6862
6862
|
**/
|
|
6863
|
-
include?:
|
|
6863
|
+
include?: AchievementInclude | null
|
|
6864
6864
|
/**
|
|
6865
|
-
* Filter, which
|
|
6865
|
+
* Filter, which Achievement to fetch.
|
|
6866
6866
|
*
|
|
6867
6867
|
**/
|
|
6868
|
-
where?:
|
|
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
|
|
6872
|
+
* Determine the order of Achievements to fetch.
|
|
6873
6873
|
*
|
|
6874
6874
|
**/
|
|
6875
|
-
orderBy?: Enumerable<
|
|
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
|
|
6879
|
+
* Sets the position for searching for Achievements.
|
|
6880
6880
|
*
|
|
6881
6881
|
**/
|
|
6882
|
-
cursor?:
|
|
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`
|
|
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`
|
|
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
|
|
6900
|
+
* Filter by unique combinations of Achievements.
|
|
6901
6901
|
*
|
|
6902
6902
|
**/
|
|
6903
|
-
distinct?: Enumerable<
|
|
6903
|
+
distinct?: Enumerable<AchievementScalarFieldEnum>
|
|
6904
6904
|
}
|
|
6905
6905
|
|
|
6906
6906
|
/**
|
|
6907
|
-
*
|
|
6907
|
+
* Achievement: findFirst
|
|
6908
6908
|
*/
|
|
6909
|
-
export interface
|
|
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
|
-
*
|
|
6919
|
+
* Achievement findMany
|
|
6920
6920
|
*/
|
|
6921
|
-
export type
|
|
6921
|
+
export type AchievementFindManyArgs = {
|
|
6922
6922
|
/**
|
|
6923
|
-
* Select specific fields to fetch from the
|
|
6923
|
+
* Select specific fields to fetch from the Achievement
|
|
6924
6924
|
*
|
|
6925
6925
|
**/
|
|
6926
|
-
select?:
|
|
6926
|
+
select?: AchievementSelect | null
|
|
6927
6927
|
/**
|
|
6928
6928
|
* Choose, which related nodes to fetch as well.
|
|
6929
6929
|
*
|
|
6930
6930
|
**/
|
|
6931
|
-
include?:
|
|
6931
|
+
include?: AchievementInclude | null
|
|
6932
6932
|
/**
|
|
6933
|
-
* Filter, which
|
|
6933
|
+
* Filter, which Achievements to fetch.
|
|
6934
6934
|
*
|
|
6935
6935
|
**/
|
|
6936
|
-
where?:
|
|
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
|
|
6940
|
+
* Determine the order of Achievements to fetch.
|
|
6941
6941
|
*
|
|
6942
6942
|
**/
|
|
6943
|
-
orderBy?: Enumerable<
|
|
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
|
|
6947
|
+
* Sets the position for listing Achievements.
|
|
6948
6948
|
*
|
|
6949
6949
|
**/
|
|
6950
|
-
cursor?:
|
|
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`
|
|
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`
|
|
6961
|
+
* Skip the first `n` Achievements.
|
|
6962
6962
|
*
|
|
6963
6963
|
**/
|
|
6964
6964
|
skip?: number
|
|
6965
|
-
distinct?: Enumerable<
|
|
6965
|
+
distinct?: Enumerable<AchievementScalarFieldEnum>
|
|
6966
6966
|
}
|
|
6967
6967
|
|
|
6968
6968
|
|
|
6969
6969
|
/**
|
|
6970
|
-
*
|
|
6970
|
+
* Achievement create
|
|
6971
6971
|
*/
|
|
6972
|
-
export type
|
|
6972
|
+
export type AchievementCreateArgs = {
|
|
6973
6973
|
/**
|
|
6974
|
-
* Select specific fields to fetch from the
|
|
6974
|
+
* Select specific fields to fetch from the Achievement
|
|
6975
6975
|
*
|
|
6976
6976
|
**/
|
|
6977
|
-
select?:
|
|
6977
|
+
select?: AchievementSelect | null
|
|
6978
6978
|
/**
|
|
6979
6979
|
* Choose, which related nodes to fetch as well.
|
|
6980
6980
|
*
|
|
6981
6981
|
**/
|
|
6982
|
-
include?:
|
|
6982
|
+
include?: AchievementInclude | null
|
|
6983
6983
|
/**
|
|
6984
|
-
* The data needed to create a
|
|
6984
|
+
* The data needed to create a Achievement.
|
|
6985
6985
|
*
|
|
6986
6986
|
**/
|
|
6987
|
-
data: XOR<
|
|
6987
|
+
data: XOR<AchievementCreateInput, AchievementUncheckedCreateInput>
|
|
6988
6988
|
}
|
|
6989
6989
|
|
|
6990
6990
|
|
|
6991
6991
|
/**
|
|
6992
|
-
*
|
|
6992
|
+
* Achievement createMany
|
|
6993
6993
|
*/
|
|
6994
|
-
export type
|
|
6994
|
+
export type AchievementCreateManyArgs = {
|
|
6995
6995
|
/**
|
|
6996
|
-
* The data used to create many
|
|
6996
|
+
* The data used to create many Achievements.
|
|
6997
6997
|
*
|
|
6998
6998
|
**/
|
|
6999
|
-
data: Enumerable<
|
|
6999
|
+
data: Enumerable<AchievementCreateManyInput>
|
|
7000
7000
|
skipDuplicates?: boolean
|
|
7001
7001
|
}
|
|
7002
7002
|
|
|
7003
7003
|
|
|
7004
7004
|
/**
|
|
7005
|
-
*
|
|
7005
|
+
* Achievement update
|
|
7006
7006
|
*/
|
|
7007
|
-
export type
|
|
7007
|
+
export type AchievementUpdateArgs = {
|
|
7008
7008
|
/**
|
|
7009
|
-
* Select specific fields to fetch from the
|
|
7009
|
+
* Select specific fields to fetch from the Achievement
|
|
7010
7010
|
*
|
|
7011
7011
|
**/
|
|
7012
|
-
select?:
|
|
7012
|
+
select?: AchievementSelect | null
|
|
7013
7013
|
/**
|
|
7014
7014
|
* Choose, which related nodes to fetch as well.
|
|
7015
7015
|
*
|
|
7016
7016
|
**/
|
|
7017
|
-
include?:
|
|
7017
|
+
include?: AchievementInclude | null
|
|
7018
7018
|
/**
|
|
7019
|
-
* The data needed to update a
|
|
7019
|
+
* The data needed to update a Achievement.
|
|
7020
7020
|
*
|
|
7021
7021
|
**/
|
|
7022
|
-
data: XOR<
|
|
7022
|
+
data: XOR<AchievementUpdateInput, AchievementUncheckedUpdateInput>
|
|
7023
7023
|
/**
|
|
7024
|
-
* Choose, which
|
|
7024
|
+
* Choose, which Achievement to update.
|
|
7025
7025
|
*
|
|
7026
7026
|
**/
|
|
7027
|
-
where:
|
|
7027
|
+
where: AchievementWhereUniqueInput
|
|
7028
7028
|
}
|
|
7029
7029
|
|
|
7030
7030
|
|
|
7031
7031
|
/**
|
|
7032
|
-
*
|
|
7032
|
+
* Achievement updateMany
|
|
7033
7033
|
*/
|
|
7034
|
-
export type
|
|
7034
|
+
export type AchievementUpdateManyArgs = {
|
|
7035
7035
|
/**
|
|
7036
|
-
* The data used to update
|
|
7036
|
+
* The data used to update Achievements.
|
|
7037
7037
|
*
|
|
7038
7038
|
**/
|
|
7039
|
-
data: XOR<
|
|
7039
|
+
data: XOR<AchievementUpdateManyMutationInput, AchievementUncheckedUpdateManyInput>
|
|
7040
7040
|
/**
|
|
7041
|
-
* Filter which
|
|
7041
|
+
* Filter which Achievements to update
|
|
7042
7042
|
*
|
|
7043
7043
|
**/
|
|
7044
|
-
where?:
|
|
7044
|
+
where?: AchievementWhereInput
|
|
7045
7045
|
}
|
|
7046
7046
|
|
|
7047
7047
|
|
|
7048
7048
|
/**
|
|
7049
|
-
*
|
|
7049
|
+
* Achievement upsert
|
|
7050
7050
|
*/
|
|
7051
|
-
export type
|
|
7051
|
+
export type AchievementUpsertArgs = {
|
|
7052
7052
|
/**
|
|
7053
|
-
* Select specific fields to fetch from the
|
|
7053
|
+
* Select specific fields to fetch from the Achievement
|
|
7054
7054
|
*
|
|
7055
7055
|
**/
|
|
7056
|
-
select?:
|
|
7056
|
+
select?: AchievementSelect | null
|
|
7057
7057
|
/**
|
|
7058
7058
|
* Choose, which related nodes to fetch as well.
|
|
7059
7059
|
*
|
|
7060
7060
|
**/
|
|
7061
|
-
include?:
|
|
7061
|
+
include?: AchievementInclude | null
|
|
7062
7062
|
/**
|
|
7063
|
-
* The filter to search for the
|
|
7063
|
+
* The filter to search for the Achievement to update in case it exists.
|
|
7064
7064
|
*
|
|
7065
7065
|
**/
|
|
7066
|
-
where:
|
|
7066
|
+
where: AchievementWhereUniqueInput
|
|
7067
7067
|
/**
|
|
7068
|
-
* In case the
|
|
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<
|
|
7071
|
+
create: XOR<AchievementCreateInput, AchievementUncheckedCreateInput>
|
|
7072
7072
|
/**
|
|
7073
|
-
* In case the
|
|
7073
|
+
* In case the Achievement was found with the provided `where` argument, update it with this data.
|
|
7074
7074
|
*
|
|
7075
7075
|
**/
|
|
7076
|
-
update: XOR<
|
|
7076
|
+
update: XOR<AchievementUpdateInput, AchievementUncheckedUpdateInput>
|
|
7077
7077
|
}
|
|
7078
7078
|
|
|
7079
7079
|
|
|
7080
7080
|
/**
|
|
7081
|
-
*
|
|
7081
|
+
* Achievement delete
|
|
7082
7082
|
*/
|
|
7083
|
-
export type
|
|
7083
|
+
export type AchievementDeleteArgs = {
|
|
7084
7084
|
/**
|
|
7085
|
-
* Select specific fields to fetch from the
|
|
7085
|
+
* Select specific fields to fetch from the Achievement
|
|
7086
7086
|
*
|
|
7087
7087
|
**/
|
|
7088
|
-
select?:
|
|
7088
|
+
select?: AchievementSelect | null
|
|
7089
7089
|
/**
|
|
7090
7090
|
* Choose, which related nodes to fetch as well.
|
|
7091
7091
|
*
|
|
7092
7092
|
**/
|
|
7093
|
-
include?:
|
|
7093
|
+
include?: AchievementInclude | null
|
|
7094
7094
|
/**
|
|
7095
|
-
* Filter which
|
|
7095
|
+
* Filter which Achievement to delete.
|
|
7096
7096
|
*
|
|
7097
7097
|
**/
|
|
7098
|
-
where:
|
|
7098
|
+
where: AchievementWhereUniqueInput
|
|
7099
7099
|
}
|
|
7100
7100
|
|
|
7101
7101
|
|
|
7102
7102
|
/**
|
|
7103
|
-
*
|
|
7103
|
+
* Achievement deleteMany
|
|
7104
7104
|
*/
|
|
7105
|
-
export type
|
|
7105
|
+
export type AchievementDeleteManyArgs = {
|
|
7106
7106
|
/**
|
|
7107
|
-
* Filter which
|
|
7107
|
+
* Filter which Achievements to delete
|
|
7108
7108
|
*
|
|
7109
7109
|
**/
|
|
7110
|
-
where?:
|
|
7110
|
+
where?: AchievementWhereInput
|
|
7111
7111
|
}
|
|
7112
7112
|
|
|
7113
7113
|
|
|
7114
7114
|
/**
|
|
7115
|
-
*
|
|
7115
|
+
* Achievement: findUniqueOrThrow
|
|
7116
7116
|
*/
|
|
7117
|
-
export type
|
|
7117
|
+
export type AchievementFindUniqueOrThrowArgs = AchievementFindUniqueArgsBase
|
|
7118
7118
|
|
|
7119
7119
|
|
|
7120
7120
|
/**
|
|
7121
|
-
*
|
|
7121
|
+
* Achievement: findFirstOrThrow
|
|
7122
7122
|
*/
|
|
7123
|
-
export type
|
|
7123
|
+
export type AchievementFindFirstOrThrowArgs = AchievementFindFirstArgsBase
|
|
7124
7124
|
|
|
7125
7125
|
|
|
7126
7126
|
/**
|
|
7127
|
-
*
|
|
7127
|
+
* Achievement without action
|
|
7128
7128
|
*/
|
|
7129
|
-
export type
|
|
7129
|
+
export type AchievementArgs = {
|
|
7130
7130
|
/**
|
|
7131
|
-
* Select specific fields to fetch from the
|
|
7131
|
+
* Select specific fields to fetch from the Achievement
|
|
7132
7132
|
*
|
|
7133
7133
|
**/
|
|
7134
|
-
select?:
|
|
7134
|
+
select?: AchievementSelect | null
|
|
7135
7135
|
/**
|
|
7136
7136
|
* Choose, which related nodes to fetch as well.
|
|
7137
7137
|
*
|
|
7138
7138
|
**/
|
|
7139
|
-
include?:
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
12301
|
-
AND?: Enumerable<
|
|
12302
|
-
OR?: Enumerable<
|
|
12303
|
-
NOT?: Enumerable<
|
|
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?:
|
|
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
|
|
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
|
|
12325
|
+
export type AchievementWhereUniqueInput = {
|
|
12326
12326
|
id?: string
|
|
12327
12327
|
}
|
|
12328
12328
|
|
|
12329
|
-
export type
|
|
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?:
|
|
12338
|
-
_max?:
|
|
12339
|
-
_min?:
|
|
12337
|
+
_count?: AchievementCountOrderByAggregateInput
|
|
12338
|
+
_max?: AchievementMaxOrderByAggregateInput
|
|
12339
|
+
_min?: AchievementMinOrderByAggregateInput
|
|
12340
12340
|
}
|
|
12341
12341
|
|
|
12342
|
-
export type
|
|
12343
|
-
AND?: Enumerable<
|
|
12344
|
-
OR?: Enumerable<
|
|
12345
|
-
NOT?: Enumerable<
|
|
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?:
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
12945
|
+
export type AchievementCreateInput = {
|
|
12946
12946
|
id?: string
|
|
12947
|
-
user:
|
|
12947
|
+
user: UserCreateNestedOneWithoutAchievementsInput
|
|
12948
12948
|
badge: boolean
|
|
12949
|
-
type:
|
|
12949
|
+
type: AchievementType
|
|
12950
12950
|
info: string
|
|
12951
12951
|
timestamp: Date | string
|
|
12952
12952
|
dismissed?: boolean
|
|
12953
12953
|
}
|
|
12954
12954
|
|
|
12955
|
-
export type
|
|
12955
|
+
export type AchievementUncheckedCreateInput = {
|
|
12956
12956
|
id?: string
|
|
12957
12957
|
userId: string
|
|
12958
12958
|
badge: boolean
|
|
12959
|
-
type:
|
|
12959
|
+
type: AchievementType
|
|
12960
12960
|
info: string
|
|
12961
12961
|
timestamp: Date | string
|
|
12962
12962
|
dismissed?: boolean
|
|
12963
12963
|
}
|
|
12964
12964
|
|
|
12965
|
-
export type
|
|
12965
|
+
export type AchievementUpdateInput = {
|
|
12966
12966
|
id?: StringFieldUpdateOperationsInput | string
|
|
12967
|
-
user?:
|
|
12967
|
+
user?: UserUpdateOneRequiredWithoutAchievementsNestedInput
|
|
12968
12968
|
badge?: BoolFieldUpdateOperationsInput | boolean
|
|
12969
|
-
type?:
|
|
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
|
|
12975
|
+
export type AchievementUncheckedUpdateInput = {
|
|
12976
12976
|
id?: StringFieldUpdateOperationsInput | string
|
|
12977
12977
|
userId?: StringFieldUpdateOperationsInput | string
|
|
12978
12978
|
badge?: BoolFieldUpdateOperationsInput | boolean
|
|
12979
|
-
type?:
|
|
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
|
|
12985
|
+
export type AchievementCreateManyInput = {
|
|
12986
12986
|
id?: string
|
|
12987
12987
|
userId: string
|
|
12988
12988
|
badge: boolean
|
|
12989
|
-
type:
|
|
12989
|
+
type: AchievementType
|
|
12990
12990
|
info: string
|
|
12991
12991
|
timestamp: Date | string
|
|
12992
12992
|
dismissed?: boolean
|
|
12993
12993
|
}
|
|
12994
12994
|
|
|
12995
|
-
export type
|
|
12995
|
+
export type AchievementUpdateManyMutationInput = {
|
|
12996
12996
|
id?: StringFieldUpdateOperationsInput | string
|
|
12997
12997
|
badge?: BoolFieldUpdateOperationsInput | boolean
|
|
12998
|
-
type?:
|
|
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
|
|
13004
|
+
export type AchievementUncheckedUpdateManyInput = {
|
|
13005
13005
|
id?: StringFieldUpdateOperationsInput | string
|
|
13006
13006
|
userId?: StringFieldUpdateOperationsInput | string
|
|
13007
13007
|
badge?: BoolFieldUpdateOperationsInput | boolean
|
|
13008
|
-
type?:
|
|
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
|
|
13711
|
-
every?:
|
|
13712
|
-
some?:
|
|
13713
|
-
none?:
|
|
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
|
|
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
|
|
13753
|
-
equals?:
|
|
13754
|
-
in?: Enumerable<
|
|
13755
|
-
notIn?: Enumerable<
|
|
13756
|
-
not?:
|
|
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
|
|
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
|
|
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
|
|
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
|
|
13790
|
-
equals?:
|
|
13791
|
-
in?: Enumerable<
|
|
13792
|
-
notIn?: Enumerable<
|
|
13793
|
-
not?:
|
|
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?:
|
|
13796
|
-
_max?:
|
|
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
|
|
14377
|
-
create?: XOR<Enumerable<
|
|
14378
|
-
connectOrCreate?: Enumerable<
|
|
14379
|
-
createMany?:
|
|
14380
|
-
connect?: Enumerable<
|
|
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
|
|
14423
|
-
create?: XOR<Enumerable<
|
|
14424
|
-
connectOrCreate?: Enumerable<
|
|
14425
|
-
createMany?:
|
|
14426
|
-
connect?: Enumerable<
|
|
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
|
|
14467
|
-
create?: XOR<Enumerable<
|
|
14468
|
-
connectOrCreate?: Enumerable<
|
|
14469
|
-
upsert?: Enumerable<
|
|
14470
|
-
createMany?:
|
|
14471
|
-
set?: Enumerable<
|
|
14472
|
-
disconnect?: Enumerable<
|
|
14473
|
-
delete?: Enumerable<
|
|
14474
|
-
connect?: Enumerable<
|
|
14475
|
-
update?: Enumerable<
|
|
14476
|
-
updateMany?: Enumerable<
|
|
14477
|
-
deleteMany?: Enumerable<
|
|
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
|
|
14556
|
-
create?: XOR<Enumerable<
|
|
14557
|
-
connectOrCreate?: Enumerable<
|
|
14558
|
-
upsert?: Enumerable<
|
|
14559
|
-
createMany?:
|
|
14560
|
-
set?: Enumerable<
|
|
14561
|
-
disconnect?: Enumerable<
|
|
14562
|
-
delete?: Enumerable<
|
|
14563
|
-
connect?: Enumerable<
|
|
14564
|
-
update?: Enumerable<
|
|
14565
|
-
updateMany?: Enumerable<
|
|
14566
|
-
deleteMany?: Enumerable<
|
|
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
|
|
14625
|
-
create?: XOR<
|
|
14626
|
-
connectOrCreate?:
|
|
14624
|
+
export type UserCreateNestedOneWithoutAchievementsInput = {
|
|
14625
|
+
create?: XOR<UserCreateWithoutAchievementsInput, UserUncheckedCreateWithoutAchievementsInput>
|
|
14626
|
+
connectOrCreate?: UserCreateOrConnectWithoutAchievementsInput
|
|
14627
14627
|
connect?: UserWhereUniqueInput
|
|
14628
14628
|
}
|
|
14629
14629
|
|
|
14630
|
-
export type
|
|
14631
|
-
create?: XOR<
|
|
14632
|
-
connectOrCreate?:
|
|
14633
|
-
upsert?:
|
|
14630
|
+
export type UserUpdateOneRequiredWithoutAchievementsNestedInput = {
|
|
14631
|
+
create?: XOR<UserCreateWithoutAchievementsInput, UserUncheckedCreateWithoutAchievementsInput>
|
|
14632
|
+
connectOrCreate?: UserCreateOrConnectWithoutAchievementsInput
|
|
14633
|
+
upsert?: UserUpsertWithoutAchievementsInput
|
|
14634
14634
|
connect?: UserWhereUniqueInput
|
|
14635
|
-
update?: XOR<
|
|
14635
|
+
update?: XOR<UserUpdateWithoutAchievementsInput, UserUncheckedUpdateWithoutAchievementsInput>
|
|
14636
14636
|
}
|
|
14637
14637
|
|
|
14638
|
-
export type
|
|
14639
|
-
set?:
|
|
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
|
|
15048
|
-
equals?:
|
|
15049
|
-
in?: Enumerable<
|
|
15050
|
-
notIn?: Enumerable<
|
|
15051
|
-
not?:
|
|
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
|
|
15055
|
-
equals?:
|
|
15056
|
-
in?: Enumerable<
|
|
15057
|
-
notIn?: Enumerable<
|
|
15058
|
-
not?:
|
|
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?:
|
|
15061
|
-
_max?:
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
15777
|
+
export type AchievementCreateWithoutUserInput = {
|
|
15778
15778
|
id?: string
|
|
15779
15779
|
badge: boolean
|
|
15780
|
-
type:
|
|
15780
|
+
type: AchievementType
|
|
15781
15781
|
info: string
|
|
15782
15782
|
timestamp: Date | string
|
|
15783
15783
|
dismissed?: boolean
|
|
15784
15784
|
}
|
|
15785
15785
|
|
|
15786
|
-
export type
|
|
15786
|
+
export type AchievementUncheckedCreateWithoutUserInput = {
|
|
15787
15787
|
id?: string
|
|
15788
15788
|
badge: boolean
|
|
15789
|
-
type:
|
|
15789
|
+
type: AchievementType
|
|
15790
15790
|
info: string
|
|
15791
15791
|
timestamp: Date | string
|
|
15792
15792
|
dismissed?: boolean
|
|
15793
15793
|
}
|
|
15794
15794
|
|
|
15795
|
-
export type
|
|
15796
|
-
where:
|
|
15797
|
-
create: XOR<
|
|
15795
|
+
export type AchievementCreateOrConnectWithoutUserInput = {
|
|
15796
|
+
where: AchievementWhereUniqueInput
|
|
15797
|
+
create: XOR<AchievementCreateWithoutUserInput, AchievementUncheckedCreateWithoutUserInput>
|
|
15798
15798
|
}
|
|
15799
15799
|
|
|
15800
|
-
export type
|
|
15801
|
-
data: Enumerable<
|
|
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
|
|
15955
|
-
where:
|
|
15956
|
-
update: XOR<
|
|
15957
|
-
create: XOR<
|
|
15954
|
+
export type AchievementUpsertWithWhereUniqueWithoutUserInput = {
|
|
15955
|
+
where: AchievementWhereUniqueInput
|
|
15956
|
+
update: XOR<AchievementUpdateWithoutUserInput, AchievementUncheckedUpdateWithoutUserInput>
|
|
15957
|
+
create: XOR<AchievementCreateWithoutUserInput, AchievementUncheckedCreateWithoutUserInput>
|
|
15958
15958
|
}
|
|
15959
15959
|
|
|
15960
|
-
export type
|
|
15961
|
-
where:
|
|
15962
|
-
data: XOR<
|
|
15960
|
+
export type AchievementUpdateWithWhereUniqueWithoutUserInput = {
|
|
15961
|
+
where: AchievementWhereUniqueInput
|
|
15962
|
+
data: XOR<AchievementUpdateWithoutUserInput, AchievementUncheckedUpdateWithoutUserInput>
|
|
15963
15963
|
}
|
|
15964
15964
|
|
|
15965
|
-
export type
|
|
15966
|
-
where:
|
|
15967
|
-
data: XOR<
|
|
15965
|
+
export type AchievementUpdateManyWithWhereWithoutUserInput = {
|
|
15966
|
+
where: AchievementScalarWhereInput
|
|
15967
|
+
data: XOR<AchievementUpdateManyMutationInput, AchievementUncheckedUpdateManyWithoutAchievementsInput>
|
|
15968
15968
|
}
|
|
15969
15969
|
|
|
15970
|
-
export type
|
|
15971
|
-
AND?: Enumerable<
|
|
15972
|
-
OR?: Enumerable<
|
|
15973
|
-
NOT?: Enumerable<
|
|
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?:
|
|
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
|
|
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
|
|
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
|
|
16098
|
+
export type UserCreateOrConnectWithoutAchievementsInput = {
|
|
16099
16099
|
where: UserWhereUniqueInput
|
|
16100
|
-
create: XOR<
|
|
16100
|
+
create: XOR<UserCreateWithoutAchievementsInput, UserUncheckedCreateWithoutAchievementsInput>
|
|
16101
16101
|
}
|
|
16102
16102
|
|
|
16103
|
-
export type
|
|
16104
|
-
update: XOR<
|
|
16105
|
-
create: XOR<
|
|
16103
|
+
export type UserUpsertWithoutAchievementsInput = {
|
|
16104
|
+
update: XOR<UserUpdateWithoutAchievementsInput, UserUncheckedUpdateWithoutAchievementsInput>
|
|
16105
|
+
create: XOR<UserCreateWithoutAchievementsInput, UserUncheckedCreateWithoutAchievementsInput>
|
|
16106
16106
|
}
|
|
16107
16107
|
|
|
16108
|
-
export type
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
16862
|
+
export type AchievementCreateManyUserInput = {
|
|
16863
16863
|
id?: string
|
|
16864
16864
|
badge: boolean
|
|
16865
|
-
type:
|
|
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
|
|
16895
|
+
export type AchievementUpdateWithoutUserInput = {
|
|
16896
16896
|
id?: StringFieldUpdateOperationsInput | string
|
|
16897
16897
|
badge?: BoolFieldUpdateOperationsInput | boolean
|
|
16898
|
-
type?:
|
|
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
|
|
16904
|
+
export type AchievementUncheckedUpdateWithoutUserInput = {
|
|
16905
16905
|
id?: StringFieldUpdateOperationsInput | string
|
|
16906
16906
|
badge?: BoolFieldUpdateOperationsInput | boolean
|
|
16907
|
-
type?:
|
|
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
|
|
16913
|
+
export type AchievementUncheckedUpdateManyWithoutAchievementsInput = {
|
|
16914
16914
|
id?: StringFieldUpdateOperationsInput | string
|
|
16915
16915
|
badge?: BoolFieldUpdateOperationsInput | boolean
|
|
16916
|
-
type?:
|
|
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
|
-
|
|
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
|
-
|
|
17070
|
+
achievements?: AchievementUncheckedUpdateManyWithoutUserNestedInput
|
|
17071
17071
|
purchases?: PurchaseUncheckedUpdateManyWithoutUserNestedInput
|
|
17072
17072
|
packs?: PackUncheckedUpdateManyWithoutUsersNestedInput
|
|
17073
17073
|
userCards?: UserCardUncheckedUpdateManyWithoutUserNestedInput
|