lang-database 1.4.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,7 @@ export namespace Prisma {
9019
8779
  }
9020
8780
 
9021
8781
  export type CardWhereUniqueInput = {
9022
- id?: number
8782
+ id?: string
9023
8783
  packId_front?: CardPackIdFrontCompoundUniqueInput
9024
8784
  packId_back?: CardPackIdBackCompoundUniqueInput
9025
8785
  }
@@ -9030,18 +8790,16 @@ export namespace Prisma {
9030
8790
  front?: SortOrder
9031
8791
  back?: SortOrder
9032
8792
  _count?: CardCountOrderByAggregateInput
9033
- _avg?: CardAvgOrderByAggregateInput
9034
8793
  _max?: CardMaxOrderByAggregateInput
9035
8794
  _min?: CardMinOrderByAggregateInput
9036
- _sum?: CardSumOrderByAggregateInput
9037
8795
  }
9038
8796
 
9039
8797
  export type CardScalarWhereWithAggregatesInput = {
9040
8798
  AND?: Enumerable<CardScalarWhereWithAggregatesInput>
9041
8799
  OR?: Enumerable<CardScalarWhereWithAggregatesInput>
9042
8800
  NOT?: Enumerable<CardScalarWhereWithAggregatesInput>
9043
- id?: IntWithAggregatesFilter | number
9044
- packId?: IntWithAggregatesFilter | number
8801
+ id?: StringWithAggregatesFilter | string
8802
+ packId?: StringWithAggregatesFilter | string
9045
8803
  front?: StringWithAggregatesFilter | string
9046
8804
  back?: StringWithAggregatesFilter | string
9047
8805
  }
