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