@allbluecn/database 0.4.12 → 0.4.13
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/generated/browser.ts +15 -0
- package/generated/client.ts +15 -0
- package/generated/internal/class.ts +34 -4
- package/generated/internal/prismaNamespace.ts +274 -3
- package/generated/internal/prismaNamespaceBrowser.ts +48 -2
- package/generated/models/Notification.ts +1485 -0
- package/generated/models/NotificationPreference.ts +1289 -0
- package/generated/models/TeamInvitation.ts +257 -22
- package/generated/models/TeamJoinRequest.ts +1798 -0
- package/generated/models/User.ts +3505 -1125
- package/generated/models.ts +3 -0
- package/generated-sqlite/browser.ts +15 -0
- package/generated-sqlite/client.ts +15 -0
- package/generated-sqlite/internal/class.ts +34 -4
- package/generated-sqlite/internal/prismaNamespace.ts +274 -3
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +48 -2
- package/generated-sqlite/models/Notification.ts +1482 -0
- package/generated-sqlite/models/NotificationPreference.ts +1287 -0
- package/generated-sqlite/models/TeamInvitation.ts +257 -22
- package/generated-sqlite/models/TeamJoinRequest.ts +1793 -0
- package/generated-sqlite/models/User.ts +2578 -662
- package/generated-sqlite/models.ts +3 -0
- package/migrations/20260826162419_add_applicant_email/migration.sql +2 -0
- package/migrations/20260826170000_team_invitation_email_nullable_message/migration.sql +6 -0
- package/migrations/20260826180000_backfill_invitation_accepted_by/migration.sql +8 -0
- package/migrations/20260827044250_add_team_join_request/migration.sql +29 -0
- package/migrations/20260827102354_add_notifications/migration.sql +37 -0
- package/package.json +2 -2
- package/schema.prisma +67 -11
- package/schema.sqlite.prisma +66 -11
|
@@ -0,0 +1,1793 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
5
|
+
// @ts-nocheck
|
|
6
|
+
/*
|
|
7
|
+
* This file exports the `TeamJoinRequest` model and its related types.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
+
import type * as $Enums from "../enums"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model TeamJoinRequest
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type TeamJoinRequestModel = runtime.Types.Result.DefaultSelection<Prisma.$TeamJoinRequestPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateTeamJoinRequest = {
|
|
22
|
+
_count: TeamJoinRequestCountAggregateOutputType | null
|
|
23
|
+
_min: TeamJoinRequestMinAggregateOutputType | null
|
|
24
|
+
_max: TeamJoinRequestMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type TeamJoinRequestMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
invitationId: string | null
|
|
30
|
+
ownerId: string | null
|
|
31
|
+
userId: string | null
|
|
32
|
+
email: string | null
|
|
33
|
+
status: string | null
|
|
34
|
+
seatType: string | null
|
|
35
|
+
createdAt: Date | null
|
|
36
|
+
processedAt: Date | null
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export type TeamJoinRequestMaxAggregateOutputType = {
|
|
40
|
+
id: string | null
|
|
41
|
+
invitationId: string | null
|
|
42
|
+
ownerId: string | null
|
|
43
|
+
userId: string | null
|
|
44
|
+
email: string | null
|
|
45
|
+
status: string | null
|
|
46
|
+
seatType: string | null
|
|
47
|
+
createdAt: Date | null
|
|
48
|
+
processedAt: Date | null
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export type TeamJoinRequestCountAggregateOutputType = {
|
|
52
|
+
id: number
|
|
53
|
+
invitationId: number
|
|
54
|
+
ownerId: number
|
|
55
|
+
userId: number
|
|
56
|
+
email: number
|
|
57
|
+
status: number
|
|
58
|
+
seatType: number
|
|
59
|
+
createdAt: number
|
|
60
|
+
processedAt: number
|
|
61
|
+
_all: number
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
export type TeamJoinRequestMinAggregateInputType = {
|
|
66
|
+
id?: true
|
|
67
|
+
invitationId?: true
|
|
68
|
+
ownerId?: true
|
|
69
|
+
userId?: true
|
|
70
|
+
email?: true
|
|
71
|
+
status?: true
|
|
72
|
+
seatType?: true
|
|
73
|
+
createdAt?: true
|
|
74
|
+
processedAt?: true
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export type TeamJoinRequestMaxAggregateInputType = {
|
|
78
|
+
id?: true
|
|
79
|
+
invitationId?: true
|
|
80
|
+
ownerId?: true
|
|
81
|
+
userId?: true
|
|
82
|
+
email?: true
|
|
83
|
+
status?: true
|
|
84
|
+
seatType?: true
|
|
85
|
+
createdAt?: true
|
|
86
|
+
processedAt?: true
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export type TeamJoinRequestCountAggregateInputType = {
|
|
90
|
+
id?: true
|
|
91
|
+
invitationId?: true
|
|
92
|
+
ownerId?: true
|
|
93
|
+
userId?: true
|
|
94
|
+
email?: true
|
|
95
|
+
status?: true
|
|
96
|
+
seatType?: true
|
|
97
|
+
createdAt?: true
|
|
98
|
+
processedAt?: true
|
|
99
|
+
_all?: true
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export type TeamJoinRequestAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
103
|
+
/**
|
|
104
|
+
* Filter which TeamJoinRequest to aggregate.
|
|
105
|
+
*/
|
|
106
|
+
where?: Prisma.TeamJoinRequestWhereInput
|
|
107
|
+
/**
|
|
108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
109
|
+
*
|
|
110
|
+
* Determine the order of TeamJoinRequests to fetch.
|
|
111
|
+
*/
|
|
112
|
+
orderBy?: Prisma.TeamJoinRequestOrderByWithRelationInput | Prisma.TeamJoinRequestOrderByWithRelationInput[]
|
|
113
|
+
/**
|
|
114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
115
|
+
*
|
|
116
|
+
* Sets the start position
|
|
117
|
+
*/
|
|
118
|
+
cursor?: Prisma.TeamJoinRequestWhereUniqueInput
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
121
|
+
*
|
|
122
|
+
* Take `±n` TeamJoinRequests from the position of the cursor.
|
|
123
|
+
*/
|
|
124
|
+
take?: number
|
|
125
|
+
/**
|
|
126
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
127
|
+
*
|
|
128
|
+
* Skip the first `n` TeamJoinRequests.
|
|
129
|
+
*/
|
|
130
|
+
skip?: number
|
|
131
|
+
/**
|
|
132
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
133
|
+
*
|
|
134
|
+
* Count returned TeamJoinRequests
|
|
135
|
+
**/
|
|
136
|
+
_count?: true | TeamJoinRequestCountAggregateInputType
|
|
137
|
+
/**
|
|
138
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
139
|
+
*
|
|
140
|
+
* Select which fields to find the minimum value
|
|
141
|
+
**/
|
|
142
|
+
_min?: TeamJoinRequestMinAggregateInputType
|
|
143
|
+
/**
|
|
144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
145
|
+
*
|
|
146
|
+
* Select which fields to find the maximum value
|
|
147
|
+
**/
|
|
148
|
+
_max?: TeamJoinRequestMaxAggregateInputType
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export type GetTeamJoinRequestAggregateType<T extends TeamJoinRequestAggregateArgs> = {
|
|
152
|
+
[P in keyof T & keyof AggregateTeamJoinRequest]: P extends '_count' | 'count'
|
|
153
|
+
? T[P] extends true
|
|
154
|
+
? number
|
|
155
|
+
: Prisma.GetScalarType<T[P], AggregateTeamJoinRequest[P]>
|
|
156
|
+
: Prisma.GetScalarType<T[P], AggregateTeamJoinRequest[P]>
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
export type TeamJoinRequestGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
163
|
+
where?: Prisma.TeamJoinRequestWhereInput
|
|
164
|
+
orderBy?: Prisma.TeamJoinRequestOrderByWithAggregationInput | Prisma.TeamJoinRequestOrderByWithAggregationInput[]
|
|
165
|
+
by: Prisma.TeamJoinRequestScalarFieldEnum[] | Prisma.TeamJoinRequestScalarFieldEnum
|
|
166
|
+
having?: Prisma.TeamJoinRequestScalarWhereWithAggregatesInput
|
|
167
|
+
take?: number
|
|
168
|
+
skip?: number
|
|
169
|
+
_count?: TeamJoinRequestCountAggregateInputType | true
|
|
170
|
+
_min?: TeamJoinRequestMinAggregateInputType
|
|
171
|
+
_max?: TeamJoinRequestMaxAggregateInputType
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export type TeamJoinRequestGroupByOutputType = {
|
|
175
|
+
id: string
|
|
176
|
+
invitationId: string
|
|
177
|
+
ownerId: string
|
|
178
|
+
userId: string | null
|
|
179
|
+
email: string
|
|
180
|
+
status: string
|
|
181
|
+
seatType: string
|
|
182
|
+
createdAt: Date
|
|
183
|
+
processedAt: Date | null
|
|
184
|
+
_count: TeamJoinRequestCountAggregateOutputType | null
|
|
185
|
+
_min: TeamJoinRequestMinAggregateOutputType | null
|
|
186
|
+
_max: TeamJoinRequestMaxAggregateOutputType | null
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export type GetTeamJoinRequestGroupByPayload<T extends TeamJoinRequestGroupByArgs> = Prisma.PrismaPromise<
|
|
190
|
+
Array<
|
|
191
|
+
Prisma.PickEnumerable<TeamJoinRequestGroupByOutputType, T['by']> &
|
|
192
|
+
{
|
|
193
|
+
[P in ((keyof T) & (keyof TeamJoinRequestGroupByOutputType))]: P extends '_count'
|
|
194
|
+
? T[P] extends boolean
|
|
195
|
+
? number
|
|
196
|
+
: Prisma.GetScalarType<T[P], TeamJoinRequestGroupByOutputType[P]>
|
|
197
|
+
: Prisma.GetScalarType<T[P], TeamJoinRequestGroupByOutputType[P]>
|
|
198
|
+
}
|
|
199
|
+
>
|
|
200
|
+
>
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
export type TeamJoinRequestWhereInput = {
|
|
205
|
+
AND?: Prisma.TeamJoinRequestWhereInput | Prisma.TeamJoinRequestWhereInput[]
|
|
206
|
+
OR?: Prisma.TeamJoinRequestWhereInput[]
|
|
207
|
+
NOT?: Prisma.TeamJoinRequestWhereInput | Prisma.TeamJoinRequestWhereInput[]
|
|
208
|
+
id?: Prisma.StringFilter<"TeamJoinRequest"> | string
|
|
209
|
+
invitationId?: Prisma.StringFilter<"TeamJoinRequest"> | string
|
|
210
|
+
ownerId?: Prisma.StringFilter<"TeamJoinRequest"> | string
|
|
211
|
+
userId?: Prisma.StringNullableFilter<"TeamJoinRequest"> | string | null
|
|
212
|
+
email?: Prisma.StringFilter<"TeamJoinRequest"> | string
|
|
213
|
+
status?: Prisma.StringFilter<"TeamJoinRequest"> | string
|
|
214
|
+
seatType?: Prisma.StringFilter<"TeamJoinRequest"> | string
|
|
215
|
+
createdAt?: Prisma.DateTimeFilter<"TeamJoinRequest"> | Date | string
|
|
216
|
+
processedAt?: Prisma.DateTimeNullableFilter<"TeamJoinRequest"> | Date | string | null
|
|
217
|
+
invitation?: Prisma.XOR<Prisma.TeamInvitationScalarRelationFilter, Prisma.TeamInvitationWhereInput>
|
|
218
|
+
owner?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
219
|
+
applicant?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
export type TeamJoinRequestOrderByWithRelationInput = {
|
|
223
|
+
id?: Prisma.SortOrder
|
|
224
|
+
invitationId?: Prisma.SortOrder
|
|
225
|
+
ownerId?: Prisma.SortOrder
|
|
226
|
+
userId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
227
|
+
email?: Prisma.SortOrder
|
|
228
|
+
status?: Prisma.SortOrder
|
|
229
|
+
seatType?: Prisma.SortOrder
|
|
230
|
+
createdAt?: Prisma.SortOrder
|
|
231
|
+
processedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
232
|
+
invitation?: Prisma.TeamInvitationOrderByWithRelationInput
|
|
233
|
+
owner?: Prisma.UserOrderByWithRelationInput
|
|
234
|
+
applicant?: Prisma.UserOrderByWithRelationInput
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
export type TeamJoinRequestWhereUniqueInput = Prisma.AtLeast<{
|
|
238
|
+
id?: string
|
|
239
|
+
invitationId_email?: Prisma.TeamJoinRequestInvitationIdEmailCompoundUniqueInput
|
|
240
|
+
AND?: Prisma.TeamJoinRequestWhereInput | Prisma.TeamJoinRequestWhereInput[]
|
|
241
|
+
OR?: Prisma.TeamJoinRequestWhereInput[]
|
|
242
|
+
NOT?: Prisma.TeamJoinRequestWhereInput | Prisma.TeamJoinRequestWhereInput[]
|
|
243
|
+
invitationId?: Prisma.StringFilter<"TeamJoinRequest"> | string
|
|
244
|
+
ownerId?: Prisma.StringFilter<"TeamJoinRequest"> | string
|
|
245
|
+
userId?: Prisma.StringNullableFilter<"TeamJoinRequest"> | string | null
|
|
246
|
+
email?: Prisma.StringFilter<"TeamJoinRequest"> | string
|
|
247
|
+
status?: Prisma.StringFilter<"TeamJoinRequest"> | string
|
|
248
|
+
seatType?: Prisma.StringFilter<"TeamJoinRequest"> | string
|
|
249
|
+
createdAt?: Prisma.DateTimeFilter<"TeamJoinRequest"> | Date | string
|
|
250
|
+
processedAt?: Prisma.DateTimeNullableFilter<"TeamJoinRequest"> | Date | string | null
|
|
251
|
+
invitation?: Prisma.XOR<Prisma.TeamInvitationScalarRelationFilter, Prisma.TeamInvitationWhereInput>
|
|
252
|
+
owner?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
253
|
+
applicant?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
254
|
+
}, "id" | "invitationId_email">
|
|
255
|
+
|
|
256
|
+
export type TeamJoinRequestOrderByWithAggregationInput = {
|
|
257
|
+
id?: Prisma.SortOrder
|
|
258
|
+
invitationId?: Prisma.SortOrder
|
|
259
|
+
ownerId?: Prisma.SortOrder
|
|
260
|
+
userId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
261
|
+
email?: Prisma.SortOrder
|
|
262
|
+
status?: Prisma.SortOrder
|
|
263
|
+
seatType?: Prisma.SortOrder
|
|
264
|
+
createdAt?: Prisma.SortOrder
|
|
265
|
+
processedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
266
|
+
_count?: Prisma.TeamJoinRequestCountOrderByAggregateInput
|
|
267
|
+
_max?: Prisma.TeamJoinRequestMaxOrderByAggregateInput
|
|
268
|
+
_min?: Prisma.TeamJoinRequestMinOrderByAggregateInput
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
export type TeamJoinRequestScalarWhereWithAggregatesInput = {
|
|
272
|
+
AND?: Prisma.TeamJoinRequestScalarWhereWithAggregatesInput | Prisma.TeamJoinRequestScalarWhereWithAggregatesInput[]
|
|
273
|
+
OR?: Prisma.TeamJoinRequestScalarWhereWithAggregatesInput[]
|
|
274
|
+
NOT?: Prisma.TeamJoinRequestScalarWhereWithAggregatesInput | Prisma.TeamJoinRequestScalarWhereWithAggregatesInput[]
|
|
275
|
+
id?: Prisma.StringWithAggregatesFilter<"TeamJoinRequest"> | string
|
|
276
|
+
invitationId?: Prisma.StringWithAggregatesFilter<"TeamJoinRequest"> | string
|
|
277
|
+
ownerId?: Prisma.StringWithAggregatesFilter<"TeamJoinRequest"> | string
|
|
278
|
+
userId?: Prisma.StringNullableWithAggregatesFilter<"TeamJoinRequest"> | string | null
|
|
279
|
+
email?: Prisma.StringWithAggregatesFilter<"TeamJoinRequest"> | string
|
|
280
|
+
status?: Prisma.StringWithAggregatesFilter<"TeamJoinRequest"> | string
|
|
281
|
+
seatType?: Prisma.StringWithAggregatesFilter<"TeamJoinRequest"> | string
|
|
282
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"TeamJoinRequest"> | Date | string
|
|
283
|
+
processedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"TeamJoinRequest"> | Date | string | null
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
export type TeamJoinRequestCreateInput = {
|
|
287
|
+
id?: string
|
|
288
|
+
email: string
|
|
289
|
+
status?: string
|
|
290
|
+
seatType?: string
|
|
291
|
+
createdAt?: Date | string
|
|
292
|
+
processedAt?: Date | string | null
|
|
293
|
+
invitation: Prisma.TeamInvitationCreateNestedOneWithoutJoinRequestsInput
|
|
294
|
+
owner: Prisma.UserCreateNestedOneWithoutOwnedJoinRequestsInput
|
|
295
|
+
applicant?: Prisma.UserCreateNestedOneWithoutApplicantJoinRequestsInput
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
export type TeamJoinRequestUncheckedCreateInput = {
|
|
299
|
+
id?: string
|
|
300
|
+
invitationId: string
|
|
301
|
+
ownerId: string
|
|
302
|
+
userId?: string | null
|
|
303
|
+
email: string
|
|
304
|
+
status?: string
|
|
305
|
+
seatType?: string
|
|
306
|
+
createdAt?: Date | string
|
|
307
|
+
processedAt?: Date | string | null
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
export type TeamJoinRequestUpdateInput = {
|
|
311
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
312
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
313
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
314
|
+
seatType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
315
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
316
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
317
|
+
invitation?: Prisma.TeamInvitationUpdateOneRequiredWithoutJoinRequestsNestedInput
|
|
318
|
+
owner?: Prisma.UserUpdateOneRequiredWithoutOwnedJoinRequestsNestedInput
|
|
319
|
+
applicant?: Prisma.UserUpdateOneWithoutApplicantJoinRequestsNestedInput
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
export type TeamJoinRequestUncheckedUpdateInput = {
|
|
323
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
324
|
+
invitationId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
325
|
+
ownerId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
326
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
327
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
328
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
329
|
+
seatType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
330
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
331
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
export type TeamJoinRequestCreateManyInput = {
|
|
335
|
+
id?: string
|
|
336
|
+
invitationId: string
|
|
337
|
+
ownerId: string
|
|
338
|
+
userId?: string | null
|
|
339
|
+
email: string
|
|
340
|
+
status?: string
|
|
341
|
+
seatType?: string
|
|
342
|
+
createdAt?: Date | string
|
|
343
|
+
processedAt?: Date | string | null
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
export type TeamJoinRequestUpdateManyMutationInput = {
|
|
347
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
348
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
349
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
350
|
+
seatType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
351
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
352
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
export type TeamJoinRequestUncheckedUpdateManyInput = {
|
|
356
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
357
|
+
invitationId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
358
|
+
ownerId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
359
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
360
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
361
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
362
|
+
seatType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
363
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
364
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
export type TeamJoinRequestListRelationFilter = {
|
|
368
|
+
every?: Prisma.TeamJoinRequestWhereInput
|
|
369
|
+
some?: Prisma.TeamJoinRequestWhereInput
|
|
370
|
+
none?: Prisma.TeamJoinRequestWhereInput
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
export type TeamJoinRequestOrderByRelationAggregateInput = {
|
|
374
|
+
_count?: Prisma.SortOrder
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
export type TeamJoinRequestInvitationIdEmailCompoundUniqueInput = {
|
|
378
|
+
invitationId: string
|
|
379
|
+
email: string
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
export type TeamJoinRequestCountOrderByAggregateInput = {
|
|
383
|
+
id?: Prisma.SortOrder
|
|
384
|
+
invitationId?: Prisma.SortOrder
|
|
385
|
+
ownerId?: Prisma.SortOrder
|
|
386
|
+
userId?: Prisma.SortOrder
|
|
387
|
+
email?: Prisma.SortOrder
|
|
388
|
+
status?: Prisma.SortOrder
|
|
389
|
+
seatType?: Prisma.SortOrder
|
|
390
|
+
createdAt?: Prisma.SortOrder
|
|
391
|
+
processedAt?: Prisma.SortOrder
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
export type TeamJoinRequestMaxOrderByAggregateInput = {
|
|
395
|
+
id?: Prisma.SortOrder
|
|
396
|
+
invitationId?: Prisma.SortOrder
|
|
397
|
+
ownerId?: Prisma.SortOrder
|
|
398
|
+
userId?: Prisma.SortOrder
|
|
399
|
+
email?: Prisma.SortOrder
|
|
400
|
+
status?: Prisma.SortOrder
|
|
401
|
+
seatType?: Prisma.SortOrder
|
|
402
|
+
createdAt?: Prisma.SortOrder
|
|
403
|
+
processedAt?: Prisma.SortOrder
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
export type TeamJoinRequestMinOrderByAggregateInput = {
|
|
407
|
+
id?: Prisma.SortOrder
|
|
408
|
+
invitationId?: Prisma.SortOrder
|
|
409
|
+
ownerId?: Prisma.SortOrder
|
|
410
|
+
userId?: Prisma.SortOrder
|
|
411
|
+
email?: Prisma.SortOrder
|
|
412
|
+
status?: Prisma.SortOrder
|
|
413
|
+
seatType?: Prisma.SortOrder
|
|
414
|
+
createdAt?: Prisma.SortOrder
|
|
415
|
+
processedAt?: Prisma.SortOrder
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
export type TeamJoinRequestCreateNestedManyWithoutOwnerInput = {
|
|
419
|
+
create?: Prisma.XOR<Prisma.TeamJoinRequestCreateWithoutOwnerInput, Prisma.TeamJoinRequestUncheckedCreateWithoutOwnerInput> | Prisma.TeamJoinRequestCreateWithoutOwnerInput[] | Prisma.TeamJoinRequestUncheckedCreateWithoutOwnerInput[]
|
|
420
|
+
connectOrCreate?: Prisma.TeamJoinRequestCreateOrConnectWithoutOwnerInput | Prisma.TeamJoinRequestCreateOrConnectWithoutOwnerInput[]
|
|
421
|
+
createMany?: Prisma.TeamJoinRequestCreateManyOwnerInputEnvelope
|
|
422
|
+
connect?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
export type TeamJoinRequestCreateNestedManyWithoutApplicantInput = {
|
|
426
|
+
create?: Prisma.XOR<Prisma.TeamJoinRequestCreateWithoutApplicantInput, Prisma.TeamJoinRequestUncheckedCreateWithoutApplicantInput> | Prisma.TeamJoinRequestCreateWithoutApplicantInput[] | Prisma.TeamJoinRequestUncheckedCreateWithoutApplicantInput[]
|
|
427
|
+
connectOrCreate?: Prisma.TeamJoinRequestCreateOrConnectWithoutApplicantInput | Prisma.TeamJoinRequestCreateOrConnectWithoutApplicantInput[]
|
|
428
|
+
createMany?: Prisma.TeamJoinRequestCreateManyApplicantInputEnvelope
|
|
429
|
+
connect?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
export type TeamJoinRequestUncheckedCreateNestedManyWithoutOwnerInput = {
|
|
433
|
+
create?: Prisma.XOR<Prisma.TeamJoinRequestCreateWithoutOwnerInput, Prisma.TeamJoinRequestUncheckedCreateWithoutOwnerInput> | Prisma.TeamJoinRequestCreateWithoutOwnerInput[] | Prisma.TeamJoinRequestUncheckedCreateWithoutOwnerInput[]
|
|
434
|
+
connectOrCreate?: Prisma.TeamJoinRequestCreateOrConnectWithoutOwnerInput | Prisma.TeamJoinRequestCreateOrConnectWithoutOwnerInput[]
|
|
435
|
+
createMany?: Prisma.TeamJoinRequestCreateManyOwnerInputEnvelope
|
|
436
|
+
connect?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
export type TeamJoinRequestUncheckedCreateNestedManyWithoutApplicantInput = {
|
|
440
|
+
create?: Prisma.XOR<Prisma.TeamJoinRequestCreateWithoutApplicantInput, Prisma.TeamJoinRequestUncheckedCreateWithoutApplicantInput> | Prisma.TeamJoinRequestCreateWithoutApplicantInput[] | Prisma.TeamJoinRequestUncheckedCreateWithoutApplicantInput[]
|
|
441
|
+
connectOrCreate?: Prisma.TeamJoinRequestCreateOrConnectWithoutApplicantInput | Prisma.TeamJoinRequestCreateOrConnectWithoutApplicantInput[]
|
|
442
|
+
createMany?: Prisma.TeamJoinRequestCreateManyApplicantInputEnvelope
|
|
443
|
+
connect?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
export type TeamJoinRequestUpdateManyWithoutOwnerNestedInput = {
|
|
447
|
+
create?: Prisma.XOR<Prisma.TeamJoinRequestCreateWithoutOwnerInput, Prisma.TeamJoinRequestUncheckedCreateWithoutOwnerInput> | Prisma.TeamJoinRequestCreateWithoutOwnerInput[] | Prisma.TeamJoinRequestUncheckedCreateWithoutOwnerInput[]
|
|
448
|
+
connectOrCreate?: Prisma.TeamJoinRequestCreateOrConnectWithoutOwnerInput | Prisma.TeamJoinRequestCreateOrConnectWithoutOwnerInput[]
|
|
449
|
+
upsert?: Prisma.TeamJoinRequestUpsertWithWhereUniqueWithoutOwnerInput | Prisma.TeamJoinRequestUpsertWithWhereUniqueWithoutOwnerInput[]
|
|
450
|
+
createMany?: Prisma.TeamJoinRequestCreateManyOwnerInputEnvelope
|
|
451
|
+
set?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
452
|
+
disconnect?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
453
|
+
delete?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
454
|
+
connect?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
455
|
+
update?: Prisma.TeamJoinRequestUpdateWithWhereUniqueWithoutOwnerInput | Prisma.TeamJoinRequestUpdateWithWhereUniqueWithoutOwnerInput[]
|
|
456
|
+
updateMany?: Prisma.TeamJoinRequestUpdateManyWithWhereWithoutOwnerInput | Prisma.TeamJoinRequestUpdateManyWithWhereWithoutOwnerInput[]
|
|
457
|
+
deleteMany?: Prisma.TeamJoinRequestScalarWhereInput | Prisma.TeamJoinRequestScalarWhereInput[]
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
export type TeamJoinRequestUpdateManyWithoutApplicantNestedInput = {
|
|
461
|
+
create?: Prisma.XOR<Prisma.TeamJoinRequestCreateWithoutApplicantInput, Prisma.TeamJoinRequestUncheckedCreateWithoutApplicantInput> | Prisma.TeamJoinRequestCreateWithoutApplicantInput[] | Prisma.TeamJoinRequestUncheckedCreateWithoutApplicantInput[]
|
|
462
|
+
connectOrCreate?: Prisma.TeamJoinRequestCreateOrConnectWithoutApplicantInput | Prisma.TeamJoinRequestCreateOrConnectWithoutApplicantInput[]
|
|
463
|
+
upsert?: Prisma.TeamJoinRequestUpsertWithWhereUniqueWithoutApplicantInput | Prisma.TeamJoinRequestUpsertWithWhereUniqueWithoutApplicantInput[]
|
|
464
|
+
createMany?: Prisma.TeamJoinRequestCreateManyApplicantInputEnvelope
|
|
465
|
+
set?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
466
|
+
disconnect?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
467
|
+
delete?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
468
|
+
connect?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
469
|
+
update?: Prisma.TeamJoinRequestUpdateWithWhereUniqueWithoutApplicantInput | Prisma.TeamJoinRequestUpdateWithWhereUniqueWithoutApplicantInput[]
|
|
470
|
+
updateMany?: Prisma.TeamJoinRequestUpdateManyWithWhereWithoutApplicantInput | Prisma.TeamJoinRequestUpdateManyWithWhereWithoutApplicantInput[]
|
|
471
|
+
deleteMany?: Prisma.TeamJoinRequestScalarWhereInput | Prisma.TeamJoinRequestScalarWhereInput[]
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
export type TeamJoinRequestUncheckedUpdateManyWithoutOwnerNestedInput = {
|
|
475
|
+
create?: Prisma.XOR<Prisma.TeamJoinRequestCreateWithoutOwnerInput, Prisma.TeamJoinRequestUncheckedCreateWithoutOwnerInput> | Prisma.TeamJoinRequestCreateWithoutOwnerInput[] | Prisma.TeamJoinRequestUncheckedCreateWithoutOwnerInput[]
|
|
476
|
+
connectOrCreate?: Prisma.TeamJoinRequestCreateOrConnectWithoutOwnerInput | Prisma.TeamJoinRequestCreateOrConnectWithoutOwnerInput[]
|
|
477
|
+
upsert?: Prisma.TeamJoinRequestUpsertWithWhereUniqueWithoutOwnerInput | Prisma.TeamJoinRequestUpsertWithWhereUniqueWithoutOwnerInput[]
|
|
478
|
+
createMany?: Prisma.TeamJoinRequestCreateManyOwnerInputEnvelope
|
|
479
|
+
set?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
480
|
+
disconnect?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
481
|
+
delete?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
482
|
+
connect?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
483
|
+
update?: Prisma.TeamJoinRequestUpdateWithWhereUniqueWithoutOwnerInput | Prisma.TeamJoinRequestUpdateWithWhereUniqueWithoutOwnerInput[]
|
|
484
|
+
updateMany?: Prisma.TeamJoinRequestUpdateManyWithWhereWithoutOwnerInput | Prisma.TeamJoinRequestUpdateManyWithWhereWithoutOwnerInput[]
|
|
485
|
+
deleteMany?: Prisma.TeamJoinRequestScalarWhereInput | Prisma.TeamJoinRequestScalarWhereInput[]
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
export type TeamJoinRequestUncheckedUpdateManyWithoutApplicantNestedInput = {
|
|
489
|
+
create?: Prisma.XOR<Prisma.TeamJoinRequestCreateWithoutApplicantInput, Prisma.TeamJoinRequestUncheckedCreateWithoutApplicantInput> | Prisma.TeamJoinRequestCreateWithoutApplicantInput[] | Prisma.TeamJoinRequestUncheckedCreateWithoutApplicantInput[]
|
|
490
|
+
connectOrCreate?: Prisma.TeamJoinRequestCreateOrConnectWithoutApplicantInput | Prisma.TeamJoinRequestCreateOrConnectWithoutApplicantInput[]
|
|
491
|
+
upsert?: Prisma.TeamJoinRequestUpsertWithWhereUniqueWithoutApplicantInput | Prisma.TeamJoinRequestUpsertWithWhereUniqueWithoutApplicantInput[]
|
|
492
|
+
createMany?: Prisma.TeamJoinRequestCreateManyApplicantInputEnvelope
|
|
493
|
+
set?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
494
|
+
disconnect?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
495
|
+
delete?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
496
|
+
connect?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
497
|
+
update?: Prisma.TeamJoinRequestUpdateWithWhereUniqueWithoutApplicantInput | Prisma.TeamJoinRequestUpdateWithWhereUniqueWithoutApplicantInput[]
|
|
498
|
+
updateMany?: Prisma.TeamJoinRequestUpdateManyWithWhereWithoutApplicantInput | Prisma.TeamJoinRequestUpdateManyWithWhereWithoutApplicantInput[]
|
|
499
|
+
deleteMany?: Prisma.TeamJoinRequestScalarWhereInput | Prisma.TeamJoinRequestScalarWhereInput[]
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
export type TeamJoinRequestCreateNestedManyWithoutInvitationInput = {
|
|
503
|
+
create?: Prisma.XOR<Prisma.TeamJoinRequestCreateWithoutInvitationInput, Prisma.TeamJoinRequestUncheckedCreateWithoutInvitationInput> | Prisma.TeamJoinRequestCreateWithoutInvitationInput[] | Prisma.TeamJoinRequestUncheckedCreateWithoutInvitationInput[]
|
|
504
|
+
connectOrCreate?: Prisma.TeamJoinRequestCreateOrConnectWithoutInvitationInput | Prisma.TeamJoinRequestCreateOrConnectWithoutInvitationInput[]
|
|
505
|
+
createMany?: Prisma.TeamJoinRequestCreateManyInvitationInputEnvelope
|
|
506
|
+
connect?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
export type TeamJoinRequestUncheckedCreateNestedManyWithoutInvitationInput = {
|
|
510
|
+
create?: Prisma.XOR<Prisma.TeamJoinRequestCreateWithoutInvitationInput, Prisma.TeamJoinRequestUncheckedCreateWithoutInvitationInput> | Prisma.TeamJoinRequestCreateWithoutInvitationInput[] | Prisma.TeamJoinRequestUncheckedCreateWithoutInvitationInput[]
|
|
511
|
+
connectOrCreate?: Prisma.TeamJoinRequestCreateOrConnectWithoutInvitationInput | Prisma.TeamJoinRequestCreateOrConnectWithoutInvitationInput[]
|
|
512
|
+
createMany?: Prisma.TeamJoinRequestCreateManyInvitationInputEnvelope
|
|
513
|
+
connect?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
export type TeamJoinRequestUpdateManyWithoutInvitationNestedInput = {
|
|
517
|
+
create?: Prisma.XOR<Prisma.TeamJoinRequestCreateWithoutInvitationInput, Prisma.TeamJoinRequestUncheckedCreateWithoutInvitationInput> | Prisma.TeamJoinRequestCreateWithoutInvitationInput[] | Prisma.TeamJoinRequestUncheckedCreateWithoutInvitationInput[]
|
|
518
|
+
connectOrCreate?: Prisma.TeamJoinRequestCreateOrConnectWithoutInvitationInput | Prisma.TeamJoinRequestCreateOrConnectWithoutInvitationInput[]
|
|
519
|
+
upsert?: Prisma.TeamJoinRequestUpsertWithWhereUniqueWithoutInvitationInput | Prisma.TeamJoinRequestUpsertWithWhereUniqueWithoutInvitationInput[]
|
|
520
|
+
createMany?: Prisma.TeamJoinRequestCreateManyInvitationInputEnvelope
|
|
521
|
+
set?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
522
|
+
disconnect?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
523
|
+
delete?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
524
|
+
connect?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
525
|
+
update?: Prisma.TeamJoinRequestUpdateWithWhereUniqueWithoutInvitationInput | Prisma.TeamJoinRequestUpdateWithWhereUniqueWithoutInvitationInput[]
|
|
526
|
+
updateMany?: Prisma.TeamJoinRequestUpdateManyWithWhereWithoutInvitationInput | Prisma.TeamJoinRequestUpdateManyWithWhereWithoutInvitationInput[]
|
|
527
|
+
deleteMany?: Prisma.TeamJoinRequestScalarWhereInput | Prisma.TeamJoinRequestScalarWhereInput[]
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
export type TeamJoinRequestUncheckedUpdateManyWithoutInvitationNestedInput = {
|
|
531
|
+
create?: Prisma.XOR<Prisma.TeamJoinRequestCreateWithoutInvitationInput, Prisma.TeamJoinRequestUncheckedCreateWithoutInvitationInput> | Prisma.TeamJoinRequestCreateWithoutInvitationInput[] | Prisma.TeamJoinRequestUncheckedCreateWithoutInvitationInput[]
|
|
532
|
+
connectOrCreate?: Prisma.TeamJoinRequestCreateOrConnectWithoutInvitationInput | Prisma.TeamJoinRequestCreateOrConnectWithoutInvitationInput[]
|
|
533
|
+
upsert?: Prisma.TeamJoinRequestUpsertWithWhereUniqueWithoutInvitationInput | Prisma.TeamJoinRequestUpsertWithWhereUniqueWithoutInvitationInput[]
|
|
534
|
+
createMany?: Prisma.TeamJoinRequestCreateManyInvitationInputEnvelope
|
|
535
|
+
set?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
536
|
+
disconnect?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
537
|
+
delete?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
538
|
+
connect?: Prisma.TeamJoinRequestWhereUniqueInput | Prisma.TeamJoinRequestWhereUniqueInput[]
|
|
539
|
+
update?: Prisma.TeamJoinRequestUpdateWithWhereUniqueWithoutInvitationInput | Prisma.TeamJoinRequestUpdateWithWhereUniqueWithoutInvitationInput[]
|
|
540
|
+
updateMany?: Prisma.TeamJoinRequestUpdateManyWithWhereWithoutInvitationInput | Prisma.TeamJoinRequestUpdateManyWithWhereWithoutInvitationInput[]
|
|
541
|
+
deleteMany?: Prisma.TeamJoinRequestScalarWhereInput | Prisma.TeamJoinRequestScalarWhereInput[]
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
export type TeamJoinRequestCreateWithoutOwnerInput = {
|
|
545
|
+
id?: string
|
|
546
|
+
email: string
|
|
547
|
+
status?: string
|
|
548
|
+
seatType?: string
|
|
549
|
+
createdAt?: Date | string
|
|
550
|
+
processedAt?: Date | string | null
|
|
551
|
+
invitation: Prisma.TeamInvitationCreateNestedOneWithoutJoinRequestsInput
|
|
552
|
+
applicant?: Prisma.UserCreateNestedOneWithoutApplicantJoinRequestsInput
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
export type TeamJoinRequestUncheckedCreateWithoutOwnerInput = {
|
|
556
|
+
id?: string
|
|
557
|
+
invitationId: string
|
|
558
|
+
userId?: string | null
|
|
559
|
+
email: string
|
|
560
|
+
status?: string
|
|
561
|
+
seatType?: string
|
|
562
|
+
createdAt?: Date | string
|
|
563
|
+
processedAt?: Date | string | null
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
export type TeamJoinRequestCreateOrConnectWithoutOwnerInput = {
|
|
567
|
+
where: Prisma.TeamJoinRequestWhereUniqueInput
|
|
568
|
+
create: Prisma.XOR<Prisma.TeamJoinRequestCreateWithoutOwnerInput, Prisma.TeamJoinRequestUncheckedCreateWithoutOwnerInput>
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
export type TeamJoinRequestCreateManyOwnerInputEnvelope = {
|
|
572
|
+
data: Prisma.TeamJoinRequestCreateManyOwnerInput | Prisma.TeamJoinRequestCreateManyOwnerInput[]
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
export type TeamJoinRequestCreateWithoutApplicantInput = {
|
|
576
|
+
id?: string
|
|
577
|
+
email: string
|
|
578
|
+
status?: string
|
|
579
|
+
seatType?: string
|
|
580
|
+
createdAt?: Date | string
|
|
581
|
+
processedAt?: Date | string | null
|
|
582
|
+
invitation: Prisma.TeamInvitationCreateNestedOneWithoutJoinRequestsInput
|
|
583
|
+
owner: Prisma.UserCreateNestedOneWithoutOwnedJoinRequestsInput
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
export type TeamJoinRequestUncheckedCreateWithoutApplicantInput = {
|
|
587
|
+
id?: string
|
|
588
|
+
invitationId: string
|
|
589
|
+
ownerId: string
|
|
590
|
+
email: string
|
|
591
|
+
status?: string
|
|
592
|
+
seatType?: string
|
|
593
|
+
createdAt?: Date | string
|
|
594
|
+
processedAt?: Date | string | null
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
export type TeamJoinRequestCreateOrConnectWithoutApplicantInput = {
|
|
598
|
+
where: Prisma.TeamJoinRequestWhereUniqueInput
|
|
599
|
+
create: Prisma.XOR<Prisma.TeamJoinRequestCreateWithoutApplicantInput, Prisma.TeamJoinRequestUncheckedCreateWithoutApplicantInput>
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
export type TeamJoinRequestCreateManyApplicantInputEnvelope = {
|
|
603
|
+
data: Prisma.TeamJoinRequestCreateManyApplicantInput | Prisma.TeamJoinRequestCreateManyApplicantInput[]
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
export type TeamJoinRequestUpsertWithWhereUniqueWithoutOwnerInput = {
|
|
607
|
+
where: Prisma.TeamJoinRequestWhereUniqueInput
|
|
608
|
+
update: Prisma.XOR<Prisma.TeamJoinRequestUpdateWithoutOwnerInput, Prisma.TeamJoinRequestUncheckedUpdateWithoutOwnerInput>
|
|
609
|
+
create: Prisma.XOR<Prisma.TeamJoinRequestCreateWithoutOwnerInput, Prisma.TeamJoinRequestUncheckedCreateWithoutOwnerInput>
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
export type TeamJoinRequestUpdateWithWhereUniqueWithoutOwnerInput = {
|
|
613
|
+
where: Prisma.TeamJoinRequestWhereUniqueInput
|
|
614
|
+
data: Prisma.XOR<Prisma.TeamJoinRequestUpdateWithoutOwnerInput, Prisma.TeamJoinRequestUncheckedUpdateWithoutOwnerInput>
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
export type TeamJoinRequestUpdateManyWithWhereWithoutOwnerInput = {
|
|
618
|
+
where: Prisma.TeamJoinRequestScalarWhereInput
|
|
619
|
+
data: Prisma.XOR<Prisma.TeamJoinRequestUpdateManyMutationInput, Prisma.TeamJoinRequestUncheckedUpdateManyWithoutOwnerInput>
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
export type TeamJoinRequestScalarWhereInput = {
|
|
623
|
+
AND?: Prisma.TeamJoinRequestScalarWhereInput | Prisma.TeamJoinRequestScalarWhereInput[]
|
|
624
|
+
OR?: Prisma.TeamJoinRequestScalarWhereInput[]
|
|
625
|
+
NOT?: Prisma.TeamJoinRequestScalarWhereInput | Prisma.TeamJoinRequestScalarWhereInput[]
|
|
626
|
+
id?: Prisma.StringFilter<"TeamJoinRequest"> | string
|
|
627
|
+
invitationId?: Prisma.StringFilter<"TeamJoinRequest"> | string
|
|
628
|
+
ownerId?: Prisma.StringFilter<"TeamJoinRequest"> | string
|
|
629
|
+
userId?: Prisma.StringNullableFilter<"TeamJoinRequest"> | string | null
|
|
630
|
+
email?: Prisma.StringFilter<"TeamJoinRequest"> | string
|
|
631
|
+
status?: Prisma.StringFilter<"TeamJoinRequest"> | string
|
|
632
|
+
seatType?: Prisma.StringFilter<"TeamJoinRequest"> | string
|
|
633
|
+
createdAt?: Prisma.DateTimeFilter<"TeamJoinRequest"> | Date | string
|
|
634
|
+
processedAt?: Prisma.DateTimeNullableFilter<"TeamJoinRequest"> | Date | string | null
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
export type TeamJoinRequestUpsertWithWhereUniqueWithoutApplicantInput = {
|
|
638
|
+
where: Prisma.TeamJoinRequestWhereUniqueInput
|
|
639
|
+
update: Prisma.XOR<Prisma.TeamJoinRequestUpdateWithoutApplicantInput, Prisma.TeamJoinRequestUncheckedUpdateWithoutApplicantInput>
|
|
640
|
+
create: Prisma.XOR<Prisma.TeamJoinRequestCreateWithoutApplicantInput, Prisma.TeamJoinRequestUncheckedCreateWithoutApplicantInput>
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
export type TeamJoinRequestUpdateWithWhereUniqueWithoutApplicantInput = {
|
|
644
|
+
where: Prisma.TeamJoinRequestWhereUniqueInput
|
|
645
|
+
data: Prisma.XOR<Prisma.TeamJoinRequestUpdateWithoutApplicantInput, Prisma.TeamJoinRequestUncheckedUpdateWithoutApplicantInput>
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
export type TeamJoinRequestUpdateManyWithWhereWithoutApplicantInput = {
|
|
649
|
+
where: Prisma.TeamJoinRequestScalarWhereInput
|
|
650
|
+
data: Prisma.XOR<Prisma.TeamJoinRequestUpdateManyMutationInput, Prisma.TeamJoinRequestUncheckedUpdateManyWithoutApplicantInput>
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
export type TeamJoinRequestCreateWithoutInvitationInput = {
|
|
654
|
+
id?: string
|
|
655
|
+
email: string
|
|
656
|
+
status?: string
|
|
657
|
+
seatType?: string
|
|
658
|
+
createdAt?: Date | string
|
|
659
|
+
processedAt?: Date | string | null
|
|
660
|
+
owner: Prisma.UserCreateNestedOneWithoutOwnedJoinRequestsInput
|
|
661
|
+
applicant?: Prisma.UserCreateNestedOneWithoutApplicantJoinRequestsInput
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
export type TeamJoinRequestUncheckedCreateWithoutInvitationInput = {
|
|
665
|
+
id?: string
|
|
666
|
+
ownerId: string
|
|
667
|
+
userId?: string | null
|
|
668
|
+
email: string
|
|
669
|
+
status?: string
|
|
670
|
+
seatType?: string
|
|
671
|
+
createdAt?: Date | string
|
|
672
|
+
processedAt?: Date | string | null
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
export type TeamJoinRequestCreateOrConnectWithoutInvitationInput = {
|
|
676
|
+
where: Prisma.TeamJoinRequestWhereUniqueInput
|
|
677
|
+
create: Prisma.XOR<Prisma.TeamJoinRequestCreateWithoutInvitationInput, Prisma.TeamJoinRequestUncheckedCreateWithoutInvitationInput>
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
export type TeamJoinRequestCreateManyInvitationInputEnvelope = {
|
|
681
|
+
data: Prisma.TeamJoinRequestCreateManyInvitationInput | Prisma.TeamJoinRequestCreateManyInvitationInput[]
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
export type TeamJoinRequestUpsertWithWhereUniqueWithoutInvitationInput = {
|
|
685
|
+
where: Prisma.TeamJoinRequestWhereUniqueInput
|
|
686
|
+
update: Prisma.XOR<Prisma.TeamJoinRequestUpdateWithoutInvitationInput, Prisma.TeamJoinRequestUncheckedUpdateWithoutInvitationInput>
|
|
687
|
+
create: Prisma.XOR<Prisma.TeamJoinRequestCreateWithoutInvitationInput, Prisma.TeamJoinRequestUncheckedCreateWithoutInvitationInput>
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
export type TeamJoinRequestUpdateWithWhereUniqueWithoutInvitationInput = {
|
|
691
|
+
where: Prisma.TeamJoinRequestWhereUniqueInput
|
|
692
|
+
data: Prisma.XOR<Prisma.TeamJoinRequestUpdateWithoutInvitationInput, Prisma.TeamJoinRequestUncheckedUpdateWithoutInvitationInput>
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
export type TeamJoinRequestUpdateManyWithWhereWithoutInvitationInput = {
|
|
696
|
+
where: Prisma.TeamJoinRequestScalarWhereInput
|
|
697
|
+
data: Prisma.XOR<Prisma.TeamJoinRequestUpdateManyMutationInput, Prisma.TeamJoinRequestUncheckedUpdateManyWithoutInvitationInput>
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
export type TeamJoinRequestCreateManyOwnerInput = {
|
|
701
|
+
id?: string
|
|
702
|
+
invitationId: string
|
|
703
|
+
userId?: string | null
|
|
704
|
+
email: string
|
|
705
|
+
status?: string
|
|
706
|
+
seatType?: string
|
|
707
|
+
createdAt?: Date | string
|
|
708
|
+
processedAt?: Date | string | null
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
export type TeamJoinRequestCreateManyApplicantInput = {
|
|
712
|
+
id?: string
|
|
713
|
+
invitationId: string
|
|
714
|
+
ownerId: string
|
|
715
|
+
email: string
|
|
716
|
+
status?: string
|
|
717
|
+
seatType?: string
|
|
718
|
+
createdAt?: Date | string
|
|
719
|
+
processedAt?: Date | string | null
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
export type TeamJoinRequestUpdateWithoutOwnerInput = {
|
|
723
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
724
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
725
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
726
|
+
seatType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
727
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
728
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
729
|
+
invitation?: Prisma.TeamInvitationUpdateOneRequiredWithoutJoinRequestsNestedInput
|
|
730
|
+
applicant?: Prisma.UserUpdateOneWithoutApplicantJoinRequestsNestedInput
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
export type TeamJoinRequestUncheckedUpdateWithoutOwnerInput = {
|
|
734
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
735
|
+
invitationId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
736
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
737
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
738
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
739
|
+
seatType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
740
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
741
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
export type TeamJoinRequestUncheckedUpdateManyWithoutOwnerInput = {
|
|
745
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
746
|
+
invitationId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
747
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
748
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
749
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
750
|
+
seatType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
751
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
752
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
export type TeamJoinRequestUpdateWithoutApplicantInput = {
|
|
756
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
757
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
758
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
759
|
+
seatType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
760
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
761
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
762
|
+
invitation?: Prisma.TeamInvitationUpdateOneRequiredWithoutJoinRequestsNestedInput
|
|
763
|
+
owner?: Prisma.UserUpdateOneRequiredWithoutOwnedJoinRequestsNestedInput
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
export type TeamJoinRequestUncheckedUpdateWithoutApplicantInput = {
|
|
767
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
768
|
+
invitationId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
769
|
+
ownerId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
770
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
771
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
772
|
+
seatType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
773
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
774
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
export type TeamJoinRequestUncheckedUpdateManyWithoutApplicantInput = {
|
|
778
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
779
|
+
invitationId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
780
|
+
ownerId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
781
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
782
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
783
|
+
seatType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
784
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
785
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
export type TeamJoinRequestCreateManyInvitationInput = {
|
|
789
|
+
id?: string
|
|
790
|
+
ownerId: string
|
|
791
|
+
userId?: string | null
|
|
792
|
+
email: string
|
|
793
|
+
status?: string
|
|
794
|
+
seatType?: string
|
|
795
|
+
createdAt?: Date | string
|
|
796
|
+
processedAt?: Date | string | null
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
export type TeamJoinRequestUpdateWithoutInvitationInput = {
|
|
800
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
801
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
802
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
803
|
+
seatType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
804
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
805
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
806
|
+
owner?: Prisma.UserUpdateOneRequiredWithoutOwnedJoinRequestsNestedInput
|
|
807
|
+
applicant?: Prisma.UserUpdateOneWithoutApplicantJoinRequestsNestedInput
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
export type TeamJoinRequestUncheckedUpdateWithoutInvitationInput = {
|
|
811
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
812
|
+
ownerId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
813
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
814
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
815
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
816
|
+
seatType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
817
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
818
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
export type TeamJoinRequestUncheckedUpdateManyWithoutInvitationInput = {
|
|
822
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
823
|
+
ownerId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
824
|
+
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
825
|
+
email?: Prisma.StringFieldUpdateOperationsInput | string
|
|
826
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
827
|
+
seatType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
828
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
829
|
+
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
export type TeamJoinRequestSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
835
|
+
id?: boolean
|
|
836
|
+
invitationId?: boolean
|
|
837
|
+
ownerId?: boolean
|
|
838
|
+
userId?: boolean
|
|
839
|
+
email?: boolean
|
|
840
|
+
status?: boolean
|
|
841
|
+
seatType?: boolean
|
|
842
|
+
createdAt?: boolean
|
|
843
|
+
processedAt?: boolean
|
|
844
|
+
invitation?: boolean | Prisma.TeamInvitationDefaultArgs<ExtArgs>
|
|
845
|
+
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
846
|
+
applicant?: boolean | Prisma.TeamJoinRequest$applicantArgs<ExtArgs>
|
|
847
|
+
}, ExtArgs["result"]["teamJoinRequest"]>
|
|
848
|
+
|
|
849
|
+
export type TeamJoinRequestSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
850
|
+
id?: boolean
|
|
851
|
+
invitationId?: boolean
|
|
852
|
+
ownerId?: boolean
|
|
853
|
+
userId?: boolean
|
|
854
|
+
email?: boolean
|
|
855
|
+
status?: boolean
|
|
856
|
+
seatType?: boolean
|
|
857
|
+
createdAt?: boolean
|
|
858
|
+
processedAt?: boolean
|
|
859
|
+
invitation?: boolean | Prisma.TeamInvitationDefaultArgs<ExtArgs>
|
|
860
|
+
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
861
|
+
applicant?: boolean | Prisma.TeamJoinRequest$applicantArgs<ExtArgs>
|
|
862
|
+
}, ExtArgs["result"]["teamJoinRequest"]>
|
|
863
|
+
|
|
864
|
+
export type TeamJoinRequestSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
865
|
+
id?: boolean
|
|
866
|
+
invitationId?: boolean
|
|
867
|
+
ownerId?: boolean
|
|
868
|
+
userId?: boolean
|
|
869
|
+
email?: boolean
|
|
870
|
+
status?: boolean
|
|
871
|
+
seatType?: boolean
|
|
872
|
+
createdAt?: boolean
|
|
873
|
+
processedAt?: boolean
|
|
874
|
+
invitation?: boolean | Prisma.TeamInvitationDefaultArgs<ExtArgs>
|
|
875
|
+
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
876
|
+
applicant?: boolean | Prisma.TeamJoinRequest$applicantArgs<ExtArgs>
|
|
877
|
+
}, ExtArgs["result"]["teamJoinRequest"]>
|
|
878
|
+
|
|
879
|
+
export type TeamJoinRequestSelectScalar = {
|
|
880
|
+
id?: boolean
|
|
881
|
+
invitationId?: boolean
|
|
882
|
+
ownerId?: boolean
|
|
883
|
+
userId?: boolean
|
|
884
|
+
email?: boolean
|
|
885
|
+
status?: boolean
|
|
886
|
+
seatType?: boolean
|
|
887
|
+
createdAt?: boolean
|
|
888
|
+
processedAt?: boolean
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
export type TeamJoinRequestOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "invitationId" | "ownerId" | "userId" | "email" | "status" | "seatType" | "createdAt" | "processedAt", ExtArgs["result"]["teamJoinRequest"]>
|
|
892
|
+
export type TeamJoinRequestInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
893
|
+
invitation?: boolean | Prisma.TeamInvitationDefaultArgs<ExtArgs>
|
|
894
|
+
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
895
|
+
applicant?: boolean | Prisma.TeamJoinRequest$applicantArgs<ExtArgs>
|
|
896
|
+
}
|
|
897
|
+
export type TeamJoinRequestIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
898
|
+
invitation?: boolean | Prisma.TeamInvitationDefaultArgs<ExtArgs>
|
|
899
|
+
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
900
|
+
applicant?: boolean | Prisma.TeamJoinRequest$applicantArgs<ExtArgs>
|
|
901
|
+
}
|
|
902
|
+
export type TeamJoinRequestIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
903
|
+
invitation?: boolean | Prisma.TeamInvitationDefaultArgs<ExtArgs>
|
|
904
|
+
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
905
|
+
applicant?: boolean | Prisma.TeamJoinRequest$applicantArgs<ExtArgs>
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
export type $TeamJoinRequestPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
909
|
+
name: "TeamJoinRequest"
|
|
910
|
+
objects: {
|
|
911
|
+
invitation: Prisma.$TeamInvitationPayload<ExtArgs>
|
|
912
|
+
owner: Prisma.$UserPayload<ExtArgs>
|
|
913
|
+
applicant: Prisma.$UserPayload<ExtArgs> | null
|
|
914
|
+
}
|
|
915
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
916
|
+
id: string
|
|
917
|
+
invitationId: string
|
|
918
|
+
ownerId: string
|
|
919
|
+
userId: string | null
|
|
920
|
+
email: string
|
|
921
|
+
status: string
|
|
922
|
+
seatType: string
|
|
923
|
+
createdAt: Date
|
|
924
|
+
processedAt: Date | null
|
|
925
|
+
}, ExtArgs["result"]["teamJoinRequest"]>
|
|
926
|
+
composites: {}
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
export type TeamJoinRequestGetPayload<S extends boolean | null | undefined | TeamJoinRequestDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TeamJoinRequestPayload, S>
|
|
930
|
+
|
|
931
|
+
export type TeamJoinRequestCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
932
|
+
Omit<TeamJoinRequestFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
933
|
+
select?: TeamJoinRequestCountAggregateInputType | true
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
export interface TeamJoinRequestDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
937
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TeamJoinRequest'], meta: { name: 'TeamJoinRequest' } }
|
|
938
|
+
/**
|
|
939
|
+
* Find zero or one TeamJoinRequest that matches the filter.
|
|
940
|
+
* @param {TeamJoinRequestFindUniqueArgs} args - Arguments to find a TeamJoinRequest
|
|
941
|
+
* @example
|
|
942
|
+
* // Get one TeamJoinRequest
|
|
943
|
+
* const teamJoinRequest = await prisma.teamJoinRequest.findUnique({
|
|
944
|
+
* where: {
|
|
945
|
+
* // ... provide filter here
|
|
946
|
+
* }
|
|
947
|
+
* })
|
|
948
|
+
*/
|
|
949
|
+
findUnique<T extends TeamJoinRequestFindUniqueArgs>(args: Prisma.SelectSubset<T, TeamJoinRequestFindUniqueArgs<ExtArgs>>): Prisma.Prisma__TeamJoinRequestClient<runtime.Types.Result.GetResult<Prisma.$TeamJoinRequestPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* Find one TeamJoinRequest that matches the filter or throw an error with `error.code='P2025'`
|
|
953
|
+
* if no matches were found.
|
|
954
|
+
* @param {TeamJoinRequestFindUniqueOrThrowArgs} args - Arguments to find a TeamJoinRequest
|
|
955
|
+
* @example
|
|
956
|
+
* // Get one TeamJoinRequest
|
|
957
|
+
* const teamJoinRequest = await prisma.teamJoinRequest.findUniqueOrThrow({
|
|
958
|
+
* where: {
|
|
959
|
+
* // ... provide filter here
|
|
960
|
+
* }
|
|
961
|
+
* })
|
|
962
|
+
*/
|
|
963
|
+
findUniqueOrThrow<T extends TeamJoinRequestFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, TeamJoinRequestFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__TeamJoinRequestClient<runtime.Types.Result.GetResult<Prisma.$TeamJoinRequestPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* Find the first TeamJoinRequest that matches the filter.
|
|
967
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
968
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
969
|
+
* @param {TeamJoinRequestFindFirstArgs} args - Arguments to find a TeamJoinRequest
|
|
970
|
+
* @example
|
|
971
|
+
* // Get one TeamJoinRequest
|
|
972
|
+
* const teamJoinRequest = await prisma.teamJoinRequest.findFirst({
|
|
973
|
+
* where: {
|
|
974
|
+
* // ... provide filter here
|
|
975
|
+
* }
|
|
976
|
+
* })
|
|
977
|
+
*/
|
|
978
|
+
findFirst<T extends TeamJoinRequestFindFirstArgs>(args?: Prisma.SelectSubset<T, TeamJoinRequestFindFirstArgs<ExtArgs>>): Prisma.Prisma__TeamJoinRequestClient<runtime.Types.Result.GetResult<Prisma.$TeamJoinRequestPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
979
|
+
|
|
980
|
+
/**
|
|
981
|
+
* Find the first TeamJoinRequest that matches the filter or
|
|
982
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
983
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
984
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
985
|
+
* @param {TeamJoinRequestFindFirstOrThrowArgs} args - Arguments to find a TeamJoinRequest
|
|
986
|
+
* @example
|
|
987
|
+
* // Get one TeamJoinRequest
|
|
988
|
+
* const teamJoinRequest = await prisma.teamJoinRequest.findFirstOrThrow({
|
|
989
|
+
* where: {
|
|
990
|
+
* // ... provide filter here
|
|
991
|
+
* }
|
|
992
|
+
* })
|
|
993
|
+
*/
|
|
994
|
+
findFirstOrThrow<T extends TeamJoinRequestFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, TeamJoinRequestFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__TeamJoinRequestClient<runtime.Types.Result.GetResult<Prisma.$TeamJoinRequestPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
995
|
+
|
|
996
|
+
/**
|
|
997
|
+
* Find zero or more TeamJoinRequests that matches the filter.
|
|
998
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
999
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1000
|
+
* @param {TeamJoinRequestFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1001
|
+
* @example
|
|
1002
|
+
* // Get all TeamJoinRequests
|
|
1003
|
+
* const teamJoinRequests = await prisma.teamJoinRequest.findMany()
|
|
1004
|
+
*
|
|
1005
|
+
* // Get first 10 TeamJoinRequests
|
|
1006
|
+
* const teamJoinRequests = await prisma.teamJoinRequest.findMany({ take: 10 })
|
|
1007
|
+
*
|
|
1008
|
+
* // Only select the `id`
|
|
1009
|
+
* const teamJoinRequestWithIdOnly = await prisma.teamJoinRequest.findMany({ select: { id: true } })
|
|
1010
|
+
*
|
|
1011
|
+
*/
|
|
1012
|
+
findMany<T extends TeamJoinRequestFindManyArgs>(args?: Prisma.SelectSubset<T, TeamJoinRequestFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TeamJoinRequestPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1013
|
+
|
|
1014
|
+
/**
|
|
1015
|
+
* Create a TeamJoinRequest.
|
|
1016
|
+
* @param {TeamJoinRequestCreateArgs} args - Arguments to create a TeamJoinRequest.
|
|
1017
|
+
* @example
|
|
1018
|
+
* // Create one TeamJoinRequest
|
|
1019
|
+
* const TeamJoinRequest = await prisma.teamJoinRequest.create({
|
|
1020
|
+
* data: {
|
|
1021
|
+
* // ... data to create a TeamJoinRequest
|
|
1022
|
+
* }
|
|
1023
|
+
* })
|
|
1024
|
+
*
|
|
1025
|
+
*/
|
|
1026
|
+
create<T extends TeamJoinRequestCreateArgs>(args: Prisma.SelectSubset<T, TeamJoinRequestCreateArgs<ExtArgs>>): Prisma.Prisma__TeamJoinRequestClient<runtime.Types.Result.GetResult<Prisma.$TeamJoinRequestPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1027
|
+
|
|
1028
|
+
/**
|
|
1029
|
+
* Create many TeamJoinRequests.
|
|
1030
|
+
* @param {TeamJoinRequestCreateManyArgs} args - Arguments to create many TeamJoinRequests.
|
|
1031
|
+
* @example
|
|
1032
|
+
* // Create many TeamJoinRequests
|
|
1033
|
+
* const teamJoinRequest = await prisma.teamJoinRequest.createMany({
|
|
1034
|
+
* data: [
|
|
1035
|
+
* // ... provide data here
|
|
1036
|
+
* ]
|
|
1037
|
+
* })
|
|
1038
|
+
*
|
|
1039
|
+
*/
|
|
1040
|
+
createMany<T extends TeamJoinRequestCreateManyArgs>(args?: Prisma.SelectSubset<T, TeamJoinRequestCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1041
|
+
|
|
1042
|
+
/**
|
|
1043
|
+
* Create many TeamJoinRequests and returns the data saved in the database.
|
|
1044
|
+
* @param {TeamJoinRequestCreateManyAndReturnArgs} args - Arguments to create many TeamJoinRequests.
|
|
1045
|
+
* @example
|
|
1046
|
+
* // Create many TeamJoinRequests
|
|
1047
|
+
* const teamJoinRequest = await prisma.teamJoinRequest.createManyAndReturn({
|
|
1048
|
+
* data: [
|
|
1049
|
+
* // ... provide data here
|
|
1050
|
+
* ]
|
|
1051
|
+
* })
|
|
1052
|
+
*
|
|
1053
|
+
* // Create many TeamJoinRequests and only return the `id`
|
|
1054
|
+
* const teamJoinRequestWithIdOnly = await prisma.teamJoinRequest.createManyAndReturn({
|
|
1055
|
+
* select: { id: true },
|
|
1056
|
+
* data: [
|
|
1057
|
+
* // ... provide data here
|
|
1058
|
+
* ]
|
|
1059
|
+
* })
|
|
1060
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1061
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1062
|
+
*
|
|
1063
|
+
*/
|
|
1064
|
+
createManyAndReturn<T extends TeamJoinRequestCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, TeamJoinRequestCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TeamJoinRequestPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* Delete a TeamJoinRequest.
|
|
1068
|
+
* @param {TeamJoinRequestDeleteArgs} args - Arguments to delete one TeamJoinRequest.
|
|
1069
|
+
* @example
|
|
1070
|
+
* // Delete one TeamJoinRequest
|
|
1071
|
+
* const TeamJoinRequest = await prisma.teamJoinRequest.delete({
|
|
1072
|
+
* where: {
|
|
1073
|
+
* // ... filter to delete one TeamJoinRequest
|
|
1074
|
+
* }
|
|
1075
|
+
* })
|
|
1076
|
+
*
|
|
1077
|
+
*/
|
|
1078
|
+
delete<T extends TeamJoinRequestDeleteArgs>(args: Prisma.SelectSubset<T, TeamJoinRequestDeleteArgs<ExtArgs>>): Prisma.Prisma__TeamJoinRequestClient<runtime.Types.Result.GetResult<Prisma.$TeamJoinRequestPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1079
|
+
|
|
1080
|
+
/**
|
|
1081
|
+
* Update one TeamJoinRequest.
|
|
1082
|
+
* @param {TeamJoinRequestUpdateArgs} args - Arguments to update one TeamJoinRequest.
|
|
1083
|
+
* @example
|
|
1084
|
+
* // Update one TeamJoinRequest
|
|
1085
|
+
* const teamJoinRequest = await prisma.teamJoinRequest.update({
|
|
1086
|
+
* where: {
|
|
1087
|
+
* // ... provide filter here
|
|
1088
|
+
* },
|
|
1089
|
+
* data: {
|
|
1090
|
+
* // ... provide data here
|
|
1091
|
+
* }
|
|
1092
|
+
* })
|
|
1093
|
+
*
|
|
1094
|
+
*/
|
|
1095
|
+
update<T extends TeamJoinRequestUpdateArgs>(args: Prisma.SelectSubset<T, TeamJoinRequestUpdateArgs<ExtArgs>>): Prisma.Prisma__TeamJoinRequestClient<runtime.Types.Result.GetResult<Prisma.$TeamJoinRequestPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1096
|
+
|
|
1097
|
+
/**
|
|
1098
|
+
* Delete zero or more TeamJoinRequests.
|
|
1099
|
+
* @param {TeamJoinRequestDeleteManyArgs} args - Arguments to filter TeamJoinRequests to delete.
|
|
1100
|
+
* @example
|
|
1101
|
+
* // Delete a few TeamJoinRequests
|
|
1102
|
+
* const { count } = await prisma.teamJoinRequest.deleteMany({
|
|
1103
|
+
* where: {
|
|
1104
|
+
* // ... provide filter here
|
|
1105
|
+
* }
|
|
1106
|
+
* })
|
|
1107
|
+
*
|
|
1108
|
+
*/
|
|
1109
|
+
deleteMany<T extends TeamJoinRequestDeleteManyArgs>(args?: Prisma.SelectSubset<T, TeamJoinRequestDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1110
|
+
|
|
1111
|
+
/**
|
|
1112
|
+
* Update zero or more TeamJoinRequests.
|
|
1113
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1114
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1115
|
+
* @param {TeamJoinRequestUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1116
|
+
* @example
|
|
1117
|
+
* // Update many TeamJoinRequests
|
|
1118
|
+
* const teamJoinRequest = await prisma.teamJoinRequest.updateMany({
|
|
1119
|
+
* where: {
|
|
1120
|
+
* // ... provide filter here
|
|
1121
|
+
* },
|
|
1122
|
+
* data: {
|
|
1123
|
+
* // ... provide data here
|
|
1124
|
+
* }
|
|
1125
|
+
* })
|
|
1126
|
+
*
|
|
1127
|
+
*/
|
|
1128
|
+
updateMany<T extends TeamJoinRequestUpdateManyArgs>(args: Prisma.SelectSubset<T, TeamJoinRequestUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1129
|
+
|
|
1130
|
+
/**
|
|
1131
|
+
* Update zero or more TeamJoinRequests and returns the data updated in the database.
|
|
1132
|
+
* @param {TeamJoinRequestUpdateManyAndReturnArgs} args - Arguments to update many TeamJoinRequests.
|
|
1133
|
+
* @example
|
|
1134
|
+
* // Update many TeamJoinRequests
|
|
1135
|
+
* const teamJoinRequest = await prisma.teamJoinRequest.updateManyAndReturn({
|
|
1136
|
+
* where: {
|
|
1137
|
+
* // ... provide filter here
|
|
1138
|
+
* },
|
|
1139
|
+
* data: [
|
|
1140
|
+
* // ... provide data here
|
|
1141
|
+
* ]
|
|
1142
|
+
* })
|
|
1143
|
+
*
|
|
1144
|
+
* // Update zero or more TeamJoinRequests and only return the `id`
|
|
1145
|
+
* const teamJoinRequestWithIdOnly = await prisma.teamJoinRequest.updateManyAndReturn({
|
|
1146
|
+
* select: { id: true },
|
|
1147
|
+
* where: {
|
|
1148
|
+
* // ... provide filter here
|
|
1149
|
+
* },
|
|
1150
|
+
* data: [
|
|
1151
|
+
* // ... provide data here
|
|
1152
|
+
* ]
|
|
1153
|
+
* })
|
|
1154
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1155
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1156
|
+
*
|
|
1157
|
+
*/
|
|
1158
|
+
updateManyAndReturn<T extends TeamJoinRequestUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, TeamJoinRequestUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TeamJoinRequestPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* Create or update one TeamJoinRequest.
|
|
1162
|
+
* @param {TeamJoinRequestUpsertArgs} args - Arguments to update or create a TeamJoinRequest.
|
|
1163
|
+
* @example
|
|
1164
|
+
* // Update or create a TeamJoinRequest
|
|
1165
|
+
* const teamJoinRequest = await prisma.teamJoinRequest.upsert({
|
|
1166
|
+
* create: {
|
|
1167
|
+
* // ... data to create a TeamJoinRequest
|
|
1168
|
+
* },
|
|
1169
|
+
* update: {
|
|
1170
|
+
* // ... in case it already exists, update
|
|
1171
|
+
* },
|
|
1172
|
+
* where: {
|
|
1173
|
+
* // ... the filter for the TeamJoinRequest we want to update
|
|
1174
|
+
* }
|
|
1175
|
+
* })
|
|
1176
|
+
*/
|
|
1177
|
+
upsert<T extends TeamJoinRequestUpsertArgs>(args: Prisma.SelectSubset<T, TeamJoinRequestUpsertArgs<ExtArgs>>): Prisma.Prisma__TeamJoinRequestClient<runtime.Types.Result.GetResult<Prisma.$TeamJoinRequestPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1178
|
+
|
|
1179
|
+
|
|
1180
|
+
/**
|
|
1181
|
+
* Count the number of TeamJoinRequests.
|
|
1182
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1183
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1184
|
+
* @param {TeamJoinRequestCountArgs} args - Arguments to filter TeamJoinRequests to count.
|
|
1185
|
+
* @example
|
|
1186
|
+
* // Count the number of TeamJoinRequests
|
|
1187
|
+
* const count = await prisma.teamJoinRequest.count({
|
|
1188
|
+
* where: {
|
|
1189
|
+
* // ... the filter for the TeamJoinRequests we want to count
|
|
1190
|
+
* }
|
|
1191
|
+
* })
|
|
1192
|
+
**/
|
|
1193
|
+
count<T extends TeamJoinRequestCountArgs>(
|
|
1194
|
+
args?: Prisma.Subset<T, TeamJoinRequestCountArgs>,
|
|
1195
|
+
): Prisma.PrismaPromise<
|
|
1196
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1197
|
+
? T['select'] extends true
|
|
1198
|
+
? number
|
|
1199
|
+
: Prisma.GetScalarType<T['select'], TeamJoinRequestCountAggregateOutputType>
|
|
1200
|
+
: number
|
|
1201
|
+
>
|
|
1202
|
+
|
|
1203
|
+
/**
|
|
1204
|
+
* Allows you to perform aggregations operations on a TeamJoinRequest.
|
|
1205
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1206
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1207
|
+
* @param {TeamJoinRequestAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1208
|
+
* @example
|
|
1209
|
+
* // Ordered by age ascending
|
|
1210
|
+
* // Where email contains prisma.io
|
|
1211
|
+
* // Limited to the 10 users
|
|
1212
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1213
|
+
* _avg: {
|
|
1214
|
+
* age: true,
|
|
1215
|
+
* },
|
|
1216
|
+
* where: {
|
|
1217
|
+
* email: {
|
|
1218
|
+
* contains: "prisma.io",
|
|
1219
|
+
* },
|
|
1220
|
+
* },
|
|
1221
|
+
* orderBy: {
|
|
1222
|
+
* age: "asc",
|
|
1223
|
+
* },
|
|
1224
|
+
* take: 10,
|
|
1225
|
+
* })
|
|
1226
|
+
**/
|
|
1227
|
+
aggregate<T extends TeamJoinRequestAggregateArgs>(args: Prisma.Subset<T, TeamJoinRequestAggregateArgs>): Prisma.PrismaPromise<GetTeamJoinRequestAggregateType<T>>
|
|
1228
|
+
|
|
1229
|
+
/**
|
|
1230
|
+
* Group by TeamJoinRequest.
|
|
1231
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1232
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1233
|
+
* @param {TeamJoinRequestGroupByArgs} args - Group by arguments.
|
|
1234
|
+
* @example
|
|
1235
|
+
* // Group by city, order by createdAt, get count
|
|
1236
|
+
* const result = await prisma.user.groupBy({
|
|
1237
|
+
* by: ['city', 'createdAt'],
|
|
1238
|
+
* orderBy: {
|
|
1239
|
+
* createdAt: true
|
|
1240
|
+
* },
|
|
1241
|
+
* _count: {
|
|
1242
|
+
* _all: true
|
|
1243
|
+
* },
|
|
1244
|
+
* })
|
|
1245
|
+
*
|
|
1246
|
+
**/
|
|
1247
|
+
groupBy<
|
|
1248
|
+
T extends TeamJoinRequestGroupByArgs,
|
|
1249
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1250
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1251
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1252
|
+
>,
|
|
1253
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1254
|
+
? { orderBy: TeamJoinRequestGroupByArgs['orderBy'] }
|
|
1255
|
+
: { orderBy?: TeamJoinRequestGroupByArgs['orderBy'] },
|
|
1256
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1257
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1258
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1259
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1260
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1261
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1262
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1263
|
+
? `Error: "by" must not be empty.`
|
|
1264
|
+
: HavingValid extends Prisma.False
|
|
1265
|
+
? {
|
|
1266
|
+
[P in HavingFields]: P extends ByFields
|
|
1267
|
+
? never
|
|
1268
|
+
: P extends string
|
|
1269
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1270
|
+
: [
|
|
1271
|
+
Error,
|
|
1272
|
+
'Field ',
|
|
1273
|
+
P,
|
|
1274
|
+
` in "having" needs to be provided in "by"`,
|
|
1275
|
+
]
|
|
1276
|
+
}[HavingFields]
|
|
1277
|
+
: 'take' extends Prisma.Keys<T>
|
|
1278
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1279
|
+
? ByValid extends Prisma.True
|
|
1280
|
+
? {}
|
|
1281
|
+
: {
|
|
1282
|
+
[P in OrderFields]: P extends ByFields
|
|
1283
|
+
? never
|
|
1284
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1285
|
+
}[OrderFields]
|
|
1286
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1287
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1288
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1289
|
+
? ByValid extends Prisma.True
|
|
1290
|
+
? {}
|
|
1291
|
+
: {
|
|
1292
|
+
[P in OrderFields]: P extends ByFields
|
|
1293
|
+
? never
|
|
1294
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1295
|
+
}[OrderFields]
|
|
1296
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1297
|
+
: ByValid extends Prisma.True
|
|
1298
|
+
? {}
|
|
1299
|
+
: {
|
|
1300
|
+
[P in OrderFields]: P extends ByFields
|
|
1301
|
+
? never
|
|
1302
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1303
|
+
}[OrderFields]
|
|
1304
|
+
>(args: Prisma.SubsetIntersection<T, TeamJoinRequestGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTeamJoinRequestGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1305
|
+
/**
|
|
1306
|
+
* Fields of the TeamJoinRequest model
|
|
1307
|
+
*/
|
|
1308
|
+
readonly fields: TeamJoinRequestFieldRefs;
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
/**
|
|
1312
|
+
* The delegate class that acts as a "Promise-like" for TeamJoinRequest.
|
|
1313
|
+
* Why is this prefixed with `Prisma__`?
|
|
1314
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1315
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1316
|
+
*/
|
|
1317
|
+
export interface Prisma__TeamJoinRequestClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1318
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1319
|
+
invitation<T extends Prisma.TeamInvitationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TeamInvitationDefaultArgs<ExtArgs>>): Prisma.Prisma__TeamInvitationClient<runtime.Types.Result.GetResult<Prisma.$TeamInvitationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1320
|
+
owner<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1321
|
+
applicant<T extends Prisma.TeamJoinRequest$applicantArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TeamJoinRequest$applicantArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1322
|
+
/**
|
|
1323
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1324
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1325
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1326
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1327
|
+
*/
|
|
1328
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
1329
|
+
/**
|
|
1330
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1331
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1332
|
+
* @returns A Promise for the completion of the callback.
|
|
1333
|
+
*/
|
|
1334
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1335
|
+
/**
|
|
1336
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1337
|
+
* resolved value cannot be modified from the callback.
|
|
1338
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1339
|
+
* @returns A Promise for the completion of the callback.
|
|
1340
|
+
*/
|
|
1341
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
|
|
1345
|
+
|
|
1346
|
+
|
|
1347
|
+
/**
|
|
1348
|
+
* Fields of the TeamJoinRequest model
|
|
1349
|
+
*/
|
|
1350
|
+
export interface TeamJoinRequestFieldRefs {
|
|
1351
|
+
readonly id: Prisma.FieldRef<"TeamJoinRequest", 'String'>
|
|
1352
|
+
readonly invitationId: Prisma.FieldRef<"TeamJoinRequest", 'String'>
|
|
1353
|
+
readonly ownerId: Prisma.FieldRef<"TeamJoinRequest", 'String'>
|
|
1354
|
+
readonly userId: Prisma.FieldRef<"TeamJoinRequest", 'String'>
|
|
1355
|
+
readonly email: Prisma.FieldRef<"TeamJoinRequest", 'String'>
|
|
1356
|
+
readonly status: Prisma.FieldRef<"TeamJoinRequest", 'String'>
|
|
1357
|
+
readonly seatType: Prisma.FieldRef<"TeamJoinRequest", 'String'>
|
|
1358
|
+
readonly createdAt: Prisma.FieldRef<"TeamJoinRequest", 'DateTime'>
|
|
1359
|
+
readonly processedAt: Prisma.FieldRef<"TeamJoinRequest", 'DateTime'>
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
|
|
1363
|
+
// Custom InputTypes
|
|
1364
|
+
/**
|
|
1365
|
+
* TeamJoinRequest findUnique
|
|
1366
|
+
*/
|
|
1367
|
+
export type TeamJoinRequestFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1368
|
+
/**
|
|
1369
|
+
* Select specific fields to fetch from the TeamJoinRequest
|
|
1370
|
+
*/
|
|
1371
|
+
select?: Prisma.TeamJoinRequestSelect<ExtArgs> | null
|
|
1372
|
+
/**
|
|
1373
|
+
* Omit specific fields from the TeamJoinRequest
|
|
1374
|
+
*/
|
|
1375
|
+
omit?: Prisma.TeamJoinRequestOmit<ExtArgs> | null
|
|
1376
|
+
/**
|
|
1377
|
+
* Choose, which related nodes to fetch as well
|
|
1378
|
+
*/
|
|
1379
|
+
include?: Prisma.TeamJoinRequestInclude<ExtArgs> | null
|
|
1380
|
+
/**
|
|
1381
|
+
* Filter, which TeamJoinRequest to fetch.
|
|
1382
|
+
*/
|
|
1383
|
+
where: Prisma.TeamJoinRequestWhereUniqueInput
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
/**
|
|
1387
|
+
* TeamJoinRequest findUniqueOrThrow
|
|
1388
|
+
*/
|
|
1389
|
+
export type TeamJoinRequestFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1390
|
+
/**
|
|
1391
|
+
* Select specific fields to fetch from the TeamJoinRequest
|
|
1392
|
+
*/
|
|
1393
|
+
select?: Prisma.TeamJoinRequestSelect<ExtArgs> | null
|
|
1394
|
+
/**
|
|
1395
|
+
* Omit specific fields from the TeamJoinRequest
|
|
1396
|
+
*/
|
|
1397
|
+
omit?: Prisma.TeamJoinRequestOmit<ExtArgs> | null
|
|
1398
|
+
/**
|
|
1399
|
+
* Choose, which related nodes to fetch as well
|
|
1400
|
+
*/
|
|
1401
|
+
include?: Prisma.TeamJoinRequestInclude<ExtArgs> | null
|
|
1402
|
+
/**
|
|
1403
|
+
* Filter, which TeamJoinRequest to fetch.
|
|
1404
|
+
*/
|
|
1405
|
+
where: Prisma.TeamJoinRequestWhereUniqueInput
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
/**
|
|
1409
|
+
* TeamJoinRequest findFirst
|
|
1410
|
+
*/
|
|
1411
|
+
export type TeamJoinRequestFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1412
|
+
/**
|
|
1413
|
+
* Select specific fields to fetch from the TeamJoinRequest
|
|
1414
|
+
*/
|
|
1415
|
+
select?: Prisma.TeamJoinRequestSelect<ExtArgs> | null
|
|
1416
|
+
/**
|
|
1417
|
+
* Omit specific fields from the TeamJoinRequest
|
|
1418
|
+
*/
|
|
1419
|
+
omit?: Prisma.TeamJoinRequestOmit<ExtArgs> | null
|
|
1420
|
+
/**
|
|
1421
|
+
* Choose, which related nodes to fetch as well
|
|
1422
|
+
*/
|
|
1423
|
+
include?: Prisma.TeamJoinRequestInclude<ExtArgs> | null
|
|
1424
|
+
/**
|
|
1425
|
+
* Filter, which TeamJoinRequest to fetch.
|
|
1426
|
+
*/
|
|
1427
|
+
where?: Prisma.TeamJoinRequestWhereInput
|
|
1428
|
+
/**
|
|
1429
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1430
|
+
*
|
|
1431
|
+
* Determine the order of TeamJoinRequests to fetch.
|
|
1432
|
+
*/
|
|
1433
|
+
orderBy?: Prisma.TeamJoinRequestOrderByWithRelationInput | Prisma.TeamJoinRequestOrderByWithRelationInput[]
|
|
1434
|
+
/**
|
|
1435
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1436
|
+
*
|
|
1437
|
+
* Sets the position for searching for TeamJoinRequests.
|
|
1438
|
+
*/
|
|
1439
|
+
cursor?: Prisma.TeamJoinRequestWhereUniqueInput
|
|
1440
|
+
/**
|
|
1441
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1442
|
+
*
|
|
1443
|
+
* Take `±n` TeamJoinRequests from the position of the cursor.
|
|
1444
|
+
*/
|
|
1445
|
+
take?: number
|
|
1446
|
+
/**
|
|
1447
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1448
|
+
*
|
|
1449
|
+
* Skip the first `n` TeamJoinRequests.
|
|
1450
|
+
*/
|
|
1451
|
+
skip?: number
|
|
1452
|
+
/**
|
|
1453
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1454
|
+
*
|
|
1455
|
+
* Filter by unique combinations of TeamJoinRequests.
|
|
1456
|
+
*/
|
|
1457
|
+
distinct?: Prisma.TeamJoinRequestScalarFieldEnum | Prisma.TeamJoinRequestScalarFieldEnum[]
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
/**
|
|
1461
|
+
* TeamJoinRequest findFirstOrThrow
|
|
1462
|
+
*/
|
|
1463
|
+
export type TeamJoinRequestFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1464
|
+
/**
|
|
1465
|
+
* Select specific fields to fetch from the TeamJoinRequest
|
|
1466
|
+
*/
|
|
1467
|
+
select?: Prisma.TeamJoinRequestSelect<ExtArgs> | null
|
|
1468
|
+
/**
|
|
1469
|
+
* Omit specific fields from the TeamJoinRequest
|
|
1470
|
+
*/
|
|
1471
|
+
omit?: Prisma.TeamJoinRequestOmit<ExtArgs> | null
|
|
1472
|
+
/**
|
|
1473
|
+
* Choose, which related nodes to fetch as well
|
|
1474
|
+
*/
|
|
1475
|
+
include?: Prisma.TeamJoinRequestInclude<ExtArgs> | null
|
|
1476
|
+
/**
|
|
1477
|
+
* Filter, which TeamJoinRequest to fetch.
|
|
1478
|
+
*/
|
|
1479
|
+
where?: Prisma.TeamJoinRequestWhereInput
|
|
1480
|
+
/**
|
|
1481
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1482
|
+
*
|
|
1483
|
+
* Determine the order of TeamJoinRequests to fetch.
|
|
1484
|
+
*/
|
|
1485
|
+
orderBy?: Prisma.TeamJoinRequestOrderByWithRelationInput | Prisma.TeamJoinRequestOrderByWithRelationInput[]
|
|
1486
|
+
/**
|
|
1487
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1488
|
+
*
|
|
1489
|
+
* Sets the position for searching for TeamJoinRequests.
|
|
1490
|
+
*/
|
|
1491
|
+
cursor?: Prisma.TeamJoinRequestWhereUniqueInput
|
|
1492
|
+
/**
|
|
1493
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1494
|
+
*
|
|
1495
|
+
* Take `±n` TeamJoinRequests from the position of the cursor.
|
|
1496
|
+
*/
|
|
1497
|
+
take?: number
|
|
1498
|
+
/**
|
|
1499
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1500
|
+
*
|
|
1501
|
+
* Skip the first `n` TeamJoinRequests.
|
|
1502
|
+
*/
|
|
1503
|
+
skip?: number
|
|
1504
|
+
/**
|
|
1505
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1506
|
+
*
|
|
1507
|
+
* Filter by unique combinations of TeamJoinRequests.
|
|
1508
|
+
*/
|
|
1509
|
+
distinct?: Prisma.TeamJoinRequestScalarFieldEnum | Prisma.TeamJoinRequestScalarFieldEnum[]
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
/**
|
|
1513
|
+
* TeamJoinRequest findMany
|
|
1514
|
+
*/
|
|
1515
|
+
export type TeamJoinRequestFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1516
|
+
/**
|
|
1517
|
+
* Select specific fields to fetch from the TeamJoinRequest
|
|
1518
|
+
*/
|
|
1519
|
+
select?: Prisma.TeamJoinRequestSelect<ExtArgs> | null
|
|
1520
|
+
/**
|
|
1521
|
+
* Omit specific fields from the TeamJoinRequest
|
|
1522
|
+
*/
|
|
1523
|
+
omit?: Prisma.TeamJoinRequestOmit<ExtArgs> | null
|
|
1524
|
+
/**
|
|
1525
|
+
* Choose, which related nodes to fetch as well
|
|
1526
|
+
*/
|
|
1527
|
+
include?: Prisma.TeamJoinRequestInclude<ExtArgs> | null
|
|
1528
|
+
/**
|
|
1529
|
+
* Filter, which TeamJoinRequests to fetch.
|
|
1530
|
+
*/
|
|
1531
|
+
where?: Prisma.TeamJoinRequestWhereInput
|
|
1532
|
+
/**
|
|
1533
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1534
|
+
*
|
|
1535
|
+
* Determine the order of TeamJoinRequests to fetch.
|
|
1536
|
+
*/
|
|
1537
|
+
orderBy?: Prisma.TeamJoinRequestOrderByWithRelationInput | Prisma.TeamJoinRequestOrderByWithRelationInput[]
|
|
1538
|
+
/**
|
|
1539
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1540
|
+
*
|
|
1541
|
+
* Sets the position for listing TeamJoinRequests.
|
|
1542
|
+
*/
|
|
1543
|
+
cursor?: Prisma.TeamJoinRequestWhereUniqueInput
|
|
1544
|
+
/**
|
|
1545
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1546
|
+
*
|
|
1547
|
+
* Take `±n` TeamJoinRequests from the position of the cursor.
|
|
1548
|
+
*/
|
|
1549
|
+
take?: number
|
|
1550
|
+
/**
|
|
1551
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1552
|
+
*
|
|
1553
|
+
* Skip the first `n` TeamJoinRequests.
|
|
1554
|
+
*/
|
|
1555
|
+
skip?: number
|
|
1556
|
+
/**
|
|
1557
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1558
|
+
*
|
|
1559
|
+
* Filter by unique combinations of TeamJoinRequests.
|
|
1560
|
+
*/
|
|
1561
|
+
distinct?: Prisma.TeamJoinRequestScalarFieldEnum | Prisma.TeamJoinRequestScalarFieldEnum[]
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
|
+
/**
|
|
1565
|
+
* TeamJoinRequest create
|
|
1566
|
+
*/
|
|
1567
|
+
export type TeamJoinRequestCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1568
|
+
/**
|
|
1569
|
+
* Select specific fields to fetch from the TeamJoinRequest
|
|
1570
|
+
*/
|
|
1571
|
+
select?: Prisma.TeamJoinRequestSelect<ExtArgs> | null
|
|
1572
|
+
/**
|
|
1573
|
+
* Omit specific fields from the TeamJoinRequest
|
|
1574
|
+
*/
|
|
1575
|
+
omit?: Prisma.TeamJoinRequestOmit<ExtArgs> | null
|
|
1576
|
+
/**
|
|
1577
|
+
* Choose, which related nodes to fetch as well
|
|
1578
|
+
*/
|
|
1579
|
+
include?: Prisma.TeamJoinRequestInclude<ExtArgs> | null
|
|
1580
|
+
/**
|
|
1581
|
+
* The data needed to create a TeamJoinRequest.
|
|
1582
|
+
*/
|
|
1583
|
+
data: Prisma.XOR<Prisma.TeamJoinRequestCreateInput, Prisma.TeamJoinRequestUncheckedCreateInput>
|
|
1584
|
+
}
|
|
1585
|
+
|
|
1586
|
+
/**
|
|
1587
|
+
* TeamJoinRequest createMany
|
|
1588
|
+
*/
|
|
1589
|
+
export type TeamJoinRequestCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1590
|
+
/**
|
|
1591
|
+
* The data used to create many TeamJoinRequests.
|
|
1592
|
+
*/
|
|
1593
|
+
data: Prisma.TeamJoinRequestCreateManyInput | Prisma.TeamJoinRequestCreateManyInput[]
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1596
|
+
/**
|
|
1597
|
+
* TeamJoinRequest createManyAndReturn
|
|
1598
|
+
*/
|
|
1599
|
+
export type TeamJoinRequestCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1600
|
+
/**
|
|
1601
|
+
* Select specific fields to fetch from the TeamJoinRequest
|
|
1602
|
+
*/
|
|
1603
|
+
select?: Prisma.TeamJoinRequestSelectCreateManyAndReturn<ExtArgs> | null
|
|
1604
|
+
/**
|
|
1605
|
+
* Omit specific fields from the TeamJoinRequest
|
|
1606
|
+
*/
|
|
1607
|
+
omit?: Prisma.TeamJoinRequestOmit<ExtArgs> | null
|
|
1608
|
+
/**
|
|
1609
|
+
* The data used to create many TeamJoinRequests.
|
|
1610
|
+
*/
|
|
1611
|
+
data: Prisma.TeamJoinRequestCreateManyInput | Prisma.TeamJoinRequestCreateManyInput[]
|
|
1612
|
+
/**
|
|
1613
|
+
* Choose, which related nodes to fetch as well
|
|
1614
|
+
*/
|
|
1615
|
+
include?: Prisma.TeamJoinRequestIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1618
|
+
/**
|
|
1619
|
+
* TeamJoinRequest update
|
|
1620
|
+
*/
|
|
1621
|
+
export type TeamJoinRequestUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1622
|
+
/**
|
|
1623
|
+
* Select specific fields to fetch from the TeamJoinRequest
|
|
1624
|
+
*/
|
|
1625
|
+
select?: Prisma.TeamJoinRequestSelect<ExtArgs> | null
|
|
1626
|
+
/**
|
|
1627
|
+
* Omit specific fields from the TeamJoinRequest
|
|
1628
|
+
*/
|
|
1629
|
+
omit?: Prisma.TeamJoinRequestOmit<ExtArgs> | null
|
|
1630
|
+
/**
|
|
1631
|
+
* Choose, which related nodes to fetch as well
|
|
1632
|
+
*/
|
|
1633
|
+
include?: Prisma.TeamJoinRequestInclude<ExtArgs> | null
|
|
1634
|
+
/**
|
|
1635
|
+
* The data needed to update a TeamJoinRequest.
|
|
1636
|
+
*/
|
|
1637
|
+
data: Prisma.XOR<Prisma.TeamJoinRequestUpdateInput, Prisma.TeamJoinRequestUncheckedUpdateInput>
|
|
1638
|
+
/**
|
|
1639
|
+
* Choose, which TeamJoinRequest to update.
|
|
1640
|
+
*/
|
|
1641
|
+
where: Prisma.TeamJoinRequestWhereUniqueInput
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
/**
|
|
1645
|
+
* TeamJoinRequest updateMany
|
|
1646
|
+
*/
|
|
1647
|
+
export type TeamJoinRequestUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1648
|
+
/**
|
|
1649
|
+
* The data used to update TeamJoinRequests.
|
|
1650
|
+
*/
|
|
1651
|
+
data: Prisma.XOR<Prisma.TeamJoinRequestUpdateManyMutationInput, Prisma.TeamJoinRequestUncheckedUpdateManyInput>
|
|
1652
|
+
/**
|
|
1653
|
+
* Filter which TeamJoinRequests to update
|
|
1654
|
+
*/
|
|
1655
|
+
where?: Prisma.TeamJoinRequestWhereInput
|
|
1656
|
+
/**
|
|
1657
|
+
* Limit how many TeamJoinRequests to update.
|
|
1658
|
+
*/
|
|
1659
|
+
limit?: number
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
/**
|
|
1663
|
+
* TeamJoinRequest updateManyAndReturn
|
|
1664
|
+
*/
|
|
1665
|
+
export type TeamJoinRequestUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1666
|
+
/**
|
|
1667
|
+
* Select specific fields to fetch from the TeamJoinRequest
|
|
1668
|
+
*/
|
|
1669
|
+
select?: Prisma.TeamJoinRequestSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1670
|
+
/**
|
|
1671
|
+
* Omit specific fields from the TeamJoinRequest
|
|
1672
|
+
*/
|
|
1673
|
+
omit?: Prisma.TeamJoinRequestOmit<ExtArgs> | null
|
|
1674
|
+
/**
|
|
1675
|
+
* The data used to update TeamJoinRequests.
|
|
1676
|
+
*/
|
|
1677
|
+
data: Prisma.XOR<Prisma.TeamJoinRequestUpdateManyMutationInput, Prisma.TeamJoinRequestUncheckedUpdateManyInput>
|
|
1678
|
+
/**
|
|
1679
|
+
* Filter which TeamJoinRequests to update
|
|
1680
|
+
*/
|
|
1681
|
+
where?: Prisma.TeamJoinRequestWhereInput
|
|
1682
|
+
/**
|
|
1683
|
+
* Limit how many TeamJoinRequests to update.
|
|
1684
|
+
*/
|
|
1685
|
+
limit?: number
|
|
1686
|
+
/**
|
|
1687
|
+
* Choose, which related nodes to fetch as well
|
|
1688
|
+
*/
|
|
1689
|
+
include?: Prisma.TeamJoinRequestIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1692
|
+
/**
|
|
1693
|
+
* TeamJoinRequest upsert
|
|
1694
|
+
*/
|
|
1695
|
+
export type TeamJoinRequestUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1696
|
+
/**
|
|
1697
|
+
* Select specific fields to fetch from the TeamJoinRequest
|
|
1698
|
+
*/
|
|
1699
|
+
select?: Prisma.TeamJoinRequestSelect<ExtArgs> | null
|
|
1700
|
+
/**
|
|
1701
|
+
* Omit specific fields from the TeamJoinRequest
|
|
1702
|
+
*/
|
|
1703
|
+
omit?: Prisma.TeamJoinRequestOmit<ExtArgs> | null
|
|
1704
|
+
/**
|
|
1705
|
+
* Choose, which related nodes to fetch as well
|
|
1706
|
+
*/
|
|
1707
|
+
include?: Prisma.TeamJoinRequestInclude<ExtArgs> | null
|
|
1708
|
+
/**
|
|
1709
|
+
* The filter to search for the TeamJoinRequest to update in case it exists.
|
|
1710
|
+
*/
|
|
1711
|
+
where: Prisma.TeamJoinRequestWhereUniqueInput
|
|
1712
|
+
/**
|
|
1713
|
+
* In case the TeamJoinRequest found by the `where` argument doesn't exist, create a new TeamJoinRequest with this data.
|
|
1714
|
+
*/
|
|
1715
|
+
create: Prisma.XOR<Prisma.TeamJoinRequestCreateInput, Prisma.TeamJoinRequestUncheckedCreateInput>
|
|
1716
|
+
/**
|
|
1717
|
+
* In case the TeamJoinRequest was found with the provided `where` argument, update it with this data.
|
|
1718
|
+
*/
|
|
1719
|
+
update: Prisma.XOR<Prisma.TeamJoinRequestUpdateInput, Prisma.TeamJoinRequestUncheckedUpdateInput>
|
|
1720
|
+
}
|
|
1721
|
+
|
|
1722
|
+
/**
|
|
1723
|
+
* TeamJoinRequest delete
|
|
1724
|
+
*/
|
|
1725
|
+
export type TeamJoinRequestDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1726
|
+
/**
|
|
1727
|
+
* Select specific fields to fetch from the TeamJoinRequest
|
|
1728
|
+
*/
|
|
1729
|
+
select?: Prisma.TeamJoinRequestSelect<ExtArgs> | null
|
|
1730
|
+
/**
|
|
1731
|
+
* Omit specific fields from the TeamJoinRequest
|
|
1732
|
+
*/
|
|
1733
|
+
omit?: Prisma.TeamJoinRequestOmit<ExtArgs> | null
|
|
1734
|
+
/**
|
|
1735
|
+
* Choose, which related nodes to fetch as well
|
|
1736
|
+
*/
|
|
1737
|
+
include?: Prisma.TeamJoinRequestInclude<ExtArgs> | null
|
|
1738
|
+
/**
|
|
1739
|
+
* Filter which TeamJoinRequest to delete.
|
|
1740
|
+
*/
|
|
1741
|
+
where: Prisma.TeamJoinRequestWhereUniqueInput
|
|
1742
|
+
}
|
|
1743
|
+
|
|
1744
|
+
/**
|
|
1745
|
+
* TeamJoinRequest deleteMany
|
|
1746
|
+
*/
|
|
1747
|
+
export type TeamJoinRequestDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1748
|
+
/**
|
|
1749
|
+
* Filter which TeamJoinRequests to delete
|
|
1750
|
+
*/
|
|
1751
|
+
where?: Prisma.TeamJoinRequestWhereInput
|
|
1752
|
+
/**
|
|
1753
|
+
* Limit how many TeamJoinRequests to delete.
|
|
1754
|
+
*/
|
|
1755
|
+
limit?: number
|
|
1756
|
+
}
|
|
1757
|
+
|
|
1758
|
+
/**
|
|
1759
|
+
* TeamJoinRequest.applicant
|
|
1760
|
+
*/
|
|
1761
|
+
export type TeamJoinRequest$applicantArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1762
|
+
/**
|
|
1763
|
+
* Select specific fields to fetch from the User
|
|
1764
|
+
*/
|
|
1765
|
+
select?: Prisma.UserSelect<ExtArgs> | null
|
|
1766
|
+
/**
|
|
1767
|
+
* Omit specific fields from the User
|
|
1768
|
+
*/
|
|
1769
|
+
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
1770
|
+
/**
|
|
1771
|
+
* Choose, which related nodes to fetch as well
|
|
1772
|
+
*/
|
|
1773
|
+
include?: Prisma.UserInclude<ExtArgs> | null
|
|
1774
|
+
where?: Prisma.UserWhereInput
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1777
|
+
/**
|
|
1778
|
+
* TeamJoinRequest without action
|
|
1779
|
+
*/
|
|
1780
|
+
export type TeamJoinRequestDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1781
|
+
/**
|
|
1782
|
+
* Select specific fields to fetch from the TeamJoinRequest
|
|
1783
|
+
*/
|
|
1784
|
+
select?: Prisma.TeamJoinRequestSelect<ExtArgs> | null
|
|
1785
|
+
/**
|
|
1786
|
+
* Omit specific fields from the TeamJoinRequest
|
|
1787
|
+
*/
|
|
1788
|
+
omit?: Prisma.TeamJoinRequestOmit<ExtArgs> | null
|
|
1789
|
+
/**
|
|
1790
|
+
* Choose, which related nodes to fetch as well
|
|
1791
|
+
*/
|
|
1792
|
+
include?: Prisma.TeamJoinRequestInclude<ExtArgs> | null
|
|
1793
|
+
}
|