@@ -9051,9 +8809,9 @@ export namespace Prisma {
9051
8809
  OR?: Enumerable<UserCardWhereInput>
9052
8810
  NOT?: Enumerable<UserCardWhereInput>
9053
8811
  user?: XOR<UserRelationFilter, UserWhereInput>
9054
- userId?: IntFilter | number
8812
+ userId?: StringFilter | string
9055
8813
  card?: XOR<CardRelationFilter, CardWhereInput>
9056
- cardId?: IntFilter | number
8814
+ cardId?: StringFilter | string
9057
8815
  currentInterval?: IntNullableFilter | number | null
9058
8816
  dueDate?: DateTimeNullableFilter | Date | string | null
9059
8817
  done?: BoolFilter | boolean
@@ -9090,8 +8848,8 @@ export namespace Prisma {
9090
8848
  AND?: Enumerable<UserCardScalarWhereWithAggregatesInput>
9091
8849
  OR?: Enumerable<UserCardScalarWhereWithAggregatesInput>
9092
8850
  NOT?: Enumerable<UserCardScalarWhereWithAggregatesInput>
9093
- userId?: IntWithAggregatesFilter | number
9094
- cardId?: IntWithAggregatesFilter | number
8851
+ userId?: StringWithAggregatesFilter | string
8852
+ cardId?: StringWithAggregatesFilter | string
9095
8853
  currentInterval?: IntNullableWithAggregatesFilter | number | null
9096
8854
  dueDate?: DateTimeNullableWithAggregatesFilter | Date | string | null
9097
8855
  done?: BoolWithAggregatesFilter | boolean
@@ -9101,9 +8859,9 @@ export namespace Prisma {
9101
8859
  AND?: Enumerable<PackWhereInput>
9102
8860
  OR?: Enumerable<PackWhereInput>
9103
8861
  NOT?: Enumerable<PackWhereInput>
9104
- id?: IntFilter | number
8862
+ id?: StringFilter | string
9105
8863
  teacher?: XOR<TeacherRelationFilter, TeacherWhereInput>
9106
- teacherId?: IntFilter | number
8864
+ teacherId?: StringFilter | string
9107
8865
  name?: StringFilter | string
9108
8866
  cards?: CardListRelationFilter
9109
8867
  users?: UserListRelationFilter
@@ -9123,7 +8881,7 @@ export namespace Prisma {
9123
8881
  }
9124
8882
 
9125
8883
  export type PackWhereUniqueInput = {
9126
- id?: number
8884
+ id?: string
9127
8885
  }
9128
8886
 
9129
8887
  export type PackOrderByWithAggregationInput = {
@@ -9142,8 +8900,8 @@ export namespace Prisma {
9142
8900
  AND?: Enumerable<PackScalarWhereWithAggregatesInput>
9143
8901
  OR?: Enumerable<PackScalarWhereWithAggregatesInput>
9144
8902
  NOT?: Enumerable<PackScalarWhereWithAggregatesInput>
9145
- id?: IntWithAggregatesFilter | number
9146
- teacherId?: IntWithAggregatesFilter | number
8903
+ id?: StringWithAggregatesFilter | string
8904
+ teacherId?: StringWithAggregatesFilter | string
9147
8905
  name?: StringWithAggregatesFilter | string
9148
8906
  currentPrice?: DecimalWithAggregatesFilter | Decimal | DecimalJsLike | number | string
9149
8907
  }
@@ -9152,7 +8910,7 @@ export namespace Prisma {
9152
8910
  AND?: Enumerable<UserWhereInput>
9153
8911
  OR?: Enumerable<UserWhereInput>
9154
8912
  NOT?: Enumerable<UserWhereInput>
9155
- id?: IntFilter | number
8913
+ id?: StringFilter | string
9156
8914
  email?: StringFilter | string
9157
8915
  name?: StringFilter | string
9158
8916
  googleUser?: XOR<GoogleUserRelationFilter, GoogleUserWhereInput> | null
@@ -9174,7 +8932,7 @@ export namespace Prisma {
9174
8932
  }
9175
8933
 
9176
8934
  export type UserWhereUniqueInput = {
9177
- id?: number
8935
+ id?: string
9178
8936
  email?: string
9179
8937
  }
9180
8938
 
@@ -9183,17 +8941,15 @@ export namespace Prisma {
9183
8941
  email?: SortOrder
9184
8942
  name?: SortOrder
9185
8943
  _count?: UserCountOrderByAggregateInput
9186
- _avg?: UserAvgOrderByAggregateInput
9187
8944
  _max?: UserMaxOrderByAggregateInput
9188
8945
  _min?: UserMinOrderByAggregateInput
9189
- _sum?: UserSumOrderByAggregateInput
9190
8946
  }
9191
8947
 
9192
8948
  export type UserScalarWhereWithAggregatesInput = {
9193
8949
  AND?: Enumerable<UserScalarWhereWithAggregatesInput>
9194
8950
  OR?: Enumerable<UserScalarWhereWithAggregatesInput>
9195
8951
  NOT?: Enumerable<UserScalarWhereWithAggregatesInput>
9196
- id?: IntWithAggregatesFilter | number
8952
+ id?: StringWithAggregatesFilter | string
9197
8953
  email?: StringWithAggregatesFilter | string
9198
8954
  name?: StringWithAggregatesFilter | string
9199
8955
  }
@@ -9202,7 +8958,7 @@ export namespace Prisma {
9202
8958
  AND?: Enumerable<TeacherWhereInput>
9203
8959
  OR?: Enumerable<TeacherWhereInput>
9204
8960
  NOT?: Enumerable<TeacherWhereInput>
9205
- id?: IntFilter | number
8961
+ id?: StringFilter | string
9206
8962
  email?: StringFilter | string
9207
8963
  name?: StringFilter | string
9208
8964
  password?: StringFilter | string
@@ -9218,7 +8974,7 @@ export namespace Prisma {
9218
8974
  }
9219
8975
 
9220
8976
  export type TeacherWhereUniqueInput = {
9221
- id?: number
8977
+ id?: string
9222
8978
  email?: string
9223
8979
  }
9224
8980
 
@@ -9228,17 +8984,15 @@ export namespace Prisma {
9228
8984
  name?: SortOrder
9229
8985
  password?: SortOrder
9230
8986
  _count?: TeacherCountOrderByAggregateInput
9231
- _avg?: TeacherAvgOrderByAggregateInput
9232
8987
  _max?: TeacherMaxOrderByAggregateInput
9233
8988
  _min?: TeacherMinOrderByAggregateInput
9234
- _sum?: TeacherSumOrderByAggregateInput
9235
8989
  }
9236
8990
 
9237
8991
  export type TeacherScalarWhereWithAggregatesInput = {
9238
8992
  AND?: Enumerable<TeacherScalarWhereWithAggregatesInput>
9239
8993
  OR?: Enumerable<TeacherScalarWhereWithAggregatesInput>
9240
8994
  NOT?: Enumerable<TeacherScalarWhereWithAggregatesInput>
9241
- id?: IntWithAggregatesFilter | number
8995
+ id?: StringWithAggregatesFilter | string
9242
8996
  email?: StringWithAggregatesFilter | string
9243
8997
  name?: StringWithAggregatesFilter | string
9244
8998
  password?: StringWithAggregatesFilter | string
@@ -9250,7 +9004,7 @@ export namespace Prisma {
9250
9004
  NOT?: Enumerable<GoogleUserWhereInput>
9251
9005
  id?: StringFilter | string
9252
9006
  user?: XOR<UserRelationFilter, UserWhereInput>
9253
- userId?: IntFilter | number
9007
+ userId?: StringFilter | string
9254
9008
  }
9255
9009
 
9256
9010
  export type GoogleUserOrderByWithRelationInput = {
@@ -9261,17 +9015,15 @@ export namespace Prisma {
9261
9015
 
9262
9016
  export type GoogleUserWhereUniqueInput = {
9263
9017
  id?: string
9264
- userId?: number
9018
+ userId?: string
9265
9019
  }
9266
9020
 
9267
9021
  export type GoogleUserOrderByWithAggregationInput = {
9268
9022
  id?: SortOrder
9269
9023
  userId?: SortOrder
9270
9024
  _count?: GoogleUserCountOrderByAggregateInput
9271
- _avg?: GoogleUserAvgOrderByAggregateInput
9272
9025
  _max?: GoogleUserMaxOrderByAggregateInput
9273
9026
  _min?: GoogleUserMinOrderByAggregateInput
9274
- _sum?: GoogleUserSumOrderByAggregateInput
9275
9027
  }
9276
9028
 
9277
9029
  export type GoogleUserScalarWhereWithAggregatesInput = {
@@ -9279,17 +9031,17 @@ export namespace Prisma {
9279
9031
  OR?: Enumerable<GoogleUserScalarWhereWithAggregatesInput>
9280
9032
  NOT?: Enumerable<GoogleUserScalarWhereWithAggregatesInput>
9281
9033
  id?: StringWithAggregatesFilter | string
9282
- userId?: IntWithAggregatesFilter | number
9034
+ userId?: StringWithAggregatesFilter | string
9283
9035
  }
9284
9036
 
9285
9037
  export type AnswerWhereInput = {
9286
9038
  AND?: Enumerable<AnswerWhereInput>
9287
9039
  OR?: Enumerable<AnswerWhereInput>
9288
9040
  NOT?: Enumerable<AnswerWhereInput>
9289
- id?: IntFilter | number
9041
+ id?: StringFilter | string
9290
9042
  user?: XOR<UserRelationFilter, UserWhereInput>
9291
- userId?: IntFilter | number
9292
- cardId?: IntFilter | number
9043
+ userId?: StringFilter | string
9044
+ cardId?: StringFilter | string
9293
9045
  status?: StringFilter | string
9294
9046
  timestamp?: StringFilter | string
9295
9047
  }
@@ -9304,7 +9056,7 @@ export namespace Prisma {
9304
9056
  }
9305
9057
 
9306
9058
  export type AnswerWhereUniqueInput = {
9307
- id?: number
9059
+ id?: string
9308
9060
  }
9309
9061
 
9310
9062
  export type AnswerOrderByWithAggregationInput = {
@@ -9314,19 +9066,17 @@ export namespace Prisma {
9314
9066
  status?: SortOrder
9315
9067
  timestamp?: SortOrder
9316
9068
  _count?: AnswerCountOrderByAggregateInput
9317
- _avg?: AnswerAvgOrderByAggregateInput
9318
9069
  _max?: AnswerMaxOrderByAggregateInput
9319
9070
  _min?: AnswerMinOrderByAggregateInput
9320
- _sum?: AnswerSumOrderByAggregateInput
9321
9071
  }
9322
9072
 
9323
9073
  export type AnswerScalarWhereWithAggregatesInput = {
9324
9074
  AND?: Enumerable<AnswerScalarWhereWithAggregatesInput>
9325
9075
  OR?: Enumerable<AnswerScalarWhereWithAggregatesInput>
9326
9076
  NOT?: Enumerable<AnswerScalarWhereWithAggregatesInput>
9327
- id?: IntWithAggregatesFilter | number
9328
- userId?: IntWithAggregatesFilter | number
9329
- cardId?: IntWithAggregatesFilter | number
9077
+ id?: StringWithAggregatesFilter | string
9078
+ userId?: StringWithAggregatesFilter | string
9079
+ cardId?: StringWithAggregatesFilter | string
9330
9080
  status?: StringWithAggregatesFilter | string
9331
9081
  timestamp?: StringWithAggregatesFilter | string
9332
9082
  }
@@ -9335,11 +9085,11 @@ export namespace Prisma {
9335
9085
  AND?: Enumerable<PurchaseWhereInput>
9336
9086
  OR?: Enumerable<PurchaseWhereInput>
9337
9087
  NOT?: Enumerable<PurchaseWhereInput>
9338
- id?: IntFilter | number
9088
+ id?: StringFilter | string
9339
9089
  user?: XOR<UserRelationFilter, UserWhereInput>
9340
- userId?: IntFilter | number
9090
+ userId?: StringFilter | string
9341
9091
  pack?: XOR<PackRelationFilter, PackWhereInput>
9342
- packId?: IntFilter | number
9092
+ packId?: StringFilter | string
9343
9093
  price?: StringFilter | string
9344
9094
  }
9345
9095
 
@@ -9353,7 +9103,7 @@ export namespace Prisma {
9353
9103
  }
9354
9104
 
9355
9105
  export type PurchaseWhereUniqueInput = {
9356
- id?: number
9106
+ id?: string
9357
9107
  }
9358
9108
 
9359
9109
  export type PurchaseOrderByWithAggregationInput = {
@@ -9362,23 +9112,22 @@ export namespace Prisma {
9362
9112
  packId?: SortOrder
9363
9113
  price?: SortOrder
9364
9114
  _count?: PurchaseCountOrderByAggregateInput
9365
- _avg?: PurchaseAvgOrderByAggregateInput
9366
9115
  _max?: PurchaseMaxOrderByAggregateInput
9367
9116
  _min?: PurchaseMinOrderByAggregateInput
9368
- _sum?: PurchaseSumOrderByAggregateInput
9369
9117
  }
9370
9118
 
9371
9119
  export type PurchaseScalarWhereWithAggregatesInput = {
9372
9120
  AND?: Enumerable<PurchaseScalarWhereWithAggregatesInput>
9373
9121
  OR?: Enumerable<PurchaseScalarWhereWithAggregatesInput>
9374
9122
  NOT?: Enumerable<PurchaseScalarWhereWithAggregatesInput>
9375
- id?: IntWithAggregatesFilter | number
9376
- userId?: IntWithAggregatesFilter | number
9377
- packId?: IntWithAggregatesFilter | number
9123
+ id?: StringWithAggregatesFilter | string
9124
+ userId?: StringWithAggregatesFilter | string
9125
+ packId?: StringWithAggregatesFilter | string
9378
9126
  price?: StringWithAggregatesFilter | string
9379
9127
  }
9380
9128
 
9381
9129
  export type CardCreateInput = {
9130
+ id?: string
9382
9131
  pack: PackCreateNestedOneWithoutCardsInput
9383
9132
  front: string
9384
9133
  back: string
@@ -9386,14 +9135,15 @@ export namespace Prisma {
9386
9135
  }
9387
9136
 
9388
9137
  export type CardUncheckedCreateInput = {
9389
- id?: number
9390
- packId: number
9138
+ id?: string
9139
+ packId: string
9391
9140
  front: string
9392
9141
  back: string
9393
9142
  userCards?: UserCardUncheckedCreateNestedManyWithoutCardInput
9394
9143
  }
9395
9144
 
9396
9145
  export type CardUpdateInput = {
9146
+ id?: StringFieldUpdateOperationsInput | string
9397
9147
  pack?: PackUpdateOneRequiredWithoutCardsNestedInput
9398
9148
  front?: StringFieldUpdateOperationsInput | string
9399
9149
  back?: StringFieldUpdateOperationsInput | string
@@ -9401,28 +9151,29 @@ export namespace Prisma {
9401
9151
  }
9402
9152
 
9403
9153
  export type CardUncheckedUpdateInput = {
9404
- id?: IntFieldUpdateOperationsInput | number
9405
- packId?: IntFieldUpdateOperationsInput | number
9154
+ id?: StringFieldUpdateOperationsInput | string
9155
+ packId?: StringFieldUpdateOperationsInput | string
9406
9156
  front?: StringFieldUpdateOperationsInput | string
9407
9157
  back?: StringFieldUpdateOperationsInput | string
9408
9158
  userCards?: UserCardUncheckedUpdateManyWithoutCardNestedInput
9409
9159
  }
9410
9160
 
9411
9161
  export type CardCreateManyInput = {
9412
- id?: number
9413
- packId: number
9162
+ id?: string
9163
+ packId: string
9414
9164
  front: string
9415
9165
  back: string
9416
9166
  }
9417
9167
 
9418
9168
  export type CardUpdateManyMutationInput = {
9169
+ id?: StringFieldUpdateOperationsInput | string
9419
9170
  front?: StringFieldUpdateOperationsInput | string
9420
9171
  back?: StringFieldUpdateOperationsInput | string
9421
9172
  }
9422
9173
 
9423
9174
  export type CardUncheckedUpdateManyInput = {
9424
- id?: IntFieldUpdateOperationsInput | number
9425
- packId?: IntFieldUpdateOperationsInput | number
9175
+ id?: StringFieldUpdateOperationsInput | string
9176
+ packId?: StringFieldUpdateOperationsInput | string
9426
9177
  front?: StringFieldUpdateOperationsInput | string
9427
9178
  back?: StringFieldUpdateOperationsInput | string
9428
9179
  }
@@ -9436,8 +9187,8 @@ export namespace Prisma {
9436
9187
  }
9437
9188
 
9438
9189
  export type UserCardUncheckedCreateInput = {
9439
- userId: number
9440
- cardId: number
9190
+ userId: string
9191
+ cardId: string
9441
9192
  currentInterval?: number | null
9442
9193
  dueDate?: Date | string | null
9443
9194
  done: boolean
@@ -9452,16 +9203,16 @@ export namespace Prisma {
9452
9203
  }
9453
9204
 
9454
9205
  export type UserCardUncheckedUpdateInput = {
9455
- userId?: IntFieldUpdateOperationsInput | number
9456
- cardId?: IntFieldUpdateOperationsInput | number
9206
+ userId?: StringFieldUpdateOperationsInput | string
9207
+ cardId?: StringFieldUpdateOperationsInput | string
9457
9208
  currentInterval?: NullableIntFieldUpdateOperationsInput | number | null
9458
9209
  dueDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
9459
9210
  done?: BoolFieldUpdateOperationsInput | boolean
9460
9211
  }
9461
9212
 
9462
9213
  export type UserCardCreateManyInput = {
9463
- userId: number
9464
- cardId: number
9214
+ userId: string
9215
+ cardId: string
9465
9216
  currentInterval?: number | null
9466
9217
  dueDate?: Date | string | null
9467
9218
  done: boolean
@@ -9474,14 +9225,15 @@ export namespace Prisma {
9474
9225
  }
9475
9226
 
9476
9227
  export type UserCardUncheckedUpdateManyInput = {
9477
- userId?: IntFieldUpdateOperationsInput | number
9478
- cardId?: IntFieldUpdateOperationsInput | number
9228
+ userId?: StringFieldUpdateOperationsInput | string
9229
+ cardId?: StringFieldUpdateOperationsInput | string
9479
9230
  currentInterval?: NullableIntFieldUpdateOperationsInput | number | null
9480
9231
  dueDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
9481
9232
  done?: BoolFieldUpdateOperationsInput | boolean
9482
9233
  }
9483
9234
 
9484
9235
  export type PackCreateInput = {
9236
+ id?: string
9485
9237
  teacher: TeacherCreateNestedOneWithoutPacksInput
9486
9238
  name: string
9487
9239
  cards?: CardCreateNestedManyWithoutPackInput
@@ -9491,8 +9243,8 @@ export namespace Prisma {
9491
9243
  }
9492
9244
 
9493
9245
  export type PackUncheckedCreateInput = {
9494
- id?: number
9495
- teacherId: number
9246
+ id?: string
9247
+ teacherId: string
9496
9248
  name: string
9497
9249
  cards?: CardUncheckedCreateNestedManyWithoutPackInput
9498
9250
  users?: UserUncheckedCreateNestedManyWithoutPacksInput
@@ -9501,6 +9253,7 @@ export namespace Prisma {
9501
9253
  }
9502
9254
 
9503
9255
  export type PackUpdateInput = {
9256
+ id?: StringFieldUpdateOperationsInput | string
9504
9257
  teacher?: TeacherUpdateOneRequiredWithoutPacksNestedInput
9505
9258
  name?: StringFieldUpdateOperationsInput | string
9506
9259
  cards?: CardUpdateManyWithoutPackNestedInput
@@ -9510,8 +9263,8 @@ export namespace Prisma {
9510
9263
  }
9511
9264
 
9512
9265
  export type PackUncheckedUpdateInput = {
9513
- id?: IntFieldUpdateOperationsInput | number
9514
- teacherId?: IntFieldUpdateOperationsInput | number
9266
+ id?: StringFieldUpdateOperationsInput | string
9267
+ teacherId?: StringFieldUpdateOperationsInput | string
9515
9268
  name?: StringFieldUpdateOperationsInput | string
9516
9269
  cards?: CardUncheckedUpdateManyWithoutPackNestedInput
9517
9270
  users?: UserUncheckedUpdateManyWithoutPacksNestedInput
@@ -9520,25 +9273,27 @@ export namespace Prisma {
9520
9273
  }
9521
9274
 
9522
9275
  export type PackCreateManyInput = {
9523
- id?: number
9524
- teacherId: number
9276
+ id?: string
9277
+ teacherId: string
9525
9278
  name: string
9526
9279
  currentPrice: Decimal | DecimalJsLike | number | string
9527
9280
  }
9528
9281
 
9529
9282
  export type PackUpdateManyMutationInput = {
9283
+ id?: StringFieldUpdateOperationsInput | string
9530
9284
  name?: StringFieldUpdateOperationsInput | string
9531
9285
  currentPrice?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
9532
9286
  }
9533
9287
 
9534
9288
  export type PackUncheckedUpdateManyInput = {
9535
- id?: IntFieldUpdateOperationsInput | number
9536
- teacherId?: IntFieldUpdateOperationsInput | number
9289
+ id?: StringFieldUpdateOperationsInput | string
9290
+ teacherId?: StringFieldUpdateOperationsInput | string
9537
9291
  name?: StringFieldUpdateOperationsInput | string
9538
9292
  currentPrice?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
9539
9293
  }
9540
9294
 
9541
9295
  export type UserCreateInput = {
9296
+ id?: string
9542
9297
  email: string
9543
9298
  name: string
9544
9299
  googleUser?: GoogleUserCreateNestedOneWithoutUserInput
@@ -9549,7 +9304,7 @@ export namespace Prisma {
9549
9304
  }
9550
9305
 
9551
9306
  export type UserUncheckedCreateInput = {
9552
- id?: number
9307
+ id?: string
9553
9308
  email: string
9554
9309
  name: string
9555
9310
  googleUser?: GoogleUserUncheckedCreateNestedOneWithoutUserInput
@@ -9560,6 +9315,7 @@ export namespace Prisma {
9560
9315
  }
9561
9316
 
9562
9317
  export type UserUpdateInput = {
9318
+ id?: StringFieldUpdateOperationsInput | string
9563
9319
  email?: StringFieldUpdateOperationsInput | string
9564
9320
  name?: StringFieldUpdateOperationsInput | string
9565
9321
  googleUser?: GoogleUserUpdateOneWithoutUserNestedInput
@@ -9570,7 +9326,7 @@ export namespace Prisma {
9570
9326
  }
9571
9327
 
9572
9328
  export type UserUncheckedUpdateInput = {
9573
- id?: IntFieldUpdateOperationsInput | number
9329
+ id?: StringFieldUpdateOperationsInput | string
9574
9330
  email?: StringFieldUpdateOperationsInput | string
9575
9331
  name?: StringFieldUpdateOperationsInput | string
9576
9332
  googleUser?: GoogleUserUncheckedUpdateOneWithoutUserNestedInput
@@ -9581,23 +9337,25 @@ export namespace Prisma {
9581
9337
  }
9582
9338
 
9583
9339
  export type UserCreateManyInput = {
9584
- id?: number
9340
+ id?: string
9585
9341
  email: string
9586
9342
  name: string
9587
9343
  }
9588
9344
 
9589
9345
  export type UserUpdateManyMutationInput = {
9346
+ id?: StringFieldUpdateOperationsInput | string
9590
9347
  email?: StringFieldUpdateOperationsInput | string
9591
9348
  name?: StringFieldUpdateOperationsInput | string
9592
9349
  }
9593
9350
 
9594
9351
  export type UserUncheckedUpdateManyInput = {
9595
- id?: IntFieldUpdateOperationsInput | number
9352
+ id?: StringFieldUpdateOperationsInput | string
9596
9353
  email?: StringFieldUpdateOperationsInput | string
9597
9354
  name?: StringFieldUpdateOperationsInput | string
9598
9355
  }
9599
9356
 
9600
9357
  export type TeacherCreateInput = {
9358
+ id?: string
9601
9359
  email: string
9602
9360
  name: string
9603
9361
  password: string
@@ -9605,7 +9363,7 @@ export namespace Prisma {
9605
9363
  }
9606
9364
 
9607
9365
  export type TeacherUncheckedCreateInput = {
9608
- id?: number
9366
+ id?: string
9609
9367
  email: string
9610
9368
  name: string
9611
9369
  password: string
@@ -9613,6 +9371,7 @@ export namespace Prisma {
9613
9371
  }
9614
9372
 
9615
9373
  export type TeacherUpdateInput = {
9374
+ id?: StringFieldUpdateOperationsInput | string
9616
9375
  email?: StringFieldUpdateOperationsInput | string
9617
9376
  name?: StringFieldUpdateOperationsInput | string
9618
9377
  password?: StringFieldUpdateOperationsInput | string
@@ -9620,7 +9379,7 @@ export namespace Prisma {
9620
9379
  }
9621
9380
 
9622
9381
  export type TeacherUncheckedUpdateInput = {
9623
- id?: IntFieldUpdateOperationsInput | number
9382
+ id?: StringFieldUpdateOperationsInput | string
9624
9383
  email?: StringFieldUpdateOperationsInput | string
9625
9384
  name?: StringFieldUpdateOperationsInput | string
9626
9385
  password?: StringFieldUpdateOperationsInput | string
@@ -9628,20 +9387,21 @@ export namespace Prisma {
9628
9387
  }
9629
9388
 
9630
9389
  export type TeacherCreateManyInput = {
9631
- id?: number
9390
+ id?: string
9632
9391
  email: string
9633
9392
  name: string
9634
9393
  password: string
9635
9394
  }
9636
9395
 
9637
9396
  export type TeacherUpdateManyMutationInput = {
9397
+ id?: StringFieldUpdateOperationsInput | string
9638
9398
  email?: StringFieldUpdateOperationsInput | string
9639
9399
  name?: StringFieldUpdateOperationsInput | string
9640
9400
  password?: StringFieldUpdateOperationsInput | string
9641
9401
  }
9642
9402
 
9643
9403
  export type TeacherUncheckedUpdateManyInput = {
9644
- id?: IntFieldUpdateOperationsInput | number
9404
+ id?: StringFieldUpdateOperationsInput | string
9645
9405
  email?: StringFieldUpdateOperationsInput | string
9646
9406
  name?: StringFieldUpdateOperationsInput | string
9647
9407
  password?: StringFieldUpdateOperationsInput | string
@@ -9654,7 +9414,7 @@ export namespace Prisma {
9654
9414
 
9655
9415
  export type GoogleUserUncheckedCreateInput = {
9656
9416
  id: string
9657
- userId: number
9417
+ userId: string
9658
9418
  }
9659
9419
 
9660
9420
  export type GoogleUserUpdateInput = {
@@ -9664,12 +9424,12 @@ export namespace Prisma {
9664
9424
 
9665
9425
  export type GoogleUserUncheckedUpdateInput = {
9666
9426
  id?: StringFieldUpdateOperationsInput | string
9667
- userId?: IntFieldUpdateOperationsInput | number
9427
+ userId?: StringFieldUpdateOperationsInput | string
9668
9428
  }
9669
9429
 
9670
9430
  export type GoogleUserCreateManyInput = {
9671
9431
  id: string
9672
- userId: number
9432
+ userId: string
9673
9433
  }
9674
9434
 
9675
9435
  export type GoogleUserUpdateManyMutationInput = {
@@ -9678,121 +9438,111 @@ export namespace Prisma {
9678
9438
 
9679
9439
  export type GoogleUserUncheckedUpdateManyInput = {
9680
9440
  id?: StringFieldUpdateOperationsInput | string
9681
- userId?: IntFieldUpdateOperationsInput | number
9441
+ userId?: StringFieldUpdateOperationsInput | string
9682
9442
  }
9683
9443
 
9684
9444
  export type AnswerCreateInput = {
9445
+ id?: string
9685
9446
  user: UserCreateNestedOneWithoutAnswersInput
9686
- cardId: number
9447
+ cardId: string
9687
9448
  status: string
9688
9449
  timestamp: string
9689
9450
  }
9690
9451
 
9691
9452
  export type AnswerUncheckedCreateInput = {
9692
- id?: number
9693
- userId: number
9694
- cardId: number
9453
+ id?: string
9454
+ userId: string
9455
+ cardId: string
9695
9456
  status: string
9696
9457
  timestamp: string
9697
9458
  }
9698
9459
 
9699
9460
  export type AnswerUpdateInput = {
9461
+ id?: StringFieldUpdateOperationsInput | string
9700
9462
  user?: UserUpdateOneRequiredWithoutAnswersNestedInput
9701
- cardId?: IntFieldUpdateOperationsInput | number
9463
+ cardId?: StringFieldUpdateOperationsInput | string
9702
9464
  status?: StringFieldUpdateOperationsInput | string
9703
9465
  timestamp?: StringFieldUpdateOperationsInput | string
9704
9466
  }
9705
9467
 
9706
9468
  export type AnswerUncheckedUpdateInput = {
9707
- id?: IntFieldUpdateOperationsInput | number
9708
- userId?: IntFieldUpdateOperationsInput | number
9709
- cardId?: IntFieldUpdateOperationsInput | number
9469
+ id?: StringFieldUpdateOperationsInput | string
9470
+ userId?: StringFieldUpdateOperationsInput | string
9471
+ cardId?: StringFieldUpdateOperationsInput | string
9710
9472
  status?: StringFieldUpdateOperationsInput | string
9711
9473
  timestamp?: StringFieldUpdateOperationsInput | string
9712
9474
  }
9713
9475
 
9714
9476
  export type AnswerCreateManyInput = {
9715
- id?: number
9716
- userId: number
9717
- cardId: number
9477
+ id?: string
9478
+ userId: string
9479
+ cardId: string
9718
9480
  status: string
9719
9481
  timestamp: string
9720
9482
  }
9721
9483
 
9722
9484
  export type AnswerUpdateManyMutationInput = {
9723
- cardId?: IntFieldUpdateOperationsInput | number
9485
+ id?: StringFieldUpdateOperationsInput | string
9486
+ cardId?: StringFieldUpdateOperationsInput | string
9724
9487
  status?: StringFieldUpdateOperationsInput | string
9725
9488
  timestamp?: StringFieldUpdateOperationsInput | string
9726
9489
  }
9727
9490
 
9728
9491
  export type AnswerUncheckedUpdateManyInput = {
9729
- id?: IntFieldUpdateOperationsInput | number
9730
- userId?: IntFieldUpdateOperationsInput | number
9731
- cardId?: IntFieldUpdateOperationsInput | number
9492
+ id?: StringFieldUpdateOperationsInput | string
9493
+ userId?: StringFieldUpdateOperationsInput | string
9494
+ cardId?: StringFieldUpdateOperationsInput | string
9732
9495
  status?: StringFieldUpdateOperationsInput | string
9733
9496
  timestamp?: StringFieldUpdateOperationsInput | string
9734
9497
  }
9735
9498
 
9736
9499
  export type PurchaseCreateInput = {
9500
+ id?: string
9737
9501
  user: UserCreateNestedOneWithoutPurchasesInput
9738
9502
  pack: PackCreateNestedOneWithoutPurchaseInput
9739
9503
  price: string
9740
9504
  }
9741
9505
 
9742
9506
  export type PurchaseUncheckedCreateInput = {
9743
- id?: number
9744
- userId: number
9745
- packId: number
9507
+ id?: string
9508
+ userId: string
9509
+ packId: string
9746
9510
  price: string
9747
9511
  }
9748
9512
 
9749
9513
  export type PurchaseUpdateInput = {
9514
+ id?: StringFieldUpdateOperationsInput | string
9750
9515
  user?: UserUpdateOneRequiredWithoutPurchasesNestedInput
9751
9516
  pack?: PackUpdateOneRequiredWithoutPurchaseNestedInput
9752
9517
  price?: StringFieldUpdateOperationsInput | string
9753
9518
  }
9754
9519
 
9755
9520
  export type PurchaseUncheckedUpdateInput = {
9756
- id?: IntFieldUpdateOperationsInput | number
9757
- userId?: IntFieldUpdateOperationsInput | number
9758
- packId?: IntFieldUpdateOperationsInput | number
9521
+ id?: StringFieldUpdateOperationsInput | string
9522
+ userId?: StringFieldUpdateOperationsInput | string
9523
+ packId?: StringFieldUpdateOperationsInput | string
9759
9524
  price?: StringFieldUpdateOperationsInput | string
9760
9525
  }
9761
9526
 
9762
9527
  export type PurchaseCreateManyInput = {
9763
- id?: number
9764
- userId: number
9765
- packId: number
9528
+ id?: string
9529
+ userId: string
9530
+ packId: string
9766
9531
  price: string
9767
9532
  }
9768
9533
 
9769
9534
  export type PurchaseUpdateManyMutationInput = {
9535
+ id?: StringFieldUpdateOperationsInput | string
9770
9536
  price?: StringFieldUpdateOperationsInput | string
9771
9537
  }
9772
9538
 
9773
9539
  export type PurchaseUncheckedUpdateManyInput = {
9774
- id?: IntFieldUpdateOperationsInput | number
9775
- userId?: IntFieldUpdateOperationsInput | number
9776
- packId?: IntFieldUpdateOperationsInput | number
9540
+ id?: StringFieldUpdateOperationsInput | string
9541
+ userId?: StringFieldUpdateOperationsInput | string
9542
+ packId?: StringFieldUpdateOperationsInput | string
9777
9543
  price?: StringFieldUpdateOperationsInput | string
9778
9544
  }
9779
9545
 
9780
- export type IntFilter = {
9781
- equals?: number
9782
- in?: Enumerable<number>
9783
- notIn?: Enumerable<number>
9784
- lt?: number
9785
- lte?: number
9786
- gt?: number
9787
- gte?: number
9788
- not?: NestedIntFilter | number
9789
- }
9790
-
9791
- export type PackRelationFilter = {
9792
- is?: PackWhereInput
9793
- isNot?: PackWhereInput
9794
- }
9795
-
9796
9546
  export type StringFilter = {
9797
9547
  equals?: string
9798
9548
  in?: Enumerable<string>
@@ -9808,6 +9558,11 @@ export namespace Prisma {
9808
9558
  not?: NestedStringFilter | string
9809
9559
  }
9810
9560
 
9561
+ export type PackRelationFilter = {
9562
+ is?: PackWhereInput
9563
+ isNot?: PackWhereInput
9564
+ }
9565
+
9811
9566
  export type UserCardListRelationFilter = {
9812
9567
  every?: UserCardWhereInput
9813
9568
  some?: UserCardWhereInput
@@ -9819,12 +9574,12 @@ export namespace Prisma {
9819
9574
  }
9820
9575
 
9821
9576
  export type CardPackIdFrontCompoundUniqueInput = {
9822
- packId: number
9577
+ packId: string
9823
9578
  front: string
9824
9579
  }
9825
9580
 
9826
9581
  export type CardPackIdBackCompoundUniqueInput = {
9827
- packId: number
9582
+ packId: string
9828
9583
  back: string
9829
9584
  }
9830
9585
 
@@ -9835,11 +9590,6 @@ export namespace Prisma {
9835
9590
  back?: SortOrder
9836
9591
  }
9837
9592
 
9838
- export type CardAvgOrderByAggregateInput = {
9839
- id?: SortOrder
9840
- packId?: SortOrder
9841
- }
9842
-
9843
9593
  export type CardMaxOrderByAggregateInput = {
9844
9594
  id?: SortOrder
9845
9595
  packId?: SortOrder
@@ -9854,27 +9604,6 @@ export namespace Prisma {
9854
9604
  back?: SortOrder
9855
9605
  }
9856
9606
 
9857
- export type CardSumOrderByAggregateInput = {
9858
- id?: SortOrder
9859
- packId?: SortOrder
9860
- }
9861
-
9862
- export type IntWithAggregatesFilter = {
9863
- equals?: number
9864
- in?: Enumerable<number>
9865
- notIn?: Enumerable<number>
9866
- lt?: number
9867
- lte?: number
9868
- gt?: number
9869
- gte?: number
9870
- not?: NestedIntWithAggregatesFilter | number
9871
- _count?: NestedIntFilter
9872
- _avg?: NestedFloatFilter
9873
- _sum?: NestedIntFilter
9874
- _min?: NestedIntFilter
9875
- _max?: NestedIntFilter
9876
- }
9877
-
9878
9607
  export type StringWithAggregatesFilter = {
9879
9608
  equals?: string
9880
9609
  in?: Enumerable<string>
@@ -9931,8 +9660,8 @@ export namespace Prisma {
9931
9660
  }
9932
9661
 
9933
9662
  export type UserCardUserIdCardIdCompoundUniqueInput = {
9934
- userId: number
9935
- cardId: number
9663
+ userId: string
9664
+ cardId: string
9936
9665
  }
9937
9666
 
9938
9667
  export type UserCardCountOrderByAggregateInput = {
@@ -9944,8 +9673,6 @@ export namespace Prisma {
9944
9673
  }
9945
9674
 
9946
9675
  export type UserCardAvgOrderByAggregateInput = {
9947
- userId?: SortOrder
9948
- cardId?: SortOrder
9949
9676
  currentInterval?: SortOrder
9950
9677
  }
9951
9678
 
@@ -9966,8 +9693,6 @@ export namespace Prisma {
9966
9693
  }
9967
9694
 
9968
9695
  export type UserCardSumOrderByAggregateInput = {
9969
- userId?: SortOrder
9970
- cardId?: SortOrder
9971
9696
  currentInterval?: SortOrder
9972
9697
  }
9973
9698
 
@@ -10063,8 +9788,6 @@ export namespace Prisma {
10063
9788
  }
10064
9789
 
10065
9790
  export type PackAvgOrderByAggregateInput = {
10066
- id?: SortOrder
10067
- teacherId?: SortOrder
10068
9791
  currentPrice?: SortOrder
10069
9792
  }
10070
9793
 
@@ -10083,8 +9806,6 @@ export namespace Prisma {
10083
9806
  }
10084
9807
 
10085
9808
  export type PackSumOrderByAggregateInput = {
10086
- id?: SortOrder
10087
- teacherId?: SortOrder
10088
9809
  currentPrice?: SortOrder
10089
9810
  }
10090
9811
 
@@ -10135,10 +9856,6 @@ export namespace Prisma {
10135
9856
  name?: SortOrder
10136
9857
  }
10137
9858
 
10138
- export type UserAvgOrderByAggregateInput = {
10139
- id?: SortOrder
10140
- }
10141
-
10142
9859
  export type UserMaxOrderByAggregateInput = {
10143
9860
  id?: SortOrder
10144
9861
  email?: SortOrder
@@ -10151,10 +9868,6 @@ export namespace Prisma {
10151
9868
  name?: SortOrder
10152
9869
  }
10153
9870
 
10154
- export type UserSumOrderByAggregateInput = {
10155
- id?: SortOrder
10156
- }
10157
-
10158
9871
  export type TeacherCountOrderByAggregateInput = {
10159
9872
  id?: SortOrder
10160
9873
  email?: SortOrder
@@ -10162,10 +9875,6 @@ export namespace Prisma {
10162
9875
  password?: SortOrder
10163
9876
  }
10164
9877
 
10165
- export type TeacherAvgOrderByAggregateInput = {
10166
- id?: SortOrder
10167
- }
10168
-
10169
9878
  export type TeacherMaxOrderByAggregateInput = {
10170
9879
  id?: SortOrder
10171
9880
  email?: SortOrder
@@ -10180,19 +9889,11 @@ export namespace Prisma {
10180
9889
  password?: SortOrder
10181
9890
  }
10182
9891
 
10183
- export type TeacherSumOrderByAggregateInput = {
10184
- id?: SortOrder
10185
- }
10186
-
10187
9892
  export type GoogleUserCountOrderByAggregateInput = {
10188
9893
  id?: SortOrder
10189
9894
  userId?: SortOrder
10190
9895
  }
10191
9896
 
10192
- export type GoogleUserAvgOrderByAggregateInput = {
10193
- userId?: SortOrder
10194
- }
10195
-
10196
9897
  export type GoogleUserMaxOrderByAggregateInput = {
10197
9898
  id?: SortOrder
10198
9899
  userId?: SortOrder
@@ -10203,10 +9904,6 @@ export namespace Prisma {
10203
9904
  userId?: SortOrder
10204
9905
  }
10205
9906
 
10206
- export type GoogleUserSumOrderByAggregateInput = {
10207
- userId?: SortOrder
10208
- }
10209
-
10210
9907
  export type AnswerCountOrderByAggregateInput = {
10211
9908
  id?: SortOrder
10212
9909
  userId?: SortOrder
@@ -10215,12 +9912,6 @@ export namespace Prisma {
10215
9912
  timestamp?: SortOrder
10216
9913
  }
10217
9914
 
10218
- export type AnswerAvgOrderByAggregateInput = {
10219
- id?: SortOrder
10220
- userId?: SortOrder
10221
- cardId?: SortOrder
10222
- }
10223
-
10224
9915
  export type AnswerMaxOrderByAggregateInput = {
10225
9916
  id?: SortOrder
10226
9917
  userId?: SortOrder
@@ -10237,12 +9928,6 @@ export namespace Prisma {
10237
9928
  timestamp?: SortOrder
10238
9929
  }
10239
9930
 
10240
- export type AnswerSumOrderByAggregateInput = {
10241
- id?: SortOrder
10242
- userId?: SortOrder
10243
- cardId?: SortOrder
10244
- }
10245
-
10246
9931
  export type PurchaseCountOrderByAggregateInput = {
10247
9932
  id?: SortOrder
10248
9933
  userId?: SortOrder
@@ -10250,12 +9935,6 @@ export namespace Prisma {
10250
9935
  price?: SortOrder
10251
9936
  }
10252
9937
 
10253
- export type PurchaseAvgOrderByAggregateInput = {
10254
- id?: SortOrder
10255
- userId?: SortOrder
10256
- packId?: SortOrder
10257
- }
10258
-
10259
9938
  export type PurchaseMaxOrderByAggregateInput = {
10260
9939
  id?: SortOrder
10261
9940
  userId?: SortOrder
@@ -10270,12 +9949,6 @@ export namespace Prisma {
10270
9949
  price?: SortOrder
10271
9950
  }
10272
9951
 
10273
- export type PurchaseSumOrderByAggregateInput = {
10274
- id?: SortOrder
10275
- userId?: SortOrder
10276
- packId?: SortOrder
10277
- }
10278
-
10279
9952
  export type PackCreateNestedOneWithoutCardsInput = {
10280
9953
  create?: XOR<PackCreateWithoutCardsInput, PackUncheckedCreateWithoutCardsInput>
10281
9954
  connectOrCreate?: PackCreateOrConnectWithoutCardsInput
@@ -10296,6 +9969,10 @@ export namespace Prisma {
10296
9969
  connect?: Enumerable<UserCardWhereUniqueInput>
10297
9970
  }
10298
9971
 
9972
+ export type StringFieldUpdateOperationsInput = {
9973
+ set?: string
9974
+ }
9975
+
10299
9976
  export type PackUpdateOneRequiredWithoutCardsNestedInput = {
10300
9977
  create?: XOR<PackCreateWithoutCardsInput, PackUncheckedCreateWithoutCardsInput>
10301
9978
  connectOrCreate?: PackCreateOrConnectWithoutCardsInput
@@ -10304,10 +9981,6 @@ export namespace Prisma {
10304
9981
  update?: XOR<PackUpdateWithoutCardsInput, PackUncheckedUpdateWithoutCardsInput>
10305
9982
  }
10306
9983
 
10307
- export type StringFieldUpdateOperationsInput = {
10308
- set?: string
10309
- }
10310
-
10311
9984
  export type UserCardUpdateManyWithoutCardNestedInput = {
10312
9985
  create?: XOR<Enumerable<UserCardCreateWithoutCardInput>, Enumerable<UserCardUncheckedCreateWithoutCardInput>>
10313
9986
  connectOrCreate?: Enumerable<UserCardCreateOrConnectWithoutCardInput>
@@ -10322,14 +9995,6 @@ export namespace Prisma {
10322
9995
  deleteMany?: Enumerable<UserCardScalarWhereInput>
10323
9996
  }
10324
9997
 
10325
- export type IntFieldUpdateOperationsInput = {
10326
- set?: number
10327
- increment?: number
10328
- decrement?: number
10329
- multiply?: number
10330
- divide?: number
10331
- }
10332
-
10333
9998
  export type UserCardUncheckedUpdateManyWithoutCardNestedInput = {
10334
9999
  create?: XOR<Enumerable<UserCardCreateWithoutCardInput>, Enumerable<UserCardUncheckedCreateWithoutCardInput>>
10335
10000
  connectOrCreate?: Enumerable<UserCardCreateOrConnectWithoutCardInput>
@@ -10826,17 +10491,6 @@ export namespace Prisma {
10826
10491
  update?: XOR<PackUpdateWithoutPurchaseInput, PackUncheckedUpdateWithoutPurchaseInput>
10827
10492
  }
10828
10493
 
10829
- export type NestedIntFilter = {
10830
- equals?: number
10831
- in?: Enumerable<number>
10832
- notIn?: Enumerable<number>
10833
- lt?: number
10834
- lte?: number
10835
- gt?: number
10836
- gte?: number
10837
- not?: NestedIntFilter | number
10838
- }
10839
-
10840
10494
  export type NestedStringFilter = {
10841
10495
  equals?: string
10842
10496
  in?: Enumerable<string>
@@ -10851,33 +10505,6 @@ export namespace Prisma {
10851
10505
  not?: NestedStringFilter | string
10852
10506
  }
10853
10507
 
10854
- export type NestedIntWithAggregatesFilter = {
10855
- equals?: number
10856
- in?: Enumerable<number>
10857
- notIn?: Enumerable<number>
10858
- lt?: number
10859
- lte?: number
10860
- gt?: number
10861
- gte?: number
10862
- not?: NestedIntWithAggregatesFilter | number
10863
- _count?: NestedIntFilter
10864
- _avg?: NestedFloatFilter
10865
- _sum?: NestedIntFilter
10866
- _min?: NestedIntFilter
10867
- _max?: NestedIntFilter
10868
- }
10869
-
10870
- export type NestedFloatFilter = {
10871
- equals?: number
10872
- in?: Enumerable<number>
10873
- notIn?: Enumerable<number>
10874
- lt?: number
10875
- lte?: number
10876
- gt?: number
10877
- gte?: number
10878
- not?: NestedFloatFilter | number
10879
- }
10880
-
10881
10508
  export type NestedStringWithAggregatesFilter = {
10882
10509
  equals?: string
10883
10510
  in?: Enumerable<string>
@@ -10895,6 +10522,17 @@ export namespace Prisma {
10895
10522
  _max?: NestedStringFilter
10896
10523
  }
10897
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
+
10898
10536
  export type NestedIntNullableFilter = {
10899
10537
  equals?: number | null
10900
10538
  in?: Enumerable<number> | null
@@ -10999,6 +10637,7 @@ export namespace Prisma {
10999
10637
  }
11000
10638
 
11001
10639
  export type PackCreateWithoutCardsInput = {
10640
+ id?: string
11002
10641
  teacher: TeacherCreateNestedOneWithoutPacksInput
11003
10642
  name: string
11004
10643
  users?: UserCreateNestedManyWithoutPacksInput
@@ -11007,8 +10646,8 @@ export namespace Prisma {
11007
10646
  }
11008
10647
 
11009
10648
  export type PackUncheckedCreateWithoutCardsInput = {
11010
- id?: number
11011
- teacherId: number
10649
+ id?: string
10650
+ teacherId: string
11012
10651
  name: string
11013
10652
  users?: UserUncheckedCreateNestedManyWithoutPacksInput
11014
10653
  purchase?: PurchaseUncheckedCreateNestedManyWithoutPackInput
@@ -11028,7 +10667,7 @@ export namespace Prisma {
11028
10667
  }
11029
10668
 
11030
10669
  export type UserCardUncheckedCreateWithoutCardInput = {
11031
- userId: number
10670
+ userId: string
11032
10671
  currentInterval?: number | null
11033
10672
  dueDate?: Date | string | null
11034
10673
  done: boolean
@@ -11050,6 +10689,7 @@ export namespace Prisma {
11050
10689
  }
11051
10690
 
11052
10691
  export type PackUpdateWithoutCardsInput = {
10692
+ id?: StringFieldUpdateOperationsInput | string
11053
10693
  teacher?: TeacherUpdateOneRequiredWithoutPacksNestedInput
11054
10694
  name?: StringFieldUpdateOperationsInput | string
11055
10695
  users?: UserUpdateManyWithoutPacksNestedInput
@@ -11058,8 +10698,8 @@ export namespace Prisma {
11058
10698
  }
11059
10699
 
11060
10700
  export type PackUncheckedUpdateWithoutCardsInput = {
11061
- id?: IntFieldUpdateOperationsInput | number
11062
- teacherId?: IntFieldUpdateOperationsInput | number
10701
+ id?: StringFieldUpdateOperationsInput | string
10702
+ teacherId?: StringFieldUpdateOperationsInput | string
11063
10703
  name?: StringFieldUpdateOperationsInput | string
11064
10704
  users?: UserUncheckedUpdateManyWithoutPacksNestedInput
11065
10705
  purchase?: PurchaseUncheckedUpdateManyWithoutPackNestedInput
@@ -11086,14 +10726,15 @@ export namespace Prisma {
11086
10726
  AND?: Enumerable<UserCardScalarWhereInput>
11087
10727
  OR?: Enumerable<UserCardScalarWhereInput>
11088
10728
  NOT?: Enumerable<UserCardScalarWhereInput>
11089
- userId?: IntFilter | number
11090
- cardId?: IntFilter | number
10729
+ userId?: StringFilter | string
10730
+ cardId?: StringFilter | string
11091
10731
  currentInterval?: IntNullableFilter | number | null
11092
10732
  dueDate?: DateTimeNullableFilter | Date | string | null
11093
10733
  done?: BoolFilter | boolean
11094
10734
  }
11095
10735
 
11096
10736
  export type UserCreateWithoutUserCardsInput = {
10737
+ id?: string
11097
10738
  email: string
11098
10739
  name: string
11099
10740
  googleUser?: GoogleUserCreateNestedOneWithoutUserInput
@@ -11103,7 +10744,7 @@ export namespace Prisma {
11103
10744
  }
11104
10745
 
11105
10746
  export type UserUncheckedCreateWithoutUserCardsInput = {
11106
- id?: number
10747
+ id?: string
11107
10748
  email: string
11108
10749
  name: string
11109
10750
  googleUser?: GoogleUserUncheckedCreateNestedOneWithoutUserInput
@@ -11118,14 +10759,15 @@ export namespace Prisma {
11118
10759
  }
11119
10760
 
11120
10761
  export type CardCreateWithoutUserCardsInput = {
10762
+ id?: string
11121
10763
  pack: PackCreateNestedOneWithoutCardsInput
11122
10764
  front: string
11123
10765
  back: string
11124
10766
  }
11125
10767
 
11126
10768
  export type CardUncheckedCreateWithoutUserCardsInput = {
11127
- id?: number
11128
- packId: number
10769
+ id?: string
10770
+ packId: string
11129
10771
  front: string
11130
10772
  back: string
11131
10773
  }
@@ -11141,6 +10783,7 @@ export namespace Prisma {
11141
10783
  }
11142
10784
 
11143
10785
  export type UserUpdateWithoutUserCardsInput = {
10786
+ id?: StringFieldUpdateOperationsInput | string
11144
10787
  email?: StringFieldUpdateOperationsInput | string
11145
10788
  name?: StringFieldUpdateOperationsInput | string
11146
10789
  googleUser?: GoogleUserUpdateOneWithoutUserNestedInput
@@ -11150,7 +10793,7 @@ export namespace Prisma {
11150
10793
  }
11151
10794
 
11152
10795
  export type UserUncheckedUpdateWithoutUserCardsInput = {
11153
- id?: IntFieldUpdateOperationsInput | number
10796
+ id?: StringFieldUpdateOperationsInput | string
11154
10797
  email?: StringFieldUpdateOperationsInput | string
11155
10798
  name?: StringFieldUpdateOperationsInput | string
11156
10799
  googleUser?: GoogleUserUncheckedUpdateOneWithoutUserNestedInput
@@ -11165,26 +10808,28 @@ export namespace Prisma {
11165
10808
  }
11166
10809
 
11167
10810
  export type CardUpdateWithoutUserCardsInput = {
10811
+ id?: StringFieldUpdateOperationsInput | string
11168
10812
  pack?: PackUpdateOneRequiredWithoutCardsNestedInput
11169
10813
  front?: StringFieldUpdateOperationsInput | string
11170
10814
  back?: StringFieldUpdateOperationsInput | string
11171
10815
  }
11172
10816
 
11173
10817
  export type CardUncheckedUpdateWithoutUserCardsInput = {
11174
- id?: IntFieldUpdateOperationsInput | number
11175
- packId?: IntFieldUpdateOperationsInput | number
10818
+ id?: StringFieldUpdateOperationsInput | string
10819
+ packId?: StringFieldUpdateOperationsInput | string
11176
10820
  front?: StringFieldUpdateOperationsInput | string
11177
10821
  back?: StringFieldUpdateOperationsInput | string
11178
10822
  }
11179
10823
 
11180
10824
  export type TeacherCreateWithoutPacksInput = {
10825
+ id?: string
11181
10826
  email: string
11182
10827
  name: string
11183
10828
  password: string
11184
10829
  }
11185
10830
 
11186
10831
  export type TeacherUncheckedCreateWithoutPacksInput = {
11187
- id?: number
10832
+ id?: string
11188
10833
  email: string
11189
10834
  name: string
11190
10835
  password: string
@@ -11196,13 +10841,14 @@ export namespace Prisma {
11196
10841
  }
11197
10842
 
11198
10843
  export type CardCreateWithoutPackInput = {
10844
+ id?: string
11199
10845
  front: string
11200
10846
  back: string
11201
10847
  userCards?: UserCardCreateNestedManyWithoutCardInput
11202
10848
  }
11203
10849
 
11204
10850
  export type CardUncheckedCreateWithoutPackInput = {
11205
- id?: number
10851
+ id?: string
11206
10852
  front: string
11207
10853
  back: string
11208
10854
  userCards?: UserCardUncheckedCreateNestedManyWithoutCardInput
@@ -11219,6 +10865,7 @@ export namespace Prisma {
11219
10865
  }
11220
10866
 
11221
10867
  export type UserCreateWithoutPacksInput = {
10868
+ id?: string
11222
10869
  email: string
11223
10870
  name: string
11224
10871
  googleUser?: GoogleUserCreateNestedOneWithoutUserInput
@@ -11228,7 +10875,7 @@ export namespace Prisma {
11228
10875
  }
11229
10876
 
11230
10877
  export type UserUncheckedCreateWithoutPacksInput = {
11231
- id?: number
10878
+ id?: string
11232
10879
  email: string
11233
10880
  name: string
11234
10881
  googleUser?: GoogleUserUncheckedCreateNestedOneWithoutUserInput
@@ -11243,13 +10890,14 @@ export namespace Prisma {
11243
10890
  }
11244
10891
 
11245
10892
  export type PurchaseCreateWithoutPackInput = {
10893
+ id?: string
11246
10894
  user: UserCreateNestedOneWithoutPurchasesInput
11247
10895
  price: string
11248
10896
  }
11249
10897
 
11250
10898
  export type PurchaseUncheckedCreateWithoutPackInput = {
11251
- id?: number
11252
- userId: number
10899
+ id?: string
10900
+ userId: string
11253
10901
  price: string
11254
10902
  }
11255
10903
 
@@ -11269,13 +10917,14 @@ export namespace Prisma {
11269
10917
  }
11270
10918
 
11271
10919
  export type TeacherUpdateWithoutPacksInput = {
10920
+ id?: StringFieldUpdateOperationsInput | string
11272
10921
  email?: StringFieldUpdateOperationsInput | string
11273
10922
  name?: StringFieldUpdateOperationsInput | string
11274
10923
  password?: StringFieldUpdateOperationsInput | string
11275
10924
  }
11276
10925
 
11277
10926
  export type TeacherUncheckedUpdateWithoutPacksInput = {
11278
- id?: IntFieldUpdateOperationsInput | number
10927
+ id?: StringFieldUpdateOperationsInput | string
11279
10928
  email?: StringFieldUpdateOperationsInput | string
11280
10929
  name?: StringFieldUpdateOperationsInput | string
11281
10930
  password?: StringFieldUpdateOperationsInput | string
@@ -11301,8 +10950,8 @@ export namespace Prisma {
11301
10950
  AND?: Enumerable<CardScalarWhereInput>
11302
10951
  OR?: Enumerable<CardScalarWhereInput>
11303
10952
  NOT?: Enumerable<CardScalarWhereInput>
11304
- id?: IntFilter | number
11305
- packId?: IntFilter | number
10953
+ id?: StringFilter | string
10954
+ packId?: StringFilter | string
11306
10955
  front?: StringFilter | string
11307
10956
  back?: StringFilter | string
11308
10957
  }
@@ -11327,7 +10976,7 @@ export namespace Prisma {
11327
10976
  AND?: Enumerable<UserScalarWhereInput>
11328
10977
  OR?: Enumerable<UserScalarWhereInput>
11329
10978
  NOT?: Enumerable<UserScalarWhereInput>
11330
- id?: IntFilter | number
10979
+ id?: StringFilter | string
11331
10980
  email?: StringFilter | string
11332
10981
  name?: StringFilter | string
11333
10982
  }
@@ -11352,9 +11001,9 @@ export namespace Prisma {
11352
11001
  AND?: Enumerable<PurchaseScalarWhereInput>
11353
11002
  OR?: Enumerable<PurchaseScalarWhereInput>
11354
11003
  NOT?: Enumerable<PurchaseScalarWhereInput>
11355
- id?: IntFilter | number
11356
- userId?: IntFilter | number
11357
- packId?: IntFilter | number
11004
+ id?: StringFilter | string
11005
+ userId?: StringFilter | string
11006
+ packId?: StringFilter | string
11358
11007
  price?: StringFilter | string
11359
11008
  }
11360
11009
 
@@ -11372,13 +11021,14 @@ export namespace Prisma {
11372
11021
  }
11373
11022
 
11374
11023
  export type PurchaseCreateWithoutUserInput = {
11024
+ id?: string
11375
11025
  pack: PackCreateNestedOneWithoutPurchaseInput
11376
11026
  price: string
11377
11027
  }
11378
11028
 
11379
11029
  export type PurchaseUncheckedCreateWithoutUserInput = {
11380
- id?: number
11381
- packId: number
11030
+ id?: string
11031
+ packId: string
11382
11032
  price: string
11383
11033
  }
11384
11034
 
@@ -11393,6 +11043,7 @@ export namespace Prisma {
11393
11043
  }
11394
11044
 
11395
11045
  export type PackCreateWithoutUsersInput = {
11046
+ id?: string
11396
11047
  teacher: TeacherCreateNestedOneWithoutPacksInput
11397
11048
  name: string
11398
11049
  cards?: CardCreateNestedManyWithoutPackInput
@@ -11401,8 +11052,8 @@ export namespace Prisma {
11401
11052
  }
11402
11053
 
11403
11054
  export type PackUncheckedCreateWithoutUsersInput = {
11404
- id?: number
11405
- teacherId: number
11055
+ id?: string
11056
+ teacherId: string
11406
11057
  name: string
11407
11058
  cards?: CardUncheckedCreateNestedManyWithoutPackInput
11408
11059
  purchase?: PurchaseUncheckedCreateNestedManyWithoutPackInput
@@ -11422,7 +11073,7 @@ export namespace Prisma {
11422
11073
  }
11423
11074
 
11424
11075
  export type UserCardUncheckedCreateWithoutUserInput = {
11425
- cardId: number
11076
+ cardId: string
11426
11077
  currentInterval?: number | null
11427
11078
  dueDate?: Date | string | null
11428
11079
  done: boolean
@@ -11439,14 +11090,15 @@ export namespace Prisma {
11439
11090
  }
11440
11091
 
11441
11092
  export type AnswerCreateWithoutUserInput = {
11442
- cardId: number
11093
+ id?: string
11094
+ cardId: string
11443
11095
  status: string
11444
11096
  timestamp: string
11445
11097
  }
11446
11098
 
11447
11099
  export type AnswerUncheckedCreateWithoutUserInput = {
11448
- id?: number
11449
- cardId: number
11100
+ id?: string
11101
+ cardId: string
11450
11102
  status: string
11451
11103
  timestamp: string
11452
11104
  }
@@ -11510,8 +11162,8 @@ export namespace Prisma {
11510
11162
  AND?: Enumerable<PackScalarWhereInput>
11511
11163
  OR?: Enumerable<PackScalarWhereInput>
11512
11164
  NOT?: Enumerable<PackScalarWhereInput>
11513
- id?: IntFilter | number
11514
- teacherId?: IntFilter | number
11165
+ id?: StringFilter | string
11166
+ teacherId?: StringFilter | string
11515
11167
  name?: StringFilter | string
11516
11168
  currentPrice?: DecimalFilter | Decimal | DecimalJsLike | number | string
11517
11169
  }
@@ -11552,14 +11204,15 @@ export namespace Prisma {
11552
11204
  AND?: Enumerable<AnswerScalarWhereInput>
11553
11205
  OR?: Enumerable<AnswerScalarWhereInput>
11554
11206
  NOT?: Enumerable<AnswerScalarWhereInput>
11555
- id?: IntFilter | number
11556
- userId?: IntFilter | number
11557
- cardId?: IntFilter | number
11207
+ id?: StringFilter | string
11208
+ userId?: StringFilter | string
11209
+ cardId?: StringFilter | string
11558
11210
  status?: StringFilter | string
11559
11211
  timestamp?: StringFilter | string
11560
11212
  }
11561
11213
 
11562
11214
  export type PackCreateWithoutTeacherInput = {
11215
+ id?: string
11563
11216
  name: string
11564
11217
  cards?: CardCreateNestedManyWithoutPackInput
11565
11218
  users?: UserCreateNestedManyWithoutPacksInput
@@ -11568,7 +11221,7 @@ export namespace Prisma {
11568
11221
  }
11569
11222
 
11570
11223
  export type PackUncheckedCreateWithoutTeacherInput = {
11571
- id?: number
11224
+ id?: string
11572
11225
  name: string
11573
11226
  cards?: CardUncheckedCreateNestedManyWithoutPackInput
11574
11227
  users?: UserUncheckedCreateNestedManyWithoutPacksInput
@@ -11603,6 +11256,7 @@ export namespace Prisma {
11603
11256
  }
11604
11257
 
11605
11258
  export type UserCreateWithoutGoogleUserInput = {
11259
+ id?: string
11606
11260
  email: string
11607
11261
  name: string
11608
11262
  purchases?: PurchaseCreateNestedManyWithoutUserInput
@@ -11612,7 +11266,7 @@ export namespace Prisma {
11612
11266
  }
11613
11267
 
11614
11268
  export type UserUncheckedCreateWithoutGoogleUserInput = {
11615
- id?: number
11269
+ id?: string
11616
11270
  email: string
11617
11271
  name: string
11618
11272
  purchases?: PurchaseUncheckedCreateNestedManyWithoutUserInput
@@ -11632,6 +11286,7 @@ export namespace Prisma {
11632
11286
  }
11633
11287
 
11634
11288
  export type UserUpdateWithoutGoogleUserInput = {
11289
+ id?: StringFieldUpdateOperationsInput | string
11635
11290
  email?: StringFieldUpdateOperationsInput | string
11636
11291
  name?: StringFieldUpdateOperationsInput | string
11637
11292
  purchases?: PurchaseUpdateManyWithoutUserNestedInput
@@ -11641,7 +11296,7 @@ export namespace Prisma {
11641
11296
  }
11642
11297
 
11643
11298
  export type UserUncheckedUpdateWithoutGoogleUserInput = {
11644
- id?: IntFieldUpdateOperationsInput | number
11299
+ id?: StringFieldUpdateOperationsInput | string
11645
11300
  email?: StringFieldUpdateOperationsInput | string
11646
11301
  name?: StringFieldUpdateOperationsInput | string
11647
11302
  purchases?: PurchaseUncheckedUpdateManyWithoutUserNestedInput
@@ -11651,6 +11306,7 @@ export namespace Prisma {
11651
11306
  }
11652
11307
 
11653
11308
  export type UserCreateWithoutAnswersInput = {
11309
+ id?: string
11654
11310
  email: string
11655
11311
  name: string
11656
11312
  googleUser?: GoogleUserCreateNestedOneWithoutUserInput
@@ -11660,7 +11316,7 @@ export namespace Prisma {
11660
11316
  }
11661
11317
 
11662
11318
  export type UserUncheckedCreateWithoutAnswersInput = {
11663
- id?: number
11319
+ id?: string
11664
11320
  email: string
11665
11321
  name: string
11666
11322
  googleUser?: GoogleUserUncheckedCreateNestedOneWithoutUserInput
@@ -11680,6 +11336,7 @@ export namespace Prisma {
11680
11336
  }
11681
11337
 
11682
11338
  export type UserUpdateWithoutAnswersInput = {
11339
+ id?: StringFieldUpdateOperationsInput | string
11683
11340
  email?: StringFieldUpdateOperationsInput | string
11684
11341
  name?: StringFieldUpdateOperationsInput | string
11685
11342
  googleUser?: GoogleUserUpdateOneWithoutUserNestedInput
@@ -11689,7 +11346,7 @@ export namespace Prisma {
11689
11346
  }
11690
11347
 
11691
11348
  export type UserUncheckedUpdateWithoutAnswersInput = {
11692
- id?: IntFieldUpdateOperationsInput | number
11349
+ id?: StringFieldUpdateOperationsInput | string
11693
11350
  email?: StringFieldUpdateOperationsInput | string
11694
11351
  name?: StringFieldUpdateOperationsInput | string
11695
11352
  googleUser?: GoogleUserUncheckedUpdateOneWithoutUserNestedInput
@@ -11699,6 +11356,7 @@ export namespace Prisma {
11699
11356
  }
11700
11357
 
11701
11358
  export type UserCreateWithoutPurchasesInput = {
11359
+ id?: string
11702
11360
  email: string
11703
11361
  name: string
11704
11362
  googleUser?: GoogleUserCreateNestedOneWithoutUserInput
@@ -11708,7 +11366,7 @@ export namespace Prisma {
11708
11366
  }
11709
11367
 
11710
11368
  export type UserUncheckedCreateWithoutPurchasesInput = {
11711
- id?: number
11369
+ id?: string
11712
11370
  email: string
11713
11371
  name: string
11714
11372
  googleUser?: GoogleUserUncheckedCreateNestedOneWithoutUserInput
@@ -11723,6 +11381,7 @@ export namespace Prisma {
11723
11381
  }
11724
11382
 
11725
11383
  export type PackCreateWithoutPurchaseInput = {
11384
+ id?: string
11726
11385
  teacher: TeacherCreateNestedOneWithoutPacksInput
11727
11386
  name: string
11728
11387
  cards?: CardCreateNestedManyWithoutPackInput
@@ -11731,8 +11390,8 @@ export namespace Prisma {
11731
11390
  }
11732
11391
 
11733
11392
  export type PackUncheckedCreateWithoutPurchaseInput = {
11734
- id?: number
11735
- teacherId: number
11393
+ id?: string
11394
+ teacherId: string
11736
11395
  name: string
11737
11396
  cards?: CardUncheckedCreateNestedManyWithoutPackInput
11738
11397
  users?: UserUncheckedCreateNestedManyWithoutPacksInput
@@ -11750,6 +11409,7 @@ export namespace Prisma {
11750
11409
  }
11751
11410
 
11752
11411
  export type UserUpdateWithoutPurchasesInput = {
11412
+ id?: StringFieldUpdateOperationsInput | string
11753
11413
  email?: StringFieldUpdateOperationsInput | string
11754
11414
  name?: StringFieldUpdateOperationsInput | string
11755
11415
  googleUser?: GoogleUserUpdateOneWithoutUserNestedInput
@@ -11759,7 +11419,7 @@ export namespace Prisma {
11759
11419
  }
11760
11420
 
11761
11421
  export type UserUncheckedUpdateWithoutPurchasesInput = {
11762
- id?: IntFieldUpdateOperationsInput | number
11422
+ id?: StringFieldUpdateOperationsInput | string
11763
11423
  email?: StringFieldUpdateOperationsInput | string
11764
11424
  name?: StringFieldUpdateOperationsInput | string
11765
11425
  googleUser?: GoogleUserUncheckedUpdateOneWithoutUserNestedInput
@@ -11774,6 +11434,7 @@ export namespace Prisma {
11774
11434
  }
11775
11435
 
11776
11436
  export type PackUpdateWithoutPurchaseInput = {
11437
+ id?: StringFieldUpdateOperationsInput | string
11777
11438
  teacher?: TeacherUpdateOneRequiredWithoutPacksNestedInput
11778
11439
  name?: StringFieldUpdateOperationsInput | string
11779
11440
  cards?: CardUpdateManyWithoutPackNestedInput
@@ -11782,8 +11443,8 @@ export namespace Prisma {
11782
11443
  }
11783
11444
 
11784
11445
  export type PackUncheckedUpdateWithoutPurchaseInput = {
11785
- id?: IntFieldUpdateOperationsInput | number
11786
- teacherId?: IntFieldUpdateOperationsInput | number
11446
+ id?: StringFieldUpdateOperationsInput | string
11447
+ teacherId?: StringFieldUpdateOperationsInput | string
11787
11448
  name?: StringFieldUpdateOperationsInput | string
11788
11449
  cards?: CardUncheckedUpdateManyWithoutPackNestedInput
11789
11450
  users?: UserUncheckedUpdateManyWithoutPacksNestedInput
@@ -11791,7 +11452,7 @@ export namespace Prisma {
11791
11452
  }
11792
11453
 
11793
11454
  export type UserCardCreateManyCardInput = {
11794
- userId: number
11455
+ userId: string
11795
11456
  currentInterval?: number | null
11796
11457
  dueDate?: Date | string | null
11797
11458
  done: boolean
@@ -11805,51 +11466,53 @@ export namespace Prisma {
11805
11466
  }
11806
11467
 
11807
11468
  export type UserCardUncheckedUpdateWithoutCardInput = {
11808
- userId?: IntFieldUpdateOperationsInput | number
11469
+ userId?: StringFieldUpdateOperationsInput | string
11809
11470
  currentInterval?: NullableIntFieldUpdateOperationsInput | number | null
11810
11471
  dueDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
11811
11472
  done?: BoolFieldUpdateOperationsInput | boolean
11812
11473
  }
11813
11474
 
11814
11475
  export type UserCardUncheckedUpdateManyWithoutUserCardsInput = {
11815
- userId?: IntFieldUpdateOperationsInput | number
11476
+ userId?: StringFieldUpdateOperationsInput | string
11816
11477
  currentInterval?: NullableIntFieldUpdateOperationsInput | number | null
11817
11478
  dueDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
11818
11479
  done?: BoolFieldUpdateOperationsInput | boolean
11819
11480
  }
11820
11481
 
11821
11482
  export type CardCreateManyPackInput = {
11822
- id?: number
11483
+ id?: string
11823
11484
  front: string
11824
11485
  back: string
11825
11486
  }
11826
11487
 
11827
11488
  export type PurchaseCreateManyPackInput = {
11828
- id?: number
11829
- userId: number
11489
+ id?: string
11490
+ userId: string
11830
11491
  price: string
11831
11492
  }
11832
11493
 
11833
11494
  export type CardUpdateWithoutPackInput = {
11495
+ id?: StringFieldUpdateOperationsInput | string
11834
11496
  front?: StringFieldUpdateOperationsInput | string
11835
11497
  back?: StringFieldUpdateOperationsInput | string
11836
11498
  userCards?: UserCardUpdateManyWithoutCardNestedInput
11837
11499
  }
11838
11500
 
11839
11501
  export type CardUncheckedUpdateWithoutPackInput = {
11840
- id?: IntFieldUpdateOperationsInput | number
11502
+ id?: StringFieldUpdateOperationsInput | string
11841
11503
  front?: StringFieldUpdateOperationsInput | string
11842
11504
  back?: StringFieldUpdateOperationsInput | string
11843
11505
  userCards?: UserCardUncheckedUpdateManyWithoutCardNestedInput
11844
11506
  }
11845
11507
 
11846
11508
  export type CardUncheckedUpdateManyWithoutCardsInput = {
11847
- id?: IntFieldUpdateOperationsInput | number
11509
+ id?: StringFieldUpdateOperationsInput | string
11848
11510
  front?: StringFieldUpdateOperationsInput | string
11849
11511
  back?: StringFieldUpdateOperationsInput | string
11850
11512
  }
11851
11513
 
11852
11514
  export type UserUpdateWithoutPacksInput = {
11515
+ id?: StringFieldUpdateOperationsInput | string
11853
11516
  email?: StringFieldUpdateOperationsInput | string
11854
11517
  name?: StringFieldUpdateOperationsInput | string
11855
11518
  googleUser?: GoogleUserUpdateOneWithoutUserNestedInput
@@ -11859,7 +11522,7 @@ export namespace Prisma {
11859
11522
  }
11860
11523
 
11861
11524
  export type UserUncheckedUpdateWithoutPacksInput = {
11862
- id?: IntFieldUpdateOperationsInput | number
11525
+ id?: StringFieldUpdateOperationsInput | string
11863
11526
  email?: StringFieldUpdateOperationsInput | string
11864
11527
  name?: StringFieldUpdateOperationsInput | string
11865
11528
  googleUser?: GoogleUserUncheckedUpdateOneWithoutUserNestedInput
@@ -11869,66 +11532,69 @@ export namespace Prisma {
11869
11532
  }
11870
11533
 
11871
11534
  export type UserUncheckedUpdateManyWithoutUsersInput = {
11872
- id?: IntFieldUpdateOperationsInput | number
11535
+ id?: StringFieldUpdateOperationsInput | string
11873
11536
  email?: StringFieldUpdateOperationsInput | string
11874
11537
  name?: StringFieldUpdateOperationsInput | string
11875
11538
  }
11876
11539
 
11877
11540
  export type PurchaseUpdateWithoutPackInput = {
11541
+ id?: StringFieldUpdateOperationsInput | string
11878
11542
  user?: UserUpdateOneRequiredWithoutPurchasesNestedInput
11879
11543
  price?: StringFieldUpdateOperationsInput | string
11880
11544
  }
11881
11545
 
11882
11546
  export type PurchaseUncheckedUpdateWithoutPackInput = {
11883
- id?: IntFieldUpdateOperationsInput | number
11884
- userId?: IntFieldUpdateOperationsInput | number
11547
+ id?: StringFieldUpdateOperationsInput | string
11548
+ userId?: StringFieldUpdateOperationsInput | string
11885
11549
  price?: StringFieldUpdateOperationsInput | string
11886
11550
  }
11887
11551
 
11888
11552
  export type PurchaseUncheckedUpdateManyWithoutPurchaseInput = {
11889
- id?: IntFieldUpdateOperationsInput | number
11890
- userId?: IntFieldUpdateOperationsInput | number
11553
+ id?: StringFieldUpdateOperationsInput | string
11554
+ userId?: StringFieldUpdateOperationsInput | string
11891
11555
  price?: StringFieldUpdateOperationsInput | string
11892
11556
  }
11893
11557
 
11894
11558
  export type PurchaseCreateManyUserInput = {
11895
- id?: number
11896
- packId: number
11559
+ id?: string
11560
+ packId: string
11897
11561
  price: string
11898
11562
  }
11899
11563
 
11900
11564
  export type UserCardCreateManyUserInput = {
11901
- cardId: number
11565
+ cardId: string
11902
11566
  currentInterval?: number | null
11903
11567
  dueDate?: Date | string | null
11904
11568
  done: boolean
11905
11569
  }
11906
11570
 
11907
11571
  export type AnswerCreateManyUserInput = {
11908
- id?: number
11909
- cardId: number
11572
+ id?: string
11573
+ cardId: string
11910
11574
  status: string
11911
11575
  timestamp: string
11912
11576
  }
11913
11577
 
11914
11578
  export type PurchaseUpdateWithoutUserInput = {
11579
+ id?: StringFieldUpdateOperationsInput | string
11915
11580
  pack?: PackUpdateOneRequiredWithoutPurchaseNestedInput
11916
11581
  price?: StringFieldUpdateOperationsInput | string
11917
11582
  }
11918
11583
 
11919
11584
  export type PurchaseUncheckedUpdateWithoutUserInput = {
11920
- id?: IntFieldUpdateOperationsInput | number
11921
- packId?: IntFieldUpdateOperationsInput | number
11585
+ id?: StringFieldUpdateOperationsInput | string
11586
+ packId?: StringFieldUpdateOperationsInput | string
11922
11587
  price?: StringFieldUpdateOperationsInput | string
11923
11588
  }
11924
11589
 
11925
11590
  export type PurchaseUncheckedUpdateManyWithoutPurchasesInput = {
11926
- id?: IntFieldUpdateOperationsInput | number
11927
- packId?: IntFieldUpdateOperationsInput | number
11591
+ id?: StringFieldUpdateOperationsInput | string
11592
+ packId?: StringFieldUpdateOperationsInput | string
11928
11593
  price?: StringFieldUpdateOperationsInput | string
11929
11594
  }
11930
11595
 
11931
11596
  export type PackUpdateWithoutUsersInput = {
11597
+ id?: StringFieldUpdateOperationsInput | string
11932
11598
  teacher?: TeacherUpdateOneRequiredWithoutPacksNestedInput
11933
11599
  name?: StringFieldUpdateOperationsInput | string
11934
11600
  cards?: CardUpdateManyWithoutPackNestedInput
@@ -11937,8 +11603,8 @@ export namespace Prisma {
11937
11603
  }
11938
11604
 
11939
11605
  export type PackUncheckedUpdateWithoutUsersInput = {
11940
- id?: IntFieldUpdateOperationsInput | number
11941
- teacherId?: IntFieldUpdateOperationsInput | number
11606
+ id?: StringFieldUpdateOperationsInput | string
11607
+ teacherId?: StringFieldUpdateOperationsInput | string
11942
11608
  name?: StringFieldUpdateOperationsInput | string
11943
11609
  cards?: CardUncheckedUpdateManyWithoutPackNestedInput
11944
11610
  purchase?: PurchaseUncheckedUpdateManyWithoutPackNestedInput
@@ -11946,8 +11612,8 @@ export namespace Prisma {
11946
11612
  }
11947
11613
 
11948
11614
  export type PackUncheckedUpdateManyWithoutPacksInput = {
11949
- id?: IntFieldUpdateOperationsInput | number
11950
- teacherId?: IntFieldUpdateOperationsInput | number
11615
+ id?: StringFieldUpdateOperationsInput | string
11616
+ teacherId?: StringFieldUpdateOperationsInput | string
11951
11617
  name?: StringFieldUpdateOperationsInput | string
11952
11618
  currentPrice?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
11953
11619
  }
@@ -11960,39 +11626,41 @@ export namespace Prisma {
11960
11626
  }
11961
11627
 
11962
11628
  export type UserCardUncheckedUpdateWithoutUserInput = {
11963
- cardId?: IntFieldUpdateOperationsInput | number
11629
+ cardId?: StringFieldUpdateOperationsInput | string
11964
11630
  currentInterval?: NullableIntFieldUpdateOperationsInput | number | null
11965
11631
  dueDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
11966
11632
  done?: BoolFieldUpdateOperationsInput | boolean
11967
11633
  }
11968
11634
 
11969
11635
  export type AnswerUpdateWithoutUserInput = {
11970
- cardId?: IntFieldUpdateOperationsInput | number
11636
+ id?: StringFieldUpdateOperationsInput | string
11637
+ cardId?: StringFieldUpdateOperationsInput | string
11971
11638
  status?: StringFieldUpdateOperationsInput | string
11972
11639
  timestamp?: StringFieldUpdateOperationsInput | string
11973
11640
  }
11974
11641
 
11975
11642
  export type AnswerUncheckedUpdateWithoutUserInput = {
11976
- id?: IntFieldUpdateOperationsInput | number
11977
- cardId?: IntFieldUpdateOperationsInput | number
11643
+ id?: StringFieldUpdateOperationsInput | string
11644
+ cardId?: StringFieldUpdateOperationsInput | string
11978
11645
  status?: StringFieldUpdateOperationsInput | string
11979
11646
  timestamp?: StringFieldUpdateOperationsInput | string
11980
11647
  }
11981
11648
 
11982
11649
  export type AnswerUncheckedUpdateManyWithoutAnswersInput = {
11983
- id?: IntFieldUpdateOperationsInput | number
11984
- cardId?: IntFieldUpdateOperationsInput | number
11650
+ id?: StringFieldUpdateOperationsInput | string
11651
+ cardId?: StringFieldUpdateOperationsInput | string
11985
11652
  status?: StringFieldUpdateOperationsInput | string
11986
11653
  timestamp?: StringFieldUpdateOperationsInput | string
11987
11654
  }
11988
11655
 
11989
11656
  export type PackCreateManyTeacherInput = {
11990
- id?: number
11657
+ id?: string
11991
11658
  name: string
11992
11659
  currentPrice: Decimal | DecimalJsLike | number | string
11993
11660
  }
11994
11661
 
11995
11662
  export type PackUpdateWithoutTeacherInput = {
11663
+ id?: StringFieldUpdateOperationsInput | string
11996
11664
  name?: StringFieldUpdateOperationsInput | string
11997
11665
  cards?: CardUpdateManyWithoutPackNestedInput
11998
11666
  users?: UserUpdateManyWithoutPacksNestedInput
@@ -12001,7 +11669,7 @@ export namespace Prisma {
12001
11669
  }
12002
11670
 
12003
11671
  export type PackUncheckedUpdateWithoutTeacherInput = {
12004
- id?: IntFieldUpdateOperationsInput | number
11672
+ id?: StringFieldUpdateOperationsInput | string
12005
11673
  name?: StringFieldUpdateOperationsInput | string
12006
11674
  cards?: CardUncheckedUpdateManyWithoutPackNestedInput
12007
11675
  users?: UserUncheckedUpdateManyWithoutPacksNestedInput