lang-database 1.4.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env-dev +1 -2
- package/.env-local +2 -0
- package/.env-prod +3 -0
- package/generated/prisma-client/index-browser.js +4 -1
- package/generated/prisma-client/index.d.ts +530 -645
- package/generated/prisma-client/index.js +6 -3
- package/generated/prisma-client/schema.prisma +20 -16
- package/migrations/20221112124401_init/migration.sql +138 -0
- package/migrations/20221112132548_id_fields_fix_in_cockroachdb/migration.sql +158 -0
- package/migrations/migration_lock.toml +3 -0
- package/package.json +4 -2
- package/schema.prisma +20 -16
|
@@ -17,8 +17,8 @@ type UnwrapTuple<Tuple extends readonly unknown[]> = {
|
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
19
19
|
export type Card = {
|
|
20
|
-
id:
|
|
21
|
-
packId:
|
|
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:
|
|
32
|
-
cardId:
|
|
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:
|
|
44
|
-
teacherId:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
85
|
-
userId:
|
|
86
|
-
cardId:
|
|
84
|
+
id: string
|
|
85
|
+
userId: string
|
|
86
|
+
cardId: string
|
|
87
87
|
status: string
|
|
88
88
|
timestamp: string
|
|
89
89
|
}
|
|
@@ -93,10 +93,13 @@ export type Answer = {
|
|
|
93
93
|
*
|
|
94
94
|
*/
|
|
95
95
|
export type Purchase = {
|
|
96
|
-
id:
|
|
97
|
-
userId:
|
|
98
|
-
packId:
|
|
99
|
-
|
|
96
|
+
id: string
|
|
97
|
+
userId: string
|
|
98
|
+
packId: string
|
|
99
|
+
currency: string
|
|
100
|
+
amount: number
|
|
101
|
+
orderDate: Date | null
|
|
102
|
+
paymentDate: Date | null
|
|
100
103
|
}
|
|
101
104
|
|
|
102
105
|
|
|
@@ -1175,32 +1178,20 @@ export namespace Prisma {
|
|
|
1175
1178
|
|
|
1176
1179
|
export type AggregateCard = {
|
|
1177
1180
|
_count: CardCountAggregateOutputType | null
|
|
1178
|
-
_avg: CardAvgAggregateOutputType | null
|
|
1179
|
-
_sum: CardSumAggregateOutputType | null
|
|
1180
1181
|
_min: CardMinAggregateOutputType | null
|
|
1181
1182
|
_max: CardMaxAggregateOutputType | null
|
|
1182
1183
|
}
|
|
1183
1184
|
|
|
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
1185
|
export type CardMinAggregateOutputType = {
|
|
1195
|
-
id:
|
|
1196
|
-
packId:
|
|
1186
|
+
id: string | null
|
|
1187
|
+
packId: string | null
|
|
1197
1188
|
front: string | null
|
|
1198
1189
|
back: string | null
|
|
1199
1190
|
}
|
|
1200
1191
|
|
|
1201
1192
|
export type CardMaxAggregateOutputType = {
|
|
1202
|
-
id:
|
|
1203
|
-
packId:
|
|
1193
|
+
id: string | null
|
|
1194
|
+
packId: string | null
|
|
1204
1195
|
front: string | null
|
|
1205
1196
|
back: string | null
|
|
1206
1197
|
}
|
|
@@ -1214,16 +1205,6 @@ export namespace Prisma {
|
|
|
1214
1205
|
}
|
|
1215
1206
|
|
|
1216
1207
|
|
|
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
1208
|
export type CardMinAggregateInputType = {
|
|
1228
1209
|
id?: true
|
|
1229
1210
|
packId?: true
|
|
@@ -1286,18 +1267,6 @@ export namespace Prisma {
|
|
|
1286
1267
|
* Count returned Cards
|
|
1287
1268
|
**/
|
|
1288
1269
|
_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
1270
|
/**
|
|
1302
1271
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
1303
1272
|
*
|
|
@@ -1331,21 +1300,17 @@ export namespace Prisma {
|
|
|
1331
1300
|
take?: number
|
|
1332
1301
|
skip?: number
|
|
1333
1302
|
_count?: CardCountAggregateInputType | true
|
|
1334
|
-
_avg?: CardAvgAggregateInputType
|
|
1335
|
-
_sum?: CardSumAggregateInputType
|
|
1336
1303
|
_min?: CardMinAggregateInputType
|
|
1337
1304
|
_max?: CardMaxAggregateInputType
|
|
1338
1305
|
}
|
|
1339
1306
|
|
|
1340
1307
|
|
|
1341
1308
|
export type CardGroupByOutputType = {
|
|
1342
|
-
id:
|
|
1343
|
-
packId:
|
|
1309
|
+
id: string
|
|
1310
|
+
packId: string
|
|
1344
1311
|
front: string
|
|
1345
1312
|
back: string
|
|
1346
1313
|
_count: CardCountAggregateOutputType | null
|
|
1347
|
-
_avg: CardAvgAggregateOutputType | null
|
|
1348
|
-
_sum: CardSumAggregateOutputType | null
|
|
1349
1314
|
_min: CardMinAggregateOutputType | null
|
|
1350
1315
|
_max: CardMaxAggregateOutputType | null
|
|
1351
1316
|
}
|
|
@@ -2147,28 +2112,24 @@ export namespace Prisma {
|
|
|
2147
2112
|
}
|
|
2148
2113
|
|
|
2149
2114
|
export type UserCardAvgAggregateOutputType = {
|
|
2150
|
-
userId: number | null
|
|
2151
|
-
cardId: number | null
|
|
2152
2115
|
currentInterval: number | null
|
|
2153
2116
|
}
|
|
2154
2117
|
|
|
2155
2118
|
export type UserCardSumAggregateOutputType = {
|
|
2156
|
-
userId: number | null
|
|
2157
|
-
cardId: number | null
|
|
2158
2119
|
currentInterval: number | null
|
|
2159
2120
|
}
|
|
2160
2121
|
|
|
2161
2122
|
export type UserCardMinAggregateOutputType = {
|
|
2162
|
-
userId:
|
|
2163
|
-
cardId:
|
|
2123
|
+
userId: string | null
|
|
2124
|
+
cardId: string | null
|
|
2164
2125
|
currentInterval: number | null
|
|
2165
2126
|
dueDate: Date | null
|
|
2166
2127
|
done: boolean | null
|
|
2167
2128
|
}
|
|
2168
2129
|
|
|
2169
2130
|
export type UserCardMaxAggregateOutputType = {
|
|
2170
|
-
userId:
|
|
2171
|
-
cardId:
|
|
2131
|
+
userId: string | null
|
|
2132
|
+
cardId: string | null
|
|
2172
2133
|
currentInterval: number | null
|
|
2173
2134
|
dueDate: Date | null
|
|
2174
2135
|
done: boolean | null
|
|
@@ -2185,14 +2146,10 @@ export namespace Prisma {
|
|
|
2185
2146
|
|
|
2186
2147
|
|
|
2187
2148
|
export type UserCardAvgAggregateInputType = {
|
|
2188
|
-
userId?: true
|
|
2189
|
-
cardId?: true
|
|
2190
2149
|
currentInterval?: true
|
|
2191
2150
|
}
|
|
2192
2151
|
|
|
2193
2152
|
export type UserCardSumAggregateInputType = {
|
|
2194
|
-
userId?: true
|
|
2195
|
-
cardId?: true
|
|
2196
2153
|
currentInterval?: true
|
|
2197
2154
|
}
|
|
2198
2155
|
|
|
@@ -2314,8 +2271,8 @@ export namespace Prisma {
|
|
|
2314
2271
|
|
|
2315
2272
|
|
|
2316
2273
|
export type UserCardGroupByOutputType = {
|
|
2317
|
-
userId:
|
|
2318
|
-
cardId:
|
|
2274
|
+
userId: string
|
|
2275
|
+
cardId: string
|
|
2319
2276
|
currentInterval: number | null
|
|
2320
2277
|
dueDate: Date | null
|
|
2321
2278
|
done: boolean
|
|
@@ -3120,27 +3077,23 @@ export namespace Prisma {
|
|
|
3120
3077
|
}
|
|
3121
3078
|
|
|
3122
3079
|
export type PackAvgAggregateOutputType = {
|
|
3123
|
-
id: number | null
|
|
3124
|
-
teacherId: number | null
|
|
3125
3080
|
currentPrice: Decimal | null
|
|
3126
3081
|
}
|
|
3127
3082
|
|
|
3128
3083
|
export type PackSumAggregateOutputType = {
|
|
3129
|
-
id: number | null
|
|
3130
|
-
teacherId: number | null
|
|
3131
3084
|
currentPrice: Decimal | null
|
|
3132
3085
|
}
|
|
3133
3086
|
|
|
3134
3087
|
export type PackMinAggregateOutputType = {
|
|
3135
|
-
id:
|
|
3136
|
-
teacherId:
|
|
3088
|
+
id: string | null
|
|
3089
|
+
teacherId: string | null
|
|
3137
3090
|
name: string | null
|
|
3138
3091
|
currentPrice: Decimal | null
|
|
3139
3092
|
}
|
|
3140
3093
|
|
|
3141
3094
|
export type PackMaxAggregateOutputType = {
|
|
3142
|
-
id:
|
|
3143
|
-
teacherId:
|
|
3095
|
+
id: string | null
|
|
3096
|
+
teacherId: string | null
|
|
3144
3097
|
name: string | null
|
|
3145
3098
|
currentPrice: Decimal | null
|
|
3146
3099
|
}
|
|
@@ -3155,14 +3108,10 @@ export namespace Prisma {
|
|
|
3155
3108
|
|
|
3156
3109
|
|
|
3157
3110
|
export type PackAvgAggregateInputType = {
|
|
3158
|
-
id?: true
|
|
3159
|
-
teacherId?: true
|
|
3160
3111
|
currentPrice?: true
|
|
3161
3112
|
}
|
|
3162
3113
|
|
|
3163
3114
|
export type PackSumAggregateInputType = {
|
|
3164
|
-
id?: true
|
|
3165
|
-
teacherId?: true
|
|
3166
3115
|
currentPrice?: true
|
|
3167
3116
|
}
|
|
3168
3117
|
|
|
@@ -3281,8 +3230,8 @@ export namespace Prisma {
|
|
|
3281
3230
|
|
|
3282
3231
|
|
|
3283
3232
|
export type PackGroupByOutputType = {
|
|
3284
|
-
id:
|
|
3285
|
-
teacherId:
|
|
3233
|
+
id: string
|
|
3234
|
+
teacherId: string
|
|
3286
3235
|
name: string
|
|
3287
3236
|
currentPrice: Decimal
|
|
3288
3237
|
_count: PackCountAggregateOutputType | null
|
|
@@ -4094,28 +4043,18 @@ export namespace Prisma {
|
|
|
4094
4043
|
|
|
4095
4044
|
export type AggregateUser = {
|
|
4096
4045
|
_count: UserCountAggregateOutputType | null
|
|
4097
|
-
_avg: UserAvgAggregateOutputType | null
|
|
4098
|
-
_sum: UserSumAggregateOutputType | null
|
|
4099
4046
|
_min: UserMinAggregateOutputType | null
|
|
4100
4047
|
_max: UserMaxAggregateOutputType | null
|
|
4101
4048
|
}
|
|
4102
4049
|
|
|
4103
|
-
export type UserAvgAggregateOutputType = {
|
|
4104
|
-
id: number | null
|
|
4105
|
-
}
|
|
4106
|
-
|
|
4107
|
-
export type UserSumAggregateOutputType = {
|
|
4108
|
-
id: number | null
|
|
4109
|
-
}
|
|
4110
|
-
|
|
4111
4050
|
export type UserMinAggregateOutputType = {
|
|
4112
|
-
id:
|
|
4051
|
+
id: string | null
|
|
4113
4052
|
email: string | null
|
|
4114
4053
|
name: string | null
|
|
4115
4054
|
}
|
|
4116
4055
|
|
|
4117
4056
|
export type UserMaxAggregateOutputType = {
|
|
4118
|
-
id:
|
|
4057
|
+
id: string | null
|
|
4119
4058
|
email: string | null
|
|
4120
4059
|
name: string | null
|
|
4121
4060
|
}
|
|
@@ -4128,14 +4067,6 @@ export namespace Prisma {
|
|
|
4128
4067
|
}
|
|
4129
4068
|
|
|
4130
4069
|
|
|
4131
|
-
export type UserAvgAggregateInputType = {
|
|
4132
|
-
id?: true
|
|
4133
|
-
}
|
|
4134
|
-
|
|
4135
|
-
export type UserSumAggregateInputType = {
|
|
4136
|
-
id?: true
|
|
4137
|
-
}
|
|
4138
|
-
|
|
4139
4070
|
export type UserMinAggregateInputType = {
|
|
4140
4071
|
id?: true
|
|
4141
4072
|
email?: true
|
|
@@ -4195,18 +4126,6 @@ export namespace Prisma {
|
|
|
4195
4126
|
* Count returned Users
|
|
4196
4127
|
**/
|
|
4197
4128
|
_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
4129
|
/**
|
|
4211
4130
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
4212
4131
|
*
|
|
@@ -4240,20 +4159,16 @@ export namespace Prisma {
|
|
|
4240
4159
|
take?: number
|
|
4241
4160
|
skip?: number
|
|
4242
4161
|
_count?: UserCountAggregateInputType | true
|
|
4243
|
-
_avg?: UserAvgAggregateInputType
|
|
4244
|
-
_sum?: UserSumAggregateInputType
|
|
4245
4162
|
_min?: UserMinAggregateInputType
|
|
4246
4163
|
_max?: UserMaxAggregateInputType
|
|
4247
4164
|
}
|
|
4248
4165
|
|
|
4249
4166
|
|
|
4250
4167
|
export type UserGroupByOutputType = {
|
|
4251
|
-
id:
|
|
4168
|
+
id: string
|
|
4252
4169
|
email: string
|
|
4253
4170
|
name: string
|
|
4254
4171
|
_count: UserCountAggregateOutputType | null
|
|
4255
|
-
_avg: UserAvgAggregateOutputType | null
|
|
4256
|
-
_sum: UserSumAggregateOutputType | null
|
|
4257
4172
|
_min: UserMinAggregateOutputType | null
|
|
4258
4173
|
_max: UserMaxAggregateOutputType | null
|
|
4259
4174
|
}
|
|
@@ -5065,29 +4980,19 @@ export namespace Prisma {
|
|
|
5065
4980
|
|
|
5066
4981
|
export type AggregateTeacher = {
|
|
5067
4982
|
_count: TeacherCountAggregateOutputType | null
|
|
5068
|
-
_avg: TeacherAvgAggregateOutputType | null
|
|
5069
|
-
_sum: TeacherSumAggregateOutputType | null
|
|
5070
4983
|
_min: TeacherMinAggregateOutputType | null
|
|
5071
4984
|
_max: TeacherMaxAggregateOutputType | null
|
|
5072
4985
|
}
|
|
5073
4986
|
|
|
5074
|
-
export type TeacherAvgAggregateOutputType = {
|
|
5075
|
-
id: number | null
|
|
5076
|
-
}
|
|
5077
|
-
|
|
5078
|
-
export type TeacherSumAggregateOutputType = {
|
|
5079
|
-
id: number | null
|
|
5080
|
-
}
|
|
5081
|
-
|
|
5082
4987
|
export type TeacherMinAggregateOutputType = {
|
|
5083
|
-
id:
|
|
4988
|
+
id: string | null
|
|
5084
4989
|
email: string | null
|
|
5085
4990
|
name: string | null
|
|
5086
4991
|
password: string | null
|
|
5087
4992
|
}
|
|
5088
4993
|
|
|
5089
4994
|
export type TeacherMaxAggregateOutputType = {
|
|
5090
|
-
id:
|
|
4995
|
+
id: string | null
|
|
5091
4996
|
email: string | null
|
|
5092
4997
|
name: string | null
|
|
5093
4998
|
password: string | null
|
|
@@ -5102,14 +5007,6 @@ export namespace Prisma {
|
|
|
5102
5007
|
}
|
|
5103
5008
|
|
|
5104
5009
|
|
|
5105
|
-
export type TeacherAvgAggregateInputType = {
|
|
5106
|
-
id?: true
|
|
5107
|
-
}
|
|
5108
|
-
|
|
5109
|
-
export type TeacherSumAggregateInputType = {
|
|
5110
|
-
id?: true
|
|
5111
|
-
}
|
|
5112
|
-
|
|
5113
5010
|
export type TeacherMinAggregateInputType = {
|
|
5114
5011
|
id?: true
|
|
5115
5012
|
email?: true
|
|
@@ -5172,18 +5069,6 @@ export namespace Prisma {
|
|
|
5172
5069
|
* Count returned Teachers
|
|
5173
5070
|
**/
|
|
5174
5071
|
_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
5072
|
/**
|
|
5188
5073
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
5189
5074
|
*
|
|
@@ -5217,21 +5102,17 @@ export namespace Prisma {
|
|
|
5217
5102
|
take?: number
|
|
5218
5103
|
skip?: number
|
|
5219
5104
|
_count?: TeacherCountAggregateInputType | true
|
|
5220
|
-
_avg?: TeacherAvgAggregateInputType
|
|
5221
|
-
_sum?: TeacherSumAggregateInputType
|
|
5222
5105
|
_min?: TeacherMinAggregateInputType
|
|
5223
5106
|
_max?: TeacherMaxAggregateInputType
|
|
5224
5107
|
}
|
|
5225
5108
|
|
|
5226
5109
|
|
|
5227
5110
|
export type TeacherGroupByOutputType = {
|
|
5228
|
-
id:
|
|
5111
|
+
id: string
|
|
5229
5112
|
email: string
|
|
5230
5113
|
name: string
|
|
5231
5114
|
password: string
|
|
5232
5115
|
_count: TeacherCountAggregateOutputType | null
|
|
5233
|
-
_avg: TeacherAvgAggregateOutputType | null
|
|
5234
|
-
_sum: TeacherSumAggregateOutputType | null
|
|
5235
5116
|
_min: TeacherMinAggregateOutputType | null
|
|
5236
5117
|
_max: TeacherMaxAggregateOutputType | null
|
|
5237
5118
|
}
|
|
@@ -6020,28 +5901,18 @@ export namespace Prisma {
|
|
|
6020
5901
|
|
|
6021
5902
|
export type AggregateGoogleUser = {
|
|
6022
5903
|
_count: GoogleUserCountAggregateOutputType | null
|
|
6023
|
-
_avg: GoogleUserAvgAggregateOutputType | null
|
|
6024
|
-
_sum: GoogleUserSumAggregateOutputType | null
|
|
6025
5904
|
_min: GoogleUserMinAggregateOutputType | null
|
|
6026
5905
|
_max: GoogleUserMaxAggregateOutputType | null
|
|
6027
5906
|
}
|
|
6028
5907
|
|
|
6029
|
-
export type GoogleUserAvgAggregateOutputType = {
|
|
6030
|
-
userId: number | null
|
|
6031
|
-
}
|
|
6032
|
-
|
|
6033
|
-
export type GoogleUserSumAggregateOutputType = {
|
|
6034
|
-
userId: number | null
|
|
6035
|
-
}
|
|
6036
|
-
|
|
6037
5908
|
export type GoogleUserMinAggregateOutputType = {
|
|
6038
5909
|
id: string | null
|
|
6039
|
-
userId:
|
|
5910
|
+
userId: string | null
|
|
6040
5911
|
}
|
|
6041
5912
|
|
|
6042
5913
|
export type GoogleUserMaxAggregateOutputType = {
|
|
6043
5914
|
id: string | null
|
|
6044
|
-
userId:
|
|
5915
|
+
userId: string | null
|
|
6045
5916
|
}
|
|
6046
5917
|
|
|
6047
5918
|
export type GoogleUserCountAggregateOutputType = {
|
|
@@ -6051,14 +5922,6 @@ export namespace Prisma {
|
|
|
6051
5922
|
}
|
|
6052
5923
|
|
|
6053
5924
|
|
|
6054
|
-
export type GoogleUserAvgAggregateInputType = {
|
|
6055
|
-
userId?: true
|
|
6056
|
-
}
|
|
6057
|
-
|
|
6058
|
-
export type GoogleUserSumAggregateInputType = {
|
|
6059
|
-
userId?: true
|
|
6060
|
-
}
|
|
6061
|
-
|
|
6062
5925
|
export type GoogleUserMinAggregateInputType = {
|
|
6063
5926
|
id?: true
|
|
6064
5927
|
userId?: true
|
|
@@ -6115,18 +5978,6 @@ export namespace Prisma {
|
|
|
6115
5978
|
* Count returned GoogleUsers
|
|
6116
5979
|
**/
|
|
6117
5980
|
_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
5981
|
/**
|
|
6131
5982
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
6132
5983
|
*
|
|
@@ -6160,8 +6011,6 @@ export namespace Prisma {
|
|
|
6160
6011
|
take?: number
|
|
6161
6012
|
skip?: number
|
|
6162
6013
|
_count?: GoogleUserCountAggregateInputType | true
|
|
6163
|
-
_avg?: GoogleUserAvgAggregateInputType
|
|
6164
|
-
_sum?: GoogleUserSumAggregateInputType
|
|
6165
6014
|
_min?: GoogleUserMinAggregateInputType
|
|
6166
6015
|
_max?: GoogleUserMaxAggregateInputType
|
|
6167
6016
|
}
|
|
@@ -6169,10 +6018,8 @@ export namespace Prisma {
|
|
|
6169
6018
|
|
|
6170
6019
|
export type GoogleUserGroupByOutputType = {
|
|
6171
6020
|
id: string
|
|
6172
|
-
userId:
|
|
6021
|
+
userId: string
|
|
6173
6022
|
_count: GoogleUserCountAggregateOutputType | null
|
|
6174
|
-
_avg: GoogleUserAvgAggregateOutputType | null
|
|
6175
|
-
_sum: GoogleUserSumAggregateOutputType | null
|
|
6176
6023
|
_min: GoogleUserMinAggregateOutputType | null
|
|
6177
6024
|
_max: GoogleUserMaxAggregateOutputType | null
|
|
6178
6025
|
}
|
|
@@ -6955,36 +6802,22 @@ export namespace Prisma {
|
|
|
6955
6802
|
|
|
6956
6803
|
export type AggregateAnswer = {
|
|
6957
6804
|
_count: AnswerCountAggregateOutputType | null
|
|
6958
|
-
_avg: AnswerAvgAggregateOutputType | null
|
|
6959
|
-
_sum: AnswerSumAggregateOutputType | null
|
|
6960
6805
|
_min: AnswerMinAggregateOutputType | null
|
|
6961
6806
|
_max: AnswerMaxAggregateOutputType | null
|
|
6962
6807
|
}
|
|
6963
6808
|
|
|
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
6809
|
export type AnswerMinAggregateOutputType = {
|
|
6977
|
-
id:
|
|
6978
|
-
userId:
|
|
6979
|
-
cardId:
|
|
6810
|
+
id: string | null
|
|
6811
|
+
userId: string | null
|
|
6812
|
+
cardId: string | null
|
|
6980
6813
|
status: string | null
|
|
6981
6814
|
timestamp: string | null
|
|
6982
6815
|
}
|
|
6983
6816
|
|
|
6984
6817
|
export type AnswerMaxAggregateOutputType = {
|
|
6985
|
-
id:
|
|
6986
|
-
userId:
|
|
6987
|
-
cardId:
|
|
6818
|
+
id: string | null
|
|
6819
|
+
userId: string | null
|
|
6820
|
+
cardId: string | null
|
|
6988
6821
|
status: string | null
|
|
6989
6822
|
timestamp: string | null
|
|
6990
6823
|
}
|
|
@@ -6999,18 +6832,6 @@ export namespace Prisma {
|
|
|
6999
6832
|
}
|
|
7000
6833
|
|
|
7001
6834
|
|
|
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
6835
|
export type AnswerMinAggregateInputType = {
|
|
7015
6836
|
id?: true
|
|
7016
6837
|
userId?: true
|
|
@@ -7076,18 +6897,6 @@ export namespace Prisma {
|
|
|
7076
6897
|
* Count returned Answers
|
|
7077
6898
|
**/
|
|
7078
6899
|
_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
6900
|
/**
|
|
7092
6901
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
7093
6902
|
*
|
|
@@ -7121,22 +6930,18 @@ export namespace Prisma {
|
|
|
7121
6930
|
take?: number
|
|
7122
6931
|
skip?: number
|
|
7123
6932
|
_count?: AnswerCountAggregateInputType | true
|
|
7124
|
-
_avg?: AnswerAvgAggregateInputType
|
|
7125
|
-
_sum?: AnswerSumAggregateInputType
|
|
7126
6933
|
_min?: AnswerMinAggregateInputType
|
|
7127
6934
|
_max?: AnswerMaxAggregateInputType
|
|
7128
6935
|
}
|
|
7129
6936
|
|
|
7130
6937
|
|
|
7131
6938
|
export type AnswerGroupByOutputType = {
|
|
7132
|
-
id:
|
|
7133
|
-
userId:
|
|
7134
|
-
cardId:
|
|
6939
|
+
id: string
|
|
6940
|
+
userId: string
|
|
6941
|
+
cardId: string
|
|
7135
6942
|
status: string
|
|
7136
6943
|
timestamp: string
|
|
7137
6944
|
_count: AnswerCountAggregateOutputType | null
|
|
7138
|
-
_avg: AnswerAvgAggregateOutputType | null
|
|
7139
|
-
_sum: AnswerSumAggregateOutputType | null
|
|
7140
6945
|
_min: AnswerMinAggregateOutputType | null
|
|
7141
6946
|
_max: AnswerMaxAggregateOutputType | null
|
|
7142
6947
|
}
|
|
@@ -7929,71 +7734,81 @@ export namespace Prisma {
|
|
|
7929
7734
|
}
|
|
7930
7735
|
|
|
7931
7736
|
export type PurchaseAvgAggregateOutputType = {
|
|
7932
|
-
|
|
7933
|
-
userId: number | null
|
|
7934
|
-
packId: number | null
|
|
7737
|
+
amount: number | null
|
|
7935
7738
|
}
|
|
7936
7739
|
|
|
7937
7740
|
export type PurchaseSumAggregateOutputType = {
|
|
7938
|
-
|
|
7939
|
-
userId: number | null
|
|
7940
|
-
packId: number | null
|
|
7741
|
+
amount: number | null
|
|
7941
7742
|
}
|
|
7942
7743
|
|
|
7943
7744
|
export type PurchaseMinAggregateOutputType = {
|
|
7944
|
-
id:
|
|
7945
|
-
userId:
|
|
7946
|
-
packId:
|
|
7947
|
-
|
|
7745
|
+
id: string | null
|
|
7746
|
+
userId: string | null
|
|
7747
|
+
packId: string | null
|
|
7748
|
+
currency: string | null
|
|
7749
|
+
amount: number | null
|
|
7750
|
+
orderDate: Date | null
|
|
7751
|
+
paymentDate: Date | null
|
|
7948
7752
|
}
|
|
7949
7753
|
|
|
7950
7754
|
export type PurchaseMaxAggregateOutputType = {
|
|
7951
|
-
id:
|
|
7952
|
-
userId:
|
|
7953
|
-
packId:
|
|
7954
|
-
|
|
7755
|
+
id: string | null
|
|
7756
|
+
userId: string | null
|
|
7757
|
+
packId: string | null
|
|
7758
|
+
currency: string | null
|
|
7759
|
+
amount: number | null
|
|
7760
|
+
orderDate: Date | null
|
|
7761
|
+
paymentDate: Date | null
|
|
7955
7762
|
}
|
|
7956
7763
|
|
|
7957
7764
|
export type PurchaseCountAggregateOutputType = {
|
|
7958
7765
|
id: number
|
|
7959
7766
|
userId: number
|
|
7960
7767
|
packId: number
|
|
7961
|
-
|
|
7768
|
+
currency: number
|
|
7769
|
+
amount: number
|
|
7770
|
+
orderDate: number
|
|
7771
|
+
paymentDate: number
|
|
7962
7772
|
_all: number
|
|
7963
7773
|
}
|
|
7964
7774
|
|
|
7965
7775
|
|
|
7966
7776
|
export type PurchaseAvgAggregateInputType = {
|
|
7967
|
-
|
|
7968
|
-
userId?: true
|
|
7969
|
-
packId?: true
|
|
7777
|
+
amount?: true
|
|
7970
7778
|
}
|
|
7971
7779
|
|
|
7972
7780
|
export type PurchaseSumAggregateInputType = {
|
|
7973
|
-
|
|
7974
|
-
userId?: true
|
|
7975
|
-
packId?: true
|
|
7781
|
+
amount?: true
|
|
7976
7782
|
}
|
|
7977
7783
|
|
|
7978
7784
|
export type PurchaseMinAggregateInputType = {
|
|
7979
7785
|
id?: true
|
|
7980
7786
|
userId?: true
|
|
7981
7787
|
packId?: true
|
|
7982
|
-
|
|
7788
|
+
currency?: true
|
|
7789
|
+
amount?: true
|
|
7790
|
+
orderDate?: true
|
|
7791
|
+
paymentDate?: true
|
|
7983
7792
|
}
|
|
7984
7793
|
|
|
7985
7794
|
export type PurchaseMaxAggregateInputType = {
|
|
7986
7795
|
id?: true
|
|
7987
7796
|
userId?: true
|
|
7988
7797
|
packId?: true
|
|
7989
|
-
|
|
7798
|
+
currency?: true
|
|
7799
|
+
amount?: true
|
|
7800
|
+
orderDate?: true
|
|
7801
|
+
paymentDate?: true
|
|
7990
7802
|
}
|
|
7991
7803
|
|
|
7992
7804
|
export type PurchaseCountAggregateInputType = {
|
|
7993
7805
|
id?: true
|
|
7994
7806
|
userId?: true
|
|
7995
7807
|
packId?: true
|
|
7996
|
-
|
|
7808
|
+
currency?: true
|
|
7809
|
+
amount?: true
|
|
7810
|
+
orderDate?: true
|
|
7811
|
+
paymentDate?: true
|
|
7997
7812
|
_all?: true
|
|
7998
7813
|
}
|
|
7999
7814
|
|
|
@@ -8090,10 +7905,13 @@ export namespace Prisma {
|
|
|
8090
7905
|
|
|
8091
7906
|
|
|
8092
7907
|
export type PurchaseGroupByOutputType = {
|
|
8093
|
-
id:
|
|
8094
|
-
userId:
|
|
8095
|
-
packId:
|
|
8096
|
-
|
|
7908
|
+
id: string
|
|
7909
|
+
userId: string
|
|
7910
|
+
packId: string
|
|
7911
|
+
currency: string
|
|
7912
|
+
amount: number
|
|
7913
|
+
orderDate: Date | null
|
|
7914
|
+
paymentDate: Date | null
|
|
8097
7915
|
_count: PurchaseCountAggregateOutputType | null
|
|
8098
7916
|
_avg: PurchaseAvgAggregateOutputType | null
|
|
8099
7917
|
_sum: PurchaseSumAggregateOutputType | null
|
|
@@ -8121,7 +7939,10 @@ export namespace Prisma {
|
|
|
8121
7939
|
userId?: boolean
|
|
8122
7940
|
pack?: boolean | PackArgs
|
|
8123
7941
|
packId?: boolean
|
|
8124
|
-
|
|
7942
|
+
currency?: boolean
|
|
7943
|
+
amount?: boolean
|
|
7944
|
+
orderDate?: boolean
|
|
7945
|
+
paymentDate?: boolean
|
|
8125
7946
|
}
|
|
8126
7947
|
|
|
8127
7948
|
export type PurchaseInclude = {
|
|
@@ -8930,7 +8751,10 @@ export namespace Prisma {
|
|
|
8930
8751
|
id: 'id',
|
|
8931
8752
|
userId: 'userId',
|
|
8932
8753
|
packId: 'packId',
|
|
8933
|
-
|
|
8754
|
+
currency: 'currency',
|
|
8755
|
+
amount: 'amount',
|
|
8756
|
+
orderDate: 'orderDate',
|
|
8757
|
+
paymentDate: 'paymentDate'
|
|
8934
8758
|
};
|
|
8935
8759
|
|
|
8936
8760
|
export type PurchaseScalarFieldEnum = (typeof PurchaseScalarFieldEnum)[keyof typeof PurchaseScalarFieldEnum]
|
|
@@ -9001,9 +8825,9 @@ export namespace Prisma {
|
|
|
9001
8825
|
AND?: Enumerable<CardWhereInput>
|
|
9002
8826
|
OR?: Enumerable<CardWhereInput>
|
|
9003
8827
|
NOT?: Enumerable<CardWhereInput>
|
|
9004
|
-
id?:
|
|
8828
|
+
id?: StringFilter | string
|
|
9005
8829
|
pack?: XOR<PackRelationFilter, PackWhereInput>
|
|
9006
|
-
packId?:
|
|
8830
|
+
packId?: StringFilter | string
|
|
9007
8831
|
front?: StringFilter | string
|
|
9008
8832
|
back?: StringFilter | string
|
|
9009
8833
|
userCards?: UserCardListRelationFilter
|
|
@@ -9019,7 +8843,7 @@ export namespace Prisma {
|
|
|
9019
8843
|
}
|
|
9020
8844
|
|
|
9021
8845
|
export type CardWhereUniqueInput = {
|
|
9022
|
-
id?:
|
|
8846
|
+
id?: string
|
|
9023
8847
|
packId_front?: CardPackIdFrontCompoundUniqueInput
|
|
9024
8848
|
packId_back?: CardPackIdBackCompoundUniqueInput
|
|
9025
8849
|
}
|
|
@@ -9030,18 +8854,16 @@ export namespace Prisma {
|
|
|
9030
8854
|
front?: SortOrder
|
|
9031
8855
|
back?: SortOrder
|
|
9032
8856
|
_count?: CardCountOrderByAggregateInput
|
|
9033
|
-
_avg?: CardAvgOrderByAggregateInput
|
|
9034
8857
|
_max?: CardMaxOrderByAggregateInput
|
|
9035
8858
|
_min?: CardMinOrderByAggregateInput
|
|
9036
|
-
_sum?: CardSumOrderByAggregateInput
|
|
9037
8859
|
}
|
|
9038
8860
|
|
|
9039
8861
|
export type CardScalarWhereWithAggregatesInput = {
|
|
9040
8862
|
AND?: Enumerable<CardScalarWhereWithAggregatesInput>
|
|
9041
8863
|
OR?: Enumerable<CardScalarWhereWithAggregatesInput>
|
|
9042
8864
|
NOT?: Enumerable<CardScalarWhereWithAggregatesInput>
|
|
9043
|
-
id?:
|
|
9044
|
-
packId?:
|
|
8865
|
+
id?: StringWithAggregatesFilter | string
|
|
8866
|
+
packId?: StringWithAggregatesFilter | string
|
|
9045
8867
|
front?: StringWithAggregatesFilter | string
|
|
9046
8868
|
back?: StringWithAggregatesFilter | string
|
|
9047
8869
|
}
|
|
@@ -9051,9 +8873,9 @@ export namespace Prisma {
|
|
|
9051
8873
|
OR?: Enumerable<UserCardWhereInput>
|
|
9052
8874
|
NOT?: Enumerable<UserCardWhereInput>
|
|
9053
8875
|
user?: XOR<UserRelationFilter, UserWhereInput>
|
|
9054
|
-
userId?:
|
|
8876
|
+
userId?: StringFilter | string
|
|
9055
8877
|
card?: XOR<CardRelationFilter, CardWhereInput>
|
|
9056
|
-
cardId?:
|
|
8878
|
+
cardId?: StringFilter | string
|
|
9057
8879
|
currentInterval?: IntNullableFilter | number | null
|
|
9058
8880
|
dueDate?: DateTimeNullableFilter | Date | string | null
|
|
9059
8881
|
done?: BoolFilter | boolean
|
|
@@ -9090,8 +8912,8 @@ export namespace Prisma {
|
|
|
9090
8912
|
AND?: Enumerable<UserCardScalarWhereWithAggregatesInput>
|
|
9091
8913
|
OR?: Enumerable<UserCardScalarWhereWithAggregatesInput>
|
|
9092
8914
|
NOT?: Enumerable<UserCardScalarWhereWithAggregatesInput>
|
|
9093
|
-
userId?:
|
|
9094
|
-
cardId?:
|
|
8915
|
+
userId?: StringWithAggregatesFilter | string
|
|
8916
|
+
cardId?: StringWithAggregatesFilter | string
|
|
9095
8917
|
currentInterval?: IntNullableWithAggregatesFilter | number | null
|
|
9096
8918
|
dueDate?: DateTimeNullableWithAggregatesFilter | Date | string | null
|
|
9097
8919
|
done?: BoolWithAggregatesFilter | boolean
|
|
@@ -9101,9 +8923,9 @@ export namespace Prisma {
|
|
|
9101
8923
|
AND?: Enumerable<PackWhereInput>
|
|
9102
8924
|
OR?: Enumerable<PackWhereInput>
|
|
9103
8925
|
NOT?: Enumerable<PackWhereInput>
|
|
9104
|
-
id?:
|
|
8926
|
+
id?: StringFilter | string
|
|
9105
8927
|
teacher?: XOR<TeacherRelationFilter, TeacherWhereInput>
|
|
9106
|
-
teacherId?:
|
|
8928
|
+
teacherId?: StringFilter | string
|
|
9107
8929
|
name?: StringFilter | string
|
|
9108
8930
|
cards?: CardListRelationFilter
|
|
9109
8931
|
users?: UserListRelationFilter
|
|
@@ -9123,7 +8945,7 @@ export namespace Prisma {
|
|
|
9123
8945
|
}
|
|
9124
8946
|
|
|
9125
8947
|
export type PackWhereUniqueInput = {
|
|
9126
|
-
id?:
|
|
8948
|
+
id?: string
|
|
9127
8949
|
}
|
|
9128
8950
|
|
|
9129
8951
|
export type PackOrderByWithAggregationInput = {
|
|
@@ -9142,8 +8964,8 @@ export namespace Prisma {
|
|
|
9142
8964
|
AND?: Enumerable<PackScalarWhereWithAggregatesInput>
|
|
9143
8965
|
OR?: Enumerable<PackScalarWhereWithAggregatesInput>
|
|
9144
8966
|
NOT?: Enumerable<PackScalarWhereWithAggregatesInput>
|
|
9145
|
-
id?:
|
|
9146
|
-
teacherId?:
|
|
8967
|
+
id?: StringWithAggregatesFilter | string
|
|
8968
|
+
teacherId?: StringWithAggregatesFilter | string
|
|
9147
8969
|
name?: StringWithAggregatesFilter | string
|
|
9148
8970
|
currentPrice?: DecimalWithAggregatesFilter | Decimal | DecimalJsLike | number | string
|
|
9149
8971
|
}
|
|
@@ -9152,7 +8974,7 @@ export namespace Prisma {
|
|
|
9152
8974
|
AND?: Enumerable<UserWhereInput>
|
|
9153
8975
|
OR?: Enumerable<UserWhereInput>
|
|
9154
8976
|
NOT?: Enumerable<UserWhereInput>
|
|
9155
|
-
id?:
|
|
8977
|
+
id?: StringFilter | string
|
|
9156
8978
|
email?: StringFilter | string
|
|
9157
8979
|
name?: StringFilter | string
|
|
9158
8980
|
googleUser?: XOR<GoogleUserRelationFilter, GoogleUserWhereInput> | null
|
|
@@ -9174,7 +8996,7 @@ export namespace Prisma {
|
|
|
9174
8996
|
}
|
|
9175
8997
|
|
|
9176
8998
|
export type UserWhereUniqueInput = {
|
|
9177
|
-
id?:
|
|
8999
|
+
id?: string
|
|
9178
9000
|
email?: string
|
|
9179
9001
|
}
|
|
9180
9002
|
|
|
@@ -9183,17 +9005,15 @@ export namespace Prisma {
|
|
|
9183
9005
|
email?: SortOrder
|
|
9184
9006
|
name?: SortOrder
|
|
9185
9007
|
_count?: UserCountOrderByAggregateInput
|
|
9186
|
-
_avg?: UserAvgOrderByAggregateInput
|
|
9187
9008
|
_max?: UserMaxOrderByAggregateInput
|
|
9188
9009
|
_min?: UserMinOrderByAggregateInput
|
|
9189
|
-
_sum?: UserSumOrderByAggregateInput
|
|
9190
9010
|
}
|
|
9191
9011
|
|
|
9192
9012
|
export type UserScalarWhereWithAggregatesInput = {
|
|
9193
9013
|
AND?: Enumerable<UserScalarWhereWithAggregatesInput>
|
|
9194
9014
|
OR?: Enumerable<UserScalarWhereWithAggregatesInput>
|
|
9195
9015
|
NOT?: Enumerable<UserScalarWhereWithAggregatesInput>
|
|
9196
|
-
id?:
|
|
9016
|
+
id?: StringWithAggregatesFilter | string
|
|
9197
9017
|
email?: StringWithAggregatesFilter | string
|
|
9198
9018
|
name?: StringWithAggregatesFilter | string
|
|
9199
9019
|
}
|
|
@@ -9202,7 +9022,7 @@ export namespace Prisma {
|
|
|
9202
9022
|
AND?: Enumerable<TeacherWhereInput>
|
|
9203
9023
|
OR?: Enumerable<TeacherWhereInput>
|
|
9204
9024
|
NOT?: Enumerable<TeacherWhereInput>
|
|
9205
|
-
id?:
|
|
9025
|
+
id?: StringFilter | string
|
|
9206
9026
|
email?: StringFilter | string
|
|
9207
9027
|
name?: StringFilter | string
|
|
9208
9028
|
password?: StringFilter | string
|
|
@@ -9218,7 +9038,7 @@ export namespace Prisma {
|
|
|
9218
9038
|
}
|
|
9219
9039
|
|
|
9220
9040
|
export type TeacherWhereUniqueInput = {
|
|
9221
|
-
id?:
|
|
9041
|
+
id?: string
|
|
9222
9042
|
email?: string
|
|
9223
9043
|
}
|
|
9224
9044
|
|
|
@@ -9228,17 +9048,15 @@ export namespace Prisma {
|
|
|
9228
9048
|
name?: SortOrder
|
|
9229
9049
|
password?: SortOrder
|
|
9230
9050
|
_count?: TeacherCountOrderByAggregateInput
|
|
9231
|
-
_avg?: TeacherAvgOrderByAggregateInput
|
|
9232
9051
|
_max?: TeacherMaxOrderByAggregateInput
|
|
9233
9052
|
_min?: TeacherMinOrderByAggregateInput
|
|
9234
|
-
_sum?: TeacherSumOrderByAggregateInput
|
|
9235
9053
|
}
|
|
9236
9054
|
|
|
9237
9055
|
export type TeacherScalarWhereWithAggregatesInput = {
|
|
9238
9056
|
AND?: Enumerable<TeacherScalarWhereWithAggregatesInput>
|
|
9239
9057
|
OR?: Enumerable<TeacherScalarWhereWithAggregatesInput>
|
|
9240
9058
|
NOT?: Enumerable<TeacherScalarWhereWithAggregatesInput>
|
|
9241
|
-
id?:
|
|
9059
|
+
id?: StringWithAggregatesFilter | string
|
|
9242
9060
|
email?: StringWithAggregatesFilter | string
|
|
9243
9061
|
name?: StringWithAggregatesFilter | string
|
|
9244
9062
|
password?: StringWithAggregatesFilter | string
|
|
@@ -9250,7 +9068,7 @@ export namespace Prisma {
|
|
|
9250
9068
|
NOT?: Enumerable<GoogleUserWhereInput>
|
|
9251
9069
|
id?: StringFilter | string
|
|
9252
9070
|
user?: XOR<UserRelationFilter, UserWhereInput>
|
|
9253
|
-
userId?:
|
|
9071
|
+
userId?: StringFilter | string
|
|
9254
9072
|
}
|
|
9255
9073
|
|
|
9256
9074
|
export type GoogleUserOrderByWithRelationInput = {
|
|
@@ -9261,17 +9079,15 @@ export namespace Prisma {
|
|
|
9261
9079
|
|
|
9262
9080
|
export type GoogleUserWhereUniqueInput = {
|
|
9263
9081
|
id?: string
|
|
9264
|
-
userId?:
|
|
9082
|
+
userId?: string
|
|
9265
9083
|
}
|
|
9266
9084
|
|
|
9267
9085
|
export type GoogleUserOrderByWithAggregationInput = {
|
|
9268
9086
|
id?: SortOrder
|
|
9269
9087
|
userId?: SortOrder
|
|
9270
9088
|
_count?: GoogleUserCountOrderByAggregateInput
|
|
9271
|
-
_avg?: GoogleUserAvgOrderByAggregateInput
|
|
9272
9089
|
_max?: GoogleUserMaxOrderByAggregateInput
|
|
9273
9090
|
_min?: GoogleUserMinOrderByAggregateInput
|
|
9274
|
-
_sum?: GoogleUserSumOrderByAggregateInput
|
|
9275
9091
|
}
|
|
9276
9092
|
|
|
9277
9093
|
export type GoogleUserScalarWhereWithAggregatesInput = {
|
|
@@ -9279,17 +9095,17 @@ export namespace Prisma {
|
|
|
9279
9095
|
OR?: Enumerable<GoogleUserScalarWhereWithAggregatesInput>
|
|
9280
9096
|
NOT?: Enumerable<GoogleUserScalarWhereWithAggregatesInput>
|
|
9281
9097
|
id?: StringWithAggregatesFilter | string
|
|
9282
|
-
userId?:
|
|
9098
|
+
userId?: StringWithAggregatesFilter | string
|
|
9283
9099
|
}
|
|
9284
9100
|
|
|
9285
9101
|
export type AnswerWhereInput = {
|
|
9286
9102
|
AND?: Enumerable<AnswerWhereInput>
|
|
9287
9103
|
OR?: Enumerable<AnswerWhereInput>
|
|
9288
9104
|
NOT?: Enumerable<AnswerWhereInput>
|
|
9289
|
-
id?:
|
|
9105
|
+
id?: StringFilter | string
|
|
9290
9106
|
user?: XOR<UserRelationFilter, UserWhereInput>
|
|
9291
|
-
userId?:
|
|
9292
|
-
cardId?:
|
|
9107
|
+
userId?: StringFilter | string
|
|
9108
|
+
cardId?: StringFilter | string
|
|
9293
9109
|
status?: StringFilter | string
|
|
9294
9110
|
timestamp?: StringFilter | string
|
|
9295
9111
|
}
|
|
@@ -9304,7 +9120,7 @@ export namespace Prisma {
|
|
|
9304
9120
|
}
|
|
9305
9121
|
|
|
9306
9122
|
export type AnswerWhereUniqueInput = {
|
|
9307
|
-
id?:
|
|
9123
|
+
id?: string
|
|
9308
9124
|
}
|
|
9309
9125
|
|
|
9310
9126
|
export type AnswerOrderByWithAggregationInput = {
|
|
@@ -9314,19 +9130,17 @@ export namespace Prisma {
|
|
|
9314
9130
|
status?: SortOrder
|
|
9315
9131
|
timestamp?: SortOrder
|
|
9316
9132
|
_count?: AnswerCountOrderByAggregateInput
|
|
9317
|
-
_avg?: AnswerAvgOrderByAggregateInput
|
|
9318
9133
|
_max?: AnswerMaxOrderByAggregateInput
|
|
9319
9134
|
_min?: AnswerMinOrderByAggregateInput
|
|
9320
|
-
_sum?: AnswerSumOrderByAggregateInput
|
|
9321
9135
|
}
|
|
9322
9136
|
|
|
9323
9137
|
export type AnswerScalarWhereWithAggregatesInput = {
|
|
9324
9138
|
AND?: Enumerable<AnswerScalarWhereWithAggregatesInput>
|
|
9325
9139
|
OR?: Enumerable<AnswerScalarWhereWithAggregatesInput>
|
|
9326
9140
|
NOT?: Enumerable<AnswerScalarWhereWithAggregatesInput>
|
|
9327
|
-
id?:
|
|
9328
|
-
userId?:
|
|
9329
|
-
cardId?:
|
|
9141
|
+
id?: StringWithAggregatesFilter | string
|
|
9142
|
+
userId?: StringWithAggregatesFilter | string
|
|
9143
|
+
cardId?: StringWithAggregatesFilter | string
|
|
9330
9144
|
status?: StringWithAggregatesFilter | string
|
|
9331
9145
|
timestamp?: StringWithAggregatesFilter | string
|
|
9332
9146
|
}
|
|
@@ -9335,12 +9149,15 @@ export namespace Prisma {
|
|
|
9335
9149
|
AND?: Enumerable<PurchaseWhereInput>
|
|
9336
9150
|
OR?: Enumerable<PurchaseWhereInput>
|
|
9337
9151
|
NOT?: Enumerable<PurchaseWhereInput>
|
|
9338
|
-
id?:
|
|
9152
|
+
id?: StringFilter | string
|
|
9339
9153
|
user?: XOR<UserRelationFilter, UserWhereInput>
|
|
9340
|
-
userId?:
|
|
9154
|
+
userId?: StringFilter | string
|
|
9341
9155
|
pack?: XOR<PackRelationFilter, PackWhereInput>
|
|
9342
|
-
packId?:
|
|
9343
|
-
|
|
9156
|
+
packId?: StringFilter | string
|
|
9157
|
+
currency?: StringFilter | string
|
|
9158
|
+
amount?: IntFilter | number
|
|
9159
|
+
orderDate?: DateTimeNullableFilter | Date | string | null
|
|
9160
|
+
paymentDate?: DateTimeNullableFilter | Date | string | null
|
|
9344
9161
|
}
|
|
9345
9162
|
|
|
9346
9163
|
export type PurchaseOrderByWithRelationInput = {
|
|
@@ -9349,18 +9166,24 @@ export namespace Prisma {
|
|
|
9349
9166
|
userId?: SortOrder
|
|
9350
9167
|
pack?: PackOrderByWithRelationInput
|
|
9351
9168
|
packId?: SortOrder
|
|
9352
|
-
|
|
9169
|
+
currency?: SortOrder
|
|
9170
|
+
amount?: SortOrder
|
|
9171
|
+
orderDate?: SortOrder
|
|
9172
|
+
paymentDate?: SortOrder
|
|
9353
9173
|
}
|
|
9354
9174
|
|
|
9355
9175
|
export type PurchaseWhereUniqueInput = {
|
|
9356
|
-
id?:
|
|
9176
|
+
id?: string
|
|
9357
9177
|
}
|
|
9358
9178
|
|
|
9359
9179
|
export type PurchaseOrderByWithAggregationInput = {
|
|
9360
9180
|
id?: SortOrder
|
|
9361
9181
|
userId?: SortOrder
|
|
9362
9182
|
packId?: SortOrder
|
|
9363
|
-
|
|
9183
|
+
currency?: SortOrder
|
|
9184
|
+
amount?: SortOrder
|
|
9185
|
+
orderDate?: SortOrder
|
|
9186
|
+
paymentDate?: SortOrder
|
|
9364
9187
|
_count?: PurchaseCountOrderByAggregateInput
|
|
9365
9188
|
_avg?: PurchaseAvgOrderByAggregateInput
|
|
9366
9189
|
_max?: PurchaseMaxOrderByAggregateInput
|
|
@@ -9372,13 +9195,17 @@ export namespace Prisma {
|
|
|
9372
9195
|
AND?: Enumerable<PurchaseScalarWhereWithAggregatesInput>
|
|
9373
9196
|
OR?: Enumerable<PurchaseScalarWhereWithAggregatesInput>
|
|
9374
9197
|
NOT?: Enumerable<PurchaseScalarWhereWithAggregatesInput>
|
|
9375
|
-
id?:
|
|
9376
|
-
userId?:
|
|
9377
|
-
packId?:
|
|
9378
|
-
|
|
9198
|
+
id?: StringWithAggregatesFilter | string
|
|
9199
|
+
userId?: StringWithAggregatesFilter | string
|
|
9200
|
+
packId?: StringWithAggregatesFilter | string
|
|
9201
|
+
currency?: StringWithAggregatesFilter | string
|
|
9202
|
+
amount?: IntWithAggregatesFilter | number
|
|
9203
|
+
orderDate?: DateTimeNullableWithAggregatesFilter | Date | string | null
|
|
9204
|
+
paymentDate?: DateTimeNullableWithAggregatesFilter | Date | string | null
|
|
9379
9205
|
}
|
|
9380
9206
|
|
|
9381
9207
|
export type CardCreateInput = {
|
|
9208
|
+
id?: string
|
|
9382
9209
|
pack: PackCreateNestedOneWithoutCardsInput
|
|
9383
9210
|
front: string
|
|
9384
9211
|
back: string
|
|
@@ -9386,14 +9213,15 @@ export namespace Prisma {
|
|
|
9386
9213
|
}
|
|
9387
9214
|
|
|
9388
9215
|
export type CardUncheckedCreateInput = {
|
|
9389
|
-
id?:
|
|
9390
|
-
packId:
|
|
9216
|
+
id?: string
|
|
9217
|
+
packId: string
|
|
9391
9218
|
front: string
|
|
9392
9219
|
back: string
|
|
9393
9220
|
userCards?: UserCardUncheckedCreateNestedManyWithoutCardInput
|
|
9394
9221
|
}
|
|
9395
9222
|
|
|
9396
9223
|
export type CardUpdateInput = {
|
|
9224
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
9397
9225
|
pack?: PackUpdateOneRequiredWithoutCardsNestedInput
|
|
9398
9226
|
front?: StringFieldUpdateOperationsInput | string
|
|
9399
9227
|
back?: StringFieldUpdateOperationsInput | string
|
|
@@ -9401,28 +9229,29 @@ export namespace Prisma {
|
|
|
9401
9229
|
}
|
|
9402
9230
|
|
|
9403
9231
|
export type CardUncheckedUpdateInput = {
|
|
9404
|
-
id?:
|
|
9405
|
-
packId?:
|
|
9232
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
9233
|
+
packId?: StringFieldUpdateOperationsInput | string
|
|
9406
9234
|
front?: StringFieldUpdateOperationsInput | string
|
|
9407
9235
|
back?: StringFieldUpdateOperationsInput | string
|
|
9408
9236
|
userCards?: UserCardUncheckedUpdateManyWithoutCardNestedInput
|
|
9409
9237
|
}
|
|
9410
9238
|
|
|
9411
9239
|
export type CardCreateManyInput = {
|
|
9412
|
-
id?:
|
|
9413
|
-
packId:
|
|
9240
|
+
id?: string
|
|
9241
|
+
packId: string
|
|
9414
9242
|
front: string
|
|
9415
9243
|
back: string
|
|
9416
9244
|
}
|
|
9417
9245
|
|
|
9418
9246
|
export type CardUpdateManyMutationInput = {
|
|
9247
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
9419
9248
|
front?: StringFieldUpdateOperationsInput | string
|
|
9420
9249
|
back?: StringFieldUpdateOperationsInput | string
|
|
9421
9250
|
}
|
|
9422
9251
|
|
|
9423
9252
|
export type CardUncheckedUpdateManyInput = {
|
|
9424
|
-
id?:
|
|
9425
|
-
packId?:
|
|
9253
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
9254
|
+
packId?: StringFieldUpdateOperationsInput | string
|
|
9426
9255
|
front?: StringFieldUpdateOperationsInput | string
|
|
9427
9256
|
back?: StringFieldUpdateOperationsInput | string
|
|
9428
9257
|
}
|
|
@@ -9436,8 +9265,8 @@ export namespace Prisma {
|
|
|
9436
9265
|
}
|
|
9437
9266
|
|
|
9438
9267
|
export type UserCardUncheckedCreateInput = {
|
|
9439
|
-
userId:
|
|
9440
|
-
cardId:
|
|
9268
|
+
userId: string
|
|
9269
|
+
cardId: string
|
|
9441
9270
|
currentInterval?: number | null
|
|
9442
9271
|
dueDate?: Date | string | null
|
|
9443
9272
|
done: boolean
|
|
@@ -9452,16 +9281,16 @@ export namespace Prisma {
|
|
|
9452
9281
|
}
|
|
9453
9282
|
|
|
9454
9283
|
export type UserCardUncheckedUpdateInput = {
|
|
9455
|
-
userId?:
|
|
9456
|
-
cardId?:
|
|
9284
|
+
userId?: StringFieldUpdateOperationsInput | string
|
|
9285
|
+
cardId?: StringFieldUpdateOperationsInput | string
|
|
9457
9286
|
currentInterval?: NullableIntFieldUpdateOperationsInput | number | null
|
|
9458
9287
|
dueDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
9459
9288
|
done?: BoolFieldUpdateOperationsInput | boolean
|
|
9460
9289
|
}
|
|
9461
9290
|
|
|
9462
9291
|
export type UserCardCreateManyInput = {
|
|
9463
|
-
userId:
|
|
9464
|
-
cardId:
|
|
9292
|
+
userId: string
|
|
9293
|
+
cardId: string
|
|
9465
9294
|
currentInterval?: number | null
|
|
9466
9295
|
dueDate?: Date | string | null
|
|
9467
9296
|
done: boolean
|
|
@@ -9474,14 +9303,15 @@ export namespace Prisma {
|
|
|
9474
9303
|
}
|
|
9475
9304
|
|
|
9476
9305
|
export type UserCardUncheckedUpdateManyInput = {
|
|
9477
|
-
userId?:
|
|
9478
|
-
cardId?:
|
|
9306
|
+
userId?: StringFieldUpdateOperationsInput | string
|
|
9307
|
+
cardId?: StringFieldUpdateOperationsInput | string
|
|
9479
9308
|
currentInterval?: NullableIntFieldUpdateOperationsInput | number | null
|
|
9480
9309
|
dueDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
9481
9310
|
done?: BoolFieldUpdateOperationsInput | boolean
|
|
9482
9311
|
}
|
|
9483
9312
|
|
|
9484
9313
|
export type PackCreateInput = {
|
|
9314
|
+
id?: string
|
|
9485
9315
|
teacher: TeacherCreateNestedOneWithoutPacksInput
|
|
9486
9316
|
name: string
|
|
9487
9317
|
cards?: CardCreateNestedManyWithoutPackInput
|
|
@@ -9491,8 +9321,8 @@ export namespace Prisma {
|
|
|
9491
9321
|
}
|
|
9492
9322
|
|
|
9493
9323
|
export type PackUncheckedCreateInput = {
|
|
9494
|
-
id?:
|
|
9495
|
-
teacherId:
|
|
9324
|
+
id?: string
|
|
9325
|
+
teacherId: string
|
|
9496
9326
|
name: string
|
|
9497
9327
|
cards?: CardUncheckedCreateNestedManyWithoutPackInput
|
|
9498
9328
|
users?: UserUncheckedCreateNestedManyWithoutPacksInput
|
|
@@ -9501,6 +9331,7 @@ export namespace Prisma {
|
|
|
9501
9331
|
}
|
|
9502
9332
|
|
|
9503
9333
|
export type PackUpdateInput = {
|
|
9334
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
9504
9335
|
teacher?: TeacherUpdateOneRequiredWithoutPacksNestedInput
|
|
9505
9336
|
name?: StringFieldUpdateOperationsInput | string
|
|
9506
9337
|
cards?: CardUpdateManyWithoutPackNestedInput
|
|
@@ -9510,8 +9341,8 @@ export namespace Prisma {
|
|
|
9510
9341
|
}
|
|
9511
9342
|
|
|
9512
9343
|
export type PackUncheckedUpdateInput = {
|
|
9513
|
-
id?:
|
|
9514
|
-
teacherId?:
|
|
9344
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
9345
|
+
teacherId?: StringFieldUpdateOperationsInput | string
|
|
9515
9346
|
name?: StringFieldUpdateOperationsInput | string
|
|
9516
9347
|
cards?: CardUncheckedUpdateManyWithoutPackNestedInput
|
|
9517
9348
|
users?: UserUncheckedUpdateManyWithoutPacksNestedInput
|
|
@@ -9520,25 +9351,27 @@ export namespace Prisma {
|
|
|
9520
9351
|
}
|
|
9521
9352
|
|
|
9522
9353
|
export type PackCreateManyInput = {
|
|
9523
|
-
id?:
|
|
9524
|
-
teacherId:
|
|
9354
|
+
id?: string
|
|
9355
|
+
teacherId: string
|
|
9525
9356
|
name: string
|
|
9526
9357
|
currentPrice: Decimal | DecimalJsLike | number | string
|
|
9527
9358
|
}
|
|
9528
9359
|
|
|
9529
9360
|
export type PackUpdateManyMutationInput = {
|
|
9361
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
9530
9362
|
name?: StringFieldUpdateOperationsInput | string
|
|
9531
9363
|
currentPrice?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
|
|
9532
9364
|
}
|
|
9533
9365
|
|
|
9534
9366
|
export type PackUncheckedUpdateManyInput = {
|
|
9535
|
-
id?:
|
|
9536
|
-
teacherId?:
|
|
9367
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
9368
|
+
teacherId?: StringFieldUpdateOperationsInput | string
|
|
9537
9369
|
name?: StringFieldUpdateOperationsInput | string
|
|
9538
9370
|
currentPrice?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
|
|
9539
9371
|
}
|
|
9540
9372
|
|
|
9541
9373
|
export type UserCreateInput = {
|
|
9374
|
+
id?: string
|
|
9542
9375
|
email: string
|
|
9543
9376
|
name: string
|
|
9544
9377
|
googleUser?: GoogleUserCreateNestedOneWithoutUserInput
|
|
@@ -9549,7 +9382,7 @@ export namespace Prisma {
|
|
|
9549
9382
|
}
|
|
9550
9383
|
|
|
9551
9384
|
export type UserUncheckedCreateInput = {
|
|
9552
|
-
id?:
|
|
9385
|
+
id?: string
|
|
9553
9386
|
email: string
|
|
9554
9387
|
name: string
|
|
9555
9388
|
googleUser?: GoogleUserUncheckedCreateNestedOneWithoutUserInput
|
|
@@ -9560,6 +9393,7 @@ export namespace Prisma {
|
|
|
9560
9393
|
}
|
|
9561
9394
|
|
|
9562
9395
|
export type UserUpdateInput = {
|
|
9396
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
9563
9397
|
email?: StringFieldUpdateOperationsInput | string
|
|
9564
9398
|
name?: StringFieldUpdateOperationsInput | string
|
|
9565
9399
|
googleUser?: GoogleUserUpdateOneWithoutUserNestedInput
|
|
@@ -9570,7 +9404,7 @@ export namespace Prisma {
|
|
|
9570
9404
|
}
|
|
9571
9405
|
|
|
9572
9406
|
export type UserUncheckedUpdateInput = {
|
|
9573
|
-
id?:
|
|
9407
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
9574
9408
|
email?: StringFieldUpdateOperationsInput | string
|
|
9575
9409
|
name?: StringFieldUpdateOperationsInput | string
|
|
9576
9410
|
googleUser?: GoogleUserUncheckedUpdateOneWithoutUserNestedInput
|
|
@@ -9581,23 +9415,25 @@ export namespace Prisma {
|
|
|
9581
9415
|
}
|
|
9582
9416
|
|
|
9583
9417
|
export type UserCreateManyInput = {
|
|
9584
|
-
id?:
|
|
9418
|
+
id?: string
|
|
9585
9419
|
email: string
|
|
9586
9420
|
name: string
|
|
9587
9421
|
}
|
|
9588
9422
|
|
|
9589
9423
|
export type UserUpdateManyMutationInput = {
|
|
9424
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
9590
9425
|
email?: StringFieldUpdateOperationsInput | string
|
|
9591
9426
|
name?: StringFieldUpdateOperationsInput | string
|
|
9592
9427
|
}
|
|
9593
9428
|
|
|
9594
9429
|
export type UserUncheckedUpdateManyInput = {
|
|
9595
|
-
id?:
|
|
9430
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
9596
9431
|
email?: StringFieldUpdateOperationsInput | string
|
|
9597
9432
|
name?: StringFieldUpdateOperationsInput | string
|
|
9598
9433
|
}
|
|
9599
9434
|
|
|
9600
9435
|
export type TeacherCreateInput = {
|
|
9436
|
+
id?: string
|
|
9601
9437
|
email: string
|
|
9602
9438
|
name: string
|
|
9603
9439
|
password: string
|
|
@@ -9605,7 +9441,7 @@ export namespace Prisma {
|
|
|
9605
9441
|
}
|
|
9606
9442
|
|
|
9607
9443
|
export type TeacherUncheckedCreateInput = {
|
|
9608
|
-
id?:
|
|
9444
|
+
id?: string
|
|
9609
9445
|
email: string
|
|
9610
9446
|
name: string
|
|
9611
9447
|
password: string
|
|
@@ -9613,6 +9449,7 @@ export namespace Prisma {
|
|
|
9613
9449
|
}
|
|
9614
9450
|
|
|
9615
9451
|
export type TeacherUpdateInput = {
|
|
9452
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
9616
9453
|
email?: StringFieldUpdateOperationsInput | string
|
|
9617
9454
|
name?: StringFieldUpdateOperationsInput | string
|
|
9618
9455
|
password?: StringFieldUpdateOperationsInput | string
|
|
@@ -9620,7 +9457,7 @@ export namespace Prisma {
|
|
|
9620
9457
|
}
|
|
9621
9458
|
|
|
9622
9459
|
export type TeacherUncheckedUpdateInput = {
|
|
9623
|
-
id?:
|
|
9460
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
9624
9461
|
email?: StringFieldUpdateOperationsInput | string
|
|
9625
9462
|
name?: StringFieldUpdateOperationsInput | string
|
|
9626
9463
|
password?: StringFieldUpdateOperationsInput | string
|
|
@@ -9628,20 +9465,21 @@ export namespace Prisma {
|
|
|
9628
9465
|
}
|
|
9629
9466
|
|
|
9630
9467
|
export type TeacherCreateManyInput = {
|
|
9631
|
-
id?:
|
|
9468
|
+
id?: string
|
|
9632
9469
|
email: string
|
|
9633
9470
|
name: string
|
|
9634
9471
|
password: string
|
|
9635
9472
|
}
|
|
9636
9473
|
|
|
9637
9474
|
export type TeacherUpdateManyMutationInput = {
|
|
9475
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
9638
9476
|
email?: StringFieldUpdateOperationsInput | string
|
|
9639
9477
|
name?: StringFieldUpdateOperationsInput | string
|
|
9640
9478
|
password?: StringFieldUpdateOperationsInput | string
|
|
9641
9479
|
}
|
|
9642
9480
|
|
|
9643
9481
|
export type TeacherUncheckedUpdateManyInput = {
|
|
9644
|
-
id?:
|
|
9482
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
9645
9483
|
email?: StringFieldUpdateOperationsInput | string
|
|
9646
9484
|
name?: StringFieldUpdateOperationsInput | string
|
|
9647
9485
|
password?: StringFieldUpdateOperationsInput | string
|
|
@@ -9654,7 +9492,7 @@ export namespace Prisma {
|
|
|
9654
9492
|
|
|
9655
9493
|
export type GoogleUserUncheckedCreateInput = {
|
|
9656
9494
|
id: string
|
|
9657
|
-
userId:
|
|
9495
|
+
userId: string
|
|
9658
9496
|
}
|
|
9659
9497
|
|
|
9660
9498
|
export type GoogleUserUpdateInput = {
|
|
@@ -9664,12 +9502,12 @@ export namespace Prisma {
|
|
|
9664
9502
|
|
|
9665
9503
|
export type GoogleUserUncheckedUpdateInput = {
|
|
9666
9504
|
id?: StringFieldUpdateOperationsInput | string
|
|
9667
|
-
userId?:
|
|
9505
|
+
userId?: StringFieldUpdateOperationsInput | string
|
|
9668
9506
|
}
|
|
9669
9507
|
|
|
9670
9508
|
export type GoogleUserCreateManyInput = {
|
|
9671
9509
|
id: string
|
|
9672
|
-
userId:
|
|
9510
|
+
userId: string
|
|
9673
9511
|
}
|
|
9674
9512
|
|
|
9675
9513
|
export type GoogleUserUpdateManyMutationInput = {
|
|
@@ -9678,119 +9516,130 @@ export namespace Prisma {
|
|
|
9678
9516
|
|
|
9679
9517
|
export type GoogleUserUncheckedUpdateManyInput = {
|
|
9680
9518
|
id?: StringFieldUpdateOperationsInput | string
|
|
9681
|
-
userId?:
|
|
9519
|
+
userId?: StringFieldUpdateOperationsInput | string
|
|
9682
9520
|
}
|
|
9683
9521
|
|
|
9684
9522
|
export type AnswerCreateInput = {
|
|
9523
|
+
id?: string
|
|
9685
9524
|
user: UserCreateNestedOneWithoutAnswersInput
|
|
9686
|
-
cardId:
|
|
9525
|
+
cardId: string
|
|
9687
9526
|
status: string
|
|
9688
9527
|
timestamp: string
|
|
9689
9528
|
}
|
|
9690
9529
|
|
|
9691
9530
|
export type AnswerUncheckedCreateInput = {
|
|
9692
|
-
id?:
|
|
9693
|
-
userId:
|
|
9694
|
-
cardId:
|
|
9531
|
+
id?: string
|
|
9532
|
+
userId: string
|
|
9533
|
+
cardId: string
|
|
9695
9534
|
status: string
|
|
9696
9535
|
timestamp: string
|
|
9697
9536
|
}
|
|
9698
9537
|
|
|
9699
9538
|
export type AnswerUpdateInput = {
|
|
9539
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
9700
9540
|
user?: UserUpdateOneRequiredWithoutAnswersNestedInput
|
|
9701
|
-
cardId?:
|
|
9541
|
+
cardId?: StringFieldUpdateOperationsInput | string
|
|
9702
9542
|
status?: StringFieldUpdateOperationsInput | string
|
|
9703
9543
|
timestamp?: StringFieldUpdateOperationsInput | string
|
|
9704
9544
|
}
|
|
9705
9545
|
|
|
9706
9546
|
export type AnswerUncheckedUpdateInput = {
|
|
9707
|
-
id?:
|
|
9708
|
-
userId?:
|
|
9709
|
-
cardId?:
|
|
9547
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
9548
|
+
userId?: StringFieldUpdateOperationsInput | string
|
|
9549
|
+
cardId?: StringFieldUpdateOperationsInput | string
|
|
9710
9550
|
status?: StringFieldUpdateOperationsInput | string
|
|
9711
9551
|
timestamp?: StringFieldUpdateOperationsInput | string
|
|
9712
9552
|
}
|
|
9713
9553
|
|
|
9714
9554
|
export type AnswerCreateManyInput = {
|
|
9715
|
-
id?:
|
|
9716
|
-
userId:
|
|
9717
|
-
cardId:
|
|
9555
|
+
id?: string
|
|
9556
|
+
userId: string
|
|
9557
|
+
cardId: string
|
|
9718
9558
|
status: string
|
|
9719
9559
|
timestamp: string
|
|
9720
9560
|
}
|
|
9721
9561
|
|
|
9722
9562
|
export type AnswerUpdateManyMutationInput = {
|
|
9723
|
-
|
|
9563
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
9564
|
+
cardId?: StringFieldUpdateOperationsInput | string
|
|
9724
9565
|
status?: StringFieldUpdateOperationsInput | string
|
|
9725
9566
|
timestamp?: StringFieldUpdateOperationsInput | string
|
|
9726
9567
|
}
|
|
9727
9568
|
|
|
9728
9569
|
export type AnswerUncheckedUpdateManyInput = {
|
|
9729
|
-
id?:
|
|
9730
|
-
userId?:
|
|
9731
|
-
cardId?:
|
|
9570
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
9571
|
+
userId?: StringFieldUpdateOperationsInput | string
|
|
9572
|
+
cardId?: StringFieldUpdateOperationsInput | string
|
|
9732
9573
|
status?: StringFieldUpdateOperationsInput | string
|
|
9733
9574
|
timestamp?: StringFieldUpdateOperationsInput | string
|
|
9734
9575
|
}
|
|
9735
9576
|
|
|
9736
9577
|
export type PurchaseCreateInput = {
|
|
9578
|
+
id?: string
|
|
9737
9579
|
user: UserCreateNestedOneWithoutPurchasesInput
|
|
9738
9580
|
pack: PackCreateNestedOneWithoutPurchaseInput
|
|
9739
|
-
|
|
9581
|
+
currency: string
|
|
9582
|
+
amount: number
|
|
9583
|
+
orderDate?: Date | string | null
|
|
9584
|
+
paymentDate?: Date | string | null
|
|
9740
9585
|
}
|
|
9741
9586
|
|
|
9742
9587
|
export type PurchaseUncheckedCreateInput = {
|
|
9743
|
-
id?:
|
|
9744
|
-
userId:
|
|
9745
|
-
packId:
|
|
9746
|
-
|
|
9588
|
+
id?: string
|
|
9589
|
+
userId: string
|
|
9590
|
+
packId: string
|
|
9591
|
+
currency: string
|
|
9592
|
+
amount: number
|
|
9593
|
+
orderDate?: Date | string | null
|
|
9594
|
+
paymentDate?: Date | string | null
|
|
9747
9595
|
}
|
|
9748
9596
|
|
|
9749
9597
|
export type PurchaseUpdateInput = {
|
|
9598
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
9750
9599
|
user?: UserUpdateOneRequiredWithoutPurchasesNestedInput
|
|
9751
9600
|
pack?: PackUpdateOneRequiredWithoutPurchaseNestedInput
|
|
9752
|
-
|
|
9601
|
+
currency?: StringFieldUpdateOperationsInput | string
|
|
9602
|
+
amount?: IntFieldUpdateOperationsInput | number
|
|
9603
|
+
orderDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
9604
|
+
paymentDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
9753
9605
|
}
|
|
9754
9606
|
|
|
9755
9607
|
export type PurchaseUncheckedUpdateInput = {
|
|
9756
|
-
id?:
|
|
9757
|
-
userId?:
|
|
9758
|
-
packId?:
|
|
9759
|
-
|
|
9608
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
9609
|
+
userId?: StringFieldUpdateOperationsInput | string
|
|
9610
|
+
packId?: StringFieldUpdateOperationsInput | string
|
|
9611
|
+
currency?: StringFieldUpdateOperationsInput | string
|
|
9612
|
+
amount?: IntFieldUpdateOperationsInput | number
|
|
9613
|
+
orderDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
9614
|
+
paymentDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
9760
9615
|
}
|
|
9761
9616
|
|
|
9762
9617
|
export type PurchaseCreateManyInput = {
|
|
9763
|
-
id?:
|
|
9764
|
-
userId:
|
|
9765
|
-
packId:
|
|
9766
|
-
|
|
9618
|
+
id?: string
|
|
9619
|
+
userId: string
|
|
9620
|
+
packId: string
|
|
9621
|
+
currency: string
|
|
9622
|
+
amount: number
|
|
9623
|
+
orderDate?: Date | string | null
|
|
9624
|
+
paymentDate?: Date | string | null
|
|
9767
9625
|
}
|
|
9768
9626
|
|
|
9769
9627
|
export type PurchaseUpdateManyMutationInput = {
|
|
9770
|
-
|
|
9628
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
9629
|
+
currency?: StringFieldUpdateOperationsInput | string
|
|
9630
|
+
amount?: IntFieldUpdateOperationsInput | number
|
|
9631
|
+
orderDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
9632
|
+
paymentDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
9771
9633
|
}
|
|
9772
9634
|
|
|
9773
9635
|
export type PurchaseUncheckedUpdateManyInput = {
|
|
9774
|
-
id?:
|
|
9775
|
-
userId?:
|
|
9776
|
-
packId?:
|
|
9777
|
-
|
|
9778
|
-
|
|
9779
|
-
|
|
9780
|
-
|
|
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
|
|
9636
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
9637
|
+
userId?: StringFieldUpdateOperationsInput | string
|
|
9638
|
+
packId?: StringFieldUpdateOperationsInput | string
|
|
9639
|
+
currency?: StringFieldUpdateOperationsInput | string
|
|
9640
|
+
amount?: IntFieldUpdateOperationsInput | number
|
|
9641
|
+
orderDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
9642
|
+
paymentDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
9794
9643
|
}
|
|
9795
9644
|
|
|
9796
9645
|
export type StringFilter = {
|
|
@@ -9808,8 +9657,13 @@ export namespace Prisma {
|
|
|
9808
9657
|
not?: NestedStringFilter | string
|
|
9809
9658
|
}
|
|
9810
9659
|
|
|
9811
|
-
export type
|
|
9812
|
-
|
|
9660
|
+
export type PackRelationFilter = {
|
|
9661
|
+
is?: PackWhereInput
|
|
9662
|
+
isNot?: PackWhereInput
|
|
9663
|
+
}
|
|
9664
|
+
|
|
9665
|
+
export type UserCardListRelationFilter = {
|
|
9666
|
+
every?: UserCardWhereInput
|
|
9813
9667
|
some?: UserCardWhereInput
|
|
9814
9668
|
none?: UserCardWhereInput
|
|
9815
9669
|
}
|
|
@@ -9819,12 +9673,12 @@ export namespace Prisma {
|
|
|
9819
9673
|
}
|
|
9820
9674
|
|
|
9821
9675
|
export type CardPackIdFrontCompoundUniqueInput = {
|
|
9822
|
-
packId:
|
|
9676
|
+
packId: string
|
|
9823
9677
|
front: string
|
|
9824
9678
|
}
|
|
9825
9679
|
|
|
9826
9680
|
export type CardPackIdBackCompoundUniqueInput = {
|
|
9827
|
-
packId:
|
|
9681
|
+
packId: string
|
|
9828
9682
|
back: string
|
|
9829
9683
|
}
|
|
9830
9684
|
|
|
@@ -9835,11 +9689,6 @@ export namespace Prisma {
|
|
|
9835
9689
|
back?: SortOrder
|
|
9836
9690
|
}
|
|
9837
9691
|
|
|
9838
|
-
export type CardAvgOrderByAggregateInput = {
|
|
9839
|
-
id?: SortOrder
|
|
9840
|
-
packId?: SortOrder
|
|
9841
|
-
}
|
|
9842
|
-
|
|
9843
9692
|
export type CardMaxOrderByAggregateInput = {
|
|
9844
9693
|
id?: SortOrder
|
|
9845
9694
|
packId?: SortOrder
|
|
@@ -9854,27 +9703,6 @@ export namespace Prisma {
|
|
|
9854
9703
|
back?: SortOrder
|
|
9855
9704
|
}
|
|
9856
9705
|
|
|
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
9706
|
export type StringWithAggregatesFilter = {
|
|
9879
9707
|
equals?: string
|
|
9880
9708
|
in?: Enumerable<string>
|
|
@@ -9931,8 +9759,8 @@ export namespace Prisma {
|
|
|
9931
9759
|
}
|
|
9932
9760
|
|
|
9933
9761
|
export type UserCardUserIdCardIdCompoundUniqueInput = {
|
|
9934
|
-
userId:
|
|
9935
|
-
cardId:
|
|
9762
|
+
userId: string
|
|
9763
|
+
cardId: string
|
|
9936
9764
|
}
|
|
9937
9765
|
|
|
9938
9766
|
export type UserCardCountOrderByAggregateInput = {
|
|
@@ -9944,8 +9772,6 @@ export namespace Prisma {
|
|
|
9944
9772
|
}
|
|
9945
9773
|
|
|
9946
9774
|
export type UserCardAvgOrderByAggregateInput = {
|
|
9947
|
-
userId?: SortOrder
|
|
9948
|
-
cardId?: SortOrder
|
|
9949
9775
|
currentInterval?: SortOrder
|
|
9950
9776
|
}
|
|
9951
9777
|
|
|
@@ -9966,8 +9792,6 @@ export namespace Prisma {
|
|
|
9966
9792
|
}
|
|
9967
9793
|
|
|
9968
9794
|
export type UserCardSumOrderByAggregateInput = {
|
|
9969
|
-
userId?: SortOrder
|
|
9970
|
-
cardId?: SortOrder
|
|
9971
9795
|
currentInterval?: SortOrder
|
|
9972
9796
|
}
|
|
9973
9797
|
|
|
@@ -10063,8 +9887,6 @@ export namespace Prisma {
|
|
|
10063
9887
|
}
|
|
10064
9888
|
|
|
10065
9889
|
export type PackAvgOrderByAggregateInput = {
|
|
10066
|
-
id?: SortOrder
|
|
10067
|
-
teacherId?: SortOrder
|
|
10068
9890
|
currentPrice?: SortOrder
|
|
10069
9891
|
}
|
|
10070
9892
|
|
|
@@ -10083,8 +9905,6 @@ export namespace Prisma {
|
|
|
10083
9905
|
}
|
|
10084
9906
|
|
|
10085
9907
|
export type PackSumOrderByAggregateInput = {
|
|
10086
|
-
id?: SortOrder
|
|
10087
|
-
teacherId?: SortOrder
|
|
10088
9908
|
currentPrice?: SortOrder
|
|
10089
9909
|
}
|
|
10090
9910
|
|
|
@@ -10135,10 +9955,6 @@ export namespace Prisma {
|
|
|
10135
9955
|
name?: SortOrder
|
|
10136
9956
|
}
|
|
10137
9957
|
|
|
10138
|
-
export type UserAvgOrderByAggregateInput = {
|
|
10139
|
-
id?: SortOrder
|
|
10140
|
-
}
|
|
10141
|
-
|
|
10142
9958
|
export type UserMaxOrderByAggregateInput = {
|
|
10143
9959
|
id?: SortOrder
|
|
10144
9960
|
email?: SortOrder
|
|
@@ -10151,10 +9967,6 @@ export namespace Prisma {
|
|
|
10151
9967
|
name?: SortOrder
|
|
10152
9968
|
}
|
|
10153
9969
|
|
|
10154
|
-
export type UserSumOrderByAggregateInput = {
|
|
10155
|
-
id?: SortOrder
|
|
10156
|
-
}
|
|
10157
|
-
|
|
10158
9970
|
export type TeacherCountOrderByAggregateInput = {
|
|
10159
9971
|
id?: SortOrder
|
|
10160
9972
|
email?: SortOrder
|
|
@@ -10162,10 +9974,6 @@ export namespace Prisma {
|
|
|
10162
9974
|
password?: SortOrder
|
|
10163
9975
|
}
|
|
10164
9976
|
|
|
10165
|
-
export type TeacherAvgOrderByAggregateInput = {
|
|
10166
|
-
id?: SortOrder
|
|
10167
|
-
}
|
|
10168
|
-
|
|
10169
9977
|
export type TeacherMaxOrderByAggregateInput = {
|
|
10170
9978
|
id?: SortOrder
|
|
10171
9979
|
email?: SortOrder
|
|
@@ -10180,19 +9988,11 @@ export namespace Prisma {
|
|
|
10180
9988
|
password?: SortOrder
|
|
10181
9989
|
}
|
|
10182
9990
|
|
|
10183
|
-
export type TeacherSumOrderByAggregateInput = {
|
|
10184
|
-
id?: SortOrder
|
|
10185
|
-
}
|
|
10186
|
-
|
|
10187
9991
|
export type GoogleUserCountOrderByAggregateInput = {
|
|
10188
9992
|
id?: SortOrder
|
|
10189
9993
|
userId?: SortOrder
|
|
10190
9994
|
}
|
|
10191
9995
|
|
|
10192
|
-
export type GoogleUserAvgOrderByAggregateInput = {
|
|
10193
|
-
userId?: SortOrder
|
|
10194
|
-
}
|
|
10195
|
-
|
|
10196
9996
|
export type GoogleUserMaxOrderByAggregateInput = {
|
|
10197
9997
|
id?: SortOrder
|
|
10198
9998
|
userId?: SortOrder
|
|
@@ -10203,10 +10003,6 @@ export namespace Prisma {
|
|
|
10203
10003
|
userId?: SortOrder
|
|
10204
10004
|
}
|
|
10205
10005
|
|
|
10206
|
-
export type GoogleUserSumOrderByAggregateInput = {
|
|
10207
|
-
userId?: SortOrder
|
|
10208
|
-
}
|
|
10209
|
-
|
|
10210
10006
|
export type AnswerCountOrderByAggregateInput = {
|
|
10211
10007
|
id?: SortOrder
|
|
10212
10008
|
userId?: SortOrder
|
|
@@ -10215,12 +10011,6 @@ export namespace Prisma {
|
|
|
10215
10011
|
timestamp?: SortOrder
|
|
10216
10012
|
}
|
|
10217
10013
|
|
|
10218
|
-
export type AnswerAvgOrderByAggregateInput = {
|
|
10219
|
-
id?: SortOrder
|
|
10220
|
-
userId?: SortOrder
|
|
10221
|
-
cardId?: SortOrder
|
|
10222
|
-
}
|
|
10223
|
-
|
|
10224
10014
|
export type AnswerMaxOrderByAggregateInput = {
|
|
10225
10015
|
id?: SortOrder
|
|
10226
10016
|
userId?: SortOrder
|
|
@@ -10237,43 +10027,69 @@ export namespace Prisma {
|
|
|
10237
10027
|
timestamp?: SortOrder
|
|
10238
10028
|
}
|
|
10239
10029
|
|
|
10240
|
-
export type
|
|
10241
|
-
|
|
10242
|
-
|
|
10243
|
-
|
|
10030
|
+
export type IntFilter = {
|
|
10031
|
+
equals?: number
|
|
10032
|
+
in?: Enumerable<number>
|
|
10033
|
+
notIn?: Enumerable<number>
|
|
10034
|
+
lt?: number
|
|
10035
|
+
lte?: number
|
|
10036
|
+
gt?: number
|
|
10037
|
+
gte?: number
|
|
10038
|
+
not?: NestedIntFilter | number
|
|
10244
10039
|
}
|
|
10245
10040
|
|
|
10246
10041
|
export type PurchaseCountOrderByAggregateInput = {
|
|
10247
10042
|
id?: SortOrder
|
|
10248
10043
|
userId?: SortOrder
|
|
10249
10044
|
packId?: SortOrder
|
|
10250
|
-
|
|
10045
|
+
currency?: SortOrder
|
|
10046
|
+
amount?: SortOrder
|
|
10047
|
+
orderDate?: SortOrder
|
|
10048
|
+
paymentDate?: SortOrder
|
|
10251
10049
|
}
|
|
10252
10050
|
|
|
10253
10051
|
export type PurchaseAvgOrderByAggregateInput = {
|
|
10254
|
-
|
|
10255
|
-
userId?: SortOrder
|
|
10256
|
-
packId?: SortOrder
|
|
10052
|
+
amount?: SortOrder
|
|
10257
10053
|
}
|
|
10258
10054
|
|
|
10259
10055
|
export type PurchaseMaxOrderByAggregateInput = {
|
|
10260
10056
|
id?: SortOrder
|
|
10261
10057
|
userId?: SortOrder
|
|
10262
10058
|
packId?: SortOrder
|
|
10263
|
-
|
|
10059
|
+
currency?: SortOrder
|
|
10060
|
+
amount?: SortOrder
|
|
10061
|
+
orderDate?: SortOrder
|
|
10062
|
+
paymentDate?: SortOrder
|
|
10264
10063
|
}
|
|
10265
10064
|
|
|
10266
10065
|
export type PurchaseMinOrderByAggregateInput = {
|
|
10267
10066
|
id?: SortOrder
|
|
10268
10067
|
userId?: SortOrder
|
|
10269
10068
|
packId?: SortOrder
|
|
10270
|
-
|
|
10069
|
+
currency?: SortOrder
|
|
10070
|
+
amount?: SortOrder
|
|
10071
|
+
orderDate?: SortOrder
|
|
10072
|
+
paymentDate?: SortOrder
|
|
10271
10073
|
}
|
|
10272
10074
|
|
|
10273
10075
|
export type PurchaseSumOrderByAggregateInput = {
|
|
10274
|
-
|
|
10275
|
-
|
|
10276
|
-
|
|
10076
|
+
amount?: SortOrder
|
|
10077
|
+
}
|
|
10078
|
+
|
|
10079
|
+
export type IntWithAggregatesFilter = {
|
|
10080
|
+
equals?: number
|
|
10081
|
+
in?: Enumerable<number>
|
|
10082
|
+
notIn?: Enumerable<number>
|
|
10083
|
+
lt?: number
|
|
10084
|
+
lte?: number
|
|
10085
|
+
gt?: number
|
|
10086
|
+
gte?: number
|
|
10087
|
+
not?: NestedIntWithAggregatesFilter | number
|
|
10088
|
+
_count?: NestedIntFilter
|
|
10089
|
+
_avg?: NestedFloatFilter
|
|
10090
|
+
_sum?: NestedIntFilter
|
|
10091
|
+
_min?: NestedIntFilter
|
|
10092
|
+
_max?: NestedIntFilter
|
|
10277
10093
|
}
|
|
10278
10094
|
|
|
10279
10095
|
export type PackCreateNestedOneWithoutCardsInput = {
|
|
@@ -10296,6 +10112,10 @@ export namespace Prisma {
|
|
|
10296
10112
|
connect?: Enumerable<UserCardWhereUniqueInput>
|
|
10297
10113
|
}
|
|
10298
10114
|
|
|
10115
|
+
export type StringFieldUpdateOperationsInput = {
|
|
10116
|
+
set?: string
|
|
10117
|
+
}
|
|
10118
|
+
|
|
10299
10119
|
export type PackUpdateOneRequiredWithoutCardsNestedInput = {
|
|
10300
10120
|
create?: XOR<PackCreateWithoutCardsInput, PackUncheckedCreateWithoutCardsInput>
|
|
10301
10121
|
connectOrCreate?: PackCreateOrConnectWithoutCardsInput
|
|
@@ -10304,10 +10124,6 @@ export namespace Prisma {
|
|
|
10304
10124
|
update?: XOR<PackUpdateWithoutCardsInput, PackUncheckedUpdateWithoutCardsInput>
|
|
10305
10125
|
}
|
|
10306
10126
|
|
|
10307
|
-
export type StringFieldUpdateOperationsInput = {
|
|
10308
|
-
set?: string
|
|
10309
|
-
}
|
|
10310
|
-
|
|
10311
10127
|
export type UserCardUpdateManyWithoutCardNestedInput = {
|
|
10312
10128
|
create?: XOR<Enumerable<UserCardCreateWithoutCardInput>, Enumerable<UserCardUncheckedCreateWithoutCardInput>>
|
|
10313
10129
|
connectOrCreate?: Enumerable<UserCardCreateOrConnectWithoutCardInput>
|
|
@@ -10322,14 +10138,6 @@ export namespace Prisma {
|
|
|
10322
10138
|
deleteMany?: Enumerable<UserCardScalarWhereInput>
|
|
10323
10139
|
}
|
|
10324
10140
|
|
|
10325
|
-
export type IntFieldUpdateOperationsInput = {
|
|
10326
|
-
set?: number
|
|
10327
|
-
increment?: number
|
|
10328
|
-
decrement?: number
|
|
10329
|
-
multiply?: number
|
|
10330
|
-
divide?: number
|
|
10331
|
-
}
|
|
10332
|
-
|
|
10333
10141
|
export type UserCardUncheckedUpdateManyWithoutCardNestedInput = {
|
|
10334
10142
|
create?: XOR<Enumerable<UserCardCreateWithoutCardInput>, Enumerable<UserCardUncheckedCreateWithoutCardInput>>
|
|
10335
10143
|
connectOrCreate?: Enumerable<UserCardCreateOrConnectWithoutCardInput>
|
|
@@ -10826,15 +10634,12 @@ export namespace Prisma {
|
|
|
10826
10634
|
update?: XOR<PackUpdateWithoutPurchaseInput, PackUncheckedUpdateWithoutPurchaseInput>
|
|
10827
10635
|
}
|
|
10828
10636
|
|
|
10829
|
-
export type
|
|
10830
|
-
|
|
10831
|
-
|
|
10832
|
-
|
|
10833
|
-
|
|
10834
|
-
|
|
10835
|
-
gt?: number
|
|
10836
|
-
gte?: number
|
|
10837
|
-
not?: NestedIntFilter | number
|
|
10637
|
+
export type IntFieldUpdateOperationsInput = {
|
|
10638
|
+
set?: number
|
|
10639
|
+
increment?: number
|
|
10640
|
+
decrement?: number
|
|
10641
|
+
multiply?: number
|
|
10642
|
+
divide?: number
|
|
10838
10643
|
}
|
|
10839
10644
|
|
|
10840
10645
|
export type NestedStringFilter = {
|
|
@@ -10851,33 +10656,6 @@ export namespace Prisma {
|
|
|
10851
10656
|
not?: NestedStringFilter | string
|
|
10852
10657
|
}
|
|
10853
10658
|
|
|
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
10659
|
export type NestedStringWithAggregatesFilter = {
|
|
10882
10660
|
equals?: string
|
|
10883
10661
|
in?: Enumerable<string>
|
|
@@ -10895,6 +10673,17 @@ export namespace Prisma {
|
|
|
10895
10673
|
_max?: NestedStringFilter
|
|
10896
10674
|
}
|
|
10897
10675
|
|
|
10676
|
+
export type NestedIntFilter = {
|
|
10677
|
+
equals?: number
|
|
10678
|
+
in?: Enumerable<number>
|
|
10679
|
+
notIn?: Enumerable<number>
|
|
10680
|
+
lt?: number
|
|
10681
|
+
lte?: number
|
|
10682
|
+
gt?: number
|
|
10683
|
+
gte?: number
|
|
10684
|
+
not?: NestedIntFilter | number
|
|
10685
|
+
}
|
|
10686
|
+
|
|
10898
10687
|
export type NestedIntNullableFilter = {
|
|
10899
10688
|
equals?: number | null
|
|
10900
10689
|
in?: Enumerable<number> | null
|
|
@@ -10998,7 +10787,35 @@ export namespace Prisma {
|
|
|
10998
10787
|
_max?: NestedDecimalFilter
|
|
10999
10788
|
}
|
|
11000
10789
|
|
|
10790
|
+
export type NestedIntWithAggregatesFilter = {
|
|
10791
|
+
equals?: number
|
|
10792
|
+
in?: Enumerable<number>
|
|
10793
|
+
notIn?: Enumerable<number>
|
|
10794
|
+
lt?: number
|
|
10795
|
+
lte?: number
|
|
10796
|
+
gt?: number
|
|
10797
|
+
gte?: number
|
|
10798
|
+
not?: NestedIntWithAggregatesFilter | number
|
|
10799
|
+
_count?: NestedIntFilter
|
|
10800
|
+
_avg?: NestedFloatFilter
|
|
10801
|
+
_sum?: NestedIntFilter
|
|
10802
|
+
_min?: NestedIntFilter
|
|
10803
|
+
_max?: NestedIntFilter
|
|
10804
|
+
}
|
|
10805
|
+
|
|
10806
|
+
export type NestedFloatFilter = {
|
|
10807
|
+
equals?: number
|
|
10808
|
+
in?: Enumerable<number>
|
|
10809
|
+
notIn?: Enumerable<number>
|
|
10810
|
+
lt?: number
|
|
10811
|
+
lte?: number
|
|
10812
|
+
gt?: number
|
|
10813
|
+
gte?: number
|
|
10814
|
+
not?: NestedFloatFilter | number
|
|
10815
|
+
}
|
|
10816
|
+
|
|
11001
10817
|
export type PackCreateWithoutCardsInput = {
|
|
10818
|
+
id?: string
|
|
11002
10819
|
teacher: TeacherCreateNestedOneWithoutPacksInput
|
|
11003
10820
|
name: string
|
|
11004
10821
|
users?: UserCreateNestedManyWithoutPacksInput
|
|
@@ -11007,8 +10824,8 @@ export namespace Prisma {
|
|
|
11007
10824
|
}
|
|
11008
10825
|
|
|
11009
10826
|
export type PackUncheckedCreateWithoutCardsInput = {
|
|
11010
|
-
id?:
|
|
11011
|
-
teacherId:
|
|
10827
|
+
id?: string
|
|
10828
|
+
teacherId: string
|
|
11012
10829
|
name: string
|
|
11013
10830
|
users?: UserUncheckedCreateNestedManyWithoutPacksInput
|
|
11014
10831
|
purchase?: PurchaseUncheckedCreateNestedManyWithoutPackInput
|
|
@@ -11028,7 +10845,7 @@ export namespace Prisma {
|
|
|
11028
10845
|
}
|
|
11029
10846
|
|
|
11030
10847
|
export type UserCardUncheckedCreateWithoutCardInput = {
|
|
11031
|
-
userId:
|
|
10848
|
+
userId: string
|
|
11032
10849
|
currentInterval?: number | null
|
|
11033
10850
|
dueDate?: Date | string | null
|
|
11034
10851
|
done: boolean
|
|
@@ -11050,6 +10867,7 @@ export namespace Prisma {
|
|
|
11050
10867
|
}
|
|
11051
10868
|
|
|
11052
10869
|
export type PackUpdateWithoutCardsInput = {
|
|
10870
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11053
10871
|
teacher?: TeacherUpdateOneRequiredWithoutPacksNestedInput
|
|
11054
10872
|
name?: StringFieldUpdateOperationsInput | string
|
|
11055
10873
|
users?: UserUpdateManyWithoutPacksNestedInput
|
|
@@ -11058,8 +10876,8 @@ export namespace Prisma {
|
|
|
11058
10876
|
}
|
|
11059
10877
|
|
|
11060
10878
|
export type PackUncheckedUpdateWithoutCardsInput = {
|
|
11061
|
-
id?:
|
|
11062
|
-
teacherId?:
|
|
10879
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
10880
|
+
teacherId?: StringFieldUpdateOperationsInput | string
|
|
11063
10881
|
name?: StringFieldUpdateOperationsInput | string
|
|
11064
10882
|
users?: UserUncheckedUpdateManyWithoutPacksNestedInput
|
|
11065
10883
|
purchase?: PurchaseUncheckedUpdateManyWithoutPackNestedInput
|
|
@@ -11086,14 +10904,15 @@ export namespace Prisma {
|
|
|
11086
10904
|
AND?: Enumerable<UserCardScalarWhereInput>
|
|
11087
10905
|
OR?: Enumerable<UserCardScalarWhereInput>
|
|
11088
10906
|
NOT?: Enumerable<UserCardScalarWhereInput>
|
|
11089
|
-
userId?:
|
|
11090
|
-
cardId?:
|
|
10907
|
+
userId?: StringFilter | string
|
|
10908
|
+
cardId?: StringFilter | string
|
|
11091
10909
|
currentInterval?: IntNullableFilter | number | null
|
|
11092
10910
|
dueDate?: DateTimeNullableFilter | Date | string | null
|
|
11093
10911
|
done?: BoolFilter | boolean
|
|
11094
10912
|
}
|
|
11095
10913
|
|
|
11096
10914
|
export type UserCreateWithoutUserCardsInput = {
|
|
10915
|
+
id?: string
|
|
11097
10916
|
email: string
|
|
11098
10917
|
name: string
|
|
11099
10918
|
googleUser?: GoogleUserCreateNestedOneWithoutUserInput
|
|
@@ -11103,7 +10922,7 @@ export namespace Prisma {
|
|
|
11103
10922
|
}
|
|
11104
10923
|
|
|
11105
10924
|
export type UserUncheckedCreateWithoutUserCardsInput = {
|
|
11106
|
-
id?:
|
|
10925
|
+
id?: string
|
|
11107
10926
|
email: string
|
|
11108
10927
|
name: string
|
|
11109
10928
|
googleUser?: GoogleUserUncheckedCreateNestedOneWithoutUserInput
|
|
@@ -11118,14 +10937,15 @@ export namespace Prisma {
|
|
|
11118
10937
|
}
|
|
11119
10938
|
|
|
11120
10939
|
export type CardCreateWithoutUserCardsInput = {
|
|
10940
|
+
id?: string
|
|
11121
10941
|
pack: PackCreateNestedOneWithoutCardsInput
|
|
11122
10942
|
front: string
|
|
11123
10943
|
back: string
|
|
11124
10944
|
}
|
|
11125
10945
|
|
|
11126
10946
|
export type CardUncheckedCreateWithoutUserCardsInput = {
|
|
11127
|
-
id?:
|
|
11128
|
-
packId:
|
|
10947
|
+
id?: string
|
|
10948
|
+
packId: string
|
|
11129
10949
|
front: string
|
|
11130
10950
|
back: string
|
|
11131
10951
|
}
|
|
@@ -11141,6 +10961,7 @@ export namespace Prisma {
|
|
|
11141
10961
|
}
|
|
11142
10962
|
|
|
11143
10963
|
export type UserUpdateWithoutUserCardsInput = {
|
|
10964
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11144
10965
|
email?: StringFieldUpdateOperationsInput | string
|
|
11145
10966
|
name?: StringFieldUpdateOperationsInput | string
|
|
11146
10967
|
googleUser?: GoogleUserUpdateOneWithoutUserNestedInput
|
|
@@ -11150,7 +10971,7 @@ export namespace Prisma {
|
|
|
11150
10971
|
}
|
|
11151
10972
|
|
|
11152
10973
|
export type UserUncheckedUpdateWithoutUserCardsInput = {
|
|
11153
|
-
id?:
|
|
10974
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11154
10975
|
email?: StringFieldUpdateOperationsInput | string
|
|
11155
10976
|
name?: StringFieldUpdateOperationsInput | string
|
|
11156
10977
|
googleUser?: GoogleUserUncheckedUpdateOneWithoutUserNestedInput
|
|
@@ -11165,26 +10986,28 @@ export namespace Prisma {
|
|
|
11165
10986
|
}
|
|
11166
10987
|
|
|
11167
10988
|
export type CardUpdateWithoutUserCardsInput = {
|
|
10989
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11168
10990
|
pack?: PackUpdateOneRequiredWithoutCardsNestedInput
|
|
11169
10991
|
front?: StringFieldUpdateOperationsInput | string
|
|
11170
10992
|
back?: StringFieldUpdateOperationsInput | string
|
|
11171
10993
|
}
|
|
11172
10994
|
|
|
11173
10995
|
export type CardUncheckedUpdateWithoutUserCardsInput = {
|
|
11174
|
-
id?:
|
|
11175
|
-
packId?:
|
|
10996
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
10997
|
+
packId?: StringFieldUpdateOperationsInput | string
|
|
11176
10998
|
front?: StringFieldUpdateOperationsInput | string
|
|
11177
10999
|
back?: StringFieldUpdateOperationsInput | string
|
|
11178
11000
|
}
|
|
11179
11001
|
|
|
11180
11002
|
export type TeacherCreateWithoutPacksInput = {
|
|
11003
|
+
id?: string
|
|
11181
11004
|
email: string
|
|
11182
11005
|
name: string
|
|
11183
11006
|
password: string
|
|
11184
11007
|
}
|
|
11185
11008
|
|
|
11186
11009
|
export type TeacherUncheckedCreateWithoutPacksInput = {
|
|
11187
|
-
id?:
|
|
11010
|
+
id?: string
|
|
11188
11011
|
email: string
|
|
11189
11012
|
name: string
|
|
11190
11013
|
password: string
|
|
@@ -11196,13 +11019,14 @@ export namespace Prisma {
|
|
|
11196
11019
|
}
|
|
11197
11020
|
|
|
11198
11021
|
export type CardCreateWithoutPackInput = {
|
|
11022
|
+
id?: string
|
|
11199
11023
|
front: string
|
|
11200
11024
|
back: string
|
|
11201
11025
|
userCards?: UserCardCreateNestedManyWithoutCardInput
|
|
11202
11026
|
}
|
|
11203
11027
|
|
|
11204
11028
|
export type CardUncheckedCreateWithoutPackInput = {
|
|
11205
|
-
id?:
|
|
11029
|
+
id?: string
|
|
11206
11030
|
front: string
|
|
11207
11031
|
back: string
|
|
11208
11032
|
userCards?: UserCardUncheckedCreateNestedManyWithoutCardInput
|
|
@@ -11219,6 +11043,7 @@ export namespace Prisma {
|
|
|
11219
11043
|
}
|
|
11220
11044
|
|
|
11221
11045
|
export type UserCreateWithoutPacksInput = {
|
|
11046
|
+
id?: string
|
|
11222
11047
|
email: string
|
|
11223
11048
|
name: string
|
|
11224
11049
|
googleUser?: GoogleUserCreateNestedOneWithoutUserInput
|
|
@@ -11228,7 +11053,7 @@ export namespace Prisma {
|
|
|
11228
11053
|
}
|
|
11229
11054
|
|
|
11230
11055
|
export type UserUncheckedCreateWithoutPacksInput = {
|
|
11231
|
-
id?:
|
|
11056
|
+
id?: string
|
|
11232
11057
|
email: string
|
|
11233
11058
|
name: string
|
|
11234
11059
|
googleUser?: GoogleUserUncheckedCreateNestedOneWithoutUserInput
|
|
@@ -11243,14 +11068,21 @@ export namespace Prisma {
|
|
|
11243
11068
|
}
|
|
11244
11069
|
|
|
11245
11070
|
export type PurchaseCreateWithoutPackInput = {
|
|
11071
|
+
id?: string
|
|
11246
11072
|
user: UserCreateNestedOneWithoutPurchasesInput
|
|
11247
|
-
|
|
11073
|
+
currency: string
|
|
11074
|
+
amount: number
|
|
11075
|
+
orderDate?: Date | string | null
|
|
11076
|
+
paymentDate?: Date | string | null
|
|
11248
11077
|
}
|
|
11249
11078
|
|
|
11250
11079
|
export type PurchaseUncheckedCreateWithoutPackInput = {
|
|
11251
|
-
id?:
|
|
11252
|
-
userId:
|
|
11253
|
-
|
|
11080
|
+
id?: string
|
|
11081
|
+
userId: string
|
|
11082
|
+
currency: string
|
|
11083
|
+
amount: number
|
|
11084
|
+
orderDate?: Date | string | null
|
|
11085
|
+
paymentDate?: Date | string | null
|
|
11254
11086
|
}
|
|
11255
11087
|
|
|
11256
11088
|
export type PurchaseCreateOrConnectWithoutPackInput = {
|
|
@@ -11269,13 +11101,14 @@ export namespace Prisma {
|
|
|
11269
11101
|
}
|
|
11270
11102
|
|
|
11271
11103
|
export type TeacherUpdateWithoutPacksInput = {
|
|
11104
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11272
11105
|
email?: StringFieldUpdateOperationsInput | string
|
|
11273
11106
|
name?: StringFieldUpdateOperationsInput | string
|
|
11274
11107
|
password?: StringFieldUpdateOperationsInput | string
|
|
11275
11108
|
}
|
|
11276
11109
|
|
|
11277
11110
|
export type TeacherUncheckedUpdateWithoutPacksInput = {
|
|
11278
|
-
id?:
|
|
11111
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11279
11112
|
email?: StringFieldUpdateOperationsInput | string
|
|
11280
11113
|
name?: StringFieldUpdateOperationsInput | string
|
|
11281
11114
|
password?: StringFieldUpdateOperationsInput | string
|
|
@@ -11301,8 +11134,8 @@ export namespace Prisma {
|
|
|
11301
11134
|
AND?: Enumerable<CardScalarWhereInput>
|
|
11302
11135
|
OR?: Enumerable<CardScalarWhereInput>
|
|
11303
11136
|
NOT?: Enumerable<CardScalarWhereInput>
|
|
11304
|
-
id?:
|
|
11305
|
-
packId?:
|
|
11137
|
+
id?: StringFilter | string
|
|
11138
|
+
packId?: StringFilter | string
|
|
11306
11139
|
front?: StringFilter | string
|
|
11307
11140
|
back?: StringFilter | string
|
|
11308
11141
|
}
|
|
@@ -11327,7 +11160,7 @@ export namespace Prisma {
|
|
|
11327
11160
|
AND?: Enumerable<UserScalarWhereInput>
|
|
11328
11161
|
OR?: Enumerable<UserScalarWhereInput>
|
|
11329
11162
|
NOT?: Enumerable<UserScalarWhereInput>
|
|
11330
|
-
id?:
|
|
11163
|
+
id?: StringFilter | string
|
|
11331
11164
|
email?: StringFilter | string
|
|
11332
11165
|
name?: StringFilter | string
|
|
11333
11166
|
}
|
|
@@ -11352,10 +11185,13 @@ export namespace Prisma {
|
|
|
11352
11185
|
AND?: Enumerable<PurchaseScalarWhereInput>
|
|
11353
11186
|
OR?: Enumerable<PurchaseScalarWhereInput>
|
|
11354
11187
|
NOT?: Enumerable<PurchaseScalarWhereInput>
|
|
11355
|
-
id?:
|
|
11356
|
-
userId?:
|
|
11357
|
-
packId?:
|
|
11358
|
-
|
|
11188
|
+
id?: StringFilter | string
|
|
11189
|
+
userId?: StringFilter | string
|
|
11190
|
+
packId?: StringFilter | string
|
|
11191
|
+
currency?: StringFilter | string
|
|
11192
|
+
amount?: IntFilter | number
|
|
11193
|
+
orderDate?: DateTimeNullableFilter | Date | string | null
|
|
11194
|
+
paymentDate?: DateTimeNullableFilter | Date | string | null
|
|
11359
11195
|
}
|
|
11360
11196
|
|
|
11361
11197
|
export type GoogleUserCreateWithoutUserInput = {
|
|
@@ -11372,14 +11208,21 @@ export namespace Prisma {
|
|
|
11372
11208
|
}
|
|
11373
11209
|
|
|
11374
11210
|
export type PurchaseCreateWithoutUserInput = {
|
|
11211
|
+
id?: string
|
|
11375
11212
|
pack: PackCreateNestedOneWithoutPurchaseInput
|
|
11376
|
-
|
|
11213
|
+
currency: string
|
|
11214
|
+
amount: number
|
|
11215
|
+
orderDate?: Date | string | null
|
|
11216
|
+
paymentDate?: Date | string | null
|
|
11377
11217
|
}
|
|
11378
11218
|
|
|
11379
11219
|
export type PurchaseUncheckedCreateWithoutUserInput = {
|
|
11380
|
-
id?:
|
|
11381
|
-
packId:
|
|
11382
|
-
|
|
11220
|
+
id?: string
|
|
11221
|
+
packId: string
|
|
11222
|
+
currency: string
|
|
11223
|
+
amount: number
|
|
11224
|
+
orderDate?: Date | string | null
|
|
11225
|
+
paymentDate?: Date | string | null
|
|
11383
11226
|
}
|
|
11384
11227
|
|
|
11385
11228
|
export type PurchaseCreateOrConnectWithoutUserInput = {
|
|
@@ -11393,6 +11236,7 @@ export namespace Prisma {
|
|
|
11393
11236
|
}
|
|
11394
11237
|
|
|
11395
11238
|
export type PackCreateWithoutUsersInput = {
|
|
11239
|
+
id?: string
|
|
11396
11240
|
teacher: TeacherCreateNestedOneWithoutPacksInput
|
|
11397
11241
|
name: string
|
|
11398
11242
|
cards?: CardCreateNestedManyWithoutPackInput
|
|
@@ -11401,8 +11245,8 @@ export namespace Prisma {
|
|
|
11401
11245
|
}
|
|
11402
11246
|
|
|
11403
11247
|
export type PackUncheckedCreateWithoutUsersInput = {
|
|
11404
|
-
id?:
|
|
11405
|
-
teacherId:
|
|
11248
|
+
id?: string
|
|
11249
|
+
teacherId: string
|
|
11406
11250
|
name: string
|
|
11407
11251
|
cards?: CardUncheckedCreateNestedManyWithoutPackInput
|
|
11408
11252
|
purchase?: PurchaseUncheckedCreateNestedManyWithoutPackInput
|
|
@@ -11422,7 +11266,7 @@ export namespace Prisma {
|
|
|
11422
11266
|
}
|
|
11423
11267
|
|
|
11424
11268
|
export type UserCardUncheckedCreateWithoutUserInput = {
|
|
11425
|
-
cardId:
|
|
11269
|
+
cardId: string
|
|
11426
11270
|
currentInterval?: number | null
|
|
11427
11271
|
dueDate?: Date | string | null
|
|
11428
11272
|
done: boolean
|
|
@@ -11439,14 +11283,15 @@ export namespace Prisma {
|
|
|
11439
11283
|
}
|
|
11440
11284
|
|
|
11441
11285
|
export type AnswerCreateWithoutUserInput = {
|
|
11442
|
-
|
|
11286
|
+
id?: string
|
|
11287
|
+
cardId: string
|
|
11443
11288
|
status: string
|
|
11444
11289
|
timestamp: string
|
|
11445
11290
|
}
|
|
11446
11291
|
|
|
11447
11292
|
export type AnswerUncheckedCreateWithoutUserInput = {
|
|
11448
|
-
id?:
|
|
11449
|
-
cardId:
|
|
11293
|
+
id?: string
|
|
11294
|
+
cardId: string
|
|
11450
11295
|
status: string
|
|
11451
11296
|
timestamp: string
|
|
11452
11297
|
}
|
|
@@ -11510,8 +11355,8 @@ export namespace Prisma {
|
|
|
11510
11355
|
AND?: Enumerable<PackScalarWhereInput>
|
|
11511
11356
|
OR?: Enumerable<PackScalarWhereInput>
|
|
11512
11357
|
NOT?: Enumerable<PackScalarWhereInput>
|
|
11513
|
-
id?:
|
|
11514
|
-
teacherId?:
|
|
11358
|
+
id?: StringFilter | string
|
|
11359
|
+
teacherId?: StringFilter | string
|
|
11515
11360
|
name?: StringFilter | string
|
|
11516
11361
|
currentPrice?: DecimalFilter | Decimal | DecimalJsLike | number | string
|
|
11517
11362
|
}
|
|
@@ -11552,14 +11397,15 @@ export namespace Prisma {
|
|
|
11552
11397
|
AND?: Enumerable<AnswerScalarWhereInput>
|
|
11553
11398
|
OR?: Enumerable<AnswerScalarWhereInput>
|
|
11554
11399
|
NOT?: Enumerable<AnswerScalarWhereInput>
|
|
11555
|
-
id?:
|
|
11556
|
-
userId?:
|
|
11557
|
-
cardId?:
|
|
11400
|
+
id?: StringFilter | string
|
|
11401
|
+
userId?: StringFilter | string
|
|
11402
|
+
cardId?: StringFilter | string
|
|
11558
11403
|
status?: StringFilter | string
|
|
11559
11404
|
timestamp?: StringFilter | string
|
|
11560
11405
|
}
|
|
11561
11406
|
|
|
11562
11407
|
export type PackCreateWithoutTeacherInput = {
|
|
11408
|
+
id?: string
|
|
11563
11409
|
name: string
|
|
11564
11410
|
cards?: CardCreateNestedManyWithoutPackInput
|
|
11565
11411
|
users?: UserCreateNestedManyWithoutPacksInput
|
|
@@ -11568,7 +11414,7 @@ export namespace Prisma {
|
|
|
11568
11414
|
}
|
|
11569
11415
|
|
|
11570
11416
|
export type PackUncheckedCreateWithoutTeacherInput = {
|
|
11571
|
-
id?:
|
|
11417
|
+
id?: string
|
|
11572
11418
|
name: string
|
|
11573
11419
|
cards?: CardUncheckedCreateNestedManyWithoutPackInput
|
|
11574
11420
|
users?: UserUncheckedCreateNestedManyWithoutPacksInput
|
|
@@ -11603,6 +11449,7 @@ export namespace Prisma {
|
|
|
11603
11449
|
}
|
|
11604
11450
|
|
|
11605
11451
|
export type UserCreateWithoutGoogleUserInput = {
|
|
11452
|
+
id?: string
|
|
11606
11453
|
email: string
|
|
11607
11454
|
name: string
|
|
11608
11455
|
purchases?: PurchaseCreateNestedManyWithoutUserInput
|
|
@@ -11612,7 +11459,7 @@ export namespace Prisma {
|
|
|
11612
11459
|
}
|
|
11613
11460
|
|
|
11614
11461
|
export type UserUncheckedCreateWithoutGoogleUserInput = {
|
|
11615
|
-
id?:
|
|
11462
|
+
id?: string
|
|
11616
11463
|
email: string
|
|
11617
11464
|
name: string
|
|
11618
11465
|
purchases?: PurchaseUncheckedCreateNestedManyWithoutUserInput
|
|
@@ -11632,6 +11479,7 @@ export namespace Prisma {
|
|
|
11632
11479
|
}
|
|
11633
11480
|
|
|
11634
11481
|
export type UserUpdateWithoutGoogleUserInput = {
|
|
11482
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11635
11483
|
email?: StringFieldUpdateOperationsInput | string
|
|
11636
11484
|
name?: StringFieldUpdateOperationsInput | string
|
|
11637
11485
|
purchases?: PurchaseUpdateManyWithoutUserNestedInput
|
|
@@ -11641,7 +11489,7 @@ export namespace Prisma {
|
|
|
11641
11489
|
}
|
|
11642
11490
|
|
|
11643
11491
|
export type UserUncheckedUpdateWithoutGoogleUserInput = {
|
|
11644
|
-
id?:
|
|
11492
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11645
11493
|
email?: StringFieldUpdateOperationsInput | string
|
|
11646
11494
|
name?: StringFieldUpdateOperationsInput | string
|
|
11647
11495
|
purchases?: PurchaseUncheckedUpdateManyWithoutUserNestedInput
|
|
@@ -11651,6 +11499,7 @@ export namespace Prisma {
|
|
|
11651
11499
|
}
|
|
11652
11500
|
|
|
11653
11501
|
export type UserCreateWithoutAnswersInput = {
|
|
11502
|
+
id?: string
|
|
11654
11503
|
email: string
|
|
11655
11504
|
name: string
|
|
11656
11505
|
googleUser?: GoogleUserCreateNestedOneWithoutUserInput
|
|
@@ -11660,7 +11509,7 @@ export namespace Prisma {
|
|
|
11660
11509
|
}
|
|
11661
11510
|
|
|
11662
11511
|
export type UserUncheckedCreateWithoutAnswersInput = {
|
|
11663
|
-
id?:
|
|
11512
|
+
id?: string
|
|
11664
11513
|
email: string
|
|
11665
11514
|
name: string
|
|
11666
11515
|
googleUser?: GoogleUserUncheckedCreateNestedOneWithoutUserInput
|
|
@@ -11680,6 +11529,7 @@ export namespace Prisma {
|
|
|
11680
11529
|
}
|
|
11681
11530
|
|
|
11682
11531
|
export type UserUpdateWithoutAnswersInput = {
|
|
11532
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11683
11533
|
email?: StringFieldUpdateOperationsInput | string
|
|
11684
11534
|
name?: StringFieldUpdateOperationsInput | string
|
|
11685
11535
|
googleUser?: GoogleUserUpdateOneWithoutUserNestedInput
|
|
@@ -11689,7 +11539,7 @@ export namespace Prisma {
|
|
|
11689
11539
|
}
|
|
11690
11540
|
|
|
11691
11541
|
export type UserUncheckedUpdateWithoutAnswersInput = {
|
|
11692
|
-
id?:
|
|
11542
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11693
11543
|
email?: StringFieldUpdateOperationsInput | string
|
|
11694
11544
|
name?: StringFieldUpdateOperationsInput | string
|
|
11695
11545
|
googleUser?: GoogleUserUncheckedUpdateOneWithoutUserNestedInput
|
|
@@ -11699,6 +11549,7 @@ export namespace Prisma {
|
|
|
11699
11549
|
}
|
|
11700
11550
|
|
|
11701
11551
|
export type UserCreateWithoutPurchasesInput = {
|
|
11552
|
+
id?: string
|
|
11702
11553
|
email: string
|
|
11703
11554
|
name: string
|
|
11704
11555
|
googleUser?: GoogleUserCreateNestedOneWithoutUserInput
|
|
@@ -11708,7 +11559,7 @@ export namespace Prisma {
|
|
|
11708
11559
|
}
|
|
11709
11560
|
|
|
11710
11561
|
export type UserUncheckedCreateWithoutPurchasesInput = {
|
|
11711
|
-
id?:
|
|
11562
|
+
id?: string
|
|
11712
11563
|
email: string
|
|
11713
11564
|
name: string
|
|
11714
11565
|
googleUser?: GoogleUserUncheckedCreateNestedOneWithoutUserInput
|
|
@@ -11723,6 +11574,7 @@ export namespace Prisma {
|
|
|
11723
11574
|
}
|
|
11724
11575
|
|
|
11725
11576
|
export type PackCreateWithoutPurchaseInput = {
|
|
11577
|
+
id?: string
|
|
11726
11578
|
teacher: TeacherCreateNestedOneWithoutPacksInput
|
|
11727
11579
|
name: string
|
|
11728
11580
|
cards?: CardCreateNestedManyWithoutPackInput
|
|
@@ -11731,8 +11583,8 @@ export namespace Prisma {
|
|
|
11731
11583
|
}
|
|
11732
11584
|
|
|
11733
11585
|
export type PackUncheckedCreateWithoutPurchaseInput = {
|
|
11734
|
-
id?:
|
|
11735
|
-
teacherId:
|
|
11586
|
+
id?: string
|
|
11587
|
+
teacherId: string
|
|
11736
11588
|
name: string
|
|
11737
11589
|
cards?: CardUncheckedCreateNestedManyWithoutPackInput
|
|
11738
11590
|
users?: UserUncheckedCreateNestedManyWithoutPacksInput
|
|
@@ -11750,6 +11602,7 @@ export namespace Prisma {
|
|
|
11750
11602
|
}
|
|
11751
11603
|
|
|
11752
11604
|
export type UserUpdateWithoutPurchasesInput = {
|
|
11605
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11753
11606
|
email?: StringFieldUpdateOperationsInput | string
|
|
11754
11607
|
name?: StringFieldUpdateOperationsInput | string
|
|
11755
11608
|
googleUser?: GoogleUserUpdateOneWithoutUserNestedInput
|
|
@@ -11759,7 +11612,7 @@ export namespace Prisma {
|
|
|
11759
11612
|
}
|
|
11760
11613
|
|
|
11761
11614
|
export type UserUncheckedUpdateWithoutPurchasesInput = {
|
|
11762
|
-
id?:
|
|
11615
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11763
11616
|
email?: StringFieldUpdateOperationsInput | string
|
|
11764
11617
|
name?: StringFieldUpdateOperationsInput | string
|
|
11765
11618
|
googleUser?: GoogleUserUncheckedUpdateOneWithoutUserNestedInput
|
|
@@ -11774,6 +11627,7 @@ export namespace Prisma {
|
|
|
11774
11627
|
}
|
|
11775
11628
|
|
|
11776
11629
|
export type PackUpdateWithoutPurchaseInput = {
|
|
11630
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11777
11631
|
teacher?: TeacherUpdateOneRequiredWithoutPacksNestedInput
|
|
11778
11632
|
name?: StringFieldUpdateOperationsInput | string
|
|
11779
11633
|
cards?: CardUpdateManyWithoutPackNestedInput
|
|
@@ -11782,8 +11636,8 @@ export namespace Prisma {
|
|
|
11782
11636
|
}
|
|
11783
11637
|
|
|
11784
11638
|
export type PackUncheckedUpdateWithoutPurchaseInput = {
|
|
11785
|
-
id?:
|
|
11786
|
-
teacherId?:
|
|
11639
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11640
|
+
teacherId?: StringFieldUpdateOperationsInput | string
|
|
11787
11641
|
name?: StringFieldUpdateOperationsInput | string
|
|
11788
11642
|
cards?: CardUncheckedUpdateManyWithoutPackNestedInput
|
|
11789
11643
|
users?: UserUncheckedUpdateManyWithoutPacksNestedInput
|
|
@@ -11791,7 +11645,7 @@ export namespace Prisma {
|
|
|
11791
11645
|
}
|
|
11792
11646
|
|
|
11793
11647
|
export type UserCardCreateManyCardInput = {
|
|
11794
|
-
userId:
|
|
11648
|
+
userId: string
|
|
11795
11649
|
currentInterval?: number | null
|
|
11796
11650
|
dueDate?: Date | string | null
|
|
11797
11651
|
done: boolean
|
|
@@ -11805,51 +11659,56 @@ export namespace Prisma {
|
|
|
11805
11659
|
}
|
|
11806
11660
|
|
|
11807
11661
|
export type UserCardUncheckedUpdateWithoutCardInput = {
|
|
11808
|
-
userId?:
|
|
11662
|
+
userId?: StringFieldUpdateOperationsInput | string
|
|
11809
11663
|
currentInterval?: NullableIntFieldUpdateOperationsInput | number | null
|
|
11810
11664
|
dueDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
11811
11665
|
done?: BoolFieldUpdateOperationsInput | boolean
|
|
11812
11666
|
}
|
|
11813
11667
|
|
|
11814
11668
|
export type UserCardUncheckedUpdateManyWithoutUserCardsInput = {
|
|
11815
|
-
userId?:
|
|
11669
|
+
userId?: StringFieldUpdateOperationsInput | string
|
|
11816
11670
|
currentInterval?: NullableIntFieldUpdateOperationsInput | number | null
|
|
11817
11671
|
dueDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
11818
11672
|
done?: BoolFieldUpdateOperationsInput | boolean
|
|
11819
11673
|
}
|
|
11820
11674
|
|
|
11821
11675
|
export type CardCreateManyPackInput = {
|
|
11822
|
-
id?:
|
|
11676
|
+
id?: string
|
|
11823
11677
|
front: string
|
|
11824
11678
|
back: string
|
|
11825
11679
|
}
|
|
11826
11680
|
|
|
11827
11681
|
export type PurchaseCreateManyPackInput = {
|
|
11828
|
-
id?:
|
|
11829
|
-
userId:
|
|
11830
|
-
|
|
11682
|
+
id?: string
|
|
11683
|
+
userId: string
|
|
11684
|
+
currency: string
|
|
11685
|
+
amount: number
|
|
11686
|
+
orderDate?: Date | string | null
|
|
11687
|
+
paymentDate?: Date | string | null
|
|
11831
11688
|
}
|
|
11832
11689
|
|
|
11833
11690
|
export type CardUpdateWithoutPackInput = {
|
|
11691
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11834
11692
|
front?: StringFieldUpdateOperationsInput | string
|
|
11835
11693
|
back?: StringFieldUpdateOperationsInput | string
|
|
11836
11694
|
userCards?: UserCardUpdateManyWithoutCardNestedInput
|
|
11837
11695
|
}
|
|
11838
11696
|
|
|
11839
11697
|
export type CardUncheckedUpdateWithoutPackInput = {
|
|
11840
|
-
id?:
|
|
11698
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11841
11699
|
front?: StringFieldUpdateOperationsInput | string
|
|
11842
11700
|
back?: StringFieldUpdateOperationsInput | string
|
|
11843
11701
|
userCards?: UserCardUncheckedUpdateManyWithoutCardNestedInput
|
|
11844
11702
|
}
|
|
11845
11703
|
|
|
11846
11704
|
export type CardUncheckedUpdateManyWithoutCardsInput = {
|
|
11847
|
-
id?:
|
|
11705
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11848
11706
|
front?: StringFieldUpdateOperationsInput | string
|
|
11849
11707
|
back?: StringFieldUpdateOperationsInput | string
|
|
11850
11708
|
}
|
|
11851
11709
|
|
|
11852
11710
|
export type UserUpdateWithoutPacksInput = {
|
|
11711
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11853
11712
|
email?: StringFieldUpdateOperationsInput | string
|
|
11854
11713
|
name?: StringFieldUpdateOperationsInput | string
|
|
11855
11714
|
googleUser?: GoogleUserUpdateOneWithoutUserNestedInput
|
|
@@ -11859,7 +11718,7 @@ export namespace Prisma {
|
|
|
11859
11718
|
}
|
|
11860
11719
|
|
|
11861
11720
|
export type UserUncheckedUpdateWithoutPacksInput = {
|
|
11862
|
-
id?:
|
|
11721
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11863
11722
|
email?: StringFieldUpdateOperationsInput | string
|
|
11864
11723
|
name?: StringFieldUpdateOperationsInput | string
|
|
11865
11724
|
googleUser?: GoogleUserUncheckedUpdateOneWithoutUserNestedInput
|
|
@@ -11869,66 +11728,90 @@ export namespace Prisma {
|
|
|
11869
11728
|
}
|
|
11870
11729
|
|
|
11871
11730
|
export type UserUncheckedUpdateManyWithoutUsersInput = {
|
|
11872
|
-
id?:
|
|
11731
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11873
11732
|
email?: StringFieldUpdateOperationsInput | string
|
|
11874
11733
|
name?: StringFieldUpdateOperationsInput | string
|
|
11875
11734
|
}
|
|
11876
11735
|
|
|
11877
11736
|
export type PurchaseUpdateWithoutPackInput = {
|
|
11737
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11878
11738
|
user?: UserUpdateOneRequiredWithoutPurchasesNestedInput
|
|
11879
|
-
|
|
11739
|
+
currency?: StringFieldUpdateOperationsInput | string
|
|
11740
|
+
amount?: IntFieldUpdateOperationsInput | number
|
|
11741
|
+
orderDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
11742
|
+
paymentDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
11880
11743
|
}
|
|
11881
11744
|
|
|
11882
11745
|
export type PurchaseUncheckedUpdateWithoutPackInput = {
|
|
11883
|
-
id?:
|
|
11884
|
-
userId?:
|
|
11885
|
-
|
|
11746
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11747
|
+
userId?: StringFieldUpdateOperationsInput | string
|
|
11748
|
+
currency?: StringFieldUpdateOperationsInput | string
|
|
11749
|
+
amount?: IntFieldUpdateOperationsInput | number
|
|
11750
|
+
orderDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
11751
|
+
paymentDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
11886
11752
|
}
|
|
11887
11753
|
|
|
11888
11754
|
export type PurchaseUncheckedUpdateManyWithoutPurchaseInput = {
|
|
11889
|
-
id?:
|
|
11890
|
-
userId?:
|
|
11891
|
-
|
|
11755
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11756
|
+
userId?: StringFieldUpdateOperationsInput | string
|
|
11757
|
+
currency?: StringFieldUpdateOperationsInput | string
|
|
11758
|
+
amount?: IntFieldUpdateOperationsInput | number
|
|
11759
|
+
orderDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
11760
|
+
paymentDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
11892
11761
|
}
|
|
11893
11762
|
|
|
11894
11763
|
export type PurchaseCreateManyUserInput = {
|
|
11895
|
-
id?:
|
|
11896
|
-
packId:
|
|
11897
|
-
|
|
11764
|
+
id?: string
|
|
11765
|
+
packId: string
|
|
11766
|
+
currency: string
|
|
11767
|
+
amount: number
|
|
11768
|
+
orderDate?: Date | string | null
|
|
11769
|
+
paymentDate?: Date | string | null
|
|
11898
11770
|
}
|
|
11899
11771
|
|
|
11900
11772
|
export type UserCardCreateManyUserInput = {
|
|
11901
|
-
cardId:
|
|
11773
|
+
cardId: string
|
|
11902
11774
|
currentInterval?: number | null
|
|
11903
11775
|
dueDate?: Date | string | null
|
|
11904
11776
|
done: boolean
|
|
11905
11777
|
}
|
|
11906
11778
|
|
|
11907
11779
|
export type AnswerCreateManyUserInput = {
|
|
11908
|
-
id?:
|
|
11909
|
-
cardId:
|
|
11780
|
+
id?: string
|
|
11781
|
+
cardId: string
|
|
11910
11782
|
status: string
|
|
11911
11783
|
timestamp: string
|
|
11912
11784
|
}
|
|
11913
11785
|
|
|
11914
11786
|
export type PurchaseUpdateWithoutUserInput = {
|
|
11787
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11915
11788
|
pack?: PackUpdateOneRequiredWithoutPurchaseNestedInput
|
|
11916
|
-
|
|
11789
|
+
currency?: StringFieldUpdateOperationsInput | string
|
|
11790
|
+
amount?: IntFieldUpdateOperationsInput | number
|
|
11791
|
+
orderDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
11792
|
+
paymentDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
11917
11793
|
}
|
|
11918
11794
|
|
|
11919
11795
|
export type PurchaseUncheckedUpdateWithoutUserInput = {
|
|
11920
|
-
id?:
|
|
11921
|
-
packId?:
|
|
11922
|
-
|
|
11796
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11797
|
+
packId?: StringFieldUpdateOperationsInput | string
|
|
11798
|
+
currency?: StringFieldUpdateOperationsInput | string
|
|
11799
|
+
amount?: IntFieldUpdateOperationsInput | number
|
|
11800
|
+
orderDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
11801
|
+
paymentDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
11923
11802
|
}
|
|
11924
11803
|
|
|
11925
11804
|
export type PurchaseUncheckedUpdateManyWithoutPurchasesInput = {
|
|
11926
|
-
id?:
|
|
11927
|
-
packId?:
|
|
11928
|
-
|
|
11805
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11806
|
+
packId?: StringFieldUpdateOperationsInput | string
|
|
11807
|
+
currency?: StringFieldUpdateOperationsInput | string
|
|
11808
|
+
amount?: IntFieldUpdateOperationsInput | number
|
|
11809
|
+
orderDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
11810
|
+
paymentDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
11929
11811
|
}
|
|
11930
11812
|
|
|
11931
11813
|
export type PackUpdateWithoutUsersInput = {
|
|
11814
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11932
11815
|
teacher?: TeacherUpdateOneRequiredWithoutPacksNestedInput
|
|
11933
11816
|
name?: StringFieldUpdateOperationsInput | string
|
|
11934
11817
|
cards?: CardUpdateManyWithoutPackNestedInput
|
|
@@ -11937,8 +11820,8 @@ export namespace Prisma {
|
|
|
11937
11820
|
}
|
|
11938
11821
|
|
|
11939
11822
|
export type PackUncheckedUpdateWithoutUsersInput = {
|
|
11940
|
-
id?:
|
|
11941
|
-
teacherId?:
|
|
11823
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11824
|
+
teacherId?: StringFieldUpdateOperationsInput | string
|
|
11942
11825
|
name?: StringFieldUpdateOperationsInput | string
|
|
11943
11826
|
cards?: CardUncheckedUpdateManyWithoutPackNestedInput
|
|
11944
11827
|
purchase?: PurchaseUncheckedUpdateManyWithoutPackNestedInput
|
|
@@ -11946,8 +11829,8 @@ export namespace Prisma {
|
|
|
11946
11829
|
}
|
|
11947
11830
|
|
|
11948
11831
|
export type PackUncheckedUpdateManyWithoutPacksInput = {
|
|
11949
|
-
id?:
|
|
11950
|
-
teacherId?:
|
|
11832
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11833
|
+
teacherId?: StringFieldUpdateOperationsInput | string
|
|
11951
11834
|
name?: StringFieldUpdateOperationsInput | string
|
|
11952
11835
|
currentPrice?: DecimalFieldUpdateOperationsInput | Decimal | DecimalJsLike | number | string
|
|
11953
11836
|
}
|
|
@@ -11960,39 +11843,41 @@ export namespace Prisma {
|
|
|
11960
11843
|
}
|
|
11961
11844
|
|
|
11962
11845
|
export type UserCardUncheckedUpdateWithoutUserInput = {
|
|
11963
|
-
cardId?:
|
|
11846
|
+
cardId?: StringFieldUpdateOperationsInput | string
|
|
11964
11847
|
currentInterval?: NullableIntFieldUpdateOperationsInput | number | null
|
|
11965
11848
|
dueDate?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
11966
11849
|
done?: BoolFieldUpdateOperationsInput | boolean
|
|
11967
11850
|
}
|
|
11968
11851
|
|
|
11969
11852
|
export type AnswerUpdateWithoutUserInput = {
|
|
11970
|
-
|
|
11853
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11854
|
+
cardId?: StringFieldUpdateOperationsInput | string
|
|
11971
11855
|
status?: StringFieldUpdateOperationsInput | string
|
|
11972
11856
|
timestamp?: StringFieldUpdateOperationsInput | string
|
|
11973
11857
|
}
|
|
11974
11858
|
|
|
11975
11859
|
export type AnswerUncheckedUpdateWithoutUserInput = {
|
|
11976
|
-
id?:
|
|
11977
|
-
cardId?:
|
|
11860
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11861
|
+
cardId?: StringFieldUpdateOperationsInput | string
|
|
11978
11862
|
status?: StringFieldUpdateOperationsInput | string
|
|
11979
11863
|
timestamp?: StringFieldUpdateOperationsInput | string
|
|
11980
11864
|
}
|
|
11981
11865
|
|
|
11982
11866
|
export type AnswerUncheckedUpdateManyWithoutAnswersInput = {
|
|
11983
|
-
id?:
|
|
11984
|
-
cardId?:
|
|
11867
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11868
|
+
cardId?: StringFieldUpdateOperationsInput | string
|
|
11985
11869
|
status?: StringFieldUpdateOperationsInput | string
|
|
11986
11870
|
timestamp?: StringFieldUpdateOperationsInput | string
|
|
11987
11871
|
}
|
|
11988
11872
|
|
|
11989
11873
|
export type PackCreateManyTeacherInput = {
|
|
11990
|
-
id?:
|
|
11874
|
+
id?: string
|
|
11991
11875
|
name: string
|
|
11992
11876
|
currentPrice: Decimal | DecimalJsLike | number | string
|
|
11993
11877
|
}
|
|
11994
11878
|
|
|
11995
11879
|
export type PackUpdateWithoutTeacherInput = {
|
|
11880
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
11996
11881
|
name?: StringFieldUpdateOperationsInput | string
|
|
11997
11882
|
cards?: CardUpdateManyWithoutPackNestedInput
|
|
11998
11883
|
users?: UserUpdateManyWithoutPacksNestedInput
|
|
@@ -12001,7 +11886,7 @@ export namespace Prisma {
|
|
|
12001
11886
|
}
|
|
12002
11887
|
|
|
12003
11888
|
export type PackUncheckedUpdateWithoutTeacherInput = {
|
|
12004
|
-
id?:
|
|
11889
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
12005
11890
|
name?: StringFieldUpdateOperationsInput | string
|
|
12006
11891
|
cards?: CardUncheckedUpdateManyWithoutPackNestedInput
|
|
12007
11892
|
users?: UserUncheckedUpdateManyWithoutPacksNestedInput
|