@allbluecn/database 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/desktop-init.ts +128 -0
  2. package/generated/browser.ts +494 -0
  3. package/generated/client.ts +518 -0
  4. package/generated/commonInputTypes.ts +1056 -0
  5. package/generated/enums.ts +93 -0
  6. package/generated/internal/class.ts +1144 -0
  7. package/generated/internal/prismaNamespace.ts +9603 -0
  8. package/generated/internal/prismaNamespaceBrowser.ts +1695 -0
  9. package/generated/models/Account.ts +1648 -0
  10. package/generated/models/AgentConversation.ts +1651 -0
  11. package/generated/models/AgentMessage.ts +1409 -0
  12. package/generated/models/AiProvider.ts +1607 -0
  13. package/generated/models/AiProviderConfig.ts +1514 -0
  14. package/generated/models/AiUsageLog.ts +1863 -0
  15. package/generated/models/AnyHubApp.ts +1911 -0
  16. package/generated/models/AnyHubMarketApp.ts +2008 -0
  17. package/generated/models/AnyHubPermission.ts +1422 -0
  18. package/generated/models/AnyHubRecommendation.ts +1870 -0
  19. package/generated/models/AnyHubRecommender.ts +1471 -0
  20. package/generated/models/Artboard.ts +1811 -0
  21. package/generated/models/ArtboardExport.ts +1548 -0
  22. package/generated/models/ArticleFavorite.ts +1352 -0
  23. package/generated/models/AuditLog.ts +1533 -0
  24. package/generated/models/Block.ts +1650 -0
  25. package/generated/models/BlockComponent.ts +1734 -0
  26. package/generated/models/BlockInstance.ts +2043 -0
  27. package/generated/models/BookmarkCategory.ts +1670 -0
  28. package/generated/models/ChatInterrupt.ts +1699 -0
  29. package/generated/models/ChatMessage.ts +1438 -0
  30. package/generated/models/ChatRun.ts +1632 -0
  31. package/generated/models/ChatThread.ts +2133 -0
  32. package/generated/models/Comment.ts +2206 -0
  33. package/generated/models/CommentIgnore.ts +1430 -0
  34. package/generated/models/CommentReaction.ts +1472 -0
  35. package/generated/models/ComplianceExport.ts +1345 -0
  36. package/generated/models/Component.ts +2345 -0
  37. package/generated/models/ComponentInstance.ts +2102 -0
  38. package/generated/models/ComponentTag.ts +1281 -0
  39. package/generated/models/CustomRole.ts +1560 -0
  40. package/generated/models/DesignProject.ts +1643 -0
  41. package/generated/models/DictionaryTerm.ts +1642 -0
  42. package/generated/models/GenerationRun.ts +1543 -0
  43. package/generated/models/IndustryCompliance.ts +1797 -0
  44. package/generated/models/InvitationCode.ts +1417 -0
  45. package/generated/models/InvitationUse.ts +1424 -0
  46. package/generated/models/Invoice.ts +1710 -0
  47. package/generated/models/KnowledgeBase.ts +1671 -0
  48. package/generated/models/KnowledgeDocument.ts +2458 -0
  49. package/generated/models/KnowledgeShareRecord.ts +1352 -0
  50. package/generated/models/Label.ts +1482 -0
  51. package/generated/models/LegalRegulation.ts +1873 -0
  52. package/generated/models/LicenseActivation.ts +1415 -0
  53. package/generated/models/LicenseKey.ts +1884 -0
  54. package/generated/models/LoginLog.ts +1450 -0
  55. package/generated/models/MonitoringErrorReport.ts +1299 -0
  56. package/generated/models/MonitoringHealthSnapshot.ts +1249 -0
  57. package/generated/models/MonitoringMetricsSnapshot.ts +1369 -0
  58. package/generated/models/MonitoringRequestLog.ts +1283 -0
  59. package/generated/models/PRD.ts +2805 -0
  60. package/generated/models/PRDPage.ts +2402 -0
  61. package/generated/models/PRDTag.ts +1430 -0
  62. package/generated/models/PRDVersion.ts +2121 -0
  63. package/generated/models/PageVersion.ts +1523 -0
  64. package/generated/models/PasswordResetToken.ts +1380 -0
  65. package/generated/models/Plan.ts +2069 -0
  66. package/generated/models/Project.ts +2148 -0
  67. package/generated/models/ProjectActivity.ts +1582 -0
  68. package/generated/models/ProjectMember.ts +1512 -0
  69. package/generated/models/ProviderEvent.ts +1227 -0
  70. package/generated/models/Reference.ts +1177 -0
  71. package/generated/models/Review.ts +1912 -0
  72. package/generated/models/ReviewComment.ts +1904 -0
  73. package/generated/models/RoleAssignment.ts +1430 -0
  74. package/generated/models/SequenceCounter.ts +1137 -0
  75. package/generated/models/Share.ts +1681 -0
  76. package/generated/models/ShareVersion.ts +1389 -0
  77. package/generated/models/SsoMapping.ts +1512 -0
  78. package/generated/models/SsoProvider.ts +1639 -0
  79. package/generated/models/Story.ts +5234 -0
  80. package/generated/models/StoryActivity.ts +1664 -0
  81. package/generated/models/StoryAttachment.ts +1467 -0
  82. package/generated/models/StoryComment.ts +1992 -0
  83. package/generated/models/StoryDependency.ts +1517 -0
  84. package/generated/models/StoryDocLink.ts +1430 -0
  85. package/generated/models/StoryFilterView.ts +1587 -0
  86. package/generated/models/StoryLabel.ts +1349 -0
  87. package/generated/models/StoryLink.ts +1415 -0
  88. package/generated/models/StoryPrdLink.ts +1430 -0
  89. package/generated/models/StoryReaction.ts +1472 -0
  90. package/generated/models/Subscription.ts +2147 -0
  91. package/generated/models/SystemSetting.ts +1217 -0
  92. package/generated/models/Tag.ts +1655 -0
  93. package/generated/models/TeamInvitation.ts +1526 -0
  94. package/generated/models/TeamMembership.ts +1436 -0
  95. package/generated/models/Template.ts +1391 -0
  96. package/generated/models/TemplateBlock.ts +1664 -0
  97. package/generated/models/ThirdPartyDependency.ts +1473 -0
  98. package/generated/models/UsageRecord.ts +1505 -0
  99. package/generated/models/User.ts +20998 -0
  100. package/generated/models/UserAgent.ts +1900 -0
  101. package/generated/models/UserSkill.ts +1456 -0
  102. package/generated/models/WebsiteBookmark.ts +2219 -0
  103. package/generated/models/Workspace.ts +2279 -0
  104. package/generated/models.ts +106 -0
  105. package/generated-sqlite/browser.ts +399 -0
  106. package/generated-sqlite/client.ts +423 -0
  107. package/generated-sqlite/commonInputTypes.ts +608 -0
  108. package/generated-sqlite/enums.ts +15 -0
  109. package/generated-sqlite/internal/class.ts +954 -0
  110. package/generated-sqlite/internal/prismaNamespace.ts +7716 -0
  111. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +1415 -0
  112. package/generated-sqlite/models/AgentConversation.ts +1647 -0
  113. package/generated-sqlite/models/AgentMessage.ts +1406 -0
  114. package/generated-sqlite/models/AiProvider.ts +1605 -0
  115. package/generated-sqlite/models/AiProviderConfig.ts +1511 -0
  116. package/generated-sqlite/models/AiUsageLog.ts +1845 -0
  117. package/generated-sqlite/models/AnyHubApp.ts +1908 -0
  118. package/generated-sqlite/models/AnyHubMarketApp.ts +1997 -0
  119. package/generated-sqlite/models/AnyHubPermission.ts +1419 -0
  120. package/generated-sqlite/models/AnyHubRecommendation.ts +1867 -0
  121. package/generated-sqlite/models/AnyHubRecommender.ts +1467 -0
  122. package/generated-sqlite/models/Artboard.ts +1808 -0
  123. package/generated-sqlite/models/ArtboardExport.ts +1545 -0
  124. package/generated-sqlite/models/ArticleFavorite.ts +1349 -0
  125. package/generated-sqlite/models/AuditLog.ts +1287 -0
  126. package/generated-sqlite/models/Block.ts +1648 -0
  127. package/generated-sqlite/models/BlockComponent.ts +1730 -0
  128. package/generated-sqlite/models/BlockInstance.ts +2039 -0
  129. package/generated-sqlite/models/BookmarkCategory.ts +1667 -0
  130. package/generated-sqlite/models/ChatInterrupt.ts +1695 -0
  131. package/generated-sqlite/models/ChatMessage.ts +1435 -0
  132. package/generated-sqlite/models/ChatRun.ts +1629 -0
  133. package/generated-sqlite/models/ChatThread.ts +2129 -0
  134. package/generated-sqlite/models/Comment.ts +2201 -0
  135. package/generated-sqlite/models/CommentIgnore.ts +1426 -0
  136. package/generated-sqlite/models/ComplianceExport.ts +1343 -0
  137. package/generated-sqlite/models/Component.ts +2326 -0
  138. package/generated-sqlite/models/ComponentInstance.ts +2097 -0
  139. package/generated-sqlite/models/ComponentTag.ts +1278 -0
  140. package/generated-sqlite/models/CustomRole.ts +1209 -0
  141. package/generated-sqlite/models/DesignProject.ts +1640 -0
  142. package/generated-sqlite/models/DictionaryTerm.ts +1639 -0
  143. package/generated-sqlite/models/GenerationRun.ts +1540 -0
  144. package/generated-sqlite/models/IndustryCompliance.ts +1794 -0
  145. package/generated-sqlite/models/InvitationCode.ts +1415 -0
  146. package/generated-sqlite/models/InvitationUse.ts +1420 -0
  147. package/generated-sqlite/models/Invoice.ts +1707 -0
  148. package/generated-sqlite/models/KnowledgeBase.ts +1668 -0
  149. package/generated-sqlite/models/KnowledgeDocument.ts +2282 -0
  150. package/generated-sqlite/models/KnowledgeShareRecord.ts +1349 -0
  151. package/generated-sqlite/models/LegalRegulation.ts +1870 -0
  152. package/generated-sqlite/models/LicenseActivation.ts +1203 -0
  153. package/generated-sqlite/models/LicenseKey.ts +1443 -0
  154. package/generated-sqlite/models/LoginLog.ts +1447 -0
  155. package/generated-sqlite/models/PRD.ts +2616 -0
  156. package/generated-sqlite/models/PRDPage.ts +2398 -0
  157. package/generated-sqlite/models/PRDTag.ts +1426 -0
  158. package/generated-sqlite/models/PRDVersion.ts +2117 -0
  159. package/generated-sqlite/models/PageVersion.ts +1528 -0
  160. package/generated-sqlite/models/PasswordResetToken.ts +1377 -0
  161. package/generated-sqlite/models/Plan.ts +2060 -0
  162. package/generated-sqlite/models/Project.ts +1994 -0
  163. package/generated-sqlite/models/ProjectActivity.ts +1578 -0
  164. package/generated-sqlite/models/ProjectMember.ts +1508 -0
  165. package/generated-sqlite/models/ProviderEvent.ts +1225 -0
  166. package/generated-sqlite/models/Reference.ts +1175 -0
  167. package/generated-sqlite/models/Review.ts +1903 -0
  168. package/generated-sqlite/models/ReviewComment.ts +1899 -0
  169. package/generated-sqlite/models/RoleAssignment.ts +1125 -0
  170. package/generated-sqlite/models/Share.ts +1674 -0
  171. package/generated-sqlite/models/ShareVersion.ts +1385 -0
  172. package/generated-sqlite/models/SsoMapping.ts +1181 -0
  173. package/generated-sqlite/models/SsoProvider.ts +1266 -0
  174. package/generated-sqlite/models/Subscription.ts +2137 -0
  175. package/generated-sqlite/models/SystemSetting.ts +1215 -0
  176. package/generated-sqlite/models/Tag.ts +1652 -0
  177. package/generated-sqlite/models/TeamInvitation.ts +1523 -0
  178. package/generated-sqlite/models/TeamMembership.ts +1433 -0
  179. package/generated-sqlite/models/Template.ts +1389 -0
  180. package/generated-sqlite/models/TemplateBlock.ts +1660 -0
  181. package/generated-sqlite/models/ThirdPartyDependency.ts +1471 -0
  182. package/generated-sqlite/models/UsageRecord.ts +1498 -0
  183. package/generated-sqlite/models/User.ts +13558 -0
  184. package/generated-sqlite/models/UserAgent.ts +1897 -0
  185. package/generated-sqlite/models/UserSkill.ts +1453 -0
  186. package/generated-sqlite/models/WebsiteBookmark.ts +2215 -0
  187. package/generated-sqlite/models/Workspace.ts +1824 -0
  188. package/generated-sqlite/models.ts +87 -0
  189. package/package.json +7 -3
  190. package/LICENSE +0 -661
