@allbluecn/database 0.3.14 → 0.4.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.
- package/desktop-init.ts +128 -0
- package/generated/browser.ts +494 -0
- package/generated/client.ts +518 -0
- package/generated/commonInputTypes.ts +1056 -0
- package/generated/enums.ts +93 -0
- package/generated/internal/class.ts +1144 -0
- package/generated/internal/prismaNamespace.ts +9603 -0
- package/generated/internal/prismaNamespaceBrowser.ts +1695 -0
- package/generated/models/Account.ts +1648 -0
- package/generated/models/AgentConversation.ts +1651 -0
- package/generated/models/AgentMessage.ts +1409 -0
- package/generated/models/AiProvider.ts +1607 -0
- package/generated/models/AiProviderConfig.ts +1514 -0
- package/generated/models/AiUsageLog.ts +1863 -0
- package/generated/models/AnyHubApp.ts +1911 -0
- package/generated/models/AnyHubMarketApp.ts +2008 -0
- package/generated/models/AnyHubPermission.ts +1422 -0
- package/generated/models/AnyHubRecommendation.ts +1870 -0
- package/generated/models/AnyHubRecommender.ts +1471 -0
- package/generated/models/Artboard.ts +1811 -0
- package/generated/models/ArtboardExport.ts +1548 -0
- package/generated/models/ArticleFavorite.ts +1352 -0
- package/generated/models/AuditLog.ts +1533 -0
- package/generated/models/Block.ts +1650 -0
- package/generated/models/BlockComponent.ts +1734 -0
- package/generated/models/BlockInstance.ts +2043 -0
- package/generated/models/BookmarkCategory.ts +1670 -0
- package/generated/models/ChatInterrupt.ts +1699 -0
- package/generated/models/ChatMessage.ts +1438 -0
- package/generated/models/ChatRun.ts +1632 -0
- package/generated/models/ChatThread.ts +2133 -0
- package/generated/models/Comment.ts +2206 -0
- package/generated/models/CommentIgnore.ts +1430 -0
- package/generated/models/CommentReaction.ts +1472 -0
- package/generated/models/ComplianceExport.ts +1345 -0
- package/generated/models/Component.ts +2345 -0
- package/generated/models/ComponentInstance.ts +2102 -0
- package/generated/models/ComponentTag.ts +1281 -0
- package/generated/models/CustomRole.ts +1560 -0
- package/generated/models/DesignProject.ts +1643 -0
- package/generated/models/DictionaryTerm.ts +1642 -0
- package/generated/models/GenerationRun.ts +1543 -0
- package/generated/models/IndustryCompliance.ts +1797 -0
- package/generated/models/InvitationCode.ts +1417 -0
- package/generated/models/InvitationUse.ts +1424 -0
- package/generated/models/Invoice.ts +1710 -0
- package/generated/models/KnowledgeBase.ts +1671 -0
- package/generated/models/KnowledgeDocument.ts +2458 -0
- package/generated/models/KnowledgeShareRecord.ts +1352 -0
- package/generated/models/Label.ts +1482 -0
- package/generated/models/LegalRegulation.ts +1873 -0
- package/generated/models/LicenseActivation.ts +1415 -0
- package/generated/models/LicenseKey.ts +1884 -0
- package/generated/models/LoginLog.ts +1450 -0
- package/generated/models/MonitoringErrorReport.ts +1299 -0
- package/generated/models/MonitoringHealthSnapshot.ts +1249 -0
- package/generated/models/MonitoringMetricsSnapshot.ts +1369 -0
- package/generated/models/MonitoringRequestLog.ts +1283 -0
- package/generated/models/PRD.ts +2805 -0
- package/generated/models/PRDPage.ts +2402 -0
- package/generated/models/PRDTag.ts +1430 -0
- package/generated/models/PRDVersion.ts +2121 -0
- package/generated/models/PageVersion.ts +1523 -0
- package/generated/models/PasswordResetToken.ts +1380 -0
- package/generated/models/Plan.ts +2069 -0
- package/generated/models/Project.ts +2148 -0
- package/generated/models/ProjectActivity.ts +1582 -0
- package/generated/models/ProjectMember.ts +1512 -0
- package/generated/models/ProviderEvent.ts +1227 -0
- package/generated/models/Reference.ts +1177 -0
- package/generated/models/Review.ts +1912 -0
- package/generated/models/ReviewComment.ts +1904 -0
- package/generated/models/RoleAssignment.ts +1430 -0
- package/generated/models/SequenceCounter.ts +1137 -0
- package/generated/models/Share.ts +1681 -0
- package/generated/models/ShareVersion.ts +1389 -0
- package/generated/models/SsoMapping.ts +1512 -0
- package/generated/models/SsoProvider.ts +1639 -0
- package/generated/models/Story.ts +5234 -0
- package/generated/models/StoryActivity.ts +1664 -0
- package/generated/models/StoryAttachment.ts +1467 -0
- package/generated/models/StoryComment.ts +1992 -0
- package/generated/models/StoryDependency.ts +1517 -0
- package/generated/models/StoryDocLink.ts +1430 -0
- package/generated/models/StoryFilterView.ts +1587 -0
- package/generated/models/StoryLabel.ts +1349 -0
- package/generated/models/StoryLink.ts +1415 -0
- package/generated/models/StoryPrdLink.ts +1430 -0
- package/generated/models/StoryReaction.ts +1472 -0
- package/generated/models/Subscription.ts +2147 -0
- package/generated/models/SystemSetting.ts +1217 -0
- package/generated/models/Tag.ts +1655 -0
- package/generated/models/TeamInvitation.ts +1526 -0
- package/generated/models/TeamMembership.ts +1436 -0
- package/generated/models/Template.ts +1391 -0
- package/generated/models/TemplateBlock.ts +1664 -0
- package/generated/models/ThirdPartyDependency.ts +1473 -0
- package/generated/models/UsageRecord.ts +1505 -0
- package/generated/models/User.ts +20998 -0
- package/generated/models/UserAgent.ts +1900 -0
- package/generated/models/UserSkill.ts +1456 -0
- package/generated/models/WebsiteBookmark.ts +2219 -0
- package/generated/models/Workspace.ts +2279 -0
- package/generated/models.ts +106 -0
- package/generated-sqlite/browser.ts +399 -0
- package/generated-sqlite/client.ts +423 -0
- package/generated-sqlite/commonInputTypes.ts +608 -0
- package/generated-sqlite/enums.ts +15 -0
- package/generated-sqlite/internal/class.ts +954 -0
- package/generated-sqlite/internal/prismaNamespace.ts +7716 -0
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +1415 -0
- package/generated-sqlite/models/AgentConversation.ts +1647 -0
- package/generated-sqlite/models/AgentMessage.ts +1406 -0
- package/generated-sqlite/models/AiProvider.ts +1605 -0
- package/generated-sqlite/models/AiProviderConfig.ts +1511 -0
- package/generated-sqlite/models/AiUsageLog.ts +1845 -0
- package/generated-sqlite/models/AnyHubApp.ts +1908 -0
- package/generated-sqlite/models/AnyHubMarketApp.ts +1997 -0
- package/generated-sqlite/models/AnyHubPermission.ts +1419 -0
- package/generated-sqlite/models/AnyHubRecommendation.ts +1867 -0
- package/generated-sqlite/models/AnyHubRecommender.ts +1467 -0
- package/generated-sqlite/models/Artboard.ts +1808 -0
- package/generated-sqlite/models/ArtboardExport.ts +1545 -0
- package/generated-sqlite/models/ArticleFavorite.ts +1349 -0
- package/generated-sqlite/models/AuditLog.ts +1287 -0
- package/generated-sqlite/models/Block.ts +1648 -0
- package/generated-sqlite/models/BlockComponent.ts +1730 -0
- package/generated-sqlite/models/BlockInstance.ts +2039 -0
- package/generated-sqlite/models/BookmarkCategory.ts +1667 -0
- package/generated-sqlite/models/ChatInterrupt.ts +1695 -0
- package/generated-sqlite/models/ChatMessage.ts +1435 -0
- package/generated-sqlite/models/ChatRun.ts +1629 -0
- package/generated-sqlite/models/ChatThread.ts +2129 -0
- package/generated-sqlite/models/Comment.ts +2201 -0
- package/generated-sqlite/models/CommentIgnore.ts +1426 -0
- package/generated-sqlite/models/ComplianceExport.ts +1343 -0
- package/generated-sqlite/models/Component.ts +2326 -0
- package/generated-sqlite/models/ComponentInstance.ts +2097 -0
- package/generated-sqlite/models/ComponentTag.ts +1278 -0
- package/generated-sqlite/models/CustomRole.ts +1209 -0
- package/generated-sqlite/models/DesignProject.ts +1640 -0
- package/generated-sqlite/models/DictionaryTerm.ts +1639 -0
- package/generated-sqlite/models/GenerationRun.ts +1540 -0
- package/generated-sqlite/models/IndustryCompliance.ts +1794 -0
- package/generated-sqlite/models/InvitationCode.ts +1415 -0
- package/generated-sqlite/models/InvitationUse.ts +1420 -0
- package/generated-sqlite/models/Invoice.ts +1707 -0
- package/generated-sqlite/models/KnowledgeBase.ts +1668 -0
- package/generated-sqlite/models/KnowledgeDocument.ts +2282 -0
- package/generated-sqlite/models/KnowledgeShareRecord.ts +1349 -0
- package/generated-sqlite/models/LegalRegulation.ts +1870 -0
- package/generated-sqlite/models/LicenseActivation.ts +1203 -0
- package/generated-sqlite/models/LicenseKey.ts +1443 -0
- package/generated-sqlite/models/LoginLog.ts +1447 -0
- package/generated-sqlite/models/PRD.ts +2616 -0
- package/generated-sqlite/models/PRDPage.ts +2398 -0
- package/generated-sqlite/models/PRDTag.ts +1426 -0
- package/generated-sqlite/models/PRDVersion.ts +2117 -0
- package/generated-sqlite/models/PageVersion.ts +1528 -0
- package/generated-sqlite/models/PasswordResetToken.ts +1377 -0
- package/generated-sqlite/models/Plan.ts +2060 -0
- package/generated-sqlite/models/Project.ts +1994 -0
- package/generated-sqlite/models/ProjectActivity.ts +1578 -0
- package/generated-sqlite/models/ProjectMember.ts +1508 -0
- package/generated-sqlite/models/ProviderEvent.ts +1225 -0
- package/generated-sqlite/models/Reference.ts +1175 -0
- package/generated-sqlite/models/Review.ts +1903 -0
- package/generated-sqlite/models/ReviewComment.ts +1899 -0
- package/generated-sqlite/models/RoleAssignment.ts +1125 -0
- package/generated-sqlite/models/Share.ts +1674 -0
- package/generated-sqlite/models/ShareVersion.ts +1385 -0
- package/generated-sqlite/models/SsoMapping.ts +1181 -0
- package/generated-sqlite/models/SsoProvider.ts +1266 -0
- package/generated-sqlite/models/Subscription.ts +2137 -0
- package/generated-sqlite/models/SystemSetting.ts +1215 -0
- package/generated-sqlite/models/Tag.ts +1652 -0
- package/generated-sqlite/models/TeamInvitation.ts +1523 -0
- package/generated-sqlite/models/TeamMembership.ts +1433 -0
- package/generated-sqlite/models/Template.ts +1389 -0
- package/generated-sqlite/models/TemplateBlock.ts +1660 -0
- package/generated-sqlite/models/ThirdPartyDependency.ts +1471 -0
- package/generated-sqlite/models/UsageRecord.ts +1498 -0
- package/generated-sqlite/models/User.ts +13558 -0
- package/generated-sqlite/models/UserAgent.ts +1897 -0
- package/generated-sqlite/models/UserSkill.ts +1453 -0
- package/generated-sqlite/models/WebsiteBookmark.ts +2215 -0
- package/generated-sqlite/models/Workspace.ts +1824 -0
- package/generated-sqlite/models.ts +87 -0
- package/package.json +7 -3
- package/LICENSE +0 -661
|
@@ -0,0 +1,1424 @@
|
|
|
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 `InvitationUse` 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 InvitationUse
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type InvitationUseModel = runtime.Types.Result.DefaultSelection<Prisma.$InvitationUsePayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateInvitationUse = {
|
|
22
|
+
_count: InvitationUseCountAggregateOutputType | null
|
|
23
|
+
_min: InvitationUseMinAggregateOutputType | null
|
|
24
|
+
_max: InvitationUseMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type InvitationUseMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
codeId: string | null
|
|
30
|
+
userId: string | null
|
|
31
|
+
usedAt: Date | null
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export type InvitationUseMaxAggregateOutputType = {
|
|
35
|
+
id: string | null
|
|
36
|
+
codeId: string | null
|
|
37
|
+
userId: string | null
|
|
38
|
+
usedAt: Date | null
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export type InvitationUseCountAggregateOutputType = {
|
|
42
|
+
id: number
|
|
43
|
+
codeId: number
|
|
44
|
+
userId: number
|
|
45
|
+
usedAt: number
|
|
46
|
+
_all: number
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
export type InvitationUseMinAggregateInputType = {
|
|
51
|
+
id?: true
|
|
52
|
+
codeId?: true
|
|
53
|
+
userId?: true
|
|
54
|
+
usedAt?: true
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export type InvitationUseMaxAggregateInputType = {
|
|
58
|
+
id?: true
|
|
59
|
+
codeId?: true
|
|
60
|
+
userId?: true
|
|
61
|
+
usedAt?: true
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export type InvitationUseCountAggregateInputType = {
|
|
65
|
+
id?: true
|
|
66
|
+
codeId?: true
|
|
67
|
+
userId?: true
|
|
68
|
+
usedAt?: true
|
|
69
|
+
_all?: true
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export type InvitationUseAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
73
|
+
/**
|
|
74
|
+
* Filter which InvitationUse to aggregate.
|
|
75
|
+
*/
|
|
76
|
+
where?: Prisma.InvitationUseWhereInput
|
|
77
|
+
/**
|
|
78
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
79
|
+
*
|
|
80
|
+
* Determine the order of InvitationUses to fetch.
|
|
81
|
+
*/
|
|
82
|
+
orderBy?: Prisma.InvitationUseOrderByWithRelationInput | Prisma.InvitationUseOrderByWithRelationInput[]
|
|
83
|
+
/**
|
|
84
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
85
|
+
*
|
|
86
|
+
* Sets the start position
|
|
87
|
+
*/
|
|
88
|
+
cursor?: Prisma.InvitationUseWhereUniqueInput
|
|
89
|
+
/**
|
|
90
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
91
|
+
*
|
|
92
|
+
* Take `±n` InvitationUses from the position of the cursor.
|
|
93
|
+
*/
|
|
94
|
+
take?: number
|
|
95
|
+
/**
|
|
96
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
97
|
+
*
|
|
98
|
+
* Skip the first `n` InvitationUses.
|
|
99
|
+
*/
|
|
100
|
+
skip?: number
|
|
101
|
+
/**
|
|
102
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
103
|
+
*
|
|
104
|
+
* Count returned InvitationUses
|
|
105
|
+
**/
|
|
106
|
+
_count?: true | InvitationUseCountAggregateInputType
|
|
107
|
+
/**
|
|
108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
109
|
+
*
|
|
110
|
+
* Select which fields to find the minimum value
|
|
111
|
+
**/
|
|
112
|
+
_min?: InvitationUseMinAggregateInputType
|
|
113
|
+
/**
|
|
114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
115
|
+
*
|
|
116
|
+
* Select which fields to find the maximum value
|
|
117
|
+
**/
|
|
118
|
+
_max?: InvitationUseMaxAggregateInputType
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export type GetInvitationUseAggregateType<T extends InvitationUseAggregateArgs> = {
|
|
122
|
+
[P in keyof T & keyof AggregateInvitationUse]: P extends '_count' | 'count'
|
|
123
|
+
? T[P] extends true
|
|
124
|
+
? number
|
|
125
|
+
: Prisma.GetScalarType<T[P], AggregateInvitationUse[P]>
|
|
126
|
+
: Prisma.GetScalarType<T[P], AggregateInvitationUse[P]>
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
export type InvitationUseGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
133
|
+
where?: Prisma.InvitationUseWhereInput
|
|
134
|
+
orderBy?: Prisma.InvitationUseOrderByWithAggregationInput | Prisma.InvitationUseOrderByWithAggregationInput[]
|
|
135
|
+
by: Prisma.InvitationUseScalarFieldEnum[] | Prisma.InvitationUseScalarFieldEnum
|
|
136
|
+
having?: Prisma.InvitationUseScalarWhereWithAggregatesInput
|
|
137
|
+
take?: number
|
|
138
|
+
skip?: number
|
|
139
|
+
_count?: InvitationUseCountAggregateInputType | true
|
|
140
|
+
_min?: InvitationUseMinAggregateInputType
|
|
141
|
+
_max?: InvitationUseMaxAggregateInputType
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
export type InvitationUseGroupByOutputType = {
|
|
145
|
+
id: string
|
|
146
|
+
codeId: string
|
|
147
|
+
userId: string
|
|
148
|
+
usedAt: Date
|
|
149
|
+
_count: InvitationUseCountAggregateOutputType | null
|
|
150
|
+
_min: InvitationUseMinAggregateOutputType | null
|
|
151
|
+
_max: InvitationUseMaxAggregateOutputType | null
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export type GetInvitationUseGroupByPayload<T extends InvitationUseGroupByArgs> = Prisma.PrismaPromise<
|
|
155
|
+
Array<
|
|
156
|
+
Prisma.PickEnumerable<InvitationUseGroupByOutputType, T['by']> &
|
|
157
|
+
{
|
|
158
|
+
[P in ((keyof T) & (keyof InvitationUseGroupByOutputType))]: P extends '_count'
|
|
159
|
+
? T[P] extends boolean
|
|
160
|
+
? number
|
|
161
|
+
: Prisma.GetScalarType<T[P], InvitationUseGroupByOutputType[P]>
|
|
162
|
+
: Prisma.GetScalarType<T[P], InvitationUseGroupByOutputType[P]>
|
|
163
|
+
}
|
|
164
|
+
>
|
|
165
|
+
>
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
export type InvitationUseWhereInput = {
|
|
170
|
+
AND?: Prisma.InvitationUseWhereInput | Prisma.InvitationUseWhereInput[]
|
|
171
|
+
OR?: Prisma.InvitationUseWhereInput[]
|
|
172
|
+
NOT?: Prisma.InvitationUseWhereInput | Prisma.InvitationUseWhereInput[]
|
|
173
|
+
id?: Prisma.StringFilter<"InvitationUse"> | string
|
|
174
|
+
codeId?: Prisma.StringFilter<"InvitationUse"> | string
|
|
175
|
+
userId?: Prisma.StringFilter<"InvitationUse"> | string
|
|
176
|
+
usedAt?: Prisma.DateTimeFilter<"InvitationUse"> | Date | string
|
|
177
|
+
code?: Prisma.XOR<Prisma.InvitationCodeScalarRelationFilter, Prisma.InvitationCodeWhereInput>
|
|
178
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export type InvitationUseOrderByWithRelationInput = {
|
|
182
|
+
id?: Prisma.SortOrder
|
|
183
|
+
codeId?: Prisma.SortOrder
|
|
184
|
+
userId?: Prisma.SortOrder
|
|
185
|
+
usedAt?: Prisma.SortOrder
|
|
186
|
+
code?: Prisma.InvitationCodeOrderByWithRelationInput
|
|
187
|
+
user?: Prisma.UserOrderByWithRelationInput
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export type InvitationUseWhereUniqueInput = Prisma.AtLeast<{
|
|
191
|
+
id?: string
|
|
192
|
+
AND?: Prisma.InvitationUseWhereInput | Prisma.InvitationUseWhereInput[]
|
|
193
|
+
OR?: Prisma.InvitationUseWhereInput[]
|
|
194
|
+
NOT?: Prisma.InvitationUseWhereInput | Prisma.InvitationUseWhereInput[]
|
|
195
|
+
codeId?: Prisma.StringFilter<"InvitationUse"> | string
|
|
196
|
+
userId?: Prisma.StringFilter<"InvitationUse"> | string
|
|
197
|
+
usedAt?: Prisma.DateTimeFilter<"InvitationUse"> | Date | string
|
|
198
|
+
code?: Prisma.XOR<Prisma.InvitationCodeScalarRelationFilter, Prisma.InvitationCodeWhereInput>
|
|
199
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
200
|
+
}, "id">
|
|
201
|
+
|
|
202
|
+
export type InvitationUseOrderByWithAggregationInput = {
|
|
203
|
+
id?: Prisma.SortOrder
|
|
204
|
+
codeId?: Prisma.SortOrder
|
|
205
|
+
userId?: Prisma.SortOrder
|
|
206
|
+
usedAt?: Prisma.SortOrder
|
|
207
|
+
_count?: Prisma.InvitationUseCountOrderByAggregateInput
|
|
208
|
+
_max?: Prisma.InvitationUseMaxOrderByAggregateInput
|
|
209
|
+
_min?: Prisma.InvitationUseMinOrderByAggregateInput
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
export type InvitationUseScalarWhereWithAggregatesInput = {
|
|
213
|
+
AND?: Prisma.InvitationUseScalarWhereWithAggregatesInput | Prisma.InvitationUseScalarWhereWithAggregatesInput[]
|
|
214
|
+
OR?: Prisma.InvitationUseScalarWhereWithAggregatesInput[]
|
|
215
|
+
NOT?: Prisma.InvitationUseScalarWhereWithAggregatesInput | Prisma.InvitationUseScalarWhereWithAggregatesInput[]
|
|
216
|
+
id?: Prisma.StringWithAggregatesFilter<"InvitationUse"> | string
|
|
217
|
+
codeId?: Prisma.StringWithAggregatesFilter<"InvitationUse"> | string
|
|
218
|
+
userId?: Prisma.StringWithAggregatesFilter<"InvitationUse"> | string
|
|
219
|
+
usedAt?: Prisma.DateTimeWithAggregatesFilter<"InvitationUse"> | Date | string
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
export type InvitationUseCreateInput = {
|
|
223
|
+
id?: string
|
|
224
|
+
usedAt?: Date | string
|
|
225
|
+
code: Prisma.InvitationCodeCreateNestedOneWithoutUsesInput
|
|
226
|
+
user: Prisma.UserCreateNestedOneWithoutInvitationUsesInput
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
export type InvitationUseUncheckedCreateInput = {
|
|
230
|
+
id?: string
|
|
231
|
+
codeId: string
|
|
232
|
+
userId: string
|
|
233
|
+
usedAt?: Date | string
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
export type InvitationUseUpdateInput = {
|
|
237
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
238
|
+
usedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
239
|
+
code?: Prisma.InvitationCodeUpdateOneRequiredWithoutUsesNestedInput
|
|
240
|
+
user?: Prisma.UserUpdateOneRequiredWithoutInvitationUsesNestedInput
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
export type InvitationUseUncheckedUpdateInput = {
|
|
244
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
245
|
+
codeId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
246
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
247
|
+
usedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
export type InvitationUseCreateManyInput = {
|
|
251
|
+
id?: string
|
|
252
|
+
codeId: string
|
|
253
|
+
userId: string
|
|
254
|
+
usedAt?: Date | string
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export type InvitationUseUpdateManyMutationInput = {
|
|
258
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
259
|
+
usedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export type InvitationUseUncheckedUpdateManyInput = {
|
|
263
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
264
|
+
codeId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
265
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
266
|
+
usedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
export type InvitationUseListRelationFilter = {
|
|
270
|
+
every?: Prisma.InvitationUseWhereInput
|
|
271
|
+
some?: Prisma.InvitationUseWhereInput
|
|
272
|
+
none?: Prisma.InvitationUseWhereInput
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export type InvitationUseOrderByRelationAggregateInput = {
|
|
276
|
+
_count?: Prisma.SortOrder
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export type InvitationUseCountOrderByAggregateInput = {
|
|
280
|
+
id?: Prisma.SortOrder
|
|
281
|
+
codeId?: Prisma.SortOrder
|
|
282
|
+
userId?: Prisma.SortOrder
|
|
283
|
+
usedAt?: Prisma.SortOrder
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
export type InvitationUseMaxOrderByAggregateInput = {
|
|
287
|
+
id?: Prisma.SortOrder
|
|
288
|
+
codeId?: Prisma.SortOrder
|
|
289
|
+
userId?: Prisma.SortOrder
|
|
290
|
+
usedAt?: Prisma.SortOrder
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
export type InvitationUseMinOrderByAggregateInput = {
|
|
294
|
+
id?: Prisma.SortOrder
|
|
295
|
+
codeId?: Prisma.SortOrder
|
|
296
|
+
userId?: Prisma.SortOrder
|
|
297
|
+
usedAt?: Prisma.SortOrder
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export type InvitationUseCreateNestedManyWithoutUserInput = {
|
|
301
|
+
create?: Prisma.XOR<Prisma.InvitationUseCreateWithoutUserInput, Prisma.InvitationUseUncheckedCreateWithoutUserInput> | Prisma.InvitationUseCreateWithoutUserInput[] | Prisma.InvitationUseUncheckedCreateWithoutUserInput[]
|
|
302
|
+
connectOrCreate?: Prisma.InvitationUseCreateOrConnectWithoutUserInput | Prisma.InvitationUseCreateOrConnectWithoutUserInput[]
|
|
303
|
+
createMany?: Prisma.InvitationUseCreateManyUserInputEnvelope
|
|
304
|
+
connect?: Prisma.InvitationUseWhereUniqueInput | Prisma.InvitationUseWhereUniqueInput[]
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
export type InvitationUseUncheckedCreateNestedManyWithoutUserInput = {
|
|
308
|
+
create?: Prisma.XOR<Prisma.InvitationUseCreateWithoutUserInput, Prisma.InvitationUseUncheckedCreateWithoutUserInput> | Prisma.InvitationUseCreateWithoutUserInput[] | Prisma.InvitationUseUncheckedCreateWithoutUserInput[]
|
|
309
|
+
connectOrCreate?: Prisma.InvitationUseCreateOrConnectWithoutUserInput | Prisma.InvitationUseCreateOrConnectWithoutUserInput[]
|
|
310
|
+
createMany?: Prisma.InvitationUseCreateManyUserInputEnvelope
|
|
311
|
+
connect?: Prisma.InvitationUseWhereUniqueInput | Prisma.InvitationUseWhereUniqueInput[]
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export type InvitationUseUpdateManyWithoutUserNestedInput = {
|
|
315
|
+
create?: Prisma.XOR<Prisma.InvitationUseCreateWithoutUserInput, Prisma.InvitationUseUncheckedCreateWithoutUserInput> | Prisma.InvitationUseCreateWithoutUserInput[] | Prisma.InvitationUseUncheckedCreateWithoutUserInput[]
|
|
316
|
+
connectOrCreate?: Prisma.InvitationUseCreateOrConnectWithoutUserInput | Prisma.InvitationUseCreateOrConnectWithoutUserInput[]
|
|
317
|
+
upsert?: Prisma.InvitationUseUpsertWithWhereUniqueWithoutUserInput | Prisma.InvitationUseUpsertWithWhereUniqueWithoutUserInput[]
|
|
318
|
+
createMany?: Prisma.InvitationUseCreateManyUserInputEnvelope
|
|
319
|
+
set?: Prisma.InvitationUseWhereUniqueInput | Prisma.InvitationUseWhereUniqueInput[]
|
|
320
|
+
disconnect?: Prisma.InvitationUseWhereUniqueInput | Prisma.InvitationUseWhereUniqueInput[]
|
|
321
|
+
delete?: Prisma.InvitationUseWhereUniqueInput | Prisma.InvitationUseWhereUniqueInput[]
|
|
322
|
+
connect?: Prisma.InvitationUseWhereUniqueInput | Prisma.InvitationUseWhereUniqueInput[]
|
|
323
|
+
update?: Prisma.InvitationUseUpdateWithWhereUniqueWithoutUserInput | Prisma.InvitationUseUpdateWithWhereUniqueWithoutUserInput[]
|
|
324
|
+
updateMany?: Prisma.InvitationUseUpdateManyWithWhereWithoutUserInput | Prisma.InvitationUseUpdateManyWithWhereWithoutUserInput[]
|
|
325
|
+
deleteMany?: Prisma.InvitationUseScalarWhereInput | Prisma.InvitationUseScalarWhereInput[]
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
export type InvitationUseUncheckedUpdateManyWithoutUserNestedInput = {
|
|
329
|
+
create?: Prisma.XOR<Prisma.InvitationUseCreateWithoutUserInput, Prisma.InvitationUseUncheckedCreateWithoutUserInput> | Prisma.InvitationUseCreateWithoutUserInput[] | Prisma.InvitationUseUncheckedCreateWithoutUserInput[]
|
|
330
|
+
connectOrCreate?: Prisma.InvitationUseCreateOrConnectWithoutUserInput | Prisma.InvitationUseCreateOrConnectWithoutUserInput[]
|
|
331
|
+
upsert?: Prisma.InvitationUseUpsertWithWhereUniqueWithoutUserInput | Prisma.InvitationUseUpsertWithWhereUniqueWithoutUserInput[]
|
|
332
|
+
createMany?: Prisma.InvitationUseCreateManyUserInputEnvelope
|
|
333
|
+
set?: Prisma.InvitationUseWhereUniqueInput | Prisma.InvitationUseWhereUniqueInput[]
|
|
334
|
+
disconnect?: Prisma.InvitationUseWhereUniqueInput | Prisma.InvitationUseWhereUniqueInput[]
|
|
335
|
+
delete?: Prisma.InvitationUseWhereUniqueInput | Prisma.InvitationUseWhereUniqueInput[]
|
|
336
|
+
connect?: Prisma.InvitationUseWhereUniqueInput | Prisma.InvitationUseWhereUniqueInput[]
|
|
337
|
+
update?: Prisma.InvitationUseUpdateWithWhereUniqueWithoutUserInput | Prisma.InvitationUseUpdateWithWhereUniqueWithoutUserInput[]
|
|
338
|
+
updateMany?: Prisma.InvitationUseUpdateManyWithWhereWithoutUserInput | Prisma.InvitationUseUpdateManyWithWhereWithoutUserInput[]
|
|
339
|
+
deleteMany?: Prisma.InvitationUseScalarWhereInput | Prisma.InvitationUseScalarWhereInput[]
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export type InvitationUseCreateNestedManyWithoutCodeInput = {
|
|
343
|
+
create?: Prisma.XOR<Prisma.InvitationUseCreateWithoutCodeInput, Prisma.InvitationUseUncheckedCreateWithoutCodeInput> | Prisma.InvitationUseCreateWithoutCodeInput[] | Prisma.InvitationUseUncheckedCreateWithoutCodeInput[]
|
|
344
|
+
connectOrCreate?: Prisma.InvitationUseCreateOrConnectWithoutCodeInput | Prisma.InvitationUseCreateOrConnectWithoutCodeInput[]
|
|
345
|
+
createMany?: Prisma.InvitationUseCreateManyCodeInputEnvelope
|
|
346
|
+
connect?: Prisma.InvitationUseWhereUniqueInput | Prisma.InvitationUseWhereUniqueInput[]
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
export type InvitationUseUncheckedCreateNestedManyWithoutCodeInput = {
|
|
350
|
+
create?: Prisma.XOR<Prisma.InvitationUseCreateWithoutCodeInput, Prisma.InvitationUseUncheckedCreateWithoutCodeInput> | Prisma.InvitationUseCreateWithoutCodeInput[] | Prisma.InvitationUseUncheckedCreateWithoutCodeInput[]
|
|
351
|
+
connectOrCreate?: Prisma.InvitationUseCreateOrConnectWithoutCodeInput | Prisma.InvitationUseCreateOrConnectWithoutCodeInput[]
|
|
352
|
+
createMany?: Prisma.InvitationUseCreateManyCodeInputEnvelope
|
|
353
|
+
connect?: Prisma.InvitationUseWhereUniqueInput | Prisma.InvitationUseWhereUniqueInput[]
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
export type InvitationUseUpdateManyWithoutCodeNestedInput = {
|
|
357
|
+
create?: Prisma.XOR<Prisma.InvitationUseCreateWithoutCodeInput, Prisma.InvitationUseUncheckedCreateWithoutCodeInput> | Prisma.InvitationUseCreateWithoutCodeInput[] | Prisma.InvitationUseUncheckedCreateWithoutCodeInput[]
|
|
358
|
+
connectOrCreate?: Prisma.InvitationUseCreateOrConnectWithoutCodeInput | Prisma.InvitationUseCreateOrConnectWithoutCodeInput[]
|
|
359
|
+
upsert?: Prisma.InvitationUseUpsertWithWhereUniqueWithoutCodeInput | Prisma.InvitationUseUpsertWithWhereUniqueWithoutCodeInput[]
|
|
360
|
+
createMany?: Prisma.InvitationUseCreateManyCodeInputEnvelope
|
|
361
|
+
set?: Prisma.InvitationUseWhereUniqueInput | Prisma.InvitationUseWhereUniqueInput[]
|
|
362
|
+
disconnect?: Prisma.InvitationUseWhereUniqueInput | Prisma.InvitationUseWhereUniqueInput[]
|
|
363
|
+
delete?: Prisma.InvitationUseWhereUniqueInput | Prisma.InvitationUseWhereUniqueInput[]
|
|
364
|
+
connect?: Prisma.InvitationUseWhereUniqueInput | Prisma.InvitationUseWhereUniqueInput[]
|
|
365
|
+
update?: Prisma.InvitationUseUpdateWithWhereUniqueWithoutCodeInput | Prisma.InvitationUseUpdateWithWhereUniqueWithoutCodeInput[]
|
|
366
|
+
updateMany?: Prisma.InvitationUseUpdateManyWithWhereWithoutCodeInput | Prisma.InvitationUseUpdateManyWithWhereWithoutCodeInput[]
|
|
367
|
+
deleteMany?: Prisma.InvitationUseScalarWhereInput | Prisma.InvitationUseScalarWhereInput[]
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
export type InvitationUseUncheckedUpdateManyWithoutCodeNestedInput = {
|
|
371
|
+
create?: Prisma.XOR<Prisma.InvitationUseCreateWithoutCodeInput, Prisma.InvitationUseUncheckedCreateWithoutCodeInput> | Prisma.InvitationUseCreateWithoutCodeInput[] | Prisma.InvitationUseUncheckedCreateWithoutCodeInput[]
|
|
372
|
+
connectOrCreate?: Prisma.InvitationUseCreateOrConnectWithoutCodeInput | Prisma.InvitationUseCreateOrConnectWithoutCodeInput[]
|
|
373
|
+
upsert?: Prisma.InvitationUseUpsertWithWhereUniqueWithoutCodeInput | Prisma.InvitationUseUpsertWithWhereUniqueWithoutCodeInput[]
|
|
374
|
+
createMany?: Prisma.InvitationUseCreateManyCodeInputEnvelope
|
|
375
|
+
set?: Prisma.InvitationUseWhereUniqueInput | Prisma.InvitationUseWhereUniqueInput[]
|
|
376
|
+
disconnect?: Prisma.InvitationUseWhereUniqueInput | Prisma.InvitationUseWhereUniqueInput[]
|
|
377
|
+
delete?: Prisma.InvitationUseWhereUniqueInput | Prisma.InvitationUseWhereUniqueInput[]
|
|
378
|
+
connect?: Prisma.InvitationUseWhereUniqueInput | Prisma.InvitationUseWhereUniqueInput[]
|
|
379
|
+
update?: Prisma.InvitationUseUpdateWithWhereUniqueWithoutCodeInput | Prisma.InvitationUseUpdateWithWhereUniqueWithoutCodeInput[]
|
|
380
|
+
updateMany?: Prisma.InvitationUseUpdateManyWithWhereWithoutCodeInput | Prisma.InvitationUseUpdateManyWithWhereWithoutCodeInput[]
|
|
381
|
+
deleteMany?: Prisma.InvitationUseScalarWhereInput | Prisma.InvitationUseScalarWhereInput[]
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
export type InvitationUseCreateWithoutUserInput = {
|
|
385
|
+
id?: string
|
|
386
|
+
usedAt?: Date | string
|
|
387
|
+
code: Prisma.InvitationCodeCreateNestedOneWithoutUsesInput
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
export type InvitationUseUncheckedCreateWithoutUserInput = {
|
|
391
|
+
id?: string
|
|
392
|
+
codeId: string
|
|
393
|
+
usedAt?: Date | string
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
export type InvitationUseCreateOrConnectWithoutUserInput = {
|
|
397
|
+
where: Prisma.InvitationUseWhereUniqueInput
|
|
398
|
+
create: Prisma.XOR<Prisma.InvitationUseCreateWithoutUserInput, Prisma.InvitationUseUncheckedCreateWithoutUserInput>
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
export type InvitationUseCreateManyUserInputEnvelope = {
|
|
402
|
+
data: Prisma.InvitationUseCreateManyUserInput | Prisma.InvitationUseCreateManyUserInput[]
|
|
403
|
+
skipDuplicates?: boolean
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
export type InvitationUseUpsertWithWhereUniqueWithoutUserInput = {
|
|
407
|
+
where: Prisma.InvitationUseWhereUniqueInput
|
|
408
|
+
update: Prisma.XOR<Prisma.InvitationUseUpdateWithoutUserInput, Prisma.InvitationUseUncheckedUpdateWithoutUserInput>
|
|
409
|
+
create: Prisma.XOR<Prisma.InvitationUseCreateWithoutUserInput, Prisma.InvitationUseUncheckedCreateWithoutUserInput>
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
export type InvitationUseUpdateWithWhereUniqueWithoutUserInput = {
|
|
413
|
+
where: Prisma.InvitationUseWhereUniqueInput
|
|
414
|
+
data: Prisma.XOR<Prisma.InvitationUseUpdateWithoutUserInput, Prisma.InvitationUseUncheckedUpdateWithoutUserInput>
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
export type InvitationUseUpdateManyWithWhereWithoutUserInput = {
|
|
418
|
+
where: Prisma.InvitationUseScalarWhereInput
|
|
419
|
+
data: Prisma.XOR<Prisma.InvitationUseUpdateManyMutationInput, Prisma.InvitationUseUncheckedUpdateManyWithoutUserInput>
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
export type InvitationUseScalarWhereInput = {
|
|
423
|
+
AND?: Prisma.InvitationUseScalarWhereInput | Prisma.InvitationUseScalarWhereInput[]
|
|
424
|
+
OR?: Prisma.InvitationUseScalarWhereInput[]
|
|
425
|
+
NOT?: Prisma.InvitationUseScalarWhereInput | Prisma.InvitationUseScalarWhereInput[]
|
|
426
|
+
id?: Prisma.StringFilter<"InvitationUse"> | string
|
|
427
|
+
codeId?: Prisma.StringFilter<"InvitationUse"> | string
|
|
428
|
+
userId?: Prisma.StringFilter<"InvitationUse"> | string
|
|
429
|
+
usedAt?: Prisma.DateTimeFilter<"InvitationUse"> | Date | string
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
export type InvitationUseCreateWithoutCodeInput = {
|
|
433
|
+
id?: string
|
|
434
|
+
usedAt?: Date | string
|
|
435
|
+
user: Prisma.UserCreateNestedOneWithoutInvitationUsesInput
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
export type InvitationUseUncheckedCreateWithoutCodeInput = {
|
|
439
|
+
id?: string
|
|
440
|
+
userId: string
|
|
441
|
+
usedAt?: Date | string
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
export type InvitationUseCreateOrConnectWithoutCodeInput = {
|
|
445
|
+
where: Prisma.InvitationUseWhereUniqueInput
|
|
446
|
+
create: Prisma.XOR<Prisma.InvitationUseCreateWithoutCodeInput, Prisma.InvitationUseUncheckedCreateWithoutCodeInput>
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
export type InvitationUseCreateManyCodeInputEnvelope = {
|
|
450
|
+
data: Prisma.InvitationUseCreateManyCodeInput | Prisma.InvitationUseCreateManyCodeInput[]
|
|
451
|
+
skipDuplicates?: boolean
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
export type InvitationUseUpsertWithWhereUniqueWithoutCodeInput = {
|
|
455
|
+
where: Prisma.InvitationUseWhereUniqueInput
|
|
456
|
+
update: Prisma.XOR<Prisma.InvitationUseUpdateWithoutCodeInput, Prisma.InvitationUseUncheckedUpdateWithoutCodeInput>
|
|
457
|
+
create: Prisma.XOR<Prisma.InvitationUseCreateWithoutCodeInput, Prisma.InvitationUseUncheckedCreateWithoutCodeInput>
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
export type InvitationUseUpdateWithWhereUniqueWithoutCodeInput = {
|
|
461
|
+
where: Prisma.InvitationUseWhereUniqueInput
|
|
462
|
+
data: Prisma.XOR<Prisma.InvitationUseUpdateWithoutCodeInput, Prisma.InvitationUseUncheckedUpdateWithoutCodeInput>
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
export type InvitationUseUpdateManyWithWhereWithoutCodeInput = {
|
|
466
|
+
where: Prisma.InvitationUseScalarWhereInput
|
|
467
|
+
data: Prisma.XOR<Prisma.InvitationUseUpdateManyMutationInput, Prisma.InvitationUseUncheckedUpdateManyWithoutCodeInput>
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
export type InvitationUseCreateManyUserInput = {
|
|
471
|
+
id?: string
|
|
472
|
+
codeId: string
|
|
473
|
+
usedAt?: Date | string
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
export type InvitationUseUpdateWithoutUserInput = {
|
|
477
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
478
|
+
usedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
479
|
+
code?: Prisma.InvitationCodeUpdateOneRequiredWithoutUsesNestedInput
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
export type InvitationUseUncheckedUpdateWithoutUserInput = {
|
|
483
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
484
|
+
codeId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
485
|
+
usedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
export type InvitationUseUncheckedUpdateManyWithoutUserInput = {
|
|
489
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
490
|
+
codeId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
491
|
+
usedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
export type InvitationUseCreateManyCodeInput = {
|
|
495
|
+
id?: string
|
|
496
|
+
userId: string
|
|
497
|
+
usedAt?: Date | string
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
export type InvitationUseUpdateWithoutCodeInput = {
|
|
501
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
502
|
+
usedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
503
|
+
user?: Prisma.UserUpdateOneRequiredWithoutInvitationUsesNestedInput
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
export type InvitationUseUncheckedUpdateWithoutCodeInput = {
|
|
507
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
508
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
509
|
+
usedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
export type InvitationUseUncheckedUpdateManyWithoutCodeInput = {
|
|
513
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
514
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
515
|
+
usedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
export type InvitationUseSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
521
|
+
id?: boolean
|
|
522
|
+
codeId?: boolean
|
|
523
|
+
userId?: boolean
|
|
524
|
+
usedAt?: boolean
|
|
525
|
+
code?: boolean | Prisma.InvitationCodeDefaultArgs<ExtArgs>
|
|
526
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
527
|
+
}, ExtArgs["result"]["invitationUse"]>
|
|
528
|
+
|
|
529
|
+
export type InvitationUseSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
530
|
+
id?: boolean
|
|
531
|
+
codeId?: boolean
|
|
532
|
+
userId?: boolean
|
|
533
|
+
usedAt?: boolean
|
|
534
|
+
code?: boolean | Prisma.InvitationCodeDefaultArgs<ExtArgs>
|
|
535
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
536
|
+
}, ExtArgs["result"]["invitationUse"]>
|
|
537
|
+
|
|
538
|
+
export type InvitationUseSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
539
|
+
id?: boolean
|
|
540
|
+
codeId?: boolean
|
|
541
|
+
userId?: boolean
|
|
542
|
+
usedAt?: boolean
|
|
543
|
+
code?: boolean | Prisma.InvitationCodeDefaultArgs<ExtArgs>
|
|
544
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
545
|
+
}, ExtArgs["result"]["invitationUse"]>
|
|
546
|
+
|
|
547
|
+
export type InvitationUseSelectScalar = {
|
|
548
|
+
id?: boolean
|
|
549
|
+
codeId?: boolean
|
|
550
|
+
userId?: boolean
|
|
551
|
+
usedAt?: boolean
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
export type InvitationUseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "codeId" | "userId" | "usedAt", ExtArgs["result"]["invitationUse"]>
|
|
555
|
+
export type InvitationUseInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
556
|
+
code?: boolean | Prisma.InvitationCodeDefaultArgs<ExtArgs>
|
|
557
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
558
|
+
}
|
|
559
|
+
export type InvitationUseIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
560
|
+
code?: boolean | Prisma.InvitationCodeDefaultArgs<ExtArgs>
|
|
561
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
562
|
+
}
|
|
563
|
+
export type InvitationUseIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
564
|
+
code?: boolean | Prisma.InvitationCodeDefaultArgs<ExtArgs>
|
|
565
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
export type $InvitationUsePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
569
|
+
name: "InvitationUse"
|
|
570
|
+
objects: {
|
|
571
|
+
code: Prisma.$InvitationCodePayload<ExtArgs>
|
|
572
|
+
user: Prisma.$UserPayload<ExtArgs>
|
|
573
|
+
}
|
|
574
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
575
|
+
id: string
|
|
576
|
+
codeId: string
|
|
577
|
+
userId: string
|
|
578
|
+
usedAt: Date
|
|
579
|
+
}, ExtArgs["result"]["invitationUse"]>
|
|
580
|
+
composites: {}
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
export type InvitationUseGetPayload<S extends boolean | null | undefined | InvitationUseDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$InvitationUsePayload, S>
|
|
584
|
+
|
|
585
|
+
export type InvitationUseCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
586
|
+
Omit<InvitationUseFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
587
|
+
select?: InvitationUseCountAggregateInputType | true
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
export interface InvitationUseDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
591
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['InvitationUse'], meta: { name: 'InvitationUse' } }
|
|
592
|
+
/**
|
|
593
|
+
* Find zero or one InvitationUse that matches the filter.
|
|
594
|
+
* @param {InvitationUseFindUniqueArgs} args - Arguments to find a InvitationUse
|
|
595
|
+
* @example
|
|
596
|
+
* // Get one InvitationUse
|
|
597
|
+
* const invitationUse = await prisma.invitationUse.findUnique({
|
|
598
|
+
* where: {
|
|
599
|
+
* // ... provide filter here
|
|
600
|
+
* }
|
|
601
|
+
* })
|
|
602
|
+
*/
|
|
603
|
+
findUnique<T extends InvitationUseFindUniqueArgs>(args: Prisma.SelectSubset<T, InvitationUseFindUniqueArgs<ExtArgs>>): Prisma.Prisma__InvitationUseClient<runtime.Types.Result.GetResult<Prisma.$InvitationUsePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* Find one InvitationUse that matches the filter or throw an error with `error.code='P2025'`
|
|
607
|
+
* if no matches were found.
|
|
608
|
+
* @param {InvitationUseFindUniqueOrThrowArgs} args - Arguments to find a InvitationUse
|
|
609
|
+
* @example
|
|
610
|
+
* // Get one InvitationUse
|
|
611
|
+
* const invitationUse = await prisma.invitationUse.findUniqueOrThrow({
|
|
612
|
+
* where: {
|
|
613
|
+
* // ... provide filter here
|
|
614
|
+
* }
|
|
615
|
+
* })
|
|
616
|
+
*/
|
|
617
|
+
findUniqueOrThrow<T extends InvitationUseFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, InvitationUseFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__InvitationUseClient<runtime.Types.Result.GetResult<Prisma.$InvitationUsePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* Find the first InvitationUse that matches the filter.
|
|
621
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
622
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
623
|
+
* @param {InvitationUseFindFirstArgs} args - Arguments to find a InvitationUse
|
|
624
|
+
* @example
|
|
625
|
+
* // Get one InvitationUse
|
|
626
|
+
* const invitationUse = await prisma.invitationUse.findFirst({
|
|
627
|
+
* where: {
|
|
628
|
+
* // ... provide filter here
|
|
629
|
+
* }
|
|
630
|
+
* })
|
|
631
|
+
*/
|
|
632
|
+
findFirst<T extends InvitationUseFindFirstArgs>(args?: Prisma.SelectSubset<T, InvitationUseFindFirstArgs<ExtArgs>>): Prisma.Prisma__InvitationUseClient<runtime.Types.Result.GetResult<Prisma.$InvitationUsePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
633
|
+
|
|
634
|
+
/**
|
|
635
|
+
* Find the first InvitationUse that matches the filter or
|
|
636
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
637
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
638
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
639
|
+
* @param {InvitationUseFindFirstOrThrowArgs} args - Arguments to find a InvitationUse
|
|
640
|
+
* @example
|
|
641
|
+
* // Get one InvitationUse
|
|
642
|
+
* const invitationUse = await prisma.invitationUse.findFirstOrThrow({
|
|
643
|
+
* where: {
|
|
644
|
+
* // ... provide filter here
|
|
645
|
+
* }
|
|
646
|
+
* })
|
|
647
|
+
*/
|
|
648
|
+
findFirstOrThrow<T extends InvitationUseFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, InvitationUseFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__InvitationUseClient<runtime.Types.Result.GetResult<Prisma.$InvitationUsePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* Find zero or more InvitationUses that matches the filter.
|
|
652
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
653
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
654
|
+
* @param {InvitationUseFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
655
|
+
* @example
|
|
656
|
+
* // Get all InvitationUses
|
|
657
|
+
* const invitationUses = await prisma.invitationUse.findMany()
|
|
658
|
+
*
|
|
659
|
+
* // Get first 10 InvitationUses
|
|
660
|
+
* const invitationUses = await prisma.invitationUse.findMany({ take: 10 })
|
|
661
|
+
*
|
|
662
|
+
* // Only select the `id`
|
|
663
|
+
* const invitationUseWithIdOnly = await prisma.invitationUse.findMany({ select: { id: true } })
|
|
664
|
+
*
|
|
665
|
+
*/
|
|
666
|
+
findMany<T extends InvitationUseFindManyArgs>(args?: Prisma.SelectSubset<T, InvitationUseFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InvitationUsePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
667
|
+
|
|
668
|
+
/**
|
|
669
|
+
* Create a InvitationUse.
|
|
670
|
+
* @param {InvitationUseCreateArgs} args - Arguments to create a InvitationUse.
|
|
671
|
+
* @example
|
|
672
|
+
* // Create one InvitationUse
|
|
673
|
+
* const InvitationUse = await prisma.invitationUse.create({
|
|
674
|
+
* data: {
|
|
675
|
+
* // ... data to create a InvitationUse
|
|
676
|
+
* }
|
|
677
|
+
* })
|
|
678
|
+
*
|
|
679
|
+
*/
|
|
680
|
+
create<T extends InvitationUseCreateArgs>(args: Prisma.SelectSubset<T, InvitationUseCreateArgs<ExtArgs>>): Prisma.Prisma__InvitationUseClient<runtime.Types.Result.GetResult<Prisma.$InvitationUsePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* Create many InvitationUses.
|
|
684
|
+
* @param {InvitationUseCreateManyArgs} args - Arguments to create many InvitationUses.
|
|
685
|
+
* @example
|
|
686
|
+
* // Create many InvitationUses
|
|
687
|
+
* const invitationUse = await prisma.invitationUse.createMany({
|
|
688
|
+
* data: [
|
|
689
|
+
* // ... provide data here
|
|
690
|
+
* ]
|
|
691
|
+
* })
|
|
692
|
+
*
|
|
693
|
+
*/
|
|
694
|
+
createMany<T extends InvitationUseCreateManyArgs>(args?: Prisma.SelectSubset<T, InvitationUseCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
695
|
+
|
|
696
|
+
/**
|
|
697
|
+
* Create many InvitationUses and returns the data saved in the database.
|
|
698
|
+
* @param {InvitationUseCreateManyAndReturnArgs} args - Arguments to create many InvitationUses.
|
|
699
|
+
* @example
|
|
700
|
+
* // Create many InvitationUses
|
|
701
|
+
* const invitationUse = await prisma.invitationUse.createManyAndReturn({
|
|
702
|
+
* data: [
|
|
703
|
+
* // ... provide data here
|
|
704
|
+
* ]
|
|
705
|
+
* })
|
|
706
|
+
*
|
|
707
|
+
* // Create many InvitationUses and only return the `id`
|
|
708
|
+
* const invitationUseWithIdOnly = await prisma.invitationUse.createManyAndReturn({
|
|
709
|
+
* select: { id: true },
|
|
710
|
+
* data: [
|
|
711
|
+
* // ... provide data here
|
|
712
|
+
* ]
|
|
713
|
+
* })
|
|
714
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
715
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
716
|
+
*
|
|
717
|
+
*/
|
|
718
|
+
createManyAndReturn<T extends InvitationUseCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, InvitationUseCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InvitationUsePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* Delete a InvitationUse.
|
|
722
|
+
* @param {InvitationUseDeleteArgs} args - Arguments to delete one InvitationUse.
|
|
723
|
+
* @example
|
|
724
|
+
* // Delete one InvitationUse
|
|
725
|
+
* const InvitationUse = await prisma.invitationUse.delete({
|
|
726
|
+
* where: {
|
|
727
|
+
* // ... filter to delete one InvitationUse
|
|
728
|
+
* }
|
|
729
|
+
* })
|
|
730
|
+
*
|
|
731
|
+
*/
|
|
732
|
+
delete<T extends InvitationUseDeleteArgs>(args: Prisma.SelectSubset<T, InvitationUseDeleteArgs<ExtArgs>>): Prisma.Prisma__InvitationUseClient<runtime.Types.Result.GetResult<Prisma.$InvitationUsePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* Update one InvitationUse.
|
|
736
|
+
* @param {InvitationUseUpdateArgs} args - Arguments to update one InvitationUse.
|
|
737
|
+
* @example
|
|
738
|
+
* // Update one InvitationUse
|
|
739
|
+
* const invitationUse = await prisma.invitationUse.update({
|
|
740
|
+
* where: {
|
|
741
|
+
* // ... provide filter here
|
|
742
|
+
* },
|
|
743
|
+
* data: {
|
|
744
|
+
* // ... provide data here
|
|
745
|
+
* }
|
|
746
|
+
* })
|
|
747
|
+
*
|
|
748
|
+
*/
|
|
749
|
+
update<T extends InvitationUseUpdateArgs>(args: Prisma.SelectSubset<T, InvitationUseUpdateArgs<ExtArgs>>): Prisma.Prisma__InvitationUseClient<runtime.Types.Result.GetResult<Prisma.$InvitationUsePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* Delete zero or more InvitationUses.
|
|
753
|
+
* @param {InvitationUseDeleteManyArgs} args - Arguments to filter InvitationUses to delete.
|
|
754
|
+
* @example
|
|
755
|
+
* // Delete a few InvitationUses
|
|
756
|
+
* const { count } = await prisma.invitationUse.deleteMany({
|
|
757
|
+
* where: {
|
|
758
|
+
* // ... provide filter here
|
|
759
|
+
* }
|
|
760
|
+
* })
|
|
761
|
+
*
|
|
762
|
+
*/
|
|
763
|
+
deleteMany<T extends InvitationUseDeleteManyArgs>(args?: Prisma.SelectSubset<T, InvitationUseDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
764
|
+
|
|
765
|
+
/**
|
|
766
|
+
* Update zero or more InvitationUses.
|
|
767
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
768
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
769
|
+
* @param {InvitationUseUpdateManyArgs} args - Arguments to update one or more rows.
|
|
770
|
+
* @example
|
|
771
|
+
* // Update many InvitationUses
|
|
772
|
+
* const invitationUse = await prisma.invitationUse.updateMany({
|
|
773
|
+
* where: {
|
|
774
|
+
* // ... provide filter here
|
|
775
|
+
* },
|
|
776
|
+
* data: {
|
|
777
|
+
* // ... provide data here
|
|
778
|
+
* }
|
|
779
|
+
* })
|
|
780
|
+
*
|
|
781
|
+
*/
|
|
782
|
+
updateMany<T extends InvitationUseUpdateManyArgs>(args: Prisma.SelectSubset<T, InvitationUseUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* Update zero or more InvitationUses and returns the data updated in the database.
|
|
786
|
+
* @param {InvitationUseUpdateManyAndReturnArgs} args - Arguments to update many InvitationUses.
|
|
787
|
+
* @example
|
|
788
|
+
* // Update many InvitationUses
|
|
789
|
+
* const invitationUse = await prisma.invitationUse.updateManyAndReturn({
|
|
790
|
+
* where: {
|
|
791
|
+
* // ... provide filter here
|
|
792
|
+
* },
|
|
793
|
+
* data: [
|
|
794
|
+
* // ... provide data here
|
|
795
|
+
* ]
|
|
796
|
+
* })
|
|
797
|
+
*
|
|
798
|
+
* // Update zero or more InvitationUses and only return the `id`
|
|
799
|
+
* const invitationUseWithIdOnly = await prisma.invitationUse.updateManyAndReturn({
|
|
800
|
+
* select: { id: true },
|
|
801
|
+
* where: {
|
|
802
|
+
* // ... provide filter here
|
|
803
|
+
* },
|
|
804
|
+
* data: [
|
|
805
|
+
* // ... provide data here
|
|
806
|
+
* ]
|
|
807
|
+
* })
|
|
808
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
809
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
810
|
+
*
|
|
811
|
+
*/
|
|
812
|
+
updateManyAndReturn<T extends InvitationUseUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, InvitationUseUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InvitationUsePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
* Create or update one InvitationUse.
|
|
816
|
+
* @param {InvitationUseUpsertArgs} args - Arguments to update or create a InvitationUse.
|
|
817
|
+
* @example
|
|
818
|
+
* // Update or create a InvitationUse
|
|
819
|
+
* const invitationUse = await prisma.invitationUse.upsert({
|
|
820
|
+
* create: {
|
|
821
|
+
* // ... data to create a InvitationUse
|
|
822
|
+
* },
|
|
823
|
+
* update: {
|
|
824
|
+
* // ... in case it already exists, update
|
|
825
|
+
* },
|
|
826
|
+
* where: {
|
|
827
|
+
* // ... the filter for the InvitationUse we want to update
|
|
828
|
+
* }
|
|
829
|
+
* })
|
|
830
|
+
*/
|
|
831
|
+
upsert<T extends InvitationUseUpsertArgs>(args: Prisma.SelectSubset<T, InvitationUseUpsertArgs<ExtArgs>>): Prisma.Prisma__InvitationUseClient<runtime.Types.Result.GetResult<Prisma.$InvitationUsePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
/**
|
|
835
|
+
* Count the number of InvitationUses.
|
|
836
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
837
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
838
|
+
* @param {InvitationUseCountArgs} args - Arguments to filter InvitationUses to count.
|
|
839
|
+
* @example
|
|
840
|
+
* // Count the number of InvitationUses
|
|
841
|
+
* const count = await prisma.invitationUse.count({
|
|
842
|
+
* where: {
|
|
843
|
+
* // ... the filter for the InvitationUses we want to count
|
|
844
|
+
* }
|
|
845
|
+
* })
|
|
846
|
+
**/
|
|
847
|
+
count<T extends InvitationUseCountArgs>(
|
|
848
|
+
args?: Prisma.Subset<T, InvitationUseCountArgs>,
|
|
849
|
+
): Prisma.PrismaPromise<
|
|
850
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
851
|
+
? T['select'] extends true
|
|
852
|
+
? number
|
|
853
|
+
: Prisma.GetScalarType<T['select'], InvitationUseCountAggregateOutputType>
|
|
854
|
+
: number
|
|
855
|
+
>
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
* Allows you to perform aggregations operations on a InvitationUse.
|
|
859
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
860
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
861
|
+
* @param {InvitationUseAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
862
|
+
* @example
|
|
863
|
+
* // Ordered by age ascending
|
|
864
|
+
* // Where email contains prisma.io
|
|
865
|
+
* // Limited to the 10 users
|
|
866
|
+
* const aggregations = await prisma.user.aggregate({
|
|
867
|
+
* _avg: {
|
|
868
|
+
* age: true,
|
|
869
|
+
* },
|
|
870
|
+
* where: {
|
|
871
|
+
* email: {
|
|
872
|
+
* contains: "prisma.io",
|
|
873
|
+
* },
|
|
874
|
+
* },
|
|
875
|
+
* orderBy: {
|
|
876
|
+
* age: "asc",
|
|
877
|
+
* },
|
|
878
|
+
* take: 10,
|
|
879
|
+
* })
|
|
880
|
+
**/
|
|
881
|
+
aggregate<T extends InvitationUseAggregateArgs>(args: Prisma.Subset<T, InvitationUseAggregateArgs>): Prisma.PrismaPromise<GetInvitationUseAggregateType<T>>
|
|
882
|
+
|
|
883
|
+
/**
|
|
884
|
+
* Group by InvitationUse.
|
|
885
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
886
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
887
|
+
* @param {InvitationUseGroupByArgs} args - Group by arguments.
|
|
888
|
+
* @example
|
|
889
|
+
* // Group by city, order by createdAt, get count
|
|
890
|
+
* const result = await prisma.user.groupBy({
|
|
891
|
+
* by: ['city', 'createdAt'],
|
|
892
|
+
* orderBy: {
|
|
893
|
+
* createdAt: true
|
|
894
|
+
* },
|
|
895
|
+
* _count: {
|
|
896
|
+
* _all: true
|
|
897
|
+
* },
|
|
898
|
+
* })
|
|
899
|
+
*
|
|
900
|
+
**/
|
|
901
|
+
groupBy<
|
|
902
|
+
T extends InvitationUseGroupByArgs,
|
|
903
|
+
HasSelectOrTake extends Prisma.Or<
|
|
904
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
905
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
906
|
+
>,
|
|
907
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
908
|
+
? { orderBy: InvitationUseGroupByArgs['orderBy'] }
|
|
909
|
+
: { orderBy?: InvitationUseGroupByArgs['orderBy'] },
|
|
910
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
911
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
912
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
913
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
914
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
915
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
916
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
917
|
+
? `Error: "by" must not be empty.`
|
|
918
|
+
: HavingValid extends Prisma.False
|
|
919
|
+
? {
|
|
920
|
+
[P in HavingFields]: P extends ByFields
|
|
921
|
+
? never
|
|
922
|
+
: P extends string
|
|
923
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
924
|
+
: [
|
|
925
|
+
Error,
|
|
926
|
+
'Field ',
|
|
927
|
+
P,
|
|
928
|
+
` in "having" needs to be provided in "by"`,
|
|
929
|
+
]
|
|
930
|
+
}[HavingFields]
|
|
931
|
+
: 'take' extends Prisma.Keys<T>
|
|
932
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
933
|
+
? ByValid extends Prisma.True
|
|
934
|
+
? {}
|
|
935
|
+
: {
|
|
936
|
+
[P in OrderFields]: P extends ByFields
|
|
937
|
+
? never
|
|
938
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
939
|
+
}[OrderFields]
|
|
940
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
941
|
+
: 'skip' extends Prisma.Keys<T>
|
|
942
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
943
|
+
? ByValid extends Prisma.True
|
|
944
|
+
? {}
|
|
945
|
+
: {
|
|
946
|
+
[P in OrderFields]: P extends ByFields
|
|
947
|
+
? never
|
|
948
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
949
|
+
}[OrderFields]
|
|
950
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
951
|
+
: ByValid extends Prisma.True
|
|
952
|
+
? {}
|
|
953
|
+
: {
|
|
954
|
+
[P in OrderFields]: P extends ByFields
|
|
955
|
+
? never
|
|
956
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
957
|
+
}[OrderFields]
|
|
958
|
+
>(args: Prisma.SubsetIntersection<T, InvitationUseGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetInvitationUseGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
959
|
+
/**
|
|
960
|
+
* Fields of the InvitationUse model
|
|
961
|
+
*/
|
|
962
|
+
readonly fields: InvitationUseFieldRefs;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* The delegate class that acts as a "Promise-like" for InvitationUse.
|
|
967
|
+
* Why is this prefixed with `Prisma__`?
|
|
968
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
969
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
970
|
+
*/
|
|
971
|
+
export interface Prisma__InvitationUseClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
972
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
973
|
+
code<T extends Prisma.InvitationCodeDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.InvitationCodeDefaultArgs<ExtArgs>>): Prisma.Prisma__InvitationCodeClient<runtime.Types.Result.GetResult<Prisma.$InvitationCodePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
974
|
+
user<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>
|
|
975
|
+
/**
|
|
976
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
977
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
978
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
979
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
980
|
+
*/
|
|
981
|
+
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>
|
|
982
|
+
/**
|
|
983
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
984
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
985
|
+
* @returns A Promise for the completion of the callback.
|
|
986
|
+
*/
|
|
987
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
988
|
+
/**
|
|
989
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
990
|
+
* resolved value cannot be modified from the callback.
|
|
991
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
992
|
+
* @returns A Promise for the completion of the callback.
|
|
993
|
+
*/
|
|
994
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
|
|
998
|
+
|
|
999
|
+
|
|
1000
|
+
/**
|
|
1001
|
+
* Fields of the InvitationUse model
|
|
1002
|
+
*/
|
|
1003
|
+
export interface InvitationUseFieldRefs {
|
|
1004
|
+
readonly id: Prisma.FieldRef<"InvitationUse", 'String'>
|
|
1005
|
+
readonly codeId: Prisma.FieldRef<"InvitationUse", 'String'>
|
|
1006
|
+
readonly userId: Prisma.FieldRef<"InvitationUse", 'String'>
|
|
1007
|
+
readonly usedAt: Prisma.FieldRef<"InvitationUse", 'DateTime'>
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
|
|
1011
|
+
// Custom InputTypes
|
|
1012
|
+
/**
|
|
1013
|
+
* InvitationUse findUnique
|
|
1014
|
+
*/
|
|
1015
|
+
export type InvitationUseFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1016
|
+
/**
|
|
1017
|
+
* Select specific fields to fetch from the InvitationUse
|
|
1018
|
+
*/
|
|
1019
|
+
select?: Prisma.InvitationUseSelect<ExtArgs> | null
|
|
1020
|
+
/**
|
|
1021
|
+
* Omit specific fields from the InvitationUse
|
|
1022
|
+
*/
|
|
1023
|
+
omit?: Prisma.InvitationUseOmit<ExtArgs> | null
|
|
1024
|
+
/**
|
|
1025
|
+
* Choose, which related nodes to fetch as well
|
|
1026
|
+
*/
|
|
1027
|
+
include?: Prisma.InvitationUseInclude<ExtArgs> | null
|
|
1028
|
+
/**
|
|
1029
|
+
* Filter, which InvitationUse to fetch.
|
|
1030
|
+
*/
|
|
1031
|
+
where: Prisma.InvitationUseWhereUniqueInput
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
/**
|
|
1035
|
+
* InvitationUse findUniqueOrThrow
|
|
1036
|
+
*/
|
|
1037
|
+
export type InvitationUseFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1038
|
+
/**
|
|
1039
|
+
* Select specific fields to fetch from the InvitationUse
|
|
1040
|
+
*/
|
|
1041
|
+
select?: Prisma.InvitationUseSelect<ExtArgs> | null
|
|
1042
|
+
/**
|
|
1043
|
+
* Omit specific fields from the InvitationUse
|
|
1044
|
+
*/
|
|
1045
|
+
omit?: Prisma.InvitationUseOmit<ExtArgs> | null
|
|
1046
|
+
/**
|
|
1047
|
+
* Choose, which related nodes to fetch as well
|
|
1048
|
+
*/
|
|
1049
|
+
include?: Prisma.InvitationUseInclude<ExtArgs> | null
|
|
1050
|
+
/**
|
|
1051
|
+
* Filter, which InvitationUse to fetch.
|
|
1052
|
+
*/
|
|
1053
|
+
where: Prisma.InvitationUseWhereUniqueInput
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
/**
|
|
1057
|
+
* InvitationUse findFirst
|
|
1058
|
+
*/
|
|
1059
|
+
export type InvitationUseFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1060
|
+
/**
|
|
1061
|
+
* Select specific fields to fetch from the InvitationUse
|
|
1062
|
+
*/
|
|
1063
|
+
select?: Prisma.InvitationUseSelect<ExtArgs> | null
|
|
1064
|
+
/**
|
|
1065
|
+
* Omit specific fields from the InvitationUse
|
|
1066
|
+
*/
|
|
1067
|
+
omit?: Prisma.InvitationUseOmit<ExtArgs> | null
|
|
1068
|
+
/**
|
|
1069
|
+
* Choose, which related nodes to fetch as well
|
|
1070
|
+
*/
|
|
1071
|
+
include?: Prisma.InvitationUseInclude<ExtArgs> | null
|
|
1072
|
+
/**
|
|
1073
|
+
* Filter, which InvitationUse to fetch.
|
|
1074
|
+
*/
|
|
1075
|
+
where?: Prisma.InvitationUseWhereInput
|
|
1076
|
+
/**
|
|
1077
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1078
|
+
*
|
|
1079
|
+
* Determine the order of InvitationUses to fetch.
|
|
1080
|
+
*/
|
|
1081
|
+
orderBy?: Prisma.InvitationUseOrderByWithRelationInput | Prisma.InvitationUseOrderByWithRelationInput[]
|
|
1082
|
+
/**
|
|
1083
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1084
|
+
*
|
|
1085
|
+
* Sets the position for searching for InvitationUses.
|
|
1086
|
+
*/
|
|
1087
|
+
cursor?: Prisma.InvitationUseWhereUniqueInput
|
|
1088
|
+
/**
|
|
1089
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1090
|
+
*
|
|
1091
|
+
* Take `±n` InvitationUses from the position of the cursor.
|
|
1092
|
+
*/
|
|
1093
|
+
take?: number
|
|
1094
|
+
/**
|
|
1095
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1096
|
+
*
|
|
1097
|
+
* Skip the first `n` InvitationUses.
|
|
1098
|
+
*/
|
|
1099
|
+
skip?: number
|
|
1100
|
+
/**
|
|
1101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1102
|
+
*
|
|
1103
|
+
* Filter by unique combinations of InvitationUses.
|
|
1104
|
+
*/
|
|
1105
|
+
distinct?: Prisma.InvitationUseScalarFieldEnum | Prisma.InvitationUseScalarFieldEnum[]
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
/**
|
|
1109
|
+
* InvitationUse findFirstOrThrow
|
|
1110
|
+
*/
|
|
1111
|
+
export type InvitationUseFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1112
|
+
/**
|
|
1113
|
+
* Select specific fields to fetch from the InvitationUse
|
|
1114
|
+
*/
|
|
1115
|
+
select?: Prisma.InvitationUseSelect<ExtArgs> | null
|
|
1116
|
+
/**
|
|
1117
|
+
* Omit specific fields from the InvitationUse
|
|
1118
|
+
*/
|
|
1119
|
+
omit?: Prisma.InvitationUseOmit<ExtArgs> | null
|
|
1120
|
+
/**
|
|
1121
|
+
* Choose, which related nodes to fetch as well
|
|
1122
|
+
*/
|
|
1123
|
+
include?: Prisma.InvitationUseInclude<ExtArgs> | null
|
|
1124
|
+
/**
|
|
1125
|
+
* Filter, which InvitationUse to fetch.
|
|
1126
|
+
*/
|
|
1127
|
+
where?: Prisma.InvitationUseWhereInput
|
|
1128
|
+
/**
|
|
1129
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1130
|
+
*
|
|
1131
|
+
* Determine the order of InvitationUses to fetch.
|
|
1132
|
+
*/
|
|
1133
|
+
orderBy?: Prisma.InvitationUseOrderByWithRelationInput | Prisma.InvitationUseOrderByWithRelationInput[]
|
|
1134
|
+
/**
|
|
1135
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1136
|
+
*
|
|
1137
|
+
* Sets the position for searching for InvitationUses.
|
|
1138
|
+
*/
|
|
1139
|
+
cursor?: Prisma.InvitationUseWhereUniqueInput
|
|
1140
|
+
/**
|
|
1141
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1142
|
+
*
|
|
1143
|
+
* Take `±n` InvitationUses from the position of the cursor.
|
|
1144
|
+
*/
|
|
1145
|
+
take?: number
|
|
1146
|
+
/**
|
|
1147
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1148
|
+
*
|
|
1149
|
+
* Skip the first `n` InvitationUses.
|
|
1150
|
+
*/
|
|
1151
|
+
skip?: number
|
|
1152
|
+
/**
|
|
1153
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1154
|
+
*
|
|
1155
|
+
* Filter by unique combinations of InvitationUses.
|
|
1156
|
+
*/
|
|
1157
|
+
distinct?: Prisma.InvitationUseScalarFieldEnum | Prisma.InvitationUseScalarFieldEnum[]
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* InvitationUse findMany
|
|
1162
|
+
*/
|
|
1163
|
+
export type InvitationUseFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1164
|
+
/**
|
|
1165
|
+
* Select specific fields to fetch from the InvitationUse
|
|
1166
|
+
*/
|
|
1167
|
+
select?: Prisma.InvitationUseSelect<ExtArgs> | null
|
|
1168
|
+
/**
|
|
1169
|
+
* Omit specific fields from the InvitationUse
|
|
1170
|
+
*/
|
|
1171
|
+
omit?: Prisma.InvitationUseOmit<ExtArgs> | null
|
|
1172
|
+
/**
|
|
1173
|
+
* Choose, which related nodes to fetch as well
|
|
1174
|
+
*/
|
|
1175
|
+
include?: Prisma.InvitationUseInclude<ExtArgs> | null
|
|
1176
|
+
/**
|
|
1177
|
+
* Filter, which InvitationUses to fetch.
|
|
1178
|
+
*/
|
|
1179
|
+
where?: Prisma.InvitationUseWhereInput
|
|
1180
|
+
/**
|
|
1181
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1182
|
+
*
|
|
1183
|
+
* Determine the order of InvitationUses to fetch.
|
|
1184
|
+
*/
|
|
1185
|
+
orderBy?: Prisma.InvitationUseOrderByWithRelationInput | Prisma.InvitationUseOrderByWithRelationInput[]
|
|
1186
|
+
/**
|
|
1187
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1188
|
+
*
|
|
1189
|
+
* Sets the position for listing InvitationUses.
|
|
1190
|
+
*/
|
|
1191
|
+
cursor?: Prisma.InvitationUseWhereUniqueInput
|
|
1192
|
+
/**
|
|
1193
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1194
|
+
*
|
|
1195
|
+
* Take `±n` InvitationUses from the position of the cursor.
|
|
1196
|
+
*/
|
|
1197
|
+
take?: number
|
|
1198
|
+
/**
|
|
1199
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1200
|
+
*
|
|
1201
|
+
* Skip the first `n` InvitationUses.
|
|
1202
|
+
*/
|
|
1203
|
+
skip?: number
|
|
1204
|
+
/**
|
|
1205
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1206
|
+
*
|
|
1207
|
+
* Filter by unique combinations of InvitationUses.
|
|
1208
|
+
*/
|
|
1209
|
+
distinct?: Prisma.InvitationUseScalarFieldEnum | Prisma.InvitationUseScalarFieldEnum[]
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
/**
|
|
1213
|
+
* InvitationUse create
|
|
1214
|
+
*/
|
|
1215
|
+
export type InvitationUseCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1216
|
+
/**
|
|
1217
|
+
* Select specific fields to fetch from the InvitationUse
|
|
1218
|
+
*/
|
|
1219
|
+
select?: Prisma.InvitationUseSelect<ExtArgs> | null
|
|
1220
|
+
/**
|
|
1221
|
+
* Omit specific fields from the InvitationUse
|
|
1222
|
+
*/
|
|
1223
|
+
omit?: Prisma.InvitationUseOmit<ExtArgs> | null
|
|
1224
|
+
/**
|
|
1225
|
+
* Choose, which related nodes to fetch as well
|
|
1226
|
+
*/
|
|
1227
|
+
include?: Prisma.InvitationUseInclude<ExtArgs> | null
|
|
1228
|
+
/**
|
|
1229
|
+
* The data needed to create a InvitationUse.
|
|
1230
|
+
*/
|
|
1231
|
+
data: Prisma.XOR<Prisma.InvitationUseCreateInput, Prisma.InvitationUseUncheckedCreateInput>
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
/**
|
|
1235
|
+
* InvitationUse createMany
|
|
1236
|
+
*/
|
|
1237
|
+
export type InvitationUseCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1238
|
+
/**
|
|
1239
|
+
* The data used to create many InvitationUses.
|
|
1240
|
+
*/
|
|
1241
|
+
data: Prisma.InvitationUseCreateManyInput | Prisma.InvitationUseCreateManyInput[]
|
|
1242
|
+
skipDuplicates?: boolean
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
/**
|
|
1246
|
+
* InvitationUse createManyAndReturn
|
|
1247
|
+
*/
|
|
1248
|
+
export type InvitationUseCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1249
|
+
/**
|
|
1250
|
+
* Select specific fields to fetch from the InvitationUse
|
|
1251
|
+
*/
|
|
1252
|
+
select?: Prisma.InvitationUseSelectCreateManyAndReturn<ExtArgs> | null
|
|
1253
|
+
/**
|
|
1254
|
+
* Omit specific fields from the InvitationUse
|
|
1255
|
+
*/
|
|
1256
|
+
omit?: Prisma.InvitationUseOmit<ExtArgs> | null
|
|
1257
|
+
/**
|
|
1258
|
+
* The data used to create many InvitationUses.
|
|
1259
|
+
*/
|
|
1260
|
+
data: Prisma.InvitationUseCreateManyInput | Prisma.InvitationUseCreateManyInput[]
|
|
1261
|
+
skipDuplicates?: boolean
|
|
1262
|
+
/**
|
|
1263
|
+
* Choose, which related nodes to fetch as well
|
|
1264
|
+
*/
|
|
1265
|
+
include?: Prisma.InvitationUseIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
/**
|
|
1269
|
+
* InvitationUse update
|
|
1270
|
+
*/
|
|
1271
|
+
export type InvitationUseUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1272
|
+
/**
|
|
1273
|
+
* Select specific fields to fetch from the InvitationUse
|
|
1274
|
+
*/
|
|
1275
|
+
select?: Prisma.InvitationUseSelect<ExtArgs> | null
|
|
1276
|
+
/**
|
|
1277
|
+
* Omit specific fields from the InvitationUse
|
|
1278
|
+
*/
|
|
1279
|
+
omit?: Prisma.InvitationUseOmit<ExtArgs> | null
|
|
1280
|
+
/**
|
|
1281
|
+
* Choose, which related nodes to fetch as well
|
|
1282
|
+
*/
|
|
1283
|
+
include?: Prisma.InvitationUseInclude<ExtArgs> | null
|
|
1284
|
+
/**
|
|
1285
|
+
* The data needed to update a InvitationUse.
|
|
1286
|
+
*/
|
|
1287
|
+
data: Prisma.XOR<Prisma.InvitationUseUpdateInput, Prisma.InvitationUseUncheckedUpdateInput>
|
|
1288
|
+
/**
|
|
1289
|
+
* Choose, which InvitationUse to update.
|
|
1290
|
+
*/
|
|
1291
|
+
where: Prisma.InvitationUseWhereUniqueInput
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
/**
|
|
1295
|
+
* InvitationUse updateMany
|
|
1296
|
+
*/
|
|
1297
|
+
export type InvitationUseUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1298
|
+
/**
|
|
1299
|
+
* The data used to update InvitationUses.
|
|
1300
|
+
*/
|
|
1301
|
+
data: Prisma.XOR<Prisma.InvitationUseUpdateManyMutationInput, Prisma.InvitationUseUncheckedUpdateManyInput>
|
|
1302
|
+
/**
|
|
1303
|
+
* Filter which InvitationUses to update
|
|
1304
|
+
*/
|
|
1305
|
+
where?: Prisma.InvitationUseWhereInput
|
|
1306
|
+
/**
|
|
1307
|
+
* Limit how many InvitationUses to update.
|
|
1308
|
+
*/
|
|
1309
|
+
limit?: number
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
/**
|
|
1313
|
+
* InvitationUse updateManyAndReturn
|
|
1314
|
+
*/
|
|
1315
|
+
export type InvitationUseUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1316
|
+
/**
|
|
1317
|
+
* Select specific fields to fetch from the InvitationUse
|
|
1318
|
+
*/
|
|
1319
|
+
select?: Prisma.InvitationUseSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1320
|
+
/**
|
|
1321
|
+
* Omit specific fields from the InvitationUse
|
|
1322
|
+
*/
|
|
1323
|
+
omit?: Prisma.InvitationUseOmit<ExtArgs> | null
|
|
1324
|
+
/**
|
|
1325
|
+
* The data used to update InvitationUses.
|
|
1326
|
+
*/
|
|
1327
|
+
data: Prisma.XOR<Prisma.InvitationUseUpdateManyMutationInput, Prisma.InvitationUseUncheckedUpdateManyInput>
|
|
1328
|
+
/**
|
|
1329
|
+
* Filter which InvitationUses to update
|
|
1330
|
+
*/
|
|
1331
|
+
where?: Prisma.InvitationUseWhereInput
|
|
1332
|
+
/**
|
|
1333
|
+
* Limit how many InvitationUses to update.
|
|
1334
|
+
*/
|
|
1335
|
+
limit?: number
|
|
1336
|
+
/**
|
|
1337
|
+
* Choose, which related nodes to fetch as well
|
|
1338
|
+
*/
|
|
1339
|
+
include?: Prisma.InvitationUseIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
/**
|
|
1343
|
+
* InvitationUse upsert
|
|
1344
|
+
*/
|
|
1345
|
+
export type InvitationUseUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1346
|
+
/**
|
|
1347
|
+
* Select specific fields to fetch from the InvitationUse
|
|
1348
|
+
*/
|
|
1349
|
+
select?: Prisma.InvitationUseSelect<ExtArgs> | null
|
|
1350
|
+
/**
|
|
1351
|
+
* Omit specific fields from the InvitationUse
|
|
1352
|
+
*/
|
|
1353
|
+
omit?: Prisma.InvitationUseOmit<ExtArgs> | null
|
|
1354
|
+
/**
|
|
1355
|
+
* Choose, which related nodes to fetch as well
|
|
1356
|
+
*/
|
|
1357
|
+
include?: Prisma.InvitationUseInclude<ExtArgs> | null
|
|
1358
|
+
/**
|
|
1359
|
+
* The filter to search for the InvitationUse to update in case it exists.
|
|
1360
|
+
*/
|
|
1361
|
+
where: Prisma.InvitationUseWhereUniqueInput
|
|
1362
|
+
/**
|
|
1363
|
+
* In case the InvitationUse found by the `where` argument doesn't exist, create a new InvitationUse with this data.
|
|
1364
|
+
*/
|
|
1365
|
+
create: Prisma.XOR<Prisma.InvitationUseCreateInput, Prisma.InvitationUseUncheckedCreateInput>
|
|
1366
|
+
/**
|
|
1367
|
+
* In case the InvitationUse was found with the provided `where` argument, update it with this data.
|
|
1368
|
+
*/
|
|
1369
|
+
update: Prisma.XOR<Prisma.InvitationUseUpdateInput, Prisma.InvitationUseUncheckedUpdateInput>
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
/**
|
|
1373
|
+
* InvitationUse delete
|
|
1374
|
+
*/
|
|
1375
|
+
export type InvitationUseDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1376
|
+
/**
|
|
1377
|
+
* Select specific fields to fetch from the InvitationUse
|
|
1378
|
+
*/
|
|
1379
|
+
select?: Prisma.InvitationUseSelect<ExtArgs> | null
|
|
1380
|
+
/**
|
|
1381
|
+
* Omit specific fields from the InvitationUse
|
|
1382
|
+
*/
|
|
1383
|
+
omit?: Prisma.InvitationUseOmit<ExtArgs> | null
|
|
1384
|
+
/**
|
|
1385
|
+
* Choose, which related nodes to fetch as well
|
|
1386
|
+
*/
|
|
1387
|
+
include?: Prisma.InvitationUseInclude<ExtArgs> | null
|
|
1388
|
+
/**
|
|
1389
|
+
* Filter which InvitationUse to delete.
|
|
1390
|
+
*/
|
|
1391
|
+
where: Prisma.InvitationUseWhereUniqueInput
|
|
1392
|
+
}
|
|
1393
|
+
|
|
1394
|
+
/**
|
|
1395
|
+
* InvitationUse deleteMany
|
|
1396
|
+
*/
|
|
1397
|
+
export type InvitationUseDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1398
|
+
/**
|
|
1399
|
+
* Filter which InvitationUses to delete
|
|
1400
|
+
*/
|
|
1401
|
+
where?: Prisma.InvitationUseWhereInput
|
|
1402
|
+
/**
|
|
1403
|
+
* Limit how many InvitationUses to delete.
|
|
1404
|
+
*/
|
|
1405
|
+
limit?: number
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
/**
|
|
1409
|
+
* InvitationUse without action
|
|
1410
|
+
*/
|
|
1411
|
+
export type InvitationUseDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1412
|
+
/**
|
|
1413
|
+
* Select specific fields to fetch from the InvitationUse
|
|
1414
|
+
*/
|
|
1415
|
+
select?: Prisma.InvitationUseSelect<ExtArgs> | null
|
|
1416
|
+
/**
|
|
1417
|
+
* Omit specific fields from the InvitationUse
|
|
1418
|
+
*/
|
|
1419
|
+
omit?: Prisma.InvitationUseOmit<ExtArgs> | null
|
|
1420
|
+
/**
|
|
1421
|
+
* Choose, which related nodes to fetch as well
|
|
1422
|
+
*/
|
|
1423
|
+
include?: Prisma.InvitationUseInclude<ExtArgs> | null
|
|
1424
|
+
}
|