@allbluecn/database 0.3.14 → 0.4.1

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