@levrbet/shared 0.1.36 → 0.1.37
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.
- package/dist/core/prisma/oracle/generated/client/edge.js +23 -4
- package/dist/core/prisma/oracle/generated/client/index-browser.js +20 -1
- package/dist/core/prisma/oracle/generated/client/index.d.ts +1449 -114
- package/dist/core/prisma/oracle/generated/client/index.js +23 -4
- package/dist/core/prisma/oracle/generated/client/package.json +1 -1
- package/dist/core/prisma/oracle/generated/client/schema.prisma +19 -0
- package/dist/core/prisma/oracle/generated/client/wasm.js +23 -4
- package/package.json +1 -1
|
@@ -63,6 +63,11 @@ export type Odds = $Result.DefaultSelection<Prisma.$OddsPayload>
|
|
|
63
63
|
*
|
|
64
64
|
*/
|
|
65
65
|
export type Market = $Result.DefaultSelection<Prisma.$MarketPayload>
|
|
66
|
+
/**
|
|
67
|
+
* Model User
|
|
68
|
+
*
|
|
69
|
+
*/
|
|
70
|
+
export type User = $Result.DefaultSelection<Prisma.$UserPayload>
|
|
66
71
|
|
|
67
72
|
/**
|
|
68
73
|
* Enums
|
|
@@ -121,6 +126,15 @@ export const SportGroup: {
|
|
|
121
126
|
|
|
122
127
|
export type SportGroup = (typeof SportGroup)[keyof typeof SportGroup]
|
|
123
128
|
|
|
129
|
+
|
|
130
|
+
export const UserOddsPreference: {
|
|
131
|
+
American: 'American',
|
|
132
|
+
Decimal: 'Decimal',
|
|
133
|
+
European: 'European'
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
export type UserOddsPreference = (typeof UserOddsPreference)[keyof typeof UserOddsPreference]
|
|
137
|
+
|
|
124
138
|
}
|
|
125
139
|
|
|
126
140
|
export type GamePhase = $Enums.GamePhase
|
|
@@ -147,6 +161,10 @@ export type SportGroup = $Enums.SportGroup
|
|
|
147
161
|
|
|
148
162
|
export const SportGroup: typeof $Enums.SportGroup
|
|
149
163
|
|
|
164
|
+
export type UserOddsPreference = $Enums.UserOddsPreference
|
|
165
|
+
|
|
166
|
+
export const UserOddsPreference: typeof $Enums.UserOddsPreference
|
|
167
|
+
|
|
150
168
|
/**
|
|
151
169
|
* ## Prisma Client ʲˢ
|
|
152
170
|
*
|
|
@@ -331,6 +349,16 @@ export class PrismaClient<
|
|
|
331
349
|
* ```
|
|
332
350
|
*/
|
|
333
351
|
get market(): Prisma.MarketDelegate<ExtArgs, ClientOptions>;
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* `prisma.user`: Exposes CRUD operations for the **User** model.
|
|
355
|
+
* Example usage:
|
|
356
|
+
* ```ts
|
|
357
|
+
* // Fetch zero or more Users
|
|
358
|
+
* const users = await prisma.user.findMany()
|
|
359
|
+
* ```
|
|
360
|
+
*/
|
|
361
|
+
get user(): Prisma.UserDelegate<ExtArgs, ClientOptions>;
|
|
334
362
|
}
|
|
335
363
|
|
|
336
364
|
export namespace Prisma {
|
|
@@ -780,7 +808,8 @@ export namespace Prisma {
|
|
|
780
808
|
Scores: 'Scores',
|
|
781
809
|
LevrGame: 'LevrGame',
|
|
782
810
|
Odds: 'Odds',
|
|
783
|
-
Market: 'Market'
|
|
811
|
+
Market: 'Market',
|
|
812
|
+
User: 'User'
|
|
784
813
|
};
|
|
785
814
|
|
|
786
815
|
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
|
@@ -799,7 +828,7 @@ export namespace Prisma {
|
|
|
799
828
|
omit: GlobalOmitOptions
|
|
800
829
|
}
|
|
801
830
|
meta: {
|
|
802
|
-
modelProps: "provider" | "tournament" | "sport" | "league" | "teamData" | "fixture" | "scores" | "levrGame" | "odds" | "market"
|
|
831
|
+
modelProps: "provider" | "tournament" | "sport" | "league" | "teamData" | "fixture" | "scores" | "levrGame" | "odds" | "market" | "user"
|
|
803
832
|
txIsolationLevel: never
|
|
804
833
|
}
|
|
805
834
|
model: {
|
|
@@ -1543,6 +1572,80 @@ export namespace Prisma {
|
|
|
1543
1572
|
}
|
|
1544
1573
|
}
|
|
1545
1574
|
}
|
|
1575
|
+
User: {
|
|
1576
|
+
payload: Prisma.$UserPayload<ExtArgs>
|
|
1577
|
+
fields: Prisma.UserFieldRefs
|
|
1578
|
+
operations: {
|
|
1579
|
+
findUnique: {
|
|
1580
|
+
args: Prisma.UserFindUniqueArgs<ExtArgs>
|
|
1581
|
+
result: $Utils.PayloadToResult<Prisma.$UserPayload> | null
|
|
1582
|
+
}
|
|
1583
|
+
findUniqueOrThrow: {
|
|
1584
|
+
args: Prisma.UserFindUniqueOrThrowArgs<ExtArgs>
|
|
1585
|
+
result: $Utils.PayloadToResult<Prisma.$UserPayload>
|
|
1586
|
+
}
|
|
1587
|
+
findFirst: {
|
|
1588
|
+
args: Prisma.UserFindFirstArgs<ExtArgs>
|
|
1589
|
+
result: $Utils.PayloadToResult<Prisma.$UserPayload> | null
|
|
1590
|
+
}
|
|
1591
|
+
findFirstOrThrow: {
|
|
1592
|
+
args: Prisma.UserFindFirstOrThrowArgs<ExtArgs>
|
|
1593
|
+
result: $Utils.PayloadToResult<Prisma.$UserPayload>
|
|
1594
|
+
}
|
|
1595
|
+
findMany: {
|
|
1596
|
+
args: Prisma.UserFindManyArgs<ExtArgs>
|
|
1597
|
+
result: $Utils.PayloadToResult<Prisma.$UserPayload>[]
|
|
1598
|
+
}
|
|
1599
|
+
create: {
|
|
1600
|
+
args: Prisma.UserCreateArgs<ExtArgs>
|
|
1601
|
+
result: $Utils.PayloadToResult<Prisma.$UserPayload>
|
|
1602
|
+
}
|
|
1603
|
+
createMany: {
|
|
1604
|
+
args: Prisma.UserCreateManyArgs<ExtArgs>
|
|
1605
|
+
result: BatchPayload
|
|
1606
|
+
}
|
|
1607
|
+
delete: {
|
|
1608
|
+
args: Prisma.UserDeleteArgs<ExtArgs>
|
|
1609
|
+
result: $Utils.PayloadToResult<Prisma.$UserPayload>
|
|
1610
|
+
}
|
|
1611
|
+
update: {
|
|
1612
|
+
args: Prisma.UserUpdateArgs<ExtArgs>
|
|
1613
|
+
result: $Utils.PayloadToResult<Prisma.$UserPayload>
|
|
1614
|
+
}
|
|
1615
|
+
deleteMany: {
|
|
1616
|
+
args: Prisma.UserDeleteManyArgs<ExtArgs>
|
|
1617
|
+
result: BatchPayload
|
|
1618
|
+
}
|
|
1619
|
+
updateMany: {
|
|
1620
|
+
args: Prisma.UserUpdateManyArgs<ExtArgs>
|
|
1621
|
+
result: BatchPayload
|
|
1622
|
+
}
|
|
1623
|
+
upsert: {
|
|
1624
|
+
args: Prisma.UserUpsertArgs<ExtArgs>
|
|
1625
|
+
result: $Utils.PayloadToResult<Prisma.$UserPayload>
|
|
1626
|
+
}
|
|
1627
|
+
aggregate: {
|
|
1628
|
+
args: Prisma.UserAggregateArgs<ExtArgs>
|
|
1629
|
+
result: $Utils.Optional<AggregateUser>
|
|
1630
|
+
}
|
|
1631
|
+
groupBy: {
|
|
1632
|
+
args: Prisma.UserGroupByArgs<ExtArgs>
|
|
1633
|
+
result: $Utils.Optional<UserGroupByOutputType>[]
|
|
1634
|
+
}
|
|
1635
|
+
findRaw: {
|
|
1636
|
+
args: Prisma.UserFindRawArgs<ExtArgs>
|
|
1637
|
+
result: JsonObject
|
|
1638
|
+
}
|
|
1639
|
+
aggregateRaw: {
|
|
1640
|
+
args: Prisma.UserAggregateRawArgs<ExtArgs>
|
|
1641
|
+
result: JsonObject
|
|
1642
|
+
}
|
|
1643
|
+
count: {
|
|
1644
|
+
args: Prisma.UserCountArgs<ExtArgs>
|
|
1645
|
+
result: $Utils.Optional<UserCountAggregateOutputType> | number
|
|
1646
|
+
}
|
|
1647
|
+
}
|
|
1648
|
+
}
|
|
1546
1649
|
}
|
|
1547
1650
|
} & {
|
|
1548
1651
|
other: {
|
|
@@ -1632,6 +1735,7 @@ export namespace Prisma {
|
|
|
1632
1735
|
levrGame?: LevrGameOmit
|
|
1633
1736
|
odds?: OddsOmit
|
|
1634
1737
|
market?: MarketOmit
|
|
1738
|
+
user?: UserOmit
|
|
1635
1739
|
}
|
|
1636
1740
|
|
|
1637
1741
|
/* Types for Logging */
|
|
@@ -13156,141 +13260,1117 @@ export namespace Prisma {
|
|
|
13156
13260
|
|
|
13157
13261
|
|
|
13158
13262
|
/**
|
|
13159
|
-
*
|
|
13263
|
+
* Model User
|
|
13160
13264
|
*/
|
|
13161
13265
|
|
|
13162
|
-
export
|
|
13163
|
-
|
|
13164
|
-
|
|
13165
|
-
|
|
13166
|
-
|
|
13167
|
-
updatedAt: 'updatedAt'
|
|
13168
|
-
};
|
|
13266
|
+
export type AggregateUser = {
|
|
13267
|
+
_count: UserCountAggregateOutputType | null
|
|
13268
|
+
_min: UserMinAggregateOutputType | null
|
|
13269
|
+
_max: UserMaxAggregateOutputType | null
|
|
13270
|
+
}
|
|
13169
13271
|
|
|
13170
|
-
export type
|
|
13272
|
+
export type UserMinAggregateOutputType = {
|
|
13273
|
+
objectId: string | null
|
|
13274
|
+
walletAddress: string | null
|
|
13275
|
+
userName: string | null
|
|
13276
|
+
timeZone: Date | null
|
|
13277
|
+
preferredTimeZone: Date | null
|
|
13278
|
+
userOddsPreference: $Enums.UserOddsPreference | null
|
|
13279
|
+
profileImageUrl: string | null
|
|
13280
|
+
createdAt: Date | null
|
|
13281
|
+
updatedAt: Date | null
|
|
13282
|
+
}
|
|
13171
13283
|
|
|
13284
|
+
export type UserMaxAggregateOutputType = {
|
|
13285
|
+
objectId: string | null
|
|
13286
|
+
walletAddress: string | null
|
|
13287
|
+
userName: string | null
|
|
13288
|
+
timeZone: Date | null
|
|
13289
|
+
preferredTimeZone: Date | null
|
|
13290
|
+
userOddsPreference: $Enums.UserOddsPreference | null
|
|
13291
|
+
profileImageUrl: string | null
|
|
13292
|
+
createdAt: Date | null
|
|
13293
|
+
updatedAt: Date | null
|
|
13294
|
+
}
|
|
13172
13295
|
|
|
13173
|
-
export
|
|
13174
|
-
objectId:
|
|
13175
|
-
|
|
13176
|
-
|
|
13177
|
-
|
|
13178
|
-
|
|
13179
|
-
|
|
13180
|
-
|
|
13181
|
-
|
|
13182
|
-
|
|
13183
|
-
|
|
13184
|
-
}
|
|
13296
|
+
export type UserCountAggregateOutputType = {
|
|
13297
|
+
objectId: number
|
|
13298
|
+
walletAddress: number
|
|
13299
|
+
userName: number
|
|
13300
|
+
timeZone: number
|
|
13301
|
+
preferredTimeZone: number
|
|
13302
|
+
userOddsPreference: number
|
|
13303
|
+
profileImageUrl: number
|
|
13304
|
+
createdAt: number
|
|
13305
|
+
updatedAt: number
|
|
13306
|
+
_all: number
|
|
13307
|
+
}
|
|
13185
13308
|
|
|
13186
|
-
export type TournamentScalarFieldEnum = (typeof TournamentScalarFieldEnum)[keyof typeof TournamentScalarFieldEnum]
|
|
13187
13309
|
|
|
13310
|
+
export type UserMinAggregateInputType = {
|
|
13311
|
+
objectId?: true
|
|
13312
|
+
walletAddress?: true
|
|
13313
|
+
userName?: true
|
|
13314
|
+
timeZone?: true
|
|
13315
|
+
preferredTimeZone?: true
|
|
13316
|
+
userOddsPreference?: true
|
|
13317
|
+
profileImageUrl?: true
|
|
13318
|
+
createdAt?: true
|
|
13319
|
+
updatedAt?: true
|
|
13320
|
+
}
|
|
13188
13321
|
|
|
13189
|
-
export
|
|
13190
|
-
objectId
|
|
13191
|
-
|
|
13192
|
-
|
|
13193
|
-
|
|
13194
|
-
|
|
13195
|
-
|
|
13196
|
-
|
|
13197
|
-
|
|
13198
|
-
|
|
13199
|
-
|
|
13200
|
-
createdAt: 'createdAt',
|
|
13201
|
-
updatedAt: 'updatedAt'
|
|
13202
|
-
};
|
|
13322
|
+
export type UserMaxAggregateInputType = {
|
|
13323
|
+
objectId?: true
|
|
13324
|
+
walletAddress?: true
|
|
13325
|
+
userName?: true
|
|
13326
|
+
timeZone?: true
|
|
13327
|
+
preferredTimeZone?: true
|
|
13328
|
+
userOddsPreference?: true
|
|
13329
|
+
profileImageUrl?: true
|
|
13330
|
+
createdAt?: true
|
|
13331
|
+
updatedAt?: true
|
|
13332
|
+
}
|
|
13203
13333
|
|
|
13204
|
-
export type
|
|
13334
|
+
export type UserCountAggregateInputType = {
|
|
13335
|
+
objectId?: true
|
|
13336
|
+
walletAddress?: true
|
|
13337
|
+
userName?: true
|
|
13338
|
+
timeZone?: true
|
|
13339
|
+
preferredTimeZone?: true
|
|
13340
|
+
userOddsPreference?: true
|
|
13341
|
+
profileImageUrl?: true
|
|
13342
|
+
createdAt?: true
|
|
13343
|
+
updatedAt?: true
|
|
13344
|
+
_all?: true
|
|
13345
|
+
}
|
|
13205
13346
|
|
|
13347
|
+
export type UserAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
13348
|
+
/**
|
|
13349
|
+
* Filter which User to aggregate.
|
|
13350
|
+
*/
|
|
13351
|
+
where?: UserWhereInput
|
|
13352
|
+
/**
|
|
13353
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
13354
|
+
*
|
|
13355
|
+
* Determine the order of Users to fetch.
|
|
13356
|
+
*/
|
|
13357
|
+
orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[]
|
|
13358
|
+
/**
|
|
13359
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
13360
|
+
*
|
|
13361
|
+
* Sets the start position
|
|
13362
|
+
*/
|
|
13363
|
+
cursor?: UserWhereUniqueInput
|
|
13364
|
+
/**
|
|
13365
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
13366
|
+
*
|
|
13367
|
+
* Take `±n` Users from the position of the cursor.
|
|
13368
|
+
*/
|
|
13369
|
+
take?: number
|
|
13370
|
+
/**
|
|
13371
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
13372
|
+
*
|
|
13373
|
+
* Skip the first `n` Users.
|
|
13374
|
+
*/
|
|
13375
|
+
skip?: number
|
|
13376
|
+
/**
|
|
13377
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
13378
|
+
*
|
|
13379
|
+
* Count returned Users
|
|
13380
|
+
**/
|
|
13381
|
+
_count?: true | UserCountAggregateInputType
|
|
13382
|
+
/**
|
|
13383
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
13384
|
+
*
|
|
13385
|
+
* Select which fields to find the minimum value
|
|
13386
|
+
**/
|
|
13387
|
+
_min?: UserMinAggregateInputType
|
|
13388
|
+
/**
|
|
13389
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
13390
|
+
*
|
|
13391
|
+
* Select which fields to find the maximum value
|
|
13392
|
+
**/
|
|
13393
|
+
_max?: UserMaxAggregateInputType
|
|
13394
|
+
}
|
|
13206
13395
|
|
|
13207
|
-
export
|
|
13208
|
-
|
|
13209
|
-
|
|
13210
|
-
|
|
13211
|
-
|
|
13212
|
-
|
|
13213
|
-
|
|
13214
|
-
lsportsLeagueId: 'lsportsLeagueId',
|
|
13215
|
-
tournamentObjectId: 'tournamentObjectId',
|
|
13216
|
-
sportObjectId: 'sportObjectId',
|
|
13217
|
-
levrSportId: 'levrSportId',
|
|
13218
|
-
createdAt: 'createdAt',
|
|
13219
|
-
updatedAt: 'updatedAt'
|
|
13220
|
-
};
|
|
13396
|
+
export type GetUserAggregateType<T extends UserAggregateArgs> = {
|
|
13397
|
+
[P in keyof T & keyof AggregateUser]: P extends '_count' | 'count'
|
|
13398
|
+
? T[P] extends true
|
|
13399
|
+
? number
|
|
13400
|
+
: GetScalarType<T[P], AggregateUser[P]>
|
|
13401
|
+
: GetScalarType<T[P], AggregateUser[P]>
|
|
13402
|
+
}
|
|
13221
13403
|
|
|
13222
|
-
export type LeagueScalarFieldEnum = (typeof LeagueScalarFieldEnum)[keyof typeof LeagueScalarFieldEnum]
|
|
13223
13404
|
|
|
13224
13405
|
|
|
13225
|
-
export const TeamDataScalarFieldEnum: {
|
|
13226
|
-
objectId: 'objectId',
|
|
13227
|
-
levrTeamName: 'levrTeamName',
|
|
13228
|
-
levrTeamOfficialAbbreviation: 'levrTeamOfficialAbbreviation',
|
|
13229
|
-
lsportsTeamName: 'lsportsTeamName',
|
|
13230
|
-
opticOddsTeamName: 'opticOddsTeamName',
|
|
13231
|
-
lsportsTeamId: 'lsportsTeamId',
|
|
13232
|
-
opticOddsTeamId: 'opticOddsTeamId',
|
|
13233
|
-
levrTeamId: 'levrTeamId',
|
|
13234
|
-
opticOddsTeamLogoUrl: 'opticOddsTeamLogoUrl',
|
|
13235
|
-
levrTeamLogoUrl: 'levrTeamLogoUrl',
|
|
13236
|
-
leagueObjectId: 'leagueObjectId',
|
|
13237
|
-
levrleagueId: 'levrleagueId'
|
|
13238
|
-
};
|
|
13239
13406
|
|
|
13240
|
-
export type
|
|
13407
|
+
export type UserGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
13408
|
+
where?: UserWhereInput
|
|
13409
|
+
orderBy?: UserOrderByWithAggregationInput | UserOrderByWithAggregationInput[]
|
|
13410
|
+
by: UserScalarFieldEnum[] | UserScalarFieldEnum
|
|
13411
|
+
having?: UserScalarWhereWithAggregatesInput
|
|
13412
|
+
take?: number
|
|
13413
|
+
skip?: number
|
|
13414
|
+
_count?: UserCountAggregateInputType | true
|
|
13415
|
+
_min?: UserMinAggregateInputType
|
|
13416
|
+
_max?: UserMaxAggregateInputType
|
|
13417
|
+
}
|
|
13241
13418
|
|
|
13419
|
+
export type UserGroupByOutputType = {
|
|
13420
|
+
objectId: string
|
|
13421
|
+
walletAddress: string
|
|
13422
|
+
userName: string
|
|
13423
|
+
timeZone: Date
|
|
13424
|
+
preferredTimeZone: Date
|
|
13425
|
+
userOddsPreference: $Enums.UserOddsPreference
|
|
13426
|
+
profileImageUrl: string
|
|
13427
|
+
createdAt: Date
|
|
13428
|
+
updatedAt: Date
|
|
13429
|
+
_count: UserCountAggregateOutputType | null
|
|
13430
|
+
_min: UserMinAggregateOutputType | null
|
|
13431
|
+
_max: UserMaxAggregateOutputType | null
|
|
13432
|
+
}
|
|
13242
13433
|
|
|
13243
|
-
|
|
13244
|
-
|
|
13245
|
-
|
|
13246
|
-
|
|
13247
|
-
|
|
13248
|
-
|
|
13249
|
-
|
|
13250
|
-
|
|
13251
|
-
|
|
13252
|
-
|
|
13253
|
-
|
|
13254
|
-
|
|
13255
|
-
homeTeam: 'homeTeam',
|
|
13256
|
-
awayTeam: 'awayTeam',
|
|
13257
|
-
fixtureStatus: 'fixtureStatus',
|
|
13258
|
-
leagueObjectId: 'leagueObjectId',
|
|
13259
|
-
createdAt: 'createdAt',
|
|
13260
|
-
updatedAt: 'updatedAt'
|
|
13261
|
-
};
|
|
13434
|
+
type GetUserGroupByPayload<T extends UserGroupByArgs> = Prisma.PrismaPromise<
|
|
13435
|
+
Array<
|
|
13436
|
+
PickEnumerable<UserGroupByOutputType, T['by']> &
|
|
13437
|
+
{
|
|
13438
|
+
[P in ((keyof T) & (keyof UserGroupByOutputType))]: P extends '_count'
|
|
13439
|
+
? T[P] extends boolean
|
|
13440
|
+
? number
|
|
13441
|
+
: GetScalarType<T[P], UserGroupByOutputType[P]>
|
|
13442
|
+
: GetScalarType<T[P], UserGroupByOutputType[P]>
|
|
13443
|
+
}
|
|
13444
|
+
>
|
|
13445
|
+
>
|
|
13262
13446
|
|
|
13263
|
-
export type FixtureScalarFieldEnum = (typeof FixtureScalarFieldEnum)[keyof typeof FixtureScalarFieldEnum]
|
|
13264
13447
|
|
|
13448
|
+
export type UserSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
13449
|
+
objectId?: boolean
|
|
13450
|
+
walletAddress?: boolean
|
|
13451
|
+
userName?: boolean
|
|
13452
|
+
timeZone?: boolean
|
|
13453
|
+
preferredTimeZone?: boolean
|
|
13454
|
+
userOddsPreference?: boolean
|
|
13455
|
+
profileImageUrl?: boolean
|
|
13456
|
+
createdAt?: boolean
|
|
13457
|
+
updatedAt?: boolean
|
|
13458
|
+
}, ExtArgs["result"]["user"]>
|
|
13265
13459
|
|
|
13266
|
-
export const ScoresScalarFieldEnum: {
|
|
13267
|
-
objectId: 'objectId',
|
|
13268
|
-
scoresByPeriodHome: 'scoresByPeriodHome',
|
|
13269
|
-
scoresByPeriodAway: 'scoresByPeriodAway',
|
|
13270
|
-
totalScoresHome: 'totalScoresHome',
|
|
13271
|
-
totalScoresAway: 'totalScoresAway',
|
|
13272
|
-
fixtureObjectId: 'fixtureObjectId',
|
|
13273
|
-
createdAt: 'createdAt',
|
|
13274
|
-
updatedAt: 'updatedAt'
|
|
13275
|
-
};
|
|
13276
13460
|
|
|
13277
|
-
export type ScoresScalarFieldEnum = (typeof ScoresScalarFieldEnum)[keyof typeof ScoresScalarFieldEnum]
|
|
13278
13461
|
|
|
13462
|
+
export type UserSelectScalar = {
|
|
13463
|
+
objectId?: boolean
|
|
13464
|
+
walletAddress?: boolean
|
|
13465
|
+
userName?: boolean
|
|
13466
|
+
timeZone?: boolean
|
|
13467
|
+
preferredTimeZone?: boolean
|
|
13468
|
+
userOddsPreference?: boolean
|
|
13469
|
+
profileImageUrl?: boolean
|
|
13470
|
+
createdAt?: boolean
|
|
13471
|
+
updatedAt?: boolean
|
|
13472
|
+
}
|
|
13279
13473
|
|
|
13280
|
-
export
|
|
13281
|
-
|
|
13282
|
-
|
|
13283
|
-
|
|
13284
|
-
|
|
13285
|
-
|
|
13286
|
-
|
|
13287
|
-
|
|
13288
|
-
|
|
13289
|
-
|
|
13290
|
-
|
|
13291
|
-
|
|
13292
|
-
|
|
13293
|
-
|
|
13474
|
+
export type UserOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"objectId" | "walletAddress" | "userName" | "timeZone" | "preferredTimeZone" | "userOddsPreference" | "profileImageUrl" | "createdAt" | "updatedAt", ExtArgs["result"]["user"]>
|
|
13475
|
+
|
|
13476
|
+
export type $UserPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
13477
|
+
name: "User"
|
|
13478
|
+
objects: {}
|
|
13479
|
+
scalars: $Extensions.GetPayloadResult<{
|
|
13480
|
+
objectId: string
|
|
13481
|
+
walletAddress: string
|
|
13482
|
+
userName: string
|
|
13483
|
+
timeZone: Date
|
|
13484
|
+
preferredTimeZone: Date
|
|
13485
|
+
userOddsPreference: $Enums.UserOddsPreference
|
|
13486
|
+
profileImageUrl: string
|
|
13487
|
+
createdAt: Date
|
|
13488
|
+
updatedAt: Date
|
|
13489
|
+
}, ExtArgs["result"]["user"]>
|
|
13490
|
+
composites: {}
|
|
13491
|
+
}
|
|
13492
|
+
|
|
13493
|
+
type UserGetPayload<S extends boolean | null | undefined | UserDefaultArgs> = $Result.GetResult<Prisma.$UserPayload, S>
|
|
13494
|
+
|
|
13495
|
+
type UserCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
13496
|
+
Omit<UserFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
13497
|
+
select?: UserCountAggregateInputType | true
|
|
13498
|
+
}
|
|
13499
|
+
|
|
13500
|
+
export interface UserDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
13501
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['User'], meta: { name: 'User' } }
|
|
13502
|
+
/**
|
|
13503
|
+
* Find zero or one User that matches the filter.
|
|
13504
|
+
* @param {UserFindUniqueArgs} args - Arguments to find a User
|
|
13505
|
+
* @example
|
|
13506
|
+
* // Get one User
|
|
13507
|
+
* const user = await prisma.user.findUnique({
|
|
13508
|
+
* where: {
|
|
13509
|
+
* // ... provide filter here
|
|
13510
|
+
* }
|
|
13511
|
+
* })
|
|
13512
|
+
*/
|
|
13513
|
+
findUnique<T extends UserFindUniqueArgs>(args: SelectSubset<T, UserFindUniqueArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
13514
|
+
|
|
13515
|
+
/**
|
|
13516
|
+
* Find one User that matches the filter or throw an error with `error.code='P2025'`
|
|
13517
|
+
* if no matches were found.
|
|
13518
|
+
* @param {UserFindUniqueOrThrowArgs} args - Arguments to find a User
|
|
13519
|
+
* @example
|
|
13520
|
+
* // Get one User
|
|
13521
|
+
* const user = await prisma.user.findUniqueOrThrow({
|
|
13522
|
+
* where: {
|
|
13523
|
+
* // ... provide filter here
|
|
13524
|
+
* }
|
|
13525
|
+
* })
|
|
13526
|
+
*/
|
|
13527
|
+
findUniqueOrThrow<T extends UserFindUniqueOrThrowArgs>(args: SelectSubset<T, UserFindUniqueOrThrowArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
13528
|
+
|
|
13529
|
+
/**
|
|
13530
|
+
* Find the first User that matches the filter.
|
|
13531
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
13532
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
13533
|
+
* @param {UserFindFirstArgs} args - Arguments to find a User
|
|
13534
|
+
* @example
|
|
13535
|
+
* // Get one User
|
|
13536
|
+
* const user = await prisma.user.findFirst({
|
|
13537
|
+
* where: {
|
|
13538
|
+
* // ... provide filter here
|
|
13539
|
+
* }
|
|
13540
|
+
* })
|
|
13541
|
+
*/
|
|
13542
|
+
findFirst<T extends UserFindFirstArgs>(args?: SelectSubset<T, UserFindFirstArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
13543
|
+
|
|
13544
|
+
/**
|
|
13545
|
+
* Find the first User that matches the filter or
|
|
13546
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
13547
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
13548
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
13549
|
+
* @param {UserFindFirstOrThrowArgs} args - Arguments to find a User
|
|
13550
|
+
* @example
|
|
13551
|
+
* // Get one User
|
|
13552
|
+
* const user = await prisma.user.findFirstOrThrow({
|
|
13553
|
+
* where: {
|
|
13554
|
+
* // ... provide filter here
|
|
13555
|
+
* }
|
|
13556
|
+
* })
|
|
13557
|
+
*/
|
|
13558
|
+
findFirstOrThrow<T extends UserFindFirstOrThrowArgs>(args?: SelectSubset<T, UserFindFirstOrThrowArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
13559
|
+
|
|
13560
|
+
/**
|
|
13561
|
+
* Find zero or more Users that matches the filter.
|
|
13562
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
13563
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
13564
|
+
* @param {UserFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
13565
|
+
* @example
|
|
13566
|
+
* // Get all Users
|
|
13567
|
+
* const users = await prisma.user.findMany()
|
|
13568
|
+
*
|
|
13569
|
+
* // Get first 10 Users
|
|
13570
|
+
* const users = await prisma.user.findMany({ take: 10 })
|
|
13571
|
+
*
|
|
13572
|
+
* // Only select the `objectId`
|
|
13573
|
+
* const userWithObjectIdOnly = await prisma.user.findMany({ select: { objectId: true } })
|
|
13574
|
+
*
|
|
13575
|
+
*/
|
|
13576
|
+
findMany<T extends UserFindManyArgs>(args?: SelectSubset<T, UserFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
13577
|
+
|
|
13578
|
+
/**
|
|
13579
|
+
* Create a User.
|
|
13580
|
+
* @param {UserCreateArgs} args - Arguments to create a User.
|
|
13581
|
+
* @example
|
|
13582
|
+
* // Create one User
|
|
13583
|
+
* const User = await prisma.user.create({
|
|
13584
|
+
* data: {
|
|
13585
|
+
* // ... data to create a User
|
|
13586
|
+
* }
|
|
13587
|
+
* })
|
|
13588
|
+
*
|
|
13589
|
+
*/
|
|
13590
|
+
create<T extends UserCreateArgs>(args: SelectSubset<T, UserCreateArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
13591
|
+
|
|
13592
|
+
/**
|
|
13593
|
+
* Create many Users.
|
|
13594
|
+
* @param {UserCreateManyArgs} args - Arguments to create many Users.
|
|
13595
|
+
* @example
|
|
13596
|
+
* // Create many Users
|
|
13597
|
+
* const user = await prisma.user.createMany({
|
|
13598
|
+
* data: [
|
|
13599
|
+
* // ... provide data here
|
|
13600
|
+
* ]
|
|
13601
|
+
* })
|
|
13602
|
+
*
|
|
13603
|
+
*/
|
|
13604
|
+
createMany<T extends UserCreateManyArgs>(args?: SelectSubset<T, UserCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
13605
|
+
|
|
13606
|
+
/**
|
|
13607
|
+
* Delete a User.
|
|
13608
|
+
* @param {UserDeleteArgs} args - Arguments to delete one User.
|
|
13609
|
+
* @example
|
|
13610
|
+
* // Delete one User
|
|
13611
|
+
* const User = await prisma.user.delete({
|
|
13612
|
+
* where: {
|
|
13613
|
+
* // ... filter to delete one User
|
|
13614
|
+
* }
|
|
13615
|
+
* })
|
|
13616
|
+
*
|
|
13617
|
+
*/
|
|
13618
|
+
delete<T extends UserDeleteArgs>(args: SelectSubset<T, UserDeleteArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
13619
|
+
|
|
13620
|
+
/**
|
|
13621
|
+
* Update one User.
|
|
13622
|
+
* @param {UserUpdateArgs} args - Arguments to update one User.
|
|
13623
|
+
* @example
|
|
13624
|
+
* // Update one User
|
|
13625
|
+
* const user = await prisma.user.update({
|
|
13626
|
+
* where: {
|
|
13627
|
+
* // ... provide filter here
|
|
13628
|
+
* },
|
|
13629
|
+
* data: {
|
|
13630
|
+
* // ... provide data here
|
|
13631
|
+
* }
|
|
13632
|
+
* })
|
|
13633
|
+
*
|
|
13634
|
+
*/
|
|
13635
|
+
update<T extends UserUpdateArgs>(args: SelectSubset<T, UserUpdateArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
13636
|
+
|
|
13637
|
+
/**
|
|
13638
|
+
* Delete zero or more Users.
|
|
13639
|
+
* @param {UserDeleteManyArgs} args - Arguments to filter Users to delete.
|
|
13640
|
+
* @example
|
|
13641
|
+
* // Delete a few Users
|
|
13642
|
+
* const { count } = await prisma.user.deleteMany({
|
|
13643
|
+
* where: {
|
|
13644
|
+
* // ... provide filter here
|
|
13645
|
+
* }
|
|
13646
|
+
* })
|
|
13647
|
+
*
|
|
13648
|
+
*/
|
|
13649
|
+
deleteMany<T extends UserDeleteManyArgs>(args?: SelectSubset<T, UserDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
13650
|
+
|
|
13651
|
+
/**
|
|
13652
|
+
* Update zero or more Users.
|
|
13653
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
13654
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
13655
|
+
* @param {UserUpdateManyArgs} args - Arguments to update one or more rows.
|
|
13656
|
+
* @example
|
|
13657
|
+
* // Update many Users
|
|
13658
|
+
* const user = await prisma.user.updateMany({
|
|
13659
|
+
* where: {
|
|
13660
|
+
* // ... provide filter here
|
|
13661
|
+
* },
|
|
13662
|
+
* data: {
|
|
13663
|
+
* // ... provide data here
|
|
13664
|
+
* }
|
|
13665
|
+
* })
|
|
13666
|
+
*
|
|
13667
|
+
*/
|
|
13668
|
+
updateMany<T extends UserUpdateManyArgs>(args: SelectSubset<T, UserUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
13669
|
+
|
|
13670
|
+
/**
|
|
13671
|
+
* Create or update one User.
|
|
13672
|
+
* @param {UserUpsertArgs} args - Arguments to update or create a User.
|
|
13673
|
+
* @example
|
|
13674
|
+
* // Update or create a User
|
|
13675
|
+
* const user = await prisma.user.upsert({
|
|
13676
|
+
* create: {
|
|
13677
|
+
* // ... data to create a User
|
|
13678
|
+
* },
|
|
13679
|
+
* update: {
|
|
13680
|
+
* // ... in case it already exists, update
|
|
13681
|
+
* },
|
|
13682
|
+
* where: {
|
|
13683
|
+
* // ... the filter for the User we want to update
|
|
13684
|
+
* }
|
|
13685
|
+
* })
|
|
13686
|
+
*/
|
|
13687
|
+
upsert<T extends UserUpsertArgs>(args: SelectSubset<T, UserUpsertArgs<ExtArgs>>): Prisma__UserClient<$Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
13688
|
+
|
|
13689
|
+
/**
|
|
13690
|
+
* Find zero or more Users that matches the filter.
|
|
13691
|
+
* @param {UserFindRawArgs} args - Select which filters you would like to apply.
|
|
13692
|
+
* @example
|
|
13693
|
+
* const user = await prisma.user.findRaw({
|
|
13694
|
+
* filter: { age: { $gt: 25 } }
|
|
13695
|
+
* })
|
|
13696
|
+
*/
|
|
13697
|
+
findRaw(args?: UserFindRawArgs): Prisma.PrismaPromise<JsonObject>
|
|
13698
|
+
|
|
13699
|
+
/**
|
|
13700
|
+
* Perform aggregation operations on a User.
|
|
13701
|
+
* @param {UserAggregateRawArgs} args - Select which aggregations you would like to apply.
|
|
13702
|
+
* @example
|
|
13703
|
+
* const user = await prisma.user.aggregateRaw({
|
|
13704
|
+
* pipeline: [
|
|
13705
|
+
* { $match: { status: "registered" } },
|
|
13706
|
+
* { $group: { _id: "$country", total: { $sum: 1 } } }
|
|
13707
|
+
* ]
|
|
13708
|
+
* })
|
|
13709
|
+
*/
|
|
13710
|
+
aggregateRaw(args?: UserAggregateRawArgs): Prisma.PrismaPromise<JsonObject>
|
|
13711
|
+
|
|
13712
|
+
|
|
13713
|
+
/**
|
|
13714
|
+
* Count the number of Users.
|
|
13715
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
13716
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
13717
|
+
* @param {UserCountArgs} args - Arguments to filter Users to count.
|
|
13718
|
+
* @example
|
|
13719
|
+
* // Count the number of Users
|
|
13720
|
+
* const count = await prisma.user.count({
|
|
13721
|
+
* where: {
|
|
13722
|
+
* // ... the filter for the Users we want to count
|
|
13723
|
+
* }
|
|
13724
|
+
* })
|
|
13725
|
+
**/
|
|
13726
|
+
count<T extends UserCountArgs>(
|
|
13727
|
+
args?: Subset<T, UserCountArgs>,
|
|
13728
|
+
): Prisma.PrismaPromise<
|
|
13729
|
+
T extends $Utils.Record<'select', any>
|
|
13730
|
+
? T['select'] extends true
|
|
13731
|
+
? number
|
|
13732
|
+
: GetScalarType<T['select'], UserCountAggregateOutputType>
|
|
13733
|
+
: number
|
|
13734
|
+
>
|
|
13735
|
+
|
|
13736
|
+
/**
|
|
13737
|
+
* Allows you to perform aggregations operations on a User.
|
|
13738
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
13739
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
13740
|
+
* @param {UserAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
13741
|
+
* @example
|
|
13742
|
+
* // Ordered by age ascending
|
|
13743
|
+
* // Where email contains prisma.io
|
|
13744
|
+
* // Limited to the 10 users
|
|
13745
|
+
* const aggregations = await prisma.user.aggregate({
|
|
13746
|
+
* _avg: {
|
|
13747
|
+
* age: true,
|
|
13748
|
+
* },
|
|
13749
|
+
* where: {
|
|
13750
|
+
* email: {
|
|
13751
|
+
* contains: "prisma.io",
|
|
13752
|
+
* },
|
|
13753
|
+
* },
|
|
13754
|
+
* orderBy: {
|
|
13755
|
+
* age: "asc",
|
|
13756
|
+
* },
|
|
13757
|
+
* take: 10,
|
|
13758
|
+
* })
|
|
13759
|
+
**/
|
|
13760
|
+
aggregate<T extends UserAggregateArgs>(args: Subset<T, UserAggregateArgs>): Prisma.PrismaPromise<GetUserAggregateType<T>>
|
|
13761
|
+
|
|
13762
|
+
/**
|
|
13763
|
+
* Group by User.
|
|
13764
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
13765
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
13766
|
+
* @param {UserGroupByArgs} args - Group by arguments.
|
|
13767
|
+
* @example
|
|
13768
|
+
* // Group by city, order by createdAt, get count
|
|
13769
|
+
* const result = await prisma.user.groupBy({
|
|
13770
|
+
* by: ['city', 'createdAt'],
|
|
13771
|
+
* orderBy: {
|
|
13772
|
+
* createdAt: true
|
|
13773
|
+
* },
|
|
13774
|
+
* _count: {
|
|
13775
|
+
* _all: true
|
|
13776
|
+
* },
|
|
13777
|
+
* })
|
|
13778
|
+
*
|
|
13779
|
+
**/
|
|
13780
|
+
groupBy<
|
|
13781
|
+
T extends UserGroupByArgs,
|
|
13782
|
+
HasSelectOrTake extends Or<
|
|
13783
|
+
Extends<'skip', Keys<T>>,
|
|
13784
|
+
Extends<'take', Keys<T>>
|
|
13785
|
+
>,
|
|
13786
|
+
OrderByArg extends True extends HasSelectOrTake
|
|
13787
|
+
? { orderBy: UserGroupByArgs['orderBy'] }
|
|
13788
|
+
: { orderBy?: UserGroupByArgs['orderBy'] },
|
|
13789
|
+
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
13790
|
+
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
13791
|
+
ByValid extends Has<ByFields, OrderFields>,
|
|
13792
|
+
HavingFields extends GetHavingFields<T['having']>,
|
|
13793
|
+
HavingValid extends Has<ByFields, HavingFields>,
|
|
13794
|
+
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
13795
|
+
InputErrors extends ByEmpty extends True
|
|
13796
|
+
? `Error: "by" must not be empty.`
|
|
13797
|
+
: HavingValid extends False
|
|
13798
|
+
? {
|
|
13799
|
+
[P in HavingFields]: P extends ByFields
|
|
13800
|
+
? never
|
|
13801
|
+
: P extends string
|
|
13802
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
13803
|
+
: [
|
|
13804
|
+
Error,
|
|
13805
|
+
'Field ',
|
|
13806
|
+
P,
|
|
13807
|
+
` in "having" needs to be provided in "by"`,
|
|
13808
|
+
]
|
|
13809
|
+
}[HavingFields]
|
|
13810
|
+
: 'take' extends Keys<T>
|
|
13811
|
+
? 'orderBy' extends Keys<T>
|
|
13812
|
+
? ByValid extends True
|
|
13813
|
+
? {}
|
|
13814
|
+
: {
|
|
13815
|
+
[P in OrderFields]: P extends ByFields
|
|
13816
|
+
? never
|
|
13817
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
13818
|
+
}[OrderFields]
|
|
13819
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
13820
|
+
: 'skip' extends Keys<T>
|
|
13821
|
+
? 'orderBy' extends Keys<T>
|
|
13822
|
+
? ByValid extends True
|
|
13823
|
+
? {}
|
|
13824
|
+
: {
|
|
13825
|
+
[P in OrderFields]: P extends ByFields
|
|
13826
|
+
? never
|
|
13827
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
13828
|
+
}[OrderFields]
|
|
13829
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
13830
|
+
: ByValid extends True
|
|
13831
|
+
? {}
|
|
13832
|
+
: {
|
|
13833
|
+
[P in OrderFields]: P extends ByFields
|
|
13834
|
+
? never
|
|
13835
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
13836
|
+
}[OrderFields]
|
|
13837
|
+
>(args: SubsetIntersection<T, UserGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUserGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
13838
|
+
/**
|
|
13839
|
+
* Fields of the User model
|
|
13840
|
+
*/
|
|
13841
|
+
readonly fields: UserFieldRefs;
|
|
13842
|
+
}
|
|
13843
|
+
|
|
13844
|
+
/**
|
|
13845
|
+
* The delegate class that acts as a "Promise-like" for User.
|
|
13846
|
+
* Why is this prefixed with `Prisma__`?
|
|
13847
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
13848
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
13849
|
+
*/
|
|
13850
|
+
export interface Prisma__UserClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
13851
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
13852
|
+
/**
|
|
13853
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
13854
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
13855
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
13856
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
13857
|
+
*/
|
|
13858
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
13859
|
+
/**
|
|
13860
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
13861
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
13862
|
+
* @returns A Promise for the completion of the callback.
|
|
13863
|
+
*/
|
|
13864
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
13865
|
+
/**
|
|
13866
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
13867
|
+
* resolved value cannot be modified from the callback.
|
|
13868
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
13869
|
+
* @returns A Promise for the completion of the callback.
|
|
13870
|
+
*/
|
|
13871
|
+
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
13872
|
+
}
|
|
13873
|
+
|
|
13874
|
+
|
|
13875
|
+
|
|
13876
|
+
|
|
13877
|
+
/**
|
|
13878
|
+
* Fields of the User model
|
|
13879
|
+
*/
|
|
13880
|
+
interface UserFieldRefs {
|
|
13881
|
+
readonly objectId: FieldRef<"User", 'String'>
|
|
13882
|
+
readonly walletAddress: FieldRef<"User", 'String'>
|
|
13883
|
+
readonly userName: FieldRef<"User", 'String'>
|
|
13884
|
+
readonly timeZone: FieldRef<"User", 'DateTime'>
|
|
13885
|
+
readonly preferredTimeZone: FieldRef<"User", 'DateTime'>
|
|
13886
|
+
readonly userOddsPreference: FieldRef<"User", 'UserOddsPreference'>
|
|
13887
|
+
readonly profileImageUrl: FieldRef<"User", 'String'>
|
|
13888
|
+
readonly createdAt: FieldRef<"User", 'DateTime'>
|
|
13889
|
+
readonly updatedAt: FieldRef<"User", 'DateTime'>
|
|
13890
|
+
}
|
|
13891
|
+
|
|
13892
|
+
|
|
13893
|
+
// Custom InputTypes
|
|
13894
|
+
/**
|
|
13895
|
+
* User findUnique
|
|
13896
|
+
*/
|
|
13897
|
+
export type UserFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
13898
|
+
/**
|
|
13899
|
+
* Select specific fields to fetch from the User
|
|
13900
|
+
*/
|
|
13901
|
+
select?: UserSelect<ExtArgs> | null
|
|
13902
|
+
/**
|
|
13903
|
+
* Omit specific fields from the User
|
|
13904
|
+
*/
|
|
13905
|
+
omit?: UserOmit<ExtArgs> | null
|
|
13906
|
+
/**
|
|
13907
|
+
* Filter, which User to fetch.
|
|
13908
|
+
*/
|
|
13909
|
+
where: UserWhereUniqueInput
|
|
13910
|
+
}
|
|
13911
|
+
|
|
13912
|
+
/**
|
|
13913
|
+
* User findUniqueOrThrow
|
|
13914
|
+
*/
|
|
13915
|
+
export type UserFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
13916
|
+
/**
|
|
13917
|
+
* Select specific fields to fetch from the User
|
|
13918
|
+
*/
|
|
13919
|
+
select?: UserSelect<ExtArgs> | null
|
|
13920
|
+
/**
|
|
13921
|
+
* Omit specific fields from the User
|
|
13922
|
+
*/
|
|
13923
|
+
omit?: UserOmit<ExtArgs> | null
|
|
13924
|
+
/**
|
|
13925
|
+
* Filter, which User to fetch.
|
|
13926
|
+
*/
|
|
13927
|
+
where: UserWhereUniqueInput
|
|
13928
|
+
}
|
|
13929
|
+
|
|
13930
|
+
/**
|
|
13931
|
+
* User findFirst
|
|
13932
|
+
*/
|
|
13933
|
+
export type UserFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
13934
|
+
/**
|
|
13935
|
+
* Select specific fields to fetch from the User
|
|
13936
|
+
*/
|
|
13937
|
+
select?: UserSelect<ExtArgs> | null
|
|
13938
|
+
/**
|
|
13939
|
+
* Omit specific fields from the User
|
|
13940
|
+
*/
|
|
13941
|
+
omit?: UserOmit<ExtArgs> | null
|
|
13942
|
+
/**
|
|
13943
|
+
* Filter, which User to fetch.
|
|
13944
|
+
*/
|
|
13945
|
+
where?: UserWhereInput
|
|
13946
|
+
/**
|
|
13947
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
13948
|
+
*
|
|
13949
|
+
* Determine the order of Users to fetch.
|
|
13950
|
+
*/
|
|
13951
|
+
orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[]
|
|
13952
|
+
/**
|
|
13953
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
13954
|
+
*
|
|
13955
|
+
* Sets the position for searching for Users.
|
|
13956
|
+
*/
|
|
13957
|
+
cursor?: UserWhereUniqueInput
|
|
13958
|
+
/**
|
|
13959
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
13960
|
+
*
|
|
13961
|
+
* Take `±n` Users from the position of the cursor.
|
|
13962
|
+
*/
|
|
13963
|
+
take?: number
|
|
13964
|
+
/**
|
|
13965
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
13966
|
+
*
|
|
13967
|
+
* Skip the first `n` Users.
|
|
13968
|
+
*/
|
|
13969
|
+
skip?: number
|
|
13970
|
+
/**
|
|
13971
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
13972
|
+
*
|
|
13973
|
+
* Filter by unique combinations of Users.
|
|
13974
|
+
*/
|
|
13975
|
+
distinct?: UserScalarFieldEnum | UserScalarFieldEnum[]
|
|
13976
|
+
}
|
|
13977
|
+
|
|
13978
|
+
/**
|
|
13979
|
+
* User findFirstOrThrow
|
|
13980
|
+
*/
|
|
13981
|
+
export type UserFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
13982
|
+
/**
|
|
13983
|
+
* Select specific fields to fetch from the User
|
|
13984
|
+
*/
|
|
13985
|
+
select?: UserSelect<ExtArgs> | null
|
|
13986
|
+
/**
|
|
13987
|
+
* Omit specific fields from the User
|
|
13988
|
+
*/
|
|
13989
|
+
omit?: UserOmit<ExtArgs> | null
|
|
13990
|
+
/**
|
|
13991
|
+
* Filter, which User to fetch.
|
|
13992
|
+
*/
|
|
13993
|
+
where?: UserWhereInput
|
|
13994
|
+
/**
|
|
13995
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
13996
|
+
*
|
|
13997
|
+
* Determine the order of Users to fetch.
|
|
13998
|
+
*/
|
|
13999
|
+
orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[]
|
|
14000
|
+
/**
|
|
14001
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
14002
|
+
*
|
|
14003
|
+
* Sets the position for searching for Users.
|
|
14004
|
+
*/
|
|
14005
|
+
cursor?: UserWhereUniqueInput
|
|
14006
|
+
/**
|
|
14007
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
14008
|
+
*
|
|
14009
|
+
* Take `±n` Users from the position of the cursor.
|
|
14010
|
+
*/
|
|
14011
|
+
take?: number
|
|
14012
|
+
/**
|
|
14013
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
14014
|
+
*
|
|
14015
|
+
* Skip the first `n` Users.
|
|
14016
|
+
*/
|
|
14017
|
+
skip?: number
|
|
14018
|
+
/**
|
|
14019
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
14020
|
+
*
|
|
14021
|
+
* Filter by unique combinations of Users.
|
|
14022
|
+
*/
|
|
14023
|
+
distinct?: UserScalarFieldEnum | UserScalarFieldEnum[]
|
|
14024
|
+
}
|
|
14025
|
+
|
|
14026
|
+
/**
|
|
14027
|
+
* User findMany
|
|
14028
|
+
*/
|
|
14029
|
+
export type UserFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
14030
|
+
/**
|
|
14031
|
+
* Select specific fields to fetch from the User
|
|
14032
|
+
*/
|
|
14033
|
+
select?: UserSelect<ExtArgs> | null
|
|
14034
|
+
/**
|
|
14035
|
+
* Omit specific fields from the User
|
|
14036
|
+
*/
|
|
14037
|
+
omit?: UserOmit<ExtArgs> | null
|
|
14038
|
+
/**
|
|
14039
|
+
* Filter, which Users to fetch.
|
|
14040
|
+
*/
|
|
14041
|
+
where?: UserWhereInput
|
|
14042
|
+
/**
|
|
14043
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
14044
|
+
*
|
|
14045
|
+
* Determine the order of Users to fetch.
|
|
14046
|
+
*/
|
|
14047
|
+
orderBy?: UserOrderByWithRelationInput | UserOrderByWithRelationInput[]
|
|
14048
|
+
/**
|
|
14049
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
14050
|
+
*
|
|
14051
|
+
* Sets the position for listing Users.
|
|
14052
|
+
*/
|
|
14053
|
+
cursor?: UserWhereUniqueInput
|
|
14054
|
+
/**
|
|
14055
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
14056
|
+
*
|
|
14057
|
+
* Take `±n` Users from the position of the cursor.
|
|
14058
|
+
*/
|
|
14059
|
+
take?: number
|
|
14060
|
+
/**
|
|
14061
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
14062
|
+
*
|
|
14063
|
+
* Skip the first `n` Users.
|
|
14064
|
+
*/
|
|
14065
|
+
skip?: number
|
|
14066
|
+
distinct?: UserScalarFieldEnum | UserScalarFieldEnum[]
|
|
14067
|
+
}
|
|
14068
|
+
|
|
14069
|
+
/**
|
|
14070
|
+
* User create
|
|
14071
|
+
*/
|
|
14072
|
+
export type UserCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
14073
|
+
/**
|
|
14074
|
+
* Select specific fields to fetch from the User
|
|
14075
|
+
*/
|
|
14076
|
+
select?: UserSelect<ExtArgs> | null
|
|
14077
|
+
/**
|
|
14078
|
+
* Omit specific fields from the User
|
|
14079
|
+
*/
|
|
14080
|
+
omit?: UserOmit<ExtArgs> | null
|
|
14081
|
+
/**
|
|
14082
|
+
* The data needed to create a User.
|
|
14083
|
+
*/
|
|
14084
|
+
data: XOR<UserCreateInput, UserUncheckedCreateInput>
|
|
14085
|
+
}
|
|
14086
|
+
|
|
14087
|
+
/**
|
|
14088
|
+
* User createMany
|
|
14089
|
+
*/
|
|
14090
|
+
export type UserCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
14091
|
+
/**
|
|
14092
|
+
* The data used to create many Users.
|
|
14093
|
+
*/
|
|
14094
|
+
data: UserCreateManyInput | UserCreateManyInput[]
|
|
14095
|
+
}
|
|
14096
|
+
|
|
14097
|
+
/**
|
|
14098
|
+
* User update
|
|
14099
|
+
*/
|
|
14100
|
+
export type UserUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
14101
|
+
/**
|
|
14102
|
+
* Select specific fields to fetch from the User
|
|
14103
|
+
*/
|
|
14104
|
+
select?: UserSelect<ExtArgs> | null
|
|
14105
|
+
/**
|
|
14106
|
+
* Omit specific fields from the User
|
|
14107
|
+
*/
|
|
14108
|
+
omit?: UserOmit<ExtArgs> | null
|
|
14109
|
+
/**
|
|
14110
|
+
* The data needed to update a User.
|
|
14111
|
+
*/
|
|
14112
|
+
data: XOR<UserUpdateInput, UserUncheckedUpdateInput>
|
|
14113
|
+
/**
|
|
14114
|
+
* Choose, which User to update.
|
|
14115
|
+
*/
|
|
14116
|
+
where: UserWhereUniqueInput
|
|
14117
|
+
}
|
|
14118
|
+
|
|
14119
|
+
/**
|
|
14120
|
+
* User updateMany
|
|
14121
|
+
*/
|
|
14122
|
+
export type UserUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
14123
|
+
/**
|
|
14124
|
+
* The data used to update Users.
|
|
14125
|
+
*/
|
|
14126
|
+
data: XOR<UserUpdateManyMutationInput, UserUncheckedUpdateManyInput>
|
|
14127
|
+
/**
|
|
14128
|
+
* Filter which Users to update
|
|
14129
|
+
*/
|
|
14130
|
+
where?: UserWhereInput
|
|
14131
|
+
/**
|
|
14132
|
+
* Limit how many Users to update.
|
|
14133
|
+
*/
|
|
14134
|
+
limit?: number
|
|
14135
|
+
}
|
|
14136
|
+
|
|
14137
|
+
/**
|
|
14138
|
+
* User upsert
|
|
14139
|
+
*/
|
|
14140
|
+
export type UserUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
14141
|
+
/**
|
|
14142
|
+
* Select specific fields to fetch from the User
|
|
14143
|
+
*/
|
|
14144
|
+
select?: UserSelect<ExtArgs> | null
|
|
14145
|
+
/**
|
|
14146
|
+
* Omit specific fields from the User
|
|
14147
|
+
*/
|
|
14148
|
+
omit?: UserOmit<ExtArgs> | null
|
|
14149
|
+
/**
|
|
14150
|
+
* The filter to search for the User to update in case it exists.
|
|
14151
|
+
*/
|
|
14152
|
+
where: UserWhereUniqueInput
|
|
14153
|
+
/**
|
|
14154
|
+
* In case the User found by the `where` argument doesn't exist, create a new User with this data.
|
|
14155
|
+
*/
|
|
14156
|
+
create: XOR<UserCreateInput, UserUncheckedCreateInput>
|
|
14157
|
+
/**
|
|
14158
|
+
* In case the User was found with the provided `where` argument, update it with this data.
|
|
14159
|
+
*/
|
|
14160
|
+
update: XOR<UserUpdateInput, UserUncheckedUpdateInput>
|
|
14161
|
+
}
|
|
14162
|
+
|
|
14163
|
+
/**
|
|
14164
|
+
* User delete
|
|
14165
|
+
*/
|
|
14166
|
+
export type UserDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
14167
|
+
/**
|
|
14168
|
+
* Select specific fields to fetch from the User
|
|
14169
|
+
*/
|
|
14170
|
+
select?: UserSelect<ExtArgs> | null
|
|
14171
|
+
/**
|
|
14172
|
+
* Omit specific fields from the User
|
|
14173
|
+
*/
|
|
14174
|
+
omit?: UserOmit<ExtArgs> | null
|
|
14175
|
+
/**
|
|
14176
|
+
* Filter which User to delete.
|
|
14177
|
+
*/
|
|
14178
|
+
where: UserWhereUniqueInput
|
|
14179
|
+
}
|
|
14180
|
+
|
|
14181
|
+
/**
|
|
14182
|
+
* User deleteMany
|
|
14183
|
+
*/
|
|
14184
|
+
export type UserDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
14185
|
+
/**
|
|
14186
|
+
* Filter which Users to delete
|
|
14187
|
+
*/
|
|
14188
|
+
where?: UserWhereInput
|
|
14189
|
+
/**
|
|
14190
|
+
* Limit how many Users to delete.
|
|
14191
|
+
*/
|
|
14192
|
+
limit?: number
|
|
14193
|
+
}
|
|
14194
|
+
|
|
14195
|
+
/**
|
|
14196
|
+
* User findRaw
|
|
14197
|
+
*/
|
|
14198
|
+
export type UserFindRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
14199
|
+
/**
|
|
14200
|
+
* The query predicate filter. If unspecified, then all documents in the collection will match the predicate. ${@link https://docs.mongodb.com/manual/reference/operator/query MongoDB Docs}.
|
|
14201
|
+
*/
|
|
14202
|
+
filter?: InputJsonValue
|
|
14203
|
+
/**
|
|
14204
|
+
* Additional options to pass to the `find` command ${@link https://docs.mongodb.com/manual/reference/command/find/#command-fields MongoDB Docs}.
|
|
14205
|
+
*/
|
|
14206
|
+
options?: InputJsonValue
|
|
14207
|
+
}
|
|
14208
|
+
|
|
14209
|
+
/**
|
|
14210
|
+
* User aggregateRaw
|
|
14211
|
+
*/
|
|
14212
|
+
export type UserAggregateRawArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
14213
|
+
/**
|
|
14214
|
+
* An array of aggregation stages to process and transform the document stream via the aggregation pipeline. ${@link https://docs.mongodb.com/manual/reference/operator/aggregation-pipeline MongoDB Docs}.
|
|
14215
|
+
*/
|
|
14216
|
+
pipeline?: InputJsonValue[]
|
|
14217
|
+
/**
|
|
14218
|
+
* Additional options to pass to the `aggregate` command ${@link https://docs.mongodb.com/manual/reference/command/aggregate/#command-fields MongoDB Docs}.
|
|
14219
|
+
*/
|
|
14220
|
+
options?: InputJsonValue
|
|
14221
|
+
}
|
|
14222
|
+
|
|
14223
|
+
/**
|
|
14224
|
+
* User without action
|
|
14225
|
+
*/
|
|
14226
|
+
export type UserDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
14227
|
+
/**
|
|
14228
|
+
* Select specific fields to fetch from the User
|
|
14229
|
+
*/
|
|
14230
|
+
select?: UserSelect<ExtArgs> | null
|
|
14231
|
+
/**
|
|
14232
|
+
* Omit specific fields from the User
|
|
14233
|
+
*/
|
|
14234
|
+
omit?: UserOmit<ExtArgs> | null
|
|
14235
|
+
}
|
|
14236
|
+
|
|
14237
|
+
|
|
14238
|
+
/**
|
|
14239
|
+
* Enums
|
|
14240
|
+
*/
|
|
14241
|
+
|
|
14242
|
+
export const ProviderScalarFieldEnum: {
|
|
14243
|
+
objectId: 'objectId',
|
|
14244
|
+
name: 'name',
|
|
14245
|
+
providerUrl: 'providerUrl',
|
|
14246
|
+
createdAt: 'createdAt',
|
|
14247
|
+
updatedAt: 'updatedAt'
|
|
14248
|
+
};
|
|
14249
|
+
|
|
14250
|
+
export type ProviderScalarFieldEnum = (typeof ProviderScalarFieldEnum)[keyof typeof ProviderScalarFieldEnum]
|
|
14251
|
+
|
|
14252
|
+
|
|
14253
|
+
export const TournamentScalarFieldEnum: {
|
|
14254
|
+
objectId: 'objectId',
|
|
14255
|
+
levrTournamentId: 'levrTournamentId',
|
|
14256
|
+
chainId: 'chainId',
|
|
14257
|
+
name: 'name',
|
|
14258
|
+
description: 'description',
|
|
14259
|
+
bannerUrl: 'bannerUrl',
|
|
14260
|
+
startDate: 'startDate',
|
|
14261
|
+
endDate: 'endDate',
|
|
14262
|
+
createdAt: 'createdAt',
|
|
14263
|
+
updatedAt: 'updatedAt'
|
|
14264
|
+
};
|
|
14265
|
+
|
|
14266
|
+
export type TournamentScalarFieldEnum = (typeof TournamentScalarFieldEnum)[keyof typeof TournamentScalarFieldEnum]
|
|
14267
|
+
|
|
14268
|
+
|
|
14269
|
+
export const SportScalarFieldEnum: {
|
|
14270
|
+
objectId: 'objectId',
|
|
14271
|
+
levrSportId: 'levrSportId',
|
|
14272
|
+
name: 'name',
|
|
14273
|
+
periodType: 'periodType',
|
|
14274
|
+
scoringType: 'scoringType',
|
|
14275
|
+
standardDurationMs: 'standardDurationMs',
|
|
14276
|
+
standardPeriods: 'standardPeriods',
|
|
14277
|
+
periodDuration: 'periodDuration',
|
|
14278
|
+
hasDrawMarket: 'hasDrawMarket',
|
|
14279
|
+
sportGroup: 'sportGroup',
|
|
14280
|
+
createdAt: 'createdAt',
|
|
14281
|
+
updatedAt: 'updatedAt'
|
|
14282
|
+
};
|
|
14283
|
+
|
|
14284
|
+
export type SportScalarFieldEnum = (typeof SportScalarFieldEnum)[keyof typeof SportScalarFieldEnum]
|
|
14285
|
+
|
|
14286
|
+
|
|
14287
|
+
export const LeagueScalarFieldEnum: {
|
|
14288
|
+
objectId: 'objectId',
|
|
14289
|
+
name: 'name',
|
|
14290
|
+
abbreviation: 'abbreviation',
|
|
14291
|
+
country: 'country',
|
|
14292
|
+
levrLeagueId: 'levrLeagueId',
|
|
14293
|
+
opticOddsLeagueId: 'opticOddsLeagueId',
|
|
14294
|
+
lsportsLeagueId: 'lsportsLeagueId',
|
|
14295
|
+
tournamentObjectId: 'tournamentObjectId',
|
|
14296
|
+
sportObjectId: 'sportObjectId',
|
|
14297
|
+
levrSportId: 'levrSportId',
|
|
14298
|
+
createdAt: 'createdAt',
|
|
14299
|
+
updatedAt: 'updatedAt'
|
|
14300
|
+
};
|
|
14301
|
+
|
|
14302
|
+
export type LeagueScalarFieldEnum = (typeof LeagueScalarFieldEnum)[keyof typeof LeagueScalarFieldEnum]
|
|
14303
|
+
|
|
14304
|
+
|
|
14305
|
+
export const TeamDataScalarFieldEnum: {
|
|
14306
|
+
objectId: 'objectId',
|
|
14307
|
+
levrTeamName: 'levrTeamName',
|
|
14308
|
+
levrTeamOfficialAbbreviation: 'levrTeamOfficialAbbreviation',
|
|
14309
|
+
lsportsTeamName: 'lsportsTeamName',
|
|
14310
|
+
opticOddsTeamName: 'opticOddsTeamName',
|
|
14311
|
+
lsportsTeamId: 'lsportsTeamId',
|
|
14312
|
+
opticOddsTeamId: 'opticOddsTeamId',
|
|
14313
|
+
levrTeamId: 'levrTeamId',
|
|
14314
|
+
opticOddsTeamLogoUrl: 'opticOddsTeamLogoUrl',
|
|
14315
|
+
levrTeamLogoUrl: 'levrTeamLogoUrl',
|
|
14316
|
+
leagueObjectId: 'leagueObjectId',
|
|
14317
|
+
levrleagueId: 'levrleagueId'
|
|
14318
|
+
};
|
|
14319
|
+
|
|
14320
|
+
export type TeamDataScalarFieldEnum = (typeof TeamDataScalarFieldEnum)[keyof typeof TeamDataScalarFieldEnum]
|
|
14321
|
+
|
|
14322
|
+
|
|
14323
|
+
export const FixtureScalarFieldEnum: {
|
|
14324
|
+
objectId: 'objectId',
|
|
14325
|
+
levrFixtureId: 'levrFixtureId',
|
|
14326
|
+
opticOddsFixtureId: 'opticOddsFixtureId',
|
|
14327
|
+
lsportsFixtureId: 'lsportsFixtureId',
|
|
14328
|
+
seasonType: 'seasonType',
|
|
14329
|
+
venue: 'venue',
|
|
14330
|
+
eventName: 'eventName',
|
|
14331
|
+
location: 'location',
|
|
14332
|
+
venueLocation: 'venueLocation',
|
|
14333
|
+
fixtureDate: 'fixtureDate',
|
|
14334
|
+
lastUpdated: 'lastUpdated',
|
|
14335
|
+
homeTeam: 'homeTeam',
|
|
14336
|
+
awayTeam: 'awayTeam',
|
|
14337
|
+
fixtureStatus: 'fixtureStatus',
|
|
14338
|
+
leagueObjectId: 'leagueObjectId',
|
|
14339
|
+
createdAt: 'createdAt',
|
|
14340
|
+
updatedAt: 'updatedAt'
|
|
14341
|
+
};
|
|
14342
|
+
|
|
14343
|
+
export type FixtureScalarFieldEnum = (typeof FixtureScalarFieldEnum)[keyof typeof FixtureScalarFieldEnum]
|
|
14344
|
+
|
|
14345
|
+
|
|
14346
|
+
export const ScoresScalarFieldEnum: {
|
|
14347
|
+
objectId: 'objectId',
|
|
14348
|
+
scoresByPeriodHome: 'scoresByPeriodHome',
|
|
14349
|
+
scoresByPeriodAway: 'scoresByPeriodAway',
|
|
14350
|
+
totalScoresHome: 'totalScoresHome',
|
|
14351
|
+
totalScoresAway: 'totalScoresAway',
|
|
14352
|
+
fixtureObjectId: 'fixtureObjectId',
|
|
14353
|
+
createdAt: 'createdAt',
|
|
14354
|
+
updatedAt: 'updatedAt'
|
|
14355
|
+
};
|
|
14356
|
+
|
|
14357
|
+
export type ScoresScalarFieldEnum = (typeof ScoresScalarFieldEnum)[keyof typeof ScoresScalarFieldEnum]
|
|
14358
|
+
|
|
14359
|
+
|
|
14360
|
+
export const LevrGameScalarFieldEnum: {
|
|
14361
|
+
objectId: 'objectId',
|
|
14362
|
+
gameId: 'gameId',
|
|
14363
|
+
txHash: 'txHash',
|
|
14364
|
+
chainId: 'chainId',
|
|
14365
|
+
seasonType: 'seasonType',
|
|
14366
|
+
venue: 'venue',
|
|
14367
|
+
eventName: 'eventName',
|
|
14368
|
+
location: 'location',
|
|
14369
|
+
venueLocation: 'venueLocation',
|
|
14370
|
+
gameClock: 'gameClock',
|
|
14371
|
+
paused: 'paused',
|
|
14372
|
+
fixtureDate: 'fixtureDate',
|
|
14373
|
+
wentLiveAt: 'wentLiveAt',
|
|
13294
14374
|
homeTeam: 'homeTeam',
|
|
13295
14375
|
awayTeam: 'awayTeam',
|
|
13296
14376
|
currentPeriod: 'currentPeriod',
|
|
@@ -13360,6 +14440,21 @@ export namespace Prisma {
|
|
|
13360
14440
|
export type MarketScalarFieldEnum = (typeof MarketScalarFieldEnum)[keyof typeof MarketScalarFieldEnum]
|
|
13361
14441
|
|
|
13362
14442
|
|
|
14443
|
+
export const UserScalarFieldEnum: {
|
|
14444
|
+
objectId: 'objectId',
|
|
14445
|
+
walletAddress: 'walletAddress',
|
|
14446
|
+
userName: 'userName',
|
|
14447
|
+
timeZone: 'timeZone',
|
|
14448
|
+
preferredTimeZone: 'preferredTimeZone',
|
|
14449
|
+
userOddsPreference: 'userOddsPreference',
|
|
14450
|
+
profileImageUrl: 'profileImageUrl',
|
|
14451
|
+
createdAt: 'createdAt',
|
|
14452
|
+
updatedAt: 'updatedAt'
|
|
14453
|
+
};
|
|
14454
|
+
|
|
14455
|
+
export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
|
|
14456
|
+
|
|
14457
|
+
|
|
13363
14458
|
export const SortOrder: {
|
|
13364
14459
|
asc: 'asc',
|
|
13365
14460
|
desc: 'desc'
|
|
@@ -13533,6 +14628,20 @@ export namespace Prisma {
|
|
|
13533
14628
|
*/
|
|
13534
14629
|
export type ListEnumMarketStatusFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'MarketStatus[]'>
|
|
13535
14630
|
|
|
14631
|
+
|
|
14632
|
+
|
|
14633
|
+
/**
|
|
14634
|
+
* Reference to a field of type 'UserOddsPreference'
|
|
14635
|
+
*/
|
|
14636
|
+
export type EnumUserOddsPreferenceFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'UserOddsPreference'>
|
|
14637
|
+
|
|
14638
|
+
|
|
14639
|
+
|
|
14640
|
+
/**
|
|
14641
|
+
* Reference to a field of type 'UserOddsPreference[]'
|
|
14642
|
+
*/
|
|
14643
|
+
export type ListEnumUserOddsPreferenceFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'UserOddsPreference[]'>
|
|
14644
|
+
|
|
13536
14645
|
/**
|
|
13537
14646
|
* Deep Input Types
|
|
13538
14647
|
*/
|
|
@@ -14589,6 +15698,78 @@ export namespace Prisma {
|
|
|
14589
15698
|
updatedAt?: DateTimeWithAggregatesFilter<"Market"> | Date | string
|
|
14590
15699
|
}
|
|
14591
15700
|
|
|
15701
|
+
export type UserWhereInput = {
|
|
15702
|
+
AND?: UserWhereInput | UserWhereInput[]
|
|
15703
|
+
OR?: UserWhereInput[]
|
|
15704
|
+
NOT?: UserWhereInput | UserWhereInput[]
|
|
15705
|
+
objectId?: StringFilter<"User"> | string
|
|
15706
|
+
walletAddress?: StringFilter<"User"> | string
|
|
15707
|
+
userName?: StringFilter<"User"> | string
|
|
15708
|
+
timeZone?: DateTimeFilter<"User"> | Date | string
|
|
15709
|
+
preferredTimeZone?: DateTimeFilter<"User"> | Date | string
|
|
15710
|
+
userOddsPreference?: EnumUserOddsPreferenceFilter<"User"> | $Enums.UserOddsPreference
|
|
15711
|
+
profileImageUrl?: StringFilter<"User"> | string
|
|
15712
|
+
createdAt?: DateTimeFilter<"User"> | Date | string
|
|
15713
|
+
updatedAt?: DateTimeFilter<"User"> | Date | string
|
|
15714
|
+
}
|
|
15715
|
+
|
|
15716
|
+
export type UserOrderByWithRelationInput = {
|
|
15717
|
+
objectId?: SortOrder
|
|
15718
|
+
walletAddress?: SortOrder
|
|
15719
|
+
userName?: SortOrder
|
|
15720
|
+
timeZone?: SortOrder
|
|
15721
|
+
preferredTimeZone?: SortOrder
|
|
15722
|
+
userOddsPreference?: SortOrder
|
|
15723
|
+
profileImageUrl?: SortOrder
|
|
15724
|
+
createdAt?: SortOrder
|
|
15725
|
+
updatedAt?: SortOrder
|
|
15726
|
+
}
|
|
15727
|
+
|
|
15728
|
+
export type UserWhereUniqueInput = Prisma.AtLeast<{
|
|
15729
|
+
objectId?: string
|
|
15730
|
+
walletAddress?: string
|
|
15731
|
+
userName?: string
|
|
15732
|
+
AND?: UserWhereInput | UserWhereInput[]
|
|
15733
|
+
OR?: UserWhereInput[]
|
|
15734
|
+
NOT?: UserWhereInput | UserWhereInput[]
|
|
15735
|
+
timeZone?: DateTimeFilter<"User"> | Date | string
|
|
15736
|
+
preferredTimeZone?: DateTimeFilter<"User"> | Date | string
|
|
15737
|
+
userOddsPreference?: EnumUserOddsPreferenceFilter<"User"> | $Enums.UserOddsPreference
|
|
15738
|
+
profileImageUrl?: StringFilter<"User"> | string
|
|
15739
|
+
createdAt?: DateTimeFilter<"User"> | Date | string
|
|
15740
|
+
updatedAt?: DateTimeFilter<"User"> | Date | string
|
|
15741
|
+
}, "objectId" | "walletAddress" | "userName">
|
|
15742
|
+
|
|
15743
|
+
export type UserOrderByWithAggregationInput = {
|
|
15744
|
+
objectId?: SortOrder
|
|
15745
|
+
walletAddress?: SortOrder
|
|
15746
|
+
userName?: SortOrder
|
|
15747
|
+
timeZone?: SortOrder
|
|
15748
|
+
preferredTimeZone?: SortOrder
|
|
15749
|
+
userOddsPreference?: SortOrder
|
|
15750
|
+
profileImageUrl?: SortOrder
|
|
15751
|
+
createdAt?: SortOrder
|
|
15752
|
+
updatedAt?: SortOrder
|
|
15753
|
+
_count?: UserCountOrderByAggregateInput
|
|
15754
|
+
_max?: UserMaxOrderByAggregateInput
|
|
15755
|
+
_min?: UserMinOrderByAggregateInput
|
|
15756
|
+
}
|
|
15757
|
+
|
|
15758
|
+
export type UserScalarWhereWithAggregatesInput = {
|
|
15759
|
+
AND?: UserScalarWhereWithAggregatesInput | UserScalarWhereWithAggregatesInput[]
|
|
15760
|
+
OR?: UserScalarWhereWithAggregatesInput[]
|
|
15761
|
+
NOT?: UserScalarWhereWithAggregatesInput | UserScalarWhereWithAggregatesInput[]
|
|
15762
|
+
objectId?: StringWithAggregatesFilter<"User"> | string
|
|
15763
|
+
walletAddress?: StringWithAggregatesFilter<"User"> | string
|
|
15764
|
+
userName?: StringWithAggregatesFilter<"User"> | string
|
|
15765
|
+
timeZone?: DateTimeWithAggregatesFilter<"User"> | Date | string
|
|
15766
|
+
preferredTimeZone?: DateTimeWithAggregatesFilter<"User"> | Date | string
|
|
15767
|
+
userOddsPreference?: EnumUserOddsPreferenceWithAggregatesFilter<"User"> | $Enums.UserOddsPreference
|
|
15768
|
+
profileImageUrl?: StringWithAggregatesFilter<"User"> | string
|
|
15769
|
+
createdAt?: DateTimeWithAggregatesFilter<"User"> | Date | string
|
|
15770
|
+
updatedAt?: DateTimeWithAggregatesFilter<"User"> | Date | string
|
|
15771
|
+
}
|
|
15772
|
+
|
|
14592
15773
|
export type ProviderCreateInput = {
|
|
14593
15774
|
objectId?: string
|
|
14594
15775
|
name: string
|
|
@@ -15776,6 +16957,86 @@ export namespace Prisma {
|
|
|
15776
16957
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
15777
16958
|
}
|
|
15778
16959
|
|
|
16960
|
+
export type UserCreateInput = {
|
|
16961
|
+
objectId?: string
|
|
16962
|
+
walletAddress: string
|
|
16963
|
+
userName: string
|
|
16964
|
+
timeZone: Date | string
|
|
16965
|
+
preferredTimeZone: Date | string
|
|
16966
|
+
userOddsPreference: $Enums.UserOddsPreference
|
|
16967
|
+
profileImageUrl: string
|
|
16968
|
+
createdAt?: Date | string
|
|
16969
|
+
updatedAt?: Date | string
|
|
16970
|
+
}
|
|
16971
|
+
|
|
16972
|
+
export type UserUncheckedCreateInput = {
|
|
16973
|
+
objectId?: string
|
|
16974
|
+
walletAddress: string
|
|
16975
|
+
userName: string
|
|
16976
|
+
timeZone: Date | string
|
|
16977
|
+
preferredTimeZone: Date | string
|
|
16978
|
+
userOddsPreference: $Enums.UserOddsPreference
|
|
16979
|
+
profileImageUrl: string
|
|
16980
|
+
createdAt?: Date | string
|
|
16981
|
+
updatedAt?: Date | string
|
|
16982
|
+
}
|
|
16983
|
+
|
|
16984
|
+
export type UserUpdateInput = {
|
|
16985
|
+
walletAddress?: StringFieldUpdateOperationsInput | string
|
|
16986
|
+
userName?: StringFieldUpdateOperationsInput | string
|
|
16987
|
+
timeZone?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
16988
|
+
preferredTimeZone?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
16989
|
+
userOddsPreference?: EnumUserOddsPreferenceFieldUpdateOperationsInput | $Enums.UserOddsPreference
|
|
16990
|
+
profileImageUrl?: StringFieldUpdateOperationsInput | string
|
|
16991
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
16992
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
16993
|
+
}
|
|
16994
|
+
|
|
16995
|
+
export type UserUncheckedUpdateInput = {
|
|
16996
|
+
walletAddress?: StringFieldUpdateOperationsInput | string
|
|
16997
|
+
userName?: StringFieldUpdateOperationsInput | string
|
|
16998
|
+
timeZone?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
16999
|
+
preferredTimeZone?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
17000
|
+
userOddsPreference?: EnumUserOddsPreferenceFieldUpdateOperationsInput | $Enums.UserOddsPreference
|
|
17001
|
+
profileImageUrl?: StringFieldUpdateOperationsInput | string
|
|
17002
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
17003
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
17004
|
+
}
|
|
17005
|
+
|
|
17006
|
+
export type UserCreateManyInput = {
|
|
17007
|
+
objectId?: string
|
|
17008
|
+
walletAddress: string
|
|
17009
|
+
userName: string
|
|
17010
|
+
timeZone: Date | string
|
|
17011
|
+
preferredTimeZone: Date | string
|
|
17012
|
+
userOddsPreference: $Enums.UserOddsPreference
|
|
17013
|
+
profileImageUrl: string
|
|
17014
|
+
createdAt?: Date | string
|
|
17015
|
+
updatedAt?: Date | string
|
|
17016
|
+
}
|
|
17017
|
+
|
|
17018
|
+
export type UserUpdateManyMutationInput = {
|
|
17019
|
+
walletAddress?: StringFieldUpdateOperationsInput | string
|
|
17020
|
+
userName?: StringFieldUpdateOperationsInput | string
|
|
17021
|
+
timeZone?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
17022
|
+
preferredTimeZone?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
17023
|
+
userOddsPreference?: EnumUserOddsPreferenceFieldUpdateOperationsInput | $Enums.UserOddsPreference
|
|
17024
|
+
profileImageUrl?: StringFieldUpdateOperationsInput | string
|
|
17025
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
17026
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
17027
|
+
}
|
|
17028
|
+
|
|
17029
|
+
export type UserUncheckedUpdateManyInput = {
|
|
17030
|
+
walletAddress?: StringFieldUpdateOperationsInput | string
|
|
17031
|
+
userName?: StringFieldUpdateOperationsInput | string
|
|
17032
|
+
timeZone?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
17033
|
+
preferredTimeZone?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
17034
|
+
userOddsPreference?: EnumUserOddsPreferenceFieldUpdateOperationsInput | $Enums.UserOddsPreference
|
|
17035
|
+
profileImageUrl?: StringFieldUpdateOperationsInput | string
|
|
17036
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
17037
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
17038
|
+
}
|
|
17039
|
+
|
|
15779
17040
|
export type StringFilter<$PrismaModel = never> = {
|
|
15780
17041
|
equals?: string | StringFieldRefInput<$PrismaModel>
|
|
15781
17042
|
in?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
@@ -16819,6 +18080,59 @@ export namespace Prisma {
|
|
|
16819
18080
|
normalizationFactor?: SortOrder
|
|
16820
18081
|
}
|
|
16821
18082
|
|
|
18083
|
+
export type EnumUserOddsPreferenceFilter<$PrismaModel = never> = {
|
|
18084
|
+
equals?: $Enums.UserOddsPreference | EnumUserOddsPreferenceFieldRefInput<$PrismaModel>
|
|
18085
|
+
in?: $Enums.UserOddsPreference[] | ListEnumUserOddsPreferenceFieldRefInput<$PrismaModel>
|
|
18086
|
+
notIn?: $Enums.UserOddsPreference[] | ListEnumUserOddsPreferenceFieldRefInput<$PrismaModel>
|
|
18087
|
+
not?: NestedEnumUserOddsPreferenceFilter<$PrismaModel> | $Enums.UserOddsPreference
|
|
18088
|
+
}
|
|
18089
|
+
|
|
18090
|
+
export type UserCountOrderByAggregateInput = {
|
|
18091
|
+
objectId?: SortOrder
|
|
18092
|
+
walletAddress?: SortOrder
|
|
18093
|
+
userName?: SortOrder
|
|
18094
|
+
timeZone?: SortOrder
|
|
18095
|
+
preferredTimeZone?: SortOrder
|
|
18096
|
+
userOddsPreference?: SortOrder
|
|
18097
|
+
profileImageUrl?: SortOrder
|
|
18098
|
+
createdAt?: SortOrder
|
|
18099
|
+
updatedAt?: SortOrder
|
|
18100
|
+
}
|
|
18101
|
+
|
|
18102
|
+
export type UserMaxOrderByAggregateInput = {
|
|
18103
|
+
objectId?: SortOrder
|
|
18104
|
+
walletAddress?: SortOrder
|
|
18105
|
+
userName?: SortOrder
|
|
18106
|
+
timeZone?: SortOrder
|
|
18107
|
+
preferredTimeZone?: SortOrder
|
|
18108
|
+
userOddsPreference?: SortOrder
|
|
18109
|
+
profileImageUrl?: SortOrder
|
|
18110
|
+
createdAt?: SortOrder
|
|
18111
|
+
updatedAt?: SortOrder
|
|
18112
|
+
}
|
|
18113
|
+
|
|
18114
|
+
export type UserMinOrderByAggregateInput = {
|
|
18115
|
+
objectId?: SortOrder
|
|
18116
|
+
walletAddress?: SortOrder
|
|
18117
|
+
userName?: SortOrder
|
|
18118
|
+
timeZone?: SortOrder
|
|
18119
|
+
preferredTimeZone?: SortOrder
|
|
18120
|
+
userOddsPreference?: SortOrder
|
|
18121
|
+
profileImageUrl?: SortOrder
|
|
18122
|
+
createdAt?: SortOrder
|
|
18123
|
+
updatedAt?: SortOrder
|
|
18124
|
+
}
|
|
18125
|
+
|
|
18126
|
+
export type EnumUserOddsPreferenceWithAggregatesFilter<$PrismaModel = never> = {
|
|
18127
|
+
equals?: $Enums.UserOddsPreference | EnumUserOddsPreferenceFieldRefInput<$PrismaModel>
|
|
18128
|
+
in?: $Enums.UserOddsPreference[] | ListEnumUserOddsPreferenceFieldRefInput<$PrismaModel>
|
|
18129
|
+
notIn?: $Enums.UserOddsPreference[] | ListEnumUserOddsPreferenceFieldRefInput<$PrismaModel>
|
|
18130
|
+
not?: NestedEnumUserOddsPreferenceWithAggregatesFilter<$PrismaModel> | $Enums.UserOddsPreference
|
|
18131
|
+
_count?: NestedIntFilter<$PrismaModel>
|
|
18132
|
+
_min?: NestedEnumUserOddsPreferenceFilter<$PrismaModel>
|
|
18133
|
+
_max?: NestedEnumUserOddsPreferenceFilter<$PrismaModel>
|
|
18134
|
+
}
|
|
18135
|
+
|
|
16822
18136
|
export type StringFieldUpdateOperationsInput = {
|
|
16823
18137
|
set?: string
|
|
16824
18138
|
}
|
|
@@ -17440,6 +18754,10 @@ export namespace Prisma {
|
|
|
17440
18754
|
deleteMany?: OddsScalarWhereInput | OddsScalarWhereInput[]
|
|
17441
18755
|
}
|
|
17442
18756
|
|
|
18757
|
+
export type EnumUserOddsPreferenceFieldUpdateOperationsInput = {
|
|
18758
|
+
set?: $Enums.UserOddsPreference
|
|
18759
|
+
}
|
|
18760
|
+
|
|
17443
18761
|
export type NestedStringFilter<$PrismaModel = never> = {
|
|
17444
18762
|
equals?: string | StringFieldRefInput<$PrismaModel>
|
|
17445
18763
|
in?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
@@ -17789,6 +19107,23 @@ export namespace Prisma {
|
|
|
17789
19107
|
_max?: NestedEnumMarketStatusFilter<$PrismaModel>
|
|
17790
19108
|
}
|
|
17791
19109
|
|
|
19110
|
+
export type NestedEnumUserOddsPreferenceFilter<$PrismaModel = never> = {
|
|
19111
|
+
equals?: $Enums.UserOddsPreference | EnumUserOddsPreferenceFieldRefInput<$PrismaModel>
|
|
19112
|
+
in?: $Enums.UserOddsPreference[] | ListEnumUserOddsPreferenceFieldRefInput<$PrismaModel>
|
|
19113
|
+
notIn?: $Enums.UserOddsPreference[] | ListEnumUserOddsPreferenceFieldRefInput<$PrismaModel>
|
|
19114
|
+
not?: NestedEnumUserOddsPreferenceFilter<$PrismaModel> | $Enums.UserOddsPreference
|
|
19115
|
+
}
|
|
19116
|
+
|
|
19117
|
+
export type NestedEnumUserOddsPreferenceWithAggregatesFilter<$PrismaModel = never> = {
|
|
19118
|
+
equals?: $Enums.UserOddsPreference | EnumUserOddsPreferenceFieldRefInput<$PrismaModel>
|
|
19119
|
+
in?: $Enums.UserOddsPreference[] | ListEnumUserOddsPreferenceFieldRefInput<$PrismaModel>
|
|
19120
|
+
notIn?: $Enums.UserOddsPreference[] | ListEnumUserOddsPreferenceFieldRefInput<$PrismaModel>
|
|
19121
|
+
not?: NestedEnumUserOddsPreferenceWithAggregatesFilter<$PrismaModel> | $Enums.UserOddsPreference
|
|
19122
|
+
_count?: NestedIntFilter<$PrismaModel>
|
|
19123
|
+
_min?: NestedEnumUserOddsPreferenceFilter<$PrismaModel>
|
|
19124
|
+
_max?: NestedEnumUserOddsPreferenceFilter<$PrismaModel>
|
|
19125
|
+
}
|
|
19126
|
+
|
|
17792
19127
|
export type LevrGameCreateWithoutTournamentInput = {
|
|
17793
19128
|
objectId?: string
|
|
17794
19129
|
gameId: number
|