@allbluecn/database 0.11.0 → 0.12.1

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