trucoshi 8.3.3 → 8.5.0
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/events.d.ts +5 -1
- package/dist/events.js +1 -0
- package/dist/lib/utils.d.ts +6 -0
- package/dist/lib/utils.js +8 -0
- package/dist/types.d.ts +3 -1
- package/package.json +8 -2
- package/prisma/client/index.d.ts +975 -587
- package/prisma/client/index.js +10 -7
package/prisma/client/index.d.ts
CHANGED
|
@@ -4,107 +4,144 @@
|
|
|
4
4
|
**/
|
|
5
5
|
|
|
6
6
|
import * as runtime from './runtime/library';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
import $Types = runtime.Types // general types
|
|
8
|
+
import $Public = runtime.Types.Public
|
|
9
|
+
import $Utils = runtime.Types.Utils
|
|
10
|
+
import $Extensions = runtime.Types.Extensions
|
|
11
|
+
|
|
12
|
+
export type PrismaPromise<T> = $Public.PrismaPromise<T>
|
|
11
13
|
|
|
12
|
-
export type PrismaPromise<T> = runtime.Types.Public.PrismaPromise<T>
|
|
13
14
|
|
|
15
|
+
export type UserStatsPayload<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
16
|
+
name: "UserStats"
|
|
17
|
+
objects: {}
|
|
18
|
+
scalars: $Extensions.GetResult<{
|
|
19
|
+
id: number
|
|
20
|
+
accountId: number | null
|
|
21
|
+
win: number
|
|
22
|
+
loss: number
|
|
23
|
+
satsBet: number
|
|
24
|
+
satsWon: number
|
|
25
|
+
satsLost: number
|
|
26
|
+
}, ExtArgs["result"]["userStats"]>
|
|
27
|
+
composites: {}
|
|
28
|
+
}
|
|
14
29
|
|
|
15
30
|
/**
|
|
16
31
|
* Model UserStats
|
|
17
32
|
*
|
|
18
33
|
*/
|
|
19
|
-
export type UserStats =
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
34
|
+
export type UserStats = runtime.Types.DefaultSelection<UserStatsPayload>
|
|
35
|
+
export type MatchPayload<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
36
|
+
name: "Match"
|
|
37
|
+
objects: {
|
|
38
|
+
bet: MatchBetPayload<ExtArgs> | null
|
|
39
|
+
hands: MatchHandPayload<ExtArgs>[]
|
|
40
|
+
players: MatchPlayerPayload<ExtArgs>[]
|
|
41
|
+
}
|
|
42
|
+
scalars: $Extensions.GetResult<{
|
|
43
|
+
id: number
|
|
44
|
+
createdAt: Date
|
|
45
|
+
updatedAt: Date
|
|
46
|
+
sessionId: string
|
|
47
|
+
state: EMatchState
|
|
48
|
+
ownerAccountId: number | null
|
|
49
|
+
options: Prisma.JsonValue
|
|
50
|
+
results: Prisma.JsonValue
|
|
51
|
+
winnerIdx: number | null
|
|
52
|
+
}, ExtArgs["result"]["match"]>
|
|
53
|
+
composites: {}
|
|
27
54
|
}
|
|
28
55
|
|
|
29
56
|
/**
|
|
30
57
|
* Model Match
|
|
31
58
|
*
|
|
32
59
|
*/
|
|
33
|
-
export type Match =
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
60
|
+
export type Match = runtime.Types.DefaultSelection<MatchPayload>
|
|
61
|
+
export type MatchBetPayload<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
62
|
+
name: "MatchBet"
|
|
63
|
+
objects: {
|
|
64
|
+
match: MatchPayload<ExtArgs>
|
|
65
|
+
}
|
|
66
|
+
scalars: $Extensions.GetResult<{
|
|
67
|
+
id: number
|
|
68
|
+
createdAt: Date
|
|
69
|
+
updatedAt: Date
|
|
70
|
+
matchId: number
|
|
71
|
+
satsPerPlayer: number
|
|
72
|
+
allPlayersPaid: boolean
|
|
73
|
+
winnerAwarded: boolean
|
|
74
|
+
}, ExtArgs["result"]["matchBet"]>
|
|
75
|
+
composites: {}
|
|
43
76
|
}
|
|
44
77
|
|
|
45
78
|
/**
|
|
46
79
|
* Model MatchBet
|
|
47
80
|
*
|
|
48
81
|
*/
|
|
49
|
-
export type MatchBet =
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
82
|
+
export type MatchBet = runtime.Types.DefaultSelection<MatchBetPayload>
|
|
83
|
+
export type MatchHandPayload<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
84
|
+
name: "MatchHand"
|
|
85
|
+
objects: {
|
|
86
|
+
match: MatchPayload<ExtArgs>
|
|
87
|
+
}
|
|
88
|
+
scalars: $Extensions.GetResult<{
|
|
89
|
+
id: number
|
|
90
|
+
createdAt: Date
|
|
91
|
+
updatedAt: Date
|
|
92
|
+
idx: number
|
|
93
|
+
secret: string
|
|
94
|
+
clientSecrets: string[]
|
|
95
|
+
rounds: Prisma.JsonValue
|
|
96
|
+
results: Prisma.JsonValue
|
|
97
|
+
matchId: number
|
|
98
|
+
trucoWinnerIdx: number | null
|
|
99
|
+
envidoWinnerIdx: number | null
|
|
100
|
+
florWinnerIdx: number | null
|
|
101
|
+
bitcoinHash: string
|
|
102
|
+
bitcoinHeight: number
|
|
103
|
+
}, ExtArgs["result"]["matchHand"]>
|
|
104
|
+
composites: {}
|
|
57
105
|
}
|
|
58
106
|
|
|
59
107
|
/**
|
|
60
108
|
* Model MatchHand
|
|
61
109
|
*
|
|
62
110
|
*/
|
|
63
|
-
export type MatchHand =
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
111
|
+
export type MatchHand = runtime.Types.DefaultSelection<MatchHandPayload>
|
|
112
|
+
export type MatchPlayerPayload<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
113
|
+
name: "MatchPlayer"
|
|
114
|
+
objects: {
|
|
115
|
+
match: MatchPayload<ExtArgs>
|
|
116
|
+
}
|
|
117
|
+
scalars: $Extensions.GetResult<{
|
|
118
|
+
id: number
|
|
119
|
+
createdAt: Date
|
|
120
|
+
updatedAt: Date
|
|
121
|
+
idx: number | null
|
|
122
|
+
name: string
|
|
123
|
+
accountId: number | null
|
|
124
|
+
session: string
|
|
125
|
+
teamIdx: number
|
|
126
|
+
satsPaid: number
|
|
127
|
+
satsReceived: number
|
|
128
|
+
payRequestId: number | null
|
|
129
|
+
bot: boolean
|
|
130
|
+
matchId: number
|
|
131
|
+
}, ExtArgs["result"]["matchPlayer"]>
|
|
132
|
+
composites: {}
|
|
78
133
|
}
|
|
79
134
|
|
|
80
135
|
/**
|
|
81
136
|
* Model MatchPlayer
|
|
82
137
|
*
|
|
83
138
|
*/
|
|
84
|
-
export type MatchPlayer =
|
|
85
|
-
id: number
|
|
86
|
-
createdAt: Date
|
|
87
|
-
updatedAt: Date
|
|
88
|
-
idx: number | null
|
|
89
|
-
name: string
|
|
90
|
-
accountId: number | null
|
|
91
|
-
session: string
|
|
92
|
-
teamIdx: number
|
|
93
|
-
satsPaid: number
|
|
94
|
-
satsReceived: number
|
|
95
|
-
payRequestId: number | null
|
|
96
|
-
bot: boolean
|
|
97
|
-
matchId: number
|
|
98
|
-
}
|
|
99
|
-
|
|
139
|
+
export type MatchPlayer = runtime.Types.DefaultSelection<MatchPlayerPayload>
|
|
100
140
|
|
|
101
141
|
/**
|
|
102
142
|
* Enums
|
|
103
143
|
*/
|
|
104
144
|
|
|
105
|
-
// Based on
|
|
106
|
-
// https://github.com/microsoft/TypeScript/issues/3192#issuecomment-261720275
|
|
107
|
-
|
|
108
145
|
export const EMatchState: {
|
|
109
146
|
UNREADY: 'UNREADY',
|
|
110
147
|
READY: 'READY',
|
|
@@ -134,8 +171,11 @@ export class PrismaClient<
|
|
|
134
171
|
U = 'log' extends keyof T ? T['log'] extends Array<Prisma.LogLevel | Prisma.LogDefinition> ? Prisma.GetEvents<T['log']> : never : never,
|
|
135
172
|
GlobalReject extends Prisma.RejectOnNotFound | Prisma.RejectPerOperation | false | undefined = 'rejectOnNotFound' extends keyof T
|
|
136
173
|
? T['rejectOnNotFound']
|
|
137
|
-
: false
|
|
138
|
-
|
|
174
|
+
: false,
|
|
175
|
+
ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs
|
|
176
|
+
> {
|
|
177
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['other'] }
|
|
178
|
+
|
|
139
179
|
/**
|
|
140
180
|
* ## Prisma Client ʲˢ
|
|
141
181
|
*
|
|
@@ -166,6 +206,8 @@ export class PrismaClient<
|
|
|
166
206
|
|
|
167
207
|
/**
|
|
168
208
|
* Add a middleware
|
|
209
|
+
* @deprecated since 4.16.0. For new code, prefer client extensions instead.
|
|
210
|
+
* @see https://pris.ly/d/extensions
|
|
169
211
|
*/
|
|
170
212
|
$use(cb: Prisma.Middleware): void
|
|
171
213
|
|
|
@@ -228,9 +270,12 @@ export class PrismaClient<
|
|
|
228
270
|
*
|
|
229
271
|
* Read more in our [docs](https://www.prisma.io/docs/concepts/components/prisma-client/transactions).
|
|
230
272
|
*/
|
|
231
|
-
$transaction<P extends Prisma.PrismaPromise<any>[]>(arg: [...P], options?: { isolationLevel?: Prisma.TransactionIsolationLevel }): Promise<UnwrapTuple<P>>
|
|
273
|
+
$transaction<P extends Prisma.PrismaPromise<any>[]>(arg: [...P], options?: { isolationLevel?: Prisma.TransactionIsolationLevel }): Promise<runtime.Types.Utils.UnwrapTuple<P>>
|
|
274
|
+
|
|
275
|
+
$transaction<R>(fn: (prisma: Omit<PrismaClient, runtime.ITXClientDenyList>) => Promise<R>, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): Promise<R>
|
|
232
276
|
|
|
233
|
-
|
|
277
|
+
|
|
278
|
+
$extends: $Extensions.ExtendsHook<'extends', Prisma.TypeMapCb, ExtArgs>
|
|
234
279
|
|
|
235
280
|
/**
|
|
236
281
|
* `prisma.userStats`: Exposes CRUD operations for the **UserStats** model.
|
|
@@ -240,7 +285,7 @@ export class PrismaClient<
|
|
|
240
285
|
* const userStats = await prisma.userStats.findMany()
|
|
241
286
|
* ```
|
|
242
287
|
*/
|
|
243
|
-
get userStats(): Prisma.UserStatsDelegate<GlobalReject>;
|
|
288
|
+
get userStats(): Prisma.UserStatsDelegate<GlobalReject, ExtArgs>;
|
|
244
289
|
|
|
245
290
|
/**
|
|
246
291
|
* `prisma.match`: Exposes CRUD operations for the **Match** model.
|
|
@@ -250,7 +295,7 @@ export class PrismaClient<
|
|
|
250
295
|
* const matches = await prisma.match.findMany()
|
|
251
296
|
* ```
|
|
252
297
|
*/
|
|
253
|
-
get match(): Prisma.MatchDelegate<GlobalReject>;
|
|
298
|
+
get match(): Prisma.MatchDelegate<GlobalReject, ExtArgs>;
|
|
254
299
|
|
|
255
300
|
/**
|
|
256
301
|
* `prisma.matchBet`: Exposes CRUD operations for the **MatchBet** model.
|
|
@@ -260,7 +305,7 @@ export class PrismaClient<
|
|
|
260
305
|
* const matchBets = await prisma.matchBet.findMany()
|
|
261
306
|
* ```
|
|
262
307
|
*/
|
|
263
|
-
get matchBet(): Prisma.MatchBetDelegate<GlobalReject>;
|
|
308
|
+
get matchBet(): Prisma.MatchBetDelegate<GlobalReject, ExtArgs>;
|
|
264
309
|
|
|
265
310
|
/**
|
|
266
311
|
* `prisma.matchHand`: Exposes CRUD operations for the **MatchHand** model.
|
|
@@ -270,7 +315,7 @@ export class PrismaClient<
|
|
|
270
315
|
* const matchHands = await prisma.matchHand.findMany()
|
|
271
316
|
* ```
|
|
272
317
|
*/
|
|
273
|
-
get matchHand(): Prisma.MatchHandDelegate<GlobalReject>;
|
|
318
|
+
get matchHand(): Prisma.MatchHandDelegate<GlobalReject, ExtArgs>;
|
|
274
319
|
|
|
275
320
|
/**
|
|
276
321
|
* `prisma.matchPlayer`: Exposes CRUD operations for the **MatchPlayer** model.
|
|
@@ -280,13 +325,18 @@ export class PrismaClient<
|
|
|
280
325
|
* const matchPlayers = await prisma.matchPlayer.findMany()
|
|
281
326
|
* ```
|
|
282
327
|
*/
|
|
283
|
-
get matchPlayer(): Prisma.MatchPlayerDelegate<GlobalReject>;
|
|
328
|
+
get matchPlayer(): Prisma.MatchPlayerDelegate<GlobalReject, ExtArgs>;
|
|
284
329
|
}
|
|
285
330
|
|
|
286
331
|
export namespace Prisma {
|
|
287
332
|
export import DMMF = runtime.DMMF
|
|
288
333
|
|
|
289
|
-
export type PrismaPromise<T> =
|
|
334
|
+
export type PrismaPromise<T> = $Public.PrismaPromise<T>
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Validator
|
|
338
|
+
*/
|
|
339
|
+
export import validator = runtime.Public.validator
|
|
290
340
|
|
|
291
341
|
/**
|
|
292
342
|
* Prisma Errors
|
|
@@ -322,9 +372,18 @@ export namespace Prisma {
|
|
|
322
372
|
export type MetricHistogram = runtime.MetricHistogram
|
|
323
373
|
export type MetricHistogramBucket = runtime.MetricHistogramBucket
|
|
324
374
|
|
|
375
|
+
/**
|
|
376
|
+
* Extensions
|
|
377
|
+
*/
|
|
378
|
+
export type Extension = $Extensions.UserArgs
|
|
379
|
+
export import getExtensionContext = runtime.Extensions.getExtensionContext
|
|
380
|
+
export type Args<T, F extends $Public.Operation> = $Public.Args<T, F>
|
|
381
|
+
export type Payload<T, F extends $Public.Operation> = $Public.Payload<T, F>
|
|
382
|
+
export type Result<T, A, F extends $Public.Operation> = $Public.Result<T, A, F>
|
|
383
|
+
export type Exact<T, W> = $Public.Exact<T, W>
|
|
325
384
|
|
|
326
385
|
/**
|
|
327
|
-
* Prisma Client JS version: 4.
|
|
386
|
+
* Prisma Client JS version: 4.16.2
|
|
328
387
|
* Query Engine version: d9a4c5988f480fa576d43970d5a23641aa77bc9c
|
|
329
388
|
*/
|
|
330
389
|
export type PrismaVersion = {
|
|
@@ -693,7 +752,7 @@ export namespace Prisma {
|
|
|
693
752
|
|
|
694
753
|
export const type: unique symbol;
|
|
695
754
|
|
|
696
|
-
|
|
755
|
+
|
|
697
756
|
|
|
698
757
|
/**
|
|
699
758
|
* Used by group by
|
|
@@ -764,6 +823,367 @@ export namespace Prisma {
|
|
|
764
823
|
db?: Datasource
|
|
765
824
|
}
|
|
766
825
|
|
|
826
|
+
|
|
827
|
+
interface TypeMapCb extends $Utils.Fn<{extArgs: $Extensions.Args}, $Utils.Record<string, any>> {
|
|
828
|
+
returns: Prisma.TypeMap<this['params']['extArgs']>
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
export type TypeMap<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
832
|
+
meta: {
|
|
833
|
+
modelProps: 'userStats' | 'match' | 'matchBet' | 'matchHand' | 'matchPlayer'
|
|
834
|
+
txIsolationLevel: Prisma.TransactionIsolationLevel
|
|
835
|
+
},
|
|
836
|
+
model: {
|
|
837
|
+
UserStats: {
|
|
838
|
+
payload: UserStatsPayload<ExtArgs>
|
|
839
|
+
operations: {
|
|
840
|
+
findUnique: {
|
|
841
|
+
args: Prisma.UserStatsFindUniqueArgs<ExtArgs>,
|
|
842
|
+
result: $Utils.PayloadToResult<UserStatsPayload> | null
|
|
843
|
+
}
|
|
844
|
+
findUniqueOrThrow: {
|
|
845
|
+
args: Prisma.UserStatsFindUniqueOrThrowArgs<ExtArgs>,
|
|
846
|
+
result: $Utils.PayloadToResult<UserStatsPayload>
|
|
847
|
+
}
|
|
848
|
+
findFirst: {
|
|
849
|
+
args: Prisma.UserStatsFindFirstArgs<ExtArgs>,
|
|
850
|
+
result: $Utils.PayloadToResult<UserStatsPayload> | null
|
|
851
|
+
}
|
|
852
|
+
findFirstOrThrow: {
|
|
853
|
+
args: Prisma.UserStatsFindFirstOrThrowArgs<ExtArgs>,
|
|
854
|
+
result: $Utils.PayloadToResult<UserStatsPayload>
|
|
855
|
+
}
|
|
856
|
+
findMany: {
|
|
857
|
+
args: Prisma.UserStatsFindManyArgs<ExtArgs>,
|
|
858
|
+
result: $Utils.PayloadToResult<UserStatsPayload>[]
|
|
859
|
+
}
|
|
860
|
+
create: {
|
|
861
|
+
args: Prisma.UserStatsCreateArgs<ExtArgs>,
|
|
862
|
+
result: $Utils.PayloadToResult<UserStatsPayload>
|
|
863
|
+
}
|
|
864
|
+
createMany: {
|
|
865
|
+
args: Prisma.UserStatsCreateManyArgs<ExtArgs>,
|
|
866
|
+
result: Prisma.BatchPayload
|
|
867
|
+
}
|
|
868
|
+
delete: {
|
|
869
|
+
args: Prisma.UserStatsDeleteArgs<ExtArgs>,
|
|
870
|
+
result: $Utils.PayloadToResult<UserStatsPayload>
|
|
871
|
+
}
|
|
872
|
+
update: {
|
|
873
|
+
args: Prisma.UserStatsUpdateArgs<ExtArgs>,
|
|
874
|
+
result: $Utils.PayloadToResult<UserStatsPayload>
|
|
875
|
+
}
|
|
876
|
+
deleteMany: {
|
|
877
|
+
args: Prisma.UserStatsDeleteManyArgs<ExtArgs>,
|
|
878
|
+
result: Prisma.BatchPayload
|
|
879
|
+
}
|
|
880
|
+
updateMany: {
|
|
881
|
+
args: Prisma.UserStatsUpdateManyArgs<ExtArgs>,
|
|
882
|
+
result: Prisma.BatchPayload
|
|
883
|
+
}
|
|
884
|
+
upsert: {
|
|
885
|
+
args: Prisma.UserStatsUpsertArgs<ExtArgs>,
|
|
886
|
+
result: $Utils.PayloadToResult<UserStatsPayload>
|
|
887
|
+
}
|
|
888
|
+
aggregate: {
|
|
889
|
+
args: Prisma.UserStatsAggregateArgs<ExtArgs>,
|
|
890
|
+
result: $Utils.Optional<AggregateUserStats>
|
|
891
|
+
}
|
|
892
|
+
groupBy: {
|
|
893
|
+
args: Prisma.UserStatsGroupByArgs<ExtArgs>,
|
|
894
|
+
result: $Utils.Optional<UserStatsGroupByOutputType>[]
|
|
895
|
+
}
|
|
896
|
+
count: {
|
|
897
|
+
args: Prisma.UserStatsCountArgs<ExtArgs>,
|
|
898
|
+
result: $Utils.Optional<UserStatsCountAggregateOutputType> | number
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
Match: {
|
|
903
|
+
payload: MatchPayload<ExtArgs>
|
|
904
|
+
operations: {
|
|
905
|
+
findUnique: {
|
|
906
|
+
args: Prisma.MatchFindUniqueArgs<ExtArgs>,
|
|
907
|
+
result: $Utils.PayloadToResult<MatchPayload> | null
|
|
908
|
+
}
|
|
909
|
+
findUniqueOrThrow: {
|
|
910
|
+
args: Prisma.MatchFindUniqueOrThrowArgs<ExtArgs>,
|
|
911
|
+
result: $Utils.PayloadToResult<MatchPayload>
|
|
912
|
+
}
|
|
913
|
+
findFirst: {
|
|
914
|
+
args: Prisma.MatchFindFirstArgs<ExtArgs>,
|
|
915
|
+
result: $Utils.PayloadToResult<MatchPayload> | null
|
|
916
|
+
}
|
|
917
|
+
findFirstOrThrow: {
|
|
918
|
+
args: Prisma.MatchFindFirstOrThrowArgs<ExtArgs>,
|
|
919
|
+
result: $Utils.PayloadToResult<MatchPayload>
|
|
920
|
+
}
|
|
921
|
+
findMany: {
|
|
922
|
+
args: Prisma.MatchFindManyArgs<ExtArgs>,
|
|
923
|
+
result: $Utils.PayloadToResult<MatchPayload>[]
|
|
924
|
+
}
|
|
925
|
+
create: {
|
|
926
|
+
args: Prisma.MatchCreateArgs<ExtArgs>,
|
|
927
|
+
result: $Utils.PayloadToResult<MatchPayload>
|
|
928
|
+
}
|
|
929
|
+
createMany: {
|
|
930
|
+
args: Prisma.MatchCreateManyArgs<ExtArgs>,
|
|
931
|
+
result: Prisma.BatchPayload
|
|
932
|
+
}
|
|
933
|
+
delete: {
|
|
934
|
+
args: Prisma.MatchDeleteArgs<ExtArgs>,
|
|
935
|
+
result: $Utils.PayloadToResult<MatchPayload>
|
|
936
|
+
}
|
|
937
|
+
update: {
|
|
938
|
+
args: Prisma.MatchUpdateArgs<ExtArgs>,
|
|
939
|
+
result: $Utils.PayloadToResult<MatchPayload>
|
|
940
|
+
}
|
|
941
|
+
deleteMany: {
|
|
942
|
+
args: Prisma.MatchDeleteManyArgs<ExtArgs>,
|
|
943
|
+
result: Prisma.BatchPayload
|
|
944
|
+
}
|
|
945
|
+
updateMany: {
|
|
946
|
+
args: Prisma.MatchUpdateManyArgs<ExtArgs>,
|
|
947
|
+
result: Prisma.BatchPayload
|
|
948
|
+
}
|
|
949
|
+
upsert: {
|
|
950
|
+
args: Prisma.MatchUpsertArgs<ExtArgs>,
|
|
951
|
+
result: $Utils.PayloadToResult<MatchPayload>
|
|
952
|
+
}
|
|
953
|
+
aggregate: {
|
|
954
|
+
args: Prisma.MatchAggregateArgs<ExtArgs>,
|
|
955
|
+
result: $Utils.Optional<AggregateMatch>
|
|
956
|
+
}
|
|
957
|
+
groupBy: {
|
|
958
|
+
args: Prisma.MatchGroupByArgs<ExtArgs>,
|
|
959
|
+
result: $Utils.Optional<MatchGroupByOutputType>[]
|
|
960
|
+
}
|
|
961
|
+
count: {
|
|
962
|
+
args: Prisma.MatchCountArgs<ExtArgs>,
|
|
963
|
+
result: $Utils.Optional<MatchCountAggregateOutputType> | number
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
MatchBet: {
|
|
968
|
+
payload: MatchBetPayload<ExtArgs>
|
|
969
|
+
operations: {
|
|
970
|
+
findUnique: {
|
|
971
|
+
args: Prisma.MatchBetFindUniqueArgs<ExtArgs>,
|
|
972
|
+
result: $Utils.PayloadToResult<MatchBetPayload> | null
|
|
973
|
+
}
|
|
974
|
+
findUniqueOrThrow: {
|
|
975
|
+
args: Prisma.MatchBetFindUniqueOrThrowArgs<ExtArgs>,
|
|
976
|
+
result: $Utils.PayloadToResult<MatchBetPayload>
|
|
977
|
+
}
|
|
978
|
+
findFirst: {
|
|
979
|
+
args: Prisma.MatchBetFindFirstArgs<ExtArgs>,
|
|
980
|
+
result: $Utils.PayloadToResult<MatchBetPayload> | null
|
|
981
|
+
}
|
|
982
|
+
findFirstOrThrow: {
|
|
983
|
+
args: Prisma.MatchBetFindFirstOrThrowArgs<ExtArgs>,
|
|
984
|
+
result: $Utils.PayloadToResult<MatchBetPayload>
|
|
985
|
+
}
|
|
986
|
+
findMany: {
|
|
987
|
+
args: Prisma.MatchBetFindManyArgs<ExtArgs>,
|
|
988
|
+
result: $Utils.PayloadToResult<MatchBetPayload>[]
|
|
989
|
+
}
|
|
990
|
+
create: {
|
|
991
|
+
args: Prisma.MatchBetCreateArgs<ExtArgs>,
|
|
992
|
+
result: $Utils.PayloadToResult<MatchBetPayload>
|
|
993
|
+
}
|
|
994
|
+
createMany: {
|
|
995
|
+
args: Prisma.MatchBetCreateManyArgs<ExtArgs>,
|
|
996
|
+
result: Prisma.BatchPayload
|
|
997
|
+
}
|
|
998
|
+
delete: {
|
|
999
|
+
args: Prisma.MatchBetDeleteArgs<ExtArgs>,
|
|
1000
|
+
result: $Utils.PayloadToResult<MatchBetPayload>
|
|
1001
|
+
}
|
|
1002
|
+
update: {
|
|
1003
|
+
args: Prisma.MatchBetUpdateArgs<ExtArgs>,
|
|
1004
|
+
result: $Utils.PayloadToResult<MatchBetPayload>
|
|
1005
|
+
}
|
|
1006
|
+
deleteMany: {
|
|
1007
|
+
args: Prisma.MatchBetDeleteManyArgs<ExtArgs>,
|
|
1008
|
+
result: Prisma.BatchPayload
|
|
1009
|
+
}
|
|
1010
|
+
updateMany: {
|
|
1011
|
+
args: Prisma.MatchBetUpdateManyArgs<ExtArgs>,
|
|
1012
|
+
result: Prisma.BatchPayload
|
|
1013
|
+
}
|
|
1014
|
+
upsert: {
|
|
1015
|
+
args: Prisma.MatchBetUpsertArgs<ExtArgs>,
|
|
1016
|
+
result: $Utils.PayloadToResult<MatchBetPayload>
|
|
1017
|
+
}
|
|
1018
|
+
aggregate: {
|
|
1019
|
+
args: Prisma.MatchBetAggregateArgs<ExtArgs>,
|
|
1020
|
+
result: $Utils.Optional<AggregateMatchBet>
|
|
1021
|
+
}
|
|
1022
|
+
groupBy: {
|
|
1023
|
+
args: Prisma.MatchBetGroupByArgs<ExtArgs>,
|
|
1024
|
+
result: $Utils.Optional<MatchBetGroupByOutputType>[]
|
|
1025
|
+
}
|
|
1026
|
+
count: {
|
|
1027
|
+
args: Prisma.MatchBetCountArgs<ExtArgs>,
|
|
1028
|
+
result: $Utils.Optional<MatchBetCountAggregateOutputType> | number
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
MatchHand: {
|
|
1033
|
+
payload: MatchHandPayload<ExtArgs>
|
|
1034
|
+
operations: {
|
|
1035
|
+
findUnique: {
|
|
1036
|
+
args: Prisma.MatchHandFindUniqueArgs<ExtArgs>,
|
|
1037
|
+
result: $Utils.PayloadToResult<MatchHandPayload> | null
|
|
1038
|
+
}
|
|
1039
|
+
findUniqueOrThrow: {
|
|
1040
|
+
args: Prisma.MatchHandFindUniqueOrThrowArgs<ExtArgs>,
|
|
1041
|
+
result: $Utils.PayloadToResult<MatchHandPayload>
|
|
1042
|
+
}
|
|
1043
|
+
findFirst: {
|
|
1044
|
+
args: Prisma.MatchHandFindFirstArgs<ExtArgs>,
|
|
1045
|
+
result: $Utils.PayloadToResult<MatchHandPayload> | null
|
|
1046
|
+
}
|
|
1047
|
+
findFirstOrThrow: {
|
|
1048
|
+
args: Prisma.MatchHandFindFirstOrThrowArgs<ExtArgs>,
|
|
1049
|
+
result: $Utils.PayloadToResult<MatchHandPayload>
|
|
1050
|
+
}
|
|
1051
|
+
findMany: {
|
|
1052
|
+
args: Prisma.MatchHandFindManyArgs<ExtArgs>,
|
|
1053
|
+
result: $Utils.PayloadToResult<MatchHandPayload>[]
|
|
1054
|
+
}
|
|
1055
|
+
create: {
|
|
1056
|
+
args: Prisma.MatchHandCreateArgs<ExtArgs>,
|
|
1057
|
+
result: $Utils.PayloadToResult<MatchHandPayload>
|
|
1058
|
+
}
|
|
1059
|
+
createMany: {
|
|
1060
|
+
args: Prisma.MatchHandCreateManyArgs<ExtArgs>,
|
|
1061
|
+
result: Prisma.BatchPayload
|
|
1062
|
+
}
|
|
1063
|
+
delete: {
|
|
1064
|
+
args: Prisma.MatchHandDeleteArgs<ExtArgs>,
|
|
1065
|
+
result: $Utils.PayloadToResult<MatchHandPayload>
|
|
1066
|
+
}
|
|
1067
|
+
update: {
|
|
1068
|
+
args: Prisma.MatchHandUpdateArgs<ExtArgs>,
|
|
1069
|
+
result: $Utils.PayloadToResult<MatchHandPayload>
|
|
1070
|
+
}
|
|
1071
|
+
deleteMany: {
|
|
1072
|
+
args: Prisma.MatchHandDeleteManyArgs<ExtArgs>,
|
|
1073
|
+
result: Prisma.BatchPayload
|
|
1074
|
+
}
|
|
1075
|
+
updateMany: {
|
|
1076
|
+
args: Prisma.MatchHandUpdateManyArgs<ExtArgs>,
|
|
1077
|
+
result: Prisma.BatchPayload
|
|
1078
|
+
}
|
|
1079
|
+
upsert: {
|
|
1080
|
+
args: Prisma.MatchHandUpsertArgs<ExtArgs>,
|
|
1081
|
+
result: $Utils.PayloadToResult<MatchHandPayload>
|
|
1082
|
+
}
|
|
1083
|
+
aggregate: {
|
|
1084
|
+
args: Prisma.MatchHandAggregateArgs<ExtArgs>,
|
|
1085
|
+
result: $Utils.Optional<AggregateMatchHand>
|
|
1086
|
+
}
|
|
1087
|
+
groupBy: {
|
|
1088
|
+
args: Prisma.MatchHandGroupByArgs<ExtArgs>,
|
|
1089
|
+
result: $Utils.Optional<MatchHandGroupByOutputType>[]
|
|
1090
|
+
}
|
|
1091
|
+
count: {
|
|
1092
|
+
args: Prisma.MatchHandCountArgs<ExtArgs>,
|
|
1093
|
+
result: $Utils.Optional<MatchHandCountAggregateOutputType> | number
|
|
1094
|
+
}
|
|
1095
|
+
}
|
|
1096
|
+
}
|
|
1097
|
+
MatchPlayer: {
|
|
1098
|
+
payload: MatchPlayerPayload<ExtArgs>
|
|
1099
|
+
operations: {
|
|
1100
|
+
findUnique: {
|
|
1101
|
+
args: Prisma.MatchPlayerFindUniqueArgs<ExtArgs>,
|
|
1102
|
+
result: $Utils.PayloadToResult<MatchPlayerPayload> | null
|
|
1103
|
+
}
|
|
1104
|
+
findUniqueOrThrow: {
|
|
1105
|
+
args: Prisma.MatchPlayerFindUniqueOrThrowArgs<ExtArgs>,
|
|
1106
|
+
result: $Utils.PayloadToResult<MatchPlayerPayload>
|
|
1107
|
+
}
|
|
1108
|
+
findFirst: {
|
|
1109
|
+
args: Prisma.MatchPlayerFindFirstArgs<ExtArgs>,
|
|
1110
|
+
result: $Utils.PayloadToResult<MatchPlayerPayload> | null
|
|
1111
|
+
}
|
|
1112
|
+
findFirstOrThrow: {
|
|
1113
|
+
args: Prisma.MatchPlayerFindFirstOrThrowArgs<ExtArgs>,
|
|
1114
|
+
result: $Utils.PayloadToResult<MatchPlayerPayload>
|
|
1115
|
+
}
|
|
1116
|
+
findMany: {
|
|
1117
|
+
args: Prisma.MatchPlayerFindManyArgs<ExtArgs>,
|
|
1118
|
+
result: $Utils.PayloadToResult<MatchPlayerPayload>[]
|
|
1119
|
+
}
|
|
1120
|
+
create: {
|
|
1121
|
+
args: Prisma.MatchPlayerCreateArgs<ExtArgs>,
|
|
1122
|
+
result: $Utils.PayloadToResult<MatchPlayerPayload>
|
|
1123
|
+
}
|
|
1124
|
+
createMany: {
|
|
1125
|
+
args: Prisma.MatchPlayerCreateManyArgs<ExtArgs>,
|
|
1126
|
+
result: Prisma.BatchPayload
|
|
1127
|
+
}
|
|
1128
|
+
delete: {
|
|
1129
|
+
args: Prisma.MatchPlayerDeleteArgs<ExtArgs>,
|
|
1130
|
+
result: $Utils.PayloadToResult<MatchPlayerPayload>
|
|
1131
|
+
}
|
|
1132
|
+
update: {
|
|
1133
|
+
args: Prisma.MatchPlayerUpdateArgs<ExtArgs>,
|
|
1134
|
+
result: $Utils.PayloadToResult<MatchPlayerPayload>
|
|
1135
|
+
}
|
|
1136
|
+
deleteMany: {
|
|
1137
|
+
args: Prisma.MatchPlayerDeleteManyArgs<ExtArgs>,
|
|
1138
|
+
result: Prisma.BatchPayload
|
|
1139
|
+
}
|
|
1140
|
+
updateMany: {
|
|
1141
|
+
args: Prisma.MatchPlayerUpdateManyArgs<ExtArgs>,
|
|
1142
|
+
result: Prisma.BatchPayload
|
|
1143
|
+
}
|
|
1144
|
+
upsert: {
|
|
1145
|
+
args: Prisma.MatchPlayerUpsertArgs<ExtArgs>,
|
|
1146
|
+
result: $Utils.PayloadToResult<MatchPlayerPayload>
|
|
1147
|
+
}
|
|
1148
|
+
aggregate: {
|
|
1149
|
+
args: Prisma.MatchPlayerAggregateArgs<ExtArgs>,
|
|
1150
|
+
result: $Utils.Optional<AggregateMatchPlayer>
|
|
1151
|
+
}
|
|
1152
|
+
groupBy: {
|
|
1153
|
+
args: Prisma.MatchPlayerGroupByArgs<ExtArgs>,
|
|
1154
|
+
result: $Utils.Optional<MatchPlayerGroupByOutputType>[]
|
|
1155
|
+
}
|
|
1156
|
+
count: {
|
|
1157
|
+
args: Prisma.MatchPlayerCountArgs<ExtArgs>,
|
|
1158
|
+
result: $Utils.Optional<MatchPlayerCountAggregateOutputType> | number
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1163
|
+
} & {
|
|
1164
|
+
other: {
|
|
1165
|
+
payload: any
|
|
1166
|
+
operations: {
|
|
1167
|
+
$executeRawUnsafe: {
|
|
1168
|
+
args: [query: string, ...values: any[]],
|
|
1169
|
+
result: any
|
|
1170
|
+
}
|
|
1171
|
+
$executeRaw: {
|
|
1172
|
+
args: [query: TemplateStringsArray | Prisma.Sql, ...values: any[]],
|
|
1173
|
+
result: any
|
|
1174
|
+
}
|
|
1175
|
+
$queryRawUnsafe: {
|
|
1176
|
+
args: [query: string, ...values: any[]],
|
|
1177
|
+
result: any
|
|
1178
|
+
}
|
|
1179
|
+
$queryRaw: {
|
|
1180
|
+
args: [query: TemplateStringsArray | Prisma.Sql, ...values: any[]],
|
|
1181
|
+
result: any
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
export const defineExtension: $Extensions.ExtendsHook<'define', Prisma.TypeMapCb, $Extensions.DefaultArgs>
|
|
767
1187
|
export type DefaultPrismaClient = PrismaClient
|
|
768
1188
|
export type RejectOnNotFound = boolean | ((error: Error) => Error)
|
|
769
1189
|
export type RejectPerModel = { [P in ModelName]?: RejectOnNotFound }
|
|
@@ -904,7 +1324,7 @@ export namespace Prisma {
|
|
|
904
1324
|
/**
|
|
905
1325
|
* `PrismaClient` proxy available in interactive transactions.
|
|
906
1326
|
*/
|
|
907
|
-
export type TransactionClient = Omit<Prisma.DefaultPrismaClient,
|
|
1327
|
+
export type TransactionClient = Omit<Prisma.DefaultPrismaClient, runtime.ITXClientDenyList>
|
|
908
1328
|
|
|
909
1329
|
export type Datasource = {
|
|
910
1330
|
url?: string
|
|
@@ -925,37 +1345,21 @@ export namespace Prisma {
|
|
|
925
1345
|
players: number
|
|
926
1346
|
}
|
|
927
1347
|
|
|
928
|
-
export type MatchCountOutputTypeSelect = {
|
|
1348
|
+
export type MatchCountOutputTypeSelect<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
929
1349
|
hands?: boolean
|
|
930
1350
|
players?: boolean
|
|
931
1351
|
}
|
|
932
1352
|
|
|
933
|
-
export type MatchCountOutputTypeGetPayload<S extends boolean | null | undefined | MatchCountOutputTypeArgs> =
|
|
934
|
-
S extends { select: any, include: any } ? 'Please either choose `select` or `include`' :
|
|
935
|
-
S extends true ? MatchCountOutputType :
|
|
936
|
-
S extends undefined ? never :
|
|
937
|
-
S extends { include: any } & (MatchCountOutputTypeArgs)
|
|
938
|
-
? MatchCountOutputType
|
|
939
|
-
: S extends { select: any } & (MatchCountOutputTypeArgs)
|
|
940
|
-
? {
|
|
941
|
-
[P in TruthyKeys<S['select']>]:
|
|
942
|
-
P extends keyof MatchCountOutputType ? MatchCountOutputType[P] : never
|
|
943
|
-
}
|
|
944
|
-
: MatchCountOutputType
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
1353
|
// Custom InputTypes
|
|
950
1354
|
|
|
951
1355
|
/**
|
|
952
1356
|
* MatchCountOutputType without action
|
|
953
1357
|
*/
|
|
954
|
-
export type MatchCountOutputTypeArgs = {
|
|
1358
|
+
export type MatchCountOutputTypeArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
955
1359
|
/**
|
|
956
1360
|
* Select specific fields to fetch from the MatchCountOutputType
|
|
957
1361
|
*/
|
|
958
|
-
select?: MatchCountOutputTypeSelect | null
|
|
1362
|
+
select?: MatchCountOutputTypeSelect<ExtArgs> | null
|
|
959
1363
|
}
|
|
960
1364
|
|
|
961
1365
|
|
|
@@ -1080,7 +1484,7 @@ export namespace Prisma {
|
|
|
1080
1484
|
_all?: true
|
|
1081
1485
|
}
|
|
1082
1486
|
|
|
1083
|
-
export type UserStatsAggregateArgs = {
|
|
1487
|
+
export type UserStatsAggregateArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
1084
1488
|
/**
|
|
1085
1489
|
* Filter which UserStats to aggregate.
|
|
1086
1490
|
*/
|
|
@@ -1152,7 +1556,7 @@ export namespace Prisma {
|
|
|
1152
1556
|
|
|
1153
1557
|
|
|
1154
1558
|
|
|
1155
|
-
export type UserStatsGroupByArgs = {
|
|
1559
|
+
export type UserStatsGroupByArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
1156
1560
|
where?: UserStatsWhereInput
|
|
1157
1561
|
orderBy?: Enumerable<UserStatsOrderByWithAggregationInput>
|
|
1158
1562
|
by: UserStatsScalarFieldEnum[]
|
|
@@ -1196,7 +1600,7 @@ export namespace Prisma {
|
|
|
1196
1600
|
>
|
|
1197
1601
|
|
|
1198
1602
|
|
|
1199
|
-
export type UserStatsSelect = {
|
|
1603
|
+
export type UserStatsSelect<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
1200
1604
|
id?: boolean
|
|
1201
1605
|
accountId?: boolean
|
|
1202
1606
|
win?: boolean
|
|
@@ -1204,30 +1608,28 @@ export namespace Prisma {
|
|
|
1204
1608
|
satsBet?: boolean
|
|
1205
1609
|
satsWon?: boolean
|
|
1206
1610
|
satsLost?: boolean
|
|
1207
|
-
}
|
|
1611
|
+
}, ExtArgs["result"]["userStats"]>
|
|
1208
1612
|
|
|
1613
|
+
export type UserStatsSelectScalar = {
|
|
1614
|
+
id?: boolean
|
|
1615
|
+
accountId?: boolean
|
|
1616
|
+
win?: boolean
|
|
1617
|
+
loss?: boolean
|
|
1618
|
+
satsBet?: boolean
|
|
1619
|
+
satsWon?: boolean
|
|
1620
|
+
satsLost?: boolean
|
|
1621
|
+
}
|
|
1209
1622
|
|
|
1210
|
-
export type UserStatsGetPayload<S extends boolean | null | undefined | UserStatsArgs> =
|
|
1211
|
-
S extends { select: any, include: any } ? 'Please either choose `select` or `include`' :
|
|
1212
|
-
S extends true ? UserStats :
|
|
1213
|
-
S extends undefined ? never :
|
|
1214
|
-
S extends { include: any } & (UserStatsArgs | UserStatsFindManyArgs)
|
|
1215
|
-
? UserStats
|
|
1216
|
-
: S extends { select: any } & (UserStatsArgs | UserStatsFindManyArgs)
|
|
1217
|
-
? {
|
|
1218
|
-
[P in TruthyKeys<S['select']>]:
|
|
1219
|
-
P extends keyof UserStats ? UserStats[P] : never
|
|
1220
|
-
}
|
|
1221
|
-
: UserStats
|
|
1222
1623
|
|
|
1624
|
+
type UserStatsGetPayload<S extends boolean | null | undefined | UserStatsArgs> = $Types.GetResult<UserStatsPayload, S>
|
|
1223
1625
|
|
|
1224
|
-
type UserStatsCountArgs =
|
|
1626
|
+
type UserStatsCountArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> =
|
|
1225
1627
|
Omit<UserStatsFindManyArgs, 'select' | 'include'> & {
|
|
1226
1628
|
select?: UserStatsCountAggregateInputType | true
|
|
1227
1629
|
}
|
|
1228
1630
|
|
|
1229
|
-
export interface UserStatsDelegate<GlobalRejectSettings extends Prisma.RejectOnNotFound | Prisma.RejectPerOperation | false | undefined> {
|
|
1230
|
-
|
|
1631
|
+
export interface UserStatsDelegate<GlobalRejectSettings extends Prisma.RejectOnNotFound | Prisma.RejectPerOperation | false | undefined, ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> {
|
|
1632
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['UserStats'], meta: { name: 'UserStats' } }
|
|
1231
1633
|
/**
|
|
1232
1634
|
* Find zero or one UserStats that matches the filter.
|
|
1233
1635
|
* @param {UserStatsFindUniqueArgs} args - Arguments to find a UserStats
|
|
@@ -1239,9 +1641,9 @@ export namespace Prisma {
|
|
|
1239
1641
|
* }
|
|
1240
1642
|
* })
|
|
1241
1643
|
**/
|
|
1242
|
-
findUnique<T extends UserStatsFindUniqueArgs
|
|
1243
|
-
args: SelectSubset<T, UserStatsFindUniqueArgs
|
|
1244
|
-
): HasReject<GlobalRejectSettings, LocalRejectSettings, 'findUnique', 'UserStats'> extends True ? Prisma__UserStatsClient<
|
|
1644
|
+
findUnique<T extends UserStatsFindUniqueArgs<ExtArgs>, LocalRejectSettings = T["rejectOnNotFound"] extends RejectOnNotFound ? T['rejectOnNotFound'] : undefined>(
|
|
1645
|
+
args: SelectSubset<T, UserStatsFindUniqueArgs<ExtArgs>>
|
|
1646
|
+
): HasReject<GlobalRejectSettings, LocalRejectSettings, 'findUnique', 'UserStats'> extends True ? Prisma__UserStatsClient<$Types.GetResult<UserStatsPayload<ExtArgs>, T, 'findUnique', never>, never, ExtArgs> : Prisma__UserStatsClient<$Types.GetResult<UserStatsPayload<ExtArgs>, T, 'findUnique', never> | null, null, ExtArgs>
|
|
1245
1647
|
|
|
1246
1648
|
/**
|
|
1247
1649
|
* Find one UserStats that matches the filter or throw an error with `error.code='P2025'`
|
|
@@ -1255,9 +1657,9 @@ export namespace Prisma {
|
|
|
1255
1657
|
* }
|
|
1256
1658
|
* })
|
|
1257
1659
|
**/
|
|
1258
|
-
findUniqueOrThrow<T extends UserStatsFindUniqueOrThrowArgs
|
|
1259
|
-
args?: SelectSubset<T, UserStatsFindUniqueOrThrowArgs
|
|
1260
|
-
): Prisma__UserStatsClient<
|
|
1660
|
+
findUniqueOrThrow<T extends UserStatsFindUniqueOrThrowArgs<ExtArgs>>(
|
|
1661
|
+
args?: SelectSubset<T, UserStatsFindUniqueOrThrowArgs<ExtArgs>>
|
|
1662
|
+
): Prisma__UserStatsClient<$Types.GetResult<UserStatsPayload<ExtArgs>, T, 'findUniqueOrThrow', never>, never, ExtArgs>
|
|
1261
1663
|
|
|
1262
1664
|
/**
|
|
1263
1665
|
* Find the first UserStats that matches the filter.
|
|
@@ -1272,9 +1674,9 @@ export namespace Prisma {
|
|
|
1272
1674
|
* }
|
|
1273
1675
|
* })
|
|
1274
1676
|
**/
|
|
1275
|
-
findFirst<T extends UserStatsFindFirstArgs
|
|
1276
|
-
args?: SelectSubset<T, UserStatsFindFirstArgs
|
|
1277
|
-
): HasReject<GlobalRejectSettings, LocalRejectSettings, 'findFirst', 'UserStats'> extends True ? Prisma__UserStatsClient<
|
|
1677
|
+
findFirst<T extends UserStatsFindFirstArgs<ExtArgs>, LocalRejectSettings = T["rejectOnNotFound"] extends RejectOnNotFound ? T['rejectOnNotFound'] : undefined>(
|
|
1678
|
+
args?: SelectSubset<T, UserStatsFindFirstArgs<ExtArgs>>
|
|
1679
|
+
): HasReject<GlobalRejectSettings, LocalRejectSettings, 'findFirst', 'UserStats'> extends True ? Prisma__UserStatsClient<$Types.GetResult<UserStatsPayload<ExtArgs>, T, 'findFirst', never>, never, ExtArgs> : Prisma__UserStatsClient<$Types.GetResult<UserStatsPayload<ExtArgs>, T, 'findFirst', never> | null, null, ExtArgs>
|
|
1278
1680
|
|
|
1279
1681
|
/**
|
|
1280
1682
|
* Find the first UserStats that matches the filter or
|
|
@@ -1290,9 +1692,9 @@ export namespace Prisma {
|
|
|
1290
1692
|
* }
|
|
1291
1693
|
* })
|
|
1292
1694
|
**/
|
|
1293
|
-
findFirstOrThrow<T extends UserStatsFindFirstOrThrowArgs
|
|
1294
|
-
args?: SelectSubset<T, UserStatsFindFirstOrThrowArgs
|
|
1295
|
-
): Prisma__UserStatsClient<
|
|
1695
|
+
findFirstOrThrow<T extends UserStatsFindFirstOrThrowArgs<ExtArgs>>(
|
|
1696
|
+
args?: SelectSubset<T, UserStatsFindFirstOrThrowArgs<ExtArgs>>
|
|
1697
|
+
): Prisma__UserStatsClient<$Types.GetResult<UserStatsPayload<ExtArgs>, T, 'findFirstOrThrow', never>, never, ExtArgs>
|
|
1296
1698
|
|
|
1297
1699
|
/**
|
|
1298
1700
|
* Find zero or more UserStats that matches the filter.
|
|
@@ -1310,9 +1712,9 @@ export namespace Prisma {
|
|
|
1310
1712
|
* const userStatsWithIdOnly = await prisma.userStats.findMany({ select: { id: true } })
|
|
1311
1713
|
*
|
|
1312
1714
|
**/
|
|
1313
|
-
findMany<T extends UserStatsFindManyArgs
|
|
1314
|
-
args?: SelectSubset<T, UserStatsFindManyArgs
|
|
1315
|
-
): Prisma.PrismaPromise<
|
|
1715
|
+
findMany<T extends UserStatsFindManyArgs<ExtArgs>>(
|
|
1716
|
+
args?: SelectSubset<T, UserStatsFindManyArgs<ExtArgs>>
|
|
1717
|
+
): Prisma.PrismaPromise<$Types.GetResult<UserStatsPayload<ExtArgs>, T, 'findMany', never>>
|
|
1316
1718
|
|
|
1317
1719
|
/**
|
|
1318
1720
|
* Create a UserStats.
|
|
@@ -1326,9 +1728,9 @@ export namespace Prisma {
|
|
|
1326
1728
|
* })
|
|
1327
1729
|
*
|
|
1328
1730
|
**/
|
|
1329
|
-
create<T extends UserStatsCreateArgs
|
|
1330
|
-
args: SelectSubset<T, UserStatsCreateArgs
|
|
1331
|
-
): Prisma__UserStatsClient<
|
|
1731
|
+
create<T extends UserStatsCreateArgs<ExtArgs>>(
|
|
1732
|
+
args: SelectSubset<T, UserStatsCreateArgs<ExtArgs>>
|
|
1733
|
+
): Prisma__UserStatsClient<$Types.GetResult<UserStatsPayload<ExtArgs>, T, 'create', never>, never, ExtArgs>
|
|
1332
1734
|
|
|
1333
1735
|
/**
|
|
1334
1736
|
* Create many UserStats.
|
|
@@ -1342,8 +1744,8 @@ export namespace Prisma {
|
|
|
1342
1744
|
* })
|
|
1343
1745
|
*
|
|
1344
1746
|
**/
|
|
1345
|
-
createMany<T extends UserStatsCreateManyArgs
|
|
1346
|
-
args?: SelectSubset<T, UserStatsCreateManyArgs
|
|
1747
|
+
createMany<T extends UserStatsCreateManyArgs<ExtArgs>>(
|
|
1748
|
+
args?: SelectSubset<T, UserStatsCreateManyArgs<ExtArgs>>
|
|
1347
1749
|
): Prisma.PrismaPromise<BatchPayload>
|
|
1348
1750
|
|
|
1349
1751
|
/**
|
|
@@ -1358,9 +1760,9 @@ export namespace Prisma {
|
|
|
1358
1760
|
* })
|
|
1359
1761
|
*
|
|
1360
1762
|
**/
|
|
1361
|
-
delete<T extends UserStatsDeleteArgs
|
|
1362
|
-
args: SelectSubset<T, UserStatsDeleteArgs
|
|
1363
|
-
): Prisma__UserStatsClient<
|
|
1763
|
+
delete<T extends UserStatsDeleteArgs<ExtArgs>>(
|
|
1764
|
+
args: SelectSubset<T, UserStatsDeleteArgs<ExtArgs>>
|
|
1765
|
+
): Prisma__UserStatsClient<$Types.GetResult<UserStatsPayload<ExtArgs>, T, 'delete', never>, never, ExtArgs>
|
|
1364
1766
|
|
|
1365
1767
|
/**
|
|
1366
1768
|
* Update one UserStats.
|
|
@@ -1377,9 +1779,9 @@ export namespace Prisma {
|
|
|
1377
1779
|
* })
|
|
1378
1780
|
*
|
|
1379
1781
|
**/
|
|
1380
|
-
update<T extends UserStatsUpdateArgs
|
|
1381
|
-
args: SelectSubset<T, UserStatsUpdateArgs
|
|
1382
|
-
): Prisma__UserStatsClient<
|
|
1782
|
+
update<T extends UserStatsUpdateArgs<ExtArgs>>(
|
|
1783
|
+
args: SelectSubset<T, UserStatsUpdateArgs<ExtArgs>>
|
|
1784
|
+
): Prisma__UserStatsClient<$Types.GetResult<UserStatsPayload<ExtArgs>, T, 'update', never>, never, ExtArgs>
|
|
1383
1785
|
|
|
1384
1786
|
/**
|
|
1385
1787
|
* Delete zero or more UserStats.
|
|
@@ -1393,8 +1795,8 @@ export namespace Prisma {
|
|
|
1393
1795
|
* })
|
|
1394
1796
|
*
|
|
1395
1797
|
**/
|
|
1396
|
-
deleteMany<T extends UserStatsDeleteManyArgs
|
|
1397
|
-
args?: SelectSubset<T, UserStatsDeleteManyArgs
|
|
1798
|
+
deleteMany<T extends UserStatsDeleteManyArgs<ExtArgs>>(
|
|
1799
|
+
args?: SelectSubset<T, UserStatsDeleteManyArgs<ExtArgs>>
|
|
1398
1800
|
): Prisma.PrismaPromise<BatchPayload>
|
|
1399
1801
|
|
|
1400
1802
|
/**
|
|
@@ -1414,8 +1816,8 @@ export namespace Prisma {
|
|
|
1414
1816
|
* })
|
|
1415
1817
|
*
|
|
1416
1818
|
**/
|
|
1417
|
-
updateMany<T extends UserStatsUpdateManyArgs
|
|
1418
|
-
args: SelectSubset<T, UserStatsUpdateManyArgs
|
|
1819
|
+
updateMany<T extends UserStatsUpdateManyArgs<ExtArgs>>(
|
|
1820
|
+
args: SelectSubset<T, UserStatsUpdateManyArgs<ExtArgs>>
|
|
1419
1821
|
): Prisma.PrismaPromise<BatchPayload>
|
|
1420
1822
|
|
|
1421
1823
|
/**
|
|
@@ -1435,9 +1837,9 @@ export namespace Prisma {
|
|
|
1435
1837
|
* }
|
|
1436
1838
|
* })
|
|
1437
1839
|
**/
|
|
1438
|
-
upsert<T extends UserStatsUpsertArgs
|
|
1439
|
-
args: SelectSubset<T, UserStatsUpsertArgs
|
|
1440
|
-
): Prisma__UserStatsClient<
|
|
1840
|
+
upsert<T extends UserStatsUpsertArgs<ExtArgs>>(
|
|
1841
|
+
args: SelectSubset<T, UserStatsUpsertArgs<ExtArgs>>
|
|
1842
|
+
): Prisma__UserStatsClient<$Types.GetResult<UserStatsPayload<ExtArgs>, T, 'upsert', never>, never, ExtArgs>
|
|
1441
1843
|
|
|
1442
1844
|
/**
|
|
1443
1845
|
* Count the number of UserStats.
|
|
@@ -1455,7 +1857,7 @@ export namespace Prisma {
|
|
|
1455
1857
|
count<T extends UserStatsCountArgs>(
|
|
1456
1858
|
args?: Subset<T, UserStatsCountArgs>,
|
|
1457
1859
|
): Prisma.PrismaPromise<
|
|
1458
|
-
T extends
|
|
1860
|
+
T extends $Utils.Record<'select', any>
|
|
1459
1861
|
? T['select'] extends true
|
|
1460
1862
|
? number
|
|
1461
1863
|
: GetScalarType<T['select'], UserStatsCountAggregateOutputType>
|
|
@@ -1573,7 +1975,7 @@ export namespace Prisma {
|
|
|
1573
1975
|
* Because we want to prevent naming conflicts as mentioned in
|
|
1574
1976
|
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1575
1977
|
*/
|
|
1576
|
-
export class Prisma__UserStatsClient<T, Null = never> implements Prisma.PrismaPromise<T> {
|
|
1978
|
+
export class Prisma__UserStatsClient<T, Null = never, ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> implements Prisma.PrismaPromise<T> {
|
|
1577
1979
|
private readonly _dmmf;
|
|
1578
1980
|
private readonly _queryType;
|
|
1579
1981
|
private readonly _rootField;
|
|
@@ -1619,11 +2021,11 @@ export namespace Prisma {
|
|
|
1619
2021
|
/**
|
|
1620
2022
|
* UserStats base type for findUnique actions
|
|
1621
2023
|
*/
|
|
1622
|
-
export type UserStatsFindUniqueArgsBase = {
|
|
2024
|
+
export type UserStatsFindUniqueArgsBase<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
1623
2025
|
/**
|
|
1624
2026
|
* Select specific fields to fetch from the UserStats
|
|
1625
2027
|
*/
|
|
1626
|
-
select?: UserStatsSelect | null
|
|
2028
|
+
select?: UserStatsSelect<ExtArgs> | null
|
|
1627
2029
|
/**
|
|
1628
2030
|
* Filter, which UserStats to fetch.
|
|
1629
2031
|
*/
|
|
@@ -1633,7 +2035,7 @@ export namespace Prisma {
|
|
|
1633
2035
|
/**
|
|
1634
2036
|
* UserStats findUnique
|
|
1635
2037
|
*/
|
|
1636
|
-
export interface UserStatsFindUniqueArgs extends UserStatsFindUniqueArgsBase {
|
|
2038
|
+
export interface UserStatsFindUniqueArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> extends UserStatsFindUniqueArgsBase<ExtArgs> {
|
|
1637
2039
|
/**
|
|
1638
2040
|
* Throw an Error if query returns no results
|
|
1639
2041
|
* @deprecated since 4.0.0: use `findUniqueOrThrow` method instead
|
|
@@ -1645,11 +2047,11 @@ export namespace Prisma {
|
|
|
1645
2047
|
/**
|
|
1646
2048
|
* UserStats findUniqueOrThrow
|
|
1647
2049
|
*/
|
|
1648
|
-
export type UserStatsFindUniqueOrThrowArgs = {
|
|
2050
|
+
export type UserStatsFindUniqueOrThrowArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
1649
2051
|
/**
|
|
1650
2052
|
* Select specific fields to fetch from the UserStats
|
|
1651
2053
|
*/
|
|
1652
|
-
select?: UserStatsSelect | null
|
|
2054
|
+
select?: UserStatsSelect<ExtArgs> | null
|
|
1653
2055
|
/**
|
|
1654
2056
|
* Filter, which UserStats to fetch.
|
|
1655
2057
|
*/
|
|
@@ -1660,11 +2062,11 @@ export namespace Prisma {
|
|
|
1660
2062
|
/**
|
|
1661
2063
|
* UserStats base type for findFirst actions
|
|
1662
2064
|
*/
|
|
1663
|
-
export type UserStatsFindFirstArgsBase = {
|
|
2065
|
+
export type UserStatsFindFirstArgsBase<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
1664
2066
|
/**
|
|
1665
2067
|
* Select specific fields to fetch from the UserStats
|
|
1666
2068
|
*/
|
|
1667
|
-
select?: UserStatsSelect | null
|
|
2069
|
+
select?: UserStatsSelect<ExtArgs> | null
|
|
1668
2070
|
/**
|
|
1669
2071
|
* Filter, which UserStats to fetch.
|
|
1670
2072
|
*/
|
|
@@ -1704,7 +2106,7 @@ export namespace Prisma {
|
|
|
1704
2106
|
/**
|
|
1705
2107
|
* UserStats findFirst
|
|
1706
2108
|
*/
|
|
1707
|
-
export interface UserStatsFindFirstArgs extends UserStatsFindFirstArgsBase {
|
|
2109
|
+
export interface UserStatsFindFirstArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> extends UserStatsFindFirstArgsBase<ExtArgs> {
|
|
1708
2110
|
/**
|
|
1709
2111
|
* Throw an Error if query returns no results
|
|
1710
2112
|
* @deprecated since 4.0.0: use `findFirstOrThrow` method instead
|
|
@@ -1716,11 +2118,11 @@ export namespace Prisma {
|
|
|
1716
2118
|
/**
|
|
1717
2119
|
* UserStats findFirstOrThrow
|
|
1718
2120
|
*/
|
|
1719
|
-
export type UserStatsFindFirstOrThrowArgs = {
|
|
2121
|
+
export type UserStatsFindFirstOrThrowArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
1720
2122
|
/**
|
|
1721
2123
|
* Select specific fields to fetch from the UserStats
|
|
1722
2124
|
*/
|
|
1723
|
-
select?: UserStatsSelect | null
|
|
2125
|
+
select?: UserStatsSelect<ExtArgs> | null
|
|
1724
2126
|
/**
|
|
1725
2127
|
* Filter, which UserStats to fetch.
|
|
1726
2128
|
*/
|
|
@@ -1761,11 +2163,11 @@ export namespace Prisma {
|
|
|
1761
2163
|
/**
|
|
1762
2164
|
* UserStats findMany
|
|
1763
2165
|
*/
|
|
1764
|
-
export type UserStatsFindManyArgs = {
|
|
2166
|
+
export type UserStatsFindManyArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
1765
2167
|
/**
|
|
1766
2168
|
* Select specific fields to fetch from the UserStats
|
|
1767
2169
|
*/
|
|
1768
|
-
select?: UserStatsSelect | null
|
|
2170
|
+
select?: UserStatsSelect<ExtArgs> | null
|
|
1769
2171
|
/**
|
|
1770
2172
|
* Filter, which UserStats to fetch.
|
|
1771
2173
|
*/
|
|
@@ -1801,11 +2203,11 @@ export namespace Prisma {
|
|
|
1801
2203
|
/**
|
|
1802
2204
|
* UserStats create
|
|
1803
2205
|
*/
|
|
1804
|
-
export type UserStatsCreateArgs = {
|
|
2206
|
+
export type UserStatsCreateArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
1805
2207
|
/**
|
|
1806
2208
|
* Select specific fields to fetch from the UserStats
|
|
1807
2209
|
*/
|
|
1808
|
-
select?: UserStatsSelect | null
|
|
2210
|
+
select?: UserStatsSelect<ExtArgs> | null
|
|
1809
2211
|
/**
|
|
1810
2212
|
* The data needed to create a UserStats.
|
|
1811
2213
|
*/
|
|
@@ -1816,7 +2218,7 @@ export namespace Prisma {
|
|
|
1816
2218
|
/**
|
|
1817
2219
|
* UserStats createMany
|
|
1818
2220
|
*/
|
|
1819
|
-
export type UserStatsCreateManyArgs = {
|
|
2221
|
+
export type UserStatsCreateManyArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
1820
2222
|
/**
|
|
1821
2223
|
* The data used to create many UserStats.
|
|
1822
2224
|
*/
|
|
@@ -1828,11 +2230,11 @@ export namespace Prisma {
|
|
|
1828
2230
|
/**
|
|
1829
2231
|
* UserStats update
|
|
1830
2232
|
*/
|
|
1831
|
-
export type UserStatsUpdateArgs = {
|
|
2233
|
+
export type UserStatsUpdateArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
1832
2234
|
/**
|
|
1833
2235
|
* Select specific fields to fetch from the UserStats
|
|
1834
2236
|
*/
|
|
1835
|
-
select?: UserStatsSelect | null
|
|
2237
|
+
select?: UserStatsSelect<ExtArgs> | null
|
|
1836
2238
|
/**
|
|
1837
2239
|
* The data needed to update a UserStats.
|
|
1838
2240
|
*/
|
|
@@ -1847,7 +2249,7 @@ export namespace Prisma {
|
|
|
1847
2249
|
/**
|
|
1848
2250
|
* UserStats updateMany
|
|
1849
2251
|
*/
|
|
1850
|
-
export type UserStatsUpdateManyArgs = {
|
|
2252
|
+
export type UserStatsUpdateManyArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
1851
2253
|
/**
|
|
1852
2254
|
* The data used to update UserStats.
|
|
1853
2255
|
*/
|
|
@@ -1862,11 +2264,11 @@ export namespace Prisma {
|
|
|
1862
2264
|
/**
|
|
1863
2265
|
* UserStats upsert
|
|
1864
2266
|
*/
|
|
1865
|
-
export type UserStatsUpsertArgs = {
|
|
2267
|
+
export type UserStatsUpsertArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
1866
2268
|
/**
|
|
1867
2269
|
* Select specific fields to fetch from the UserStats
|
|
1868
2270
|
*/
|
|
1869
|
-
select?: UserStatsSelect | null
|
|
2271
|
+
select?: UserStatsSelect<ExtArgs> | null
|
|
1870
2272
|
/**
|
|
1871
2273
|
* The filter to search for the UserStats to update in case it exists.
|
|
1872
2274
|
*/
|
|
@@ -1885,11 +2287,11 @@ export namespace Prisma {
|
|
|
1885
2287
|
/**
|
|
1886
2288
|
* UserStats delete
|
|
1887
2289
|
*/
|
|
1888
|
-
export type UserStatsDeleteArgs = {
|
|
2290
|
+
export type UserStatsDeleteArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
1889
2291
|
/**
|
|
1890
2292
|
* Select specific fields to fetch from the UserStats
|
|
1891
2293
|
*/
|
|
1892
|
-
select?: UserStatsSelect | null
|
|
2294
|
+
select?: UserStatsSelect<ExtArgs> | null
|
|
1893
2295
|
/**
|
|
1894
2296
|
* Filter which UserStats to delete.
|
|
1895
2297
|
*/
|
|
@@ -1900,7 +2302,7 @@ export namespace Prisma {
|
|
|
1900
2302
|
/**
|
|
1901
2303
|
* UserStats deleteMany
|
|
1902
2304
|
*/
|
|
1903
|
-
export type UserStatsDeleteManyArgs = {
|
|
2305
|
+
export type UserStatsDeleteManyArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
1904
2306
|
/**
|
|
1905
2307
|
* Filter which UserStats to delete
|
|
1906
2308
|
*/
|
|
@@ -1911,11 +2313,11 @@ export namespace Prisma {
|
|
|
1911
2313
|
/**
|
|
1912
2314
|
* UserStats without action
|
|
1913
2315
|
*/
|
|
1914
|
-
export type UserStatsArgs = {
|
|
2316
|
+
export type UserStatsArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
1915
2317
|
/**
|
|
1916
2318
|
* Select specific fields to fetch from the UserStats
|
|
1917
2319
|
*/
|
|
1918
|
-
select?: UserStatsSelect | null
|
|
2320
|
+
select?: UserStatsSelect<ExtArgs> | null
|
|
1919
2321
|
}
|
|
1920
2322
|
|
|
1921
2323
|
|
|
@@ -2024,7 +2426,7 @@ export namespace Prisma {
|
|
|
2024
2426
|
_all?: true
|
|
2025
2427
|
}
|
|
2026
2428
|
|
|
2027
|
-
export type MatchAggregateArgs = {
|
|
2429
|
+
export type MatchAggregateArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
2028
2430
|
/**
|
|
2029
2431
|
* Filter which Match to aggregate.
|
|
2030
2432
|
*/
|
|
@@ -2096,7 +2498,7 @@ export namespace Prisma {
|
|
|
2096
2498
|
|
|
2097
2499
|
|
|
2098
2500
|
|
|
2099
|
-
export type MatchGroupByArgs = {
|
|
2501
|
+
export type MatchGroupByArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
2100
2502
|
where?: MatchWhereInput
|
|
2101
2503
|
orderBy?: Enumerable<MatchOrderByWithAggregationInput>
|
|
2102
2504
|
by: MatchScalarFieldEnum[]
|
|
@@ -2142,7 +2544,7 @@ export namespace Prisma {
|
|
|
2142
2544
|
>
|
|
2143
2545
|
|
|
2144
2546
|
|
|
2145
|
-
export type MatchSelect = {
|
|
2547
|
+
export type MatchSelect<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
2146
2548
|
id?: boolean
|
|
2147
2549
|
createdAt?: boolean
|
|
2148
2550
|
updatedAt?: boolean
|
|
@@ -2152,50 +2554,41 @@ export namespace Prisma {
|
|
|
2152
2554
|
options?: boolean
|
|
2153
2555
|
results?: boolean
|
|
2154
2556
|
winnerIdx?: boolean
|
|
2155
|
-
bet?: boolean | MatchBetArgs
|
|
2156
|
-
hands?: boolean | Match$handsArgs
|
|
2157
|
-
players?: boolean | Match$playersArgs
|
|
2158
|
-
_count?: boolean | MatchCountOutputTypeArgs
|
|
2159
|
-
}
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
export type MatchInclude = {
|
|
2163
|
-
bet?: boolean | MatchBetArgs
|
|
2164
|
-
hands?: boolean | Match$handsArgs
|
|
2165
|
-
players?: boolean | Match$playersArgs
|
|
2166
|
-
_count?: boolean | MatchCountOutputTypeArgs
|
|
2167
|
-
}
|
|
2168
|
-
|
|
2169
|
-
export type MatchGetPayload<S extends boolean | null | undefined | MatchArgs> =
|
|
2170
|
-
S extends { select: any, include: any } ? 'Please either choose `select` or `include`' :
|
|
2171
|
-
S extends true ? Match :
|
|
2172
|
-
S extends undefined ? never :
|
|
2173
|
-
S extends { include: any } & (MatchArgs | MatchFindManyArgs)
|
|
2174
|
-
? Match & {
|
|
2175
|
-
[P in TruthyKeys<S['include']>]:
|
|
2176
|
-
P extends 'bet' ? MatchBetGetPayload<S['include'][P]> | null :
|
|
2177
|
-
P extends 'hands' ? Array < MatchHandGetPayload<S['include'][P]>> :
|
|
2178
|
-
P extends 'players' ? Array < MatchPlayerGetPayload<S['include'][P]>> :
|
|
2179
|
-
P extends '_count' ? MatchCountOutputTypeGetPayload<S['include'][P]> : never
|
|
2180
|
-
}
|
|
2181
|
-
: S extends { select: any } & (MatchArgs | MatchFindManyArgs)
|
|
2182
|
-
? {
|
|
2183
|
-
[P in TruthyKeys<S['select']>]:
|
|
2184
|
-
P extends 'bet' ? MatchBetGetPayload<S['select'][P]> | null :
|
|
2185
|
-
P extends 'hands' ? Array < MatchHandGetPayload<S['select'][P]>> :
|
|
2186
|
-
P extends 'players' ? Array < MatchPlayerGetPayload<S['select'][P]>> :
|
|
2187
|
-
P extends '_count' ? MatchCountOutputTypeGetPayload<S['select'][P]> : P extends keyof Match ? Match[P] : never
|
|
2188
|
-
}
|
|
2189
|
-
: Match
|
|
2557
|
+
bet?: boolean | MatchBetArgs<ExtArgs>
|
|
2558
|
+
hands?: boolean | Match$handsArgs<ExtArgs>
|
|
2559
|
+
players?: boolean | Match$playersArgs<ExtArgs>
|
|
2560
|
+
_count?: boolean | MatchCountOutputTypeArgs<ExtArgs>
|
|
2561
|
+
}, ExtArgs["result"]["match"]>
|
|
2190
2562
|
|
|
2563
|
+
export type MatchSelectScalar = {
|
|
2564
|
+
id?: boolean
|
|
2565
|
+
createdAt?: boolean
|
|
2566
|
+
updatedAt?: boolean
|
|
2567
|
+
sessionId?: boolean
|
|
2568
|
+
state?: boolean
|
|
2569
|
+
ownerAccountId?: boolean
|
|
2570
|
+
options?: boolean
|
|
2571
|
+
results?: boolean
|
|
2572
|
+
winnerIdx?: boolean
|
|
2573
|
+
}
|
|
2574
|
+
|
|
2575
|
+
export type MatchInclude<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
2576
|
+
bet?: boolean | MatchBetArgs<ExtArgs>
|
|
2577
|
+
hands?: boolean | Match$handsArgs<ExtArgs>
|
|
2578
|
+
players?: boolean | Match$playersArgs<ExtArgs>
|
|
2579
|
+
_count?: boolean | MatchCountOutputTypeArgs<ExtArgs>
|
|
2580
|
+
}
|
|
2581
|
+
|
|
2582
|
+
|
|
2583
|
+
type MatchGetPayload<S extends boolean | null | undefined | MatchArgs> = $Types.GetResult<MatchPayload, S>
|
|
2191
2584
|
|
|
2192
|
-
type MatchCountArgs =
|
|
2585
|
+
type MatchCountArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> =
|
|
2193
2586
|
Omit<MatchFindManyArgs, 'select' | 'include'> & {
|
|
2194
2587
|
select?: MatchCountAggregateInputType | true
|
|
2195
2588
|
}
|
|
2196
2589
|
|
|
2197
|
-
export interface MatchDelegate<GlobalRejectSettings extends Prisma.RejectOnNotFound | Prisma.RejectPerOperation | false | undefined> {
|
|
2198
|
-
|
|
2590
|
+
export interface MatchDelegate<GlobalRejectSettings extends Prisma.RejectOnNotFound | Prisma.RejectPerOperation | false | undefined, ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> {
|
|
2591
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Match'], meta: { name: 'Match' } }
|
|
2199
2592
|
/**
|
|
2200
2593
|
* Find zero or one Match that matches the filter.
|
|
2201
2594
|
* @param {MatchFindUniqueArgs} args - Arguments to find a Match
|
|
@@ -2207,9 +2600,9 @@ export namespace Prisma {
|
|
|
2207
2600
|
* }
|
|
2208
2601
|
* })
|
|
2209
2602
|
**/
|
|
2210
|
-
findUnique<T extends MatchFindUniqueArgs
|
|
2211
|
-
args: SelectSubset<T, MatchFindUniqueArgs
|
|
2212
|
-
): HasReject<GlobalRejectSettings, LocalRejectSettings, 'findUnique', 'Match'> extends True ? Prisma__MatchClient<
|
|
2603
|
+
findUnique<T extends MatchFindUniqueArgs<ExtArgs>, LocalRejectSettings = T["rejectOnNotFound"] extends RejectOnNotFound ? T['rejectOnNotFound'] : undefined>(
|
|
2604
|
+
args: SelectSubset<T, MatchFindUniqueArgs<ExtArgs>>
|
|
2605
|
+
): HasReject<GlobalRejectSettings, LocalRejectSettings, 'findUnique', 'Match'> extends True ? Prisma__MatchClient<$Types.GetResult<MatchPayload<ExtArgs>, T, 'findUnique', never>, never, ExtArgs> : Prisma__MatchClient<$Types.GetResult<MatchPayload<ExtArgs>, T, 'findUnique', never> | null, null, ExtArgs>
|
|
2213
2606
|
|
|
2214
2607
|
/**
|
|
2215
2608
|
* Find one Match that matches the filter or throw an error with `error.code='P2025'`
|
|
@@ -2223,9 +2616,9 @@ export namespace Prisma {
|
|
|
2223
2616
|
* }
|
|
2224
2617
|
* })
|
|
2225
2618
|
**/
|
|
2226
|
-
findUniqueOrThrow<T extends MatchFindUniqueOrThrowArgs
|
|
2227
|
-
args?: SelectSubset<T, MatchFindUniqueOrThrowArgs
|
|
2228
|
-
): Prisma__MatchClient<
|
|
2619
|
+
findUniqueOrThrow<T extends MatchFindUniqueOrThrowArgs<ExtArgs>>(
|
|
2620
|
+
args?: SelectSubset<T, MatchFindUniqueOrThrowArgs<ExtArgs>>
|
|
2621
|
+
): Prisma__MatchClient<$Types.GetResult<MatchPayload<ExtArgs>, T, 'findUniqueOrThrow', never>, never, ExtArgs>
|
|
2229
2622
|
|
|
2230
2623
|
/**
|
|
2231
2624
|
* Find the first Match that matches the filter.
|
|
@@ -2240,9 +2633,9 @@ export namespace Prisma {
|
|
|
2240
2633
|
* }
|
|
2241
2634
|
* })
|
|
2242
2635
|
**/
|
|
2243
|
-
findFirst<T extends MatchFindFirstArgs
|
|
2244
|
-
args?: SelectSubset<T, MatchFindFirstArgs
|
|
2245
|
-
): HasReject<GlobalRejectSettings, LocalRejectSettings, 'findFirst', 'Match'> extends True ? Prisma__MatchClient<
|
|
2636
|
+
findFirst<T extends MatchFindFirstArgs<ExtArgs>, LocalRejectSettings = T["rejectOnNotFound"] extends RejectOnNotFound ? T['rejectOnNotFound'] : undefined>(
|
|
2637
|
+
args?: SelectSubset<T, MatchFindFirstArgs<ExtArgs>>
|
|
2638
|
+
): HasReject<GlobalRejectSettings, LocalRejectSettings, 'findFirst', 'Match'> extends True ? Prisma__MatchClient<$Types.GetResult<MatchPayload<ExtArgs>, T, 'findFirst', never>, never, ExtArgs> : Prisma__MatchClient<$Types.GetResult<MatchPayload<ExtArgs>, T, 'findFirst', never> | null, null, ExtArgs>
|
|
2246
2639
|
|
|
2247
2640
|
/**
|
|
2248
2641
|
* Find the first Match that matches the filter or
|
|
@@ -2258,9 +2651,9 @@ export namespace Prisma {
|
|
|
2258
2651
|
* }
|
|
2259
2652
|
* })
|
|
2260
2653
|
**/
|
|
2261
|
-
findFirstOrThrow<T extends MatchFindFirstOrThrowArgs
|
|
2262
|
-
args?: SelectSubset<T, MatchFindFirstOrThrowArgs
|
|
2263
|
-
): Prisma__MatchClient<
|
|
2654
|
+
findFirstOrThrow<T extends MatchFindFirstOrThrowArgs<ExtArgs>>(
|
|
2655
|
+
args?: SelectSubset<T, MatchFindFirstOrThrowArgs<ExtArgs>>
|
|
2656
|
+
): Prisma__MatchClient<$Types.GetResult<MatchPayload<ExtArgs>, T, 'findFirstOrThrow', never>, never, ExtArgs>
|
|
2264
2657
|
|
|
2265
2658
|
/**
|
|
2266
2659
|
* Find zero or more Matches that matches the filter.
|
|
@@ -2278,9 +2671,9 @@ export namespace Prisma {
|
|
|
2278
2671
|
* const matchWithIdOnly = await prisma.match.findMany({ select: { id: true } })
|
|
2279
2672
|
*
|
|
2280
2673
|
**/
|
|
2281
|
-
findMany<T extends MatchFindManyArgs
|
|
2282
|
-
args?: SelectSubset<T, MatchFindManyArgs
|
|
2283
|
-
): Prisma.PrismaPromise<
|
|
2674
|
+
findMany<T extends MatchFindManyArgs<ExtArgs>>(
|
|
2675
|
+
args?: SelectSubset<T, MatchFindManyArgs<ExtArgs>>
|
|
2676
|
+
): Prisma.PrismaPromise<$Types.GetResult<MatchPayload<ExtArgs>, T, 'findMany', never>>
|
|
2284
2677
|
|
|
2285
2678
|
/**
|
|
2286
2679
|
* Create a Match.
|
|
@@ -2294,9 +2687,9 @@ export namespace Prisma {
|
|
|
2294
2687
|
* })
|
|
2295
2688
|
*
|
|
2296
2689
|
**/
|
|
2297
|
-
create<T extends MatchCreateArgs
|
|
2298
|
-
args: SelectSubset<T, MatchCreateArgs
|
|
2299
|
-
): Prisma__MatchClient<
|
|
2690
|
+
create<T extends MatchCreateArgs<ExtArgs>>(
|
|
2691
|
+
args: SelectSubset<T, MatchCreateArgs<ExtArgs>>
|
|
2692
|
+
): Prisma__MatchClient<$Types.GetResult<MatchPayload<ExtArgs>, T, 'create', never>, never, ExtArgs>
|
|
2300
2693
|
|
|
2301
2694
|
/**
|
|
2302
2695
|
* Create many Matches.
|
|
@@ -2310,8 +2703,8 @@ export namespace Prisma {
|
|
|
2310
2703
|
* })
|
|
2311
2704
|
*
|
|
2312
2705
|
**/
|
|
2313
|
-
createMany<T extends MatchCreateManyArgs
|
|
2314
|
-
args?: SelectSubset<T, MatchCreateManyArgs
|
|
2706
|
+
createMany<T extends MatchCreateManyArgs<ExtArgs>>(
|
|
2707
|
+
args?: SelectSubset<T, MatchCreateManyArgs<ExtArgs>>
|
|
2315
2708
|
): Prisma.PrismaPromise<BatchPayload>
|
|
2316
2709
|
|
|
2317
2710
|
/**
|
|
@@ -2326,9 +2719,9 @@ export namespace Prisma {
|
|
|
2326
2719
|
* })
|
|
2327
2720
|
*
|
|
2328
2721
|
**/
|
|
2329
|
-
delete<T extends MatchDeleteArgs
|
|
2330
|
-
args: SelectSubset<T, MatchDeleteArgs
|
|
2331
|
-
): Prisma__MatchClient<
|
|
2722
|
+
delete<T extends MatchDeleteArgs<ExtArgs>>(
|
|
2723
|
+
args: SelectSubset<T, MatchDeleteArgs<ExtArgs>>
|
|
2724
|
+
): Prisma__MatchClient<$Types.GetResult<MatchPayload<ExtArgs>, T, 'delete', never>, never, ExtArgs>
|
|
2332
2725
|
|
|
2333
2726
|
/**
|
|
2334
2727
|
* Update one Match.
|
|
@@ -2345,9 +2738,9 @@ export namespace Prisma {
|
|
|
2345
2738
|
* })
|
|
2346
2739
|
*
|
|
2347
2740
|
**/
|
|
2348
|
-
update<T extends MatchUpdateArgs
|
|
2349
|
-
args: SelectSubset<T, MatchUpdateArgs
|
|
2350
|
-
): Prisma__MatchClient<
|
|
2741
|
+
update<T extends MatchUpdateArgs<ExtArgs>>(
|
|
2742
|
+
args: SelectSubset<T, MatchUpdateArgs<ExtArgs>>
|
|
2743
|
+
): Prisma__MatchClient<$Types.GetResult<MatchPayload<ExtArgs>, T, 'update', never>, never, ExtArgs>
|
|
2351
2744
|
|
|
2352
2745
|
/**
|
|
2353
2746
|
* Delete zero or more Matches.
|
|
@@ -2361,8 +2754,8 @@ export namespace Prisma {
|
|
|
2361
2754
|
* })
|
|
2362
2755
|
*
|
|
2363
2756
|
**/
|
|
2364
|
-
deleteMany<T extends MatchDeleteManyArgs
|
|
2365
|
-
args?: SelectSubset<T, MatchDeleteManyArgs
|
|
2757
|
+
deleteMany<T extends MatchDeleteManyArgs<ExtArgs>>(
|
|
2758
|
+
args?: SelectSubset<T, MatchDeleteManyArgs<ExtArgs>>
|
|
2366
2759
|
): Prisma.PrismaPromise<BatchPayload>
|
|
2367
2760
|
|
|
2368
2761
|
/**
|
|
@@ -2382,8 +2775,8 @@ export namespace Prisma {
|
|
|
2382
2775
|
* })
|
|
2383
2776
|
*
|
|
2384
2777
|
**/
|
|
2385
|
-
updateMany<T extends MatchUpdateManyArgs
|
|
2386
|
-
args: SelectSubset<T, MatchUpdateManyArgs
|
|
2778
|
+
updateMany<T extends MatchUpdateManyArgs<ExtArgs>>(
|
|
2779
|
+
args: SelectSubset<T, MatchUpdateManyArgs<ExtArgs>>
|
|
2387
2780
|
): Prisma.PrismaPromise<BatchPayload>
|
|
2388
2781
|
|
|
2389
2782
|
/**
|
|
@@ -2403,9 +2796,9 @@ export namespace Prisma {
|
|
|
2403
2796
|
* }
|
|
2404
2797
|
* })
|
|
2405
2798
|
**/
|
|
2406
|
-
upsert<T extends MatchUpsertArgs
|
|
2407
|
-
args: SelectSubset<T, MatchUpsertArgs
|
|
2408
|
-
): Prisma__MatchClient<
|
|
2799
|
+
upsert<T extends MatchUpsertArgs<ExtArgs>>(
|
|
2800
|
+
args: SelectSubset<T, MatchUpsertArgs<ExtArgs>>
|
|
2801
|
+
): Prisma__MatchClient<$Types.GetResult<MatchPayload<ExtArgs>, T, 'upsert', never>, never, ExtArgs>
|
|
2409
2802
|
|
|
2410
2803
|
/**
|
|
2411
2804
|
* Count the number of Matches.
|
|
@@ -2423,7 +2816,7 @@ export namespace Prisma {
|
|
|
2423
2816
|
count<T extends MatchCountArgs>(
|
|
2424
2817
|
args?: Subset<T, MatchCountArgs>,
|
|
2425
2818
|
): Prisma.PrismaPromise<
|
|
2426
|
-
T extends
|
|
2819
|
+
T extends $Utils.Record<'select', any>
|
|
2427
2820
|
? T['select'] extends true
|
|
2428
2821
|
? number
|
|
2429
2822
|
: GetScalarType<T['select'], MatchCountAggregateOutputType>
|
|
@@ -2541,7 +2934,7 @@ export namespace Prisma {
|
|
|
2541
2934
|
* Because we want to prevent naming conflicts as mentioned in
|
|
2542
2935
|
* https://github.com/prisma/prisma-client-js/issues/707
|
|
2543
2936
|
*/
|
|
2544
|
-
export class Prisma__MatchClient<T, Null = never> implements Prisma.PrismaPromise<T> {
|
|
2937
|
+
export class Prisma__MatchClient<T, Null = never, ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> implements Prisma.PrismaPromise<T> {
|
|
2545
2938
|
private readonly _dmmf;
|
|
2546
2939
|
private readonly _queryType;
|
|
2547
2940
|
private readonly _rootField;
|
|
@@ -2556,11 +2949,11 @@ export namespace Prisma {
|
|
|
2556
2949
|
readonly [Symbol.toStringTag]: 'PrismaPromise';
|
|
2557
2950
|
constructor(_dmmf: runtime.DMMFClass, _queryType: 'query' | 'mutation', _rootField: string, _clientMethod: string, _args: any, _dataPath: string[], _errorFormat: ErrorFormat, _measurePerformance?: boolean | undefined, _isList?: boolean);
|
|
2558
2951
|
|
|
2559
|
-
bet<T extends MatchBetArgs= {}>(args?: Subset<T, MatchBetArgs
|
|
2952
|
+
bet<T extends MatchBetArgs<ExtArgs> = {}>(args?: Subset<T, MatchBetArgs<ExtArgs>>): Prisma__MatchBetClient<$Types.GetResult<MatchBetPayload<ExtArgs>, T, 'findUnique', never> | Null, never, ExtArgs>;
|
|
2560
2953
|
|
|
2561
|
-
hands<T extends Match$handsArgs= {}>(args?: Subset<T, Match$handsArgs
|
|
2954
|
+
hands<T extends Match$handsArgs<ExtArgs> = {}>(args?: Subset<T, Match$handsArgs<ExtArgs>>): Prisma.PrismaPromise<$Types.GetResult<MatchHandPayload<ExtArgs>, T, 'findMany', never>| Null>;
|
|
2562
2955
|
|
|
2563
|
-
players<T extends Match$playersArgs= {}>(args?: Subset<T, Match$playersArgs
|
|
2956
|
+
players<T extends Match$playersArgs<ExtArgs> = {}>(args?: Subset<T, Match$playersArgs<ExtArgs>>): Prisma.PrismaPromise<$Types.GetResult<MatchPlayerPayload<ExtArgs>, T, 'findMany', never>| Null>;
|
|
2564
2957
|
|
|
2565
2958
|
private get _document();
|
|
2566
2959
|
/**
|
|
@@ -2592,15 +2985,15 @@ export namespace Prisma {
|
|
|
2592
2985
|
/**
|
|
2593
2986
|
* Match base type for findUnique actions
|
|
2594
2987
|
*/
|
|
2595
|
-
export type MatchFindUniqueArgsBase = {
|
|
2988
|
+
export type MatchFindUniqueArgsBase<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
2596
2989
|
/**
|
|
2597
2990
|
* Select specific fields to fetch from the Match
|
|
2598
2991
|
*/
|
|
2599
|
-
select?: MatchSelect | null
|
|
2992
|
+
select?: MatchSelect<ExtArgs> | null
|
|
2600
2993
|
/**
|
|
2601
2994
|
* Choose, which related nodes to fetch as well.
|
|
2602
2995
|
*/
|
|
2603
|
-
include?: MatchInclude | null
|
|
2996
|
+
include?: MatchInclude<ExtArgs> | null
|
|
2604
2997
|
/**
|
|
2605
2998
|
* Filter, which Match to fetch.
|
|
2606
2999
|
*/
|
|
@@ -2610,7 +3003,7 @@ export namespace Prisma {
|
|
|
2610
3003
|
/**
|
|
2611
3004
|
* Match findUnique
|
|
2612
3005
|
*/
|
|
2613
|
-
export interface MatchFindUniqueArgs extends MatchFindUniqueArgsBase {
|
|
3006
|
+
export interface MatchFindUniqueArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> extends MatchFindUniqueArgsBase<ExtArgs> {
|
|
2614
3007
|
/**
|
|
2615
3008
|
* Throw an Error if query returns no results
|
|
2616
3009
|
* @deprecated since 4.0.0: use `findUniqueOrThrow` method instead
|
|
@@ -2622,15 +3015,15 @@ export namespace Prisma {
|
|
|
2622
3015
|
/**
|
|
2623
3016
|
* Match findUniqueOrThrow
|
|
2624
3017
|
*/
|
|
2625
|
-
export type MatchFindUniqueOrThrowArgs = {
|
|
3018
|
+
export type MatchFindUniqueOrThrowArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
2626
3019
|
/**
|
|
2627
3020
|
* Select specific fields to fetch from the Match
|
|
2628
3021
|
*/
|
|
2629
|
-
select?: MatchSelect | null
|
|
3022
|
+
select?: MatchSelect<ExtArgs> | null
|
|
2630
3023
|
/**
|
|
2631
3024
|
* Choose, which related nodes to fetch as well.
|
|
2632
3025
|
*/
|
|
2633
|
-
include?: MatchInclude | null
|
|
3026
|
+
include?: MatchInclude<ExtArgs> | null
|
|
2634
3027
|
/**
|
|
2635
3028
|
* Filter, which Match to fetch.
|
|
2636
3029
|
*/
|
|
@@ -2641,15 +3034,15 @@ export namespace Prisma {
|
|
|
2641
3034
|
/**
|
|
2642
3035
|
* Match base type for findFirst actions
|
|
2643
3036
|
*/
|
|
2644
|
-
export type MatchFindFirstArgsBase = {
|
|
3037
|
+
export type MatchFindFirstArgsBase<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
2645
3038
|
/**
|
|
2646
3039
|
* Select specific fields to fetch from the Match
|
|
2647
3040
|
*/
|
|
2648
|
-
select?: MatchSelect | null
|
|
3041
|
+
select?: MatchSelect<ExtArgs> | null
|
|
2649
3042
|
/**
|
|
2650
3043
|
* Choose, which related nodes to fetch as well.
|
|
2651
3044
|
*/
|
|
2652
|
-
include?: MatchInclude | null
|
|
3045
|
+
include?: MatchInclude<ExtArgs> | null
|
|
2653
3046
|
/**
|
|
2654
3047
|
* Filter, which Match to fetch.
|
|
2655
3048
|
*/
|
|
@@ -2689,7 +3082,7 @@ export namespace Prisma {
|
|
|
2689
3082
|
/**
|
|
2690
3083
|
* Match findFirst
|
|
2691
3084
|
*/
|
|
2692
|
-
export interface MatchFindFirstArgs extends MatchFindFirstArgsBase {
|
|
3085
|
+
export interface MatchFindFirstArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> extends MatchFindFirstArgsBase<ExtArgs> {
|
|
2693
3086
|
/**
|
|
2694
3087
|
* Throw an Error if query returns no results
|
|
2695
3088
|
* @deprecated since 4.0.0: use `findFirstOrThrow` method instead
|
|
@@ -2701,15 +3094,15 @@ export namespace Prisma {
|
|
|
2701
3094
|
/**
|
|
2702
3095
|
* Match findFirstOrThrow
|
|
2703
3096
|
*/
|
|
2704
|
-
export type MatchFindFirstOrThrowArgs = {
|
|
3097
|
+
export type MatchFindFirstOrThrowArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
2705
3098
|
/**
|
|
2706
3099
|
* Select specific fields to fetch from the Match
|
|
2707
3100
|
*/
|
|
2708
|
-
select?: MatchSelect | null
|
|
3101
|
+
select?: MatchSelect<ExtArgs> | null
|
|
2709
3102
|
/**
|
|
2710
3103
|
* Choose, which related nodes to fetch as well.
|
|
2711
3104
|
*/
|
|
2712
|
-
include?: MatchInclude | null
|
|
3105
|
+
include?: MatchInclude<ExtArgs> | null
|
|
2713
3106
|
/**
|
|
2714
3107
|
* Filter, which Match to fetch.
|
|
2715
3108
|
*/
|
|
@@ -2750,15 +3143,15 @@ export namespace Prisma {
|
|
|
2750
3143
|
/**
|
|
2751
3144
|
* Match findMany
|
|
2752
3145
|
*/
|
|
2753
|
-
export type MatchFindManyArgs = {
|
|
3146
|
+
export type MatchFindManyArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
2754
3147
|
/**
|
|
2755
3148
|
* Select specific fields to fetch from the Match
|
|
2756
3149
|
*/
|
|
2757
|
-
select?: MatchSelect | null
|
|
3150
|
+
select?: MatchSelect<ExtArgs> | null
|
|
2758
3151
|
/**
|
|
2759
3152
|
* Choose, which related nodes to fetch as well.
|
|
2760
3153
|
*/
|
|
2761
|
-
include?: MatchInclude | null
|
|
3154
|
+
include?: MatchInclude<ExtArgs> | null
|
|
2762
3155
|
/**
|
|
2763
3156
|
* Filter, which Matches to fetch.
|
|
2764
3157
|
*/
|
|
@@ -2794,15 +3187,15 @@ export namespace Prisma {
|
|
|
2794
3187
|
/**
|
|
2795
3188
|
* Match create
|
|
2796
3189
|
*/
|
|
2797
|
-
export type MatchCreateArgs = {
|
|
3190
|
+
export type MatchCreateArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
2798
3191
|
/**
|
|
2799
3192
|
* Select specific fields to fetch from the Match
|
|
2800
3193
|
*/
|
|
2801
|
-
select?: MatchSelect | null
|
|
3194
|
+
select?: MatchSelect<ExtArgs> | null
|
|
2802
3195
|
/**
|
|
2803
3196
|
* Choose, which related nodes to fetch as well.
|
|
2804
3197
|
*/
|
|
2805
|
-
include?: MatchInclude | null
|
|
3198
|
+
include?: MatchInclude<ExtArgs> | null
|
|
2806
3199
|
/**
|
|
2807
3200
|
* The data needed to create a Match.
|
|
2808
3201
|
*/
|
|
@@ -2813,7 +3206,7 @@ export namespace Prisma {
|
|
|
2813
3206
|
/**
|
|
2814
3207
|
* Match createMany
|
|
2815
3208
|
*/
|
|
2816
|
-
export type MatchCreateManyArgs = {
|
|
3209
|
+
export type MatchCreateManyArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
2817
3210
|
/**
|
|
2818
3211
|
* The data used to create many Matches.
|
|
2819
3212
|
*/
|
|
@@ -2825,15 +3218,15 @@ export namespace Prisma {
|
|
|
2825
3218
|
/**
|
|
2826
3219
|
* Match update
|
|
2827
3220
|
*/
|
|
2828
|
-
export type MatchUpdateArgs = {
|
|
3221
|
+
export type MatchUpdateArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
2829
3222
|
/**
|
|
2830
3223
|
* Select specific fields to fetch from the Match
|
|
2831
3224
|
*/
|
|
2832
|
-
select?: MatchSelect | null
|
|
3225
|
+
select?: MatchSelect<ExtArgs> | null
|
|
2833
3226
|
/**
|
|
2834
3227
|
* Choose, which related nodes to fetch as well.
|
|
2835
3228
|
*/
|
|
2836
|
-
include?: MatchInclude | null
|
|
3229
|
+
include?: MatchInclude<ExtArgs> | null
|
|
2837
3230
|
/**
|
|
2838
3231
|
* The data needed to update a Match.
|
|
2839
3232
|
*/
|
|
@@ -2848,7 +3241,7 @@ export namespace Prisma {
|
|
|
2848
3241
|
/**
|
|
2849
3242
|
* Match updateMany
|
|
2850
3243
|
*/
|
|
2851
|
-
export type MatchUpdateManyArgs = {
|
|
3244
|
+
export type MatchUpdateManyArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
2852
3245
|
/**
|
|
2853
3246
|
* The data used to update Matches.
|
|
2854
3247
|
*/
|
|
@@ -2863,15 +3256,15 @@ export namespace Prisma {
|
|
|
2863
3256
|
/**
|
|
2864
3257
|
* Match upsert
|
|
2865
3258
|
*/
|
|
2866
|
-
export type MatchUpsertArgs = {
|
|
3259
|
+
export type MatchUpsertArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
2867
3260
|
/**
|
|
2868
3261
|
* Select specific fields to fetch from the Match
|
|
2869
3262
|
*/
|
|
2870
|
-
select?: MatchSelect | null
|
|
3263
|
+
select?: MatchSelect<ExtArgs> | null
|
|
2871
3264
|
/**
|
|
2872
3265
|
* Choose, which related nodes to fetch as well.
|
|
2873
3266
|
*/
|
|
2874
|
-
include?: MatchInclude | null
|
|
3267
|
+
include?: MatchInclude<ExtArgs> | null
|
|
2875
3268
|
/**
|
|
2876
3269
|
* The filter to search for the Match to update in case it exists.
|
|
2877
3270
|
*/
|
|
@@ -2890,15 +3283,15 @@ export namespace Prisma {
|
|
|
2890
3283
|
/**
|
|
2891
3284
|
* Match delete
|
|
2892
3285
|
*/
|
|
2893
|
-
export type MatchDeleteArgs = {
|
|
3286
|
+
export type MatchDeleteArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
2894
3287
|
/**
|
|
2895
3288
|
* Select specific fields to fetch from the Match
|
|
2896
3289
|
*/
|
|
2897
|
-
select?: MatchSelect | null
|
|
3290
|
+
select?: MatchSelect<ExtArgs> | null
|
|
2898
3291
|
/**
|
|
2899
3292
|
* Choose, which related nodes to fetch as well.
|
|
2900
3293
|
*/
|
|
2901
|
-
include?: MatchInclude | null
|
|
3294
|
+
include?: MatchInclude<ExtArgs> | null
|
|
2902
3295
|
/**
|
|
2903
3296
|
* Filter which Match to delete.
|
|
2904
3297
|
*/
|
|
@@ -2909,7 +3302,7 @@ export namespace Prisma {
|
|
|
2909
3302
|
/**
|
|
2910
3303
|
* Match deleteMany
|
|
2911
3304
|
*/
|
|
2912
|
-
export type MatchDeleteManyArgs = {
|
|
3305
|
+
export type MatchDeleteManyArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
2913
3306
|
/**
|
|
2914
3307
|
* Filter which Matches to delete
|
|
2915
3308
|
*/
|
|
@@ -2920,15 +3313,15 @@ export namespace Prisma {
|
|
|
2920
3313
|
/**
|
|
2921
3314
|
* Match.hands
|
|
2922
3315
|
*/
|
|
2923
|
-
export type Match$handsArgs = {
|
|
3316
|
+
export type Match$handsArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
2924
3317
|
/**
|
|
2925
3318
|
* Select specific fields to fetch from the MatchHand
|
|
2926
3319
|
*/
|
|
2927
|
-
select?: MatchHandSelect | null
|
|
3320
|
+
select?: MatchHandSelect<ExtArgs> | null
|
|
2928
3321
|
/**
|
|
2929
3322
|
* Choose, which related nodes to fetch as well.
|
|
2930
3323
|
*/
|
|
2931
|
-
include?: MatchHandInclude | null
|
|
3324
|
+
include?: MatchHandInclude<ExtArgs> | null
|
|
2932
3325
|
where?: MatchHandWhereInput
|
|
2933
3326
|
orderBy?: Enumerable<MatchHandOrderByWithRelationInput>
|
|
2934
3327
|
cursor?: MatchHandWhereUniqueInput
|
|
@@ -2941,15 +3334,15 @@ export namespace Prisma {
|
|
|
2941
3334
|
/**
|
|
2942
3335
|
* Match.players
|
|
2943
3336
|
*/
|
|
2944
|
-
export type Match$playersArgs = {
|
|
3337
|
+
export type Match$playersArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
2945
3338
|
/**
|
|
2946
3339
|
* Select specific fields to fetch from the MatchPlayer
|
|
2947
3340
|
*/
|
|
2948
|
-
select?: MatchPlayerSelect | null
|
|
3341
|
+
select?: MatchPlayerSelect<ExtArgs> | null
|
|
2949
3342
|
/**
|
|
2950
3343
|
* Choose, which related nodes to fetch as well.
|
|
2951
3344
|
*/
|
|
2952
|
-
include?: MatchPlayerInclude | null
|
|
3345
|
+
include?: MatchPlayerInclude<ExtArgs> | null
|
|
2953
3346
|
where?: MatchPlayerWhereInput
|
|
2954
3347
|
orderBy?: Enumerable<MatchPlayerOrderByWithRelationInput>
|
|
2955
3348
|
cursor?: MatchPlayerWhereUniqueInput
|
|
@@ -2962,15 +3355,15 @@ export namespace Prisma {
|
|
|
2962
3355
|
/**
|
|
2963
3356
|
* Match without action
|
|
2964
3357
|
*/
|
|
2965
|
-
export type MatchArgs = {
|
|
3358
|
+
export type MatchArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
2966
3359
|
/**
|
|
2967
3360
|
* Select specific fields to fetch from the Match
|
|
2968
3361
|
*/
|
|
2969
|
-
select?: MatchSelect | null
|
|
3362
|
+
select?: MatchSelect<ExtArgs> | null
|
|
2970
3363
|
/**
|
|
2971
3364
|
* Choose, which related nodes to fetch as well.
|
|
2972
3365
|
*/
|
|
2973
|
-
include?: MatchInclude | null
|
|
3366
|
+
include?: MatchInclude<ExtArgs> | null
|
|
2974
3367
|
}
|
|
2975
3368
|
|
|
2976
3369
|
|
|
@@ -3075,7 +3468,7 @@ export namespace Prisma {
|
|
|
3075
3468
|
_all?: true
|
|
3076
3469
|
}
|
|
3077
3470
|
|
|
3078
|
-
export type MatchBetAggregateArgs = {
|
|
3471
|
+
export type MatchBetAggregateArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
3079
3472
|
/**
|
|
3080
3473
|
* Filter which MatchBet to aggregate.
|
|
3081
3474
|
*/
|
|
@@ -3147,7 +3540,7 @@ export namespace Prisma {
|
|
|
3147
3540
|
|
|
3148
3541
|
|
|
3149
3542
|
|
|
3150
|
-
export type MatchBetGroupByArgs = {
|
|
3543
|
+
export type MatchBetGroupByArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
3151
3544
|
where?: MatchBetWhereInput
|
|
3152
3545
|
orderBy?: Enumerable<MatchBetOrderByWithAggregationInput>
|
|
3153
3546
|
by: MatchBetScalarFieldEnum[]
|
|
@@ -3191,7 +3584,7 @@ export namespace Prisma {
|
|
|
3191
3584
|
>
|
|
3192
3585
|
|
|
3193
3586
|
|
|
3194
|
-
export type MatchBetSelect = {
|
|
3587
|
+
export type MatchBetSelect<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
3195
3588
|
id?: boolean
|
|
3196
3589
|
createdAt?: boolean
|
|
3197
3590
|
updatedAt?: boolean
|
|
@@ -3199,38 +3592,33 @@ export namespace Prisma {
|
|
|
3199
3592
|
satsPerPlayer?: boolean
|
|
3200
3593
|
allPlayersPaid?: boolean
|
|
3201
3594
|
winnerAwarded?: boolean
|
|
3202
|
-
match?: boolean | MatchArgs
|
|
3203
|
-
}
|
|
3595
|
+
match?: boolean | MatchArgs<ExtArgs>
|
|
3596
|
+
}, ExtArgs["result"]["matchBet"]>
|
|
3204
3597
|
|
|
3598
|
+
export type MatchBetSelectScalar = {
|
|
3599
|
+
id?: boolean
|
|
3600
|
+
createdAt?: boolean
|
|
3601
|
+
updatedAt?: boolean
|
|
3602
|
+
matchId?: boolean
|
|
3603
|
+
satsPerPlayer?: boolean
|
|
3604
|
+
allPlayersPaid?: boolean
|
|
3605
|
+
winnerAwarded?: boolean
|
|
3606
|
+
}
|
|
3205
3607
|
|
|
3206
|
-
export type MatchBetInclude = {
|
|
3207
|
-
match?: boolean | MatchArgs
|
|
3608
|
+
export type MatchBetInclude<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
3609
|
+
match?: boolean | MatchArgs<ExtArgs>
|
|
3208
3610
|
}
|
|
3209
3611
|
|
|
3210
|
-
export type MatchBetGetPayload<S extends boolean | null | undefined | MatchBetArgs> =
|
|
3211
|
-
S extends { select: any, include: any } ? 'Please either choose `select` or `include`' :
|
|
3212
|
-
S extends true ? MatchBet :
|
|
3213
|
-
S extends undefined ? never :
|
|
3214
|
-
S extends { include: any } & (MatchBetArgs | MatchBetFindManyArgs)
|
|
3215
|
-
? MatchBet & {
|
|
3216
|
-
[P in TruthyKeys<S['include']>]:
|
|
3217
|
-
P extends 'match' ? MatchGetPayload<S['include'][P]> : never
|
|
3218
|
-
}
|
|
3219
|
-
: S extends { select: any } & (MatchBetArgs | MatchBetFindManyArgs)
|
|
3220
|
-
? {
|
|
3221
|
-
[P in TruthyKeys<S['select']>]:
|
|
3222
|
-
P extends 'match' ? MatchGetPayload<S['select'][P]> : P extends keyof MatchBet ? MatchBet[P] : never
|
|
3223
|
-
}
|
|
3224
|
-
: MatchBet
|
|
3225
3612
|
|
|
3613
|
+
type MatchBetGetPayload<S extends boolean | null | undefined | MatchBetArgs> = $Types.GetResult<MatchBetPayload, S>
|
|
3226
3614
|
|
|
3227
|
-
type MatchBetCountArgs =
|
|
3615
|
+
type MatchBetCountArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> =
|
|
3228
3616
|
Omit<MatchBetFindManyArgs, 'select' | 'include'> & {
|
|
3229
3617
|
select?: MatchBetCountAggregateInputType | true
|
|
3230
3618
|
}
|
|
3231
3619
|
|
|
3232
|
-
export interface MatchBetDelegate<GlobalRejectSettings extends Prisma.RejectOnNotFound | Prisma.RejectPerOperation | false | undefined> {
|
|
3233
|
-
|
|
3620
|
+
export interface MatchBetDelegate<GlobalRejectSettings extends Prisma.RejectOnNotFound | Prisma.RejectPerOperation | false | undefined, ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> {
|
|
3621
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['MatchBet'], meta: { name: 'MatchBet' } }
|
|
3234
3622
|
/**
|
|
3235
3623
|
* Find zero or one MatchBet that matches the filter.
|
|
3236
3624
|
* @param {MatchBetFindUniqueArgs} args - Arguments to find a MatchBet
|
|
@@ -3242,9 +3630,9 @@ export namespace Prisma {
|
|
|
3242
3630
|
* }
|
|
3243
3631
|
* })
|
|
3244
3632
|
**/
|
|
3245
|
-
findUnique<T extends MatchBetFindUniqueArgs
|
|
3246
|
-
args: SelectSubset<T, MatchBetFindUniqueArgs
|
|
3247
|
-
): HasReject<GlobalRejectSettings, LocalRejectSettings, 'findUnique', 'MatchBet'> extends True ? Prisma__MatchBetClient<
|
|
3633
|
+
findUnique<T extends MatchBetFindUniqueArgs<ExtArgs>, LocalRejectSettings = T["rejectOnNotFound"] extends RejectOnNotFound ? T['rejectOnNotFound'] : undefined>(
|
|
3634
|
+
args: SelectSubset<T, MatchBetFindUniqueArgs<ExtArgs>>
|
|
3635
|
+
): HasReject<GlobalRejectSettings, LocalRejectSettings, 'findUnique', 'MatchBet'> extends True ? Prisma__MatchBetClient<$Types.GetResult<MatchBetPayload<ExtArgs>, T, 'findUnique', never>, never, ExtArgs> : Prisma__MatchBetClient<$Types.GetResult<MatchBetPayload<ExtArgs>, T, 'findUnique', never> | null, null, ExtArgs>
|
|
3248
3636
|
|
|
3249
3637
|
/**
|
|
3250
3638
|
* Find one MatchBet that matches the filter or throw an error with `error.code='P2025'`
|
|
@@ -3258,9 +3646,9 @@ export namespace Prisma {
|
|
|
3258
3646
|
* }
|
|
3259
3647
|
* })
|
|
3260
3648
|
**/
|
|
3261
|
-
findUniqueOrThrow<T extends MatchBetFindUniqueOrThrowArgs
|
|
3262
|
-
args?: SelectSubset<T, MatchBetFindUniqueOrThrowArgs
|
|
3263
|
-
): Prisma__MatchBetClient<
|
|
3649
|
+
findUniqueOrThrow<T extends MatchBetFindUniqueOrThrowArgs<ExtArgs>>(
|
|
3650
|
+
args?: SelectSubset<T, MatchBetFindUniqueOrThrowArgs<ExtArgs>>
|
|
3651
|
+
): Prisma__MatchBetClient<$Types.GetResult<MatchBetPayload<ExtArgs>, T, 'findUniqueOrThrow', never>, never, ExtArgs>
|
|
3264
3652
|
|
|
3265
3653
|
/**
|
|
3266
3654
|
* Find the first MatchBet that matches the filter.
|
|
@@ -3275,9 +3663,9 @@ export namespace Prisma {
|
|
|
3275
3663
|
* }
|
|
3276
3664
|
* })
|
|
3277
3665
|
**/
|
|
3278
|
-
findFirst<T extends MatchBetFindFirstArgs
|
|
3279
|
-
args?: SelectSubset<T, MatchBetFindFirstArgs
|
|
3280
|
-
): HasReject<GlobalRejectSettings, LocalRejectSettings, 'findFirst', 'MatchBet'> extends True ? Prisma__MatchBetClient<
|
|
3666
|
+
findFirst<T extends MatchBetFindFirstArgs<ExtArgs>, LocalRejectSettings = T["rejectOnNotFound"] extends RejectOnNotFound ? T['rejectOnNotFound'] : undefined>(
|
|
3667
|
+
args?: SelectSubset<T, MatchBetFindFirstArgs<ExtArgs>>
|
|
3668
|
+
): HasReject<GlobalRejectSettings, LocalRejectSettings, 'findFirst', 'MatchBet'> extends True ? Prisma__MatchBetClient<$Types.GetResult<MatchBetPayload<ExtArgs>, T, 'findFirst', never>, never, ExtArgs> : Prisma__MatchBetClient<$Types.GetResult<MatchBetPayload<ExtArgs>, T, 'findFirst', never> | null, null, ExtArgs>
|
|
3281
3669
|
|
|
3282
3670
|
/**
|
|
3283
3671
|
* Find the first MatchBet that matches the filter or
|
|
@@ -3293,9 +3681,9 @@ export namespace Prisma {
|
|
|
3293
3681
|
* }
|
|
3294
3682
|
* })
|
|
3295
3683
|
**/
|
|
3296
|
-
findFirstOrThrow<T extends MatchBetFindFirstOrThrowArgs
|
|
3297
|
-
args?: SelectSubset<T, MatchBetFindFirstOrThrowArgs
|
|
3298
|
-
): Prisma__MatchBetClient<
|
|
3684
|
+
findFirstOrThrow<T extends MatchBetFindFirstOrThrowArgs<ExtArgs>>(
|
|
3685
|
+
args?: SelectSubset<T, MatchBetFindFirstOrThrowArgs<ExtArgs>>
|
|
3686
|
+
): Prisma__MatchBetClient<$Types.GetResult<MatchBetPayload<ExtArgs>, T, 'findFirstOrThrow', never>, never, ExtArgs>
|
|
3299
3687
|
|
|
3300
3688
|
/**
|
|
3301
3689
|
* Find zero or more MatchBets that matches the filter.
|
|
@@ -3313,9 +3701,9 @@ export namespace Prisma {
|
|
|
3313
3701
|
* const matchBetWithIdOnly = await prisma.matchBet.findMany({ select: { id: true } })
|
|
3314
3702
|
*
|
|
3315
3703
|
**/
|
|
3316
|
-
findMany<T extends MatchBetFindManyArgs
|
|
3317
|
-
args?: SelectSubset<T, MatchBetFindManyArgs
|
|
3318
|
-
): Prisma.PrismaPromise<
|
|
3704
|
+
findMany<T extends MatchBetFindManyArgs<ExtArgs>>(
|
|
3705
|
+
args?: SelectSubset<T, MatchBetFindManyArgs<ExtArgs>>
|
|
3706
|
+
): Prisma.PrismaPromise<$Types.GetResult<MatchBetPayload<ExtArgs>, T, 'findMany', never>>
|
|
3319
3707
|
|
|
3320
3708
|
/**
|
|
3321
3709
|
* Create a MatchBet.
|
|
@@ -3329,9 +3717,9 @@ export namespace Prisma {
|
|
|
3329
3717
|
* })
|
|
3330
3718
|
*
|
|
3331
3719
|
**/
|
|
3332
|
-
create<T extends MatchBetCreateArgs
|
|
3333
|
-
args: SelectSubset<T, MatchBetCreateArgs
|
|
3334
|
-
): Prisma__MatchBetClient<
|
|
3720
|
+
create<T extends MatchBetCreateArgs<ExtArgs>>(
|
|
3721
|
+
args: SelectSubset<T, MatchBetCreateArgs<ExtArgs>>
|
|
3722
|
+
): Prisma__MatchBetClient<$Types.GetResult<MatchBetPayload<ExtArgs>, T, 'create', never>, never, ExtArgs>
|
|
3335
3723
|
|
|
3336
3724
|
/**
|
|
3337
3725
|
* Create many MatchBets.
|
|
@@ -3345,8 +3733,8 @@ export namespace Prisma {
|
|
|
3345
3733
|
* })
|
|
3346
3734
|
*
|
|
3347
3735
|
**/
|
|
3348
|
-
createMany<T extends MatchBetCreateManyArgs
|
|
3349
|
-
args?: SelectSubset<T, MatchBetCreateManyArgs
|
|
3736
|
+
createMany<T extends MatchBetCreateManyArgs<ExtArgs>>(
|
|
3737
|
+
args?: SelectSubset<T, MatchBetCreateManyArgs<ExtArgs>>
|
|
3350
3738
|
): Prisma.PrismaPromise<BatchPayload>
|
|
3351
3739
|
|
|
3352
3740
|
/**
|
|
@@ -3361,9 +3749,9 @@ export namespace Prisma {
|
|
|
3361
3749
|
* })
|
|
3362
3750
|
*
|
|
3363
3751
|
**/
|
|
3364
|
-
delete<T extends MatchBetDeleteArgs
|
|
3365
|
-
args: SelectSubset<T, MatchBetDeleteArgs
|
|
3366
|
-
): Prisma__MatchBetClient<
|
|
3752
|
+
delete<T extends MatchBetDeleteArgs<ExtArgs>>(
|
|
3753
|
+
args: SelectSubset<T, MatchBetDeleteArgs<ExtArgs>>
|
|
3754
|
+
): Prisma__MatchBetClient<$Types.GetResult<MatchBetPayload<ExtArgs>, T, 'delete', never>, never, ExtArgs>
|
|
3367
3755
|
|
|
3368
3756
|
/**
|
|
3369
3757
|
* Update one MatchBet.
|
|
@@ -3380,9 +3768,9 @@ export namespace Prisma {
|
|
|
3380
3768
|
* })
|
|
3381
3769
|
*
|
|
3382
3770
|
**/
|
|
3383
|
-
update<T extends MatchBetUpdateArgs
|
|
3384
|
-
args: SelectSubset<T, MatchBetUpdateArgs
|
|
3385
|
-
): Prisma__MatchBetClient<
|
|
3771
|
+
update<T extends MatchBetUpdateArgs<ExtArgs>>(
|
|
3772
|
+
args: SelectSubset<T, MatchBetUpdateArgs<ExtArgs>>
|
|
3773
|
+
): Prisma__MatchBetClient<$Types.GetResult<MatchBetPayload<ExtArgs>, T, 'update', never>, never, ExtArgs>
|
|
3386
3774
|
|
|
3387
3775
|
/**
|
|
3388
3776
|
* Delete zero or more MatchBets.
|
|
@@ -3396,8 +3784,8 @@ export namespace Prisma {
|
|
|
3396
3784
|
* })
|
|
3397
3785
|
*
|
|
3398
3786
|
**/
|
|
3399
|
-
deleteMany<T extends MatchBetDeleteManyArgs
|
|
3400
|
-
args?: SelectSubset<T, MatchBetDeleteManyArgs
|
|
3787
|
+
deleteMany<T extends MatchBetDeleteManyArgs<ExtArgs>>(
|
|
3788
|
+
args?: SelectSubset<T, MatchBetDeleteManyArgs<ExtArgs>>
|
|
3401
3789
|
): Prisma.PrismaPromise<BatchPayload>
|
|
3402
3790
|
|
|
3403
3791
|
/**
|
|
@@ -3417,8 +3805,8 @@ export namespace Prisma {
|
|
|
3417
3805
|
* })
|
|
3418
3806
|
*
|
|
3419
3807
|
**/
|
|
3420
|
-
updateMany<T extends MatchBetUpdateManyArgs
|
|
3421
|
-
args: SelectSubset<T, MatchBetUpdateManyArgs
|
|
3808
|
+
updateMany<T extends MatchBetUpdateManyArgs<ExtArgs>>(
|
|
3809
|
+
args: SelectSubset<T, MatchBetUpdateManyArgs<ExtArgs>>
|
|
3422
3810
|
): Prisma.PrismaPromise<BatchPayload>
|
|
3423
3811
|
|
|
3424
3812
|
/**
|
|
@@ -3438,9 +3826,9 @@ export namespace Prisma {
|
|
|
3438
3826
|
* }
|
|
3439
3827
|
* })
|
|
3440
3828
|
**/
|
|
3441
|
-
upsert<T extends MatchBetUpsertArgs
|
|
3442
|
-
args: SelectSubset<T, MatchBetUpsertArgs
|
|
3443
|
-
): Prisma__MatchBetClient<
|
|
3829
|
+
upsert<T extends MatchBetUpsertArgs<ExtArgs>>(
|
|
3830
|
+
args: SelectSubset<T, MatchBetUpsertArgs<ExtArgs>>
|
|
3831
|
+
): Prisma__MatchBetClient<$Types.GetResult<MatchBetPayload<ExtArgs>, T, 'upsert', never>, never, ExtArgs>
|
|
3444
3832
|
|
|
3445
3833
|
/**
|
|
3446
3834
|
* Count the number of MatchBets.
|
|
@@ -3458,7 +3846,7 @@ export namespace Prisma {
|
|
|
3458
3846
|
count<T extends MatchBetCountArgs>(
|
|
3459
3847
|
args?: Subset<T, MatchBetCountArgs>,
|
|
3460
3848
|
): Prisma.PrismaPromise<
|
|
3461
|
-
T extends
|
|
3849
|
+
T extends $Utils.Record<'select', any>
|
|
3462
3850
|
? T['select'] extends true
|
|
3463
3851
|
? number
|
|
3464
3852
|
: GetScalarType<T['select'], MatchBetCountAggregateOutputType>
|
|
@@ -3576,7 +3964,7 @@ export namespace Prisma {
|
|
|
3576
3964
|
* Because we want to prevent naming conflicts as mentioned in
|
|
3577
3965
|
* https://github.com/prisma/prisma-client-js/issues/707
|
|
3578
3966
|
*/
|
|
3579
|
-
export class Prisma__MatchBetClient<T, Null = never> implements Prisma.PrismaPromise<T> {
|
|
3967
|
+
export class Prisma__MatchBetClient<T, Null = never, ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> implements Prisma.PrismaPromise<T> {
|
|
3580
3968
|
private readonly _dmmf;
|
|
3581
3969
|
private readonly _queryType;
|
|
3582
3970
|
private readonly _rootField;
|
|
@@ -3591,7 +3979,7 @@ export namespace Prisma {
|
|
|
3591
3979
|
readonly [Symbol.toStringTag]: 'PrismaPromise';
|
|
3592
3980
|
constructor(_dmmf: runtime.DMMFClass, _queryType: 'query' | 'mutation', _rootField: string, _clientMethod: string, _args: any, _dataPath: string[], _errorFormat: ErrorFormat, _measurePerformance?: boolean | undefined, _isList?: boolean);
|
|
3593
3981
|
|
|
3594
|
-
match<T extends MatchArgs= {}>(args?: Subset<T, MatchArgs
|
|
3982
|
+
match<T extends MatchArgs<ExtArgs> = {}>(args?: Subset<T, MatchArgs<ExtArgs>>): Prisma__MatchClient<$Types.GetResult<MatchPayload<ExtArgs>, T, 'findUnique', never> | Null, never, ExtArgs>;
|
|
3595
3983
|
|
|
3596
3984
|
private get _document();
|
|
3597
3985
|
/**
|
|
@@ -3623,15 +4011,15 @@ export namespace Prisma {
|
|
|
3623
4011
|
/**
|
|
3624
4012
|
* MatchBet base type for findUnique actions
|
|
3625
4013
|
*/
|
|
3626
|
-
export type MatchBetFindUniqueArgsBase = {
|
|
4014
|
+
export type MatchBetFindUniqueArgsBase<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
3627
4015
|
/**
|
|
3628
4016
|
* Select specific fields to fetch from the MatchBet
|
|
3629
4017
|
*/
|
|
3630
|
-
select?: MatchBetSelect | null
|
|
4018
|
+
select?: MatchBetSelect<ExtArgs> | null
|
|
3631
4019
|
/**
|
|
3632
4020
|
* Choose, which related nodes to fetch as well.
|
|
3633
4021
|
*/
|
|
3634
|
-
include?: MatchBetInclude | null
|
|
4022
|
+
include?: MatchBetInclude<ExtArgs> | null
|
|
3635
4023
|
/**
|
|
3636
4024
|
* Filter, which MatchBet to fetch.
|
|
3637
4025
|
*/
|
|
@@ -3641,7 +4029,7 @@ export namespace Prisma {
|
|
|
3641
4029
|
/**
|
|
3642
4030
|
* MatchBet findUnique
|
|
3643
4031
|
*/
|
|
3644
|
-
export interface MatchBetFindUniqueArgs extends MatchBetFindUniqueArgsBase {
|
|
4032
|
+
export interface MatchBetFindUniqueArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> extends MatchBetFindUniqueArgsBase<ExtArgs> {
|
|
3645
4033
|
/**
|
|
3646
4034
|
* Throw an Error if query returns no results
|
|
3647
4035
|
* @deprecated since 4.0.0: use `findUniqueOrThrow` method instead
|
|
@@ -3653,15 +4041,15 @@ export namespace Prisma {
|
|
|
3653
4041
|
/**
|
|
3654
4042
|
* MatchBet findUniqueOrThrow
|
|
3655
4043
|
*/
|
|
3656
|
-
export type MatchBetFindUniqueOrThrowArgs = {
|
|
4044
|
+
export type MatchBetFindUniqueOrThrowArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
3657
4045
|
/**
|
|
3658
4046
|
* Select specific fields to fetch from the MatchBet
|
|
3659
4047
|
*/
|
|
3660
|
-
select?: MatchBetSelect | null
|
|
4048
|
+
select?: MatchBetSelect<ExtArgs> | null
|
|
3661
4049
|
/**
|
|
3662
4050
|
* Choose, which related nodes to fetch as well.
|
|
3663
4051
|
*/
|
|
3664
|
-
include?: MatchBetInclude | null
|
|
4052
|
+
include?: MatchBetInclude<ExtArgs> | null
|
|
3665
4053
|
/**
|
|
3666
4054
|
* Filter, which MatchBet to fetch.
|
|
3667
4055
|
*/
|
|
@@ -3672,15 +4060,15 @@ export namespace Prisma {
|
|
|
3672
4060
|
/**
|
|
3673
4061
|
* MatchBet base type for findFirst actions
|
|
3674
4062
|
*/
|
|
3675
|
-
export type MatchBetFindFirstArgsBase = {
|
|
4063
|
+
export type MatchBetFindFirstArgsBase<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
3676
4064
|
/**
|
|
3677
4065
|
* Select specific fields to fetch from the MatchBet
|
|
3678
4066
|
*/
|
|
3679
|
-
select?: MatchBetSelect | null
|
|
4067
|
+
select?: MatchBetSelect<ExtArgs> | null
|
|
3680
4068
|
/**
|
|
3681
4069
|
* Choose, which related nodes to fetch as well.
|
|
3682
4070
|
*/
|
|
3683
|
-
include?: MatchBetInclude | null
|
|
4071
|
+
include?: MatchBetInclude<ExtArgs> | null
|
|
3684
4072
|
/**
|
|
3685
4073
|
* Filter, which MatchBet to fetch.
|
|
3686
4074
|
*/
|
|
@@ -3720,7 +4108,7 @@ export namespace Prisma {
|
|
|
3720
4108
|
/**
|
|
3721
4109
|
* MatchBet findFirst
|
|
3722
4110
|
*/
|
|
3723
|
-
export interface MatchBetFindFirstArgs extends MatchBetFindFirstArgsBase {
|
|
4111
|
+
export interface MatchBetFindFirstArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> extends MatchBetFindFirstArgsBase<ExtArgs> {
|
|
3724
4112
|
/**
|
|
3725
4113
|
* Throw an Error if query returns no results
|
|
3726
4114
|
* @deprecated since 4.0.0: use `findFirstOrThrow` method instead
|
|
@@ -3732,15 +4120,15 @@ export namespace Prisma {
|
|
|
3732
4120
|
/**
|
|
3733
4121
|
* MatchBet findFirstOrThrow
|
|
3734
4122
|
*/
|
|
3735
|
-
export type MatchBetFindFirstOrThrowArgs = {
|
|
4123
|
+
export type MatchBetFindFirstOrThrowArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
3736
4124
|
/**
|
|
3737
4125
|
* Select specific fields to fetch from the MatchBet
|
|
3738
4126
|
*/
|
|
3739
|
-
select?: MatchBetSelect | null
|
|
4127
|
+
select?: MatchBetSelect<ExtArgs> | null
|
|
3740
4128
|
/**
|
|
3741
4129
|
* Choose, which related nodes to fetch as well.
|
|
3742
4130
|
*/
|
|
3743
|
-
include?: MatchBetInclude | null
|
|
4131
|
+
include?: MatchBetInclude<ExtArgs> | null
|
|
3744
4132
|
/**
|
|
3745
4133
|
* Filter, which MatchBet to fetch.
|
|
3746
4134
|
*/
|
|
@@ -3781,15 +4169,15 @@ export namespace Prisma {
|
|
|
3781
4169
|
/**
|
|
3782
4170
|
* MatchBet findMany
|
|
3783
4171
|
*/
|
|
3784
|
-
export type MatchBetFindManyArgs = {
|
|
4172
|
+
export type MatchBetFindManyArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
3785
4173
|
/**
|
|
3786
4174
|
* Select specific fields to fetch from the MatchBet
|
|
3787
4175
|
*/
|
|
3788
|
-
select?: MatchBetSelect | null
|
|
4176
|
+
select?: MatchBetSelect<ExtArgs> | null
|
|
3789
4177
|
/**
|
|
3790
4178
|
* Choose, which related nodes to fetch as well.
|
|
3791
4179
|
*/
|
|
3792
|
-
include?: MatchBetInclude | null
|
|
4180
|
+
include?: MatchBetInclude<ExtArgs> | null
|
|
3793
4181
|
/**
|
|
3794
4182
|
* Filter, which MatchBets to fetch.
|
|
3795
4183
|
*/
|
|
@@ -3825,15 +4213,15 @@ export namespace Prisma {
|
|
|
3825
4213
|
/**
|
|
3826
4214
|
* MatchBet create
|
|
3827
4215
|
*/
|
|
3828
|
-
export type MatchBetCreateArgs = {
|
|
4216
|
+
export type MatchBetCreateArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
3829
4217
|
/**
|
|
3830
4218
|
* Select specific fields to fetch from the MatchBet
|
|
3831
4219
|
*/
|
|
3832
|
-
select?: MatchBetSelect | null
|
|
4220
|
+
select?: MatchBetSelect<ExtArgs> | null
|
|
3833
4221
|
/**
|
|
3834
4222
|
* Choose, which related nodes to fetch as well.
|
|
3835
4223
|
*/
|
|
3836
|
-
include?: MatchBetInclude | null
|
|
4224
|
+
include?: MatchBetInclude<ExtArgs> | null
|
|
3837
4225
|
/**
|
|
3838
4226
|
* The data needed to create a MatchBet.
|
|
3839
4227
|
*/
|
|
@@ -3844,7 +4232,7 @@ export namespace Prisma {
|
|
|
3844
4232
|
/**
|
|
3845
4233
|
* MatchBet createMany
|
|
3846
4234
|
*/
|
|
3847
|
-
export type MatchBetCreateManyArgs = {
|
|
4235
|
+
export type MatchBetCreateManyArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
3848
4236
|
/**
|
|
3849
4237
|
* The data used to create many MatchBets.
|
|
3850
4238
|
*/
|
|
@@ -3856,15 +4244,15 @@ export namespace Prisma {
|
|
|
3856
4244
|
/**
|
|
3857
4245
|
* MatchBet update
|
|
3858
4246
|
*/
|
|
3859
|
-
export type MatchBetUpdateArgs = {
|
|
4247
|
+
export type MatchBetUpdateArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
3860
4248
|
/**
|
|
3861
4249
|
* Select specific fields to fetch from the MatchBet
|
|
3862
4250
|
*/
|
|
3863
|
-
select?: MatchBetSelect | null
|
|
4251
|
+
select?: MatchBetSelect<ExtArgs> | null
|
|
3864
4252
|
/**
|
|
3865
4253
|
* Choose, which related nodes to fetch as well.
|
|
3866
4254
|
*/
|
|
3867
|
-
include?: MatchBetInclude | null
|
|
4255
|
+
include?: MatchBetInclude<ExtArgs> | null
|
|
3868
4256
|
/**
|
|
3869
4257
|
* The data needed to update a MatchBet.
|
|
3870
4258
|
*/
|
|
@@ -3879,7 +4267,7 @@ export namespace Prisma {
|
|
|
3879
4267
|
/**
|
|
3880
4268
|
* MatchBet updateMany
|
|
3881
4269
|
*/
|
|
3882
|
-
export type MatchBetUpdateManyArgs = {
|
|
4270
|
+
export type MatchBetUpdateManyArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
3883
4271
|
/**
|
|
3884
4272
|
* The data used to update MatchBets.
|
|
3885
4273
|
*/
|
|
@@ -3894,15 +4282,15 @@ export namespace Prisma {
|
|
|
3894
4282
|
/**
|
|
3895
4283
|
* MatchBet upsert
|
|
3896
4284
|
*/
|
|
3897
|
-
export type MatchBetUpsertArgs = {
|
|
4285
|
+
export type MatchBetUpsertArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
3898
4286
|
/**
|
|
3899
4287
|
* Select specific fields to fetch from the MatchBet
|
|
3900
4288
|
*/
|
|
3901
|
-
select?: MatchBetSelect | null
|
|
4289
|
+
select?: MatchBetSelect<ExtArgs> | null
|
|
3902
4290
|
/**
|
|
3903
4291
|
* Choose, which related nodes to fetch as well.
|
|
3904
4292
|
*/
|
|
3905
|
-
include?: MatchBetInclude | null
|
|
4293
|
+
include?: MatchBetInclude<ExtArgs> | null
|
|
3906
4294
|
/**
|
|
3907
4295
|
* The filter to search for the MatchBet to update in case it exists.
|
|
3908
4296
|
*/
|
|
@@ -3921,15 +4309,15 @@ export namespace Prisma {
|
|
|
3921
4309
|
/**
|
|
3922
4310
|
* MatchBet delete
|
|
3923
4311
|
*/
|
|
3924
|
-
export type MatchBetDeleteArgs = {
|
|
4312
|
+
export type MatchBetDeleteArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
3925
4313
|
/**
|
|
3926
4314
|
* Select specific fields to fetch from the MatchBet
|
|
3927
4315
|
*/
|
|
3928
|
-
select?: MatchBetSelect | null
|
|
4316
|
+
select?: MatchBetSelect<ExtArgs> | null
|
|
3929
4317
|
/**
|
|
3930
4318
|
* Choose, which related nodes to fetch as well.
|
|
3931
4319
|
*/
|
|
3932
|
-
include?: MatchBetInclude | null
|
|
4320
|
+
include?: MatchBetInclude<ExtArgs> | null
|
|
3933
4321
|
/**
|
|
3934
4322
|
* Filter which MatchBet to delete.
|
|
3935
4323
|
*/
|
|
@@ -3940,7 +4328,7 @@ export namespace Prisma {
|
|
|
3940
4328
|
/**
|
|
3941
4329
|
* MatchBet deleteMany
|
|
3942
4330
|
*/
|
|
3943
|
-
export type MatchBetDeleteManyArgs = {
|
|
4331
|
+
export type MatchBetDeleteManyArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
3944
4332
|
/**
|
|
3945
4333
|
* Filter which MatchBets to delete
|
|
3946
4334
|
*/
|
|
@@ -3951,15 +4339,15 @@ export namespace Prisma {
|
|
|
3951
4339
|
/**
|
|
3952
4340
|
* MatchBet without action
|
|
3953
4341
|
*/
|
|
3954
|
-
export type MatchBetArgs = {
|
|
4342
|
+
export type MatchBetArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
3955
4343
|
/**
|
|
3956
4344
|
* Select specific fields to fetch from the MatchBet
|
|
3957
4345
|
*/
|
|
3958
|
-
select?: MatchBetSelect | null
|
|
4346
|
+
select?: MatchBetSelect<ExtArgs> | null
|
|
3959
4347
|
/**
|
|
3960
4348
|
* Choose, which related nodes to fetch as well.
|
|
3961
4349
|
*/
|
|
3962
|
-
include?: MatchBetInclude | null
|
|
4350
|
+
include?: MatchBetInclude<ExtArgs> | null
|
|
3963
4351
|
}
|
|
3964
4352
|
|
|
3965
4353
|
|
|
@@ -4110,7 +4498,7 @@ export namespace Prisma {
|
|
|
4110
4498
|
_all?: true
|
|
4111
4499
|
}
|
|
4112
4500
|
|
|
4113
|
-
export type MatchHandAggregateArgs = {
|
|
4501
|
+
export type MatchHandAggregateArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
4114
4502
|
/**
|
|
4115
4503
|
* Filter which MatchHand to aggregate.
|
|
4116
4504
|
*/
|
|
@@ -4182,7 +4570,7 @@ export namespace Prisma {
|
|
|
4182
4570
|
|
|
4183
4571
|
|
|
4184
4572
|
|
|
4185
|
-
export type MatchHandGroupByArgs = {
|
|
4573
|
+
export type MatchHandGroupByArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
4186
4574
|
where?: MatchHandWhereInput
|
|
4187
4575
|
orderBy?: Enumerable<MatchHandOrderByWithAggregationInput>
|
|
4188
4576
|
by: MatchHandScalarFieldEnum[]
|
|
@@ -4233,7 +4621,7 @@ export namespace Prisma {
|
|
|
4233
4621
|
>
|
|
4234
4622
|
|
|
4235
4623
|
|
|
4236
|
-
export type MatchHandSelect = {
|
|
4624
|
+
export type MatchHandSelect<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
4237
4625
|
id?: boolean
|
|
4238
4626
|
createdAt?: boolean
|
|
4239
4627
|
updatedAt?: boolean
|
|
@@ -4248,38 +4636,40 @@ export namespace Prisma {
|
|
|
4248
4636
|
florWinnerIdx?: boolean
|
|
4249
4637
|
bitcoinHash?: boolean
|
|
4250
4638
|
bitcoinHeight?: boolean
|
|
4251
|
-
match?: boolean | MatchArgs
|
|
4252
|
-
}
|
|
4639
|
+
match?: boolean | MatchArgs<ExtArgs>
|
|
4640
|
+
}, ExtArgs["result"]["matchHand"]>
|
|
4253
4641
|
|
|
4642
|
+
export type MatchHandSelectScalar = {
|
|
4643
|
+
id?: boolean
|
|
4644
|
+
createdAt?: boolean
|
|
4645
|
+
updatedAt?: boolean
|
|
4646
|
+
idx?: boolean
|
|
4647
|
+
secret?: boolean
|
|
4648
|
+
clientSecrets?: boolean
|
|
4649
|
+
rounds?: boolean
|
|
4650
|
+
results?: boolean
|
|
4651
|
+
matchId?: boolean
|
|
4652
|
+
trucoWinnerIdx?: boolean
|
|
4653
|
+
envidoWinnerIdx?: boolean
|
|
4654
|
+
florWinnerIdx?: boolean
|
|
4655
|
+
bitcoinHash?: boolean
|
|
4656
|
+
bitcoinHeight?: boolean
|
|
4657
|
+
}
|
|
4254
4658
|
|
|
4255
|
-
export type MatchHandInclude = {
|
|
4256
|
-
match?: boolean | MatchArgs
|
|
4659
|
+
export type MatchHandInclude<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
4660
|
+
match?: boolean | MatchArgs<ExtArgs>
|
|
4257
4661
|
}
|
|
4258
4662
|
|
|
4259
|
-
export type MatchHandGetPayload<S extends boolean | null | undefined | MatchHandArgs> =
|
|
4260
|
-
S extends { select: any, include: any } ? 'Please either choose `select` or `include`' :
|
|
4261
|
-
S extends true ? MatchHand :
|
|
4262
|
-
S extends undefined ? never :
|
|
4263
|
-
S extends { include: any } & (MatchHandArgs | MatchHandFindManyArgs)
|
|
4264
|
-
? MatchHand & {
|
|
4265
|
-
[P in TruthyKeys<S['include']>]:
|
|
4266
|
-
P extends 'match' ? MatchGetPayload<S['include'][P]> : never
|
|
4267
|
-
}
|
|
4268
|
-
: S extends { select: any } & (MatchHandArgs | MatchHandFindManyArgs)
|
|
4269
|
-
? {
|
|
4270
|
-
[P in TruthyKeys<S['select']>]:
|
|
4271
|
-
P extends 'match' ? MatchGetPayload<S['select'][P]> : P extends keyof MatchHand ? MatchHand[P] : never
|
|
4272
|
-
}
|
|
4273
|
-
: MatchHand
|
|
4274
4663
|
|
|
4664
|
+
type MatchHandGetPayload<S extends boolean | null | undefined | MatchHandArgs> = $Types.GetResult<MatchHandPayload, S>
|
|
4275
4665
|
|
|
4276
|
-
type MatchHandCountArgs =
|
|
4666
|
+
type MatchHandCountArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> =
|
|
4277
4667
|
Omit<MatchHandFindManyArgs, 'select' | 'include'> & {
|
|
4278
4668
|
select?: MatchHandCountAggregateInputType | true
|
|
4279
4669
|
}
|
|
4280
4670
|
|
|
4281
|
-
export interface MatchHandDelegate<GlobalRejectSettings extends Prisma.RejectOnNotFound | Prisma.RejectPerOperation | false | undefined> {
|
|
4282
|
-
|
|
4671
|
+
export interface MatchHandDelegate<GlobalRejectSettings extends Prisma.RejectOnNotFound | Prisma.RejectPerOperation | false | undefined, ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> {
|
|
4672
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['MatchHand'], meta: { name: 'MatchHand' } }
|
|
4283
4673
|
/**
|
|
4284
4674
|
* Find zero or one MatchHand that matches the filter.
|
|
4285
4675
|
* @param {MatchHandFindUniqueArgs} args - Arguments to find a MatchHand
|
|
@@ -4291,9 +4681,9 @@ export namespace Prisma {
|
|
|
4291
4681
|
* }
|
|
4292
4682
|
* })
|
|
4293
4683
|
**/
|
|
4294
|
-
findUnique<T extends MatchHandFindUniqueArgs
|
|
4295
|
-
args: SelectSubset<T, MatchHandFindUniqueArgs
|
|
4296
|
-
): HasReject<GlobalRejectSettings, LocalRejectSettings, 'findUnique', 'MatchHand'> extends True ? Prisma__MatchHandClient<
|
|
4684
|
+
findUnique<T extends MatchHandFindUniqueArgs<ExtArgs>, LocalRejectSettings = T["rejectOnNotFound"] extends RejectOnNotFound ? T['rejectOnNotFound'] : undefined>(
|
|
4685
|
+
args: SelectSubset<T, MatchHandFindUniqueArgs<ExtArgs>>
|
|
4686
|
+
): HasReject<GlobalRejectSettings, LocalRejectSettings, 'findUnique', 'MatchHand'> extends True ? Prisma__MatchHandClient<$Types.GetResult<MatchHandPayload<ExtArgs>, T, 'findUnique', never>, never, ExtArgs> : Prisma__MatchHandClient<$Types.GetResult<MatchHandPayload<ExtArgs>, T, 'findUnique', never> | null, null, ExtArgs>
|
|
4297
4687
|
|
|
4298
4688
|
/**
|
|
4299
4689
|
* Find one MatchHand that matches the filter or throw an error with `error.code='P2025'`
|
|
@@ -4307,9 +4697,9 @@ export namespace Prisma {
|
|
|
4307
4697
|
* }
|
|
4308
4698
|
* })
|
|
4309
4699
|
**/
|
|
4310
|
-
findUniqueOrThrow<T extends MatchHandFindUniqueOrThrowArgs
|
|
4311
|
-
args?: SelectSubset<T, MatchHandFindUniqueOrThrowArgs
|
|
4312
|
-
): Prisma__MatchHandClient<
|
|
4700
|
+
findUniqueOrThrow<T extends MatchHandFindUniqueOrThrowArgs<ExtArgs>>(
|
|
4701
|
+
args?: SelectSubset<T, MatchHandFindUniqueOrThrowArgs<ExtArgs>>
|
|
4702
|
+
): Prisma__MatchHandClient<$Types.GetResult<MatchHandPayload<ExtArgs>, T, 'findUniqueOrThrow', never>, never, ExtArgs>
|
|
4313
4703
|
|
|
4314
4704
|
/**
|
|
4315
4705
|
* Find the first MatchHand that matches the filter.
|
|
@@ -4324,9 +4714,9 @@ export namespace Prisma {
|
|
|
4324
4714
|
* }
|
|
4325
4715
|
* })
|
|
4326
4716
|
**/
|
|
4327
|
-
findFirst<T extends MatchHandFindFirstArgs
|
|
4328
|
-
args?: SelectSubset<T, MatchHandFindFirstArgs
|
|
4329
|
-
): HasReject<GlobalRejectSettings, LocalRejectSettings, 'findFirst', 'MatchHand'> extends True ? Prisma__MatchHandClient<
|
|
4717
|
+
findFirst<T extends MatchHandFindFirstArgs<ExtArgs>, LocalRejectSettings = T["rejectOnNotFound"] extends RejectOnNotFound ? T['rejectOnNotFound'] : undefined>(
|
|
4718
|
+
args?: SelectSubset<T, MatchHandFindFirstArgs<ExtArgs>>
|
|
4719
|
+
): HasReject<GlobalRejectSettings, LocalRejectSettings, 'findFirst', 'MatchHand'> extends True ? Prisma__MatchHandClient<$Types.GetResult<MatchHandPayload<ExtArgs>, T, 'findFirst', never>, never, ExtArgs> : Prisma__MatchHandClient<$Types.GetResult<MatchHandPayload<ExtArgs>, T, 'findFirst', never> | null, null, ExtArgs>
|
|
4330
4720
|
|
|
4331
4721
|
/**
|
|
4332
4722
|
* Find the first MatchHand that matches the filter or
|
|
@@ -4342,9 +4732,9 @@ export namespace Prisma {
|
|
|
4342
4732
|
* }
|
|
4343
4733
|
* })
|
|
4344
4734
|
**/
|
|
4345
|
-
findFirstOrThrow<T extends MatchHandFindFirstOrThrowArgs
|
|
4346
|
-
args?: SelectSubset<T, MatchHandFindFirstOrThrowArgs
|
|
4347
|
-
): Prisma__MatchHandClient<
|
|
4735
|
+
findFirstOrThrow<T extends MatchHandFindFirstOrThrowArgs<ExtArgs>>(
|
|
4736
|
+
args?: SelectSubset<T, MatchHandFindFirstOrThrowArgs<ExtArgs>>
|
|
4737
|
+
): Prisma__MatchHandClient<$Types.GetResult<MatchHandPayload<ExtArgs>, T, 'findFirstOrThrow', never>, never, ExtArgs>
|
|
4348
4738
|
|
|
4349
4739
|
/**
|
|
4350
4740
|
* Find zero or more MatchHands that matches the filter.
|
|
@@ -4362,9 +4752,9 @@ export namespace Prisma {
|
|
|
4362
4752
|
* const matchHandWithIdOnly = await prisma.matchHand.findMany({ select: { id: true } })
|
|
4363
4753
|
*
|
|
4364
4754
|
**/
|
|
4365
|
-
findMany<T extends MatchHandFindManyArgs
|
|
4366
|
-
args?: SelectSubset<T, MatchHandFindManyArgs
|
|
4367
|
-
): Prisma.PrismaPromise<
|
|
4755
|
+
findMany<T extends MatchHandFindManyArgs<ExtArgs>>(
|
|
4756
|
+
args?: SelectSubset<T, MatchHandFindManyArgs<ExtArgs>>
|
|
4757
|
+
): Prisma.PrismaPromise<$Types.GetResult<MatchHandPayload<ExtArgs>, T, 'findMany', never>>
|
|
4368
4758
|
|
|
4369
4759
|
/**
|
|
4370
4760
|
* Create a MatchHand.
|
|
@@ -4378,9 +4768,9 @@ export namespace Prisma {
|
|
|
4378
4768
|
* })
|
|
4379
4769
|
*
|
|
4380
4770
|
**/
|
|
4381
|
-
create<T extends MatchHandCreateArgs
|
|
4382
|
-
args: SelectSubset<T, MatchHandCreateArgs
|
|
4383
|
-
): Prisma__MatchHandClient<
|
|
4771
|
+
create<T extends MatchHandCreateArgs<ExtArgs>>(
|
|
4772
|
+
args: SelectSubset<T, MatchHandCreateArgs<ExtArgs>>
|
|
4773
|
+
): Prisma__MatchHandClient<$Types.GetResult<MatchHandPayload<ExtArgs>, T, 'create', never>, never, ExtArgs>
|
|
4384
4774
|
|
|
4385
4775
|
/**
|
|
4386
4776
|
* Create many MatchHands.
|
|
@@ -4394,8 +4784,8 @@ export namespace Prisma {
|
|
|
4394
4784
|
* })
|
|
4395
4785
|
*
|
|
4396
4786
|
**/
|
|
4397
|
-
createMany<T extends MatchHandCreateManyArgs
|
|
4398
|
-
args?: SelectSubset<T, MatchHandCreateManyArgs
|
|
4787
|
+
createMany<T extends MatchHandCreateManyArgs<ExtArgs>>(
|
|
4788
|
+
args?: SelectSubset<T, MatchHandCreateManyArgs<ExtArgs>>
|
|
4399
4789
|
): Prisma.PrismaPromise<BatchPayload>
|
|
4400
4790
|
|
|
4401
4791
|
/**
|
|
@@ -4410,9 +4800,9 @@ export namespace Prisma {
|
|
|
4410
4800
|
* })
|
|
4411
4801
|
*
|
|
4412
4802
|
**/
|
|
4413
|
-
delete<T extends MatchHandDeleteArgs
|
|
4414
|
-
args: SelectSubset<T, MatchHandDeleteArgs
|
|
4415
|
-
): Prisma__MatchHandClient<
|
|
4803
|
+
delete<T extends MatchHandDeleteArgs<ExtArgs>>(
|
|
4804
|
+
args: SelectSubset<T, MatchHandDeleteArgs<ExtArgs>>
|
|
4805
|
+
): Prisma__MatchHandClient<$Types.GetResult<MatchHandPayload<ExtArgs>, T, 'delete', never>, never, ExtArgs>
|
|
4416
4806
|
|
|
4417
4807
|
/**
|
|
4418
4808
|
* Update one MatchHand.
|
|
@@ -4429,9 +4819,9 @@ export namespace Prisma {
|
|
|
4429
4819
|
* })
|
|
4430
4820
|
*
|
|
4431
4821
|
**/
|
|
4432
|
-
update<T extends MatchHandUpdateArgs
|
|
4433
|
-
args: SelectSubset<T, MatchHandUpdateArgs
|
|
4434
|
-
): Prisma__MatchHandClient<
|
|
4822
|
+
update<T extends MatchHandUpdateArgs<ExtArgs>>(
|
|
4823
|
+
args: SelectSubset<T, MatchHandUpdateArgs<ExtArgs>>
|
|
4824
|
+
): Prisma__MatchHandClient<$Types.GetResult<MatchHandPayload<ExtArgs>, T, 'update', never>, never, ExtArgs>
|
|
4435
4825
|
|
|
4436
4826
|
/**
|
|
4437
4827
|
* Delete zero or more MatchHands.
|
|
@@ -4445,8 +4835,8 @@ export namespace Prisma {
|
|
|
4445
4835
|
* })
|
|
4446
4836
|
*
|
|
4447
4837
|
**/
|
|
4448
|
-
deleteMany<T extends MatchHandDeleteManyArgs
|
|
4449
|
-
args?: SelectSubset<T, MatchHandDeleteManyArgs
|
|
4838
|
+
deleteMany<T extends MatchHandDeleteManyArgs<ExtArgs>>(
|
|
4839
|
+
args?: SelectSubset<T, MatchHandDeleteManyArgs<ExtArgs>>
|
|
4450
4840
|
): Prisma.PrismaPromise<BatchPayload>
|
|
4451
4841
|
|
|
4452
4842
|
/**
|
|
@@ -4466,8 +4856,8 @@ export namespace Prisma {
|
|
|
4466
4856
|
* })
|
|
4467
4857
|
*
|
|
4468
4858
|
**/
|
|
4469
|
-
updateMany<T extends MatchHandUpdateManyArgs
|
|
4470
|
-
args: SelectSubset<T, MatchHandUpdateManyArgs
|
|
4859
|
+
updateMany<T extends MatchHandUpdateManyArgs<ExtArgs>>(
|
|
4860
|
+
args: SelectSubset<T, MatchHandUpdateManyArgs<ExtArgs>>
|
|
4471
4861
|
): Prisma.PrismaPromise<BatchPayload>
|
|
4472
4862
|
|
|
4473
4863
|
/**
|
|
@@ -4487,9 +4877,9 @@ export namespace Prisma {
|
|
|
4487
4877
|
* }
|
|
4488
4878
|
* })
|
|
4489
4879
|
**/
|
|
4490
|
-
upsert<T extends MatchHandUpsertArgs
|
|
4491
|
-
args: SelectSubset<T, MatchHandUpsertArgs
|
|
4492
|
-
): Prisma__MatchHandClient<
|
|
4880
|
+
upsert<T extends MatchHandUpsertArgs<ExtArgs>>(
|
|
4881
|
+
args: SelectSubset<T, MatchHandUpsertArgs<ExtArgs>>
|
|
4882
|
+
): Prisma__MatchHandClient<$Types.GetResult<MatchHandPayload<ExtArgs>, T, 'upsert', never>, never, ExtArgs>
|
|
4493
4883
|
|
|
4494
4884
|
/**
|
|
4495
4885
|
* Count the number of MatchHands.
|
|
@@ -4507,7 +4897,7 @@ export namespace Prisma {
|
|
|
4507
4897
|
count<T extends MatchHandCountArgs>(
|
|
4508
4898
|
args?: Subset<T, MatchHandCountArgs>,
|
|
4509
4899
|
): Prisma.PrismaPromise<
|
|
4510
|
-
T extends
|
|
4900
|
+
T extends $Utils.Record<'select', any>
|
|
4511
4901
|
? T['select'] extends true
|
|
4512
4902
|
? number
|
|
4513
4903
|
: GetScalarType<T['select'], MatchHandCountAggregateOutputType>
|
|
@@ -4625,7 +5015,7 @@ export namespace Prisma {
|
|
|
4625
5015
|
* Because we want to prevent naming conflicts as mentioned in
|
|
4626
5016
|
* https://github.com/prisma/prisma-client-js/issues/707
|
|
4627
5017
|
*/
|
|
4628
|
-
export class Prisma__MatchHandClient<T, Null = never> implements Prisma.PrismaPromise<T> {
|
|
5018
|
+
export class Prisma__MatchHandClient<T, Null = never, ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> implements Prisma.PrismaPromise<T> {
|
|
4629
5019
|
private readonly _dmmf;
|
|
4630
5020
|
private readonly _queryType;
|
|
4631
5021
|
private readonly _rootField;
|
|
@@ -4640,7 +5030,7 @@ export namespace Prisma {
|
|
|
4640
5030
|
readonly [Symbol.toStringTag]: 'PrismaPromise';
|
|
4641
5031
|
constructor(_dmmf: runtime.DMMFClass, _queryType: 'query' | 'mutation', _rootField: string, _clientMethod: string, _args: any, _dataPath: string[], _errorFormat: ErrorFormat, _measurePerformance?: boolean | undefined, _isList?: boolean);
|
|
4642
5032
|
|
|
4643
|
-
match<T extends MatchArgs= {}>(args?: Subset<T, MatchArgs
|
|
5033
|
+
match<T extends MatchArgs<ExtArgs> = {}>(args?: Subset<T, MatchArgs<ExtArgs>>): Prisma__MatchClient<$Types.GetResult<MatchPayload<ExtArgs>, T, 'findUnique', never> | Null, never, ExtArgs>;
|
|
4644
5034
|
|
|
4645
5035
|
private get _document();
|
|
4646
5036
|
/**
|
|
@@ -4672,15 +5062,15 @@ export namespace Prisma {
|
|
|
4672
5062
|
/**
|
|
4673
5063
|
* MatchHand base type for findUnique actions
|
|
4674
5064
|
*/
|
|
4675
|
-
export type MatchHandFindUniqueArgsBase = {
|
|
5065
|
+
export type MatchHandFindUniqueArgsBase<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
4676
5066
|
/**
|
|
4677
5067
|
* Select specific fields to fetch from the MatchHand
|
|
4678
5068
|
*/
|
|
4679
|
-
select?: MatchHandSelect | null
|
|
5069
|
+
select?: MatchHandSelect<ExtArgs> | null
|
|
4680
5070
|
/**
|
|
4681
5071
|
* Choose, which related nodes to fetch as well.
|
|
4682
5072
|
*/
|
|
4683
|
-
include?: MatchHandInclude | null
|
|
5073
|
+
include?: MatchHandInclude<ExtArgs> | null
|
|
4684
5074
|
/**
|
|
4685
5075
|
* Filter, which MatchHand to fetch.
|
|
4686
5076
|
*/
|
|
@@ -4690,7 +5080,7 @@ export namespace Prisma {
|
|
|
4690
5080
|
/**
|
|
4691
5081
|
* MatchHand findUnique
|
|
4692
5082
|
*/
|
|
4693
|
-
export interface MatchHandFindUniqueArgs extends MatchHandFindUniqueArgsBase {
|
|
5083
|
+
export interface MatchHandFindUniqueArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> extends MatchHandFindUniqueArgsBase<ExtArgs> {
|
|
4694
5084
|
/**
|
|
4695
5085
|
* Throw an Error if query returns no results
|
|
4696
5086
|
* @deprecated since 4.0.0: use `findUniqueOrThrow` method instead
|
|
@@ -4702,15 +5092,15 @@ export namespace Prisma {
|
|
|
4702
5092
|
/**
|
|
4703
5093
|
* MatchHand findUniqueOrThrow
|
|
4704
5094
|
*/
|
|
4705
|
-
export type MatchHandFindUniqueOrThrowArgs = {
|
|
5095
|
+
export type MatchHandFindUniqueOrThrowArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
4706
5096
|
/**
|
|
4707
5097
|
* Select specific fields to fetch from the MatchHand
|
|
4708
5098
|
*/
|
|
4709
|
-
select?: MatchHandSelect | null
|
|
5099
|
+
select?: MatchHandSelect<ExtArgs> | null
|
|
4710
5100
|
/**
|
|
4711
5101
|
* Choose, which related nodes to fetch as well.
|
|
4712
5102
|
*/
|
|
4713
|
-
include?: MatchHandInclude | null
|
|
5103
|
+
include?: MatchHandInclude<ExtArgs> | null
|
|
4714
5104
|
/**
|
|
4715
5105
|
* Filter, which MatchHand to fetch.
|
|
4716
5106
|
*/
|
|
@@ -4721,15 +5111,15 @@ export namespace Prisma {
|
|
|
4721
5111
|
/**
|
|
4722
5112
|
* MatchHand base type for findFirst actions
|
|
4723
5113
|
*/
|
|
4724
|
-
export type MatchHandFindFirstArgsBase = {
|
|
5114
|
+
export type MatchHandFindFirstArgsBase<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
4725
5115
|
/**
|
|
4726
5116
|
* Select specific fields to fetch from the MatchHand
|
|
4727
5117
|
*/
|
|
4728
|
-
select?: MatchHandSelect | null
|
|
5118
|
+
select?: MatchHandSelect<ExtArgs> | null
|
|
4729
5119
|
/**
|
|
4730
5120
|
* Choose, which related nodes to fetch as well.
|
|
4731
5121
|
*/
|
|
4732
|
-
include?: MatchHandInclude | null
|
|
5122
|
+
include?: MatchHandInclude<ExtArgs> | null
|
|
4733
5123
|
/**
|
|
4734
5124
|
* Filter, which MatchHand to fetch.
|
|
4735
5125
|
*/
|
|
@@ -4769,7 +5159,7 @@ export namespace Prisma {
|
|
|
4769
5159
|
/**
|
|
4770
5160
|
* MatchHand findFirst
|
|
4771
5161
|
*/
|
|
4772
|
-
export interface MatchHandFindFirstArgs extends MatchHandFindFirstArgsBase {
|
|
5162
|
+
export interface MatchHandFindFirstArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> extends MatchHandFindFirstArgsBase<ExtArgs> {
|
|
4773
5163
|
/**
|
|
4774
5164
|
* Throw an Error if query returns no results
|
|
4775
5165
|
* @deprecated since 4.0.0: use `findFirstOrThrow` method instead
|
|
@@ -4781,15 +5171,15 @@ export namespace Prisma {
|
|
|
4781
5171
|
/**
|
|
4782
5172
|
* MatchHand findFirstOrThrow
|
|
4783
5173
|
*/
|
|
4784
|
-
export type MatchHandFindFirstOrThrowArgs = {
|
|
5174
|
+
export type MatchHandFindFirstOrThrowArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
4785
5175
|
/**
|
|
4786
5176
|
* Select specific fields to fetch from the MatchHand
|
|
4787
5177
|
*/
|
|
4788
|
-
select?: MatchHandSelect | null
|
|
5178
|
+
select?: MatchHandSelect<ExtArgs> | null
|
|
4789
5179
|
/**
|
|
4790
5180
|
* Choose, which related nodes to fetch as well.
|
|
4791
5181
|
*/
|
|
4792
|
-
include?: MatchHandInclude | null
|
|
5182
|
+
include?: MatchHandInclude<ExtArgs> | null
|
|
4793
5183
|
/**
|
|
4794
5184
|
* Filter, which MatchHand to fetch.
|
|
4795
5185
|
*/
|
|
@@ -4830,15 +5220,15 @@ export namespace Prisma {
|
|
|
4830
5220
|
/**
|
|
4831
5221
|
* MatchHand findMany
|
|
4832
5222
|
*/
|
|
4833
|
-
export type MatchHandFindManyArgs = {
|
|
5223
|
+
export type MatchHandFindManyArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
4834
5224
|
/**
|
|
4835
5225
|
* Select specific fields to fetch from the MatchHand
|
|
4836
5226
|
*/
|
|
4837
|
-
select?: MatchHandSelect | null
|
|
5227
|
+
select?: MatchHandSelect<ExtArgs> | null
|
|
4838
5228
|
/**
|
|
4839
5229
|
* Choose, which related nodes to fetch as well.
|
|
4840
5230
|
*/
|
|
4841
|
-
include?: MatchHandInclude | null
|
|
5231
|
+
include?: MatchHandInclude<ExtArgs> | null
|
|
4842
5232
|
/**
|
|
4843
5233
|
* Filter, which MatchHands to fetch.
|
|
4844
5234
|
*/
|
|
@@ -4874,15 +5264,15 @@ export namespace Prisma {
|
|
|
4874
5264
|
/**
|
|
4875
5265
|
* MatchHand create
|
|
4876
5266
|
*/
|
|
4877
|
-
export type MatchHandCreateArgs = {
|
|
5267
|
+
export type MatchHandCreateArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
4878
5268
|
/**
|
|
4879
5269
|
* Select specific fields to fetch from the MatchHand
|
|
4880
5270
|
*/
|
|
4881
|
-
select?: MatchHandSelect | null
|
|
5271
|
+
select?: MatchHandSelect<ExtArgs> | null
|
|
4882
5272
|
/**
|
|
4883
5273
|
* Choose, which related nodes to fetch as well.
|
|
4884
5274
|
*/
|
|
4885
|
-
include?: MatchHandInclude | null
|
|
5275
|
+
include?: MatchHandInclude<ExtArgs> | null
|
|
4886
5276
|
/**
|
|
4887
5277
|
* The data needed to create a MatchHand.
|
|
4888
5278
|
*/
|
|
@@ -4893,7 +5283,7 @@ export namespace Prisma {
|
|
|
4893
5283
|
/**
|
|
4894
5284
|
* MatchHand createMany
|
|
4895
5285
|
*/
|
|
4896
|
-
export type MatchHandCreateManyArgs = {
|
|
5286
|
+
export type MatchHandCreateManyArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
4897
5287
|
/**
|
|
4898
5288
|
* The data used to create many MatchHands.
|
|
4899
5289
|
*/
|
|
@@ -4905,15 +5295,15 @@ export namespace Prisma {
|
|
|
4905
5295
|
/**
|
|
4906
5296
|
* MatchHand update
|
|
4907
5297
|
*/
|
|
4908
|
-
export type MatchHandUpdateArgs = {
|
|
5298
|
+
export type MatchHandUpdateArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
4909
5299
|
/**
|
|
4910
5300
|
* Select specific fields to fetch from the MatchHand
|
|
4911
5301
|
*/
|
|
4912
|
-
select?: MatchHandSelect | null
|
|
5302
|
+
select?: MatchHandSelect<ExtArgs> | null
|
|
4913
5303
|
/**
|
|
4914
5304
|
* Choose, which related nodes to fetch as well.
|
|
4915
5305
|
*/
|
|
4916
|
-
include?: MatchHandInclude | null
|
|
5306
|
+
include?: MatchHandInclude<ExtArgs> | null
|
|
4917
5307
|
/**
|
|
4918
5308
|
* The data needed to update a MatchHand.
|
|
4919
5309
|
*/
|
|
@@ -4928,7 +5318,7 @@ export namespace Prisma {
|
|
|
4928
5318
|
/**
|
|
4929
5319
|
* MatchHand updateMany
|
|
4930
5320
|
*/
|
|
4931
|
-
export type MatchHandUpdateManyArgs = {
|
|
5321
|
+
export type MatchHandUpdateManyArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
4932
5322
|
/**
|
|
4933
5323
|
* The data used to update MatchHands.
|
|
4934
5324
|
*/
|
|
@@ -4943,15 +5333,15 @@ export namespace Prisma {
|
|
|
4943
5333
|
/**
|
|
4944
5334
|
* MatchHand upsert
|
|
4945
5335
|
*/
|
|
4946
|
-
export type MatchHandUpsertArgs = {
|
|
5336
|
+
export type MatchHandUpsertArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
4947
5337
|
/**
|
|
4948
5338
|
* Select specific fields to fetch from the MatchHand
|
|
4949
5339
|
*/
|
|
4950
|
-
select?: MatchHandSelect | null
|
|
5340
|
+
select?: MatchHandSelect<ExtArgs> | null
|
|
4951
5341
|
/**
|
|
4952
5342
|
* Choose, which related nodes to fetch as well.
|
|
4953
5343
|
*/
|
|
4954
|
-
include?: MatchHandInclude | null
|
|
5344
|
+
include?: MatchHandInclude<ExtArgs> | null
|
|
4955
5345
|
/**
|
|
4956
5346
|
* The filter to search for the MatchHand to update in case it exists.
|
|
4957
5347
|
*/
|
|
@@ -4970,15 +5360,15 @@ export namespace Prisma {
|
|
|
4970
5360
|
/**
|
|
4971
5361
|
* MatchHand delete
|
|
4972
5362
|
*/
|
|
4973
|
-
export type MatchHandDeleteArgs = {
|
|
5363
|
+
export type MatchHandDeleteArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
4974
5364
|
/**
|
|
4975
5365
|
* Select specific fields to fetch from the MatchHand
|
|
4976
5366
|
*/
|
|
4977
|
-
select?: MatchHandSelect | null
|
|
5367
|
+
select?: MatchHandSelect<ExtArgs> | null
|
|
4978
5368
|
/**
|
|
4979
5369
|
* Choose, which related nodes to fetch as well.
|
|
4980
5370
|
*/
|
|
4981
|
-
include?: MatchHandInclude | null
|
|
5371
|
+
include?: MatchHandInclude<ExtArgs> | null
|
|
4982
5372
|
/**
|
|
4983
5373
|
* Filter which MatchHand to delete.
|
|
4984
5374
|
*/
|
|
@@ -4989,7 +5379,7 @@ export namespace Prisma {
|
|
|
4989
5379
|
/**
|
|
4990
5380
|
* MatchHand deleteMany
|
|
4991
5381
|
*/
|
|
4992
|
-
export type MatchHandDeleteManyArgs = {
|
|
5382
|
+
export type MatchHandDeleteManyArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
4993
5383
|
/**
|
|
4994
5384
|
* Filter which MatchHands to delete
|
|
4995
5385
|
*/
|
|
@@ -5000,15 +5390,15 @@ export namespace Prisma {
|
|
|
5000
5390
|
/**
|
|
5001
5391
|
* MatchHand without action
|
|
5002
5392
|
*/
|
|
5003
|
-
export type MatchHandArgs = {
|
|
5393
|
+
export type MatchHandArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
5004
5394
|
/**
|
|
5005
5395
|
* Select specific fields to fetch from the MatchHand
|
|
5006
5396
|
*/
|
|
5007
|
-
select?: MatchHandSelect | null
|
|
5397
|
+
select?: MatchHandSelect<ExtArgs> | null
|
|
5008
5398
|
/**
|
|
5009
5399
|
* Choose, which related nodes to fetch as well.
|
|
5010
5400
|
*/
|
|
5011
|
-
include?: MatchHandInclude | null
|
|
5401
|
+
include?: MatchHandInclude<ExtArgs> | null
|
|
5012
5402
|
}
|
|
5013
5403
|
|
|
5014
5404
|
|
|
@@ -5169,7 +5559,7 @@ export namespace Prisma {
|
|
|
5169
5559
|
_all?: true
|
|
5170
5560
|
}
|
|
5171
5561
|
|
|
5172
|
-
export type MatchPlayerAggregateArgs = {
|
|
5562
|
+
export type MatchPlayerAggregateArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
5173
5563
|
/**
|
|
5174
5564
|
* Filter which MatchPlayer to aggregate.
|
|
5175
5565
|
*/
|
|
@@ -5241,7 +5631,7 @@ export namespace Prisma {
|
|
|
5241
5631
|
|
|
5242
5632
|
|
|
5243
5633
|
|
|
5244
|
-
export type MatchPlayerGroupByArgs = {
|
|
5634
|
+
export type MatchPlayerGroupByArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
5245
5635
|
where?: MatchPlayerWhereInput
|
|
5246
5636
|
orderBy?: Enumerable<MatchPlayerOrderByWithAggregationInput>
|
|
5247
5637
|
by: MatchPlayerScalarFieldEnum[]
|
|
@@ -5291,7 +5681,7 @@ export namespace Prisma {
|
|
|
5291
5681
|
>
|
|
5292
5682
|
|
|
5293
5683
|
|
|
5294
|
-
export type MatchPlayerSelect = {
|
|
5684
|
+
export type MatchPlayerSelect<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
5295
5685
|
id?: boolean
|
|
5296
5686
|
createdAt?: boolean
|
|
5297
5687
|
updatedAt?: boolean
|
|
@@ -5305,38 +5695,39 @@ export namespace Prisma {
|
|
|
5305
5695
|
payRequestId?: boolean
|
|
5306
5696
|
bot?: boolean
|
|
5307
5697
|
matchId?: boolean
|
|
5308
|
-
match?: boolean | MatchArgs
|
|
5309
|
-
}
|
|
5698
|
+
match?: boolean | MatchArgs<ExtArgs>
|
|
5699
|
+
}, ExtArgs["result"]["matchPlayer"]>
|
|
5310
5700
|
|
|
5701
|
+
export type MatchPlayerSelectScalar = {
|
|
5702
|
+
id?: boolean
|
|
5703
|
+
createdAt?: boolean
|
|
5704
|
+
updatedAt?: boolean
|
|
5705
|
+
idx?: boolean
|
|
5706
|
+
name?: boolean
|
|
5707
|
+
accountId?: boolean
|
|
5708
|
+
session?: boolean
|
|
5709
|
+
teamIdx?: boolean
|
|
5710
|
+
satsPaid?: boolean
|
|
5711
|
+
satsReceived?: boolean
|
|
5712
|
+
payRequestId?: boolean
|
|
5713
|
+
bot?: boolean
|
|
5714
|
+
matchId?: boolean
|
|
5715
|
+
}
|
|
5311
5716
|
|
|
5312
|
-
export type MatchPlayerInclude = {
|
|
5313
|
-
match?: boolean | MatchArgs
|
|
5717
|
+
export type MatchPlayerInclude<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
5718
|
+
match?: boolean | MatchArgs<ExtArgs>
|
|
5314
5719
|
}
|
|
5315
5720
|
|
|
5316
|
-
export type MatchPlayerGetPayload<S extends boolean | null | undefined | MatchPlayerArgs> =
|
|
5317
|
-
S extends { select: any, include: any } ? 'Please either choose `select` or `include`' :
|
|
5318
|
-
S extends true ? MatchPlayer :
|
|
5319
|
-
S extends undefined ? never :
|
|
5320
|
-
S extends { include: any } & (MatchPlayerArgs | MatchPlayerFindManyArgs)
|
|
5321
|
-
? MatchPlayer & {
|
|
5322
|
-
[P in TruthyKeys<S['include']>]:
|
|
5323
|
-
P extends 'match' ? MatchGetPayload<S['include'][P]> : never
|
|
5324
|
-
}
|
|
5325
|
-
: S extends { select: any } & (MatchPlayerArgs | MatchPlayerFindManyArgs)
|
|
5326
|
-
? {
|
|
5327
|
-
[P in TruthyKeys<S['select']>]:
|
|
5328
|
-
P extends 'match' ? MatchGetPayload<S['select'][P]> : P extends keyof MatchPlayer ? MatchPlayer[P] : never
|
|
5329
|
-
}
|
|
5330
|
-
: MatchPlayer
|
|
5331
5721
|
|
|
5722
|
+
type MatchPlayerGetPayload<S extends boolean | null | undefined | MatchPlayerArgs> = $Types.GetResult<MatchPlayerPayload, S>
|
|
5332
5723
|
|
|
5333
|
-
type MatchPlayerCountArgs =
|
|
5724
|
+
type MatchPlayerCountArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> =
|
|
5334
5725
|
Omit<MatchPlayerFindManyArgs, 'select' | 'include'> & {
|
|
5335
5726
|
select?: MatchPlayerCountAggregateInputType | true
|
|
5336
5727
|
}
|
|
5337
5728
|
|
|
5338
|
-
export interface MatchPlayerDelegate<GlobalRejectSettings extends Prisma.RejectOnNotFound | Prisma.RejectPerOperation | false | undefined> {
|
|
5339
|
-
|
|
5729
|
+
export interface MatchPlayerDelegate<GlobalRejectSettings extends Prisma.RejectOnNotFound | Prisma.RejectPerOperation | false | undefined, ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> {
|
|
5730
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['MatchPlayer'], meta: { name: 'MatchPlayer' } }
|
|
5340
5731
|
/**
|
|
5341
5732
|
* Find zero or one MatchPlayer that matches the filter.
|
|
5342
5733
|
* @param {MatchPlayerFindUniqueArgs} args - Arguments to find a MatchPlayer
|
|
@@ -5348,9 +5739,9 @@ export namespace Prisma {
|
|
|
5348
5739
|
* }
|
|
5349
5740
|
* })
|
|
5350
5741
|
**/
|
|
5351
|
-
findUnique<T extends MatchPlayerFindUniqueArgs
|
|
5352
|
-
args: SelectSubset<T, MatchPlayerFindUniqueArgs
|
|
5353
|
-
): HasReject<GlobalRejectSettings, LocalRejectSettings, 'findUnique', 'MatchPlayer'> extends True ? Prisma__MatchPlayerClient<
|
|
5742
|
+
findUnique<T extends MatchPlayerFindUniqueArgs<ExtArgs>, LocalRejectSettings = T["rejectOnNotFound"] extends RejectOnNotFound ? T['rejectOnNotFound'] : undefined>(
|
|
5743
|
+
args: SelectSubset<T, MatchPlayerFindUniqueArgs<ExtArgs>>
|
|
5744
|
+
): HasReject<GlobalRejectSettings, LocalRejectSettings, 'findUnique', 'MatchPlayer'> extends True ? Prisma__MatchPlayerClient<$Types.GetResult<MatchPlayerPayload<ExtArgs>, T, 'findUnique', never>, never, ExtArgs> : Prisma__MatchPlayerClient<$Types.GetResult<MatchPlayerPayload<ExtArgs>, T, 'findUnique', never> | null, null, ExtArgs>
|
|
5354
5745
|
|
|
5355
5746
|
/**
|
|
5356
5747
|
* Find one MatchPlayer that matches the filter or throw an error with `error.code='P2025'`
|
|
@@ -5364,9 +5755,9 @@ export namespace Prisma {
|
|
|
5364
5755
|
* }
|
|
5365
5756
|
* })
|
|
5366
5757
|
**/
|
|
5367
|
-
findUniqueOrThrow<T extends MatchPlayerFindUniqueOrThrowArgs
|
|
5368
|
-
args?: SelectSubset<T, MatchPlayerFindUniqueOrThrowArgs
|
|
5369
|
-
): Prisma__MatchPlayerClient<
|
|
5758
|
+
findUniqueOrThrow<T extends MatchPlayerFindUniqueOrThrowArgs<ExtArgs>>(
|
|
5759
|
+
args?: SelectSubset<T, MatchPlayerFindUniqueOrThrowArgs<ExtArgs>>
|
|
5760
|
+
): Prisma__MatchPlayerClient<$Types.GetResult<MatchPlayerPayload<ExtArgs>, T, 'findUniqueOrThrow', never>, never, ExtArgs>
|
|
5370
5761
|
|
|
5371
5762
|
/**
|
|
5372
5763
|
* Find the first MatchPlayer that matches the filter.
|
|
@@ -5381,9 +5772,9 @@ export namespace Prisma {
|
|
|
5381
5772
|
* }
|
|
5382
5773
|
* })
|
|
5383
5774
|
**/
|
|
5384
|
-
findFirst<T extends MatchPlayerFindFirstArgs
|
|
5385
|
-
args?: SelectSubset<T, MatchPlayerFindFirstArgs
|
|
5386
|
-
): HasReject<GlobalRejectSettings, LocalRejectSettings, 'findFirst', 'MatchPlayer'> extends True ? Prisma__MatchPlayerClient<
|
|
5775
|
+
findFirst<T extends MatchPlayerFindFirstArgs<ExtArgs>, LocalRejectSettings = T["rejectOnNotFound"] extends RejectOnNotFound ? T['rejectOnNotFound'] : undefined>(
|
|
5776
|
+
args?: SelectSubset<T, MatchPlayerFindFirstArgs<ExtArgs>>
|
|
5777
|
+
): HasReject<GlobalRejectSettings, LocalRejectSettings, 'findFirst', 'MatchPlayer'> extends True ? Prisma__MatchPlayerClient<$Types.GetResult<MatchPlayerPayload<ExtArgs>, T, 'findFirst', never>, never, ExtArgs> : Prisma__MatchPlayerClient<$Types.GetResult<MatchPlayerPayload<ExtArgs>, T, 'findFirst', never> | null, null, ExtArgs>
|
|
5387
5778
|
|
|
5388
5779
|
/**
|
|
5389
5780
|
* Find the first MatchPlayer that matches the filter or
|
|
@@ -5399,9 +5790,9 @@ export namespace Prisma {
|
|
|
5399
5790
|
* }
|
|
5400
5791
|
* })
|
|
5401
5792
|
**/
|
|
5402
|
-
findFirstOrThrow<T extends MatchPlayerFindFirstOrThrowArgs
|
|
5403
|
-
args?: SelectSubset<T, MatchPlayerFindFirstOrThrowArgs
|
|
5404
|
-
): Prisma__MatchPlayerClient<
|
|
5793
|
+
findFirstOrThrow<T extends MatchPlayerFindFirstOrThrowArgs<ExtArgs>>(
|
|
5794
|
+
args?: SelectSubset<T, MatchPlayerFindFirstOrThrowArgs<ExtArgs>>
|
|
5795
|
+
): Prisma__MatchPlayerClient<$Types.GetResult<MatchPlayerPayload<ExtArgs>, T, 'findFirstOrThrow', never>, never, ExtArgs>
|
|
5405
5796
|
|
|
5406
5797
|
/**
|
|
5407
5798
|
* Find zero or more MatchPlayers that matches the filter.
|
|
@@ -5419,9 +5810,9 @@ export namespace Prisma {
|
|
|
5419
5810
|
* const matchPlayerWithIdOnly = await prisma.matchPlayer.findMany({ select: { id: true } })
|
|
5420
5811
|
*
|
|
5421
5812
|
**/
|
|
5422
|
-
findMany<T extends MatchPlayerFindManyArgs
|
|
5423
|
-
args?: SelectSubset<T, MatchPlayerFindManyArgs
|
|
5424
|
-
): Prisma.PrismaPromise<
|
|
5813
|
+
findMany<T extends MatchPlayerFindManyArgs<ExtArgs>>(
|
|
5814
|
+
args?: SelectSubset<T, MatchPlayerFindManyArgs<ExtArgs>>
|
|
5815
|
+
): Prisma.PrismaPromise<$Types.GetResult<MatchPlayerPayload<ExtArgs>, T, 'findMany', never>>
|
|
5425
5816
|
|
|
5426
5817
|
/**
|
|
5427
5818
|
* Create a MatchPlayer.
|
|
@@ -5435,9 +5826,9 @@ export namespace Prisma {
|
|
|
5435
5826
|
* })
|
|
5436
5827
|
*
|
|
5437
5828
|
**/
|
|
5438
|
-
create<T extends MatchPlayerCreateArgs
|
|
5439
|
-
args: SelectSubset<T, MatchPlayerCreateArgs
|
|
5440
|
-
): Prisma__MatchPlayerClient<
|
|
5829
|
+
create<T extends MatchPlayerCreateArgs<ExtArgs>>(
|
|
5830
|
+
args: SelectSubset<T, MatchPlayerCreateArgs<ExtArgs>>
|
|
5831
|
+
): Prisma__MatchPlayerClient<$Types.GetResult<MatchPlayerPayload<ExtArgs>, T, 'create', never>, never, ExtArgs>
|
|
5441
5832
|
|
|
5442
5833
|
/**
|
|
5443
5834
|
* Create many MatchPlayers.
|
|
@@ -5451,8 +5842,8 @@ export namespace Prisma {
|
|
|
5451
5842
|
* })
|
|
5452
5843
|
*
|
|
5453
5844
|
**/
|
|
5454
|
-
createMany<T extends MatchPlayerCreateManyArgs
|
|
5455
|
-
args?: SelectSubset<T, MatchPlayerCreateManyArgs
|
|
5845
|
+
createMany<T extends MatchPlayerCreateManyArgs<ExtArgs>>(
|
|
5846
|
+
args?: SelectSubset<T, MatchPlayerCreateManyArgs<ExtArgs>>
|
|
5456
5847
|
): Prisma.PrismaPromise<BatchPayload>
|
|
5457
5848
|
|
|
5458
5849
|
/**
|
|
@@ -5467,9 +5858,9 @@ export namespace Prisma {
|
|
|
5467
5858
|
* })
|
|
5468
5859
|
*
|
|
5469
5860
|
**/
|
|
5470
|
-
delete<T extends MatchPlayerDeleteArgs
|
|
5471
|
-
args: SelectSubset<T, MatchPlayerDeleteArgs
|
|
5472
|
-
): Prisma__MatchPlayerClient<
|
|
5861
|
+
delete<T extends MatchPlayerDeleteArgs<ExtArgs>>(
|
|
5862
|
+
args: SelectSubset<T, MatchPlayerDeleteArgs<ExtArgs>>
|
|
5863
|
+
): Prisma__MatchPlayerClient<$Types.GetResult<MatchPlayerPayload<ExtArgs>, T, 'delete', never>, never, ExtArgs>
|
|
5473
5864
|
|
|
5474
5865
|
/**
|
|
5475
5866
|
* Update one MatchPlayer.
|
|
@@ -5486,9 +5877,9 @@ export namespace Prisma {
|
|
|
5486
5877
|
* })
|
|
5487
5878
|
*
|
|
5488
5879
|
**/
|
|
5489
|
-
update<T extends MatchPlayerUpdateArgs
|
|
5490
|
-
args: SelectSubset<T, MatchPlayerUpdateArgs
|
|
5491
|
-
): Prisma__MatchPlayerClient<
|
|
5880
|
+
update<T extends MatchPlayerUpdateArgs<ExtArgs>>(
|
|
5881
|
+
args: SelectSubset<T, MatchPlayerUpdateArgs<ExtArgs>>
|
|
5882
|
+
): Prisma__MatchPlayerClient<$Types.GetResult<MatchPlayerPayload<ExtArgs>, T, 'update', never>, never, ExtArgs>
|
|
5492
5883
|
|
|
5493
5884
|
/**
|
|
5494
5885
|
* Delete zero or more MatchPlayers.
|
|
@@ -5502,8 +5893,8 @@ export namespace Prisma {
|
|
|
5502
5893
|
* })
|
|
5503
5894
|
*
|
|
5504
5895
|
**/
|
|
5505
|
-
deleteMany<T extends MatchPlayerDeleteManyArgs
|
|
5506
|
-
args?: SelectSubset<T, MatchPlayerDeleteManyArgs
|
|
5896
|
+
deleteMany<T extends MatchPlayerDeleteManyArgs<ExtArgs>>(
|
|
5897
|
+
args?: SelectSubset<T, MatchPlayerDeleteManyArgs<ExtArgs>>
|
|
5507
5898
|
): Prisma.PrismaPromise<BatchPayload>
|
|
5508
5899
|
|
|
5509
5900
|
/**
|
|
@@ -5523,8 +5914,8 @@ export namespace Prisma {
|
|
|
5523
5914
|
* })
|
|
5524
5915
|
*
|
|
5525
5916
|
**/
|
|
5526
|
-
updateMany<T extends MatchPlayerUpdateManyArgs
|
|
5527
|
-
args: SelectSubset<T, MatchPlayerUpdateManyArgs
|
|
5917
|
+
updateMany<T extends MatchPlayerUpdateManyArgs<ExtArgs>>(
|
|
5918
|
+
args: SelectSubset<T, MatchPlayerUpdateManyArgs<ExtArgs>>
|
|
5528
5919
|
): Prisma.PrismaPromise<BatchPayload>
|
|
5529
5920
|
|
|
5530
5921
|
/**
|
|
@@ -5544,9 +5935,9 @@ export namespace Prisma {
|
|
|
5544
5935
|
* }
|
|
5545
5936
|
* })
|
|
5546
5937
|
**/
|
|
5547
|
-
upsert<T extends MatchPlayerUpsertArgs
|
|
5548
|
-
args: SelectSubset<T, MatchPlayerUpsertArgs
|
|
5549
|
-
): Prisma__MatchPlayerClient<
|
|
5938
|
+
upsert<T extends MatchPlayerUpsertArgs<ExtArgs>>(
|
|
5939
|
+
args: SelectSubset<T, MatchPlayerUpsertArgs<ExtArgs>>
|
|
5940
|
+
): Prisma__MatchPlayerClient<$Types.GetResult<MatchPlayerPayload<ExtArgs>, T, 'upsert', never>, never, ExtArgs>
|
|
5550
5941
|
|
|
5551
5942
|
/**
|
|
5552
5943
|
* Count the number of MatchPlayers.
|
|
@@ -5564,7 +5955,7 @@ export namespace Prisma {
|
|
|
5564
5955
|
count<T extends MatchPlayerCountArgs>(
|
|
5565
5956
|
args?: Subset<T, MatchPlayerCountArgs>,
|
|
5566
5957
|
): Prisma.PrismaPromise<
|
|
5567
|
-
T extends
|
|
5958
|
+
T extends $Utils.Record<'select', any>
|
|
5568
5959
|
? T['select'] extends true
|
|
5569
5960
|
? number
|
|
5570
5961
|
: GetScalarType<T['select'], MatchPlayerCountAggregateOutputType>
|
|
@@ -5682,7 +6073,7 @@ export namespace Prisma {
|
|
|
5682
6073
|
* Because we want to prevent naming conflicts as mentioned in
|
|
5683
6074
|
* https://github.com/prisma/prisma-client-js/issues/707
|
|
5684
6075
|
*/
|
|
5685
|
-
export class Prisma__MatchPlayerClient<T, Null = never> implements Prisma.PrismaPromise<T> {
|
|
6076
|
+
export class Prisma__MatchPlayerClient<T, Null = never, ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> implements Prisma.PrismaPromise<T> {
|
|
5686
6077
|
private readonly _dmmf;
|
|
5687
6078
|
private readonly _queryType;
|
|
5688
6079
|
private readonly _rootField;
|
|
@@ -5697,7 +6088,7 @@ export namespace Prisma {
|
|
|
5697
6088
|
readonly [Symbol.toStringTag]: 'PrismaPromise';
|
|
5698
6089
|
constructor(_dmmf: runtime.DMMFClass, _queryType: 'query' | 'mutation', _rootField: string, _clientMethod: string, _args: any, _dataPath: string[], _errorFormat: ErrorFormat, _measurePerformance?: boolean | undefined, _isList?: boolean);
|
|
5699
6090
|
|
|
5700
|
-
match<T extends MatchArgs= {}>(args?: Subset<T, MatchArgs
|
|
6091
|
+
match<T extends MatchArgs<ExtArgs> = {}>(args?: Subset<T, MatchArgs<ExtArgs>>): Prisma__MatchClient<$Types.GetResult<MatchPayload<ExtArgs>, T, 'findUnique', never> | Null, never, ExtArgs>;
|
|
5701
6092
|
|
|
5702
6093
|
private get _document();
|
|
5703
6094
|
/**
|
|
@@ -5729,15 +6120,15 @@ export namespace Prisma {
|
|
|
5729
6120
|
/**
|
|
5730
6121
|
* MatchPlayer base type for findUnique actions
|
|
5731
6122
|
*/
|
|
5732
|
-
export type MatchPlayerFindUniqueArgsBase = {
|
|
6123
|
+
export type MatchPlayerFindUniqueArgsBase<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
5733
6124
|
/**
|
|
5734
6125
|
* Select specific fields to fetch from the MatchPlayer
|
|
5735
6126
|
*/
|
|
5736
|
-
select?: MatchPlayerSelect | null
|
|
6127
|
+
select?: MatchPlayerSelect<ExtArgs> | null
|
|
5737
6128
|
/**
|
|
5738
6129
|
* Choose, which related nodes to fetch as well.
|
|
5739
6130
|
*/
|
|
5740
|
-
include?: MatchPlayerInclude | null
|
|
6131
|
+
include?: MatchPlayerInclude<ExtArgs> | null
|
|
5741
6132
|
/**
|
|
5742
6133
|
* Filter, which MatchPlayer to fetch.
|
|
5743
6134
|
*/
|
|
@@ -5747,7 +6138,7 @@ export namespace Prisma {
|
|
|
5747
6138
|
/**
|
|
5748
6139
|
* MatchPlayer findUnique
|
|
5749
6140
|
*/
|
|
5750
|
-
export interface MatchPlayerFindUniqueArgs extends MatchPlayerFindUniqueArgsBase {
|
|
6141
|
+
export interface MatchPlayerFindUniqueArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> extends MatchPlayerFindUniqueArgsBase<ExtArgs> {
|
|
5751
6142
|
/**
|
|
5752
6143
|
* Throw an Error if query returns no results
|
|
5753
6144
|
* @deprecated since 4.0.0: use `findUniqueOrThrow` method instead
|
|
@@ -5759,15 +6150,15 @@ export namespace Prisma {
|
|
|
5759
6150
|
/**
|
|
5760
6151
|
* MatchPlayer findUniqueOrThrow
|
|
5761
6152
|
*/
|
|
5762
|
-
export type MatchPlayerFindUniqueOrThrowArgs = {
|
|
6153
|
+
export type MatchPlayerFindUniqueOrThrowArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
5763
6154
|
/**
|
|
5764
6155
|
* Select specific fields to fetch from the MatchPlayer
|
|
5765
6156
|
*/
|
|
5766
|
-
select?: MatchPlayerSelect | null
|
|
6157
|
+
select?: MatchPlayerSelect<ExtArgs> | null
|
|
5767
6158
|
/**
|
|
5768
6159
|
* Choose, which related nodes to fetch as well.
|
|
5769
6160
|
*/
|
|
5770
|
-
include?: MatchPlayerInclude | null
|
|
6161
|
+
include?: MatchPlayerInclude<ExtArgs> | null
|
|
5771
6162
|
/**
|
|
5772
6163
|
* Filter, which MatchPlayer to fetch.
|
|
5773
6164
|
*/
|
|
@@ -5778,15 +6169,15 @@ export namespace Prisma {
|
|
|
5778
6169
|
/**
|
|
5779
6170
|
* MatchPlayer base type for findFirst actions
|
|
5780
6171
|
*/
|
|
5781
|
-
export type MatchPlayerFindFirstArgsBase = {
|
|
6172
|
+
export type MatchPlayerFindFirstArgsBase<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
5782
6173
|
/**
|
|
5783
6174
|
* Select specific fields to fetch from the MatchPlayer
|
|
5784
6175
|
*/
|
|
5785
|
-
select?: MatchPlayerSelect | null
|
|
6176
|
+
select?: MatchPlayerSelect<ExtArgs> | null
|
|
5786
6177
|
/**
|
|
5787
6178
|
* Choose, which related nodes to fetch as well.
|
|
5788
6179
|
*/
|
|
5789
|
-
include?: MatchPlayerInclude | null
|
|
6180
|
+
include?: MatchPlayerInclude<ExtArgs> | null
|
|
5790
6181
|
/**
|
|
5791
6182
|
* Filter, which MatchPlayer to fetch.
|
|
5792
6183
|
*/
|
|
@@ -5826,7 +6217,7 @@ export namespace Prisma {
|
|
|
5826
6217
|
/**
|
|
5827
6218
|
* MatchPlayer findFirst
|
|
5828
6219
|
*/
|
|
5829
|
-
export interface MatchPlayerFindFirstArgs extends MatchPlayerFindFirstArgsBase {
|
|
6220
|
+
export interface MatchPlayerFindFirstArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> extends MatchPlayerFindFirstArgsBase<ExtArgs> {
|
|
5830
6221
|
/**
|
|
5831
6222
|
* Throw an Error if query returns no results
|
|
5832
6223
|
* @deprecated since 4.0.0: use `findFirstOrThrow` method instead
|
|
@@ -5838,15 +6229,15 @@ export namespace Prisma {
|
|
|
5838
6229
|
/**
|
|
5839
6230
|
* MatchPlayer findFirstOrThrow
|
|
5840
6231
|
*/
|
|
5841
|
-
export type MatchPlayerFindFirstOrThrowArgs = {
|
|
6232
|
+
export type MatchPlayerFindFirstOrThrowArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
5842
6233
|
/**
|
|
5843
6234
|
* Select specific fields to fetch from the MatchPlayer
|
|
5844
6235
|
*/
|
|
5845
|
-
select?: MatchPlayerSelect | null
|
|
6236
|
+
select?: MatchPlayerSelect<ExtArgs> | null
|
|
5846
6237
|
/**
|
|
5847
6238
|
* Choose, which related nodes to fetch as well.
|
|
5848
6239
|
*/
|
|
5849
|
-
include?: MatchPlayerInclude | null
|
|
6240
|
+
include?: MatchPlayerInclude<ExtArgs> | null
|
|
5850
6241
|
/**
|
|
5851
6242
|
* Filter, which MatchPlayer to fetch.
|
|
5852
6243
|
*/
|
|
@@ -5887,15 +6278,15 @@ export namespace Prisma {
|
|
|
5887
6278
|
/**
|
|
5888
6279
|
* MatchPlayer findMany
|
|
5889
6280
|
*/
|
|
5890
|
-
export type MatchPlayerFindManyArgs = {
|
|
6281
|
+
export type MatchPlayerFindManyArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
5891
6282
|
/**
|
|
5892
6283
|
* Select specific fields to fetch from the MatchPlayer
|
|
5893
6284
|
*/
|
|
5894
|
-
select?: MatchPlayerSelect | null
|
|
6285
|
+
select?: MatchPlayerSelect<ExtArgs> | null
|
|
5895
6286
|
/**
|
|
5896
6287
|
* Choose, which related nodes to fetch as well.
|
|
5897
6288
|
*/
|
|
5898
|
-
include?: MatchPlayerInclude | null
|
|
6289
|
+
include?: MatchPlayerInclude<ExtArgs> | null
|
|
5899
6290
|
/**
|
|
5900
6291
|
* Filter, which MatchPlayers to fetch.
|
|
5901
6292
|
*/
|
|
@@ -5931,15 +6322,15 @@ export namespace Prisma {
|
|
|
5931
6322
|
/**
|
|
5932
6323
|
* MatchPlayer create
|
|
5933
6324
|
*/
|
|
5934
|
-
export type MatchPlayerCreateArgs = {
|
|
6325
|
+
export type MatchPlayerCreateArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
5935
6326
|
/**
|
|
5936
6327
|
* Select specific fields to fetch from the MatchPlayer
|
|
5937
6328
|
*/
|
|
5938
|
-
select?: MatchPlayerSelect | null
|
|
6329
|
+
select?: MatchPlayerSelect<ExtArgs> | null
|
|
5939
6330
|
/**
|
|
5940
6331
|
* Choose, which related nodes to fetch as well.
|
|
5941
6332
|
*/
|
|
5942
|
-
include?: MatchPlayerInclude | null
|
|
6333
|
+
include?: MatchPlayerInclude<ExtArgs> | null
|
|
5943
6334
|
/**
|
|
5944
6335
|
* The data needed to create a MatchPlayer.
|
|
5945
6336
|
*/
|
|
@@ -5950,7 +6341,7 @@ export namespace Prisma {
|
|
|
5950
6341
|
/**
|
|
5951
6342
|
* MatchPlayer createMany
|
|
5952
6343
|
*/
|
|
5953
|
-
export type MatchPlayerCreateManyArgs = {
|
|
6344
|
+
export type MatchPlayerCreateManyArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
5954
6345
|
/**
|
|
5955
6346
|
* The data used to create many MatchPlayers.
|
|
5956
6347
|
*/
|
|
@@ -5962,15 +6353,15 @@ export namespace Prisma {
|
|
|
5962
6353
|
/**
|
|
5963
6354
|
* MatchPlayer update
|
|
5964
6355
|
*/
|
|
5965
|
-
export type MatchPlayerUpdateArgs = {
|
|
6356
|
+
export type MatchPlayerUpdateArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
5966
6357
|
/**
|
|
5967
6358
|
* Select specific fields to fetch from the MatchPlayer
|
|
5968
6359
|
*/
|
|
5969
|
-
select?: MatchPlayerSelect | null
|
|
6360
|
+
select?: MatchPlayerSelect<ExtArgs> | null
|
|
5970
6361
|
/**
|
|
5971
6362
|
* Choose, which related nodes to fetch as well.
|
|
5972
6363
|
*/
|
|
5973
|
-
include?: MatchPlayerInclude | null
|
|
6364
|
+
include?: MatchPlayerInclude<ExtArgs> | null
|
|
5974
6365
|
/**
|
|
5975
6366
|
* The data needed to update a MatchPlayer.
|
|
5976
6367
|
*/
|
|
@@ -5985,7 +6376,7 @@ export namespace Prisma {
|
|
|
5985
6376
|
/**
|
|
5986
6377
|
* MatchPlayer updateMany
|
|
5987
6378
|
*/
|
|
5988
|
-
export type MatchPlayerUpdateManyArgs = {
|
|
6379
|
+
export type MatchPlayerUpdateManyArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
5989
6380
|
/**
|
|
5990
6381
|
* The data used to update MatchPlayers.
|
|
5991
6382
|
*/
|
|
@@ -6000,15 +6391,15 @@ export namespace Prisma {
|
|
|
6000
6391
|
/**
|
|
6001
6392
|
* MatchPlayer upsert
|
|
6002
6393
|
*/
|
|
6003
|
-
export type MatchPlayerUpsertArgs = {
|
|
6394
|
+
export type MatchPlayerUpsertArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
6004
6395
|
/**
|
|
6005
6396
|
* Select specific fields to fetch from the MatchPlayer
|
|
6006
6397
|
*/
|
|
6007
|
-
select?: MatchPlayerSelect | null
|
|
6398
|
+
select?: MatchPlayerSelect<ExtArgs> | null
|
|
6008
6399
|
/**
|
|
6009
6400
|
* Choose, which related nodes to fetch as well.
|
|
6010
6401
|
*/
|
|
6011
|
-
include?: MatchPlayerInclude | null
|
|
6402
|
+
include?: MatchPlayerInclude<ExtArgs> | null
|
|
6012
6403
|
/**
|
|
6013
6404
|
* The filter to search for the MatchPlayer to update in case it exists.
|
|
6014
6405
|
*/
|
|
@@ -6027,15 +6418,15 @@ export namespace Prisma {
|
|
|
6027
6418
|
/**
|
|
6028
6419
|
* MatchPlayer delete
|
|
6029
6420
|
*/
|
|
6030
|
-
export type MatchPlayerDeleteArgs = {
|
|
6421
|
+
export type MatchPlayerDeleteArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
6031
6422
|
/**
|
|
6032
6423
|
* Select specific fields to fetch from the MatchPlayer
|
|
6033
6424
|
*/
|
|
6034
|
-
select?: MatchPlayerSelect | null
|
|
6425
|
+
select?: MatchPlayerSelect<ExtArgs> | null
|
|
6035
6426
|
/**
|
|
6036
6427
|
* Choose, which related nodes to fetch as well.
|
|
6037
6428
|
*/
|
|
6038
|
-
include?: MatchPlayerInclude | null
|
|
6429
|
+
include?: MatchPlayerInclude<ExtArgs> | null
|
|
6039
6430
|
/**
|
|
6040
6431
|
* Filter which MatchPlayer to delete.
|
|
6041
6432
|
*/
|
|
@@ -6046,7 +6437,7 @@ export namespace Prisma {
|
|
|
6046
6437
|
/**
|
|
6047
6438
|
* MatchPlayer deleteMany
|
|
6048
6439
|
*/
|
|
6049
|
-
export type MatchPlayerDeleteManyArgs = {
|
|
6440
|
+
export type MatchPlayerDeleteManyArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
6050
6441
|
/**
|
|
6051
6442
|
* Filter which MatchPlayers to delete
|
|
6052
6443
|
*/
|
|
@@ -6057,15 +6448,15 @@ export namespace Prisma {
|
|
|
6057
6448
|
/**
|
|
6058
6449
|
* MatchPlayer without action
|
|
6059
6450
|
*/
|
|
6060
|
-
export type MatchPlayerArgs = {
|
|
6451
|
+
export type MatchPlayerArgs<ExtArgs extends $Extensions.Args = $Extensions.DefaultArgs> = {
|
|
6061
6452
|
/**
|
|
6062
6453
|
* Select specific fields to fetch from the MatchPlayer
|
|
6063
6454
|
*/
|
|
6064
|
-
select?: MatchPlayerSelect | null
|
|
6455
|
+
select?: MatchPlayerSelect<ExtArgs> | null
|
|
6065
6456
|
/**
|
|
6066
6457
|
* Choose, which related nodes to fetch as well.
|
|
6067
6458
|
*/
|
|
6068
|
-
include?: MatchPlayerInclude | null
|
|
6459
|
+
include?: MatchPlayerInclude<ExtArgs> | null
|
|
6069
6460
|
}
|
|
6070
6461
|
|
|
6071
6462
|
|
|
@@ -6074,9 +6465,6 @@ export namespace Prisma {
|
|
|
6074
6465
|
* Enums
|
|
6075
6466
|
*/
|
|
6076
6467
|
|
|
6077
|
-
// Based on
|
|
6078
|
-
// https://github.com/microsoft/TypeScript/issues/3192#issuecomment-261720275
|
|
6079
|
-
|
|
6080
6468
|
export const JsonNullValueFilter: {
|
|
6081
6469
|
DbNull: typeof DbNull,
|
|
6082
6470
|
JsonNull: typeof JsonNull,
|