@allbluecn/database 0.4.0 → 0.4.1

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