lang-database 2.0.0 → 3.0.1
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.
|
@@ -68,6 +68,7 @@ export type User = {
|
|
|
68
68
|
id: string
|
|
69
69
|
email: string
|
|
70
70
|
name: string
|
|
71
|
+
teamId: string | null
|
|
71
72
|
}
|
|
72
73
|
|
|
73
74
|
/**
|
|
@@ -77,6 +78,7 @@ export type User = {
|
|
|
77
78
|
export type Team = {
|
|
78
79
|
id: string
|
|
79
80
|
name: string
|
|
81
|
+
emailPattern: string
|
|
80
82
|
userCount: number
|
|
81
83
|
subscriptionExpire: Date | null
|
|
82
84
|
}
|
|
@@ -1238,11 +1240,13 @@ export namespace Prisma {
|
|
|
1238
1240
|
|
|
1239
1241
|
|
|
1240
1242
|
export type TeamCountOutputType = {
|
|
1241
|
-
|
|
1243
|
+
additionalDecks: number
|
|
1244
|
+
members: number
|
|
1242
1245
|
}
|
|
1243
1246
|
|
|
1244
1247
|
export type TeamCountOutputTypeSelect = {
|
|
1245
|
-
|
|
1248
|
+
additionalDecks?: boolean
|
|
1249
|
+
members?: boolean
|
|
1246
1250
|
}
|
|
1247
1251
|
|
|
1248
1252
|
export type TeamCountOutputTypeGetPayload<
|
|
@@ -5171,18 +5175,21 @@ export namespace Prisma {
|
|
|
5171
5175
|
id: string | null
|
|
5172
5176
|
email: string | null
|
|
5173
5177
|
name: string | null
|
|
5178
|
+
teamId: string | null
|
|
5174
5179
|
}
|
|
5175
5180
|
|
|
5176
5181
|
export type UserMaxAggregateOutputType = {
|
|
5177
5182
|
id: string | null
|
|
5178
5183
|
email: string | null
|
|
5179
5184
|
name: string | null
|
|
5185
|
+
teamId: string | null
|
|
5180
5186
|
}
|
|
5181
5187
|
|
|
5182
5188
|
export type UserCountAggregateOutputType = {
|
|
5183
5189
|
id: number
|
|
5184
5190
|
email: number
|
|
5185
5191
|
name: number
|
|
5192
|
+
teamId: number
|
|
5186
5193
|
_all: number
|
|
5187
5194
|
}
|
|
5188
5195
|
|
|
@@ -5191,18 +5198,21 @@ export namespace Prisma {
|
|
|
5191
5198
|
id?: true
|
|
5192
5199
|
email?: true
|
|
5193
5200
|
name?: true
|
|
5201
|
+
teamId?: true
|
|
5194
5202
|
}
|
|
5195
5203
|
|
|
5196
5204
|
export type UserMaxAggregateInputType = {
|
|
5197
5205
|
id?: true
|
|
5198
5206
|
email?: true
|
|
5199
5207
|
name?: true
|
|
5208
|
+
teamId?: true
|
|
5200
5209
|
}
|
|
5201
5210
|
|
|
5202
5211
|
export type UserCountAggregateInputType = {
|
|
5203
5212
|
id?: true
|
|
5204
5213
|
email?: true
|
|
5205
5214
|
name?: true
|
|
5215
|
+
teamId?: true
|
|
5206
5216
|
_all?: true
|
|
5207
5217
|
}
|
|
5208
5218
|
|
|
@@ -5288,6 +5298,7 @@ export namespace Prisma {
|
|
|
5288
5298
|
id: string
|
|
5289
5299
|
email: string
|
|
5290
5300
|
name: string
|
|
5301
|
+
teamId: string | null
|
|
5291
5302
|
_count: UserCountAggregateOutputType | null
|
|
5292
5303
|
_min: UserMinAggregateOutputType | null
|
|
5293
5304
|
_max: UserMaxAggregateOutputType | null
|
|
@@ -5316,6 +5327,8 @@ export namespace Prisma {
|
|
|
5316
5327
|
packs?: boolean | PackFindManyArgs
|
|
5317
5328
|
userCards?: boolean | UserCardFindManyArgs
|
|
5318
5329
|
answers?: boolean | AnswerFindManyArgs
|
|
5330
|
+
team?: boolean | TeamArgs
|
|
5331
|
+
teamId?: boolean
|
|
5319
5332
|
_count?: boolean | UserCountOutputTypeArgs
|
|
5320
5333
|
}
|
|
5321
5334
|
|
|
@@ -5325,6 +5338,7 @@ export namespace Prisma {
|
|
|
5325
5338
|
packs?: boolean | PackFindManyArgs
|
|
5326
5339
|
userCards?: boolean | UserCardFindManyArgs
|
|
5327
5340
|
answers?: boolean | AnswerFindManyArgs
|
|
5341
|
+
team?: boolean | TeamArgs
|
|
5328
5342
|
_count?: boolean | UserCountOutputTypeArgs
|
|
5329
5343
|
}
|
|
5330
5344
|
|
|
@@ -5344,6 +5358,7 @@ export namespace Prisma {
|
|
|
5344
5358
|
P extends 'packs' ? Array < PackGetPayload<Exclude<S['include'], undefined | null>[P]>> :
|
|
5345
5359
|
P extends 'userCards' ? Array < UserCardGetPayload<Exclude<S['include'], undefined | null>[P]>> :
|
|
5346
5360
|
P extends 'answers' ? Array < AnswerGetPayload<Exclude<S['include'], undefined | null>[P]>> :
|
|
5361
|
+
P extends 'team' ? TeamGetPayload<Exclude<S['include'], undefined | null>[P]> | null :
|
|
5347
5362
|
P extends '_count' ? UserCountOutputTypeGetPayload<Exclude<S['include'], undefined | null>[P]> : never
|
|
5348
5363
|
}
|
|
5349
5364
|
: 'select' extends U
|
|
@@ -5354,6 +5369,7 @@ export namespace Prisma {
|
|
|
5354
5369
|
P extends 'packs' ? Array < PackGetPayload<Exclude<S['select'], undefined | null>[P]>> :
|
|
5355
5370
|
P extends 'userCards' ? Array < UserCardGetPayload<Exclude<S['select'], undefined | null>[P]>> :
|
|
5356
5371
|
P extends 'answers' ? Array < AnswerGetPayload<Exclude<S['select'], undefined | null>[P]>> :
|
|
5372
|
+
P extends 'team' ? TeamGetPayload<Exclude<S['select'], undefined | null>[P]> | null :
|
|
5357
5373
|
P extends '_count' ? UserCountOutputTypeGetPayload<Exclude<S['select'], undefined | null>[P]> : P extends keyof User ? User[P] : never
|
|
5358
5374
|
}
|
|
5359
5375
|
: User
|
|
@@ -5739,6 +5755,8 @@ export namespace Prisma {
|
|
|
5739
5755
|
|
|
5740
5756
|
answers<T extends AnswerFindManyArgs = {}>(args?: Subset<T, AnswerFindManyArgs>): CheckSelect<T, PrismaPromise<Array<Answer>>, PrismaPromise<Array<AnswerGetPayload<T>>>>;
|
|
5741
5757
|
|
|
5758
|
+
team<T extends TeamArgs = {}>(args?: Subset<T, TeamArgs>): CheckSelect<T, Prisma__TeamClient<Team | null >, Prisma__TeamClient<TeamGetPayload<T> | null >>;
|
|
5759
|
+
|
|
5742
5760
|
private get _document();
|
|
5743
5761
|
/**
|
|
5744
5762
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
@@ -6117,6 +6135,7 @@ export namespace Prisma {
|
|
|
6117
6135
|
export type TeamMinAggregateOutputType = {
|
|
6118
6136
|
id: string | null
|
|
6119
6137
|
name: string | null
|
|
6138
|
+
emailPattern: string | null
|
|
6120
6139
|
userCount: number | null
|
|
6121
6140
|
subscriptionExpire: Date | null
|
|
6122
6141
|
}
|
|
@@ -6124,6 +6143,7 @@ export namespace Prisma {
|
|
|
6124
6143
|
export type TeamMaxAggregateOutputType = {
|
|
6125
6144
|
id: string | null
|
|
6126
6145
|
name: string | null
|
|
6146
|
+
emailPattern: string | null
|
|
6127
6147
|
userCount: number | null
|
|
6128
6148
|
subscriptionExpire: Date | null
|
|
6129
6149
|
}
|
|
@@ -6131,6 +6151,7 @@ export namespace Prisma {
|
|
|
6131
6151
|
export type TeamCountAggregateOutputType = {
|
|
6132
6152
|
id: number
|
|
6133
6153
|
name: number
|
|
6154
|
+
emailPattern: number
|
|
6134
6155
|
userCount: number
|
|
6135
6156
|
subscriptionExpire: number
|
|
6136
6157
|
_all: number
|
|
@@ -6148,6 +6169,7 @@ export namespace Prisma {
|
|
|
6148
6169
|
export type TeamMinAggregateInputType = {
|
|
6149
6170
|
id?: true
|
|
6150
6171
|
name?: true
|
|
6172
|
+
emailPattern?: true
|
|
6151
6173
|
userCount?: true
|
|
6152
6174
|
subscriptionExpire?: true
|
|
6153
6175
|
}
|
|
@@ -6155,6 +6177,7 @@ export namespace Prisma {
|
|
|
6155
6177
|
export type TeamMaxAggregateInputType = {
|
|
6156
6178
|
id?: true
|
|
6157
6179
|
name?: true
|
|
6180
|
+
emailPattern?: true
|
|
6158
6181
|
userCount?: true
|
|
6159
6182
|
subscriptionExpire?: true
|
|
6160
6183
|
}
|
|
@@ -6162,6 +6185,7 @@ export namespace Prisma {
|
|
|
6162
6185
|
export type TeamCountAggregateInputType = {
|
|
6163
6186
|
id?: true
|
|
6164
6187
|
name?: true
|
|
6188
|
+
emailPattern?: true
|
|
6165
6189
|
userCount?: true
|
|
6166
6190
|
subscriptionExpire?: true
|
|
6167
6191
|
_all?: true
|
|
@@ -6262,6 +6286,7 @@ export namespace Prisma {
|
|
|
6262
6286
|
export type TeamGroupByOutputType = {
|
|
6263
6287
|
id: string
|
|
6264
6288
|
name: string
|
|
6289
|
+
emailPattern: string
|
|
6265
6290
|
userCount: number
|
|
6266
6291
|
subscriptionExpire: Date | null
|
|
6267
6292
|
_count: TeamCountAggregateOutputType | null
|
|
@@ -6288,14 +6313,17 @@ export namespace Prisma {
|
|
|
6288
6313
|
export type TeamSelect = {
|
|
6289
6314
|
id?: boolean
|
|
6290
6315
|
name?: boolean
|
|
6291
|
-
|
|
6316
|
+
emailPattern?: boolean
|
|
6317
|
+
additionalDecks?: boolean | PackFindManyArgs
|
|
6318
|
+
members?: boolean | UserFindManyArgs
|
|
6292
6319
|
userCount?: boolean
|
|
6293
6320
|
subscriptionExpire?: boolean
|
|
6294
6321
|
_count?: boolean | TeamCountOutputTypeArgs
|
|
6295
6322
|
}
|
|
6296
6323
|
|
|
6297
6324
|
export type TeamInclude = {
|
|
6298
|
-
|
|
6325
|
+
additionalDecks?: boolean | PackFindManyArgs
|
|
6326
|
+
members?: boolean | UserFindManyArgs
|
|
6299
6327
|
_count?: boolean | TeamCountOutputTypeArgs
|
|
6300
6328
|
}
|
|
6301
6329
|
|
|
@@ -6310,13 +6338,15 @@ export namespace Prisma {
|
|
|
6310
6338
|
?'include' extends U
|
|
6311
6339
|
? Team & {
|
|
6312
6340
|
[P in TrueKeys<S['include']>]:
|
|
6313
|
-
P extends '
|
|
6341
|
+
P extends 'additionalDecks' ? Array < PackGetPayload<Exclude<S['include'], undefined | null>[P]>> :
|
|
6342
|
+
P extends 'members' ? Array < UserGetPayload<Exclude<S['include'], undefined | null>[P]>> :
|
|
6314
6343
|
P extends '_count' ? TeamCountOutputTypeGetPayload<Exclude<S['include'], undefined | null>[P]> : never
|
|
6315
6344
|
}
|
|
6316
6345
|
: 'select' extends U
|
|
6317
6346
|
? {
|
|
6318
6347
|
[P in TrueKeys<S['select']>]:
|
|
6319
|
-
P extends '
|
|
6348
|
+
P extends 'additionalDecks' ? Array < PackGetPayload<Exclude<S['select'], undefined | null>[P]>> :
|
|
6349
|
+
P extends 'members' ? Array < UserGetPayload<Exclude<S['select'], undefined | null>[P]>> :
|
|
6320
6350
|
P extends '_count' ? TeamCountOutputTypeGetPayload<Exclude<S['select'], undefined | null>[P]> : P extends keyof Team ? Team[P] : never
|
|
6321
6351
|
}
|
|
6322
6352
|
: Team
|
|
@@ -6692,7 +6722,9 @@ export namespace Prisma {
|
|
|
6692
6722
|
constructor(_dmmf: runtime.DMMFClass, _fetcher: PrismaClientFetcher, _queryType: 'query' | 'mutation', _rootField: string, _clientMethod: string, _args: any, _dataPath: string[], _errorFormat: ErrorFormat, _measurePerformance?: boolean | undefined, _isList?: boolean);
|
|
6693
6723
|
readonly [Symbol.toStringTag]: 'PrismaClientPromise';
|
|
6694
6724
|
|
|
6695
|
-
|
|
6725
|
+
additionalDecks<T extends PackFindManyArgs = {}>(args?: Subset<T, PackFindManyArgs>): CheckSelect<T, PrismaPromise<Array<Pack>>, PrismaPromise<Array<PackGetPayload<T>>>>;
|
|
6726
|
+
|
|
6727
|
+
members<T extends UserFindManyArgs = {}>(args?: Subset<T, UserFindManyArgs>): CheckSelect<T, PrismaPromise<Array<User>>, PrismaPromise<Array<UserGetPayload<T>>>>;
|
|
6696
6728
|
|
|
6697
6729
|
private get _document();
|
|
6698
6730
|
/**
|
|
@@ -10886,6 +10918,7 @@ export namespace Prisma {
|
|
|
10886
10918
|
export const TeamScalarFieldEnum: {
|
|
10887
10919
|
id: 'id',
|
|
10888
10920
|
name: 'name',
|
|
10921
|
+
emailPattern: 'emailPattern',
|
|
10889
10922
|
userCount: 'userCount',
|
|
10890
10923
|
subscriptionExpire: 'subscriptionExpire'
|
|
10891
10924
|
};
|
|
@@ -10917,7 +10950,8 @@ export namespace Prisma {
|
|
|
10917
10950
|
export const UserScalarFieldEnum: {
|
|
10918
10951
|
id: 'id',
|
|
10919
10952
|
email: 'email',
|
|
10920
|
-
name: 'name'
|
|
10953
|
+
name: 'name',
|
|
10954
|
+
teamId: 'teamId'
|
|
10921
10955
|
};
|
|
10922
10956
|
|
|
10923
10957
|
export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
|
|
@@ -11148,6 +11182,8 @@ export namespace Prisma {
|
|
|
11148
11182
|
packs?: PackListRelationFilter
|
|
11149
11183
|
userCards?: UserCardListRelationFilter
|
|
11150
11184
|
answers?: AnswerListRelationFilter
|
|
11185
|
+
team?: XOR<TeamRelationFilter, TeamWhereInput> | null
|
|
11186
|
+
teamId?: StringNullableFilter | string | null
|
|
11151
11187
|
}
|
|
11152
11188
|
|
|
11153
11189
|
export type UserOrderByWithRelationInput = {
|
|
@@ -11159,6 +11195,8 @@ export namespace Prisma {
|
|
|
11159
11195
|
packs?: PackOrderByRelationAggregateInput
|
|
11160
11196
|
userCards?: UserCardOrderByRelationAggregateInput
|
|
11161
11197
|
answers?: AnswerOrderByRelationAggregateInput
|
|
11198
|
+
team?: TeamOrderByWithRelationInput
|
|
11199
|
+
teamId?: SortOrder
|
|
11162
11200
|
}
|
|
11163
11201
|
|
|
11164
11202
|
export type UserWhereUniqueInput = {
|
|
@@ -11170,6 +11208,7 @@ export namespace Prisma {
|
|
|
11170
11208
|
id?: SortOrder
|
|
11171
11209
|
email?: SortOrder
|
|
11172
11210
|
name?: SortOrder
|
|
11211
|
+
teamId?: SortOrder
|
|
11173
11212
|
_count?: UserCountOrderByAggregateInput
|
|
11174
11213
|
_max?: UserMaxOrderByAggregateInput
|
|
11175
11214
|
_min?: UserMinOrderByAggregateInput
|
|
@@ -11182,6 +11221,7 @@ export namespace Prisma {
|
|
|
11182
11221
|
id?: StringWithAggregatesFilter | string
|
|
11183
11222
|
email?: StringWithAggregatesFilter | string
|
|
11184
11223
|
name?: StringWithAggregatesFilter | string
|
|
11224
|
+
teamId?: StringNullableWithAggregatesFilter | string | null
|
|
11185
11225
|
}
|
|
11186
11226
|
|
|
11187
11227
|
export type TeamWhereInput = {
|
|
@@ -11190,7 +11230,9 @@ export namespace Prisma {
|
|
|
11190
11230
|
NOT?: Enumerable<TeamWhereInput>
|
|
11191
11231
|
id?: StringFilter | string
|
|
11192
11232
|
name?: StringFilter | string
|
|
11193
|
-
|
|
11233
|
+
emailPattern?: StringFilter | string
|
|
11234
|
+
additionalDecks?: PackListRelationFilter
|
|
11235
|
+
members?: UserListRelationFilter
|
|
11194
11236
|
userCount?: IntFilter | number
|
|
11195
11237
|
subscriptionExpire?: DateTimeNullableFilter | Date | string | null
|
|
11196
11238
|
}
|
|
@@ -11198,7 +11240,9 @@ export namespace Prisma {
|
|
|
11198
11240
|
export type TeamOrderByWithRelationInput = {
|
|
11199
11241
|
id?: SortOrder
|
|
11200
11242
|
name?: SortOrder
|
|
11201
|
-
|
|
11243
|
+
emailPattern?: SortOrder
|
|
11244
|
+
additionalDecks?: PackOrderByRelationAggregateInput
|
|
11245
|
+
members?: UserOrderByRelationAggregateInput
|
|
11202
11246
|
userCount?: SortOrder
|
|
11203
11247
|
subscriptionExpire?: SortOrder
|
|
11204
11248
|
}
|
|
@@ -11210,6 +11254,7 @@ export namespace Prisma {
|
|
|
11210
11254
|
export type TeamOrderByWithAggregationInput = {
|
|
11211
11255
|
id?: SortOrder
|
|
11212
11256
|
name?: SortOrder
|
|
11257
|
+
emailPattern?: SortOrder
|
|
11213
11258
|
userCount?: SortOrder
|
|
11214
11259
|
subscriptionExpire?: SortOrder
|
|
11215
11260
|
_count?: TeamCountOrderByAggregateInput
|
|
@@ -11225,6 +11270,7 @@ export namespace Prisma {
|
|
|
11225
11270
|
NOT?: Enumerable<TeamScalarWhereWithAggregatesInput>
|
|
11226
11271
|
id?: StringWithAggregatesFilter | string
|
|
11227
11272
|
name?: StringWithAggregatesFilter | string
|
|
11273
|
+
emailPattern?: StringWithAggregatesFilter | string
|
|
11228
11274
|
userCount?: IntWithAggregatesFilter | number
|
|
11229
11275
|
subscriptionExpire?: DateTimeNullableWithAggregatesFilter | Date | string | null
|
|
11230
11276
|
}
|
|
@@ -11573,11 +11619,11 @@ export namespace Prisma {
|
|
|
11573
11619
|
category?: CategoryCreateNestedOneWithoutPacksInput
|
|
11574
11620
|
published?: boolean
|
|
11575
11621
|
currentPrice: Decimal | DecimalJsLike | number | string
|
|
11576
|
-
public
|
|
11622
|
+
public?: boolean
|
|
11577
11623
|
cards?: CardCreateNestedManyWithoutPackInput
|
|
11578
11624
|
users?: UserCreateNestedManyWithoutPacksInput
|
|
11579
11625
|
purchases?: PurchaseCreateNestedManyWithoutPackInput
|
|
11580
|
-
teams?:
|
|
11626
|
+
teams?: TeamCreateNestedManyWithoutAdditionalDecksInput
|
|
11581
11627
|
}
|
|
11582
11628
|
|
|
11583
11629
|
export type PackUncheckedCreateInput = {
|
|
@@ -11589,11 +11635,11 @@ export namespace Prisma {
|
|
|
11589
11635
|
categoryId?: string | null
|
|
11590
11636
|
published?: boolean
|
|
11591
11637
|
currentPrice: Decimal | DecimalJsLike | number | string
|
|
11592
|
-
public
|
|
11638
|
+
public?: boolean
|
|
11593
11639
|
cards?: CardUncheckedCreateNestedManyWithoutPackInput
|
|
11594
11640
|
users?: UserUncheckedCreateNestedManyWithoutPacksInput
|
|
11595
11641
|
purchases?: PurchaseUncheckedCreateNestedManyWithoutPackInput
|
|
11596
|
-
teams?:
|
|
11642
|
+
teams?: TeamUncheckedCreateNestedManyWithoutAdditionalDecksInput
|
|
11597
11643
|
}
|
|
11598
11644
|
|
|
11599
11645
|
export type PackUpdateInput = {
|
|
@@ -11609,7 +11655,7 @@ export namespace Prisma {
|
|
|
11609
11655
|
cards?: CardUpdateManyWithoutPackNestedInput
|
|
11610
11656
|
users?: UserUpdateManyWithoutPacksNestedInput
|
|
11611
11657
|
purchases?: PurchaseUpdateManyWithoutPackNestedInput
|
|
11612
|
-
teams?:
|
|
11658
|
+
teams?: TeamUpdateManyWithoutAdditionalDecksNestedInput
|
|
11613
11659
|
}
|
|
11614
11660
|
|
|
11615
11661
|
export type PackUncheckedUpdateInput = {
|
|
@@ -11625,7 +11671,7 @@ export namespace Prisma {
|
|
|
11625
11671
|
cards?: CardUncheckedUpdateManyWithoutPackNestedInput
|
|
11626
11672
|
users?: UserUncheckedUpdateManyWithoutPacksNestedInput
|
|
11627
11673
|
purchases?: PurchaseUncheckedUpdateManyWithoutPackNestedInput
|
|
11628
|
-
teams?:
|
|
11674
|
+
teams?: TeamUncheckedUpdateManyWithoutAdditionalDecksNestedInput
|
|
11629
11675
|
}
|
|
11630
11676
|
|
|
11631
11677
|
export type PackCreateManyInput = {
|
|
@@ -11637,7 +11683,7 @@ export namespace Prisma {
|
|
|
11637
11683
|
categoryId?: string | null
|
|
11638
11684
|
published?: boolean
|
|
11639
11685
|
currentPrice: Decimal | DecimalJsLike | number | string
|
|
11640
|
-
public
|
|
11686
|
+
public?: boolean
|
|
11641
11687
|
}
|
|
11642
11688
|
|
|
11643
11689
|
export type PackUpdateManyMutationInput = {
|
|
@@ -11671,6 +11717,7 @@ export namespace Prisma {
|
|
|
11671
11717
|
packs?: PackCreateNestedManyWithoutUsersInput
|
|
11672
11718
|
userCards?: UserCardCreateNestedManyWithoutUserInput
|
|
11673
11719
|
answers?: AnswerCreateNestedManyWithoutUserInput
|
|
11720
|
+
team?: TeamCreateNestedOneWithoutMembersInput
|
|
11674
11721
|
}
|
|
11675
11722
|
|
|
11676
11723
|
export type UserUncheckedCreateInput = {
|
|
@@ -11682,6 +11729,7 @@ export namespace Prisma {
|
|
|
11682
11729
|
packs?: PackUncheckedCreateNestedManyWithoutUsersInput
|
|
11683
11730
|
userCards?: UserCardUncheckedCreateNestedManyWithoutUserInput
|
|
11684
11731
|
answers?: AnswerUncheckedCreateNestedManyWithoutUserInput
|
|
11732
|
+
teamId?: string | null
|
|
11685
11733
|
}
|
|
11686
11734
|
|
|
11687
11735
|
export type UserUpdateInput = {
|
|
@@ -11693,6 +11741,7 @@ export namespace Prisma {
|
|
|
11693
11741
|
packs?: PackUpdateManyWithoutUsersNestedInput
|
|
11694
11742
|
userCards?: UserCardUpdateManyWithoutUserNestedInput
|
|
11695
11743
|
answers?: AnswerUpdateManyWithoutUserNestedInput
|
|
11744
|
+
team?: TeamUpdateOneWithoutMembersNestedInput
|
|
11696
11745
|
}
|
|
11697
11746
|
|
|
11698
11747
|
export type UserUncheckedUpdateInput = {
|
|
@@ -11704,12 +11753,14 @@ export namespace Prisma {
|
|
|
11704
11753
|
packs?: PackUncheckedUpdateManyWithoutUsersNestedInput
|
|
11705
11754
|
userCards?: UserCardUncheckedUpdateManyWithoutUserNestedInput
|
|
11706
11755
|
answers?: AnswerUncheckedUpdateManyWithoutUserNestedInput
|
|
11756
|
+
teamId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
11707
11757
|
}
|
|
11708
11758
|
|
|
11709
11759
|
export type UserCreateManyInput = {
|
|
11710
11760
|
id?: string
|
|
11711
11761
|
email: string
|
|
11712
11762
|
name: string
|
|
11763
|
+
teamId?: string | null
|
|
11713
11764
|
}
|
|
11714
11765
|
|
|
11715
11766
|
export type UserUpdateManyMutationInput = {
|
|
@@ -11722,12 +11773,15 @@ export namespace Prisma {
|
|
|
11722
11773
|
id?: StringFieldUpdateOperationsInput | string
|
|
11723
11774
|
email?: StringFieldUpdateOperationsInput | string
|
|
11724
11775
|
name?: StringFieldUpdateOperationsInput | string
|
|
11776
|
+
teamId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
11725
11777
|
}
|
|
11726
11778
|
|
|
11727
11779
|
export type TeamCreateInput = {
|
|
11728
11780
|
id?: string
|
|
11729
11781
|
name: string
|
|
11730
|
-
|
|
11782
|
+
emailPattern?: string
|
|
11783
|
+
additionalDecks?: PackCreateNestedManyWithoutTeamsInput
|
|
11784
|
+
members?: UserCreateNestedManyWithoutTeamInput
|
|
11731
11785
|
userCount: number
|
|
11732
11786
|
subscriptionExpire?: Date | string | null
|
|
11733
11787
|
}
|
|
@@ -11735,7 +11789,9 @@ export namespace Prisma {
|
|
|
11735
11789
|
export type TeamUncheckedCreateInput = {
|
|
11736
11790
|
id?: string
|
|
11737
11791
|
name: string
|
|
11738
|
-
|
|
11792
|
+
emailPattern?: string
|
|
11793
|
+
additionalDecks?: PackUncheckedCreateNestedManyWithoutTeamsInput
|
|
11794
|
+
members?: UserUncheckedCreateNestedManyWithoutTeamInput
|
|
11739
11795
|
userCount: number
|
|
11740
11796
|
subscriptionExpire?: Date | string | null
|
|
11741
11797
|
}
|
|
@@ -11743,7 +11799,9 @@ export namespace Prisma {
|
|
|
11743
11799
|
export type TeamUpdateInput = {
|
|
11744
11800
|
id?: StringFieldUpdateOperationsInput | string
|
|
11745
11801
|
name?: StringFieldUpdateOperationsInput | string
|
|
11746
|
-
|
|
11802
|
+
emailPattern?: StringFieldUpdateOperationsInput | string
|
|
11803
|
+
additionalDecks?: PackUpdateManyWithoutTeamsNestedInput
|
|
11804
|
+
members?: UserUpdateManyWithoutTeamNestedInput
|
|
11747
11805
|
userCount?: IntFieldUpdateOperationsInput | number
|
|
11748
11806
|
subscriptionExpire?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
11749
11807
|
}
|
|
@@ -11751,7 +11809,9 @@ export namespace Prisma {
|
|
|
11751
11809
|
export type TeamUncheckedUpdateInput = {
|
|
11752
11810
|
id?: StringFieldUpdateOperationsInput | string
|
|
11753
11811
|
name?: StringFieldUpdateOperationsInput | string
|
|
11754
|
-
|
|
11812
|
+
emailPattern?: StringFieldUpdateOperationsInput | string
|
|
11813
|
+
additionalDecks?: PackUncheckedUpdateManyWithoutTeamsNestedInput
|
|
11814
|
+
members?: UserUncheckedUpdateManyWithoutTeamNestedInput
|
|
11755
11815
|
userCount?: IntFieldUpdateOperationsInput | number
|
|
11756
11816
|
subscriptionExpire?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
11757
11817
|
}
|
|
@@ -11759,6 +11819,7 @@ export namespace Prisma {
|
|
|
11759
11819
|
export type TeamCreateManyInput = {
|
|
11760
11820
|
id?: string
|
|
11761
11821
|
name: string
|
|
11822
|
+
emailPattern?: string
|
|
11762
11823
|
userCount: number
|
|
11763
11824
|
subscriptionExpire?: Date | string | null
|
|
11764
11825
|
}
|
|
@@ -11766,6 +11827,7 @@ export namespace Prisma {
|
|
|
11766
11827
|
export type TeamUpdateManyMutationInput = {
|
|
11767
11828
|
id?: StringFieldUpdateOperationsInput | string
|
|
11768
11829
|
name?: StringFieldUpdateOperationsInput | string
|
|
11830
|
+
emailPattern?: StringFieldUpdateOperationsInput | string
|
|
11769
11831
|
userCount?: IntFieldUpdateOperationsInput | number
|
|
11770
11832
|
subscriptionExpire?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
11771
11833
|
}
|
|
@@ -11773,6 +11835,7 @@ export namespace Prisma {
|
|
|
11773
11835
|
export type TeamUncheckedUpdateManyInput = {
|
|
11774
11836
|
id?: StringFieldUpdateOperationsInput | string
|
|
11775
11837
|
name?: StringFieldUpdateOperationsInput | string
|
|
11838
|
+
emailPattern?: StringFieldUpdateOperationsInput | string
|
|
11776
11839
|
userCount?: IntFieldUpdateOperationsInput | number
|
|
11777
11840
|
subscriptionExpire?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
11778
11841
|
}
|
|
@@ -12375,6 +12438,11 @@ export namespace Prisma {
|
|
|
12375
12438
|
none?: AnswerWhereInput
|
|
12376
12439
|
}
|
|
12377
12440
|
|
|
12441
|
+
export type TeamRelationFilter = {
|
|
12442
|
+
is?: TeamWhereInput | null
|
|
12443
|
+
isNot?: TeamWhereInput | null
|
|
12444
|
+
}
|
|
12445
|
+
|
|
12378
12446
|
export type AnswerOrderByRelationAggregateInput = {
|
|
12379
12447
|
_count?: SortOrder
|
|
12380
12448
|
}
|
|
@@ -12383,18 +12451,21 @@ export namespace Prisma {
|
|
|
12383
12451
|
id?: SortOrder
|
|
12384
12452
|
email?: SortOrder
|
|
12385
12453
|
name?: SortOrder
|
|
12454
|
+
teamId?: SortOrder
|
|
12386
12455
|
}
|
|
12387
12456
|
|
|
12388
12457
|
export type UserMaxOrderByAggregateInput = {
|
|
12389
12458
|
id?: SortOrder
|
|
12390
12459
|
email?: SortOrder
|
|
12391
12460
|
name?: SortOrder
|
|
12461
|
+
teamId?: SortOrder
|
|
12392
12462
|
}
|
|
12393
12463
|
|
|
12394
12464
|
export type UserMinOrderByAggregateInput = {
|
|
12395
12465
|
id?: SortOrder
|
|
12396
12466
|
email?: SortOrder
|
|
12397
12467
|
name?: SortOrder
|
|
12468
|
+
teamId?: SortOrder
|
|
12398
12469
|
}
|
|
12399
12470
|
|
|
12400
12471
|
export type IntFilter = {
|
|
@@ -12411,6 +12482,7 @@ export namespace Prisma {
|
|
|
12411
12482
|
export type TeamCountOrderByAggregateInput = {
|
|
12412
12483
|
id?: SortOrder
|
|
12413
12484
|
name?: SortOrder
|
|
12485
|
+
emailPattern?: SortOrder
|
|
12414
12486
|
userCount?: SortOrder
|
|
12415
12487
|
subscriptionExpire?: SortOrder
|
|
12416
12488
|
}
|
|
@@ -12422,6 +12494,7 @@ export namespace Prisma {
|
|
|
12422
12494
|
export type TeamMaxOrderByAggregateInput = {
|
|
12423
12495
|
id?: SortOrder
|
|
12424
12496
|
name?: SortOrder
|
|
12497
|
+
emailPattern?: SortOrder
|
|
12425
12498
|
userCount?: SortOrder
|
|
12426
12499
|
subscriptionExpire?: SortOrder
|
|
12427
12500
|
}
|
|
@@ -12429,6 +12502,7 @@ export namespace Prisma {
|
|
|
12429
12502
|
export type TeamMinOrderByAggregateInput = {
|
|
12430
12503
|
id?: SortOrder
|
|
12431
12504
|
name?: SortOrder
|
|
12505
|
+
emailPattern?: SortOrder
|
|
12432
12506
|
userCount?: SortOrder
|
|
12433
12507
|
subscriptionExpire?: SortOrder
|
|
12434
12508
|
}
|
|
@@ -12774,9 +12848,9 @@ export namespace Prisma {
|
|
|
12774
12848
|
connect?: Enumerable<PurchaseWhereUniqueInput>
|
|
12775
12849
|
}
|
|
12776
12850
|
|
|
12777
|
-
export type
|
|
12778
|
-
create?: XOR<Enumerable<
|
|
12779
|
-
connectOrCreate?: Enumerable<
|
|
12851
|
+
export type TeamCreateNestedManyWithoutAdditionalDecksInput = {
|
|
12852
|
+
create?: XOR<Enumerable<TeamCreateWithoutAdditionalDecksInput>, Enumerable<TeamUncheckedCreateWithoutAdditionalDecksInput>>
|
|
12853
|
+
connectOrCreate?: Enumerable<TeamCreateOrConnectWithoutAdditionalDecksInput>
|
|
12780
12854
|
connect?: Enumerable<TeamWhereUniqueInput>
|
|
12781
12855
|
}
|
|
12782
12856
|
|
|
@@ -12800,9 +12874,9 @@ export namespace Prisma {
|
|
|
12800
12874
|
connect?: Enumerable<PurchaseWhereUniqueInput>
|
|
12801
12875
|
}
|
|
12802
12876
|
|
|
12803
|
-
export type
|
|
12804
|
-
create?: XOR<Enumerable<
|
|
12805
|
-
connectOrCreate?: Enumerable<
|
|
12877
|
+
export type TeamUncheckedCreateNestedManyWithoutAdditionalDecksInput = {
|
|
12878
|
+
create?: XOR<Enumerable<TeamCreateWithoutAdditionalDecksInput>, Enumerable<TeamUncheckedCreateWithoutAdditionalDecksInput>>
|
|
12879
|
+
connectOrCreate?: Enumerable<TeamCreateOrConnectWithoutAdditionalDecksInput>
|
|
12806
12880
|
connect?: Enumerable<TeamWhereUniqueInput>
|
|
12807
12881
|
}
|
|
12808
12882
|
|
|
@@ -12873,16 +12947,16 @@ export namespace Prisma {
|
|
|
12873
12947
|
deleteMany?: Enumerable<PurchaseScalarWhereInput>
|
|
12874
12948
|
}
|
|
12875
12949
|
|
|
12876
|
-
export type
|
|
12877
|
-
create?: XOR<Enumerable<
|
|
12878
|
-
connectOrCreate?: Enumerable<
|
|
12879
|
-
upsert?: Enumerable<
|
|
12950
|
+
export type TeamUpdateManyWithoutAdditionalDecksNestedInput = {
|
|
12951
|
+
create?: XOR<Enumerable<TeamCreateWithoutAdditionalDecksInput>, Enumerable<TeamUncheckedCreateWithoutAdditionalDecksInput>>
|
|
12952
|
+
connectOrCreate?: Enumerable<TeamCreateOrConnectWithoutAdditionalDecksInput>
|
|
12953
|
+
upsert?: Enumerable<TeamUpsertWithWhereUniqueWithoutAdditionalDecksInput>
|
|
12880
12954
|
set?: Enumerable<TeamWhereUniqueInput>
|
|
12881
12955
|
disconnect?: Enumerable<TeamWhereUniqueInput>
|
|
12882
12956
|
delete?: Enumerable<TeamWhereUniqueInput>
|
|
12883
12957
|
connect?: Enumerable<TeamWhereUniqueInput>
|
|
12884
|
-
update?: Enumerable<
|
|
12885
|
-
updateMany?: Enumerable<
|
|
12958
|
+
update?: Enumerable<TeamUpdateWithWhereUniqueWithoutAdditionalDecksInput>
|
|
12959
|
+
updateMany?: Enumerable<TeamUpdateManyWithWhereWithoutAdditionalDecksInput>
|
|
12886
12960
|
deleteMany?: Enumerable<TeamScalarWhereInput>
|
|
12887
12961
|
}
|
|
12888
12962
|
|
|
@@ -12931,16 +13005,16 @@ export namespace Prisma {
|
|
|
12931
13005
|
deleteMany?: Enumerable<PurchaseScalarWhereInput>
|
|
12932
13006
|
}
|
|
12933
13007
|
|
|
12934
|
-
export type
|
|
12935
|
-
create?: XOR<Enumerable<
|
|
12936
|
-
connectOrCreate?: Enumerable<
|
|
12937
|
-
upsert?: Enumerable<
|
|
13008
|
+
export type TeamUncheckedUpdateManyWithoutAdditionalDecksNestedInput = {
|
|
13009
|
+
create?: XOR<Enumerable<TeamCreateWithoutAdditionalDecksInput>, Enumerable<TeamUncheckedCreateWithoutAdditionalDecksInput>>
|
|
13010
|
+
connectOrCreate?: Enumerable<TeamCreateOrConnectWithoutAdditionalDecksInput>
|
|
13011
|
+
upsert?: Enumerable<TeamUpsertWithWhereUniqueWithoutAdditionalDecksInput>
|
|
12938
13012
|
set?: Enumerable<TeamWhereUniqueInput>
|
|
12939
13013
|
disconnect?: Enumerable<TeamWhereUniqueInput>
|
|
12940
13014
|
delete?: Enumerable<TeamWhereUniqueInput>
|
|
12941
13015
|
connect?: Enumerable<TeamWhereUniqueInput>
|
|
12942
|
-
update?: Enumerable<
|
|
12943
|
-
updateMany?: Enumerable<
|
|
13016
|
+
update?: Enumerable<TeamUpdateWithWhereUniqueWithoutAdditionalDecksInput>
|
|
13017
|
+
updateMany?: Enumerable<TeamUpdateManyWithWhereWithoutAdditionalDecksInput>
|
|
12944
13018
|
deleteMany?: Enumerable<TeamScalarWhereInput>
|
|
12945
13019
|
}
|
|
12946
13020
|
|
|
@@ -12977,6 +13051,12 @@ export namespace Prisma {
|
|
|
12977
13051
|
connect?: Enumerable<AnswerWhereUniqueInput>
|
|
12978
13052
|
}
|
|
12979
13053
|
|
|
13054
|
+
export type TeamCreateNestedOneWithoutMembersInput = {
|
|
13055
|
+
create?: XOR<TeamCreateWithoutMembersInput, TeamUncheckedCreateWithoutMembersInput>
|
|
13056
|
+
connectOrCreate?: TeamCreateOrConnectWithoutMembersInput
|
|
13057
|
+
connect?: TeamWhereUniqueInput
|
|
13058
|
+
}
|
|
13059
|
+
|
|
12980
13060
|
export type GoogleUserUncheckedCreateNestedOneWithoutUserInput = {
|
|
12981
13061
|
create?: XOR<GoogleUserCreateWithoutUserInput, GoogleUserUncheckedCreateWithoutUserInput>
|
|
12982
13062
|
connectOrCreate?: GoogleUserCreateOrConnectWithoutUserInput
|
|
@@ -13075,6 +13155,16 @@ export namespace Prisma {
|
|
|
13075
13155
|
deleteMany?: Enumerable<AnswerScalarWhereInput>
|
|
13076
13156
|
}
|
|
13077
13157
|
|
|
13158
|
+
export type TeamUpdateOneWithoutMembersNestedInput = {
|
|
13159
|
+
create?: XOR<TeamCreateWithoutMembersInput, TeamUncheckedCreateWithoutMembersInput>
|
|
13160
|
+
connectOrCreate?: TeamCreateOrConnectWithoutMembersInput
|
|
13161
|
+
upsert?: TeamUpsertWithoutMembersInput
|
|
13162
|
+
disconnect?: boolean
|
|
13163
|
+
delete?: boolean
|
|
13164
|
+
connect?: TeamWhereUniqueInput
|
|
13165
|
+
update?: XOR<TeamUpdateWithoutMembersInput, TeamUncheckedUpdateWithoutMembersInput>
|
|
13166
|
+
}
|
|
13167
|
+
|
|
13078
13168
|
export type GoogleUserUncheckedUpdateOneWithoutUserNestedInput = {
|
|
13079
13169
|
create?: XOR<GoogleUserCreateWithoutUserInput, GoogleUserUncheckedCreateWithoutUserInput>
|
|
13080
13170
|
connectOrCreate?: GoogleUserCreateOrConnectWithoutUserInput
|
|
@@ -13146,12 +13236,26 @@ export namespace Prisma {
|
|
|
13146
13236
|
connect?: Enumerable<PackWhereUniqueInput>
|
|
13147
13237
|
}
|
|
13148
13238
|
|
|
13239
|
+
export type UserCreateNestedManyWithoutTeamInput = {
|
|
13240
|
+
create?: XOR<Enumerable<UserCreateWithoutTeamInput>, Enumerable<UserUncheckedCreateWithoutTeamInput>>
|
|
13241
|
+
connectOrCreate?: Enumerable<UserCreateOrConnectWithoutTeamInput>
|
|
13242
|
+
createMany?: UserCreateManyTeamInputEnvelope
|
|
13243
|
+
connect?: Enumerable<UserWhereUniqueInput>
|
|
13244
|
+
}
|
|
13245
|
+
|
|
13149
13246
|
export type PackUncheckedCreateNestedManyWithoutTeamsInput = {
|
|
13150
13247
|
create?: XOR<Enumerable<PackCreateWithoutTeamsInput>, Enumerable<PackUncheckedCreateWithoutTeamsInput>>
|
|
13151
13248
|
connectOrCreate?: Enumerable<PackCreateOrConnectWithoutTeamsInput>
|
|
13152
13249
|
connect?: Enumerable<PackWhereUniqueInput>
|
|
13153
13250
|
}
|
|
13154
13251
|
|
|
13252
|
+
export type UserUncheckedCreateNestedManyWithoutTeamInput = {
|
|
13253
|
+
create?: XOR<Enumerable<UserCreateWithoutTeamInput>, Enumerable<UserUncheckedCreateWithoutTeamInput>>
|
|
13254
|
+
connectOrCreate?: Enumerable<UserCreateOrConnectWithoutTeamInput>
|
|
13255
|
+
createMany?: UserCreateManyTeamInputEnvelope
|
|
13256
|
+
connect?: Enumerable<UserWhereUniqueInput>
|
|
13257
|
+
}
|
|
13258
|
+
|
|
13155
13259
|
export type PackUpdateManyWithoutTeamsNestedInput = {
|
|
13156
13260
|
create?: XOR<Enumerable<PackCreateWithoutTeamsInput>, Enumerable<PackUncheckedCreateWithoutTeamsInput>>
|
|
13157
13261
|
connectOrCreate?: Enumerable<PackCreateOrConnectWithoutTeamsInput>
|
|
@@ -13165,6 +13269,20 @@ export namespace Prisma {
|
|
|
13165
13269
|
deleteMany?: Enumerable<PackScalarWhereInput>
|
|
13166
13270
|
}
|
|
13167
13271
|
|
|
13272
|
+
export type UserUpdateManyWithoutTeamNestedInput = {
|
|
13273
|
+
create?: XOR<Enumerable<UserCreateWithoutTeamInput>, Enumerable<UserUncheckedCreateWithoutTeamInput>>
|
|
13274
|
+
connectOrCreate?: Enumerable<UserCreateOrConnectWithoutTeamInput>
|
|
13275
|
+
upsert?: Enumerable<UserUpsertWithWhereUniqueWithoutTeamInput>
|
|
13276
|
+
createMany?: UserCreateManyTeamInputEnvelope
|
|
13277
|
+
set?: Enumerable<UserWhereUniqueInput>
|
|
13278
|
+
disconnect?: Enumerable<UserWhereUniqueInput>
|
|
13279
|
+
delete?: Enumerable<UserWhereUniqueInput>
|
|
13280
|
+
connect?: Enumerable<UserWhereUniqueInput>
|
|
13281
|
+
update?: Enumerable<UserUpdateWithWhereUniqueWithoutTeamInput>
|
|
13282
|
+
updateMany?: Enumerable<UserUpdateManyWithWhereWithoutTeamInput>
|
|
13283
|
+
deleteMany?: Enumerable<UserScalarWhereInput>
|
|
13284
|
+
}
|
|
13285
|
+
|
|
13168
13286
|
export type IntFieldUpdateOperationsInput = {
|
|
13169
13287
|
set?: number
|
|
13170
13288
|
increment?: number
|
|
@@ -13186,6 +13304,20 @@ export namespace Prisma {
|
|
|
13186
13304
|
deleteMany?: Enumerable<PackScalarWhereInput>
|
|
13187
13305
|
}
|
|
13188
13306
|
|
|
13307
|
+
export type UserUncheckedUpdateManyWithoutTeamNestedInput = {
|
|
13308
|
+
create?: XOR<Enumerable<UserCreateWithoutTeamInput>, Enumerable<UserUncheckedCreateWithoutTeamInput>>
|
|
13309
|
+
connectOrCreate?: Enumerable<UserCreateOrConnectWithoutTeamInput>
|
|
13310
|
+
upsert?: Enumerable<UserUpsertWithWhereUniqueWithoutTeamInput>
|
|
13311
|
+
createMany?: UserCreateManyTeamInputEnvelope
|
|
13312
|
+
set?: Enumerable<UserWhereUniqueInput>
|
|
13313
|
+
disconnect?: Enumerable<UserWhereUniqueInput>
|
|
13314
|
+
delete?: Enumerable<UserWhereUniqueInput>
|
|
13315
|
+
connect?: Enumerable<UserWhereUniqueInput>
|
|
13316
|
+
update?: Enumerable<UserUpdateWithWhereUniqueWithoutTeamInput>
|
|
13317
|
+
updateMany?: Enumerable<UserUpdateManyWithWhereWithoutTeamInput>
|
|
13318
|
+
deleteMany?: Enumerable<UserScalarWhereInput>
|
|
13319
|
+
}
|
|
13320
|
+
|
|
13189
13321
|
export type PackCreateNestedManyWithoutTeacherInput = {
|
|
13190
13322
|
create?: XOR<Enumerable<PackCreateWithoutTeacherInput>, Enumerable<PackUncheckedCreateWithoutTeacherInput>>
|
|
13191
13323
|
connectOrCreate?: Enumerable<PackCreateOrConnectWithoutTeacherInput>
|
|
@@ -13546,10 +13678,10 @@ export namespace Prisma {
|
|
|
13546
13678
|
category?: CategoryCreateNestedOneWithoutPacksInput
|
|
13547
13679
|
published?: boolean
|
|
13548
13680
|
currentPrice: Decimal | DecimalJsLike | number | string
|
|
13549
|
-
public
|
|
13681
|
+
public?: boolean
|
|
13550
13682
|
users?: UserCreateNestedManyWithoutPacksInput
|
|
13551
13683
|
purchases?: PurchaseCreateNestedManyWithoutPackInput
|
|
13552
|
-
teams?:
|
|
13684
|
+
teams?: TeamCreateNestedManyWithoutAdditionalDecksInput
|
|
13553
13685
|
}
|
|
13554
13686
|
|
|
13555
13687
|
export type PackUncheckedCreateWithoutCardsInput = {
|
|
@@ -13561,10 +13693,10 @@ export namespace Prisma {
|
|
|
13561
13693
|
categoryId?: string | null
|
|
13562
13694
|
published?: boolean
|
|
13563
13695
|
currentPrice: Decimal | DecimalJsLike | number | string
|
|
13564
|
-
public
|
|
13696
|
+
public?: boolean
|
|
13565
13697
|
users?: UserUncheckedCreateNestedManyWithoutPacksInput
|
|
13566
13698
|
purchases?: PurchaseUncheckedCreateNestedManyWithoutPackInput
|
|
13567
|
-
teams?:
|
|
13699
|
+
teams?: TeamUncheckedCreateNestedManyWithoutAdditionalDecksInput
|
|
13568
13700
|
}
|
|
13569
13701
|
|
|
13570
13702
|
export type PackCreateOrConnectWithoutCardsInput = {
|
|
@@ -13613,7 +13745,7 @@ export namespace Prisma {
|
|
|
13613
13745
|
public?: BoolFieldUpdateOperationsInput | boolean
|
|
13614
13746
|
users?: UserUpdateManyWithoutPacksNestedInput
|
|
13615
13747
|
purchases?: PurchaseUpdateManyWithoutPackNestedInput
|
|
13616
|
-
teams?:
|
|
13748
|
+
teams?: TeamUpdateManyWithoutAdditionalDecksNestedInput
|
|
13617
13749
|
}
|
|
13618
13750
|
|
|
13619
13751
|
export type PackUncheckedUpdateWithoutCardsInput = {
|
|
@@ -13628,7 +13760,7 @@ export namespace Prisma {
|
|
|
13628
13760
|
public?: BoolFieldUpdateOperationsInput | boolean
|
|
13629
13761
|
users?: UserUncheckedUpdateManyWithoutPacksNestedInput
|
|
13630
13762
|
purchases?: PurchaseUncheckedUpdateManyWithoutPackNestedInput
|
|
13631
|
-
teams?:
|
|
13763
|
+
teams?: TeamUncheckedUpdateManyWithoutAdditionalDecksNestedInput
|
|
13632
13764
|
}
|
|
13633
13765
|
|
|
13634
13766
|
export type UserCardUpsertWithWhereUniqueWithoutCardInput = {
|
|
@@ -13666,6 +13798,7 @@ export namespace Prisma {
|
|
|
13666
13798
|
purchases?: PurchaseCreateNestedManyWithoutUserInput
|
|
13667
13799
|
packs?: PackCreateNestedManyWithoutUsersInput
|
|
13668
13800
|
answers?: AnswerCreateNestedManyWithoutUserInput
|
|
13801
|
+
team?: TeamCreateNestedOneWithoutMembersInput
|
|
13669
13802
|
}
|
|
13670
13803
|
|
|
13671
13804
|
export type UserUncheckedCreateWithoutUserCardsInput = {
|
|
@@ -13676,6 +13809,7 @@ export namespace Prisma {
|
|
|
13676
13809
|
purchases?: PurchaseUncheckedCreateNestedManyWithoutUserInput
|
|
13677
13810
|
packs?: PackUncheckedCreateNestedManyWithoutUsersInput
|
|
13678
13811
|
answers?: AnswerUncheckedCreateNestedManyWithoutUserInput
|
|
13812
|
+
teamId?: string | null
|
|
13679
13813
|
}
|
|
13680
13814
|
|
|
13681
13815
|
export type UserCreateOrConnectWithoutUserCardsInput = {
|
|
@@ -13715,6 +13849,7 @@ export namespace Prisma {
|
|
|
13715
13849
|
purchases?: PurchaseUpdateManyWithoutUserNestedInput
|
|
13716
13850
|
packs?: PackUpdateManyWithoutUsersNestedInput
|
|
13717
13851
|
answers?: AnswerUpdateManyWithoutUserNestedInput
|
|
13852
|
+
team?: TeamUpdateOneWithoutMembersNestedInput
|
|
13718
13853
|
}
|
|
13719
13854
|
|
|
13720
13855
|
export type UserUncheckedUpdateWithoutUserCardsInput = {
|
|
@@ -13725,6 +13860,7 @@ export namespace Prisma {
|
|
|
13725
13860
|
purchases?: PurchaseUncheckedUpdateManyWithoutUserNestedInput
|
|
13726
13861
|
packs?: PackUncheckedUpdateManyWithoutUsersNestedInput
|
|
13727
13862
|
answers?: AnswerUncheckedUpdateManyWithoutUserNestedInput
|
|
13863
|
+
teamId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
13728
13864
|
}
|
|
13729
13865
|
|
|
13730
13866
|
export type CardUpsertWithoutUserCardsInput = {
|
|
@@ -13754,11 +13890,11 @@ export namespace Prisma {
|
|
|
13754
13890
|
longDescription?: string
|
|
13755
13891
|
published?: boolean
|
|
13756
13892
|
currentPrice: Decimal | DecimalJsLike | number | string
|
|
13757
|
-
public
|
|
13893
|
+
public?: boolean
|
|
13758
13894
|
cards?: CardCreateNestedManyWithoutPackInput
|
|
13759
13895
|
users?: UserCreateNestedManyWithoutPacksInput
|
|
13760
13896
|
purchases?: PurchaseCreateNestedManyWithoutPackInput
|
|
13761
|
-
teams?:
|
|
13897
|
+
teams?: TeamCreateNestedManyWithoutAdditionalDecksInput
|
|
13762
13898
|
}
|
|
13763
13899
|
|
|
13764
13900
|
export type PackUncheckedCreateWithoutCategoryInput = {
|
|
@@ -13769,11 +13905,11 @@ export namespace Prisma {
|
|
|
13769
13905
|
longDescription?: string
|
|
13770
13906
|
published?: boolean
|
|
13771
13907
|
currentPrice: Decimal | DecimalJsLike | number | string
|
|
13772
|
-
public
|
|
13908
|
+
public?: boolean
|
|
13773
13909
|
cards?: CardUncheckedCreateNestedManyWithoutPackInput
|
|
13774
13910
|
users?: UserUncheckedCreateNestedManyWithoutPacksInput
|
|
13775
13911
|
purchases?: PurchaseUncheckedCreateNestedManyWithoutPackInput
|
|
13776
|
-
teams?:
|
|
13912
|
+
teams?: TeamUncheckedCreateNestedManyWithoutAdditionalDecksInput
|
|
13777
13913
|
}
|
|
13778
13914
|
|
|
13779
13915
|
export type PackCreateOrConnectWithoutCategoryInput = {
|
|
@@ -13883,6 +14019,7 @@ export namespace Prisma {
|
|
|
13883
14019
|
purchases?: PurchaseCreateNestedManyWithoutUserInput
|
|
13884
14020
|
userCards?: UserCardCreateNestedManyWithoutUserInput
|
|
13885
14021
|
answers?: AnswerCreateNestedManyWithoutUserInput
|
|
14022
|
+
team?: TeamCreateNestedOneWithoutMembersInput
|
|
13886
14023
|
}
|
|
13887
14024
|
|
|
13888
14025
|
export type UserUncheckedCreateWithoutPacksInput = {
|
|
@@ -13893,6 +14030,7 @@ export namespace Prisma {
|
|
|
13893
14030
|
purchases?: PurchaseUncheckedCreateNestedManyWithoutUserInput
|
|
13894
14031
|
userCards?: UserCardUncheckedCreateNestedManyWithoutUserInput
|
|
13895
14032
|
answers?: AnswerUncheckedCreateNestedManyWithoutUserInput
|
|
14033
|
+
teamId?: string | null
|
|
13896
14034
|
}
|
|
13897
14035
|
|
|
13898
14036
|
export type UserCreateOrConnectWithoutPacksInput = {
|
|
@@ -13930,23 +14068,27 @@ export namespace Prisma {
|
|
|
13930
14068
|
skipDuplicates?: boolean
|
|
13931
14069
|
}
|
|
13932
14070
|
|
|
13933
|
-
export type
|
|
14071
|
+
export type TeamCreateWithoutAdditionalDecksInput = {
|
|
13934
14072
|
id?: string
|
|
13935
14073
|
name: string
|
|
14074
|
+
emailPattern?: string
|
|
14075
|
+
members?: UserCreateNestedManyWithoutTeamInput
|
|
13936
14076
|
userCount: number
|
|
13937
14077
|
subscriptionExpire?: Date | string | null
|
|
13938
14078
|
}
|
|
13939
14079
|
|
|
13940
|
-
export type
|
|
14080
|
+
export type TeamUncheckedCreateWithoutAdditionalDecksInput = {
|
|
13941
14081
|
id?: string
|
|
13942
14082
|
name: string
|
|
14083
|
+
emailPattern?: string
|
|
14084
|
+
members?: UserUncheckedCreateNestedManyWithoutTeamInput
|
|
13943
14085
|
userCount: number
|
|
13944
14086
|
subscriptionExpire?: Date | string | null
|
|
13945
14087
|
}
|
|
13946
14088
|
|
|
13947
|
-
export type
|
|
14089
|
+
export type TeamCreateOrConnectWithoutAdditionalDecksInput = {
|
|
13948
14090
|
where: TeamWhereUniqueInput
|
|
13949
|
-
create: XOR<
|
|
14091
|
+
create: XOR<TeamCreateWithoutAdditionalDecksInput, TeamUncheckedCreateWithoutAdditionalDecksInput>
|
|
13950
14092
|
}
|
|
13951
14093
|
|
|
13952
14094
|
export type TeacherUpsertWithoutPacksInput = {
|
|
@@ -14032,6 +14174,7 @@ export namespace Prisma {
|
|
|
14032
14174
|
id?: StringFilter | string
|
|
14033
14175
|
email?: StringFilter | string
|
|
14034
14176
|
name?: StringFilter | string
|
|
14177
|
+
teamId?: StringNullableFilter | string | null
|
|
14035
14178
|
}
|
|
14036
14179
|
|
|
14037
14180
|
export type PurchaseUpsertWithWhereUniqueWithoutPackInput = {
|
|
@@ -14064,18 +14207,18 @@ export namespace Prisma {
|
|
|
14064
14207
|
status?: EnumPurchaseStatusFilter | PurchaseStatus
|
|
14065
14208
|
}
|
|
14066
14209
|
|
|
14067
|
-
export type
|
|
14210
|
+
export type TeamUpsertWithWhereUniqueWithoutAdditionalDecksInput = {
|
|
14068
14211
|
where: TeamWhereUniqueInput
|
|
14069
|
-
update: XOR<
|
|
14070
|
-
create: XOR<
|
|
14212
|
+
update: XOR<TeamUpdateWithoutAdditionalDecksInput, TeamUncheckedUpdateWithoutAdditionalDecksInput>
|
|
14213
|
+
create: XOR<TeamCreateWithoutAdditionalDecksInput, TeamUncheckedCreateWithoutAdditionalDecksInput>
|
|
14071
14214
|
}
|
|
14072
14215
|
|
|
14073
|
-
export type
|
|
14216
|
+
export type TeamUpdateWithWhereUniqueWithoutAdditionalDecksInput = {
|
|
14074
14217
|
where: TeamWhereUniqueInput
|
|
14075
|
-
data: XOR<
|
|
14218
|
+
data: XOR<TeamUpdateWithoutAdditionalDecksInput, TeamUncheckedUpdateWithoutAdditionalDecksInput>
|
|
14076
14219
|
}
|
|
14077
14220
|
|
|
14078
|
-
export type
|
|
14221
|
+
export type TeamUpdateManyWithWhereWithoutAdditionalDecksInput = {
|
|
14079
14222
|
where: TeamScalarWhereInput
|
|
14080
14223
|
data: XOR<TeamUpdateManyMutationInput, TeamUncheckedUpdateManyWithoutTeamsInput>
|
|
14081
14224
|
}
|
|
@@ -14086,6 +14229,7 @@ export namespace Prisma {
|
|
|
14086
14229
|
NOT?: Enumerable<TeamScalarWhereInput>
|
|
14087
14230
|
id?: StringFilter | string
|
|
14088
14231
|
name?: StringFilter | string
|
|
14232
|
+
emailPattern?: StringFilter | string
|
|
14089
14233
|
userCount?: IntFilter | number
|
|
14090
14234
|
subscriptionExpire?: DateTimeNullableFilter | Date | string | null
|
|
14091
14235
|
}
|
|
@@ -14142,10 +14286,10 @@ export namespace Prisma {
|
|
|
14142
14286
|
category?: CategoryCreateNestedOneWithoutPacksInput
|
|
14143
14287
|
published?: boolean
|
|
14144
14288
|
currentPrice: Decimal | DecimalJsLike | number | string
|
|
14145
|
-
public
|
|
14289
|
+
public?: boolean
|
|
14146
14290
|
cards?: CardCreateNestedManyWithoutPackInput
|
|
14147
14291
|
purchases?: PurchaseCreateNestedManyWithoutPackInput
|
|
14148
|
-
teams?:
|
|
14292
|
+
teams?: TeamCreateNestedManyWithoutAdditionalDecksInput
|
|
14149
14293
|
}
|
|
14150
14294
|
|
|
14151
14295
|
export type PackUncheckedCreateWithoutUsersInput = {
|
|
@@ -14157,10 +14301,10 @@ export namespace Prisma {
|
|
|
14157
14301
|
categoryId?: string | null
|
|
14158
14302
|
published?: boolean
|
|
14159
14303
|
currentPrice: Decimal | DecimalJsLike | number | string
|
|
14160
|
-
public
|
|
14304
|
+
public?: boolean
|
|
14161
14305
|
cards?: CardUncheckedCreateNestedManyWithoutPackInput
|
|
14162
14306
|
purchases?: PurchaseUncheckedCreateNestedManyWithoutPackInput
|
|
14163
|
-
teams?:
|
|
14307
|
+
teams?: TeamUncheckedCreateNestedManyWithoutAdditionalDecksInput
|
|
14164
14308
|
}
|
|
14165
14309
|
|
|
14166
14310
|
export type PackCreateOrConnectWithoutUsersInput = {
|
|
@@ -14216,6 +14360,29 @@ export namespace Prisma {
|
|
|
14216
14360
|
skipDuplicates?: boolean
|
|
14217
14361
|
}
|
|
14218
14362
|
|
|
14363
|
+
export type TeamCreateWithoutMembersInput = {
|
|
14364
|
+
id?: string
|
|
14365
|
+
name: string
|
|
14366
|
+
emailPattern?: string
|
|
14367
|
+
additionalDecks?: PackCreateNestedManyWithoutTeamsInput
|
|
14368
|
+
userCount: number
|
|
14369
|
+
subscriptionExpire?: Date | string | null
|
|
14370
|
+
}
|
|
14371
|
+
|
|
14372
|
+
export type TeamUncheckedCreateWithoutMembersInput = {
|
|
14373
|
+
id?: string
|
|
14374
|
+
name: string
|
|
14375
|
+
emailPattern?: string
|
|
14376
|
+
additionalDecks?: PackUncheckedCreateNestedManyWithoutTeamsInput
|
|
14377
|
+
userCount: number
|
|
14378
|
+
subscriptionExpire?: Date | string | null
|
|
14379
|
+
}
|
|
14380
|
+
|
|
14381
|
+
export type TeamCreateOrConnectWithoutMembersInput = {
|
|
14382
|
+
where: TeamWhereUniqueInput
|
|
14383
|
+
create: XOR<TeamCreateWithoutMembersInput, TeamUncheckedCreateWithoutMembersInput>
|
|
14384
|
+
}
|
|
14385
|
+
|
|
14219
14386
|
export type GoogleUserUpsertWithoutUserInput = {
|
|
14220
14387
|
update: XOR<GoogleUserUpdateWithoutUserInput, GoogleUserUncheckedUpdateWithoutUserInput>
|
|
14221
14388
|
create: XOR<GoogleUserCreateWithoutUserInput, GoogleUserUncheckedCreateWithoutUserInput>
|
|
@@ -14304,6 +14471,29 @@ export namespace Prisma {
|
|
|
14304
14471
|
timestamp?: StringFilter | string
|
|
14305
14472
|
}
|
|
14306
14473
|
|
|
14474
|
+
export type TeamUpsertWithoutMembersInput = {
|
|
14475
|
+
update: XOR<TeamUpdateWithoutMembersInput, TeamUncheckedUpdateWithoutMembersInput>
|
|
14476
|
+
create: XOR<TeamCreateWithoutMembersInput, TeamUncheckedCreateWithoutMembersInput>
|
|
14477
|
+
}
|
|
14478
|
+
|
|
14479
|
+
export type TeamUpdateWithoutMembersInput = {
|
|
14480
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
14481
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
14482
|
+
emailPattern?: StringFieldUpdateOperationsInput | string
|
|
14483
|
+
additionalDecks?: PackUpdateManyWithoutTeamsNestedInput
|
|
14484
|
+
userCount?: IntFieldUpdateOperationsInput | number
|
|
14485
|
+
subscriptionExpire?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
14486
|
+
}
|
|
14487
|
+
|
|
14488
|
+
export type TeamUncheckedUpdateWithoutMembersInput = {
|
|
14489
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
14490
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
14491
|
+
emailPattern?: StringFieldUpdateOperationsInput | string
|
|
14492
|
+
additionalDecks?: PackUncheckedUpdateManyWithoutTeamsNestedInput
|
|
14493
|
+
userCount?: IntFieldUpdateOperationsInput | number
|
|
14494
|
+
subscriptionExpire?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
14495
|
+
}
|
|
14496
|
+
|
|
14307
14497
|
export type PackCreateWithoutTeamsInput = {
|
|
14308
14498
|
id?: string
|
|
14309
14499
|
teacher: TeacherCreateNestedOneWithoutPacksInput
|
|
@@ -14313,7 +14503,7 @@ export namespace Prisma {
|
|
|
14313
14503
|
category?: CategoryCreateNestedOneWithoutPacksInput
|
|
14314
14504
|
published?: boolean
|
|
14315
14505
|
currentPrice: Decimal | DecimalJsLike | number | string
|
|
14316
|
-
public
|
|
14506
|
+
public?: boolean
|
|
14317
14507
|
cards?: CardCreateNestedManyWithoutPackInput
|
|
14318
14508
|
users?: UserCreateNestedManyWithoutPacksInput
|
|
14319
14509
|
purchases?: PurchaseCreateNestedManyWithoutPackInput
|
|
@@ -14328,7 +14518,7 @@ export namespace Prisma {
|
|
|
14328
14518
|
categoryId?: string | null
|
|
14329
14519
|
published?: boolean
|
|
14330
14520
|
currentPrice: Decimal | DecimalJsLike | number | string
|
|
14331
|
-
public
|
|
14521
|
+
public?: boolean
|
|
14332
14522
|
cards?: CardUncheckedCreateNestedManyWithoutPackInput
|
|
14333
14523
|
users?: UserUncheckedCreateNestedManyWithoutPacksInput
|
|
14334
14524
|
purchases?: PurchaseUncheckedCreateNestedManyWithoutPackInput
|
|
@@ -14339,6 +14529,38 @@ export namespace Prisma {
|
|
|
14339
14529
|
create: XOR<PackCreateWithoutTeamsInput, PackUncheckedCreateWithoutTeamsInput>
|
|
14340
14530
|
}
|
|
14341
14531
|
|
|
14532
|
+
export type UserCreateWithoutTeamInput = {
|
|
14533
|
+
id?: string
|
|
14534
|
+
email: string
|
|
14535
|
+
name: string
|
|
14536
|
+
googleUser?: GoogleUserCreateNestedOneWithoutUserInput
|
|
14537
|
+
purchases?: PurchaseCreateNestedManyWithoutUserInput
|
|
14538
|
+
packs?: PackCreateNestedManyWithoutUsersInput
|
|
14539
|
+
userCards?: UserCardCreateNestedManyWithoutUserInput
|
|
14540
|
+
answers?: AnswerCreateNestedManyWithoutUserInput
|
|
14541
|
+
}
|
|
14542
|
+
|
|
14543
|
+
export type UserUncheckedCreateWithoutTeamInput = {
|
|
14544
|
+
id?: string
|
|
14545
|
+
email: string
|
|
14546
|
+
name: string
|
|
14547
|
+
googleUser?: GoogleUserUncheckedCreateNestedOneWithoutUserInput
|
|
14548
|
+
purchases?: PurchaseUncheckedCreateNestedManyWithoutUserInput
|
|
14549
|
+
packs?: PackUncheckedCreateNestedManyWithoutUsersInput
|
|
14550
|
+
userCards?: UserCardUncheckedCreateNestedManyWithoutUserInput
|
|
14551
|
+
answers?: AnswerUncheckedCreateNestedManyWithoutUserInput
|
|
14552
|
+
}
|
|
14553
|
+
|
|
14554
|
+
export type UserCreateOrConnectWithoutTeamInput = {
|
|
14555
|
+
where: UserWhereUniqueInput
|
|
14556
|
+
create: XOR<UserCreateWithoutTeamInput, UserUncheckedCreateWithoutTeamInput>
|
|
14557
|
+
}
|
|
14558
|
+
|
|
14559
|
+
export type UserCreateManyTeamInputEnvelope = {
|
|
14560
|
+
data: Enumerable<UserCreateManyTeamInput>
|
|
14561
|
+
skipDuplicates?: boolean
|
|
14562
|
+
}
|
|
14563
|
+
|
|
14342
14564
|
export type PackUpsertWithWhereUniqueWithoutTeamsInput = {
|
|
14343
14565
|
where: PackWhereUniqueInput
|
|
14344
14566
|
update: XOR<PackUpdateWithoutTeamsInput, PackUncheckedUpdateWithoutTeamsInput>
|
|
@@ -14352,7 +14574,23 @@ export namespace Prisma {
|
|
|
14352
14574
|
|
|
14353
14575
|
export type PackUpdateManyWithWhereWithoutTeamsInput = {
|
|
14354
14576
|
where: PackScalarWhereInput
|
|
14355
|
-
data: XOR<PackUpdateManyMutationInput,
|
|
14577
|
+
data: XOR<PackUpdateManyMutationInput, PackUncheckedUpdateManyWithoutAdditionalDecksInput>
|
|
14578
|
+
}
|
|
14579
|
+
|
|
14580
|
+
export type UserUpsertWithWhereUniqueWithoutTeamInput = {
|
|
14581
|
+
where: UserWhereUniqueInput
|
|
14582
|
+
update: XOR<UserUpdateWithoutTeamInput, UserUncheckedUpdateWithoutTeamInput>
|
|
14583
|
+
create: XOR<UserCreateWithoutTeamInput, UserUncheckedCreateWithoutTeamInput>
|
|
14584
|
+
}
|
|
14585
|
+
|
|
14586
|
+
export type UserUpdateWithWhereUniqueWithoutTeamInput = {
|
|
14587
|
+
where: UserWhereUniqueInput
|
|
14588
|
+
data: XOR<UserUpdateWithoutTeamInput, UserUncheckedUpdateWithoutTeamInput>
|
|
14589
|
+
}
|
|
14590
|
+
|
|
14591
|
+
export type UserUpdateManyWithWhereWithoutTeamInput = {
|
|
14592
|
+
where: UserScalarWhereInput
|
|
14593
|
+
data: XOR<UserUpdateManyMutationInput, UserUncheckedUpdateManyWithoutMembersInput>
|
|
14356
14594
|
}
|
|
14357
14595
|
|
|
14358
14596
|
export type PackCreateWithoutTeacherInput = {
|
|
@@ -14363,11 +14601,11 @@ export namespace Prisma {
|
|
|
14363
14601
|
category?: CategoryCreateNestedOneWithoutPacksInput
|
|
14364
14602
|
published?: boolean
|
|
14365
14603
|
currentPrice: Decimal | DecimalJsLike | number | string
|
|
14366
|
-
public
|
|
14604
|
+
public?: boolean
|
|
14367
14605
|
cards?: CardCreateNestedManyWithoutPackInput
|
|
14368
14606
|
users?: UserCreateNestedManyWithoutPacksInput
|
|
14369
14607
|
purchases?: PurchaseCreateNestedManyWithoutPackInput
|
|
14370
|
-
teams?:
|
|
14608
|
+
teams?: TeamCreateNestedManyWithoutAdditionalDecksInput
|
|
14371
14609
|
}
|
|
14372
14610
|
|
|
14373
14611
|
export type PackUncheckedCreateWithoutTeacherInput = {
|
|
@@ -14378,11 +14616,11 @@ export namespace Prisma {
|
|
|
14378
14616
|
categoryId?: string | null
|
|
14379
14617
|
published?: boolean
|
|
14380
14618
|
currentPrice: Decimal | DecimalJsLike | number | string
|
|
14381
|
-
public
|
|
14619
|
+
public?: boolean
|
|
14382
14620
|
cards?: CardUncheckedCreateNestedManyWithoutPackInput
|
|
14383
14621
|
users?: UserUncheckedCreateNestedManyWithoutPacksInput
|
|
14384
14622
|
purchases?: PurchaseUncheckedCreateNestedManyWithoutPackInput
|
|
14385
|
-
teams?:
|
|
14623
|
+
teams?: TeamUncheckedCreateNestedManyWithoutAdditionalDecksInput
|
|
14386
14624
|
}
|
|
14387
14625
|
|
|
14388
14626
|
export type PackCreateOrConnectWithoutTeacherInput = {
|
|
@@ -14419,6 +14657,7 @@ export namespace Prisma {
|
|
|
14419
14657
|
packs?: PackCreateNestedManyWithoutUsersInput
|
|
14420
14658
|
userCards?: UserCardCreateNestedManyWithoutUserInput
|
|
14421
14659
|
answers?: AnswerCreateNestedManyWithoutUserInput
|
|
14660
|
+
team?: TeamCreateNestedOneWithoutMembersInput
|
|
14422
14661
|
}
|
|
14423
14662
|
|
|
14424
14663
|
export type UserUncheckedCreateWithoutGoogleUserInput = {
|
|
@@ -14429,6 +14668,7 @@ export namespace Prisma {
|
|
|
14429
14668
|
packs?: PackUncheckedCreateNestedManyWithoutUsersInput
|
|
14430
14669
|
userCards?: UserCardUncheckedCreateNestedManyWithoutUserInput
|
|
14431
14670
|
answers?: AnswerUncheckedCreateNestedManyWithoutUserInput
|
|
14671
|
+
teamId?: string | null
|
|
14432
14672
|
}
|
|
14433
14673
|
|
|
14434
14674
|
export type UserCreateOrConnectWithoutGoogleUserInput = {
|
|
@@ -14449,6 +14689,7 @@ export namespace Prisma {
|
|
|
14449
14689
|
packs?: PackUpdateManyWithoutUsersNestedInput
|
|
14450
14690
|
userCards?: UserCardUpdateManyWithoutUserNestedInput
|
|
14451
14691
|
answers?: AnswerUpdateManyWithoutUserNestedInput
|
|
14692
|
+
team?: TeamUpdateOneWithoutMembersNestedInput
|
|
14452
14693
|
}
|
|
14453
14694
|
|
|
14454
14695
|
export type UserUncheckedUpdateWithoutGoogleUserInput = {
|
|
@@ -14459,6 +14700,7 @@ export namespace Prisma {
|
|
|
14459
14700
|
packs?: PackUncheckedUpdateManyWithoutUsersNestedInput
|
|
14460
14701
|
userCards?: UserCardUncheckedUpdateManyWithoutUserNestedInput
|
|
14461
14702
|
answers?: AnswerUncheckedUpdateManyWithoutUserNestedInput
|
|
14703
|
+
teamId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
14462
14704
|
}
|
|
14463
14705
|
|
|
14464
14706
|
export type UserCreateWithoutAnswersInput = {
|
|
@@ -14469,6 +14711,7 @@ export namespace Prisma {
|
|
|
14469
14711
|
purchases?: PurchaseCreateNestedManyWithoutUserInput
|
|
14470
14712
|
packs?: PackCreateNestedManyWithoutUsersInput
|
|
14471
14713
|
userCards?: UserCardCreateNestedManyWithoutUserInput
|
|
14714
|
+
team?: TeamCreateNestedOneWithoutMembersInput
|
|
14472
14715
|
}
|
|
14473
14716
|
|
|
14474
14717
|
export type UserUncheckedCreateWithoutAnswersInput = {
|
|
@@ -14479,6 +14722,7 @@ export namespace Prisma {
|
|
|
14479
14722
|
purchases?: PurchaseUncheckedCreateNestedManyWithoutUserInput
|
|
14480
14723
|
packs?: PackUncheckedCreateNestedManyWithoutUsersInput
|
|
14481
14724
|
userCards?: UserCardUncheckedCreateNestedManyWithoutUserInput
|
|
14725
|
+
teamId?: string | null
|
|
14482
14726
|
}
|
|
14483
14727
|
|
|
14484
14728
|
export type UserCreateOrConnectWithoutAnswersInput = {
|
|
@@ -14499,6 +14743,7 @@ export namespace Prisma {
|
|
|
14499
14743
|
purchases?: PurchaseUpdateManyWithoutUserNestedInput
|
|
14500
14744
|
packs?: PackUpdateManyWithoutUsersNestedInput
|
|
14501
14745
|
userCards?: UserCardUpdateManyWithoutUserNestedInput
|
|
14746
|
+
team?: TeamUpdateOneWithoutMembersNestedInput
|
|
14502
14747
|
}
|
|
14503
14748
|
|
|
14504
14749
|
export type UserUncheckedUpdateWithoutAnswersInput = {
|
|
@@ -14509,6 +14754,7 @@ export namespace Prisma {
|
|
|
14509
14754
|
purchases?: PurchaseUncheckedUpdateManyWithoutUserNestedInput
|
|
14510
14755
|
packs?: PackUncheckedUpdateManyWithoutUsersNestedInput
|
|
14511
14756
|
userCards?: UserCardUncheckedUpdateManyWithoutUserNestedInput
|
|
14757
|
+
teamId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
14512
14758
|
}
|
|
14513
14759
|
|
|
14514
14760
|
export type UserCreateWithoutPurchasesInput = {
|
|
@@ -14519,6 +14765,7 @@ export namespace Prisma {
|
|
|
14519
14765
|
packs?: PackCreateNestedManyWithoutUsersInput
|
|
14520
14766
|
userCards?: UserCardCreateNestedManyWithoutUserInput
|
|
14521
14767
|
answers?: AnswerCreateNestedManyWithoutUserInput
|
|
14768
|
+
team?: TeamCreateNestedOneWithoutMembersInput
|
|
14522
14769
|
}
|
|
14523
14770
|
|
|
14524
14771
|
export type UserUncheckedCreateWithoutPurchasesInput = {
|
|
@@ -14529,6 +14776,7 @@ export namespace Prisma {
|
|
|
14529
14776
|
packs?: PackUncheckedCreateNestedManyWithoutUsersInput
|
|
14530
14777
|
userCards?: UserCardUncheckedCreateNestedManyWithoutUserInput
|
|
14531
14778
|
answers?: AnswerUncheckedCreateNestedManyWithoutUserInput
|
|
14779
|
+
teamId?: string | null
|
|
14532
14780
|
}
|
|
14533
14781
|
|
|
14534
14782
|
export type UserCreateOrConnectWithoutPurchasesInput = {
|
|
@@ -14545,10 +14793,10 @@ export namespace Prisma {
|
|
|
14545
14793
|
category?: CategoryCreateNestedOneWithoutPacksInput
|
|
14546
14794
|
published?: boolean
|
|
14547
14795
|
currentPrice: Decimal | DecimalJsLike | number | string
|
|
14548
|
-
public
|
|
14796
|
+
public?: boolean
|
|
14549
14797
|
cards?: CardCreateNestedManyWithoutPackInput
|
|
14550
14798
|
users?: UserCreateNestedManyWithoutPacksInput
|
|
14551
|
-
teams?:
|
|
14799
|
+
teams?: TeamCreateNestedManyWithoutAdditionalDecksInput
|
|
14552
14800
|
}
|
|
14553
14801
|
|
|
14554
14802
|
export type PackUncheckedCreateWithoutPurchasesInput = {
|
|
@@ -14560,10 +14808,10 @@ export namespace Prisma {
|
|
|
14560
14808
|
categoryId?: string | null
|
|
14561
14809
|
published?: boolean
|
|
14562
14810
|
currentPrice: Decimal | DecimalJsLike | number | string
|
|
14563
|
-
public
|
|
14811
|
+
public?: boolean
|
|
14564
14812
|
cards?: CardUncheckedCreateNestedManyWithoutPackInput
|
|
14565
14813
|
users?: UserUncheckedCreateNestedManyWithoutPacksInput
|
|
14566
|
-
teams?:
|
|
14814
|
+
teams?: TeamUncheckedCreateNestedManyWithoutAdditionalDecksInput
|
|
14567
14815
|
}
|
|
14568
14816
|
|
|
14569
14817
|
export type PackCreateOrConnectWithoutPurchasesInput = {
|
|
@@ -14584,6 +14832,7 @@ export namespace Prisma {
|
|
|
14584
14832
|
packs?: PackUpdateManyWithoutUsersNestedInput
|
|
14585
14833
|
userCards?: UserCardUpdateManyWithoutUserNestedInput
|
|
14586
14834
|
answers?: AnswerUpdateManyWithoutUserNestedInput
|
|
14835
|
+
team?: TeamUpdateOneWithoutMembersNestedInput
|
|
14587
14836
|
}
|
|
14588
14837
|
|
|
14589
14838
|
export type UserUncheckedUpdateWithoutPurchasesInput = {
|
|
@@ -14594,6 +14843,7 @@ export namespace Prisma {
|
|
|
14594
14843
|
packs?: PackUncheckedUpdateManyWithoutUsersNestedInput
|
|
14595
14844
|
userCards?: UserCardUncheckedUpdateManyWithoutUserNestedInput
|
|
14596
14845
|
answers?: AnswerUncheckedUpdateManyWithoutUserNestedInput
|
|
14846
|
+
teamId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
14597
14847
|
}
|
|
14598
14848
|
|
|
14599
14849
|
export type PackUpsertWithoutPurchasesInput = {
|
|
@@ -14613,7 +14863,7 @@ export namespace Prisma {
|
|
|
14613
14863
|
public?: BoolFieldUpdateOperationsInput | boolean
|
|
14614
14864
|
cards?: CardUpdateManyWithoutPackNestedInput
|
|
14615
14865
|
users?: UserUpdateManyWithoutPacksNestedInput
|
|
14616
|
-
teams?:
|
|
14866
|
+
teams?: TeamUpdateManyWithoutAdditionalDecksNestedInput
|
|
14617
14867
|
}
|
|
14618
14868
|
|
|
14619
14869
|
export type PackUncheckedUpdateWithoutPurchasesInput = {
|
|
@@ -14628,7 +14878,7 @@ export namespace Prisma {
|
|
|
14628
14878
|
public?: BoolFieldUpdateOperationsInput | boolean
|
|
14629
14879
|
cards?: CardUncheckedUpdateManyWithoutPackNestedInput
|
|
14630
14880
|
users?: UserUncheckedUpdateManyWithoutPacksNestedInput
|
|
14631
|
-
teams?:
|
|
14881
|
+
teams?: TeamUncheckedUpdateManyWithoutAdditionalDecksNestedInput
|
|
14632
14882
|
}
|
|
14633
14883
|
|
|
14634
14884
|
export type UserCardCreateManyCardInput = {
|
|
@@ -14667,7 +14917,7 @@ export namespace Prisma {
|
|
|
14667
14917
|
longDescription?: string
|
|
14668
14918
|
published?: boolean
|
|
14669
14919
|
currentPrice: Decimal | DecimalJsLike | number | string
|
|
14670
|
-
public
|
|
14920
|
+
public?: boolean
|
|
14671
14921
|
}
|
|
14672
14922
|
|
|
14673
14923
|
export type PackUpdateWithoutCategoryInput = {
|
|
@@ -14682,7 +14932,7 @@ export namespace Prisma {
|
|
|
14682
14932
|
cards?: CardUpdateManyWithoutPackNestedInput
|
|
14683
14933
|
users?: UserUpdateManyWithoutPacksNestedInput
|
|
14684
14934
|
purchases?: PurchaseUpdateManyWithoutPackNestedInput
|
|
14685
|
-
teams?:
|
|
14935
|
+
teams?: TeamUpdateManyWithoutAdditionalDecksNestedInput
|
|
14686
14936
|
}
|
|
14687
14937
|
|
|
14688
14938
|
export type PackUncheckedUpdateWithoutCategoryInput = {
|
|
@@ -14697,7 +14947,7 @@ export namespace Prisma {
|
|
|
14697
14947
|
cards?: CardUncheckedUpdateManyWithoutPackNestedInput
|
|
14698
14948
|
users?: UserUncheckedUpdateManyWithoutPacksNestedInput
|
|
14699
14949
|
purchases?: PurchaseUncheckedUpdateManyWithoutPackNestedInput
|
|
14700
|
-
teams?:
|
|
14950
|
+
teams?: TeamUncheckedUpdateManyWithoutAdditionalDecksNestedInput
|
|
14701
14951
|
}
|
|
14702
14952
|
|
|
14703
14953
|
export type PackUncheckedUpdateManyWithoutPacksInput = {
|
|
@@ -14755,6 +15005,7 @@ export namespace Prisma {
|
|
|
14755
15005
|
purchases?: PurchaseUpdateManyWithoutUserNestedInput
|
|
14756
15006
|
userCards?: UserCardUpdateManyWithoutUserNestedInput
|
|
14757
15007
|
answers?: AnswerUpdateManyWithoutUserNestedInput
|
|
15008
|
+
team?: TeamUpdateOneWithoutMembersNestedInput
|
|
14758
15009
|
}
|
|
14759
15010
|
|
|
14760
15011
|
export type UserUncheckedUpdateWithoutPacksInput = {
|
|
@@ -14765,12 +15016,14 @@ export namespace Prisma {
|
|
|
14765
15016
|
purchases?: PurchaseUncheckedUpdateManyWithoutUserNestedInput
|
|
14766
15017
|
userCards?: UserCardUncheckedUpdateManyWithoutUserNestedInput
|
|
14767
15018
|
answers?: AnswerUncheckedUpdateManyWithoutUserNestedInput
|
|
15019
|
+
teamId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
14768
15020
|
}
|
|
14769
15021
|
|
|
14770
15022
|
export type UserUncheckedUpdateManyWithoutUsersInput = {
|
|
14771
15023
|
id?: StringFieldUpdateOperationsInput | string
|
|
14772
15024
|
email?: StringFieldUpdateOperationsInput | string
|
|
14773
15025
|
name?: StringFieldUpdateOperationsInput | string
|
|
15026
|
+
teamId?: NullableStringFieldUpdateOperationsInput | string | null
|
|
14774
15027
|
}
|
|
14775
15028
|
|
|
14776
15029
|
export type PurchaseUpdateWithoutPackInput = {
|
|
@@ -14803,16 +15056,20 @@ export namespace Prisma {
|
|
|
14803
15056
|
status?: EnumPurchaseStatusFieldUpdateOperationsInput | PurchaseStatus
|
|
14804
15057
|
}
|
|
14805
15058
|
|
|
14806
|
-
export type
|
|
15059
|
+
export type TeamUpdateWithoutAdditionalDecksInput = {
|
|
14807
15060
|
id?: StringFieldUpdateOperationsInput | string
|
|
14808
15061
|
name?: StringFieldUpdateOperationsInput | string
|
|
15062
|
+
emailPattern?: StringFieldUpdateOperationsInput | string
|
|
15063
|
+
members?: UserUpdateManyWithoutTeamNestedInput
|
|
14809
15064
|
userCount?: IntFieldUpdateOperationsInput | number
|
|
14810
15065
|
subscriptionExpire?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
14811
15066
|
}
|
|
14812
15067
|
|
|
14813
|
-
export type
|
|
15068
|
+
export type TeamUncheckedUpdateWithoutAdditionalDecksInput = {
|
|
14814
15069
|
id?: StringFieldUpdateOperationsInput | string
|
|
14815
15070
|
name?: StringFieldUpdateOperationsInput | string
|
|
15071
|
+
emailPattern?: StringFieldUpdateOperationsInput | string
|
|
15072
|
+
members?: UserUncheckedUpdateManyWithoutTeamNestedInput
|
|
14816
15073
|
userCount?: IntFieldUpdateOperationsInput | number
|
|
14817
15074
|
subscriptionExpire?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
14818
15075
|
}
|
|
@@ -14820,6 +15077,7 @@ export namespace Prisma {
|
|
|
14820
15077
|
export type TeamUncheckedUpdateManyWithoutTeamsInput = {
|
|
14821
15078
|
id?: StringFieldUpdateOperationsInput | string
|
|
14822
15079
|
name?: StringFieldUpdateOperationsInput | string
|
|
15080
|
+
emailPattern?: StringFieldUpdateOperationsInput | string
|
|
14823
15081
|
userCount?: IntFieldUpdateOperationsInput | number
|
|
14824
15082
|
subscriptionExpire?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
14825
15083
|
}
|
|
@@ -14880,7 +15138,7 @@ export namespace Prisma {
|
|
|
14880
15138
|
public?: BoolFieldUpdateOperationsInput | boolean
|
|
14881
15139
|
cards?: CardUpdateManyWithoutPackNestedInput
|
|
14882
15140
|
purchases?: PurchaseUpdateManyWithoutPackNestedInput
|
|
14883
|
-
teams?:
|
|
15141
|
+
teams?: TeamUpdateManyWithoutAdditionalDecksNestedInput
|
|
14884
15142
|
}
|
|
14885
15143
|
|
|
14886
15144
|
export type PackUncheckedUpdateWithoutUsersInput = {
|
|
@@ -14895,7 +15153,7 @@ export namespace Prisma {
|
|
|
14895
15153
|
public?: BoolFieldUpdateOperationsInput | boolean
|
|
14896
15154
|
cards?: CardUncheckedUpdateManyWithoutPackNestedInput
|
|
14897
15155
|
purchases?: PurchaseUncheckedUpdateManyWithoutPackNestedInput
|
|
14898
|
-
teams?:
|
|
15156
|
+
teams?: TeamUncheckedUpdateManyWithoutAdditionalDecksNestedInput
|
|
14899
15157
|
}
|
|
14900
15158
|
|
|
14901
15159
|
export type UserCardUpdateWithoutUserInput = {
|
|
@@ -14933,6 +15191,12 @@ export namespace Prisma {
|
|
|
14933
15191
|
timestamp?: StringFieldUpdateOperationsInput | string
|
|
14934
15192
|
}
|
|
14935
15193
|
|
|
15194
|
+
export type UserCreateManyTeamInput = {
|
|
15195
|
+
id?: string
|
|
15196
|
+
email: string
|
|
15197
|
+
name: string
|
|
15198
|
+
}
|
|
15199
|
+
|
|
14936
15200
|
export type PackUpdateWithoutTeamsInput = {
|
|
14937
15201
|
id?: StringFieldUpdateOperationsInput | string
|
|
14938
15202
|
teacher?: TeacherUpdateOneRequiredWithoutPacksNestedInput
|
|
@@ -14963,7 +15227,7 @@ export namespace Prisma {
|
|
|
14963
15227
|
purchases?: PurchaseUncheckedUpdateManyWithoutPackNestedInput
|
|
14964
15228
|
}
|
|
14965
15229
|
|
|
14966
|
-
export type
|
|
15230
|
+
export type PackUncheckedUpdateManyWithoutAdditionalDecksInput = {
|
|
14967
15231
|
id?: StringFieldUpdateOperationsInput | string
|
|
14968
15232
|
teacherId?: StringFieldUpdateOperationsInput | string
|
|
14969
15233
|
name?: StringFieldUpdateOperationsInput | string
|
|
@@ -14975,6 +15239,34 @@ export namespace Prisma {
|
|
|
14975
15239
|
public?: BoolFieldUpdateOperationsInput | boolean
|
|
14976
15240
|
}
|
|
14977
15241
|
|
|
15242
|
+
export type UserUpdateWithoutTeamInput = {
|
|
15243
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
15244
|
+
email?: StringFieldUpdateOperationsInput | string
|
|
15245
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
15246
|
+
googleUser?: GoogleUserUpdateOneWithoutUserNestedInput
|
|
15247
|
+
purchases?: PurchaseUpdateManyWithoutUserNestedInput
|
|
15248
|
+
packs?: PackUpdateManyWithoutUsersNestedInput
|
|
15249
|
+
userCards?: UserCardUpdateManyWithoutUserNestedInput
|
|
15250
|
+
answers?: AnswerUpdateManyWithoutUserNestedInput
|
|
15251
|
+
}
|
|
15252
|
+
|
|
15253
|
+
export type UserUncheckedUpdateWithoutTeamInput = {
|
|
15254
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
15255
|
+
email?: StringFieldUpdateOperationsInput | string
|
|
15256
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
15257
|
+
googleUser?: GoogleUserUncheckedUpdateOneWithoutUserNestedInput
|
|
15258
|
+
purchases?: PurchaseUncheckedUpdateManyWithoutUserNestedInput
|
|
15259
|
+
packs?: PackUncheckedUpdateManyWithoutUsersNestedInput
|
|
15260
|
+
userCards?: UserCardUncheckedUpdateManyWithoutUserNestedInput
|
|
15261
|
+
answers?: AnswerUncheckedUpdateManyWithoutUserNestedInput
|
|
15262
|
+
}
|
|
15263
|
+
|
|
15264
|
+
export type UserUncheckedUpdateManyWithoutMembersInput = {
|
|
15265
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
15266
|
+
email?: StringFieldUpdateOperationsInput | string
|
|
15267
|
+
name?: StringFieldUpdateOperationsInput | string
|
|
15268
|
+
}
|
|
15269
|
+
|
|
14978
15270
|
export type PackCreateManyTeacherInput = {
|
|
14979
15271
|
id?: string
|
|
14980
15272
|
name?: string
|
|
@@ -14983,7 +15275,7 @@ export namespace Prisma {
|
|
|
14983
15275
|
categoryId?: string | null
|
|
14984
15276
|
published?: boolean
|
|
14985
15277
|
currentPrice: Decimal | DecimalJsLike | number | string
|
|
14986
|
-
public
|
|
15278
|
+
public?: boolean
|
|
14987
15279
|
}
|
|
14988
15280
|
|
|
14989
15281
|
export type PackUpdateWithoutTeacherInput = {
|
|
@@ -14998,7 +15290,7 @@ export namespace Prisma {
|
|
|
14998
15290
|
cards?: CardUpdateManyWithoutPackNestedInput
|
|
14999
15291
|
users?: UserUpdateManyWithoutPacksNestedInput
|
|
15000
15292
|
purchases?: PurchaseUpdateManyWithoutPackNestedInput
|
|
15001
|
-
teams?:
|
|
15293
|
+
teams?: TeamUpdateManyWithoutAdditionalDecksNestedInput
|
|
15002
15294
|
}
|
|
15003
15295
|
|
|
15004
15296
|
export type PackUncheckedUpdateWithoutTeacherInput = {
|
|
@@ -15013,7 +15305,7 @@ export namespace Prisma {
|
|
|
15013
15305
|
cards?: CardUncheckedUpdateManyWithoutPackNestedInput
|
|
15014
15306
|
users?: UserUncheckedUpdateManyWithoutPacksNestedInput
|
|
15015
15307
|
purchases?: PurchaseUncheckedUpdateManyWithoutPackNestedInput
|
|
15016
|
-
teams?:
|
|
15308
|
+
teams?: TeamUncheckedUpdateManyWithoutAdditionalDecksNestedInput
|
|
15017
15309
|
}
|
|
15018
15310
|
|
|
15019
15311
|
|