trucoshi 7.0.0 → 7.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -73,6 +73,8 @@ export type MatchHand = {
73
73
  trucoWinnerIdx: number | null
74
74
  envidoWinnerIdx: number | null
75
75
  florWinnerIdx: number | null
76
+ bitcoinHash: string
77
+ bitcoinHeight: number
76
78
  }
77
79
 
78
80
  /**
@@ -918,13 +920,13 @@ export namespace Prisma {
918
920
 
919
921
 
920
922
  export type MatchCountOutputType = {
921
- players: number
922
923
  hands: number
924
+ players: number
923
925
  }
924
926
 
925
927
  export type MatchCountOutputTypeSelect = {
926
- players?: boolean
927
928
  hands?: boolean
929
+ players?: boolean
928
930
  }
929
931
 
930
932
  export type MatchCountOutputTypeGetPayload<S extends boolean | null | undefined | MatchCountOutputTypeArgs> =
@@ -2149,17 +2151,17 @@ export namespace Prisma {
2149
2151
  options?: boolean
2150
2152
  results?: boolean
2151
2153
  winnerIdx?: boolean
2152
- players?: boolean | Match$playersArgs
2153
- hands?: boolean | Match$handsArgs
2154
2154
  bet?: boolean | MatchBetArgs
2155
+ hands?: boolean | Match$handsArgs
2156
+ players?: boolean | Match$playersArgs
2155
2157
  _count?: boolean | MatchCountOutputTypeArgs
2156
2158
  }
2157
2159
 
2158
2160
 
2159
2161
  export type MatchInclude = {
2160
- players?: boolean | Match$playersArgs
2161
- hands?: boolean | Match$handsArgs
2162
2162
  bet?: boolean | MatchBetArgs
2163
+ hands?: boolean | Match$handsArgs
2164
+ players?: boolean | Match$playersArgs
2163
2165
  _count?: boolean | MatchCountOutputTypeArgs
2164
2166
  }
2165
2167
 
@@ -2170,17 +2172,17 @@ export namespace Prisma {
2170
2172
  S extends { include: any } & (MatchArgs | MatchFindManyArgs)
2171
2173
  ? Match & {
2172
2174
  [P in TruthyKeys<S['include']>]:
2173
- P extends 'players' ? Array < MatchPlayerGetPayload<S['include'][P]>> :
2174
- P extends 'hands' ? Array < MatchHandGetPayload<S['include'][P]>> :
2175
2175
  P extends 'bet' ? MatchBetGetPayload<S['include'][P]> | null :
2176
+ P extends 'hands' ? Array < MatchHandGetPayload<S['include'][P]>> :
2177
+ P extends 'players' ? Array < MatchPlayerGetPayload<S['include'][P]>> :
2176
2178
  P extends '_count' ? MatchCountOutputTypeGetPayload<S['include'][P]> : never
2177
2179
  }
2178
2180
  : S extends { select: any } & (MatchArgs | MatchFindManyArgs)
2179
2181
  ? {
2180
2182
  [P in TruthyKeys<S['select']>]:
2181
- P extends 'players' ? Array < MatchPlayerGetPayload<S['select'][P]>> :
2182
- P extends 'hands' ? Array < MatchHandGetPayload<S['select'][P]>> :
2183
2183
  P extends 'bet' ? MatchBetGetPayload<S['select'][P]> | null :
2184
+ P extends 'hands' ? Array < MatchHandGetPayload<S['select'][P]>> :
2185
+ P extends 'players' ? Array < MatchPlayerGetPayload<S['select'][P]>> :
2184
2186
  P extends '_count' ? MatchCountOutputTypeGetPayload<S['select'][P]> : P extends keyof Match ? Match[P] : never
2185
2187
  }
2186
2188
  : Match
@@ -2553,11 +2555,11 @@ export namespace Prisma {
2553
2555
  readonly [Symbol.toStringTag]: 'PrismaPromise';
2554
2556
  constructor(_dmmf: runtime.DMMFClass, _queryType: 'query' | 'mutation', _rootField: string, _clientMethod: string, _args: any, _dataPath: string[], _errorFormat: ErrorFormat, _measurePerformance?: boolean | undefined, _isList?: boolean);
2555
2557
 
2556
- players<T extends Match$playersArgs= {}>(args?: Subset<T, Match$playersArgs>): Prisma.PrismaPromise<Array<MatchPlayerGetPayload<T>>| Null>;
2558
+ bet<T extends MatchBetArgs= {}>(args?: Subset<T, MatchBetArgs>): Prisma__MatchBetClient<MatchBetGetPayload<T> | Null>;
2557
2559
 
2558
2560
  hands<T extends Match$handsArgs= {}>(args?: Subset<T, Match$handsArgs>): Prisma.PrismaPromise<Array<MatchHandGetPayload<T>>| Null>;
2559
2561
 
2560
- bet<T extends MatchBetArgs= {}>(args?: Subset<T, MatchBetArgs>): Prisma__MatchBetClient<MatchBetGetPayload<T> | Null>;
2562
+ players<T extends Match$playersArgs= {}>(args?: Subset<T, Match$playersArgs>): Prisma.PrismaPromise<Array<MatchPlayerGetPayload<T>>| Null>;
2561
2563
 
2562
2564
  private get _document();
2563
2565
  /**
@@ -2915,44 +2917,44 @@ export namespace Prisma {
2915
2917
 
2916
2918
 
2917
2919
  /**
2918
- * Match.players
2920
+ * Match.hands
2919
2921
  */
