lang-database 1.3.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,8 +17,8 @@ type UnwrapTuple<Tuple extends readonly unknown[]> = {
17
17
  *
18
18
  */
19
19
  export type Card = {
20
- id: number
21
- packId: number
20
+ id: string
21
+ packId: string
22
22
  front: string
23
23
  back: string
24
24
  }
@@ -28,8 +28,8 @@ export type Card = {
28
28
  *
29
29
  */
30
30
  export type UserCard = {
31
- userId: number
32
- cardId: number
31
+ userId: string
32
+ cardId: string
33
33
  currentInterval: number | null
34
34
  dueDate: Date | null
35
35
  done: boolean
@@ -40,8 +40,8 @@ export type UserCard = {
40
40
  *
41
41
  */
42
42
  export type Pack = {
43
- id: number
44
- teacherId: number
43
+ id: string
44
+ teacherId: string
45
45
  name: string
46
46
  currentPrice: Prisma.Decimal
47
47
  }
@@ -51,7 +51,7 @@ export type Pack = {
51
51
  *
52
52
  */
53
53
  export type User = {
54
- id: number
54
+ id: string
55
55
  email: string
56
56
  name: string
57
57
  }
@@ -61,7 +61,7 @@ export type User = {
61
61
  *
62
62
  */
63
63
  export type Teacher = {
64
- id: number
64
+ id: string
65
65
  email: string
66
66
  name: string
67
67
  password: string
@@ -73,7 +73,7 @@ export type Teacher = {
73
73
  */
74
74
  export type GoogleUser = {
75
75
  id: string
76
- userId: number
76
+ userId: string
77
77
  }
78
78
 
79
79
  /**
@@ -81,9 +81,9 @@ export type GoogleUser = {
81
81
  *
82
82
  */
83
83
  export type Answer = {
84
- id: number
85
- userId: number
86
- cardId: number
84
+ id: string
85
+ userId: string
86
+ cardId: string
87
87
  status: string
88
88
  timestamp: string
89
89
  }
@@ -93,9 +93,9 @@ export type Answer = {
93
93
  *
94
94
  */
95
95
  export type Purchase = {
96
- id: number
97
- userId: number
98
- packId: number
96
+ id: string
97
+ userId: string
98
+ packId: string
99
99
  price: string
100
100
  }
101
101
 
@@ -1175,32 +1175,20 @@ export namespace Prisma {
1175
1175
 
1176
1176
  export type AggregateCard = {
1177
1177
  _count: CardCountAggregateOutputType | null
1178
- _avg: CardAvgAggregateOutputType | null
1179
- _sum: CardSumAggregateOutputType | null
1180
1178
  _min: CardMinAggregateOutputType | null
1181
1179
  _max: CardMaxAggregateOutputType | null
1182
1180
  }
1183
1181
 
1184
- export type CardAvgAggregateOutputType = {
1185
- id: number | null
1186
- packId: number | null
1187
- }
1188
-
1189
- export type CardSumAggregateOutputType = {
1190
- id: number | null
1191
- packId: number | null
1192
- }
1193
-
1194
1182
  export type CardMinAggregateOutputType = {
1195
- id: number | null
1196
- packId: number | null
1183
+ id: string | null
1184
+ packId: string | null
1197
1185
  front: string | null
1198
1186
  back: string | null
1199
1187
  }
1200
1188
 
1201
1189
  export type CardMaxAggregateOutputType = {
1202
- id: number | null
1203
- packId: number | null
1190
+ id: string | null
1191
+ packId: string | null
1204
1192
  front: string | null
1205
1193
  back: string | null
1206
1194
  }
@@ -1214,16 +1202,6 @@ export namespace Prisma {
1214
1202
  }
1215
1203
 
1216
1204
 
1217
- export type CardAvgAggregateInputType = {
1218
- id?: true
1219
- packId?: true
1220
- }
1221
-
1222
- export type CardSumAggregateInputType = {
1223
- id?: true
1224
- packId?: true
1225
- }
1226
-
1227
1205
  export type CardMinAggregateInputType = {
1228
1206
  id?: true
1229
1207
  packId?: true
@@ -1286,18 +1264,6 @@ export namespace Prisma {
1286
1264
  * Count returned Cards
1287
1265
  **/
1288
1266
  _count?: true | CardCountAggregateInputType
1289
- /**
1290
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
1291
- *
1292
- * Select which fields to average
1293
- **/
1294
- _avg?: CardAvgAggregateInputType
1295
- /**
1296
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
1297
- *
1298
- * Select which fields to sum
1299
- **/
1300
- _sum?: CardSumAggregateInputType
1301
1267
  /**
1302
1268
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
1303
1269
  *
@@ -1331,21 +1297,17 @@ export namespace Prisma {
1331
1297
  take?: number
1332
1298
  skip?: number
1333
1299
  _count?: CardCountAggregateInputType | true
1334
- _avg?: CardAvgAggregateInputType
1335
- _sum?: CardSumAggregateInputType
1336
1300
  _min?: CardMinAggregateInputType
1337
1301
  _max?: CardMaxAggregateInputType
1338
1302
  }
1339
1303
 
1340
1304
 
1341
1305
  export type CardGroupByOutputType = {
1342
- id: number
1343
- packId: number
1306
+ id: string
1307
+ packId: string
1344
1308
  front: string
1345
1309
  back: string
1346
1310
  _count: CardCountAggregateOutputType | null
1347
- _avg: CardAvgAggregateOutputType | null
1348
- _sum: CardSumAggregateOutputType | null
1349
1311
  _min: CardMinAggregateOutputType | null
1350
1312
  _max: CardMaxAggregateOutputType | null
1351
1313
  }
@@ -2147,28 +2109,24 @@ export namespace Prisma {
2147
2109
  }
2148
2110
 
2149
2111
  export type UserCardAvgAggregateOutputType = {
2150
- userId: number | null
2151
- cardId: number | null
2152
2112
  currentInterval: number | null
2153
2113
  }
2154
2114
 
2155
2115
  export type UserCardSumAggregateOutputType = {
2156
- userId: number | null
2157
- cardId: number | null
2158
2116
  currentInterval: number | null
2159
2117
  }
2160
2118
 
2161
2119
  export type UserCardMinAggregateOutputType = {
2162
- userId: number | null
2163
- cardId: number | null
2120
+ userId: string | null
2121
+ cardId: string | null
2164
2122
  currentInterval: number | null
2165
2123
  dueDate: Date | null
2166
2124
  done: boolean | null
2167
2125
  }
2168
2126
 
2169
2127
  export type UserCardMaxAggregateOutputType = {
2170
- userId: number | null
2171
- cardId: number | null
2128
+ userId: string | null
2129
+ cardId: string | null
2172
2130
  currentInterval: number | null
2173
2131
  dueDate: Date | null
2174
2132
  done: boolean | null
@@ -2185,14 +2143,10 @@ export namespace Prisma {
2185
2143
 
2186
2144
 
2187
2145
  export type UserCardAvgAggregateInputType = {
2188
- userId?: true
2189
- cardId?: true
2190
2146
  currentInterval?: true
2191
2147
  }
2192
2148
 
2193
2149
  export type UserCardSumAggregateInputType = {
2194
- userId?: true
2195
- cardId?: true
2196
2150
  currentInterval?: true
2197
2151
  }
2198
2152
 
@@ -2314,8 +2268,8 @@ export namespace Prisma {
2314
2268
 
2315
2269
 
2316
2270
  export type UserCardGroupByOutputType = {
2317
- userId: number
2318
- cardId: number
2271
+ userId: string
2272
+ cardId: string
2319
2273
  currentInterval: number | null
2320
2274
  dueDate: Date | null
2321
2275
  done: boolean
@@ -3120,27 +3074,23 @@ export namespace Prisma {
3120
3074
  }
3121
3075
 
3122
3076
  export type PackAvgAggregateOutputType = {
3123
- id: number | null
3124
- teacherId: number | null
3125
3077
  currentPrice: Decimal | null
3126
3078
  }
3127
3079
 
3128
3080
  export type PackSumAggregateOutputType = {
3129
- id: number | null
3130
- teacherId: number | null
3131
3081
  currentPrice: Decimal | null
3132
3082
  }
3133
3083
 
3134
3084
  export type PackMinAggregateOutputType = {
3135
- id: number | null
3136
- teacherId: number | null
3085
+ id: string | null
3086
+ teacherId: string | null
3137
3087
  name: string | null
3138
3088
  currentPrice: Decimal | null
3139
3089
  }
3140
3090
 
3141
3091
  export type PackMaxAggregateOutputType = {
3142
- id: number | null
3143
- teacherId: number | null
3092
+ id: string | null
3093
+ teacherId: string | null
3144
3094
  name: string | null
3145
3095
  currentPrice: Decimal | null
3146
3096
  }
@@ -3155,14 +3105,10 @@ export namespace Prisma {
3155
3105
 
3156
3106
 
3157
3107
  export type PackAvgAggregateInputType = {
3158
- id?: true
3159
- teacherId?: true
3160
3108
  currentPrice?: true
3161
3109
  }
3162
3110
 
3163
3111
  export type PackSumAggregateInputType = {
3164
- id?: true
3165
- teacherId?: true
3166
3112
  currentPrice?: true
3167
3113
  }
3168
3114
 
@@ -3281,8 +3227,8 @@ export namespace Prisma {
3281
3227
 
3282
3228
 
3283
3229
  export type PackGroupByOutputType = {
3284
- id: number
3285
- teacherId: number
3230
+ id: string
3231
+ teacherId: string
3286
3232
  name: string
3287
3233
  currentPrice: Decimal
3288
3234
  _count: PackCountAggregateOutputType | null
@@ -4094,28 +4040,18 @@ export namespace Prisma {
4094
4040
 
4095
4041
  export type AggregateUser = {
4096
4042
  _count: UserCountAggregateOutputType | null
4097
- _avg: UserAvgAggregateOutputType | null
4098
- _sum: UserSumAggregateOutputType | null
4099
4043
  _min: UserMinAggregateOutputType | null
4100
4044
  _max: UserMaxAggregateOutputType | null
4101
4045
  }
4102
4046
 
4103
- export type UserAvgAggregateOutputType = {
4104
- id: number | null
4105
- }
4106
-
4107
- export type UserSumAggregateOutputType = {
4108
- id: number | null
4109
- }
4110
-
4111
4047
  export type UserMinAggregateOutputType = {
4112
- id: number | null
4048
+ id: string | null
4113
4049
  email: string | null
4114
4050
  name: string | null
4115
4051
  }
4116
4052
 
4117
4053
  export type UserMaxAggregateOutputType = {
4118
- id: number | null
4054
+ id: string | null
4119
4055
  email: string | null
4120
4056
  name: string | null
4121
4057
  }
@@ -4128,14 +4064,6 @@ export namespace Prisma {
4128
4064
  }
4129
4065
 
4130
4066
 
4131
- export type UserAvgAggregateInputType = {
4132
- id?: true
4133
- }
4134
-
4135
- export type UserSumAggregateInputType = {
4136
- id?: true
4137
- }
4138
-
4139
4067
  export type UserMinAggregateInputType = {
4140
4068
  id?: true
4141
4069
  email?: true
@@ -4195,18 +4123,6 @@ export namespace Prisma {
4195
4123
  * Count returned Users
4196
4124
  **/
4197
4125
  _count?: true | UserCountAggregateInputType
4198
- /**
4199
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
4200
- *
4201
- * Select which fields to average
4202
- **/
4203
- _avg?: UserAvgAggregateInputType
4204
- /**
4205
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
4206
- *
4207
- * Select which fields to sum
4208
- **/
4209
- _sum?: UserSumAggregateInputType
4210
4126
  /**
4211
4127
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
4212
4128
  *
@@ -4240,20 +4156,16 @@ export namespace Prisma {
4240
4156
  take?: number
4241
4157
  skip?: number
4242
4158
  _count?: UserCountAggregateInputType | true
4243
- _avg?: UserAvgAggregateInputType
4244
- _sum?: UserSumAggregateInputType
4245
4159
  _min?: UserMinAggregateInputType
4246
4160
  _max?: UserMaxAggregateInputType
4247
4161
  }
4248
4162
 
4249
4163
 
4250
4164
  export type UserGroupByOutputType = {
4251
- id: number
4165
+ id: string
4252
4166
  email: string
4253
4167
  name: string
4254
4168
  _count: UserCountAggregateOutputType | null
4255
- _avg: UserAvgAggregateOutputType | null
4256
- _sum: UserSumAggregateOutputType | null
4257
4169
  _min: UserMinAggregateOutputType | null
4258
4170
  _max: UserMaxAggregateOutputType | null
4259
4171
  }
@@ -5065,29 +4977,19 @@ export namespace Prisma {
5065
4977
 
5066
4978
  export type AggregateTeacher = {
5067
4979
  _count: TeacherCountAggregateOutputType | null
5068
- _avg: TeacherAvgAggregateOutputType | null
5069
- _sum: TeacherSumAggregateOutputType | null
5070
4980
  _min: TeacherMinAggregateOutputType | null
5071
4981
  _max: TeacherMaxAggregateOutputType | null
5072
4982
  }
5073
4983
 
5074
- export type TeacherAvgAggregateOutputType = {
5075
- id: number | null
5076
- }
5077
-
5078
- export type TeacherSumAggregateOutputType = {
5079
- id: number | null
5080
- }
5081
-
5082
4984
  export type TeacherMinAggregateOutputType = {
5083
- id: number | null
4985
+ id: string | null
5084
4986
  email: string | null
5085
4987
  name: string | null
5086
4988
  password: string | null
5087
4989
  }
5088
4990
 
5089
4991
  export type TeacherMaxAggregateOutputType = {
5090
- id: number | null
4992
+ id: string | null
5091
4993
  email: string | null
5092
4994
  name: string | null
5093
4995
  password: string | null
@@ -5102,14 +5004,6 @@ export namespace Prisma {
5102
5004
  }
5103
5005
 
5104
5006
 
5105
- export type TeacherAvgAggregateInputType = {
5106
- id?: true
5107
- }
5108
-
5109
- export type TeacherSumAggregateInputType = {
5110
- id?: true
5111
- }
5112
-
5113
5007
  export type TeacherMinAggregateInputType = {
5114
5008
  id?: true
5115
5009
  email?: true
@@ -5172,18 +5066,6 @@ export namespace Prisma {
5172
5066
  * Count returned Teachers
5173
5067
  **/
5174
5068
  _count?: true | TeacherCountAggregateInputType
5175
- /**
5176
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
5177
- *
5178
- * Select which fields to average
5179
- **/
5180
- _avg?: TeacherAvgAggregateInputType
5181
- /**
5182
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
5183
- *
5184
- * Select which fields to sum
5185
- **/
5186
- _sum?: TeacherSumAggregateInputType
5187
5069
  /**
5188
5070
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
5189
5071
  *
@@ -5217,21 +5099,17 @@ export namespace Prisma {
5217
5099
  take?: number
5218
5100
  skip?: number
5219
5101
  _count?: TeacherCountAggregateInputType | true
5220
- _avg?: TeacherAvgAggregateInputType
5221
- _sum?: TeacherSumAggregateInputType
5222
5102
  _min?: TeacherMinAggregateInputType
5223
5103
  _max?: TeacherMaxAggregateInputType
5224
5104
  }
5225
5105
 
5226
5106
 
5227
5107
  export type TeacherGroupByOutputType = {
5228
- id: number
5108
+ id: string
5229
5109
  email: string
5230
5110
  name: string
5231
5111
  password: string
5232
5112
  _count: TeacherCountAggregateOutputType | null
5233
- _avg: TeacherAvgAggregateOutputType | null
5234
- _sum: TeacherSumAggregateOutputType | null
5235
5113
  _min: TeacherMinAggregateOutputType | null
5236
5114
  _max: TeacherMaxAggregateOutputType | null
5237
5115
  }
@@ -6020,28 +5898,18 @@ export namespace Prisma {
6020
5898
 
6021
5899
  export type AggregateGoogleUser = {
6022
5900
  _count: GoogleUserCountAggregateOutputType | null
6023
- _avg: GoogleUserAvgAggregateOutputType | null
6024
- _sum: GoogleUserSumAggregateOutputType | null
6025
5901
  _min: GoogleUserMinAggregateOutputType | null
6026
5902
  _max: GoogleUserMaxAggregateOutputType | null
6027
5903
  }
6028
5904
 
6029
- export type GoogleUserAvgAggregateOutputType = {
6030
- userId: number | null
6031
- }
6032
-
6033
- export type GoogleUserSumAggregateOutputType = {
6034
- userId: number | null
6035
- }
6036
-
6037
5905
  export type GoogleUserMinAggregateOutputType = {
6038
5906
  id: string | null
6039
- userId: number | null
5907
+ userId: string | null
6040
5908
  }
6041
5909
 
6042
5910
  export type GoogleUserMaxAggregateOutputType = {
6043
5911
  id: string | null
6044
- userId: number | null
5912
+ userId: string | null
6045
5913
  }
6046
5914
 
6047
5915
  export type GoogleUserCountAggregateOutputType = {
@@ -6051,14 +5919,6 @@ export namespace Prisma {
6051
5919
  }
6052
5920
 
6053
5921
 
6054
- export type GoogleUserAvgAggregateInputType = {
6055
- userId?: true
6056
- }
6057
-
6058
- export type GoogleUserSumAggregateInputType = {
6059
- userId?: true
6060
- }
6061
-
6062
5922
  export type GoogleUserMinAggregateInputType = {
6063
5923
  id?: true
6064
5924
  userId?: true
@@ -6115,18 +5975,6 @@ export namespace Prisma {
6115
5975
  * Count returned GoogleUsers
6116
5976
  **/
6117
5977
  _count?: true | GoogleUserCountAggregateInputType
6118
- /**
6119
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
6120
- *
6121
- * Select which fields to average
6122
- **/
6123
- _avg?: GoogleUserAvgAggregateInputType
6124
- /**
6125
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
6126
- *
6127
- * Select which fields to sum
6128
- **/
6129
- _sum?: GoogleUserSumAggregateInputType
6130
5978
  /**
6131
5979
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
6132
5980
  *
@@ -6160,8 +6008,6 @@ export namespace Prisma {
6160
6008
  take?: number
6161
6009
  skip?: number
6162
6010
  _count?: GoogleUserCountAggregateInputType | true
6163
- _avg?: GoogleUserAvgAggregateInputType
6164
- _sum?: GoogleUserSumAggregateInputType
6165
6011
  _min?: GoogleUserMinAggregateInputType
6166
6012
  _max?: GoogleUserMaxAggregateInputType
6167
6013
  }
@@ -6169,10 +6015,8 @@ export namespace Prisma {
6169
6015
 
6170
6016
  export type GoogleUserGroupByOutputType = {
6171
6017
  id: string
6172
- userId: number
6018
+ userId: string
6173
6019
  _count: GoogleUserCountAggregateOutputType | null
6174
- _avg: GoogleUserAvgAggregateOutputType | null
6175
- _sum: GoogleUserSumAggregateOutputType | null
6176
6020
  _min: GoogleUserMinAggregateOutputType | null
6177
6021
  _max: GoogleUserMaxAggregateOutputType | null
6178
6022
  }
@@ -6955,36 +6799,22 @@ export namespace Prisma {
6955
6799
 
6956
6800
  export type AggregateAnswer = {
6957
6801
  _count: AnswerCountAggregateOutputType | null
6958
- _avg: AnswerAvgAggregateOutputType | null
6959
- _sum: AnswerSumAggregateOutputType | null
6960
6802
  _min: AnswerMinAggregateOutputType | null
6961
6803
  _max: AnswerMaxAggregateOutputType | null
6962
6804
  }
6963
6805
 
6964
- export type AnswerAvgAggregateOutputType = {
6965
- id: number | null
6966
- userId: number | null
6967
- cardId: number | null
6968
- }
6969
-
6970
- export type AnswerSumAggregateOutputType = {
6971
- id: number | null
6972
- userId: number | null
6973
- cardId: number | null
6974
- }
6975
-
6976
6806
  export type AnswerMinAggregateOutputType = {
6977
- id: number | null
6978
- userId: number | null
6979
- cardId: number | null
6807
+ id: string | null
6808
+ userId: string | null
6809
+ cardId: string | null
6980
6810
  status: string | null
6981
6811
  timestamp: string | null
6982
6812
  }
6983
6813
 
6984
6814
  export type AnswerMaxAggregateOutputType = {
6985
- id: number | null
6986
- userId: number | null
6987
- cardId: number | null
6815
+ id: string | null
6816
+ userId: string | null
6817
+ cardId: string | null
6988
6818
  status: string | null
6989
6819
  timestamp: string | null
6990
6820
  }
@@ -6999,18 +6829,6 @@ export namespace Prisma {
6999
6829
  }
7000
6830
 
7001
6831
 
7002
- export type AnswerAvgAggregateInputType = {
7003
- id?: true
7004
- userId?: true
7005
- cardId?: true
7006
- }
7007
-
7008
- export type AnswerSumAggregateInputType = {
7009
- id?: true
7010
- userId?: true
7011
- cardId?: true
7012
- }
7013
-
7014
6832
  export type AnswerMinAggregateInputType = {
7015
6833
  id?: true
7016
6834
  userId?: true
@@ -7076,18 +6894,6 @@ export namespace Prisma {
7076
6894
  * Count returned Answers
7077
6895
  **/
7078
6896
  _count?: true | AnswerCountAggregateInputType
7079
- /**
7080
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
7081
- *
7082
- * Select which fields to average
7083
- **/
7084
- _avg?: AnswerAvgAggregateInputType
7085
- /**
7086
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
7087
- *
7088
- * Select which fields to sum
7089
- **/
7090
- _sum?: AnswerSumAggregateInputType
7091
6897
  /**
7092
6898
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
7093
6899
  *
@@ -7121,22 +6927,18 @@ export namespace Prisma {
7121
6927
  take?: number
7122
6928
  skip?: number
7123
6929
  _count?: AnswerCountAggregateInputType | true
7124
- _avg?: AnswerAvgAggregateInputType
7125
- _sum?: AnswerSumAggregateInputType
7126
6930
  _min?: AnswerMinAggregateInputType
7127
6931
  _max?: AnswerMaxAggregateInputType
7128
6932
  }
7129
6933
 
7130
6934
 
7131
6935
  export type AnswerGroupByOutputType = {
7132
- id: number
7133
- userId: number
7134
- cardId: number
6936
+ id: string
6937
+ userId: string
6938
+ cardId: string
7135
6939
  status: string
7136
6940
  timestamp: string
7137
6941
  _count: AnswerCountAggregateOutputType | null
7138
- _avg: AnswerAvgAggregateOutputType | null
7139
- _sum: AnswerSumAggregateOutputType | null
7140
6942
  _min: AnswerMinAggregateOutputType | null
7141
6943
  _max: AnswerMaxAggregateOutputType | null
7142
6944
  }
@@ -7922,35 +7724,21 @@ export namespace Prisma {
7922
7724
 
7923
7725
  export type AggregatePurchase = {
7924
7726
  _count: PurchaseCountAggregateOutputType | null
7925
- _avg: PurchaseAvgAggregateOutputType | null
7926
- _sum: PurchaseSumAggregateOutputType | null
7927
7727
  _min: PurchaseMinAggregateOutputType | null
7928
7728
  _max: PurchaseMaxAggregateOutputType | null
7929
7729
  }
7930
7730
 
7931
- export type PurchaseAvgAggregateOutputType = {
7932
- id: number | null
7933
- userId: number | null
7934
- packId: number | null
7935
- }
7936
-
7937
- export type PurchaseSumAggregateOutputType = {
7938
- id: number | null
7939
- userId: number | null
7940
- packId: number | null
7941
- }
7942
-
7943
7731
  export type PurchaseMinAggregateOutputType = {
7944
- id: number | null
7945
- userId: number | null
7946
- packId: number | null
7732
+ id: string | null
7733
+ userId: string | null
7734
+ packId: string | null
7947
7735
  price: string | null
7948
7736
  }
7949
7737
 
7950
7738
  export type PurchaseMaxAggregateOutputType = {
7951
- id: number | null
7952
- userId: number | null
7953
- packId: number | null
7739
+ id: string | null
7740
+ userId: string | null
7741
+ packId: string | null
7954
7742
  price: string | null
7955
7743
  }
7956
7744
 
@@ -7963,18 +7751,6 @@ export namespace Prisma {
7963
7751
  }
7964
7752
 
7965
7753
 
7966
- export type PurchaseAvgAggregateInputType = {
7967
- id?: true
7968
- userId?: true
7969
- packId?: true
7970
- }
7971
-
7972
- export type PurchaseSumAggregateInputType = {
7973
- id?: true
7974
- userId?: true
7975
- packId?: true
7976
- }
7977
-
7978
7754
  export type PurchaseMinAggregateInputType = {
7979
7755
  id?: true
7980
7756
  userId?: true
@@ -8037,18 +7813,6 @@ export namespace Prisma {
8037
7813
  * Count returned Purchases
8038
7814
  **/
8039
7815
  _count?: true | PurchaseCountAggregateInputType
8040
- /**
8041
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
8042
- *
8043
- * Select which fields to average
8044
- **/
8045
- _avg?: PurchaseAvgAggregateInputType
8046
- /**
8047
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
8048
- *
8049
- * Select which fields to sum
8050
- **/
8051
- _sum?: PurchaseSumAggregateInputType
8052
7816
  /**
8053
7817
  * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
8054
7818
  *
@@ -8082,21 +7846,17 @@ export namespace Prisma {
8082
7846
  take?: number
8083
7847
  skip?: number
8084
7848
  _count?: PurchaseCountAggregateInputType | true
8085
- _avg?: PurchaseAvgAggregateInputType
8086
- _sum?: PurchaseSumAggregateInputType
8087
7849
  _min?: PurchaseMinAggregateInputType
8088
7850
  _max?: PurchaseMaxAggregateInputType
8089
7851
  }
8090
7852
 
8091
7853
 
8092
7854
  export type PurchaseGroupByOutputType = {
8093
- id: number
8094
- userId: number
8095
- packId: number
7855
+ id: string
7856
+ userId: string
7857
+ packId: string
8096
7858
  price: string
8097
7859
  _count: PurchaseCountAggregateOutputType | null
8098
- _avg: PurchaseAvgAggregateOutputType | null
8099
- _sum: PurchaseSumAggregateOutputType | null
8100
7860
  _min: PurchaseMinAggregateOutputType | null
8101
7861
  _max: PurchaseMaxAggregateOutputType | null
8102
7862
  }
@@ -9001,9 +8761,9 @@ export namespace Prisma {
9001
8761
  AND?: Enumerable<CardWhereInput>
9002
8762
  OR?: Enumerable<CardWhereInput>
9003
8763
  NOT?: Enumerable<CardWhereInput>
9004
- id?: IntFilter | number
8764
+ id?: StringFilter | string
9005
8765
  pack?: XOR<PackRelationFilter, PackWhereInput>
9006
- packId?: IntFilter | number
8766
+ packId?: StringFilter | string
9007
8767
  front?: StringFilter | string
9008
8768
  back?: StringFilter | string
9009
8769
  userCards?: UserCardListRelationFilter
@@ -9019,7 +8779,9 @@ export namespace Prisma {
9019
8779
  }
9020
8780
 
9021
8781
  export type CardWhereUniqueInput = {
9022
- id?: number
8782
+ id?: string
8783
+ packId_front?: CardPackIdFrontCompoundUniqueInput
8784
+ packId_back?: CardPackIdBackCompoundUniqueInput
9023
8785
  }
9024
8786
 
9025
8787
  export type CardOrderByWithAggregationInput = {
@@ -9028,18 +8790,16 @@ export namespace Prisma {
9028
8790
  front?: SortOrder
9029
8791
  back?: SortOrder
9030
8792
  _count?: CardCountOrderByAggregateInput
9031
- _avg?: CardAvgOrderByAggregateInput
9032
8793
  _max?: CardMaxOrderByAggregateInput
9033
8794
  _min?: CardMinOrderByAggregateInput
9034
- _sum?: CardSumOrderByAggregateInput
9035
8795
  }
9036
8796
 
9037
8797
  export type CardScalarWhereWithAggregatesInput = {
9038
8798
  AND?: Enumerable<CardScalarWhereWithAggregatesInput>
9039
8799
  OR?: Enumerable<CardScalarWhereWithAggregatesInput>
9040
8800
  NOT?: Enumerable<CardScalarWhereWithAggregatesInput>
9041
- id?: IntWithAggregatesFilter | number
9042
- packId?: IntWithAggregatesFilter | number
8801
+ id?: StringWithAggregatesFilter | string
8802
+ packId?: StringWithAggregatesFilter | string
9043
8803
  front?: StringWithAggregatesFilter | string
9044
8804
  back?: StringWithAggregatesFilter | string
9045
8805
  }
@@ -9049,9 +8809,9 @@ export namespace Prisma {
9049
8809
  OR?: Enumerable<UserCardWhereInput>
9050
8810
  NOT?: Enumerable<UserCardWhereInput>
9051
8811
  user?: XOR<UserRelationFilter, UserWhereInput>
9052
- userId?: IntFilter | number
8812
+ userId?: StringFilter | string
9053
8813
  card?: XOR<CardRelationFilter, CardWhereInput>
9054
- cardId?: IntFilter | number
8814
+ cardId?: StringFilter | string
9055
8815
  currentInterval?: IntNullableFilter | number | null
9056
8816
  dueDate?: DateTimeNullableFilter | Date | string | null
9057
8817
  done?: BoolFilter | boolean
@@ -9088,8 +8848,8 @@ export namespace Prisma {
9088
8848
  AND?: Enumerable<UserCardScalarWhereWithAggregatesInput>
9089
8849
  OR?: Enumerable<UserCardScalarWhereWithAggregatesInput>
9090
8850
  NOT?: Enumerable<UserCardScalarWhereWithAggregatesInput>
9091
- userId?: IntWithAggregatesFilter | number
9092
- cardId?: IntWithAggregatesFilter | number
8851
+ userId?: StringWithAggregatesFilter | string
8852
+ cardId?: StringWithAggregatesFilter | string
9093
8853
  currentInterval?: IntNullableWithAggregatesFilter | number | null
9094
8854
  dueDate?: DateTimeNullableWithAggregatesFilter | Date | string | null
9095
8855
  done?: BoolWithAggregatesFilter | boolean
@@ -9099,9 +8859,9 @@ export namespace Prisma {
9099
8859
  AND?: Enumerable<PackWhereInput>
9100
8860
  OR?: Enumerable<PackWhereInput>
9101
8861
  NOT?: Enumerable<PackWhereInput>
9102
- id?: IntFilter | number
8862
+ id?: StringFilter | string
9103
8863
  teacher?: XOR<TeacherRelationFilter, TeacherWhereInput>
9104
- teacherId?: IntFilter | number
8864
+ teacherId?: StringFilter | string
9105
8865
  name?: StringFilter | string
9106
8866
  cards?: CardListRelationFilter
9107
8867
  users?: UserListRelationFilter
@@ -9121,7 +8881,7 @@ export namespace Prisma {
9121
8881
  }
9122
8882
 
9123
8883
  export type PackWhereUniqueInput = {
9124
- id?: number
8884
+ id?: string
9125
8885
  }
9126
8886
 
9127
8887
  export type PackOrderByWithAggregationInput = {
@@ -9140,8 +8900,8 @@ export namespace Prisma {
9140
8900
  AND?: Enumerable<PackScalarWhereWithAggregatesInput>
9141
8901
  OR?: Enumerable<PackScalarWhereWithAggregatesInput>
9142
8902
  NOT?: Enumerable<PackScalarWhereWithAggregatesInput>
9143
- id?: IntWithAggregatesFilter | number
9144
- teacherId?: IntWithAggregatesFilter | number
8903
+ id?: StringWithAggregatesFilter | string
8904
+ teacherId?: StringWithAggregatesFilter | string
9145
8905
  name?: StringWithAggregatesFilter | string
9146
8906
  currentPrice?: DecimalWithAggregatesFilter | Decimal | DecimalJsLike | number | string
9147
8907
  }
@@ -9150,7 +8910,7 @@ export namespace Prisma {
9150
8910
  AND?: Enumerable<UserWhereInput>
9151
8911
  OR?: Enumerable<UserWhereInput>
9152
8912
  NOT?: Enumerable<UserWhereInput>
9153
- id?: IntFilter | number
8913
+ id?: StringFilter | string
9154
8914
  email?: StringFilter | string
9155
8915
  name?: StringFilter | string
9156
8916
  googleUser?: XOR<GoogleUserRelationFilter, GoogleUserWhereInput> | null
@@ -9172,7 +8932,7 @@ export namespace Prisma {
9172
8932
  }
9173
8933
 
9174
8934
  export type UserWhereUniqueInput = {
9175
- id?: number
8935
+ id?: string
9176
8936
  email?: string
9177
8937
  }
9178
8938
 
@@ -9181,17 +8941,15 @@ export namespace Prisma {
9181
8941
  email?: SortOrder
9182
8942
  name?: SortOrder
9183
8943
  _count?: UserCountOrderByAggregateInput
9184
- _avg?: UserAvgOrderByAggregateInput
9185
8944
  _max?: UserMaxOrderByAggregateInput
9186
8945
  _min?: UserMinOrderByAggregateInput
9187
- _sum?: UserSumOrderByAggregateInput
9188
8946
  }
9189
8947
 
9190
8948
  export type UserScalarWhereWithAggregatesInput = {
9191
8949
  AND?: Enumerable<UserScalarWhereWithAggregatesInput>
9192
8950
  OR?: Enumerable<UserScalarWhereWithAggregatesInput>
9193
8951
  NOT?: Enumerable<UserScalarWhereWithAggregatesInput>
9194
- id?: IntWithAggregatesFilter | number
8952
+ id?: StringWithAggregatesFilter | string
9195
8953
  email?: StringWithAggregatesFilter | string
9196
8954
  name?: StringWithAggregatesFilter | string
9197
8955
  }
@@ -9200,7 +8958,7 @@ export namespace Prisma {
9200
8958
  AND?: Enumerable<TeacherWhereInput>
9201
8959
  OR?: Enumerable<TeacherWhereInput>
9202
8960
  NOT?: Enumerable<TeacherWhereInput>
9203
- id?: IntFilter | number
8961
+ id?: StringFilter | string
9204
8962
  email?: StringFilter | string
9205
8963
  name?: StringFilter | string
9206
8964
  password?: StringFilter | string
@@ -9216,7 +8974,7 @@ export namespace Prisma {
9216
8974
  }
9217
8975
 
9218
8976
  export type TeacherWhereUniqueInput = {
9219
- id?: number
8977
+ id?: string
9220
8978
  email?: string
9221
8979
  }
9222
8980
 
@@ -9226,17 +8984,15 @@ export namespace Prisma {
9226
8984
  name?: SortOrder
9227
8985
  password?: SortOrder
9228
8986
  _count?: TeacherCountOrderByAggregateInput
9229
- _avg?: TeacherAvgOrderByAggregateInput
9230
8987
  _max?: TeacherMaxOrderByAggregateInput
9231
8988
  _min?: TeacherMinOrderByAggregateInput
9232
- _sum?: TeacherSumOrderByAggregateInput
9233
8989
  }
9234
8990
 
9235
8991
  export type TeacherScalarWhereWithAggregatesInput = {
9236
8992
  AND?: Enumerable<TeacherScalarWhereWithAggregatesInput>
9237
8993
  OR?: Enumerable<TeacherScalarWhereWithAggregatesInput>
9238
8994
  NOT?: Enumerable<TeacherScalarWhereWithAggregatesInput>
9239
- id?: IntWithAggregatesFilter | number
8995
+ id?: StringWithAggregatesFilter | string
9240
8996
  email?: StringWithAggregatesFilter | string
9241
8997
  name?: StringWithAggregatesFilter | string
9242
8998
  password?: StringWithAggregatesFilter | string
@@ -9248,7 +9004,7 @@ export namespace Prisma {
9248
9004
  NOT?: Enumerable<GoogleUserWhereInput>
9249
9005
  id?: StringFilter | string
9250
9006
  user?: XOR<UserRelationFilter, UserWhereInput>
9251
- userId?: IntFilter | number
9007
+ userId?: StringFilter | string
9252
9008
  }
9253
9009
 
9254
9010
  export type GoogleUserOrderByWithRelationInput = {
@@ -9259,17 +9015,15 @@ export namespace Prisma {
9259
9015
 
9260
9016
  export type GoogleUserWhereUniqueInput = {
9261
9017
  id?: string
9262
- userId?: number
9018
+ userId?: string
9263
9019
  }
9264
9020
 
9265
9021
  export type GoogleUserOrderByWithAggregationInput = {
9266
9022
  id?: SortOrder
9267
9023
  userId?: SortOrder
9268
9024
  _count?: GoogleUserCountOrderByAggregateInput
9269
- _avg?: GoogleUserAvgOrderByAggregateInput
9270
9025
  _max?: GoogleUserMaxOrderByAggregateInput
9271
9026
  _min?: GoogleUserMinOrderByAggregateInput
9272
- _sum?: GoogleUserSumOrderByAggregateInput
9273
9027
  }
9274
9028
 
9275
9029
  export type GoogleUserScalarWhereWithAggregatesInput = {
@@ -9277,17 +9031,17 @@ export namespace Prisma {
9277
9031
  OR?: Enumerable<GoogleUserScalarWhereWithAggregatesInput>
9278
9032
  NOT?: Enumerable<GoogleUserScalarWhereWithAggregatesInput>
9279
9033
  id?: StringWithAggregatesFilter | string
9280
- userId?: IntWithAggregatesFilter | number
9034
+ userId?: StringWithAggregatesFilter | string
9281
9035
  }
9282
9036
 
9283
9037
  export type AnswerWhereInput = {
9284
9038
  AND?: Enumerable<AnswerWhereInput>
9285
9039
  OR?: Enumerable<AnswerWhereInput>
9286
9040
  NOT?: Enumerable<AnswerWhereInput>
9287
- id?: IntFilter | number
9041
+ id?: StringFilter | string
9288
9042
  user?: XOR<UserRelationFilter, UserWhereInput>
9289
- userId?: IntFilter | number
9290
- cardId?: IntFilter | number
9043
+ userId?: StringFilter | string
9044
+ cardId?: StringFilter | string
9291
9045
  status?: StringFilter | string
9292
9046
  timestamp?: StringFilter | string
9293
9047
  }
@@ -9302,7 +9056,7 @@ export namespace Prisma {
9302
9056
  }
9303
9057
 
9304
9058
  export type AnswerWhereUniqueInput = {
9305
- id?: number
9059
+ id?: string
9306
9060
  }
9307
9061
 
9308
9062
  export type AnswerOrderByWithAggregationInput = {
@@ -9312,19 +9066,17 @@ export namespace Prisma {
9312
9066
  status?: SortOrder
9313
9067
  timestamp?: SortOrder
9314
9068
  _count?: AnswerCountOrderByAggregateInput
9315
- _avg?: AnswerAvgOrderByAggregateInput
9316
9069
  _max?: AnswerMaxOrderByAggregateInput
9317
9070
  _min?: AnswerMinOrderByAggregateInput
9318
- _sum?: AnswerSumOrderByAggregateInput
9319
9071
  }
9320
9072
 
9321
9073
  export type AnswerScalarWhereWithAggregatesInput = {
9322
9074
  AND?: Enumerable<AnswerScalarWhereWithAggregatesInput>
9323
9075
  OR?: Enumerable<AnswerScalarWhereWithAggregatesInput>
9324
9076
  NOT?: Enumerable<AnswerScalarWhereWithAggregatesInput>
9325
- id?: IntWithAggregatesFilter | number
9326
- userId?: IntWithAggregatesFilter | number
9327
- cardId?: IntWithAggregatesFilter | number
9077
+ id?: StringWithAggregatesFilter | string
9078
+ userId?: StringWithAggregatesFilter | string
9079
+ cardId?: StringWithAggregatesFilter | string
9328
9080
  status?: StringWithAggregatesFilter | string
9329
9081
  timestamp?: StringWithAggregatesFilter | string
9330
9082
  }
@@ -9333,11 +9085,11 @@ export namespace Prisma {
9333
9085
  AND?: Enumerable<PurchaseWhereInput>
9334
9086
  OR?: Enumerable<PurchaseWhereInput>
9335
9087
  NOT?: Enumerable<PurchaseWhereInput>
9336
- id?: IntFilter | number
9088
+ id?: StringFilter | string
9337
9089
  user?: XOR<UserRelationFilter, UserWhereInput>
9338
- userId?: IntFilter | number
9090
+ userId?: StringFilter | string
9339
9091
  pack?: XOR<PackRelationFilter, PackWhereInput>
9340
- packId?: IntFilter | number
9092
+ packId?: StringFilter | string
9341
9093
  price?: StringFilter | string
9342
9094
  }
9343
9095
 
@@ -9351,7 +9103,7 @@ export namespace Prisma {
9351
9103
  }
9352
9104
 
9353
9105
  export type PurchaseWhereUniqueInput = {
9354
- id?: number
9106
+ id?: string
9355
9107
  }
9356
9108
 
9357
9109
  export type PurchaseOrderByWithAggregationInput = {
@@ -9360,23 +9112,22 @@ export namespace Prisma {
9360
9112
  packId?: SortOrder
9361
9113
  price?: SortOrder
9362
9114
  _count?: PurchaseCountOrderByAggregateInput
9363
- _avg?: PurchaseAvgOrderByAggregateInput
9364
9115
  _max?: PurchaseMaxOrderByAggregateInput
9365
9116
  _min?: PurchaseMinOrderByAggregateInput
9366
- _sum?: PurchaseSumOrderByAggregateInput
9367
9117
  }
9368
9118
 
9369
9119
  export type PurchaseScalarWhereWithAggregatesInput = {
9370
9120
  AND?: Enumerable<PurchaseScalarWhereWithAggregatesInput>
9371
9121
  OR?: Enumerable<PurchaseScalarWhereWithAggregatesInput>
9372
9122
  NOT?: Enumerable<PurchaseScalarWhereWithAggregatesInput>
9373
- id?: IntWithAggregatesFilter | number
9374
- userId?: IntWithAggregatesFilter | number
9375
- packId?: IntWithAggregatesFilter | number
9123
+ id?: StringWithAggregatesFilter | string
9124
+ userId?: StringWithAggregatesFilter | string
9125
+ packId?: StringWithAggregatesFilter | string
9376
9126
  price?: StringWithAggregatesFilter | string
9377
9127
  }
9378
9128
 
9379
9129
  export type CardCreateInput = {
9130
+ id?: string
9380
9131
  pack: PackCreateNestedOneWithoutCardsInput
9381
9132
  front: string
9382
9133
  back: string
@@ -9384,14 +9135,15 @@ export namespace Prisma {
9384
9135
  }
9385
9136
 
9386
9137
  export type CardUncheckedCreateInput = {
9387
- id?: number
9388
- packId: number
9138
+ id?: string
9139
+ packId: string
9389
9140
  front: string
9390
9141
  back: string
9391
9142
  userCards?: UserCardUncheckedCreateNestedManyWithoutCardInput
9392
9143
  }
9393
9144
 
9394
9145
  export type CardUpdateInput = {
9146
+ id?: StringFieldUpdateOperationsInput | string
9395
9147
  pack?: PackUpdateOneRequiredWithoutCardsNestedInput
9396
9148
  front?: StringFieldUpdateOperationsInput | string
9397
9149
  back?: StringFieldUpdateOperationsInput | string
@@ -9399,28 +9151,29 @@ export namespace Prisma {
9399
9151
  }
9400
9152
 
9401
9153
  export type CardUncheckedUpdateInput = {
9402
- id?: IntFieldUpdateOperationsInput | number
9403
- packId?: IntFieldUpdateOperationsInput | number
9154
+ id?: StringFieldUpdateOperationsInput | string
9155
+ packId?: StringFieldUpdateOperationsInput | string
9404
9156
  front?: StringFieldUpdateOperationsInput | string
9405
9157
  back?: StringFieldUpdateOperationsInput | string
9406
9158
  userCards?: UserCardUncheckedUpdateManyWithoutCardNestedInput
9407
9159
  }
9408
9160
 
9409
9161
  export type CardCreateManyInput = {
9410
- id?: number
9411
- packId: number
9162
+ id?: string
9163
+ packId: string
9412
9164
  front: string
9413
9165
  back: string
9414
9166
  }
9415
9167
 
9416
9168
  export type CardUpdateManyMutationInput = {
9169
+ id?: StringFieldUpdateOperationsInput | string
9417
9170
  front?: StringFieldUpdateOperationsInput | string
9418
9171
  back?: StringFieldUpdateOperationsInput | string
9419
9172
  }
9420
9173
 
9421
9174
  export type CardUncheckedUpdateManyInput = {
9422
- id?: IntFieldUpdateOperationsInput | number
9423
- packId?: IntFieldUpdateOperationsInput | number
9175
+ id?: StringFieldUpdateOperationsInput | string
9176
+ packId?: StringFieldUpdateOperationsInput | string
9424
9177
  front?: StringFieldUpdateOperationsInput | string
9425
9178
  back?: StringFieldUpdateOperationsInput | string
9426
9179
  }
@@ -9434,8 +9187,8 @@ export namespace Prisma {
9434
9187
  }
9435
9188
 
9436
9189
  export type UserCardUncheckedCreateInput = {
9437
- userId: number
9438
- cardId: number
9190
+ userId: string
9191
+ cardId: string
9439
9192
  currentInterval?: number | null
9440
9193
  dueDate?: Date | string | null
9441
9194
  done: boolean
@@ -9450,16 +9203,16 @@ export namespace Prisma {
9450
9203
  }
9451
9204
 
9452
9205
  export type UserCardUncheckedUpdateInput = {
9453
- userId?: IntFieldUpdateOperationsInput | number
9454
- cardId?: IntFieldUpdateOperationsInput | number
9206
+ userId?: StringFieldUpdateOperationsInput | string
9207
+ cardId?: StringFieldUpdateOperationsInput | string
9455
9208
  currentInterval?: NullableIntFieldUpdateOperationsInput | number | null
9456
9209
  dueDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
9457
9210
  done?: BoolFieldUpdateOperationsInput | boolean
9458
9211
  }
9459
9212
 
9460
9213
  export type UserCardCreateManyInput = {
9461
- userId: number
9462
- cardId: number
9214
+ userId: string
9215
+ cardId: string
9463
9216
  currentInterval?: number | null
9464
9217
  dueDate?: Date | string | null
9465
9218
  done: boolean
@@ -9472,14 +9225,15 @@ export namespace Prisma {
9472
9225
  }
9473
9226
 
9474
9227
  export type UserCardUncheckedUpdateManyInput = {
9475
- userId?: IntFieldUpdateOperationsInput | number
9476
- cardId?: IntFieldUpdateOperationsInput | number
9228
+ userId?: StringFieldUpdateOperationsInput | string
9229
+ cardId?: StringFieldUpdateOperationsInput | string
9477
9230
  currentInterval?: NullableIntFieldUpdateOperationsInput | number | null
9478
9231
  dueDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
9479
9232
  done?: BoolFieldUpdateOperationsInput | boolean
9480
9233
  }
9481
9234
 
9482
9235
  export type PackCreateInput = {
9236
+ id?: string
9483
9237
  teacher: TeacherCreateNestedOneWithoutPacksInput
9484
9238
  name: string
9485
9239
  cards?: CardCreateNestedManyWithoutPackInput
@@ -9489,8 +9243,8 @@ export namespace Prisma {
9489
9243
  }
9490
9244
 
9491
9245
  export type PackUncheckedCreateInput = {
9492
- id?: number
9493
- teacherId: number
9246
+ id?: string
9247
+ teacherId: string
9494
9248
  name: string
9495
9249
  cards?: CardUncheckedCreateNestedManyWithoutPackInput
9496
9250
  users?: UserUncheckedCreateNestedManyWithoutPacksInput
@@ -9499,6 +9253,7 @@ export namespace Prisma {
9499
9253
  }
9500
9254
 
9501
9255
  export type PackUpdateInput = {
9256
+ id?: StringFieldUpdateOperationsInput | string
9502
9257
  teacher?: TeacherUpdateOneRequiredWithoutPacksNestedInput
9503
9258
  name?: StringFieldUpdateOperationsInput | string
9504
9259
  cards?: CardUpdateManyWithoutPackNestedInput
@@ -9508,8 +9263,8 @@ export namespace Prisma {
9508
9263
  }
9509
9264
 
9510
9265
  export type PackUncheckedUpdateInput = {
9511
- id?: IntFieldUpdateOperationsInput | number
9512
- teacherId?: IntFieldUpdateOperationsInput | number
9266
+ id?: StringFieldUpdateOperationsInput | string
9267
+ teacherId?: StringFieldUpdateOperationsInput | string
9513
9268
  name?: StringFieldUpdateOperationsInput | string
9514
9269
  cards?: CardUncheckedUpdateManyWithoutPackNestedInput
9515
9270
  users?: UserUncheckedUpdateManyWithoutPacksNestedInput
@@ -9518,25 +9273,27 @@ export namespace Prisma {
9518
9273
  }
9519
9274
 
9520
9275
  export type PackCreateManyInput = {
9521
- id?: number
9522
- teacherId: number
9276
+ id?: string
9277
+ teacherId: string
9523
9278
  name: string
9524
9279
  currentPrice: Decimal | DecimalJsLike | number | string
9525
9280
  }
9526
9281
 
9527
9282
  export type PackUpdateManyMutationInput = {
9283
+ id?: StringFieldUpdateOperationsInput | string
9528
9284
  name?: StringFieldUpdateOperationsInput | string
9529
9285
  currentPrice?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
9530
9286
  }
9531
9287
 
9532
9288
  export type PackUncheckedUpdateManyInput = {
9533
- id?: IntFieldUpdateOperationsInput | number
9534
- teacherId?: IntFieldUpdateOperationsInput | number
9289
+ id?: StringFieldUpdateOperationsInput | string
9290
+ teacherId?: StringFieldUpdateOperationsInput | string
9535
9291
  name?: StringFieldUpdateOperationsInput | string
9536
9292
  currentPrice?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
9537
9293
  }
9538
9294
 
9539
9295
  export type UserCreateInput = {
9296
+ id?: string
9540
9297
  email: string
9541
9298
  name: string
9542
9299
  googleUser?: GoogleUserCreateNestedOneWithoutUserInput
@@ -9547,7 +9304,7 @@ export namespace Prisma {
9547
9304
  }
9548
9305
 
9549
9306
  export type UserUncheckedCreateInput = {
9550
- id?: number
9307
+ id?: string
9551
9308
  email: string
9552
9309
  name: string
9553
9310
  googleUser?: GoogleUserUncheckedCreateNestedOneWithoutUserInput
@@ -9558,6 +9315,7 @@ export namespace Prisma {
9558
9315
  }
9559
9316
 
9560
9317
  export type UserUpdateInput = {
9318
+ id?: StringFieldUpdateOperationsInput | string
9561
9319
  email?: StringFieldUpdateOperationsInput | string
9562
9320
  name?: StringFieldUpdateOperationsInput | string
9563
9321
  googleUser?: GoogleUserUpdateOneWithoutUserNestedInput
@@ -9568,7 +9326,7 @@ export namespace Prisma {
9568
9326
  }
9569
9327
 
9570
9328
  export type UserUncheckedUpdateInput = {
9571
- id?: IntFieldUpdateOperationsInput | number
9329
+ id?: StringFieldUpdateOperationsInput | string
9572
9330
  email?: StringFieldUpdateOperationsInput | string
9573
9331
  name?: StringFieldUpdateOperationsInput | string
9574
9332
  googleUser?: GoogleUserUncheckedUpdateOneWithoutUserNestedInput
@@ -9579,23 +9337,25 @@ export namespace Prisma {
9579
9337
  }
9580
9338
 
9581
9339
  export type UserCreateManyInput = {
9582
- id?: number
9340
+ id?: string
9583
9341
  email: string
9584
9342
  name: string
9585
9343
  }
9586
9344
 
9587
9345
  export type UserUpdateManyMutationInput = {
9346
+ id?: StringFieldUpdateOperationsInput | string
9588
9347
  email?: StringFieldUpdateOperationsInput | string
9589
9348
  name?: StringFieldUpdateOperationsInput | string
9590
9349
  }
9591
9350
 
9592
9351
  export type UserUncheckedUpdateManyInput = {
9593
- id?: IntFieldUpdateOperationsInput | number
9352
+ id?: StringFieldUpdateOperationsInput | string
9594
9353
  email?: StringFieldUpdateOperationsInput | string
9595
9354
  name?: StringFieldUpdateOperationsInput | string
9596
9355
  }
9597
9356
 
9598
9357
  export type TeacherCreateInput = {
9358
+ id?: string
9599
9359
  email: string
9600
9360
  name: string
9601
9361
  password: string
@@ -9603,7 +9363,7 @@ export namespace Prisma {
9603
9363
  }
9604
9364
 
9605
9365
  export type TeacherUncheckedCreateInput = {
9606
- id?: number
9366
+ id?: string
9607
9367
  email: string
9608
9368
  name: string
9609
9369
  password: string
@@ -9611,6 +9371,7 @@ export namespace Prisma {
9611
9371
  }
9612
9372
 
9613
9373
  export type TeacherUpdateInput = {
9374
+ id?: StringFieldUpdateOperationsInput | string
9614
9375
  email?: StringFieldUpdateOperationsInput | string
9615
9376
  name?: StringFieldUpdateOperationsInput | string
9616
9377
  password?: StringFieldUpdateOperationsInput | string
@@ -9618,7 +9379,7 @@ export namespace Prisma {
9618
9379
  }
9619
9380
 
9620
9381
  export type TeacherUncheckedUpdateInput = {
9621
- id?: IntFieldUpdateOperationsInput | number
9382
+ id?: StringFieldUpdateOperationsInput | string
9622
9383
  email?: StringFieldUpdateOperationsInput | string
9623
9384
  name?: StringFieldUpdateOperationsInput | string
9624
9385
  password?: StringFieldUpdateOperationsInput | string
@@ -9626,20 +9387,21 @@ export namespace Prisma {
9626
9387
  }
9627
9388
 
9628
9389
  export type TeacherCreateManyInput = {
9629
- id?: number
9390
+ id?: string
9630
9391
  email: string
9631
9392
  name: string
9632
9393
  password: string
9633
9394
  }
9634
9395
 
9635
9396
  export type TeacherUpdateManyMutationInput = {
9397
+ id?: StringFieldUpdateOperationsInput | string
9636
9398
  email?: StringFieldUpdateOperationsInput | string
9637
9399
  name?: StringFieldUpdateOperationsInput | string
9638
9400
  password?: StringFieldUpdateOperationsInput | string
9639
9401
  }
9640
9402
 
9641
9403
  export type TeacherUncheckedUpdateManyInput = {
9642
- id?: IntFieldUpdateOperationsInput | number
9404
+ id?: StringFieldUpdateOperationsInput | string
9643
9405
  email?: StringFieldUpdateOperationsInput | string
9644
9406
  name?: StringFieldUpdateOperationsInput | string
9645
9407
  password?: StringFieldUpdateOperationsInput | string
@@ -9652,7 +9414,7 @@ export namespace Prisma {
9652
9414
 
9653
9415
  export type GoogleUserUncheckedCreateInput = {
9654
9416
  id: string
9655
- userId: number
9417
+ userId: string
9656
9418
  }
9657
9419
 
9658
9420
  export type GoogleUserUpdateInput = {
@@ -9662,12 +9424,12 @@ export namespace Prisma {
9662
9424
 
9663
9425
  export type GoogleUserUncheckedUpdateInput = {
9664
9426
  id?: StringFieldUpdateOperationsInput | string
9665
- userId?: IntFieldUpdateOperationsInput | number
9427
+ userId?: StringFieldUpdateOperationsInput | string
9666
9428
  }
9667
9429
 
9668
9430
  export type GoogleUserCreateManyInput = {
9669
9431
  id: string
9670
- userId: number
9432
+ userId: string
9671
9433
  }
9672
9434
 
9673
9435
  export type GoogleUserUpdateManyMutationInput = {
@@ -9676,121 +9438,111 @@ export namespace Prisma {
9676
9438
 
9677
9439
  export type GoogleUserUncheckedUpdateManyInput = {
9678
9440
  id?: StringFieldUpdateOperationsInput | string
9679
- userId?: IntFieldUpdateOperationsInput | number
9441
+ userId?: StringFieldUpdateOperationsInput | string
9680
9442
  }
9681
9443
 
9682
9444
  export type AnswerCreateInput = {
9445
+ id?: string
9683
9446
  user: UserCreateNestedOneWithoutAnswersInput
9684
- cardId: number
9447
+ cardId: string
9685
9448
  status: string
9686
9449
  timestamp: string
9687
9450
  }
9688
9451
 
9689
9452
  export type AnswerUncheckedCreateInput = {
9690
- id?: number
9691
- userId: number
9692
- cardId: number
9453
+ id?: string
9454
+ userId: string
9455
+ cardId: string
9693
9456
  status: string
9694
9457
  timestamp: string
9695
9458
  }
9696
9459
 
9697
9460
  export type AnswerUpdateInput = {
9461
+ id?: StringFieldUpdateOperationsInput | string
9698
9462
  user?: UserUpdateOneRequiredWithoutAnswersNestedInput
9699
- cardId?: IntFieldUpdateOperationsInput | number
9463
+ cardId?: StringFieldUpdateOperationsInput | string
9700
9464
  status?: StringFieldUpdateOperationsInput | string
9701
9465
  timestamp?: StringFieldUpdateOperationsInput | string
9702
9466
  }
9703
9467
 
9704
9468
  export type AnswerUncheckedUpdateInput = {
9705
- id?: IntFieldUpdateOperationsInput | number
9706
- userId?: IntFieldUpdateOperationsInput | number
9707
- cardId?: IntFieldUpdateOperationsInput | number
9469
+ id?: StringFieldUpdateOperationsInput | string
9470
+ userId?: StringFieldUpdateOperationsInput | string
9471
+ cardId?: StringFieldUpdateOperationsInput | string
9708
9472
  status?: StringFieldUpdateOperationsInput | string
9709
9473
  timestamp?: StringFieldUpdateOperationsInput | string
9710
9474
  }
9711
9475
 
9712
9476
  export type AnswerCreateManyInput = {
9713
- id?: number
9714
- userId: number
9715
- cardId: number
9477
+ id?: string
9478
+ userId: string
9479
+ cardId: string
9716
9480
  status: string
9717
9481
  timestamp: string
9718
9482
  }
9719
9483
 
9720
9484
  export type AnswerUpdateManyMutationInput = {
9721
- cardId?: IntFieldUpdateOperationsInput | number
9485
+ id?: StringFieldUpdateOperationsInput | string
9486
+ cardId?: StringFieldUpdateOperationsInput | string
9722
9487
  status?: StringFieldUpdateOperationsInput | string
9723
9488
  timestamp?: StringFieldUpdateOperationsInput | string
9724
9489
  }
9725
9490
 
9726
9491
  export type AnswerUncheckedUpdateManyInput = {
9727
- id?: IntFieldUpdateOperationsInput | number
9728
- userId?: IntFieldUpdateOperationsInput | number
9729
- cardId?: IntFieldUpdateOperationsInput | number
9492
+ id?: StringFieldUpdateOperationsInput | string
9493
+ userId?: StringFieldUpdateOperationsInput | string
9494
+ cardId?: StringFieldUpdateOperationsInput | string
9730
9495
  status?: StringFieldUpdateOperationsInput | string
9731
9496
  timestamp?: StringFieldUpdateOperationsInput | string
9732
9497
  }
9733
9498
 
9734
9499
  export type PurchaseCreateInput = {
9500
+ id?: string
9735
9501
  user: UserCreateNestedOneWithoutPurchasesInput
9736
9502
  pack: PackCreateNestedOneWithoutPurchaseInput
9737
9503
  price: string
9738
9504
  }
9739
9505
 
9740
9506
  export type PurchaseUncheckedCreateInput = {
9741
- id?: number
9742
- userId: number
9743
- packId: number
9507
+ id?: string
9508
+ userId: string
9509
+ packId: string
9744
9510
  price: string
9745
9511
  }
9746
9512
 
9747
9513
  export type PurchaseUpdateInput = {
9514
+ id?: StringFieldUpdateOperationsInput | string
9748
9515
  user?: UserUpdateOneRequiredWithoutPurchasesNestedInput
9749
9516
  pack?: PackUpdateOneRequiredWithoutPurchaseNestedInput
9750
9517
  price?: StringFieldUpdateOperationsInput | string
9751
9518
  }
9752
9519
 
9753
9520
  export type PurchaseUncheckedUpdateInput = {
9754
- id?: IntFieldUpdateOperationsInput | number
9755
- userId?: IntFieldUpdateOperationsInput | number
9756
- packId?: IntFieldUpdateOperationsInput | number
9521
+ id?: StringFieldUpdateOperationsInput | string
9522
+ userId?: StringFieldUpdateOperationsInput | string
9523
+ packId?: StringFieldUpdateOperationsInput | string
9757
9524
  price?: StringFieldUpdateOperationsInput | string
9758
9525
  }
9759
9526
 
9760
9527
  export type PurchaseCreateManyInput = {
9761
- id?: number
9762
- userId: number
9763
- packId: number
9528
+ id?: string
9529
+ userId: string
9530
+ packId: string
9764
9531
  price: string
9765
9532
  }
9766
9533
 
9767
9534
  export type PurchaseUpdateManyMutationInput = {
9535
+ id?: StringFieldUpdateOperationsInput | string
9768
9536
  price?: StringFieldUpdateOperationsInput | string
9769
9537
  }
9770
9538
 
9771
9539
  export type PurchaseUncheckedUpdateManyInput = {
9772
- id?: IntFieldUpdateOperationsInput | number
9773
- userId?: IntFieldUpdateOperationsInput | number
9774
- packId?: IntFieldUpdateOperationsInput | number
9540
+ id?: StringFieldUpdateOperationsInput | string
9541
+ userId?: StringFieldUpdateOperationsInput | string
9542
+ packId?: StringFieldUpdateOperationsInput | string
9775
9543
  price?: StringFieldUpdateOperationsInput | string
9776
9544
  }
9777
9545
 
9778
- export type IntFilter = {
9779
- equals?: number
9780
- in?: Enumerable<number>
9781
- notIn?: Enumerable<number>
9782
- lt?: number
9783
- lte?: number
9784
- gt?: number
9785
- gte?: number
9786
- not?: NestedIntFilter | number
9787
- }
9788
-
9789
- export type PackRelationFilter = {
9790
- is?: PackWhereInput
9791
- isNot?: PackWhereInput
9792
- }
9793
-
9794
9546
  export type StringFilter = {
9795
9547
  equals?: string
9796
9548
  in?: Enumerable<string>
@@ -9806,6 +9558,11 @@ export namespace Prisma {
9806
9558
  not?: NestedStringFilter | string
9807
9559
  }
9808
9560
 
9561
+ export type PackRelationFilter = {
9562
+ is?: PackWhereInput
9563
+ isNot?: PackWhereInput
9564
+ }
9565
+
9809
9566
  export type UserCardListRelationFilter = {
9810
9567
  every?: UserCardWhereInput
9811
9568
  some?: UserCardWhereInput
@@ -9816,6 +9573,16 @@ export namespace Prisma {
9816
9573
  _count?: SortOrder
9817
9574
  }
9818
9575
 
9576
+ export type CardPackIdFrontCompoundUniqueInput = {
9577
+ packId: string
9578
+ front: string
9579
+ }
9580
+
9581
+ export type CardPackIdBackCompoundUniqueInput = {
9582
+ packId: string
9583
+ back: string
9584
+ }
9585
+
9819
9586
  export type CardCountOrderByAggregateInput = {
9820
9587
  id?: SortOrder
9821
9588
  packId?: SortOrder
@@ -9823,11 +9590,6 @@ export namespace Prisma {
9823
9590
  back?: SortOrder
9824
9591
  }
9825
9592
 
9826
- export type CardAvgOrderByAggregateInput = {
9827
- id?: SortOrder
9828
- packId?: SortOrder
9829
- }
9830
-
9831
9593
  export type CardMaxOrderByAggregateInput = {
9832
9594
  id?: SortOrder
9833
9595
  packId?: SortOrder
@@ -9842,27 +9604,6 @@ export namespace Prisma {
9842
9604
  back?: SortOrder
9843
9605
  }
9844
9606
 
9845
- export type CardSumOrderByAggregateInput = {
9846
- id?: SortOrder
9847
- packId?: SortOrder
9848
- }
9849
-
9850
- export type IntWithAggregatesFilter = {
9851
- equals?: number
9852
- in?: Enumerable<number>
9853
- notIn?: Enumerable<number>
9854
- lt?: number
9855
- lte?: number
9856
- gt?: number
9857
- gte?: number
9858
- not?: NestedIntWithAggregatesFilter | number
9859
- _count?: NestedIntFilter
9860
- _avg?: NestedFloatFilter
9861
- _sum?: NestedIntFilter
9862
- _min?: NestedIntFilter
9863
- _max?: NestedIntFilter
9864
- }
9865
-
9866
9607
  export type StringWithAggregatesFilter = {
9867
9608
  equals?: string
9868
9609
  in?: Enumerable<string>
@@ -9919,8 +9660,8 @@ export namespace Prisma {
9919
9660
  }
9920
9661
 
9921
9662
  export type UserCardUserIdCardIdCompoundUniqueInput = {
9922
- userId: number
9923
- cardId: number
9663
+ userId: string
9664
+ cardId: string
9924
9665
  }
9925
9666
 
9926
9667
  export type UserCardCountOrderByAggregateInput = {
@@ -9932,8 +9673,6 @@ export namespace Prisma {
9932
9673
  }
9933
9674
 
9934
9675
  export type UserCardAvgOrderByAggregateInput = {
9935
- userId?: SortOrder
9936
- cardId?: SortOrder
9937
9676
  currentInterval?: SortOrder
9938
9677
  }
9939
9678
 
@@ -9954,8 +9693,6 @@ export namespace Prisma {
9954
9693
  }
9955
9694
 
9956
9695
  export type UserCardSumOrderByAggregateInput = {
9957
- userId?: SortOrder
9958
- cardId?: SortOrder
9959
9696
  currentInterval?: SortOrder
9960
9697
  }
9961
9698
 
@@ -10051,8 +9788,6 @@ export namespace Prisma {
10051
9788
  }
10052
9789
 
10053
9790
  export type PackAvgOrderByAggregateInput = {
10054
- id?: SortOrder
10055
- teacherId?: SortOrder
10056
9791
  currentPrice?: SortOrder
10057
9792
  }
10058
9793
 
@@ -10071,8 +9806,6 @@ export namespace Prisma {
10071
9806
  }
10072
9807
 
10073
9808
  export type PackSumOrderByAggregateInput = {
10074
- id?: SortOrder
10075
- teacherId?: SortOrder
10076
9809
  currentPrice?: SortOrder
10077
9810
  }
10078
9811
 
@@ -10123,10 +9856,6 @@ export namespace Prisma {
10123
9856
  name?: SortOrder
10124
9857
  }
10125
9858
 
10126
- export type UserAvgOrderByAggregateInput = {
10127
- id?: SortOrder
10128
- }
10129
-
10130
9859
  export type UserMaxOrderByAggregateInput = {
10131
9860
  id?: SortOrder
10132
9861
  email?: SortOrder
@@ -10139,10 +9868,6 @@ export namespace Prisma {
10139
9868
  name?: SortOrder
10140
9869
  }
10141
9870
 
10142
- export type UserSumOrderByAggregateInput = {
10143
- id?: SortOrder
10144
- }
10145
-
10146
9871
  export type TeacherCountOrderByAggregateInput = {
10147
9872
  id?: SortOrder
10148
9873
  email?: SortOrder
@@ -10150,10 +9875,6 @@ export namespace Prisma {
10150
9875
  password?: SortOrder
10151
9876
  }
10152
9877
 
10153
- export type TeacherAvgOrderByAggregateInput = {
10154
- id?: SortOrder
10155
- }
10156
-
10157
9878
  export type TeacherMaxOrderByAggregateInput = {
10158
9879
  id?: SortOrder
10159
9880
  email?: SortOrder
@@ -10168,19 +9889,11 @@ export namespace Prisma {
10168
9889
  password?: SortOrder
10169
9890
  }
10170
9891
 
10171
- export type TeacherSumOrderByAggregateInput = {
10172
- id?: SortOrder
10173
- }
10174
-
10175
9892
  export type GoogleUserCountOrderByAggregateInput = {
10176
9893
  id?: SortOrder
10177
9894
  userId?: SortOrder
10178
9895
  }
10179
9896
 
10180
- export type GoogleUserAvgOrderByAggregateInput = {
10181
- userId?: SortOrder
10182
- }
10183
-
10184
9897
  export type GoogleUserMaxOrderByAggregateInput = {
10185
9898
  id?: SortOrder
10186
9899
  userId?: SortOrder
@@ -10191,10 +9904,6 @@ export namespace Prisma {
10191
9904
  userId?: SortOrder
10192
9905
  }
10193
9906
 
10194
- export type GoogleUserSumOrderByAggregateInput = {
10195
- userId?: SortOrder
10196
- }
10197
-
10198
9907
  export type AnswerCountOrderByAggregateInput = {
10199
9908
  id?: SortOrder
10200
9909
  userId?: SortOrder
@@ -10203,12 +9912,6 @@ export namespace Prisma {
10203
9912
  timestamp?: SortOrder
10204
9913
  }
10205
9914
 
10206
- export type AnswerAvgOrderByAggregateInput = {
10207
- id?: SortOrder
10208
- userId?: SortOrder
10209
- cardId?: SortOrder
10210
- }
10211
-
10212
9915
  export type AnswerMaxOrderByAggregateInput = {
10213
9916
  id?: SortOrder
10214
9917
  userId?: SortOrder
@@ -10225,12 +9928,6 @@ export namespace Prisma {
10225
9928
  timestamp?: SortOrder
10226
9929
  }
10227
9930
 
10228
- export type AnswerSumOrderByAggregateInput = {
10229
- id?: SortOrder
10230
- userId?: SortOrder
10231
- cardId?: SortOrder
10232
- }
10233
-
10234
9931
  export type PurchaseCountOrderByAggregateInput = {
10235
9932
  id?: SortOrder
10236
9933
  userId?: SortOrder
@@ -10238,12 +9935,6 @@ export namespace Prisma {
10238
9935
  price?: SortOrder
10239
9936
  }
10240
9937
 
10241
- export type PurchaseAvgOrderByAggregateInput = {
10242
- id?: SortOrder
10243
- userId?: SortOrder
10244
- packId?: SortOrder
10245
- }
10246
-
10247
9938
  export type PurchaseMaxOrderByAggregateInput = {
10248
9939
  id?: SortOrder
10249
9940
  userId?: SortOrder
@@ -10258,12 +9949,6 @@ export namespace Prisma {
10258
9949
  price?: SortOrder
10259
9950
  }
10260
9951
 
10261
- export type PurchaseSumOrderByAggregateInput = {
10262
- id?: SortOrder
10263
- userId?: SortOrder
10264
- packId?: SortOrder
10265
- }
10266
-
10267
9952
  export type PackCreateNestedOneWithoutCardsInput = {
10268
9953
  create?: XOR<PackCreateWithoutCardsInput, PackUncheckedCreateWithoutCardsInput>
10269
9954
  connectOrCreate?: PackCreateOrConnectWithoutCardsInput
@@ -10284,6 +9969,10 @@ export namespace Prisma {
10284
9969
  connect?: Enumerable<UserCardWhereUniqueInput>
10285
9970
  }
10286
9971
 
9972
+ export type StringFieldUpdateOperationsInput = {
9973
+ set?: string
9974
+ }
9975
+
10287
9976
  export type PackUpdateOneRequiredWithoutCardsNestedInput = {
10288
9977
  create?: XOR<PackCreateWithoutCardsInput, PackUncheckedCreateWithoutCardsInput>
10289
9978
  connectOrCreate?: PackCreateOrConnectWithoutCardsInput
@@ -10292,10 +9981,6 @@ export namespace Prisma {
10292
9981
  update?: XOR<PackUpdateWithoutCardsInput, PackUncheckedUpdateWithoutCardsInput>
10293
9982
  }
10294
9983
 
10295
- export type StringFieldUpdateOperationsInput = {
10296
- set?: string
10297
- }
10298
-
10299
9984
  export type UserCardUpdateManyWithoutCardNestedInput = {
10300
9985
  create?: XOR<Enumerable<UserCardCreateWithoutCardInput>, Enumerable<UserCardUncheckedCreateWithoutCardInput>>
10301
9986
  connectOrCreate?: Enumerable<UserCardCreateOrConnectWithoutCardInput>
@@ -10310,14 +9995,6 @@ export namespace Prisma {
10310
9995
  deleteMany?: Enumerable<UserCardScalarWhereInput>
10311
9996
  }
10312
9997
 
10313
- export type IntFieldUpdateOperationsInput = {
10314
- set?: number
10315
- increment?: number
10316
- decrement?: number
10317
- multiply?: number
10318
- divide?: number
10319
- }
10320
-
10321
9998
  export type UserCardUncheckedUpdateManyWithoutCardNestedInput = {
10322
9999
  create?: XOR<Enumerable<UserCardCreateWithoutCardInput>, Enumerable<UserCardUncheckedCreateWithoutCardInput>>
10323
10000
  connectOrCreate?: Enumerable<UserCardCreateOrConnectWithoutCardInput>
@@ -10814,17 +10491,6 @@ export namespace Prisma {
10814
10491
  update?: XOR<PackUpdateWithoutPurchaseInput, PackUncheckedUpdateWithoutPurchaseInput>
10815
10492
  }
10816
10493
 
10817
- export type NestedIntFilter = {
10818
- equals?: number
10819
- in?: Enumerable<number>
10820
- notIn?: Enumerable<number>
10821
- lt?: number
10822
- lte?: number
10823
- gt?: number
10824
- gte?: number
10825
- not?: NestedIntFilter | number
10826
- }
10827
-
10828
10494
  export type NestedStringFilter = {
10829
10495
  equals?: string
10830
10496
  in?: Enumerable<string>
@@ -10839,33 +10505,6 @@ export namespace Prisma {
10839
10505
  not?: NestedStringFilter | string
10840
10506
  }
10841
10507
 
10842
- export type NestedIntWithAggregatesFilter = {
10843
- equals?: number
10844
- in?: Enumerable<number>
10845
- notIn?: Enumerable<number>
10846
- lt?: number
10847
- lte?: number
10848
- gt?: number
10849
- gte?: number
10850
- not?: NestedIntWithAggregatesFilter | number
10851
- _count?: NestedIntFilter
10852
- _avg?: NestedFloatFilter
10853
- _sum?: NestedIntFilter
10854
- _min?: NestedIntFilter
10855
- _max?: NestedIntFilter
10856
- }
10857
-
10858
- export type NestedFloatFilter = {
10859
- equals?: number
10860
- in?: Enumerable<number>
10861
- notIn?: Enumerable<number>
10862
- lt?: number
10863
- lte?: number
10864
- gt?: number
10865
- gte?: number
10866
- not?: NestedFloatFilter | number
10867
- }
10868
-
10869
10508
  export type NestedStringWithAggregatesFilter = {
10870
10509
  equals?: string
10871
10510
  in?: Enumerable<string>
@@ -10883,6 +10522,17 @@ export namespace Prisma {
10883
10522
  _max?: NestedStringFilter
10884
10523
  }
10885
10524
 
10525
+ export type NestedIntFilter = {
10526
+ equals?: number
10527
+ in?: Enumerable<number>
10528
+ notIn?: Enumerable<number>
10529
+ lt?: number
10530
+ lte?: number
10531
+ gt?: number
10532
+ gte?: number
10533
+ not?: NestedIntFilter | number
10534
+ }
10535
+
10886
10536
  export type NestedIntNullableFilter = {
10887
10537
  equals?: number | null
10888
10538
  in?: Enumerable<number> | null
@@ -10987,6 +10637,7 @@ export namespace Prisma {
10987
10637
  }
10988
10638
 
10989
10639
  export type PackCreateWithoutCardsInput = {
10640
+ id?: string
10990
10641
  teacher: TeacherCreateNestedOneWithoutPacksInput
10991
10642
  name: string
10992
10643
  users?: UserCreateNestedManyWithoutPacksInput
@@ -10995,8 +10646,8 @@ export namespace Prisma {
10995
10646
  }
10996
10647
 
10997
10648
  export type PackUncheckedCreateWithoutCardsInput = {
10998
- id?: number
10999
- teacherId: number
10649
+ id?: string
10650
+ teacherId: string
11000
10651
  name: string
11001
10652
  users?: UserUncheckedCreateNestedManyWithoutPacksInput
11002
10653
  purchase?: PurchaseUncheckedCreateNestedManyWithoutPackInput
@@ -11016,7 +10667,7 @@ export namespace Prisma {
11016
10667
  }
11017
10668
 
11018
10669
  export type UserCardUncheckedCreateWithoutCardInput = {
11019
- userId: number
10670
+ userId: string
11020
10671
  currentInterval?: number | null
11021
10672
  dueDate?: Date | string | null
11022
10673
  done: boolean
@@ -11038,6 +10689,7 @@ export namespace Prisma {
11038
10689
  }
11039
10690
 
11040
10691
  export type PackUpdateWithoutCardsInput = {
10692
+ id?: StringFieldUpdateOperationsInput | string
11041
10693
  teacher?: TeacherUpdateOneRequiredWithoutPacksNestedInput
11042
10694
  name?: StringFieldUpdateOperationsInput | string
11043
10695
  users?: UserUpdateManyWithoutPacksNestedInput
@@ -11046,8 +10698,8 @@ export namespace Prisma {
11046
10698
  }
11047
10699
 
11048
10700
  export type PackUncheckedUpdateWithoutCardsInput = {
11049
- id?: IntFieldUpdateOperationsInput | number
11050
- teacherId?: IntFieldUpdateOperationsInput | number
10701
+ id?: StringFieldUpdateOperationsInput | string
10702
+ teacherId?: StringFieldUpdateOperationsInput | string
11051
10703
  name?: StringFieldUpdateOperationsInput | string
11052
10704
  users?: UserUncheckedUpdateManyWithoutPacksNestedInput
11053
10705
  purchase?: PurchaseUncheckedUpdateManyWithoutPackNestedInput
@@ -11074,14 +10726,15 @@ export namespace Prisma {
11074
10726
  AND?: Enumerable<UserCardScalarWhereInput>
11075
10727
  OR?: Enumerable<UserCardScalarWhereInput>
11076
10728
  NOT?: Enumerable<UserCardScalarWhereInput>
11077
- userId?: IntFilter | number
11078
- cardId?: IntFilter | number
10729
+ userId?: StringFilter | string
10730
+ cardId?: StringFilter | string
11079
10731
  currentInterval?: IntNullableFilter | number | null
11080
10732
  dueDate?: DateTimeNullableFilter | Date | string | null
11081
10733
  done?: BoolFilter | boolean
11082
10734
  }
11083
10735
 
11084
10736
  export type UserCreateWithoutUserCardsInput = {
10737
+ id?: string
11085
10738
  email: string
11086
10739
  name: string
11087
10740
  googleUser?: GoogleUserCreateNestedOneWithoutUserInput
@@ -11091,7 +10744,7 @@ export namespace Prisma {
11091
10744
  }
11092
10745
 
11093
10746
  export type UserUncheckedCreateWithoutUserCardsInput = {
11094
- id?: number
10747
+ id?: string
11095
10748
  email: string
11096
10749
  name: string
11097
10750
  googleUser?: GoogleUserUncheckedCreateNestedOneWithoutUserInput
@@ -11106,14 +10759,15 @@ export namespace Prisma {
11106
10759
  }
11107
10760
 
11108
10761
  export type CardCreateWithoutUserCardsInput = {
10762
+ id?: string
11109
10763
  pack: PackCreateNestedOneWithoutCardsInput
11110
10764
  front: string
11111
10765
  back: string
11112
10766
  }
11113
10767
 
11114
10768
  export type CardUncheckedCreateWithoutUserCardsInput = {
11115
- id?: number
11116
- packId: number
10769
+ id?: string
10770
+ packId: string
11117
10771
  front: string
11118
10772
  back: string
11119
10773
  }
@@ -11129,6 +10783,7 @@ export namespace Prisma {
11129
10783
  }
11130
10784
 
11131
10785
  export type UserUpdateWithoutUserCardsInput = {
10786
+ id?: StringFieldUpdateOperationsInput | string
11132
10787
  email?: StringFieldUpdateOperationsInput | string
11133
10788
  name?: StringFieldUpdateOperationsInput | string
11134
10789
  googleUser?: GoogleUserUpdateOneWithoutUserNestedInput
@@ -11138,7 +10793,7 @@ export namespace Prisma {
11138
10793
  }
11139
10794
 
11140
10795
  export type UserUncheckedUpdateWithoutUserCardsInput = {
11141
- id?: IntFieldUpdateOperationsInput | number
10796
+ id?: StringFieldUpdateOperationsInput | string
11142
10797
  email?: StringFieldUpdateOperationsInput | string
11143
10798
  name?: StringFieldUpdateOperationsInput | string
11144
10799
  googleUser?: GoogleUserUncheckedUpdateOneWithoutUserNestedInput
@@ -11153,26 +10808,28 @@ export namespace Prisma {
11153
10808
  }
11154
10809
 
11155
10810
  export type CardUpdateWithoutUserCardsInput = {
10811
+ id?: StringFieldUpdateOperationsInput | string
11156
10812
  pack?: PackUpdateOneRequiredWithoutCardsNestedInput
11157
10813
  front?: StringFieldUpdateOperationsInput | string
11158
10814
  back?: StringFieldUpdateOperationsInput | string
11159
10815
  }
11160
10816
 
11161
10817
  export type CardUncheckedUpdateWithoutUserCardsInput = {
11162
- id?: IntFieldUpdateOperationsInput | number
11163
- packId?: IntFieldUpdateOperationsInput | number
10818
+ id?: StringFieldUpdateOperationsInput | string
10819
+ packId?: StringFieldUpdateOperationsInput | string
11164
10820
  front?: StringFieldUpdateOperationsInput | string
11165
10821
  back?: StringFieldUpdateOperationsInput | string
11166
10822
  }
11167
10823
 
11168
10824
  export type TeacherCreateWithoutPacksInput = {
10825
+ id?: string
11169
10826
  email: string
11170
10827
  name: string
11171
10828
  password: string
11172
10829
  }
11173
10830
 
11174
10831
  export type TeacherUncheckedCreateWithoutPacksInput = {
11175
- id?: number
10832
+ id?: string
11176
10833
  email: string
11177
10834
  name: string
11178
10835
  password: string
@@ -11184,13 +10841,14 @@ export namespace Prisma {
11184
10841
  }
11185
10842
 
11186
10843
  export type CardCreateWithoutPackInput = {
10844
+ id?: string
11187
10845
  front: string
11188
10846
  back: string
11189
10847
  userCards?: UserCardCreateNestedManyWithoutCardInput
11190
10848
  }
11191
10849
 
11192
10850
  export type CardUncheckedCreateWithoutPackInput = {
11193
- id?: number
10851
+ id?: string
11194
10852
  front: string
11195
10853
  back: string
11196
10854
  userCards?: UserCardUncheckedCreateNestedManyWithoutCardInput
@@ -11207,6 +10865,7 @@ export namespace Prisma {
11207
10865
  }
11208
10866
 
11209
10867
  export type UserCreateWithoutPacksInput = {
10868
+ id?: string
11210
10869
  email: string
11211
10870
  name: string
11212
10871
  googleUser?: GoogleUserCreateNestedOneWithoutUserInput
@@ -11216,7 +10875,7 @@ export namespace Prisma {
11216
10875
  }
11217
10876
 
11218
10877
  export type UserUncheckedCreateWithoutPacksInput = {
11219
- id?: number
10878
+ id?: string
11220
10879
  email: string
11221
10880
  name: string
11222
10881
  googleUser?: GoogleUserUncheckedCreateNestedOneWithoutUserInput
@@ -11231,13 +10890,14 @@ export namespace Prisma {
11231
10890
  }
11232
10891
 
11233
10892
  export type PurchaseCreateWithoutPackInput = {
10893
+ id?: string
11234
10894
  user: UserCreateNestedOneWithoutPurchasesInput
11235
10895
  price: string
11236
10896
  }
11237
10897
 
11238
10898
  export type PurchaseUncheckedCreateWithoutPackInput = {
11239
- id?: number
11240
- userId: number
10899
+ id?: string
10900
+ userId: string
11241
10901
  price: string
11242
10902
  }
11243
10903
 
@@ -11257,13 +10917,14 @@ export namespace Prisma {
11257
10917
  }
11258
10918
 
11259
10919
  export type TeacherUpdateWithoutPacksInput = {
10920
+ id?: StringFieldUpdateOperationsInput | string
11260
10921
  email?: StringFieldUpdateOperationsInput | string
11261
10922
  name?: StringFieldUpdateOperationsInput | string
11262
10923
  password?: StringFieldUpdateOperationsInput | string
11263
10924
  }
11264
10925
 
11265
10926
  export type TeacherUncheckedUpdateWithoutPacksInput = {
11266
- id?: IntFieldUpdateOperationsInput | number
10927
+ id?: StringFieldUpdateOperationsInput | string
11267
10928
  email?: StringFieldUpdateOperationsInput | string
11268
10929
  name?: StringFieldUpdateOperationsInput | string
11269
10930
  password?: StringFieldUpdateOperationsInput | string
@@ -11289,8 +10950,8 @@ export namespace Prisma {
11289
10950
  AND?: Enumerable<CardScalarWhereInput>
11290
10951
  OR?: Enumerable<CardScalarWhereInput>
11291
10952
  NOT?: Enumerable<CardScalarWhereInput>
11292
- id?: IntFilter | number
11293
- packId?: IntFilter | number
10953
+ id?: StringFilter | string
10954
+ packId?: StringFilter | string
11294
10955
  front?: StringFilter | string
11295
10956
  back?: StringFilter | string
11296
10957
  }
@@ -11315,7 +10976,7 @@ export namespace Prisma {
11315
10976
  AND?: Enumerable<UserScalarWhereInput>
11316
10977
  OR?: Enumerable<UserScalarWhereInput>
11317
10978
  NOT?: Enumerable<UserScalarWhereInput>
11318
- id?: IntFilter | number
10979
+ id?: StringFilter | string
11319
10980
  email?: StringFilter | string
11320
10981
  name?: StringFilter | string
11321
10982
  }
@@ -11340,9 +11001,9 @@ export namespace Prisma {
11340
11001
  AND?: Enumerable<PurchaseScalarWhereInput>
11341
11002
  OR?: Enumerable<PurchaseScalarWhereInput>
11342
11003
  NOT?: Enumerable<PurchaseScalarWhereInput>
11343
- id?: IntFilter | number
11344
- userId?: IntFilter | number
11345
- packId?: IntFilter | number
11004
+ id?: StringFilter | string
11005
+ userId?: StringFilter | string
11006
+ packId?: StringFilter | string
11346
11007
  price?: StringFilter | string
11347
11008
  }
11348
11009
 
@@ -11360,13 +11021,14 @@ export namespace Prisma {
11360
11021
  }
11361
11022
 
11362
11023
  export type PurchaseCreateWithoutUserInput = {
11024
+ id?: string
11363
11025
  pack: PackCreateNestedOneWithoutPurchaseInput
11364
11026
  price: string
11365
11027
  }
11366
11028
 
11367
11029
  export type PurchaseUncheckedCreateWithoutUserInput = {
11368
- id?: number
11369
- packId: number
11030
+ id?: string
11031
+ packId: string
11370
11032
  price: string
11371
11033
  }
11372
11034
 
@@ -11381,6 +11043,7 @@ export namespace Prisma {
11381
11043
  }
11382
11044
 
11383
11045
  export type PackCreateWithoutUsersInput = {
11046
+ id?: string
11384
11047
  teacher: TeacherCreateNestedOneWithoutPacksInput
11385
11048
  name: string
11386
11049
  cards?: CardCreateNestedManyWithoutPackInput
@@ -11389,8 +11052,8 @@ export namespace Prisma {
11389
11052
  }
11390
11053
 
11391
11054
  export type PackUncheckedCreateWithoutUsersInput = {
11392
- id?: number
11393
- teacherId: number
11055
+ id?: string
11056
+ teacherId: string
11394
11057
  name: string
11395
11058
  cards?: CardUncheckedCreateNestedManyWithoutPackInput
11396
11059
  purchase?: PurchaseUncheckedCreateNestedManyWithoutPackInput
@@ -11410,7 +11073,7 @@ export namespace Prisma {
11410
11073
  }
11411
11074
 
11412
11075
  export type UserCardUncheckedCreateWithoutUserInput = {
11413
- cardId: number
11076
+ cardId: string
11414
11077
  currentInterval?: number | null
11415
11078
  dueDate?: Date | string | null
11416
11079
  done: boolean
@@ -11427,14 +11090,15 @@ export namespace Prisma {
11427
11090
  }
11428
11091
 
11429
11092
  export type AnswerCreateWithoutUserInput = {
11430
- cardId: number
11093
+ id?: string
11094
+ cardId: string
11431
11095
  status: string
11432
11096
  timestamp: string
11433
11097
  }
11434
11098
 
11435
11099
  export type AnswerUncheckedCreateWithoutUserInput = {
11436
- id?: number
11437
- cardId: number
11100
+ id?: string
11101
+ cardId: string
11438
11102
  status: string
11439
11103
  timestamp: string
11440
11104
  }
@@ -11498,8 +11162,8 @@ export namespace Prisma {
11498
11162
  AND?: Enumerable<PackScalarWhereInput>
11499
11163
  OR?: Enumerable<PackScalarWhereInput>
11500
11164
  NOT?: Enumerable<PackScalarWhereInput>
11501
- id?: IntFilter | number
11502
- teacherId?: IntFilter | number
11165
+ id?: StringFilter | string
11166
+ teacherId?: StringFilter | string
11503
11167
  name?: StringFilter | string
11504
11168
  currentPrice?: DecimalFilter | Decimal | DecimalJsLike | number | string
11505
11169
  }
@@ -11540,14 +11204,15 @@ export namespace Prisma {
11540
11204
  AND?: Enumerable<AnswerScalarWhereInput>
11541
11205
  OR?: Enumerable<AnswerScalarWhereInput>
11542
11206
  NOT?: Enumerable<AnswerScalarWhereInput>
11543
- id?: IntFilter | number
11544
- userId?: IntFilter | number
11545
- cardId?: IntFilter | number
11207
+ id?: StringFilter | string
11208
+ userId?: StringFilter | string
11209
+ cardId?: StringFilter | string
11546
11210
  status?: StringFilter | string
11547
11211
  timestamp?: StringFilter | string
11548
11212
  }
11549
11213
 
11550
11214
  export type PackCreateWithoutTeacherInput = {
11215
+ id?: string
11551
11216
  name: string
11552
11217
  cards?: CardCreateNestedManyWithoutPackInput
11553
11218
  users?: UserCreateNestedManyWithoutPacksInput
@@ -11556,7 +11221,7 @@ export namespace Prisma {
11556
11221
  }
11557
11222
 
11558
11223
  export type PackUncheckedCreateWithoutTeacherInput = {
11559
- id?: number
11224
+ id?: string
11560
11225
  name: string
11561
11226
  cards?: CardUncheckedCreateNestedManyWithoutPackInput
11562
11227
  users?: UserUncheckedCreateNestedManyWithoutPacksInput
@@ -11591,6 +11256,7 @@ export namespace Prisma {
11591
11256
  }
11592
11257
 
11593
11258
  export type UserCreateWithoutGoogleUserInput = {
11259
+ id?: string
11594
11260
  email: string
11595
11261
  name: string
11596
11262
  purchases?: PurchaseCreateNestedManyWithoutUserInput
@@ -11600,7 +11266,7 @@ export namespace Prisma {
11600
11266
  }
11601
11267
 
11602
11268
  export type UserUncheckedCreateWithoutGoogleUserInput = {
11603
- id?: number
11269
+ id?: string
11604
11270
  email: string
11605
11271
  name: string
11606
11272
  purchases?: PurchaseUncheckedCreateNestedManyWithoutUserInput
@@ -11620,6 +11286,7 @@ export namespace Prisma {
11620
11286
  }
11621
11287
 
11622
11288
  export type UserUpdateWithoutGoogleUserInput = {
11289
+ id?: StringFieldUpdateOperationsInput | string
11623
11290
  email?: StringFieldUpdateOperationsInput | string
11624
11291
  name?: StringFieldUpdateOperationsInput | string
11625
11292
  purchases?: PurchaseUpdateManyWithoutUserNestedInput
@@ -11629,7 +11296,7 @@ export namespace Prisma {
11629
11296
  }
11630
11297
 
11631
11298
  export type UserUncheckedUpdateWithoutGoogleUserInput = {
11632
- id?: IntFieldUpdateOperationsInput | number
11299
+ id?: StringFieldUpdateOperationsInput | string
11633
11300
  email?: StringFieldUpdateOperationsInput | string
11634
11301
  name?: StringFieldUpdateOperationsInput | string
11635
11302
  purchases?: PurchaseUncheckedUpdateManyWithoutUserNestedInput
@@ -11639,6 +11306,7 @@ export namespace Prisma {
11639
11306
  }
11640
11307
 
11641
11308
  export type UserCreateWithoutAnswersInput = {
11309
+ id?: string
11642
11310
  email: string
11643
11311
  name: string
11644
11312
  googleUser?: GoogleUserCreateNestedOneWithoutUserInput
@@ -11648,7 +11316,7 @@ export namespace Prisma {
11648
11316
  }
11649
11317
 
11650
11318
  export type UserUncheckedCreateWithoutAnswersInput = {
11651
- id?: number
11319
+ id?: string
11652
11320
  email: string
11653
11321
  name: string
11654
11322
  googleUser?: GoogleUserUncheckedCreateNestedOneWithoutUserInput
@@ -11668,6 +11336,7 @@ export namespace Prisma {
11668
11336
  }
11669
11337
 
11670
11338
  export type UserUpdateWithoutAnswersInput = {
11339
+ id?: StringFieldUpdateOperationsInput | string
11671
11340
  email?: StringFieldUpdateOperationsInput | string
11672
11341
  name?: StringFieldUpdateOperationsInput | string
11673
11342
  googleUser?: GoogleUserUpdateOneWithoutUserNestedInput
@@ -11677,7 +11346,7 @@ export namespace Prisma {
11677
11346
  }
11678
11347
 
11679
11348
  export type UserUncheckedUpdateWithoutAnswersInput = {
11680
- id?: IntFieldUpdateOperationsInput | number
11349
+ id?: StringFieldUpdateOperationsInput | string
11681
11350
  email?: StringFieldUpdateOperationsInput | string
11682
11351
  name?: StringFieldUpdateOperationsInput | string
11683
11352
  googleUser?: GoogleUserUncheckedUpdateOneWithoutUserNestedInput
@@ -11687,6 +11356,7 @@ export namespace Prisma {
11687
11356
  }
11688
11357
 
11689
11358
  export type UserCreateWithoutPurchasesInput = {
11359
+ id?: string
11690
11360
  email: string
11691
11361
  name: string
11692
11362
  googleUser?: GoogleUserCreateNestedOneWithoutUserInput
@@ -11696,7 +11366,7 @@ export namespace Prisma {
11696
11366
  }
11697
11367
 
11698
11368
  export type UserUncheckedCreateWithoutPurchasesInput = {
11699
- id?: number
11369
+ id?: string
11700
11370
  email: string
11701
11371
  name: string
11702
11372
  googleUser?: GoogleUserUncheckedCreateNestedOneWithoutUserInput
@@ -11711,6 +11381,7 @@ export namespace Prisma {
11711
11381
  }
11712
11382
 
11713
11383
  export type PackCreateWithoutPurchaseInput = {
11384
+ id?: string
11714
11385
  teacher: TeacherCreateNestedOneWithoutPacksInput
11715
11386
  name: string
11716
11387
  cards?: CardCreateNestedManyWithoutPackInput
@@ -11719,8 +11390,8 @@ export namespace Prisma {
11719
11390
  }
11720
11391
 
11721
11392
  export type PackUncheckedCreateWithoutPurchaseInput = {
11722
- id?: number
11723
- teacherId: number
11393
+ id?: string
11394
+ teacherId: string
11724
11395
  name: string
11725
11396
  cards?: CardUncheckedCreateNestedManyWithoutPackInput
11726
11397
  users?: UserUncheckedCreateNestedManyWithoutPacksInput
@@ -11738,6 +11409,7 @@ export namespace Prisma {
11738
11409
  }
11739
11410
 
11740
11411
  export type UserUpdateWithoutPurchasesInput = {
11412
+ id?: StringFieldUpdateOperationsInput | string
11741
11413
  email?: StringFieldUpdateOperationsInput | string
11742
11414
  name?: StringFieldUpdateOperationsInput | string
11743
11415
  googleUser?: GoogleUserUpdateOneWithoutUserNestedInput
@@ -11747,7 +11419,7 @@ export namespace Prisma {
11747
11419
  }
11748
11420
 
11749
11421
  export type UserUncheckedUpdateWithoutPurchasesInput = {
11750
- id?: IntFieldUpdateOperationsInput | number
11422
+ id?: StringFieldUpdateOperationsInput | string
11751
11423
  email?: StringFieldUpdateOperationsInput | string
11752
11424
  name?: StringFieldUpdateOperationsInput | string
11753
11425
  googleUser?: GoogleUserUncheckedUpdateOneWithoutUserNestedInput
@@ -11762,6 +11434,7 @@ export namespace Prisma {
11762
11434
  }
11763
11435
 
11764
11436
  export type PackUpdateWithoutPurchaseInput = {
11437
+ id?: StringFieldUpdateOperationsInput | string
11765
11438
  teacher?: TeacherUpdateOneRequiredWithoutPacksNestedInput
11766
11439
  name?: StringFieldUpdateOperationsInput | string
11767
11440
  cards?: CardUpdateManyWithoutPackNestedInput
@@ -11770,8 +11443,8 @@ export namespace Prisma {
11770
11443
  }
11771
11444
 
11772
11445
  export type PackUncheckedUpdateWithoutPurchaseInput = {
11773
- id?: IntFieldUpdateOperationsInput | number
11774
- teacherId?: IntFieldUpdateOperationsInput | number
11446
+ id?: StringFieldUpdateOperationsInput | string
11447
+ teacherId?: StringFieldUpdateOperationsInput | string
11775
11448
  name?: StringFieldUpdateOperationsInput | string
11776
11449
  cards?: CardUncheckedUpdateManyWithoutPackNestedInput
11777
11450
  users?: UserUncheckedUpdateManyWithoutPacksNestedInput
@@ -11779,7 +11452,7 @@ export namespace Prisma {
11779
11452
  }
11780
11453
 
11781
11454
  export type UserCardCreateManyCardInput = {
11782
- userId: number
11455
+ userId: string
11783
11456
  currentInterval?: number | null
11784
11457
  dueDate?: Date | string | null
11785
11458
  done: boolean
@@ -11793,51 +11466,53 @@ export namespace Prisma {
11793
11466
  }
11794
11467
 
11795
11468
  export type UserCardUncheckedUpdateWithoutCardInput = {
11796
- userId?: IntFieldUpdateOperationsInput | number
11469
+ userId?: StringFieldUpdateOperationsInput | string
11797
11470
  currentInterval?: NullableIntFieldUpdateOperationsInput | number | null
11798
11471
  dueDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
11799
11472
  done?: BoolFieldUpdateOperationsInput | boolean
11800
11473
  }
11801
11474
 
11802
11475
  export type UserCardUncheckedUpdateManyWithoutUserCardsInput = {
11803
- userId?: IntFieldUpdateOperationsInput | number
11476
+ userId?: StringFieldUpdateOperationsInput | string
11804
11477
  currentInterval?: NullableIntFieldUpdateOperationsInput | number | null
11805
11478
  dueDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
11806
11479
  done?: BoolFieldUpdateOperationsInput | boolean
11807
11480
  }
11808
11481
 
11809
11482
  export type CardCreateManyPackInput = {
11810
- id?: number
11483
+ id?: string
11811
11484
  front: string
11812
11485
  back: string
11813
11486
  }
11814
11487
 
11815
11488
  export type PurchaseCreateManyPackInput = {
11816
- id?: number
11817
- userId: number
11489
+ id?: string
11490
+ userId: string
11818
11491
  price: string
11819
11492
  }
11820
11493
 
11821
11494
  export type CardUpdateWithoutPackInput = {
11495
+ id?: StringFieldUpdateOperationsInput | string
11822
11496
  front?: StringFieldUpdateOperationsInput | string
11823
11497
  back?: StringFieldUpdateOperationsInput | string
11824
11498
  userCards?: UserCardUpdateManyWithoutCardNestedInput
11825
11499
  }
11826
11500
 
11827
11501
  export type CardUncheckedUpdateWithoutPackInput = {
11828
- id?: IntFieldUpdateOperationsInput | number
11502
+ id?: StringFieldUpdateOperationsInput | string
11829
11503
  front?: StringFieldUpdateOperationsInput | string
11830
11504
  back?: StringFieldUpdateOperationsInput | string
11831
11505
  userCards?: UserCardUncheckedUpdateManyWithoutCardNestedInput
11832
11506
  }
11833
11507
 
11834
11508
  export type CardUncheckedUpdateManyWithoutCardsInput = {
11835
- id?: IntFieldUpdateOperationsInput | number
11509
+ id?: StringFieldUpdateOperationsInput | string
11836
11510
  front?: StringFieldUpdateOperationsInput | string
11837
11511
  back?: StringFieldUpdateOperationsInput | string
11838
11512
  }
11839
11513
 
11840
11514
  export type UserUpdateWithoutPacksInput = {
11515
+ id?: StringFieldUpdateOperationsInput | string
11841
11516
  email?: StringFieldUpdateOperationsInput | string
11842
11517
  name?: StringFieldUpdateOperationsInput | string
11843
11518
  googleUser?: GoogleUserUpdateOneWithoutUserNestedInput
@@ -11847,7 +11522,7 @@ export namespace Prisma {
11847
11522
  }
11848
11523
 
11849
11524
  export type UserUncheckedUpdateWithoutPacksInput = {
11850
- id?: IntFieldUpdateOperationsInput | number
11525
+ id?: StringFieldUpdateOperationsInput | string
11851
11526
  email?: StringFieldUpdateOperationsInput | string
11852
11527
  name?: StringFieldUpdateOperationsInput | string
11853
11528
  googleUser?: GoogleUserUncheckedUpdateOneWithoutUserNestedInput
@@ -11857,66 +11532,69 @@ export namespace Prisma {
11857
11532
  }
11858
11533
 
11859
11534
  export type UserUncheckedUpdateManyWithoutUsersInput = {
11860
- id?: IntFieldUpdateOperationsInput | number
11535
+ id?: StringFieldUpdateOperationsInput | string
11861
11536
  email?: StringFieldUpdateOperationsInput | string
11862
11537
  name?: StringFieldUpdateOperationsInput | string
11863
11538
  }
11864
11539
 
11865
11540
  export type PurchaseUpdateWithoutPackInput = {
11541
+ id?: StringFieldUpdateOperationsInput | string
11866
11542
  user?: UserUpdateOneRequiredWithoutPurchasesNestedInput
11867
11543
  price?: StringFieldUpdateOperationsInput | string
11868
11544
  }
11869
11545
 
11870
11546
  export type PurchaseUncheckedUpdateWithoutPackInput = {
11871
- id?: IntFieldUpdateOperationsInput | number
11872
- userId?: IntFieldUpdateOperationsInput | number
11547
+ id?: StringFieldUpdateOperationsInput | string
11548
+ userId?: StringFieldUpdateOperationsInput | string
11873
11549
  price?: StringFieldUpdateOperationsInput | string
11874
11550
  }
11875
11551
 
11876
11552
  export type PurchaseUncheckedUpdateManyWithoutPurchaseInput = {
11877
- id?: IntFieldUpdateOperationsInput | number
11878
- userId?: IntFieldUpdateOperationsInput | number
11553
+ id?: StringFieldUpdateOperationsInput | string
11554
+ userId?: StringFieldUpdateOperationsInput | string
11879
11555
  price?: StringFieldUpdateOperationsInput | string
11880
11556
  }
11881
11557
 
11882
11558
  export type PurchaseCreateManyUserInput = {
11883
- id?: number
11884
- packId: number
11559
+ id?: string
11560
+ packId: string
11885
11561
  price: string
11886
11562
  }
11887
11563
 
11888
11564
  export type UserCardCreateManyUserInput = {
11889
- cardId: number
11565
+ cardId: string
11890
11566
  currentInterval?: number | null
11891
11567
  dueDate?: Date | string | null
11892
11568
  done: boolean
11893
11569
  }
11894
11570
 
11895
11571
  export type AnswerCreateManyUserInput = {
11896
- id?: number
11897
- cardId: number
11572
+ id?: string
11573
+ cardId: string
11898
11574
  status: string
11899
11575
  timestamp: string
11900
11576
  }
11901
11577
 
11902
11578
  export type PurchaseUpdateWithoutUserInput = {
11579
+ id?: StringFieldUpdateOperationsInput | string
11903
11580
  pack?: PackUpdateOneRequiredWithoutPurchaseNestedInput
11904
11581
  price?: StringFieldUpdateOperationsInput | string
11905
11582
  }
11906
11583
 
11907
11584
  export type PurchaseUncheckedUpdateWithoutUserInput = {
11908
- id?: IntFieldUpdateOperationsInput | number
11909
- packId?: IntFieldUpdateOperationsInput | number
11585
+ id?: StringFieldUpdateOperationsInput | string
11586
+ packId?: StringFieldUpdateOperationsInput | string
11910
11587
  price?: StringFieldUpdateOperationsInput | string
11911
11588
  }
11912
11589
 
11913
11590
  export type PurchaseUncheckedUpdateManyWithoutPurchasesInput = {
11914
- id?: IntFieldUpdateOperationsInput | number
11915
- packId?: IntFieldUpdateOperationsInput | number
11591
+ id?: StringFieldUpdateOperationsInput | string
11592
+ packId?: StringFieldUpdateOperationsInput | string
11916
11593
  price?: StringFieldUpdateOperationsInput | string
11917
11594
  }
11918
11595
 
11919
11596
  export type PackUpdateWithoutUsersInput = {
11597
+ id?: StringFieldUpdateOperationsInput | string
11920
11598
  teacher?: TeacherUpdateOneRequiredWithoutPacksNestedInput
11921
11599
  name?: StringFieldUpdateOperationsInput | string
11922
11600
  cards?: CardUpdateManyWithoutPackNestedInput
@@ -11925,8 +11603,8 @@ export namespace Prisma {
11925
11603
  }
11926
11604
 
11927
11605
  export type PackUncheckedUpdateWithoutUsersInput = {
11928
- id?: IntFieldUpdateOperationsInput | number
11929
- teacherId?: IntFieldUpdateOperationsInput | number
11606
+ id?: StringFieldUpdateOperationsInput | string
11607
+ teacherId?: StringFieldUpdateOperationsInput | string
11930
11608
  name?: StringFieldUpdateOperationsInput | string
11931
11609
  cards?: CardUncheckedUpdateManyWithoutPackNestedInput
11932
11610
  purchase?: PurchaseUncheckedUpdateManyWithoutPackNestedInput
@@ -11934,8 +11612,8 @@ export namespace Prisma {
11934
11612
  }
11935
11613
 
11936
11614
  export type PackUncheckedUpdateManyWithoutPacksInput = {
11937
- id?: IntFieldUpdateOperationsInput | number
11938
- teacherId?: IntFieldUpdateOperationsInput | number
11615
+ id?: StringFieldUpdateOperationsInput | string
11616
+ teacherId?: StringFieldUpdateOperationsInput | string
11939
11617
  name?: StringFieldUpdateOperationsInput | string
11940
11618
  currentPrice?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
11941
11619
  }
@@ -11948,39 +11626,41 @@ export namespace Prisma {
11948
11626
  }
11949
11627
 
11950
11628
  export type UserCardUncheckedUpdateWithoutUserInput = {
11951
- cardId?: IntFieldUpdateOperationsInput | number
11629
+ cardId?: StringFieldUpdateOperationsInput | string
11952
11630
  currentInterval?: NullableIntFieldUpdateOperationsInput | number | null
11953
11631
  dueDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
11954
11632
  done?: BoolFieldUpdateOperationsInput | boolean
11955
11633
  }
11956
11634
 
11957
11635
  export type AnswerUpdateWithoutUserInput = {
11958
- cardId?: IntFieldUpdateOperationsInput | number
11636
+ id?: StringFieldUpdateOperationsInput | string
11637
+ cardId?: StringFieldUpdateOperationsInput | string
11959
11638
  status?: StringFieldUpdateOperationsInput | string
11960
11639
  timestamp?: StringFieldUpdateOperationsInput | string
11961
11640
  }
11962
11641
 
11963
11642
  export type AnswerUncheckedUpdateWithoutUserInput = {
11964
- id?: IntFieldUpdateOperationsInput | number
11965
- cardId?: IntFieldUpdateOperationsInput | number
11643
+ id?: StringFieldUpdateOperationsInput | string
11644
+ cardId?: StringFieldUpdateOperationsInput | string
11966
11645
  status?: StringFieldUpdateOperationsInput | string
11967
11646
  timestamp?: StringFieldUpdateOperationsInput | string
11968
11647
  }
11969
11648
 
11970
11649
  export type AnswerUncheckedUpdateManyWithoutAnswersInput = {
11971
- id?: IntFieldUpdateOperationsInput | number
11972
- cardId?: IntFieldUpdateOperationsInput | number
11650
+ id?: StringFieldUpdateOperationsInput | string
11651
+ cardId?: StringFieldUpdateOperationsInput | string
11973
11652
  status?: StringFieldUpdateOperationsInput | string
11974
11653
  timestamp?: StringFieldUpdateOperationsInput | string
11975
11654
  }
11976
11655
 
11977
11656
  export type PackCreateManyTeacherInput = {
11978
- id?: number
11657
+ id?: string
11979
11658
  name: string
11980
11659
  currentPrice: Decimal | DecimalJsLike | number | string
11981
11660
  }
11982
11661
 
11983
11662
  export type PackUpdateWithoutTeacherInput = {
11663
+ id?: StringFieldUpdateOperationsInput | string
11984
11664
  name?: StringFieldUpdateOperationsInput | string
11985
11665
  cards?: CardUpdateManyWithoutPackNestedInput
11986
11666
  users?: UserUpdateManyWithoutPacksNestedInput
@@ -11989,7 +11669,7 @@ export namespace Prisma {
11989
11669
  }
11990
11670
 
11991
11671
  export type PackUncheckedUpdateWithoutTeacherInput = {
11992
- id?: IntFieldUpdateOperationsInput | number
11672
+ id?: StringFieldUpdateOperationsInput | string
11993
11673
  name?: StringFieldUpdateOperationsInput | string
11994
11674
  cards?: CardUncheckedUpdateManyWithoutPackNestedInput
11995
11675
  users?: UserUncheckedUpdateManyWithoutPacksNestedInput