@@ -0,0 +1,1456 @@
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
+ skipDuplicates?: boolean
462
+ }
463
+
464
+ export type UserSkillUpsertWithWhereUniqueWithoutUserInput = {
465
+ where: Prisma.UserSkillWhereUniqueInput
466
+ update: Prisma.XOR<Prisma.UserSkillUpdateWithoutUserInput, Prisma.UserSkillUncheckedUpdateWithoutUserInput>
467
+ create: Prisma.XOR<Prisma.UserSkillCreateWithoutUserInput, Prisma.UserSkillUncheckedCreateWithoutUserInput>
468
+ }
469
+
470
+ export type UserSkillUpdateWithWhereUniqueWithoutUserInput = {
471
+ where: Prisma.UserSkillWhereUniqueInput
472
+ data: Prisma.XOR<Prisma.UserSkillUpdateWithoutUserInput, Prisma.UserSkillUncheckedUpdateWithoutUserInput>
473
+ }
474
+
475
+ export type UserSkillUpdateManyWithWhereWithoutUserInput = {
476
+ where: Prisma.UserSkillScalarWhereInput
477
+ data: Prisma.XOR<Prisma.UserSkillUpdateManyMutationInput, Prisma.UserSkillUncheckedUpdateManyWithoutUserInput>
478
+ }
479
+
480
+ export type UserSkillScalarWhereInput = {
481
+ AND?: Prisma.UserSkillScalarWhereInput | Prisma.UserSkillScalarWhereInput[]
482
+ OR?: Prisma.UserSkillScalarWhereInput[]
483
+ NOT?: Prisma.UserSkillScalarWhereInput | Prisma.UserSkillScalarWhereInput[]
484
+ id?: Prisma.StringFilter<"UserSkill"> | string
485
+ userId?: Prisma.StringFilter<"UserSkill"> | string
486
+ name?: Prisma.StringFilter<"UserSkill"> | string
487
+ title?: Prisma.StringFilter<"UserSkill"> | string
488
+ template?: Prisma.StringFilter<"UserSkill"> | string
489
+ createdAt?: Prisma.DateTimeFilter<"UserSkill"> | Date | string
490
+ updatedAt?: Prisma.DateTimeFilter<"UserSkill"> | Date | string
491
+ isDeleted?: Prisma.BoolFilter<"UserSkill"> | boolean
492
+ }
493
+
494
+ export type UserSkillCreateManyUserInput = {
495
+ id?: string
496
+ name: string
497
+ title: string
498
+ template: string
499
+ createdAt?: Date | string
500
+ updatedAt?: Date | string
501
+ isDeleted?: boolean
502
+ }
503
+
504
+ export type UserSkillUpdateWithoutUserInput = {
505
+ id?: Prisma.StringFieldUpdateOperationsInput | string
506
+ name?: Prisma.StringFieldUpdateOperationsInput | string
507
+ title?: Prisma.StringFieldUpdateOperationsInput | string
508
+ template?: Prisma.StringFieldUpdateOperationsInput | string
509
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
510
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
511
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
512
+ }
513
+
514
+ export type UserSkillUncheckedUpdateWithoutUserInput = {
515
+ id?: Prisma.StringFieldUpdateOperationsInput | string
516
+ name?: Prisma.StringFieldUpdateOperationsInput | string
517
+ title?: Prisma.StringFieldUpdateOperationsInput | string
518
+ template?: Prisma.StringFieldUpdateOperationsInput | string
519
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
520
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
521
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
522
+ }
523
+
524
+ export type UserSkillUncheckedUpdateManyWithoutUserInput = {
525
+ id?: Prisma.StringFieldUpdateOperationsInput | string
526
+ name?: Prisma.StringFieldUpdateOperationsInput | string
527
+ title?: Prisma.StringFieldUpdateOperationsInput | string
528
+ template?: Prisma.StringFieldUpdateOperationsInput | string
529
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
530
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
531
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
532
+ }
533
+
534
+
535
+
536
+ export type UserSkillSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
537
+ id?: boolean
538
+ userId?: boolean
539
+ name?: boolean
540
+ title?: boolean
541
+ template?: boolean
542
+ createdAt?: boolean
543
+ updatedAt?: boolean
544
+ isDeleted?: boolean
545
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
546
+ }, ExtArgs["result"]["userSkill"]>
547
+
548
+ export type UserSkillSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
549
+ id?: boolean
550
+ userId?: boolean
551
+ name?: boolean
552
+ title?: boolean
553
+ template?: boolean
554
+ createdAt?: boolean
555
+ updatedAt?: boolean
556
+ isDeleted?: boolean
557
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
558
+ }, ExtArgs["result"]["userSkill"]>
559
+
560
+ export type UserSkillSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
561
+ id?: boolean
562
+ userId?: boolean
563
+ name?: boolean
564
+ title?: boolean
565
+ template?: boolean
566
+ createdAt?: boolean
567
+ updatedAt?: boolean
568
+ isDeleted?: boolean
569
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
570
+ }, ExtArgs["result"]["userSkill"]>
571
+
572
+ export type UserSkillSelectScalar = {
573
+ id?: boolean
574
+ userId?: boolean
575
+ name?: boolean
576
+ title?: boolean
577
+ template?: boolean
578
+ createdAt?: boolean
579
+ updatedAt?: boolean
580
+ isDeleted?: boolean
581
+ }
582
+
583
+ 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"]>
584
+ export type UserSkillInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
585
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
586
+ }
587
+ export type UserSkillIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
588
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
589
+ }
590
+ export type UserSkillIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
591
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
592
+ }
593
+
594
+ export type $UserSkillPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
595
+ name: "UserSkill"
596
+ objects: {
597
+ user: Prisma.$UserPayload<ExtArgs>
598
+ }
599
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
600
+ id: string
601
+ userId: string
602
+ name: string
603
+ title: string
604
+ template: string
605
+ createdAt: Date
606
+ updatedAt: Date
607
+ isDeleted: boolean
608
+ }, ExtArgs["result"]["userSkill"]>
609
+ composites: {}
610
+ }
611
+
612
+ export type UserSkillGetPayload<S extends boolean | null | undefined | UserSkillDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$UserSkillPayload, S>
613
+
614
+ export type UserSkillCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
615
+ Omit<UserSkillFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
616
+ select?: UserSkillCountAggregateInputType | true
617
+ }
618
+
619
+ export interface UserSkillDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
620
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['UserSkill'], meta: { name: 'UserSkill' } }
621
+ /**
622
+ * Find zero or one UserSkill that matches the filter.
623
+ * @param {UserSkillFindUniqueArgs} args - Arguments to find a UserSkill
624
+ * @example
625
+ * // Get one UserSkill
626
+ * const userSkill = await prisma.userSkill.findUnique({
627
+ * where: {
628
+ * // ... provide filter here
629
+ * }
630
+ * })
631
+ */
632
+ 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>
633
+
634
+ /**
635
+ * Find one UserSkill that matches the filter or throw an error with `error.code='P2025'`
636
+ * if no matches were found.
637
+ * @param {UserSkillFindUniqueOrThrowArgs} args - Arguments to find a UserSkill
638
+ * @example
639
+ * // Get one UserSkill
640
+ * const userSkill = await prisma.userSkill.findUniqueOrThrow({
641
+ * where: {
642
+ * // ... provide filter here
643
+ * }
644
+ * })
645
+ */
646
+ 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>
647
+
648
+ /**
649
+ * Find the first UserSkill that matches the filter.
650
+ * Note, that providing `undefined` is treated as the value not being there.
651
+ * Read more here: https://pris.ly/d/null-undefined
652
+ * @param {UserSkillFindFirstArgs} args - Arguments to find a UserSkill
653
+ * @example
654
+ * // Get one UserSkill
655
+ * const userSkill = await prisma.userSkill.findFirst({
656
+ * where: {
657
+ * // ... provide filter here
658
+ * }
659
+ * })
660
+ */
661
+ 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>
662
+
663
+ /**
664
+ * Find the first UserSkill that matches the filter or
665
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
666
+ * Note, that providing `undefined` is treated as the value not being there.
667
+ * Read more here: https://pris.ly/d/null-undefined
668
+ * @param {UserSkillFindFirstOrThrowArgs} args - Arguments to find a UserSkill
669
+ * @example
670
+ * // Get one UserSkill
671
+ * const userSkill = await prisma.userSkill.findFirstOrThrow({
672
+ * where: {
673
+ * // ... provide filter here
674
+ * }
675
+ * })
676
+ */
677
+ 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>
678
+
679
+ /**
680
+ * Find zero or more UserSkills that matches the filter.
681
+ * Note, that providing `undefined` is treated as the value not being there.
682
+ * Read more here: https://pris.ly/d/null-undefined
683
+ * @param {UserSkillFindManyArgs} args - Arguments to filter and select certain fields only.
684
+ * @example
685
+ * // Get all UserSkills
686
+ * const userSkills = await prisma.userSkill.findMany()
687
+ *
688
+ * // Get first 10 UserSkills
689
+ * const userSkills = await prisma.userSkill.findMany({ take: 10 })
690
+ *
691
+ * // Only select the `id`
692
+ * const userSkillWithIdOnly = await prisma.userSkill.findMany({ select: { id: true } })
693
+ *
694
+ */
695
+ findMany<T extends UserSkillFindManyArgs>(args?: Prisma.SelectSubset<T, UserSkillFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserSkillPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
696
+
697
+ /**
698
+ * Create a UserSkill.
699
+ * @param {UserSkillCreateArgs} args - Arguments to create a UserSkill.
700
+ * @example
701
+ * // Create one UserSkill
702
+ * const UserSkill = await prisma.userSkill.create({
703
+ * data: {
704
+ * // ... data to create a UserSkill
705
+ * }
706
+ * })
707
+ *
708
+ */
709
+ 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>
710
+
711
+ /**
712
+ * Create many UserSkills.
713
+ * @param {UserSkillCreateManyArgs} args - Arguments to create many UserSkills.
714
+ * @example
715
+ * // Create many UserSkills
716
+ * const userSkill = await prisma.userSkill.createMany({
717
+ * data: [
718
+ * // ... provide data here
719
+ * ]
720
+ * })
721
+ *
722
+ */
723
+ createMany<T extends UserSkillCreateManyArgs>(args?: Prisma.SelectSubset<T, UserSkillCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
724
+
725
+ /**
726
+ * Create many UserSkills and returns the data saved in the database.
727
+ * @param {UserSkillCreateManyAndReturnArgs} args - Arguments to create many UserSkills.
728
+ * @example
729
+ * // Create many UserSkills
730
+ * const userSkill = await prisma.userSkill.createManyAndReturn({
731
+ * data: [
732
+ * // ... provide data here
733
+ * ]
734
+ * })
735
+ *
736
+ * // Create many UserSkills and only return the `id`
737
+ * const userSkillWithIdOnly = await prisma.userSkill.createManyAndReturn({
738
+ * select: { id: true },
739
+ * data: [
740
+ * // ... provide data here
741
+ * ]
742
+ * })
743
+ * Note, that providing `undefined` is treated as the value not being there.
744
+ * Read more here: https://pris.ly/d/null-undefined
745
+ *
746
+ */
747
+ createManyAndReturn<T extends UserSkillCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, UserSkillCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserSkillPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
748
+
749
+ /**
750
+ * Delete a UserSkill.
751
+ * @param {UserSkillDeleteArgs} args - Arguments to delete one UserSkill.
752
+ * @example
753
+ * // Delete one UserSkill
754
+ * const UserSkill = await prisma.userSkill.delete({
755
+ * where: {
756
+ * // ... filter to delete one UserSkill
757
+ * }
758
+ * })
759
+ *
760
+ */
761
+ 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>
762
+
763
+ /**
764
+ * Update one UserSkill.
765
+ * @param {UserSkillUpdateArgs} args - Arguments to update one UserSkill.
766
+ * @example
767
+ * // Update one UserSkill
768
+ * const userSkill = await prisma.userSkill.update({
769
+ * where: {
770
+ * // ... provide filter here
771
+ * },
772
+ * data: {
773
+ * // ... provide data here
774
+ * }
775
+ * })
776
+ *
777
+ */
778
+ 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>
779
+
780
+ /**
781
+ * Delete zero or more UserSkills.
782
+ * @param {UserSkillDeleteManyArgs} args - Arguments to filter UserSkills to delete.
783
+ * @example
784
+ * // Delete a few UserSkills
785
+ * const { count } = await prisma.userSkill.deleteMany({
786
+ * where: {
787
+ * // ... provide filter here
788
+ * }
789
+ * })
790
+ *
791
+ */
792
+ deleteMany<T extends UserSkillDeleteManyArgs>(args?: Prisma.SelectSubset<T, UserSkillDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
793
+
794
+ /**
795
+ * Update zero or more UserSkills.
796
+ * Note, that providing `undefined` is treated as the value not being there.
797
+ * Read more here: https://pris.ly/d/null-undefined
798
+ * @param {UserSkillUpdateManyArgs} args - Arguments to update one or more rows.
799
+ * @example
800
+ * // Update many UserSkills
801
+ * const userSkill = await prisma.userSkill.updateMany({
802
+ * where: {
803
+ * // ... provide filter here
804
+ * },
805
+ * data: {
806
+ * // ... provide data here
807
+ * }
808
+ * })
809
+ *
810
+ */
811
+ updateMany<T extends UserSkillUpdateManyArgs>(args: Prisma.SelectSubset<T, UserSkillUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
812
+
813
+ /**
814
+ * Update zero or more UserSkills and returns the data updated in the database.
815
+ * @param {UserSkillUpdateManyAndReturnArgs} args - Arguments to update many UserSkills.
816
+ * @example
817
+ * // Update many UserSkills
818
+ * const userSkill = await prisma.userSkill.updateManyAndReturn({
819
+ * where: {
820
+ * // ... provide filter here
821
+ * },
822
+ * data: [
823
+ * // ... provide data here
824
+ * ]
825
+ * })
826
+ *
827
+ * // Update zero or more UserSkills and only return the `id`
828
+ * const userSkillWithIdOnly = await prisma.userSkill.updateManyAndReturn({
829
+ * select: { id: true },
830
+ * where: {
831
+ * // ... provide filter here
832
+ * },
833
+ * data: [
834
+ * // ... provide data here
835
+ * ]
836
+ * })
837
+ * Note, that providing `undefined` is treated as the value not being there.
838
+ * Read more here: https://pris.ly/d/null-undefined
839
+ *
840
+ */
841
+ updateManyAndReturn<T extends UserSkillUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, UserSkillUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserSkillPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
842
+
843
+ /**
844
+ * Create or update one UserSkill.
845
+ * @param {UserSkillUpsertArgs} args - Arguments to update or create a UserSkill.
846
+ * @example
847
+ * // Update or create a UserSkill
848
+ * const userSkill = await prisma.userSkill.upsert({
849
+ * create: {
850
+ * // ... data to create a UserSkill
851
+ * },
852
+ * update: {
853
+ * // ... in case it already exists, update
854
+ * },
855
+ * where: {
856
+ * // ... the filter for the UserSkill we want to update
857
+ * }
858
+ * })
859
+ */
860
+ 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>
861
+
862
+
863
+ /**
864
+ * Count the number of UserSkills.
865
+ * Note, that providing `undefined` is treated as the value not being there.
866
+ * Read more here: https://pris.ly/d/null-undefined
867
+ * @param {UserSkillCountArgs} args - Arguments to filter UserSkills to count.
868
+ * @example
869
+ * // Count the number of UserSkills
870
+ * const count = await prisma.userSkill.count({
871
+ * where: {
872
+ * // ... the filter for the UserSkills we want to count
873
+ * }
874
+ * })
875
+ **/
876
+ count<T extends UserSkillCountArgs>(
877
+ args?: Prisma.Subset<T, UserSkillCountArgs>,
878
+ ): Prisma.PrismaPromise<
879
+ T extends runtime.Types.Utils.Record<'select', any>
880
+ ? T['select'] extends true
881
+ ? number
882
+ : Prisma.GetScalarType<T['select'], UserSkillCountAggregateOutputType>
883
+ : number
884
+ >
885
+
886
+ /**
887
+ * Allows you to perform aggregations operations on a UserSkill.
888
+ * Note, that providing `undefined` is treated as the value not being there.
889
+ * Read more here: https://pris.ly/d/null-undefined
890
+ * @param {UserSkillAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
891
+ * @example
892
+ * // Ordered by age ascending
893
+ * // Where email contains prisma.io
894
+ * // Limited to the 10 users
895
+ * const aggregations = await prisma.user.aggregate({
896
+ * _avg: {
897
+ * age: true,
898
+ * },
899
+ * where: {
900
+ * email: {
901
+ * contains: "prisma.io",
902
+ * },
903
+ * },
904
+ * orderBy: {
905
+ * age: "asc",
906
+ * },
907
+ * take: 10,
908
+ * })
909
+ **/
910
+ aggregate<T extends UserSkillAggregateArgs>(args: Prisma.Subset<T, UserSkillAggregateArgs>): Prisma.PrismaPromise<GetUserSkillAggregateType<T>>
911
+
912
+ /**
913
+ * Group by UserSkill.
914
+ * Note, that providing `undefined` is treated as the value not being there.
915
+ * Read more here: https://pris.ly/d/null-undefined
916
+ * @param {UserSkillGroupByArgs} args - Group by arguments.
917
+ * @example
918
+ * // Group by city, order by createdAt, get count
919
+ * const result = await prisma.user.groupBy({
920
+ * by: ['city', 'createdAt'],
921
+ * orderBy: {
922
+ * createdAt: true
923
+ * },
924
+ * _count: {
925
+ * _all: true
926
+ * },
927
+ * })
928
+ *
929
+ **/
930
+ groupBy<
931
+ T extends UserSkillGroupByArgs,
932
+ HasSelectOrTake extends Prisma.Or<
933
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
934
+ Prisma.Extends<'take', Prisma.Keys<T>>
935
+ >,
936
+ OrderByArg extends Prisma.True extends HasSelectOrTake
937
+ ? { orderBy: UserSkillGroupByArgs['orderBy'] }
938
+ : { orderBy?: UserSkillGroupByArgs['orderBy'] },
939
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
940
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
941
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
942
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
943
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
944
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
945
+ InputErrors extends ByEmpty extends Prisma.True
946
+ ? `Error: "by" must not be empty.`
947
+ : HavingValid extends Prisma.False
948
+ ? {
949
+ [P in HavingFields]: P extends ByFields
950
+ ? never
951
+ : P extends string
952
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
953
+ : [
954
+ Error,
955
+ 'Field ',
956
+ P,
957
+ ` in "having" needs to be provided in "by"`,
958
+ ]
959
+ }[HavingFields]
960
+ : 'take' extends Prisma.Keys<T>
961
+ ? 'orderBy' extends Prisma.Keys<T>
962
+ ? ByValid extends Prisma.True
963
+ ? {}
964
+ : {
965
+ [P in OrderFields]: P extends ByFields
966
+ ? never
967
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
968
+ }[OrderFields]
969
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
970
+ : 'skip' extends Prisma.Keys<T>
971
+ ? 'orderBy' extends Prisma.Keys<T>
972
+ ? ByValid extends Prisma.True
973
+ ? {}
974
+ : {
975
+ [P in OrderFields]: P extends ByFields
976
+ ? never
977
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
978
+ }[OrderFields]
979
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
980
+ : ByValid extends Prisma.True
981
+ ? {}
982
+ : {
983
+ [P in OrderFields]: P extends ByFields
984
+ ? never
985
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
986
+ }[OrderFields]
987
+ >(args: Prisma.SubsetIntersection<T, UserSkillGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUserSkillGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
988
+ /**
989
+ * Fields of the UserSkill model
990
+ */
991
+ readonly fields: UserSkillFieldRefs;
992
+ }
993
+
994
+ /**
995
+ * The delegate class that acts as a "Promise-like" for UserSkill.
996
+ * Why is this prefixed with `Prisma__`?
997
+ * Because we want to prevent naming conflicts as mentioned in
998
+ * https://github.com/prisma/prisma-client-js/issues/707
999
+ */
1000
+ export interface Prisma__UserSkillClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1001
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1002
+ 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>
1003
+ /**
1004
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1005
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1006
+ * @param onrejected The callback to execute when the Promise is rejected.
1007
+ * @returns A Promise for the completion of which ever callback is executed.
1008
+ */
1009
+ 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>
1010
+ /**
1011
+ * Attaches a callback for only the rejection of the Promise.
1012
+ * @param onrejected The callback to execute when the Promise is rejected.
1013
+ * @returns A Promise for the completion of the callback.
1014
+ */
1015
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1016
+ /**
1017
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1018
+ * resolved value cannot be modified from the callback.
1019
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1020
+ * @returns A Promise for the completion of the callback.
1021
+ */
1022
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1023
+ }
1024
+
1025
+
1026
+
1027
+
1028
+ /**
1029
+ * Fields of the UserSkill model
1030
+ */
1031
+ export interface UserSkillFieldRefs {
1032
+ readonly id: Prisma.FieldRef<"UserSkill", 'String'>
1033
+ readonly userId: Prisma.FieldRef<"UserSkill", 'String'>
1034
+ readonly name: Prisma.FieldRef<"UserSkill", 'String'>
1035
+ readonly title: Prisma.FieldRef<"UserSkill", 'String'>
1036
+ readonly template: Prisma.FieldRef<"UserSkill", 'String'>
1037
+ readonly createdAt: Prisma.FieldRef<"UserSkill", 'DateTime'>
1038
+ readonly updatedAt: Prisma.FieldRef<"UserSkill", 'DateTime'>
1039
+ readonly isDeleted: Prisma.FieldRef<"UserSkill", 'Boolean'>
1040
+ }
1041
+
1042
+
1043
+ // Custom InputTypes
1044
+ /**
1045
+ * UserSkill findUnique
1046
+ */
1047
+ export type UserSkillFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1048
+ /**
1049
+ * Select specific fields to fetch from the UserSkill
1050
+ */
1051
+ select?: Prisma.UserSkillSelect<ExtArgs> | null
1052
+ /**
1053
+ * Omit specific fields from the UserSkill
1054
+ */
1055
+ omit?: Prisma.UserSkillOmit<ExtArgs> | null
1056
+ /**
1057
+ * Choose, which related nodes to fetch as well
1058
+ */
1059
+ include?: Prisma.UserSkillInclude<ExtArgs> | null
1060
+ /**
1061
+ * Filter, which UserSkill to fetch.
1062
+ */
1063
+ where: Prisma.UserSkillWhereUniqueInput
1064
+ }
1065
+
1066
+ /**
1067
+ * UserSkill findUniqueOrThrow
1068
+ */
1069
+ export type UserSkillFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1070
+ /**
1071
+ * Select specific fields to fetch from the UserSkill
1072
+ */
1073
+ select?: Prisma.UserSkillSelect<ExtArgs> | null
1074
+ /**
1075
+ * Omit specific fields from the UserSkill
1076
+ */
1077
+ omit?: Prisma.UserSkillOmit<ExtArgs> | null
1078
+ /**
1079
+ * Choose, which related nodes to fetch as well
1080
+ */
1081
+ include?: Prisma.UserSkillInclude<ExtArgs> | null
1082
+ /**
1083
+ * Filter, which UserSkill to fetch.
1084
+ */
1085
+ where: Prisma.UserSkillWhereUniqueInput
1086
+ }
1087
+
1088
+ /**
1089
+ * UserSkill findFirst
1090
+ */
1091
+ export type UserSkillFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1092
+ /**
1093
+ * Select specific fields to fetch from the UserSkill
1094
+ */
1095
+ select?: Prisma.UserSkillSelect<ExtArgs> | null
1096
+ /**
1097
+ * Omit specific fields from the UserSkill
1098
+ */
1099
+ omit?: Prisma.UserSkillOmit<ExtArgs> | null
1100
+ /**
1101
+ * Choose, which related nodes to fetch as well
1102
+ */
1103
+ include?: Prisma.UserSkillInclude<ExtArgs> | null
1104
+ /**
1105
+ * Filter, which UserSkill to fetch.
1106
+ */
1107
+ where?: Prisma.UserSkillWhereInput
1108
+ /**
1109
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1110
+ *
1111
+ * Determine the order of UserSkills to fetch.
1112
+ */
1113
+ orderBy?: Prisma.UserSkillOrderByWithRelationInput | Prisma.UserSkillOrderByWithRelationInput[]
1114
+ /**
1115
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1116
+ *
1117
+ * Sets the position for searching for UserSkills.
1118
+ */
1119
+ cursor?: Prisma.UserSkillWhereUniqueInput
1120
+ /**
1121
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1122
+ *
1123
+ * Take `±n` UserSkills from the position of the cursor.
1124
+ */
1125
+ take?: number
1126
+ /**
1127
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1128
+ *
1129
+ * Skip the first `n` UserSkills.
1130
+ */
1131
+ skip?: number
1132
+ /**
1133
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1134
+ *
1135
+ * Filter by unique combinations of UserSkills.
1136
+ */
1137
+ distinct?: Prisma.UserSkillScalarFieldEnum | Prisma.UserSkillScalarFieldEnum[]
1138
+ }
1139
+
1140
+ /**
1141
+ * UserSkill findFirstOrThrow
1142
+ */
1143
+ export type UserSkillFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1144
+ /**
1145
+ * Select specific fields to fetch from the UserSkill
1146
+ */
1147
+ select?: Prisma.UserSkillSelect<ExtArgs> | null
1148
+ /**
1149
+ * Omit specific fields from the UserSkill
1150
+ */
1151
+ omit?: Prisma.UserSkillOmit<ExtArgs> | null
1152
+ /**
1153
+ * Choose, which related nodes to fetch as well
1154
+ */
1155
+ include?: Prisma.UserSkillInclude<ExtArgs> | null
1156
+ /**
1157
+ * Filter, which UserSkill to fetch.
1158
+ */
1159
+ where?: Prisma.UserSkillWhereInput
1160
+ /**
1161
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1162
+ *
1163
+ * Determine the order of UserSkills to fetch.
1164
+ */
1165
+ orderBy?: Prisma.UserSkillOrderByWithRelationInput | Prisma.UserSkillOrderByWithRelationInput[]
1166
+ /**
1167
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1168
+ *
1169
+ * Sets the position for searching for UserSkills.
1170
+ */
1171
+ cursor?: Prisma.UserSkillWhereUniqueInput
1172
+ /**
1173
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1174
+ *
1175
+ * Take `±n` UserSkills from the position of the cursor.
1176
+ */
1177
+ take?: number
1178
+ /**
1179
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1180
+ *
1181
+ * Skip the first `n` UserSkills.
1182
+ */
1183
+ skip?: number
1184
+ /**
1185
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1186
+ *
1187
+ * Filter by unique combinations of UserSkills.
1188
+ */
1189
+ distinct?: Prisma.UserSkillScalarFieldEnum | Prisma.UserSkillScalarFieldEnum[]
1190
+ }
1191
+
1192
+ /**
1193
+ * UserSkill findMany
1194
+ */
1195
+ export type UserSkillFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1196
+ /**
1197
+ * Select specific fields to fetch from the UserSkill
1198
+ */
1199
+ select?: Prisma.UserSkillSelect<ExtArgs> | null
1200
+ /**
1201
+ * Omit specific fields from the UserSkill
1202
+ */
1203
+ omit?: Prisma.UserSkillOmit<ExtArgs> | null
1204
+ /**
1205
+ * Choose, which related nodes to fetch as well
1206
+ */
1207
+ include?: Prisma.UserSkillInclude<ExtArgs> | null
1208
+ /**
1209
+ * Filter, which UserSkills to fetch.
1210
+ */
1211
+ where?: Prisma.UserSkillWhereInput
1212
+ /**
1213
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1214
+ *
1215
+ * Determine the order of UserSkills to fetch.
1216
+ */
1217
+ orderBy?: Prisma.UserSkillOrderByWithRelationInput | Prisma.UserSkillOrderByWithRelationInput[]
1218
+ /**
1219
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1220
+ *
1221
+ * Sets the position for listing UserSkills.
1222
+ */
1223
+ cursor?: Prisma.UserSkillWhereUniqueInput
1224
+ /**
1225
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1226
+ *
1227
+ * Take `±n` UserSkills from the position of the cursor.
1228
+ */
1229
+ take?: number
1230
+ /**
1231
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1232
+ *
1233
+ * Skip the first `n` UserSkills.
1234
+ */
1235
+ skip?: number
1236
+ /**
1237
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1238
+ *
1239
+ * Filter by unique combinations of UserSkills.
1240
+ */
1241
+ distinct?: Prisma.UserSkillScalarFieldEnum | Prisma.UserSkillScalarFieldEnum[]
1242
+ }
1243
+
1244
+ /**
1245
+ * UserSkill create
1246
+ */
1247
+ export type UserSkillCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1248
+ /**
1249
+ * Select specific fields to fetch from the UserSkill
1250
+ */
1251
+ select?: Prisma.UserSkillSelect<ExtArgs> | null
1252
+ /**
1253
+ * Omit specific fields from the UserSkill
1254
+ */
1255
+ omit?: Prisma.UserSkillOmit<ExtArgs> | null
1256
+ /**
1257
+ * Choose, which related nodes to fetch as well
1258
+ */
1259
+ include?: Prisma.UserSkillInclude<ExtArgs> | null
1260
+ /**
1261
+ * The data needed to create a UserSkill.
1262
+ */
1263
+ data: Prisma.XOR<Prisma.UserSkillCreateInput, Prisma.UserSkillUncheckedCreateInput>
1264
+ }
1265
+
1266
+ /**
1267
+ * UserSkill createMany
1268
+ */
1269
+ export type UserSkillCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1270
+ /**
1271
+ * The data used to create many UserSkills.
1272
+ */
1273
+ data: Prisma.UserSkillCreateManyInput | Prisma.UserSkillCreateManyInput[]
1274
+ skipDuplicates?: boolean
1275
+ }
1276
+
1277
+ /**
1278
+ * UserSkill createManyAndReturn
1279
+ */
1280
+ export type UserSkillCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1281
+ /**
1282
+ * Select specific fields to fetch from the UserSkill
1283
+ */
1284
+ select?: Prisma.UserSkillSelectCreateManyAndReturn<ExtArgs> | null
1285
+ /**
1286
+ * Omit specific fields from the UserSkill
1287
+ */
1288
+ omit?: Prisma.UserSkillOmit<ExtArgs> | null
1289
+ /**
1290
+ * The data used to create many UserSkills.
1291
+ */
1292
+ data: Prisma.UserSkillCreateManyInput | Prisma.UserSkillCreateManyInput[]
1293
+ skipDuplicates?: boolean
1294
+ /**
1295
+ * Choose, which related nodes to fetch as well
1296
+ */
1297
+ include?: Prisma.UserSkillIncludeCreateManyAndReturn<ExtArgs> | null
1298
+ }
1299
+
1300
+ /**
1301
+ * UserSkill update
1302
+ */
1303
+ export type UserSkillUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1304
+ /**
1305
+ * Select specific fields to fetch from the UserSkill
1306
+ */
1307
+ select?: Prisma.UserSkillSelect<ExtArgs> | null
1308
+ /**
1309
+ * Omit specific fields from the UserSkill
1310
+ */
1311
+ omit?: Prisma.UserSkillOmit<ExtArgs> | null
1312
+ /**
1313
+ * Choose, which related nodes to fetch as well
1314
+ */
1315
+ include?: Prisma.UserSkillInclude<ExtArgs> | null
1316
+ /**
1317
+ * The data needed to update a UserSkill.
1318
+ */
1319
+ data: Prisma.XOR<Prisma.UserSkillUpdateInput, Prisma.UserSkillUncheckedUpdateInput>
1320
+ /**
1321
+ * Choose, which UserSkill to update.
1322
+ */
1323
+ where: Prisma.UserSkillWhereUniqueInput
1324
+ }
1325
+
1326
+ /**
1327
+ * UserSkill updateMany
1328
+ */
1329
+ export type UserSkillUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1330
+ /**
1331
+ * The data used to update UserSkills.
1332
+ */
1333
+ data: Prisma.XOR<Prisma.UserSkillUpdateManyMutationInput, Prisma.UserSkillUncheckedUpdateManyInput>
1334
+ /**
1335
+ * Filter which UserSkills to update
1336
+ */
1337
+ where?: Prisma.UserSkillWhereInput
1338
+ /**
1339
+ * Limit how many UserSkills to update.
1340
+ */
1341
+ limit?: number
1342
+ }
1343
+
1344
+ /**
1345
+ * UserSkill updateManyAndReturn
1346
+ */
1347
+ export type UserSkillUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1348
+ /**
1349
+ * Select specific fields to fetch from the UserSkill
1350
+ */
1351
+ select?: Prisma.UserSkillSelectUpdateManyAndReturn<ExtArgs> | null
1352
+ /**
1353
+ * Omit specific fields from the UserSkill
1354
+ */
1355
+ omit?: Prisma.UserSkillOmit<ExtArgs> | null
1356
+ /**
1357
+ * The data used to update UserSkills.
1358
+ */
1359
+ data: Prisma.XOR<Prisma.UserSkillUpdateManyMutationInput, Prisma.UserSkillUncheckedUpdateManyInput>
1360
+ /**
1361
+ * Filter which UserSkills to update
1362
+ */
1363
+ where?: Prisma.UserSkillWhereInput
1364
+ /**
1365
+ * Limit how many UserSkills to update.
1366
+ */
1367
+ limit?: number
1368
+ /**
1369
+ * Choose, which related nodes to fetch as well
1370
+ */
1371
+ include?: Prisma.UserSkillIncludeUpdateManyAndReturn<ExtArgs> | null
1372
+ }
1373
+
1374
+ /**
1375
+ * UserSkill upsert
1376
+ */
1377
+ export type UserSkillUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1378
+ /**
1379
+ * Select specific fields to fetch from the UserSkill
1380
+ */
1381
+ select?: Prisma.UserSkillSelect<ExtArgs> | null
1382
+ /**
1383
+ * Omit specific fields from the UserSkill
1384
+ */
1385
+ omit?: Prisma.UserSkillOmit<ExtArgs> | null
1386
+ /**
1387
+ * Choose, which related nodes to fetch as well
1388
+ */
1389
+ include?: Prisma.UserSkillInclude<ExtArgs> | null
1390
+ /**
1391
+ * The filter to search for the UserSkill to update in case it exists.
1392
+ */
1393
+ where: Prisma.UserSkillWhereUniqueInput
1394
+ /**
1395
+ * In case the UserSkill found by the `where` argument doesn't exist, create a new UserSkill with this data.
1396
+ */
1397
+ create: Prisma.XOR<Prisma.UserSkillCreateInput, Prisma.UserSkillUncheckedCreateInput>
1398
+ /**
1399
+ * In case the UserSkill was found with the provided `where` argument, update it with this data.
1400
+ */
1401
+ update: Prisma.XOR<Prisma.UserSkillUpdateInput, Prisma.UserSkillUncheckedUpdateInput>
1402
+ }
1403
+
1404
+ /**
1405
+ * UserSkill delete
1406
+ */
1407
+ export type UserSkillDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1408
+ /**
1409
+ * Select specific fields to fetch from the UserSkill
1410
+ */
1411
+ select?: Prisma.UserSkillSelect<ExtArgs> | null
1412
+ /**
1413
+ * Omit specific fields from the UserSkill
1414
+ */
1415
+ omit?: Prisma.UserSkillOmit<ExtArgs> | null
1416
+ /**
1417
+ * Choose, which related nodes to fetch as well
1418
+ */
1419
+ include?: Prisma.UserSkillInclude<ExtArgs> | null
1420
+ /**
1421
+ * Filter which UserSkill to delete.
1422
+ */
1423
+ where: Prisma.UserSkillWhereUniqueInput
1424
+ }
1425
+
1426
+ /**
1427
+ * UserSkill deleteMany
1428
+ */
1429
+ export type UserSkillDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1430
+ /**
1431
+ * Filter which UserSkills to delete
1432
+ */
1433
+ where?: Prisma.UserSkillWhereInput
1434
+ /**
1435
+ * Limit how many UserSkills to delete.
1436
+ */
1437
+ limit?: number
1438
+ }
1439
+
1440
+ /**
1441
+ * UserSkill without action
1442
+ */
1443
+ export type UserSkillDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1444
+ /**
1445
+ * Select specific fields to fetch from the UserSkill
1446
+ */
1447
+ select?: Prisma.UserSkillSelect<ExtArgs> | null
1448
+ /**
1449
+ * Omit specific fields from the UserSkill
1450
+ */
1451
+ omit?: Prisma.UserSkillOmit<ExtArgs> | null
1452
+ /**
1453
+ * Choose, which related nodes to fetch as well
1454
+ */
1455
+ include?: Prisma.UserSkillInclude<ExtArgs> | null
1456
+ }