2920
- export type Match$playersArgs = {
2922
+ export type Match$handsArgs = {
2921
2923
  /**
2922
- * Select specific fields to fetch from the MatchPlayer
2924
+ * Select specific fields to fetch from the MatchHand
2923
2925
  */
2924
- select?: MatchPlayerSelect | null
2926
+ select?: MatchHandSelect | null
2925
2927
  /**
2926
2928
  * Choose, which related nodes to fetch as well.
2927
2929
  */
2928
- include?: MatchPlayerInclude | null
2929
- where?: MatchPlayerWhereInput
2930
- orderBy?: Enumerable<MatchPlayerOrderByWithRelationInput>
2931
- cursor?: MatchPlayerWhereUniqueInput
2930
+ include?: MatchHandInclude | null
2931
+ where?: MatchHandWhereInput
2932
+ orderBy?: Enumerable<MatchHandOrderByWithRelationInput>
2933
+ cursor?: MatchHandWhereUniqueInput
2932
2934
  take?: number
2933
2935
  skip?: number
2934
- distinct?: Enumerable<MatchPlayerScalarFieldEnum>
2936
+ distinct?: Enumerable<MatchHandScalarFieldEnum>
2935
2937
  }
2936
2938
 
2937
2939
 
2938
2940
  /**
2939
- * Match.hands
2941
+ * Match.players
2940
2942
  */
2941
- export type Match$handsArgs = {
2943
+ export type Match$playersArgs = {
2942
2944
  /**
2943
- * Select specific fields to fetch from the MatchHand
2945
+ * Select specific fields to fetch from the MatchPlayer
2944
2946
  */
2945
- select?: MatchHandSelect | null
2947
+ select?: MatchPlayerSelect | null
2946
2948
  /**
2947
2949
  * Choose, which related nodes to fetch as well.
2948
2950
  */
2949
- include?: MatchHandInclude | null
2950
- where?: MatchHandWhereInput
2951
- orderBy?: Enumerable<MatchHandOrderByWithRelationInput>
2952
- cursor?: MatchHandWhereUniqueInput
2951
+ include?: MatchPlayerInclude | null
2952
+ where?: MatchPlayerWhereInput
2953
+ orderBy?: Enumerable<MatchPlayerOrderByWithRelationInput>
2954
+ cursor?: MatchPlayerWhereUniqueInput
2953
2955
  take?: number
2954
2956
  skip?: number
2955
- distinct?: Enumerable<MatchHandScalarFieldEnum>
2957
+ distinct?: Enumerable<MatchPlayerScalarFieldEnum>
2956
2958
  }
2957
2959
 
2958
2960
 
@@ -3981,6 +3983,7 @@ export namespace Prisma {
3981
3983
  trucoWinnerIdx: number | null
3982
3984
  envidoWinnerIdx: number | null
3983
3985
  florWinnerIdx: number | null
3986
+ bitcoinHeight: number | null
3984
3987
  }
3985
3988
 
3986
3989
  export type MatchHandSumAggregateOutputType = {
@@ -3990,6 +3993,7 @@ export namespace Prisma {
3990
3993
  trucoWinnerIdx: number | null
3991
3994
  envidoWinnerIdx: number | null
3992
3995
  florWinnerIdx: number | null
3996
+ bitcoinHeight: number | null
3993
3997
  }
3994
3998
 
3995
3999
  export type MatchHandMinAggregateOutputType = {
@@ -4002,6 +4006,8 @@ export namespace Prisma {
4002
4006
  trucoWinnerIdx: number | null
4003
4007
  envidoWinnerIdx: number | null
4004
4008
  florWinnerIdx: number | null
4009
+ bitcoinHash: string | null
4010
+ bitcoinHeight: number | null
4005
4011
  }
4006
4012
 
4007
4013
  export type MatchHandMaxAggregateOutputType = {
@@ -4014,6 +4020,8 @@ export namespace Prisma {
4014
4020
  trucoWinnerIdx: number | null
4015
4021
  envidoWinnerIdx: number | null
4016
4022
  florWinnerIdx: number | null
4023
+ bitcoinHash: string | null
4024
+ bitcoinHeight: number | null
4017
4025
  }
4018
4026
 
4019
4027
  export type MatchHandCountAggregateOutputType = {
@@ -4029,6 +4037,8 @@ export namespace Prisma {
4029
4037
  trucoWinnerIdx: number
4030
4038
  envidoWinnerIdx: number
4031
4039
  florWinnerIdx: number
4040
+ bitcoinHash: number
4041
+ bitcoinHeight: number
4032
4042
  _all: number
4033
4043
  }
4034
4044
 
@@ -4040,6 +4050,7 @@ export namespace Prisma {
4040
4050
  trucoWinnerIdx?: true
4041
4051
  envidoWinnerIdx?: true
4042
4052
  florWinnerIdx?: true
4053
+ bitcoinHeight?: true
4043
4054
  }
4044
4055
 
4045
4056
  export type MatchHandSumAggregateInputType = {
@@ -4049,6 +4060,7 @@ export namespace Prisma {
4049
4060
  trucoWinnerIdx?: true
4050
4061
  envidoWinnerIdx?: true
4051
4062
  florWinnerIdx?: true
4063
+ bitcoinHeight?: true
4052
4064
  }
4053
4065
 
4054
4066
  export type MatchHandMinAggregateInputType = {
@@ -4061,6 +4073,8 @@ export namespace Prisma {
4061
4073
  trucoWinnerIdx?: true
4062
4074
  envidoWinnerIdx?: true
4063
4075
  florWinnerIdx?: true
4076
+ bitcoinHash?: true
4077
+ bitcoinHeight?: true
4064
4078
  }
4065
4079
 
4066
4080
  export type MatchHandMaxAggregateInputType = {
@@ -4073,6 +4087,8 @@ export namespace Prisma {
4073
4087
  trucoWinnerIdx?: true
4074
4088
  envidoWinnerIdx?: true
4075
4089
  florWinnerIdx?: true
4090
+ bitcoinHash?: true
4091
+ bitcoinHeight?: true
4076
4092
  }
4077
4093
 
4078
4094
  export type MatchHandCountAggregateInputType = {
@@ -4088,6 +4104,8 @@ export namespace Prisma {
4088
4104
  trucoWinnerIdx?: true
4089
4105
  envidoWinnerIdx?: true
4090
4106
  florWinnerIdx?: true
4107
+ bitcoinHash?: true
4108
+ bitcoinHeight?: true
4091
4109
  _all?: true
4092
4110
  }
4093
4111
 
@@ -4191,6 +4209,8 @@ export namespace Prisma {
4191
4209
  trucoWinnerIdx: number | null
4192
4210
  envidoWinnerIdx: number | null
4193
4211
  florWinnerIdx: number | null
4212
+ bitcoinHash: string
4213
+ bitcoinHeight: number
4194
4214
  _count: MatchHandCountAggregateOutputType | null
4195
4215
  _avg: MatchHandAvgAggregateOutputType | null
4196
4216
  _sum: MatchHandSumAggregateOutputType | null
@@ -4225,6 +4245,8 @@ export namespace Prisma {
4225
4245
  trucoWinnerIdx?: boolean
4226
4246
  envidoWinnerIdx?: boolean
4227
4247
  florWinnerIdx?: boolean
4248
+ bitcoinHash?: boolean
4249
+ bitcoinHeight?: boolean
4228
4250
  match?: boolean | MatchArgs
4229
4251
  }
4230
4252
 
@@ -6087,7 +6109,9 @@ export namespace Prisma {
6087
6109
  matchId: 'matchId',
6088
6110
  trucoWinnerIdx: 'trucoWinnerIdx',
6089
6111
  envidoWinnerIdx: 'envidoWinnerIdx',
6090
- florWinnerIdx: 'florWinnerIdx'
6112
+ florWinnerIdx: 'florWinnerIdx',
6113
+ bitcoinHash: 'bitcoinHash',
6114
+ bitcoinHeight: 'bitcoinHeight'
6091
6115
  };
6092
6116
 
6093
6117
  export type MatchHandScalarFieldEnum = (typeof MatchHandScalarFieldEnum)[keyof typeof MatchHandScalarFieldEnum]
@@ -6239,9 +6263,9 @@ export namespace Prisma {
6239
6263
  options?: JsonFilter
6240
6264
  results?: JsonFilter
6241
6265
  winnerIdx?: IntNullableFilter | number | null
6242
- players?: MatchPlayerListRelationFilter
6243
- hands?: MatchHandListRelationFilter
6244
6266
  bet?: XOR<MatchBetRelationFilter, MatchBetWhereInput> | null
6267
+ hands?: MatchHandListRelationFilter
6268
+ players?: MatchPlayerListRelationFilter
6245
6269
  }
6246
6270
 
6247
6271
  export type MatchOrderByWithRelationInput = {
@@ -6254,9 +6278,9 @@ export namespace Prisma {
6254
6278
  options?: SortOrder
6255
6279
  results?: SortOrder
6256
6280
  winnerIdx?: SortOrder
6257
- players?: MatchPlayerOrderByRelationAggregateInput
6258
- hands?: MatchHandOrderByRelationAggregateInput
6259
6281
  bet?: MatchBetOrderByWithRelationInput
6282
+ hands?: MatchHandOrderByRelationAggregateInput
6283
+ players?: MatchPlayerOrderByRelationAggregateInput
6260
6284
  }
6261
6285
 
6262
6286
  export type MatchWhereUniqueInput = {
@@ -6369,6 +6393,8 @@ export namespace Prisma {
6369
6393
  trucoWinnerIdx?: IntNullableFilter | number | null
6370
6394
  envidoWinnerIdx?: IntNullableFilter | number | null
6371
6395
  florWinnerIdx?: IntNullableFilter | number | null
6396
+ bitcoinHash?: StringFilter | string
6397
+ bitcoinHeight?: IntFilter | number
6372
6398
  match?: XOR<MatchRelationFilter, MatchWhereInput>
6373
6399
  }
6374
6400
 
@@ -6385,6 +6411,8 @@ export namespace Prisma {
6385
6411
  trucoWinnerIdx?: SortOrder
6386
6412
  envidoWinnerIdx?: SortOrder
6387
6413
  florWinnerIdx?: SortOrder
6414
+ bitcoinHash?: SortOrder
6415
+ bitcoinHeight?: SortOrder
6388
6416
  match?: MatchOrderByWithRelationInput
6389
6417
  }
6390
6418
 
@@ -6405,6 +6433,8 @@ export namespace Prisma {
6405
6433
  trucoWinnerIdx?: SortOrder
6406
6434
  envidoWinnerIdx?: SortOrder
6407
6435
  florWinnerIdx?: SortOrder
6436
+ bitcoinHash?: SortOrder
6437
+ bitcoinHeight?: SortOrder
6408
6438
  _count?: MatchHandCountOrderByAggregateInput
6409
6439
  _avg?: MatchHandAvgOrderByAggregateInput
6410
6440
  _max?: MatchHandMaxOrderByAggregateInput
@@ -6428,6 +6458,8 @@ export namespace Prisma {
6428
6458
  trucoWinnerIdx?: IntNullableWithAggregatesFilter | number | null
6429
6459
  envidoWinnerIdx?: IntNullableWithAggregatesFilter | number | null
6430
6460
  florWinnerIdx?: IntNullableWithAggregatesFilter | number | null
6461
+ bitcoinHash?: StringWithAggregatesFilter | string
6462
+ bitcoinHeight?: IntWithAggregatesFilter | number
6431
6463
  }
6432
6464
 
6433
6465
  export type MatchPlayerWhereInput = {
@@ -6583,9 +6615,9 @@ export namespace Prisma {
6583
6615
  options?: JsonNullValueInput | InputJsonValue
6584
6616
  results?: JsonNullValueInput | InputJsonValue
6585
6617
  winnerIdx?: number | null
6586
- players?: MatchPlayerCreateNestedManyWithoutMatchInput
6587
- hands?: MatchHandCreateNestedManyWithoutMatchInput
6588
6618
  bet?: MatchBetCreateNestedOneWithoutMatchInput
6619
+ hands?: MatchHandCreateNestedManyWithoutMatchInput
6620
+ players?: MatchPlayerCreateNestedManyWithoutMatchInput
6589
6621
  }
6590
6622
 
6591
6623
  export type MatchUncheckedCreateInput = {
@@ -6598,9 +6630,9 @@ export namespace Prisma {
6598
6630
  options?: JsonNullValueInput | InputJsonValue
6599
6631
  results?: JsonNullValueInput | InputJsonValue
6600
6632
  winnerIdx?: number | null
6601
- players?: MatchPlayerUncheckedCreateNestedManyWithoutMatchInput
6602
- hands?: MatchHandUncheckedCreateNestedManyWithoutMatchInput
6603
6633
  bet?: MatchBetUncheckedCreateNestedOneWithoutMatchInput
6634
+ hands?: MatchHandUncheckedCreateNestedManyWithoutMatchInput
6635
+ players?: MatchPlayerUncheckedCreateNestedManyWithoutMatchInput
6604
6636
  }
6605
6637
 
6606
6638
  export type MatchUpdateInput = {
@@ -6612,9 +6644,9 @@ export namespace Prisma {
6612
6644
  options?: JsonNullValueInput | InputJsonValue
6613
6645
  results?: JsonNullValueInput | InputJsonValue
6614
6646
  winnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
6615
- players?: MatchPlayerUpdateManyWithoutMatchNestedInput
6616
- hands?: MatchHandUpdateManyWithoutMatchNestedInput
6617
6647
  bet?: MatchBetUpdateOneWithoutMatchNestedInput
6648
+ hands?: MatchHandUpdateManyWithoutMatchNestedInput
6649
+ players?: MatchPlayerUpdateManyWithoutMatchNestedInput
6618
6650
  }
6619
6651
 
6620
6652
  export type MatchUncheckedUpdateInput = {
@@ -6627,9 +6659,9 @@ export namespace Prisma {
6627
6659
  options?: JsonNullValueInput | InputJsonValue
6628
6660
  results?: JsonNullValueInput | InputJsonValue
6629
6661
  winnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
6630
- players?: MatchPlayerUncheckedUpdateManyWithoutMatchNestedInput
6631
- hands?: MatchHandUncheckedUpdateManyWithoutMatchNestedInput
6632
6662
  bet?: MatchBetUncheckedUpdateOneWithoutMatchNestedInput
6663
+ hands?: MatchHandUncheckedUpdateManyWithoutMatchNestedInput
6664
+ players?: MatchPlayerUncheckedUpdateManyWithoutMatchNestedInput
6633
6665
  }
6634
6666
 
6635
6667
  export type MatchCreateManyInput = {
@@ -6744,6 +6776,8 @@ export namespace Prisma {
6744
6776
  trucoWinnerIdx?: number | null
6745
6777
  envidoWinnerIdx?: number | null
6746
6778
  florWinnerIdx?: number | null
6779
+ bitcoinHash?: string
6780
+ bitcoinHeight?: number
6747
6781
  match: MatchCreateNestedOneWithoutHandsInput
6748
6782
  }
6749
6783
 
@@ -6760,6 +6794,8 @@ export namespace Prisma {
6760
6794
  trucoWinnerIdx?: number | null
6761
6795
  envidoWinnerIdx?: number | null
6762
6796
  florWinnerIdx?: number | null
6797
+ bitcoinHash?: string
6798
+ bitcoinHeight?: number
6763
6799
  }
6764
6800
 
6765
6801
  export type MatchHandUpdateInput = {
@@ -6773,6 +6809,8 @@ export namespace Prisma {
6773
6809
  trucoWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
6774
6810
  envidoWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
6775
6811
  florWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
6812
+ bitcoinHash?: StringFieldUpdateOperationsInput | string
6813
+ bitcoinHeight?: IntFieldUpdateOperationsInput | number
6776
6814
  match?: MatchUpdateOneRequiredWithoutHandsNestedInput
6777
6815
  }
6778
6816
 
@@ -6789,6 +6827,8 @@ export namespace Prisma {
6789
6827
  trucoWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
6790
6828
  envidoWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
6791
6829
  florWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
6830
+ bitcoinHash?: StringFieldUpdateOperationsInput | string
6831
+ bitcoinHeight?: IntFieldUpdateOperationsInput | number
6792
6832
  }
6793
6833
 
6794
6834
  export type MatchHandCreateManyInput = {
@@ -6804,6 +6844,8 @@ export namespace Prisma {
6804
6844
  trucoWinnerIdx?: number | null
6805
6845
  envidoWinnerIdx?: number | null
6806
6846
  florWinnerIdx?: number | null
6847
+ bitcoinHash?: string
6848
+ bitcoinHeight?: number
6807
6849
  }
6808
6850
 
6809
6851
  export type MatchHandUpdateManyMutationInput = {
@@ -6817,6 +6859,8 @@ export namespace Prisma {
6817
6859
  trucoWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
6818
6860
  envidoWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
6819
6861
  florWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
6862
+ bitcoinHash?: StringFieldUpdateOperationsInput | string
6863
+ bitcoinHeight?: IntFieldUpdateOperationsInput | number
6820
6864
  }
6821
6865
 
6822
6866
  export type MatchHandUncheckedUpdateManyInput = {
@@ -6832,6 +6876,8 @@ export namespace Prisma {
6832
6876
  trucoWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
6833
6877
  envidoWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
6834
6878
  florWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
6879
+ bitcoinHash?: StringFieldUpdateOperationsInput | string
6880
+ bitcoinHeight?: IntFieldUpdateOperationsInput | number
6835
6881
  }
6836
6882
 
6837
6883
  export type MatchPlayerCreateInput = {
@@ -7094,10 +7140,9 @@ export namespace Prisma {
7094
7140
  not?: InputJsonValue | JsonNullValueFilter
7095
7141
  }
7096
7142
 
7097
- export type MatchPlayerListRelationFilter = {
7098
- every?: MatchPlayerWhereInput
7099
- some?: MatchPlayerWhereInput
7100
- none?: MatchPlayerWhereInput
7143
+ export type MatchBetRelationFilter = {
7144
+ is?: MatchBetWhereInput | null
7145
+ isNot?: MatchBetWhereInput | null
7101
7146
  }
7102
7147
 
7103
7148
  export type MatchHandListRelationFilter = {
@@ -7106,16 +7151,17 @@ export namespace Prisma {
7106
7151
  none?: MatchHandWhereInput
7107
7152
  }
7108
7153
 
7109
- export type MatchBetRelationFilter = {
7110
- is?: MatchBetWhereInput | null
7111
- isNot?: MatchBetWhereInput | null
7154
+ export type MatchPlayerListRelationFilter = {
7155
+ every?: MatchPlayerWhereInput
7156
+ some?: MatchPlayerWhereInput
7157
+ none?: MatchPlayerWhereInput
7112
7158
  }
7113
7159
 
7114
- export type MatchPlayerOrderByRelationAggregateInput = {
7160
+ export type MatchHandOrderByRelationAggregateInput = {
7115
7161
  _count?: SortOrder
7116
7162
  }
7117
7163
 
7118
- export type MatchHandOrderByRelationAggregateInput = {
7164
+ export type MatchPlayerOrderByRelationAggregateInput = {
7119
7165
  _count?: SortOrder
7120
7166
  }
7121
7167
 
@@ -7311,6 +7357,8 @@ export namespace Prisma {
7311
7357
  trucoWinnerIdx?: SortOrder
7312
7358
  envidoWinnerIdx?: SortOrder
7313
7359
  florWinnerIdx?: SortOrder
7360
+ bitcoinHash?: SortOrder
7361
+ bitcoinHeight?: SortOrder
7314
7362
  }
7315
7363
 
7316
7364
  export type MatchHandAvgOrderByAggregateInput = {
@@ -7320,6 +7368,7 @@ export namespace Prisma {
7320
7368
  trucoWinnerIdx?: SortOrder
7321
7369
  envidoWinnerIdx?: SortOrder
7322
7370
  florWinnerIdx?: SortOrder
7371
+ bitcoinHeight?: SortOrder
7323
7372
  }
7324
7373
 
7325
7374
  export type MatchHandMaxOrderByAggregateInput = {
@@ -7332,6 +7381,8 @@ export namespace Prisma {
7332
7381
  trucoWinnerIdx?: SortOrder
7333
7382
  envidoWinnerIdx?: SortOrder
7334
7383
  florWinnerIdx?: SortOrder
7384
+ bitcoinHash?: SortOrder
7385
+ bitcoinHeight?: SortOrder
7335
7386
  }
7336
7387
 
7337
7388
  export type MatchHandMinOrderByAggregateInput = {
@@ -7344,6 +7395,8 @@ export namespace Prisma {
7344
7395
  trucoWinnerIdx?: SortOrder
7345
7396
  envidoWinnerIdx?: SortOrder
7346
7397
  florWinnerIdx?: SortOrder
7398
+ bitcoinHash?: SortOrder
7399
+ bitcoinHeight?: SortOrder
7347
7400
  }
7348
7401
 
7349
7402
  export type MatchHandSumOrderByAggregateInput = {
@@ -7353,6 +7406,7 @@ export namespace Prisma {
7353
7406
  trucoWinnerIdx?: SortOrder
7354
7407
  envidoWinnerIdx?: SortOrder
7355
7408
  florWinnerIdx?: SortOrder
7409
+ bitcoinHeight?: SortOrder
7356
7410
  }
7357
7411
 
7358
7412
  export type MatchPlayerCountOrderByAggregateInput = {
@@ -7438,11 +7492,10 @@ export namespace Prisma {
7438
7492
  divide?: number
7439
7493
  }
7440
7494
 
7441
- export type MatchPlayerCreateNestedManyWithoutMatchInput = {
7442
- create?: XOR<Enumerable<MatchPlayerCreateWithoutMatchInput>, Enumerable<MatchPlayerUncheckedCreateWithoutMatchInput>>
7443
- connectOrCreate?: Enumerable<MatchPlayerCreateOrConnectWithoutMatchInput>
7444
- createMany?: MatchPlayerCreateManyMatchInputEnvelope
7445
- connect?: Enumerable<MatchPlayerWhereUniqueInput>
7495
+ export type MatchBetCreateNestedOneWithoutMatchInput = {
7496
+ create?: XOR<MatchBetCreateWithoutMatchInput, MatchBetUncheckedCreateWithoutMatchInput>
7497
+ connectOrCreate?: MatchBetCreateOrConnectWithoutMatchInput
7498
+ connect?: MatchBetWhereUniqueInput
7446
7499
  }
7447
7500
 
7448
7501
  export type MatchHandCreateNestedManyWithoutMatchInput = {
@@ -7452,19 +7505,19 @@ export namespace Prisma {
7452
7505
  connect?: Enumerable<MatchHandWhereUniqueInput>
7453
7506
  }
7454
7507
 
7455
- export type MatchBetCreateNestedOneWithoutMatchInput = {
7456
- create?: XOR<MatchBetCreateWithoutMatchInput, MatchBetUncheckedCreateWithoutMatchInput>
7457
- connectOrCreate?: MatchBetCreateOrConnectWithoutMatchInput
7458
- connect?: MatchBetWhereUniqueInput
7459
- }
7460
-
7461
- export type MatchPlayerUncheckedCreateNestedManyWithoutMatchInput = {
7508
+ export type MatchPlayerCreateNestedManyWithoutMatchInput = {
7462
7509
  create?: XOR<Enumerable<MatchPlayerCreateWithoutMatchInput>, Enumerable<MatchPlayerUncheckedCreateWithoutMatchInput>>
7463
7510
  connectOrCreate?: Enumerable<MatchPlayerCreateOrConnectWithoutMatchInput>
7464
7511
  createMany?: MatchPlayerCreateManyMatchInputEnvelope
7465
7512
  connect?: Enumerable<MatchPlayerWhereUniqueInput>
7466
7513
  }
7467
7514
 
7515
+ export type MatchBetUncheckedCreateNestedOneWithoutMatchInput = {
7516
+ create?: XOR<MatchBetCreateWithoutMatchInput, MatchBetUncheckedCreateWithoutMatchInput>
7517
+ connectOrCreate?: MatchBetCreateOrConnectWithoutMatchInput
7518
+ connect?: MatchBetWhereUniqueInput
7519
+ }
7520
+
7468
7521
  export type MatchHandUncheckedCreateNestedManyWithoutMatchInput = {
7469
7522
  create?: XOR<Enumerable<MatchHandCreateWithoutMatchInput>, Enumerable<MatchHandUncheckedCreateWithoutMatchInput>>
7470
7523
  connectOrCreate?: Enumerable<MatchHandCreateOrConnectWithoutMatchInput>
@@ -7472,10 +7525,11 @@ export namespace Prisma {
7472
7525
  connect?: Enumerable<MatchHandWhereUniqueInput>
7473
7526
  }
7474
7527
 
7475
- export type MatchBetUncheckedCreateNestedOneWithoutMatchInput = {
7476
- create?: XOR<MatchBetCreateWithoutMatchInput, MatchBetUncheckedCreateWithoutMatchInput>
7477
- connectOrCreate?: MatchBetCreateOrConnectWithoutMatchInput
7478
- connect?: MatchBetWhereUniqueInput
7528
+ export type MatchPlayerUncheckedCreateNestedManyWithoutMatchInput = {
7529
+ create?: XOR<Enumerable<MatchPlayerCreateWithoutMatchInput>, Enumerable<MatchPlayerUncheckedCreateWithoutMatchInput>>
7530
+ connectOrCreate?: Enumerable<MatchPlayerCreateOrConnectWithoutMatchInput>
7531
+ createMany?: MatchPlayerCreateManyMatchInputEnvelope
7532
+ connect?: Enumerable<MatchPlayerWhereUniqueInput>
7479
7533
  }
7480
7534
 
7481
7535
  export type DateTimeFieldUpdateOperationsInput = {
@@ -7490,18 +7544,14 @@ export namespace Prisma {
7490
7544
  set?: EMatchState
7491
7545
  }
7492
7546
 
7493
- export type MatchPlayerUpdateManyWithoutMatchNestedInput = {
7494
- create?: XOR<Enumerable<MatchPlayerCreateWithoutMatchInput>, Enumerable<MatchPlayerUncheckedCreateWithoutMatchInput>>
7495
- connectOrCreate?: Enumerable<MatchPlayerCreateOrConnectWithoutMatchInput>
7496
- upsert?: Enumerable<MatchPlayerUpsertWithWhereUniqueWithoutMatchInput>
7497
- createMany?: MatchPlayerCreateManyMatchInputEnvelope
7498
- set?: Enumerable<MatchPlayerWhereUniqueInput>
7499
- disconnect?: Enumerable<MatchPlayerWhereUniqueInput>
7500
- delete?: Enumerable<MatchPlayerWhereUniqueInput>
7501
- connect?: Enumerable<MatchPlayerWhereUniqueInput>
7502
- update?: Enumerable<MatchPlayerUpdateWithWhereUniqueWithoutMatchInput>
7503
- updateMany?: Enumerable<MatchPlayerUpdateManyWithWhereWithoutMatchInput>
7504
- deleteMany?: Enumerable<MatchPlayerScalarWhereInput>
7547
+ export type MatchBetUpdateOneWithoutMatchNestedInput = {
7548
+ create?: XOR<MatchBetCreateWithoutMatchInput, MatchBetUncheckedCreateWithoutMatchInput>
7549
+ connectOrCreate?: MatchBetCreateOrConnectWithoutMatchInput
7550
+ upsert?: MatchBetUpsertWithoutMatchInput
7551
+ disconnect?: boolean
7552
+ delete?: boolean
7553
+ connect?: MatchBetWhereUniqueInput
7554
+ update?: XOR<MatchBetUpdateWithoutMatchInput, MatchBetUncheckedUpdateWithoutMatchInput>
7505
7555
  }
7506
7556
 
7507
7557
  export type MatchHandUpdateManyWithoutMatchNestedInput = {
@@ -7518,17 +7568,7 @@ export namespace Prisma {
7518
7568
  deleteMany?: Enumerable<MatchHandScalarWhereInput>
7519
7569
  }
7520
7570
 
7521
- export type MatchBetUpdateOneWithoutMatchNestedInput = {
7522
- create?: XOR<MatchBetCreateWithoutMatchInput, MatchBetUncheckedCreateWithoutMatchInput>
7523
- connectOrCreate?: MatchBetCreateOrConnectWithoutMatchInput
7524
- upsert?: MatchBetUpsertWithoutMatchInput
7525
- disconnect?: boolean
7526
- delete?: boolean
7527
- connect?: MatchBetWhereUniqueInput
7528
- update?: XOR<MatchBetUpdateWithoutMatchInput, MatchBetUncheckedUpdateWithoutMatchInput>
7529
- }
7530
-
7531
- export type MatchPlayerUncheckedUpdateManyWithoutMatchNestedInput = {
7571
+ export type MatchPlayerUpdateManyWithoutMatchNestedInput = {
7532
7572
  create?: XOR<Enumerable<MatchPlayerCreateWithoutMatchInput>, Enumerable<MatchPlayerUncheckedCreateWithoutMatchInput>>
7533
7573
  connectOrCreate?: Enumerable<MatchPlayerCreateOrConnectWithoutMatchInput>
7534
7574
  upsert?: Enumerable<MatchPlayerUpsertWithWhereUniqueWithoutMatchInput>
@@ -7542,6 +7582,16 @@ export namespace Prisma {
7542
7582
  deleteMany?: Enumerable<MatchPlayerScalarWhereInput>
7543
7583
  }
7544
7584
 
7585
+ export type MatchBetUncheckedUpdateOneWithoutMatchNestedInput = {
7586
+ create?: XOR<MatchBetCreateWithoutMatchInput, MatchBetUncheckedCreateWithoutMatchInput>
7587
+ connectOrCreate?: MatchBetCreateOrConnectWithoutMatchInput
7588
+ upsert?: MatchBetUpsertWithoutMatchInput
7589
+ disconnect?: boolean
7590
+ delete?: boolean
7591
+ connect?: MatchBetWhereUniqueInput
7592
+ update?: XOR<MatchBetUpdateWithoutMatchInput, MatchBetUncheckedUpdateWithoutMatchInput>
7593
+ }
7594
+
7545
7595
  export type MatchHandUncheckedUpdateManyWithoutMatchNestedInput = {
7546
7596
  create?: XOR<Enumerable<MatchHandCreateWithoutMatchInput>, Enumerable<MatchHandUncheckedCreateWithoutMatchInput>>
7547
7597
  connectOrCreate?: Enumerable<MatchHandCreateOrConnectWithoutMatchInput>
@@ -7556,14 +7606,18 @@ export namespace Prisma {
7556
7606
  deleteMany?: Enumerable<MatchHandScalarWhereInput>
7557
7607
  }
7558
7608
 
7559
- export type MatchBetUncheckedUpdateOneWithoutMatchNestedInput = {
7560
- create?: XOR<MatchBetCreateWithoutMatchInput, MatchBetUncheckedCreateWithoutMatchInput>
7561
- connectOrCreate?: MatchBetCreateOrConnectWithoutMatchInput
7562
- upsert?: MatchBetUpsertWithoutMatchInput
7563
- disconnect?: boolean
7564
- delete?: boolean
7565
- connect?: MatchBetWhereUniqueInput
7566
- update?: XOR<MatchBetUpdateWithoutMatchInput, MatchBetUncheckedUpdateWithoutMatchInput>
7609
+ export type MatchPlayerUncheckedUpdateManyWithoutMatchNestedInput = {
7610
+ create?: XOR<Enumerable<MatchPlayerCreateWithoutMatchInput>, Enumerable<MatchPlayerUncheckedCreateWithoutMatchInput>>
7611
+ connectOrCreate?: Enumerable<MatchPlayerCreateOrConnectWithoutMatchInput>
7612
+ upsert?: Enumerable<MatchPlayerUpsertWithWhereUniqueWithoutMatchInput>
7613
+ createMany?: MatchPlayerCreateManyMatchInputEnvelope
7614
+ set?: Enumerable<MatchPlayerWhereUniqueInput>
7615
+ disconnect?: Enumerable<MatchPlayerWhereUniqueInput>
7616
+ delete?: Enumerable<MatchPlayerWhereUniqueInput>
7617
+ connect?: Enumerable<MatchPlayerWhereUniqueInput>
7618
+ update?: Enumerable<MatchPlayerUpdateWithWhereUniqueWithoutMatchInput>
7619
+ updateMany?: Enumerable<MatchPlayerUpdateManyWithWhereWithoutMatchInput>
7620
+ deleteMany?: Enumerable<MatchPlayerScalarWhereInput>
7567
7621
  }
7568
7622
 
7569
7623
  export type MatchCreateNestedOneWithoutBetInput = {
@@ -7805,41 +7859,26 @@ export namespace Prisma {
7805
7859
  _max?: NestedBoolFilter
7806
7860
  }
7807
7861
 
7808
- export type MatchPlayerCreateWithoutMatchInput = {
7862
+ export type MatchBetCreateWithoutMatchInput = {
7809
7863
  createdAt?: Date | string
7810
7864
  updatedAt?: Date | string
7811
- idx?: number | null
7812
- name?: string
7813
- accountId?: number | null
7814
- session: string
7815
- teamIdx: number
7816
- satsPaid?: number
7817
- satsReceived?: number
7818
- payRequestId?: number | null
7865
+ satsPerPlayer: number
7866
+ allPlayersPaid: boolean
7867
+ winnerAwarded: boolean
7819
7868
  }
7820
7869
 
7821
- export type MatchPlayerUncheckedCreateWithoutMatchInput = {
7870
+ export type MatchBetUncheckedCreateWithoutMatchInput = {
7822
7871
  id?: number
7823
7872
  createdAt?: Date | string
7824
7873
  updatedAt?: Date | string
7825
- idx?: number | null
7826
- name?: string
7827
- accountId?: number | null
7828
- session: string
7829
- teamIdx: number
7830
- satsPaid?: number
7831
- satsReceived?: number
7832
- payRequestId?: number | null
7833
- }
7834
-
7835
- export type MatchPlayerCreateOrConnectWithoutMatchInput = {
7836
- where: MatchPlayerWhereUniqueInput
7837
- create: XOR<MatchPlayerCreateWithoutMatchInput, MatchPlayerUncheckedCreateWithoutMatchInput>
7874
+ satsPerPlayer: number
7875
+ allPlayersPaid: boolean
7876
+ winnerAwarded: boolean
7838
7877
  }
7839
7878
 
7840
- export type MatchPlayerCreateManyMatchInputEnvelope = {
7841
- data: Enumerable<MatchPlayerCreateManyMatchInput>
7842
- skipDuplicates?: boolean
7879
+ export type MatchBetCreateOrConnectWithoutMatchInput = {
7880
+ where: MatchBetWhereUniqueInput
7881
+ create: XOR<MatchBetCreateWithoutMatchInput, MatchBetUncheckedCreateWithoutMatchInput>
7843
7882
  }
7844
7883
 
7845
7884
  export type MatchHandCreateWithoutMatchInput = {
@@ -7853,6 +7892,8 @@ export namespace Prisma {
7853
7892
  trucoWinnerIdx?: number | null
7854
7893
  envidoWinnerIdx?: number | null
7855
7894
  florWinnerIdx?: number | null
7895
+ bitcoinHash?: string
7896
+ bitcoinHeight?: number
7856
7897
  }
7857
7898
 
7858
7899
  export type MatchHandUncheckedCreateWithoutMatchInput = {
@@ -7867,6 +7908,8 @@ export namespace Prisma {
7867
7908
  trucoWinnerIdx?: number | null
7868
7909
  envidoWinnerIdx?: number | null
7869
7910
  florWinnerIdx?: number | null
7911
+ bitcoinHash?: string
7912
+ bitcoinHeight?: number
7870
7913
  }
7871
7914
 
7872
7915
  export type MatchHandCreateOrConnectWithoutMatchInput = {
@@ -7879,60 +7922,63 @@ export namespace Prisma {
7879
7922
  skipDuplicates?: boolean
7880
7923
  }
7881
7924
 
7882
- export type MatchBetCreateWithoutMatchInput = {
7925
+ export type MatchPlayerCreateWithoutMatchInput = {
7883
7926
  createdAt?: Date | string
7884
7927
  updatedAt?: Date | string
7885
- satsPerPlayer: number
7886
- allPlayersPaid: boolean
7887
- winnerAwarded: boolean
7928
+ idx?: number | null
7929
+ name?: string
7930
+ accountId?: number | null
7931
+ session: string
7932
+ teamIdx: number
7933
+ satsPaid?: number
7934
+ satsReceived?: number
7935
+ payRequestId?: number | null
7888
7936
  }
7889
7937
 
7890
- export type MatchBetUncheckedCreateWithoutMatchInput = {
7938
+ export type MatchPlayerUncheckedCreateWithoutMatchInput = {
7891
7939
  id?: number
7892
7940
  createdAt?: Date | string
7893
7941
  updatedAt?: Date | string
7894
- satsPerPlayer: number
7895
- allPlayersPaid: boolean
7896
- winnerAwarded: boolean
7897
- }
7898
-
7899
- export type MatchBetCreateOrConnectWithoutMatchInput = {
7900
- where: MatchBetWhereUniqueInput
7901
- create: XOR<MatchBetCreateWithoutMatchInput, MatchBetUncheckedCreateWithoutMatchInput>
7942
+ idx?: number | null
7943
+ name?: string
7944
+ accountId?: number | null
7945
+ session: string
7946
+ teamIdx: number
7947
+ satsPaid?: number
7948
+ satsReceived?: number
7949
+ payRequestId?: number | null
7902
7950
  }
7903
7951
 
7904
- export type MatchPlayerUpsertWithWhereUniqueWithoutMatchInput = {
7952
+ export type MatchPlayerCreateOrConnectWithoutMatchInput = {
7905
7953
  where: MatchPlayerWhereUniqueInput
7906
- update: XOR<MatchPlayerUpdateWithoutMatchInput, MatchPlayerUncheckedUpdateWithoutMatchInput>
7907
7954
  create: XOR<MatchPlayerCreateWithoutMatchInput, MatchPlayerUncheckedCreateWithoutMatchInput>
7908
7955
  }
7909
7956
 
7910
- export type MatchPlayerUpdateWithWhereUniqueWithoutMatchInput = {
7911
- where: MatchPlayerWhereUniqueInput
7912
- data: XOR<MatchPlayerUpdateWithoutMatchInput, MatchPlayerUncheckedUpdateWithoutMatchInput>
7957
+ export type MatchPlayerCreateManyMatchInputEnvelope = {
7958
+ data: Enumerable<MatchPlayerCreateManyMatchInput>
7959
+ skipDuplicates?: boolean
7913
7960
  }
7914
7961
 
7915
- export type MatchPlayerUpdateManyWithWhereWithoutMatchInput = {
7916
- where: MatchPlayerScalarWhereInput
7917
- data: XOR<MatchPlayerUpdateManyMutationInput, MatchPlayerUncheckedUpdateManyWithoutPlayersInput>
7962
+ export type MatchBetUpsertWithoutMatchInput = {
7963
+ update: XOR<MatchBetUpdateWithoutMatchInput, MatchBetUncheckedUpdateWithoutMatchInput>
7964
+ create: XOR<MatchBetCreateWithoutMatchInput, MatchBetUncheckedCreateWithoutMatchInput>
7918
7965
  }
7919
7966
 
7920
- export type MatchPlayerScalarWhereInput = {
7921
- AND?: Enumerable<MatchPlayerScalarWhereInput>
7922
- OR?: Enumerable<MatchPlayerScalarWhereInput>
7923
- NOT?: Enumerable<MatchPlayerScalarWhereInput>
7924
- id?: IntFilter | number
7925
- createdAt?: DateTimeFilter | Date | string
7926
- updatedAt?: DateTimeFilter | Date | string
7927
- idx?: IntNullableFilter | number | null
7928
- name?: StringFilter | string
7929
- accountId?: IntNullableFilter | number | null
7930
- session?: StringFilter | string
7931
- teamIdx?: IntFilter | number
7932
- satsPaid?: IntFilter | number
7933
- satsReceived?: IntFilter | number
7934
- payRequestId?: IntNullableFilter | number | null
7935
- matchId?: IntFilter | number
7967
+ export type MatchBetUpdateWithoutMatchInput = {
7968
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
7969
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
7970
+ satsPerPlayer?: IntFieldUpdateOperationsInput | number
7971
+ allPlayersPaid?: BoolFieldUpdateOperationsInput | boolean
7972
+ winnerAwarded?: BoolFieldUpdateOperationsInput | boolean
7973
+ }
7974
+
7975
+ export type MatchBetUncheckedUpdateWithoutMatchInput = {
7976
+ id?: IntFieldUpdateOperationsInput | number
7977
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
7978
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
7979
+ satsPerPlayer?: IntFieldUpdateOperationsInput | number
7980
+ allPlayersPaid?: BoolFieldUpdateOperationsInput | boolean
7981
+ winnerAwarded?: BoolFieldUpdateOperationsInput | boolean
7936
7982
  }
7937
7983
 
7938
7984
  export type MatchHandUpsertWithWhereUniqueWithoutMatchInput = {
@@ -7967,28 +8013,42 @@ export namespace Prisma {
7967
8013
  trucoWinnerIdx?: IntNullableFilter | number | null
7968
8014
  envidoWinnerIdx?: IntNullableFilter | number | null
7969
8015
  florWinnerIdx?: IntNullableFilter | number | null
8016
+ bitcoinHash?: StringFilter | string
8017
+ bitcoinHeight?: IntFilter | number
7970
8018
  }
7971
8019
 
7972
- export type MatchBetUpsertWithoutMatchInput = {
7973
- update: XOR<MatchBetUpdateWithoutMatchInput, MatchBetUncheckedUpdateWithoutMatchInput>
7974
- create: XOR<MatchBetCreateWithoutMatchInput, MatchBetUncheckedCreateWithoutMatchInput>
8020
+ export type MatchPlayerUpsertWithWhereUniqueWithoutMatchInput = {
8021
+ where: MatchPlayerWhereUniqueInput
8022
+ update: XOR<MatchPlayerUpdateWithoutMatchInput, MatchPlayerUncheckedUpdateWithoutMatchInput>
8023
+ create: XOR<MatchPlayerCreateWithoutMatchInput, MatchPlayerUncheckedCreateWithoutMatchInput>
7975
8024
  }
7976
8025
 
7977
- export type MatchBetUpdateWithoutMatchInput = {
7978
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
7979
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
7980
- satsPerPlayer?: IntFieldUpdateOperationsInput | number
7981
- allPlayersPaid?: BoolFieldUpdateOperationsInput | boolean
7982
- winnerAwarded?: BoolFieldUpdateOperationsInput | boolean
8026
+ export type MatchPlayerUpdateWithWhereUniqueWithoutMatchInput = {
8027
+ where: MatchPlayerWhereUniqueInput
8028
+ data: XOR<MatchPlayerUpdateWithoutMatchInput, MatchPlayerUncheckedUpdateWithoutMatchInput>
7983
8029
  }
7984
8030
 
7985
- export type MatchBetUncheckedUpdateWithoutMatchInput = {
7986
- id?: IntFieldUpdateOperationsInput | number
7987
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
7988
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
7989
- satsPerPlayer?: IntFieldUpdateOperationsInput | number
7990
- allPlayersPaid?: BoolFieldUpdateOperationsInput | boolean
7991
- winnerAwarded?: BoolFieldUpdateOperationsInput | boolean
8031
+ export type MatchPlayerUpdateManyWithWhereWithoutMatchInput = {
8032
+ where: MatchPlayerScalarWhereInput
8033
+ data: XOR<MatchPlayerUpdateManyMutationInput, MatchPlayerUncheckedUpdateManyWithoutPlayersInput>
8034
+ }
8035
+
8036
+ export type MatchPlayerScalarWhereInput = {
8037
+ AND?: Enumerable<MatchPlayerScalarWhereInput>
8038
+ OR?: Enumerable<MatchPlayerScalarWhereInput>
8039
+ NOT?: Enumerable<MatchPlayerScalarWhereInput>
8040
+ id?: IntFilter | number
8041
+ createdAt?: DateTimeFilter | Date | string
8042
+ updatedAt?: DateTimeFilter | Date | string
8043
+ idx?: IntNullableFilter | number | null
8044
+ name?: StringFilter | string
8045
+ accountId?: IntNullableFilter | number | null
8046
+ session?: StringFilter | string
8047
+ teamIdx?: IntFilter | number
8048
+ satsPaid?: IntFilter | number
8049
+ satsReceived?: IntFilter | number
8050
+ payRequestId?: IntNullableFilter | number | null
8051
+ matchId?: IntFilter | number
7992
8052
  }
7993
8053
 
7994
8054
  export type MatchCreateWithoutBetInput = {
@@ -8000,8 +8060,8 @@ export namespace Prisma {
8000
8060
  options?: JsonNullValueInput | InputJsonValue
8001
8061
  results?: JsonNullValueInput | InputJsonValue
8002
8062
  winnerIdx?: number | null
8003
- players?: MatchPlayerCreateNestedManyWithoutMatchInput
8004
8063
  hands?: MatchHandCreateNestedManyWithoutMatchInput
8064
+ players?: MatchPlayerCreateNestedManyWithoutMatchInput
8005
8065
  }
8006
8066
 
8007
8067
  export type MatchUncheckedCreateWithoutBetInput = {
@@ -8014,8 +8074,8 @@ export namespace Prisma {
8014
8074
  options?: JsonNullValueInput | InputJsonValue
8015
8075
  results?: JsonNullValueInput | InputJsonValue
8016
8076
  winnerIdx?: number | null
8017
- players?: MatchPlayerUncheckedCreateNestedManyWithoutMatchInput
8018
8077
  hands?: MatchHandUncheckedCreateNestedManyWithoutMatchInput
8078
+ players?: MatchPlayerUncheckedCreateNestedManyWithoutMatchInput
8019
8079
  }
8020
8080
 
8021
8081
  export type MatchCreateOrConnectWithoutBetInput = {
@@ -8037,8 +8097,8 @@ export namespace Prisma {
8037
8097
  options?: JsonNullValueInput | InputJsonValue
8038
8098
  results?: JsonNullValueInput | InputJsonValue
8039
8099
  winnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
8040
- players?: MatchPlayerUpdateManyWithoutMatchNestedInput
8041
8100
  hands?: MatchHandUpdateManyWithoutMatchNestedInput
8101
+ players?: MatchPlayerUpdateManyWithoutMatchNestedInput
8042
8102
  }
8043
8103
 
8044
8104
  export type MatchUncheckedUpdateWithoutBetInput = {
@@ -8051,8 +8111,8 @@ export namespace Prisma {
8051
8111
  options?: JsonNullValueInput | InputJsonValue
8052
8112
  results?: JsonNullValueInput | InputJsonValue
8053
8113
  winnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
8054
- players?: MatchPlayerUncheckedUpdateManyWithoutMatchNestedInput
8055
8114
  hands?: MatchHandUncheckedUpdateManyWithoutMatchNestedInput
8115
+ players?: MatchPlayerUncheckedUpdateManyWithoutMatchNestedInput
8056
8116
  }
8057
8117
 
8058
8118
  export type MatchCreateWithoutHandsInput = {
@@ -8064,8 +8124,8 @@ export namespace Prisma {
8064
8124
  options?: JsonNullValueInput | InputJsonValue
8065
8125
  results?: JsonNullValueInput | InputJsonValue
8066
8126
  winnerIdx?: number | null
8067
- players?: MatchPlayerCreateNestedManyWithoutMatchInput
8068
8127
  bet?: MatchBetCreateNestedOneWithoutMatchInput
8128
+ players?: MatchPlayerCreateNestedManyWithoutMatchInput
8069
8129
  }
8070
8130
 
8071
8131
  export type MatchUncheckedCreateWithoutHandsInput = {
@@ -8078,8 +8138,8 @@ export namespace Prisma {
8078
8138
  options?: JsonNullValueInput | InputJsonValue
8079
8139
  results?: JsonNullValueInput | InputJsonValue
8080
8140
  winnerIdx?: number | null
8081
- players?: MatchPlayerUncheckedCreateNestedManyWithoutMatchInput
8082
8141
  bet?: MatchBetUncheckedCreateNestedOneWithoutMatchInput
8142
+ players?: MatchPlayerUncheckedCreateNestedManyWithoutMatchInput
8083
8143
  }
8084
8144
 
8085
8145
  export type MatchCreateOrConnectWithoutHandsInput = {
@@ -8101,8 +8161,8 @@ export namespace Prisma {
8101
8161
  options?: JsonNullValueInput | InputJsonValue
8102
8162
  results?: JsonNullValueInput | InputJsonValue
8103
8163
  winnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
8104
- players?: MatchPlayerUpdateManyWithoutMatchNestedInput
8105
8164
  bet?: MatchBetUpdateOneWithoutMatchNestedInput
8165
+ players?: MatchPlayerUpdateManyWithoutMatchNestedInput
8106
8166
  }
8107
8167
 
8108
8168
  export type MatchUncheckedUpdateWithoutHandsInput = {
@@ -8115,8 +8175,8 @@ export namespace Prisma {
8115
8175
  options?: JsonNullValueInput | InputJsonValue
8116
8176
  results?: JsonNullValueInput | InputJsonValue
8117
8177
  winnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
8118
- players?: MatchPlayerUncheckedUpdateManyWithoutMatchNestedInput
8119
8178
  bet?: MatchBetUncheckedUpdateOneWithoutMatchNestedInput
8179
+ players?: MatchPlayerUncheckedUpdateManyWithoutMatchNestedInput
8120
8180
  }
8121
8181
 
8122
8182
  export type MatchCreateWithoutPlayersInput = {
@@ -8128,8 +8188,8 @@ export namespace Prisma {
8128
8188
  options?: JsonNullValueInput | InputJsonValue
8129
8189
  results?: JsonNullValueInput | InputJsonValue
8130
8190
  winnerIdx?: number | null
8131
- hands?: MatchHandCreateNestedManyWithoutMatchInput
8132
8191
  bet?: MatchBetCreateNestedOneWithoutMatchInput
8192
+ hands?: MatchHandCreateNestedManyWithoutMatchInput
8133
8193
  }
8134
8194
 
8135
8195
  export type MatchUncheckedCreateWithoutPlayersInput = {
@@ -8142,8 +8202,8 @@ export namespace Prisma {
8142
8202
  options?: JsonNullValueInput | InputJsonValue
8143
8203
  results?: JsonNullValueInput | InputJsonValue
8144
8204
  winnerIdx?: number | null
8145
- hands?: MatchHandUncheckedCreateNestedManyWithoutMatchInput
8146
8205
  bet?: MatchBetUncheckedCreateNestedOneWithoutMatchInput
8206
+ hands?: MatchHandUncheckedCreateNestedManyWithoutMatchInput
8147
8207
  }
8148
8208
 
8149
8209
  export type MatchCreateOrConnectWithoutPlayersInput = {
@@ -8165,8 +8225,8 @@ export namespace Prisma {
8165
8225
  options?: JsonNullValueInput | InputJsonValue
8166
8226
  results?: JsonNullValueInput | InputJsonValue
8167
8227
  winnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
8168
- hands?: MatchHandUpdateManyWithoutMatchNestedInput
8169
8228
  bet?: MatchBetUpdateOneWithoutMatchNestedInput
8229
+ hands?: MatchHandUpdateManyWithoutMatchNestedInput
8170
8230
  }
8171
8231
 
8172
8232
  export type MatchUncheckedUpdateWithoutPlayersInput = {
@@ -8179,8 +8239,24 @@ export namespace Prisma {
8179
8239
  options?: JsonNullValueInput | InputJsonValue
8180
8240
  results?: JsonNullValueInput | InputJsonValue
8181
8241
  winnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
8182
- hands?: MatchHandUncheckedUpdateManyWithoutMatchNestedInput
8183
8242
  bet?: MatchBetUncheckedUpdateOneWithoutMatchNestedInput
8243
+ hands?: MatchHandUncheckedUpdateManyWithoutMatchNestedInput
8244
+ }
8245
+
8246
+ export type MatchHandCreateManyMatchInput = {
8247
+ id?: number
8248
+ createdAt?: Date | string
8249
+ updatedAt?: Date | string
8250
+ idx: number
8251
+ secret?: string
8252
+ clientSecrets?: MatchHandCreateclientSecretsInput | Enumerable<string>
8253
+ rounds?: JsonNullValueInput | InputJsonValue
8254
+ results?: JsonNullValueInput | InputJsonValue
8255
+ trucoWinnerIdx?: number | null
8256
+ envidoWinnerIdx?: number | null
8257
+ florWinnerIdx?: number | null
8258
+ bitcoinHash?: string
8259
+ bitcoinHeight?: number
8184
8260
  }
8185
8261
 
8186
8262
  export type MatchPlayerCreateManyMatchInput = {
@@ -8197,18 +8273,51 @@ export namespace Prisma {
8197
8273
  payRequestId?: number | null
8198
8274
  }
8199
8275
 
8200
- export type MatchHandCreateManyMatchInput = {
8201
- id?: number
8202
- createdAt?: Date | string
8203
- updatedAt?: Date | string
8204
- idx: number
8205
- secret?: string
8206
- clientSecrets?: MatchHandCreateclientSecretsInput | Enumerable<string>
8276
+ export type MatchHandUpdateWithoutMatchInput = {
8277
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
8278
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
8279
+ idx?: IntFieldUpdateOperationsInput | number
8280
+ secret?: StringFieldUpdateOperationsInput | string
8281
+ clientSecrets?: MatchHandUpdateclientSecretsInput | Enumerable<string>
8207
8282
  rounds?: JsonNullValueInput | InputJsonValue
8208
8283
  results?: JsonNullValueInput | InputJsonValue
8209
- trucoWinnerIdx?: number | null
8210
- envidoWinnerIdx?: number | null
8211
- florWinnerIdx?: number | null
8284
+ trucoWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
8285
+ envidoWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
8286
+ florWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
8287
+ bitcoinHash?: StringFieldUpdateOperationsInput | string
8288
+ bitcoinHeight?: IntFieldUpdateOperationsInput | number
8289
+ }
8290
+
8291
+ export type MatchHandUncheckedUpdateWithoutMatchInput = {
8292
+ id?: IntFieldUpdateOperationsInput | number
8293
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
8294
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
8295
+ idx?: IntFieldUpdateOperationsInput | number
8296
+ secret?: StringFieldUpdateOperationsInput | string
8297
+ clientSecrets?: MatchHandUpdateclientSecretsInput | Enumerable<string>
8298
+ rounds?: JsonNullValueInput | InputJsonValue
8299
+ results?: JsonNullValueInput | InputJsonValue
8300
+ trucoWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
8301
+ envidoWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
8302
+ florWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
8303
+ bitcoinHash?: StringFieldUpdateOperationsInput | string
8304
+ bitcoinHeight?: IntFieldUpdateOperationsInput | number
8305
+ }
8306
+
8307
+ export type MatchHandUncheckedUpdateManyWithoutHandsInput = {
8308
+ id?: IntFieldUpdateOperationsInput | number
8309
+ createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
8310
+ updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
8311
+ idx?: IntFieldUpdateOperationsInput | number
8312
+ secret?: StringFieldUpdateOperationsInput | string
8313
+ clientSecrets?: MatchHandUpdateclientSecretsInput | Enumerable<string>
8314
+ rounds?: JsonNullValueInput | InputJsonValue
8315
+ results?: JsonNullValueInput | InputJsonValue
8316
+ trucoWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
8317
+ envidoWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
8318
+ florWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
8319
+ bitcoinHash?: StringFieldUpdateOperationsInput | string
8320
+ bitcoinHeight?: IntFieldUpdateOperationsInput | number
8212
8321
  }
8213
8322
 
8214
8323
  export type MatchPlayerUpdateWithoutMatchInput = {
@@ -8252,47 +8361,6 @@ export namespace Prisma {
8252
8361
  payRequestId?: NullableIntFieldUpdateOperationsInput | number | null
8253
8362
  }
8254
8363
 
8255
- export type MatchHandUpdateWithoutMatchInput = {
8256
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
8257
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
8258
- idx?: IntFieldUpdateOperationsInput | number
8259
- secret?: StringFieldUpdateOperationsInput | string
8260
- clientSecrets?: MatchHandUpdateclientSecretsInput | Enumerable<string>
8261
- rounds?: JsonNullValueInput | InputJsonValue
8262
- results?: JsonNullValueInput | InputJsonValue
8263
- trucoWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
8264
- envidoWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
8265
- florWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
8266
- }
8267
-
8268
- export type MatchHandUncheckedUpdateWithoutMatchInput = {
8269
- id?: IntFieldUpdateOperationsInput | number
8270
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
8271
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
8272
- idx?: IntFieldUpdateOperationsInput | number
8273
- secret?: StringFieldUpdateOperationsInput | string
8274
- clientSecrets?: MatchHandUpdateclientSecretsInput | Enumerable<string>
8275
- rounds?: JsonNullValueInput | InputJsonValue
8276
- results?: JsonNullValueInput | InputJsonValue
8277
- trucoWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
8278
- envidoWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
8279
- florWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
8280
- }
8281
-
8282
- export type MatchHandUncheckedUpdateManyWithoutHandsInput = {
8283
- id?: IntFieldUpdateOperationsInput | number
8284
- createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
8285
- updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
8286
- idx?: IntFieldUpdateOperationsInput | number
8287
- secret?: StringFieldUpdateOperationsInput | string
8288
- clientSecrets?: MatchHandUpdateclientSecretsInput | Enumerable<string>
8289
- rounds?: JsonNullValueInput | InputJsonValue
8290
- results?: JsonNullValueInput | InputJsonValue
8291
- trucoWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
8292
- envidoWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
8293
- florWinnerIdx?: NullableIntFieldUpdateOperationsInput | number | null
8294
- }
8295
-
8296
8364
 
8297
8365
 
8298
8366
  /**