trucoshi 8.5.0 → 8.5.2

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