@allbluecn/database 0.3.14 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/desktop-init.ts +128 -0
  2. package/generated/browser.ts +494 -0
  3. package/generated/client.ts +518 -0
  4. package/generated/commonInputTypes.ts +1056 -0
  5. package/generated/enums.ts +93 -0
  6. package/generated/internal/class.ts +1144 -0
  7. package/generated/internal/prismaNamespace.ts +9603 -0
  8. package/generated/internal/prismaNamespaceBrowser.ts +1695 -0
  9. package/generated/models/Account.ts +1648 -0
  10. package/generated/models/AgentConversation.ts +1651 -0
  11. package/generated/models/AgentMessage.ts +1409 -0
  12. package/generated/models/AiProvider.ts +1607 -0
  13. package/generated/models/AiProviderConfig.ts +1514 -0
  14. package/generated/models/AiUsageLog.ts +1863 -0
  15. package/generated/models/AnyHubApp.ts +1911 -0
  16. package/generated/models/AnyHubMarketApp.ts +2008 -0
  17. package/generated/models/AnyHubPermission.ts +1422 -0
  18. package/generated/models/AnyHubRecommendation.ts +1870 -0
  19. package/generated/models/AnyHubRecommender.ts +1471 -0
  20. package/generated/models/Artboard.ts +1811 -0
  21. package/generated/models/ArtboardExport.ts +1548 -0
  22. package/generated/models/ArticleFavorite.ts +1352 -0
  23. package/generated/models/AuditLog.ts +1533 -0
  24. package/generated/models/Block.ts +1650 -0
  25. package/generated/models/BlockComponent.ts +1734 -0
  26. package/generated/models/BlockInstance.ts +2043 -0
  27. package/generated/models/BookmarkCategory.ts +1670 -0
  28. package/generated/models/ChatInterrupt.ts +1699 -0
  29. package/generated/models/ChatMessage.ts +1438 -0
  30. package/generated/models/ChatRun.ts +1632 -0
  31. package/generated/models/ChatThread.ts +2133 -0
  32. package/generated/models/Comment.ts +2206 -0
  33. package/generated/models/CommentIgnore.ts +1430 -0
  34. package/generated/models/CommentReaction.ts +1472 -0
  35. package/generated/models/ComplianceExport.ts +1345 -0
  36. package/generated/models/Component.ts +2345 -0
  37. package/generated/models/ComponentInstance.ts +2102 -0
  38. package/generated/models/ComponentTag.ts +1281 -0
  39. package/generated/models/CustomRole.ts +1560 -0
  40. package/generated/models/DesignProject.ts +1643 -0
  41. package/generated/models/DictionaryTerm.ts +1642 -0
  42. package/generated/models/GenerationRun.ts +1543 -0
  43. package/generated/models/IndustryCompliance.ts +1797 -0
  44. package/generated/models/InvitationCode.ts +1417 -0
  45. package/generated/models/InvitationUse.ts +1424 -0
  46. package/generated/models/Invoice.ts +1710 -0
  47. package/generated/models/KnowledgeBase.ts +1671 -0
  48. package/generated/models/KnowledgeDocument.ts +2458 -0
  49. package/generated/models/KnowledgeShareRecord.ts +1352 -0
  50. package/generated/models/Label.ts +1482 -0
  51. package/generated/models/LegalRegulation.ts +1873 -0
  52. package/generated/models/LicenseActivation.ts +1415 -0
  53. package/generated/models/LicenseKey.ts +1884 -0
  54. package/generated/models/LoginLog.ts +1450 -0
  55. package/generated/models/MonitoringErrorReport.ts +1299 -0
  56. package/generated/models/MonitoringHealthSnapshot.ts +1249 -0
  57. package/generated/models/MonitoringMetricsSnapshot.ts +1369 -0
  58. package/generated/models/MonitoringRequestLog.ts +1283 -0
  59. package/generated/models/PRD.ts +2805 -0
  60. package/generated/models/PRDPage.ts +2402 -0
  61. package/generated/models/PRDTag.ts +1430 -0
  62. package/generated/models/PRDVersion.ts +2121 -0
  63. package/generated/models/PageVersion.ts +1523 -0
  64. package/generated/models/PasswordResetToken.ts +1380 -0
  65. package/generated/models/Plan.ts +2069 -0
  66. package/generated/models/Project.ts +2148 -0
  67. package/generated/models/ProjectActivity.ts +1582 -0
  68. package/generated/models/ProjectMember.ts +1512 -0
  69. package/generated/models/ProviderEvent.ts +1227 -0
  70. package/generated/models/Reference.ts +1177 -0
  71. package/generated/models/Review.ts +1912 -0
  72. package/generated/models/ReviewComment.ts +1904 -0
  73. package/generated/models/RoleAssignment.ts +1430 -0
  74. package/generated/models/SequenceCounter.ts +1137 -0
  75. package/generated/models/Share.ts +1681 -0
  76. package/generated/models/ShareVersion.ts +1389 -0
  77. package/generated/models/SsoMapping.ts +1512 -0
  78. package/generated/models/SsoProvider.ts +1639 -0
  79. package/generated/models/Story.ts +5234 -0
  80. package/generated/models/StoryActivity.ts +1664 -0
  81. package/generated/models/StoryAttachment.ts +1467 -0
  82. package/generated/models/StoryComment.ts +1992 -0
  83. package/generated/models/StoryDependency.ts +1517 -0
  84. package/generated/models/StoryDocLink.ts +1430 -0
  85. package/generated/models/StoryFilterView.ts +1587 -0
  86. package/generated/models/StoryLabel.ts +1349 -0
  87. package/generated/models/StoryLink.ts +1415 -0
  88. package/generated/models/StoryPrdLink.ts +1430 -0
  89. package/generated/models/StoryReaction.ts +1472 -0
  90. package/generated/models/Subscription.ts +2147 -0
  91. package/generated/models/SystemSetting.ts +1217 -0
  92. package/generated/models/Tag.ts +1655 -0
  93. package/generated/models/TeamInvitation.ts +1526 -0
  94. package/generated/models/TeamMembership.ts +1436 -0
  95. package/generated/models/Template.ts +1391 -0
  96. package/generated/models/TemplateBlock.ts +1664 -0
  97. package/generated/models/ThirdPartyDependency.ts +1473 -0
  98. package/generated/models/UsageRecord.ts +1505 -0
  99. package/generated/models/User.ts +20998 -0
  100. package/generated/models/UserAgent.ts +1900 -0
  101. package/generated/models/UserSkill.ts +1456 -0
  102. package/generated/models/WebsiteBookmark.ts +2219 -0
  103. package/generated/models/Workspace.ts +2279 -0
  104. package/generated/models.ts +106 -0
  105. package/generated-sqlite/browser.ts +399 -0
  106. package/generated-sqlite/client.ts +423 -0
  107. package/generated-sqlite/commonInputTypes.ts +608 -0
  108. package/generated-sqlite/enums.ts +15 -0
  109. package/generated-sqlite/internal/class.ts +954 -0
  110. package/generated-sqlite/internal/prismaNamespace.ts +7716 -0
  111. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +1415 -0
  112. package/generated-sqlite/models/AgentConversation.ts +1647 -0
  113. package/generated-sqlite/models/AgentMessage.ts +1406 -0
  114. package/generated-sqlite/models/AiProvider.ts +1605 -0
  115. package/generated-sqlite/models/AiProviderConfig.ts +1511 -0
  116. package/generated-sqlite/models/AiUsageLog.ts +1845 -0
  117. package/generated-sqlite/models/AnyHubApp.ts +1908 -0
  118. package/generated-sqlite/models/AnyHubMarketApp.ts +1997 -0
  119. package/generated-sqlite/models/AnyHubPermission.ts +1419 -0
  120. package/generated-sqlite/models/AnyHubRecommendation.ts +1867 -0
  121. package/generated-sqlite/models/AnyHubRecommender.ts +1467 -0
  122. package/generated-sqlite/models/Artboard.ts +1808 -0
  123. package/generated-sqlite/models/ArtboardExport.ts +1545 -0
  124. package/generated-sqlite/models/ArticleFavorite.ts +1349 -0
  125. package/generated-sqlite/models/AuditLog.ts +1287 -0
  126. package/generated-sqlite/models/Block.ts +1648 -0
  127. package/generated-sqlite/models/BlockComponent.ts +1730 -0
  128. package/generated-sqlite/models/BlockInstance.ts +2039 -0
  129. package/generated-sqlite/models/BookmarkCategory.ts +1667 -0
  130. package/generated-sqlite/models/ChatInterrupt.ts +1695 -0
  131. package/generated-sqlite/models/ChatMessage.ts +1435 -0
  132. package/generated-sqlite/models/ChatRun.ts +1629 -0
  133. package/generated-sqlite/models/ChatThread.ts +2129 -0
  134. package/generated-sqlite/models/Comment.ts +2201 -0
  135. package/generated-sqlite/models/CommentIgnore.ts +1426 -0
  136. package/generated-sqlite/models/ComplianceExport.ts +1343 -0
  137. package/generated-sqlite/models/Component.ts +2326 -0
  138. package/generated-sqlite/models/ComponentInstance.ts +2097 -0
  139. package/generated-sqlite/models/ComponentTag.ts +1278 -0
  140. package/generated-sqlite/models/CustomRole.ts +1209 -0
  141. package/generated-sqlite/models/DesignProject.ts +1640 -0
  142. package/generated-sqlite/models/DictionaryTerm.ts +1639 -0
  143. package/generated-sqlite/models/GenerationRun.ts +1540 -0
  144. package/generated-sqlite/models/IndustryCompliance.ts +1794 -0
  145. package/generated-sqlite/models/InvitationCode.ts +1415 -0
  146. package/generated-sqlite/models/InvitationUse.ts +1420 -0
  147. package/generated-sqlite/models/Invoice.ts +1707 -0
  148. package/generated-sqlite/models/KnowledgeBase.ts +1668 -0
  149. package/generated-sqlite/models/KnowledgeDocument.ts +2282 -0
  150. package/generated-sqlite/models/KnowledgeShareRecord.ts +1349 -0
  151. package/generated-sqlite/models/LegalRegulation.ts +1870 -0
  152. package/generated-sqlite/models/LicenseActivation.ts +1203 -0
  153. package/generated-sqlite/models/LicenseKey.ts +1443 -0
  154. package/generated-sqlite/models/LoginLog.ts +1447 -0
  155. package/generated-sqlite/models/PRD.ts +2616 -0
  156. package/generated-sqlite/models/PRDPage.ts +2398 -0
  157. package/generated-sqlite/models/PRDTag.ts +1426 -0
  158. package/generated-sqlite/models/PRDVersion.ts +2117 -0
  159. package/generated-sqlite/models/PageVersion.ts +1528 -0
  160. package/generated-sqlite/models/PasswordResetToken.ts +1377 -0
  161. package/generated-sqlite/models/Plan.ts +2060 -0
  162. package/generated-sqlite/models/Project.ts +1994 -0
  163. package/generated-sqlite/models/ProjectActivity.ts +1578 -0
  164. package/generated-sqlite/models/ProjectMember.ts +1508 -0
  165. package/generated-sqlite/models/ProviderEvent.ts +1225 -0
  166. package/generated-sqlite/models/Reference.ts +1175 -0
  167. package/generated-sqlite/models/Review.ts +1903 -0
  168. package/generated-sqlite/models/ReviewComment.ts +1899 -0
  169. package/generated-sqlite/models/RoleAssignment.ts +1125 -0
  170. package/generated-sqlite/models/Share.ts +1674 -0
  171. package/generated-sqlite/models/ShareVersion.ts +1385 -0
  172. package/generated-sqlite/models/SsoMapping.ts +1181 -0
  173. package/generated-sqlite/models/SsoProvider.ts +1266 -0
  174. package/generated-sqlite/models/Subscription.ts +2137 -0
  175. package/generated-sqlite/models/SystemSetting.ts +1215 -0
  176. package/generated-sqlite/models/Tag.ts +1652 -0
  177. package/generated-sqlite/models/TeamInvitation.ts +1523 -0
  178. package/generated-sqlite/models/TeamMembership.ts +1433 -0
  179. package/generated-sqlite/models/Template.ts +1389 -0
  180. package/generated-sqlite/models/TemplateBlock.ts +1660 -0
  181. package/generated-sqlite/models/ThirdPartyDependency.ts +1471 -0
  182. package/generated-sqlite/models/UsageRecord.ts +1498 -0
  183. package/generated-sqlite/models/User.ts +13558 -0
  184. package/generated-sqlite/models/UserAgent.ts +1897 -0
  185. package/generated-sqlite/models/UserSkill.ts +1453 -0
  186. package/generated-sqlite/models/WebsiteBookmark.ts +2215 -0
  187. package/generated-sqlite/models/Workspace.ts +1824 -0
  188. package/generated-sqlite/models.ts +87 -0
  189. package/package.json +7 -3
  190. package/LICENSE +0 -661
@@ -0,0 +1,1797 @@
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
+ skipDuplicates?: boolean
704
+ }
705
+
706
+ export type IndustryComplianceUpsertWithWhereUniqueWithoutUserInput = {
707
+ where: Prisma.IndustryComplianceWhereUniqueInput
708
+ update: Prisma.XOR<Prisma.IndustryComplianceUpdateWithoutUserInput, Prisma.IndustryComplianceUncheckedUpdateWithoutUserInput>
709
+ create: Prisma.XOR<Prisma.IndustryComplianceCreateWithoutUserInput, Prisma.IndustryComplianceUncheckedCreateWithoutUserInput>
710
+ }
711
+
712
+ export type IndustryComplianceUpdateWithWhereUniqueWithoutUserInput = {
713
+ where: Prisma.IndustryComplianceWhereUniqueInput
714
+ data: Prisma.XOR<Prisma.IndustryComplianceUpdateWithoutUserInput, Prisma.IndustryComplianceUncheckedUpdateWithoutUserInput>
715
+ }
716
+
717
+ export type IndustryComplianceUpdateManyWithWhereWithoutUserInput = {
718
+ where: Prisma.IndustryComplianceScalarWhereInput
719
+ data: Prisma.XOR<Prisma.IndustryComplianceUpdateManyMutationInput, Prisma.IndustryComplianceUncheckedUpdateManyWithoutUserInput>
720
+ }
721
+
722
+ export type IndustryComplianceScalarWhereInput = {
723
+ AND?: Prisma.IndustryComplianceScalarWhereInput | Prisma.IndustryComplianceScalarWhereInput[]
724
+ OR?: Prisma.IndustryComplianceScalarWhereInput[]
725
+ NOT?: Prisma.IndustryComplianceScalarWhereInput | Prisma.IndustryComplianceScalarWhereInput[]
726
+ id?: Prisma.StringFilter<"IndustryCompliance"> | string
727
+ canonicalId?: Prisma.StringFilter<"IndustryCompliance"> | string
728
+ title?: Prisma.StringFilter<"IndustryCompliance"> | string
729
+ industry?: Prisma.StringFilter<"IndustryCompliance"> | string
730
+ regulatoryBody?: Prisma.StringNullableFilter<"IndustryCompliance"> | string | null
731
+ region?: Prisma.StringNullableFilter<"IndustryCompliance"> | string | null
732
+ summary?: Prisma.StringNullableFilter<"IndustryCompliance"> | string | null
733
+ content?: Prisma.StringNullableFilter<"IndustryCompliance"> | string | null
734
+ requirements?: Prisma.JsonFilter<"IndustryCompliance">
735
+ sourceUrl?: Prisma.StringNullableFilter<"IndustryCompliance"> | string | null
736
+ likeCount?: Prisma.IntFilter<"IndustryCompliance"> | number
737
+ tags?: Prisma.JsonFilter<"IndustryCompliance">
738
+ visibility?: Prisma.StringFilter<"IndustryCompliance"> | string
739
+ userId?: Prisma.StringFilter<"IndustryCompliance"> | string
740
+ isDeleted?: Prisma.BoolFilter<"IndustryCompliance"> | boolean
741
+ createdAt?: Prisma.DateTimeFilter<"IndustryCompliance"> | Date | string
742
+ updatedAt?: Prisma.DateTimeFilter<"IndustryCompliance"> | Date | string
743
+ }
744
+
745
+ export type IndustryComplianceCreateManyUserInput = {
746
+ id?: string
747
+ canonicalId: string
748
+ title: string
749
+ industry: string
750
+ regulatoryBody?: string | null
751
+ region?: string | null
752
+ summary?: string | null
753
+ content?: string | null
754
+ requirements?: Prisma.JsonNullValueInput | runtime.InputJsonValue
755
+ sourceUrl?: string | null
756
+ likeCount?: number
757
+ tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
758
+ visibility?: string
759
+ isDeleted?: boolean
760
+ createdAt?: Date | string
761
+ updatedAt?: Date | string
762
+ }
763
+
764
+ export type IndustryComplianceUpdateWithoutUserInput = {
765
+ id?: Prisma.StringFieldUpdateOperationsInput | string
766
+ canonicalId?: Prisma.StringFieldUpdateOperationsInput | string
767
+ title?: Prisma.StringFieldUpdateOperationsInput | string
768
+ industry?: Prisma.StringFieldUpdateOperationsInput | string
769
+ regulatoryBody?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
770
+ region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
771
+ summary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
772
+ content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
773
+ requirements?: Prisma.JsonNullValueInput | runtime.InputJsonValue
774
+ sourceUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
775
+ likeCount?: Prisma.IntFieldUpdateOperationsInput | number
776
+ tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
777
+ visibility?: Prisma.StringFieldUpdateOperationsInput | string
778
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
779
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
780
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
781
+ }
782
+
783
+ export type IndustryComplianceUncheckedUpdateWithoutUserInput = {
784
+ id?: Prisma.StringFieldUpdateOperationsInput | string
785
+ canonicalId?: Prisma.StringFieldUpdateOperationsInput | string
786
+ title?: Prisma.StringFieldUpdateOperationsInput | string
787
+ industry?: Prisma.StringFieldUpdateOperationsInput | string
788
+ regulatoryBody?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
789
+ region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
790
+ summary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
791
+ content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
792
+ requirements?: Prisma.JsonNullValueInput | runtime.InputJsonValue
793
+ sourceUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
794
+ likeCount?: Prisma.IntFieldUpdateOperationsInput | number
795
+ tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
796
+ visibility?: Prisma.StringFieldUpdateOperationsInput | string
797
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
798
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
799
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
800
+ }
801
+
802
+ export type IndustryComplianceUncheckedUpdateManyWithoutUserInput = {
803
+ id?: Prisma.StringFieldUpdateOperationsInput | string
804
+ canonicalId?: Prisma.StringFieldUpdateOperationsInput | string
805
+ title?: Prisma.StringFieldUpdateOperationsInput | string
806
+ industry?: Prisma.StringFieldUpdateOperationsInput | string
807
+ regulatoryBody?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
808
+ region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
809
+ summary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
810
+ content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
811
+ requirements?: Prisma.JsonNullValueInput | runtime.InputJsonValue
812
+ sourceUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
813
+ likeCount?: Prisma.IntFieldUpdateOperationsInput | number
814
+ tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
815
+ visibility?: Prisma.StringFieldUpdateOperationsInput | string
816
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
817
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
818
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
819
+ }
820
+
821
+
822
+
823
+ export type IndustryComplianceSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
824
+ id?: boolean
825
+ canonicalId?: boolean
826
+ title?: boolean
827
+ industry?: boolean
828
+ regulatoryBody?: boolean
829
+ region?: boolean
830
+ summary?: boolean
831
+ content?: boolean
832
+ requirements?: boolean
833
+ sourceUrl?: boolean
834
+ likeCount?: boolean
835
+ tags?: boolean
836
+ visibility?: boolean
837
+ userId?: boolean
838
+ isDeleted?: boolean
839
+ createdAt?: boolean
840
+ updatedAt?: boolean
841
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
842
+ }, ExtArgs["result"]["industryCompliance"]>
843
+
844
+ export type IndustryComplianceSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
845
+ id?: boolean
846
+ canonicalId?: boolean
847
+ title?: boolean
848
+ industry?: boolean
849
+ regulatoryBody?: boolean
850
+ region?: boolean
851
+ summary?: boolean
852
+ content?: boolean
853
+ requirements?: boolean
854
+ sourceUrl?: boolean
855
+ likeCount?: boolean
856
+ tags?: boolean
857
+ visibility?: boolean
858
+ userId?: boolean
859
+ isDeleted?: boolean
860
+ createdAt?: boolean
861
+ updatedAt?: boolean
862
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
863
+ }, ExtArgs["result"]["industryCompliance"]>
864
+
865
+ export type IndustryComplianceSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
866
+ id?: boolean
867
+ canonicalId?: boolean
868
+ title?: boolean
869
+ industry?: boolean
870
+ regulatoryBody?: boolean
871
+ region?: boolean
872
+ summary?: boolean
873
+ content?: boolean
874
+ requirements?: boolean
875
+ sourceUrl?: boolean
876
+ likeCount?: boolean
877
+ tags?: boolean
878
+ visibility?: boolean
879
+ userId?: boolean
880
+ isDeleted?: boolean
881
+ createdAt?: boolean
882
+ updatedAt?: boolean
883
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
884
+ }, ExtArgs["result"]["industryCompliance"]>
885
+
886
+ export type IndustryComplianceSelectScalar = {
887
+ id?: boolean
888
+ canonicalId?: boolean
889
+ title?: boolean
890
+ industry?: boolean
891
+ regulatoryBody?: boolean
892
+ region?: boolean
893
+ summary?: boolean
894
+ content?: boolean
895
+ requirements?: boolean
896
+ sourceUrl?: boolean
897
+ likeCount?: boolean
898
+ tags?: boolean
899
+ visibility?: boolean
900
+ userId?: boolean
901
+ isDeleted?: boolean
902
+ createdAt?: boolean
903
+ updatedAt?: boolean
904
+ }
905
+
906
+ 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"]>
907
+ export type IndustryComplianceInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
908
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
909
+ }
910
+ export type IndustryComplianceIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
911
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
912
+ }
913
+ export type IndustryComplianceIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
914
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
915
+ }
916
+
917
+ export type $IndustryCompliancePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
918
+ name: "IndustryCompliance"
919
+ objects: {
920
+ user: Prisma.$UserPayload<ExtArgs>
921
+ }
922
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
923
+ id: string
924
+ canonicalId: string
925
+ title: string
926
+ industry: string
927
+ regulatoryBody: string | null
928
+ region: string | null
929
+ summary: string | null
930
+ content: string | null
931
+ requirements: runtime.JsonValue
932
+ sourceUrl: string | null
933
+ likeCount: number
934
+ tags: runtime.JsonValue
935
+ visibility: string
936
+ userId: string
937
+ isDeleted: boolean
938
+ createdAt: Date
939
+ updatedAt: Date
940
+ }, ExtArgs["result"]["industryCompliance"]>
941
+ composites: {}
942
+ }
943
+
944
+ export type IndustryComplianceGetPayload<S extends boolean | null | undefined | IndustryComplianceDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$IndustryCompliancePayload, S>
945
+
946
+ export type IndustryComplianceCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
947
+ Omit<IndustryComplianceFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
948
+ select?: IndustryComplianceCountAggregateInputType | true
949
+ }
950
+
951
+ export interface IndustryComplianceDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
952
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['IndustryCompliance'], meta: { name: 'IndustryCompliance' } }
953
+ /**
954
+ * Find zero or one IndustryCompliance that matches the filter.
955
+ * @param {IndustryComplianceFindUniqueArgs} args - Arguments to find a IndustryCompliance
956
+ * @example
957
+ * // Get one IndustryCompliance
958
+ * const industryCompliance = await prisma.industryCompliance.findUnique({
959
+ * where: {
960
+ * // ... provide filter here
961
+ * }
962
+ * })
963
+ */
964
+ 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>
965
+
966
+ /**
967
+ * Find one IndustryCompliance that matches the filter or throw an error with `error.code='P2025'`
968
+ * if no matches were found.
969
+ * @param {IndustryComplianceFindUniqueOrThrowArgs} args - Arguments to find a IndustryCompliance
970
+ * @example
971
+ * // Get one IndustryCompliance
972
+ * const industryCompliance = await prisma.industryCompliance.findUniqueOrThrow({
973
+ * where: {
974
+ * // ... provide filter here
975
+ * }
976
+ * })
977
+ */
978
+ 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>
979
+
980
+ /**
981
+ * Find the first IndustryCompliance that matches the filter.
982
+ * Note, that providing `undefined` is treated as the value not being there.
983
+ * Read more here: https://pris.ly/d/null-undefined
984
+ * @param {IndustryComplianceFindFirstArgs} args - Arguments to find a IndustryCompliance
985
+ * @example
986
+ * // Get one IndustryCompliance
987
+ * const industryCompliance = await prisma.industryCompliance.findFirst({
988
+ * where: {
989
+ * // ... provide filter here
990
+ * }
991
+ * })
992
+ */
993
+ 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>
994
+
995
+ /**
996
+ * Find the first IndustryCompliance that matches the filter or
997
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
998
+ * Note, that providing `undefined` is treated as the value not being there.
999
+ * Read more here: https://pris.ly/d/null-undefined
1000
+ * @param {IndustryComplianceFindFirstOrThrowArgs} args - Arguments to find a IndustryCompliance
1001
+ * @example
1002
+ * // Get one IndustryCompliance
1003
+ * const industryCompliance = await prisma.industryCompliance.findFirstOrThrow({
1004
+ * where: {
1005
+ * // ... provide filter here
1006
+ * }
1007
+ * })
1008
+ */
1009
+ 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>
1010
+
1011
+ /**
1012
+ * Find zero or more IndustryCompliances that matches the filter.
1013
+ * Note, that providing `undefined` is treated as the value not being there.
1014
+ * Read more here: https://pris.ly/d/null-undefined
1015
+ * @param {IndustryComplianceFindManyArgs} args - Arguments to filter and select certain fields only.
1016
+ * @example
1017
+ * // Get all IndustryCompliances
1018
+ * const industryCompliances = await prisma.industryCompliance.findMany()
1019
+ *
1020
+ * // Get first 10 IndustryCompliances
1021
+ * const industryCompliances = await prisma.industryCompliance.findMany({ take: 10 })
1022
+ *
1023
+ * // Only select the `id`
1024
+ * const industryComplianceWithIdOnly = await prisma.industryCompliance.findMany({ select: { id: true } })
1025
+ *
1026
+ */
1027
+ findMany<T extends IndustryComplianceFindManyArgs>(args?: Prisma.SelectSubset<T, IndustryComplianceFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$IndustryCompliancePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1028
+
1029
+ /**
1030
+ * Create a IndustryCompliance.
1031
+ * @param {IndustryComplianceCreateArgs} args - Arguments to create a IndustryCompliance.
1032
+ * @example
1033
+ * // Create one IndustryCompliance
1034
+ * const IndustryCompliance = await prisma.industryCompliance.create({
1035
+ * data: {
1036
+ * // ... data to create a IndustryCompliance
1037
+ * }
1038
+ * })
1039
+ *
1040
+ */
1041
+ 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>
1042
+
1043
+ /**
1044
+ * Create many IndustryCompliances.
1045
+ * @param {IndustryComplianceCreateManyArgs} args - Arguments to create many IndustryCompliances.
1046
+ * @example
1047
+ * // Create many IndustryCompliances
1048
+ * const industryCompliance = await prisma.industryCompliance.createMany({
1049
+ * data: [
1050
+ * // ... provide data here
1051
+ * ]
1052
+ * })
1053
+ *
1054
+ */
1055
+ createMany<T extends IndustryComplianceCreateManyArgs>(args?: Prisma.SelectSubset<T, IndustryComplianceCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1056
+
1057
+ /**
1058
+ * Create many IndustryCompliances and returns the data saved in the database.
1059
+ * @param {IndustryComplianceCreateManyAndReturnArgs} args - Arguments to create many IndustryCompliances.
1060
+ * @example
1061
+ * // Create many IndustryCompliances
1062
+ * const industryCompliance = await prisma.industryCompliance.createManyAndReturn({
1063
+ * data: [
1064
+ * // ... provide data here
1065
+ * ]
1066
+ * })
1067
+ *
1068
+ * // Create many IndustryCompliances and only return the `id`
1069
+ * const industryComplianceWithIdOnly = await prisma.industryCompliance.createManyAndReturn({
1070
+ * select: { id: true },
1071
+ * data: [
1072
+ * // ... provide data here
1073
+ * ]
1074
+ * })
1075
+ * Note, that providing `undefined` is treated as the value not being there.
1076
+ * Read more here: https://pris.ly/d/null-undefined
1077
+ *
1078
+ */
1079
+ createManyAndReturn<T extends IndustryComplianceCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, IndustryComplianceCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$IndustryCompliancePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1080
+
1081
+ /**
1082
+ * Delete a IndustryCompliance.
1083
+ * @param {IndustryComplianceDeleteArgs} args - Arguments to delete one IndustryCompliance.
1084
+ * @example
1085
+ * // Delete one IndustryCompliance
1086
+ * const IndustryCompliance = await prisma.industryCompliance.delete({
1087
+ * where: {
1088
+ * // ... filter to delete one IndustryCompliance
1089
+ * }
1090
+ * })
1091
+ *
1092
+ */
1093
+ 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>
1094
+
1095
+ /**
1096
+ * Update one IndustryCompliance.
1097
+ * @param {IndustryComplianceUpdateArgs} args - Arguments to update one IndustryCompliance.
1098
+ * @example
1099
+ * // Update one IndustryCompliance
1100
+ * const industryCompliance = await prisma.industryCompliance.update({
1101
+ * where: {
1102
+ * // ... provide filter here
1103
+ * },
1104
+ * data: {
1105
+ * // ... provide data here
1106
+ * }
1107
+ * })
1108
+ *
1109
+ */
1110
+ 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>
1111
+
1112
+ /**
1113
+ * Delete zero or more IndustryCompliances.
1114
+ * @param {IndustryComplianceDeleteManyArgs} args - Arguments to filter IndustryCompliances to delete.
1115
+ * @example
1116
+ * // Delete a few IndustryCompliances
1117
+ * const { count } = await prisma.industryCompliance.deleteMany({
1118
+ * where: {
1119
+ * // ... provide filter here
1120
+ * }
1121
+ * })
1122
+ *
1123
+ */
1124
+ deleteMany<T extends IndustryComplianceDeleteManyArgs>(args?: Prisma.SelectSubset<T, IndustryComplianceDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1125
+
1126
+ /**
1127
+ * Update zero or more IndustryCompliances.
1128
+ * Note, that providing `undefined` is treated as the value not being there.
1129
+ * Read more here: https://pris.ly/d/null-undefined
1130
+ * @param {IndustryComplianceUpdateManyArgs} args - Arguments to update one or more rows.
1131
+ * @example
1132
+ * // Update many IndustryCompliances
1133
+ * const industryCompliance = await prisma.industryCompliance.updateMany({
1134
+ * where: {
1135
+ * // ... provide filter here
1136
+ * },
1137
+ * data: {
1138
+ * // ... provide data here
1139
+ * }
1140
+ * })
1141
+ *
1142
+ */
1143
+ updateMany<T extends IndustryComplianceUpdateManyArgs>(args: Prisma.SelectSubset<T, IndustryComplianceUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1144
+
1145
+ /**
1146
+ * Update zero or more IndustryCompliances and returns the data updated in the database.
1147
+ * @param {IndustryComplianceUpdateManyAndReturnArgs} args - Arguments to update many IndustryCompliances.
1148
+ * @example
1149
+ * // Update many IndustryCompliances
1150
+ * const industryCompliance = await prisma.industryCompliance.updateManyAndReturn({
1151
+ * where: {
1152
+ * // ... provide filter here
1153
+ * },
1154
+ * data: [
1155
+ * // ... provide data here
1156
+ * ]
1157
+ * })
1158
+ *
1159
+ * // Update zero or more IndustryCompliances and only return the `id`
1160
+ * const industryComplianceWithIdOnly = await prisma.industryCompliance.updateManyAndReturn({
1161
+ * select: { id: true },
1162
+ * where: {
1163
+ * // ... provide filter here
1164
+ * },
1165
+ * data: [
1166
+ * // ... provide data here
1167
+ * ]
1168
+ * })
1169
+ * Note, that providing `undefined` is treated as the value not being there.
1170
+ * Read more here: https://pris.ly/d/null-undefined
1171
+ *
1172
+ */
1173
+ updateManyAndReturn<T extends IndustryComplianceUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, IndustryComplianceUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$IndustryCompliancePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1174
+
1175
+ /**
1176
+ * Create or update one IndustryCompliance.
1177
+ * @param {IndustryComplianceUpsertArgs} args - Arguments to update or create a IndustryCompliance.
1178
+ * @example
1179
+ * // Update or create a IndustryCompliance
1180
+ * const industryCompliance = await prisma.industryCompliance.upsert({
1181
+ * create: {
1182
+ * // ... data to create a IndustryCompliance
1183
+ * },
1184
+ * update: {
1185
+ * // ... in case it already exists, update
1186
+ * },
1187
+ * where: {
1188
+ * // ... the filter for the IndustryCompliance we want to update
1189
+ * }
1190
+ * })
1191
+ */
1192
+ 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>
1193
+
1194
+
1195
+ /**
1196
+ * Count the number of IndustryCompliances.
1197
+ * Note, that providing `undefined` is treated as the value not being there.
1198
+ * Read more here: https://pris.ly/d/null-undefined
1199
+ * @param {IndustryComplianceCountArgs} args - Arguments to filter IndustryCompliances to count.
1200
+ * @example
1201
+ * // Count the number of IndustryCompliances
1202
+ * const count = await prisma.industryCompliance.count({
1203
+ * where: {
1204
+ * // ... the filter for the IndustryCompliances we want to count
1205
+ * }
1206
+ * })
1207
+ **/
1208
+ count<T extends IndustryComplianceCountArgs>(
1209
+ args?: Prisma.Subset<T, IndustryComplianceCountArgs>,
1210
+ ): Prisma.PrismaPromise<
1211
+ T extends runtime.Types.Utils.Record<'select', any>
1212
+ ? T['select'] extends true
1213
+ ? number
1214
+ : Prisma.GetScalarType<T['select'], IndustryComplianceCountAggregateOutputType>
1215
+ : number
1216
+ >
1217
+
1218
+ /**
1219
+ * Allows you to perform aggregations operations on a IndustryCompliance.
1220
+ * Note, that providing `undefined` is treated as the value not being there.
1221
+ * Read more here: https://pris.ly/d/null-undefined
1222
+ * @param {IndustryComplianceAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1223
+ * @example
1224
+ * // Ordered by age ascending
1225
+ * // Where email contains prisma.io
1226
+ * // Limited to the 10 users
1227
+ * const aggregations = await prisma.user.aggregate({
1228
+ * _avg: {
1229
+ * age: true,
1230
+ * },
1231
+ * where: {
1232
+ * email: {
1233
+ * contains: "prisma.io",
1234
+ * },
1235
+ * },
1236
+ * orderBy: {
1237
+ * age: "asc",
1238
+ * },
1239
+ * take: 10,
1240
+ * })
1241
+ **/
1242
+ aggregate<T extends IndustryComplianceAggregateArgs>(args: Prisma.Subset<T, IndustryComplianceAggregateArgs>): Prisma.PrismaPromise<GetIndustryComplianceAggregateType<T>>
1243
+
1244
+ /**
1245
+ * Group by IndustryCompliance.
1246
+ * Note, that providing `undefined` is treated as the value not being there.
1247
+ * Read more here: https://pris.ly/d/null-undefined
1248
+ * @param {IndustryComplianceGroupByArgs} args - Group by arguments.
1249
+ * @example
1250
+ * // Group by city, order by createdAt, get count
1251
+ * const result = await prisma.user.groupBy({
1252
+ * by: ['city', 'createdAt'],
1253
+ * orderBy: {
1254
+ * createdAt: true
1255
+ * },
1256
+ * _count: {
1257
+ * _all: true
1258
+ * },
1259
+ * })
1260
+ *
1261
+ **/
1262
+ groupBy<
1263
+ T extends IndustryComplianceGroupByArgs,
1264
+ HasSelectOrTake extends Prisma.Or<
1265
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1266
+ Prisma.Extends<'take', Prisma.Keys<T>>
1267
+ >,
1268
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1269
+ ? { orderBy: IndustryComplianceGroupByArgs['orderBy'] }
1270
+ : { orderBy?: IndustryComplianceGroupByArgs['orderBy'] },
1271
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1272
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1273
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1274
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1275
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1276
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1277
+ InputErrors extends ByEmpty extends Prisma.True
1278
+ ? `Error: "by" must not be empty.`
1279
+ : HavingValid extends Prisma.False
1280
+ ? {
1281
+ [P in HavingFields]: P extends ByFields
1282
+ ? never
1283
+ : P extends string
1284
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1285
+ : [
1286
+ Error,
1287
+ 'Field ',
1288
+ P,
1289
+ ` in "having" needs to be provided in "by"`,
1290
+ ]
1291
+ }[HavingFields]
1292
+ : 'take' extends Prisma.Keys<T>
1293
+ ? 'orderBy' extends Prisma.Keys<T>
1294
+ ? ByValid extends Prisma.True
1295
+ ? {}
1296
+ : {
1297
+ [P in OrderFields]: P extends ByFields
1298
+ ? never
1299
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1300
+ }[OrderFields]
1301
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1302
+ : 'skip' extends Prisma.Keys<T>
1303
+ ? 'orderBy' extends Prisma.Keys<T>
1304
+ ? ByValid extends Prisma.True
1305
+ ? {}
1306
+ : {
1307
+ [P in OrderFields]: P extends ByFields
1308
+ ? never
1309
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1310
+ }[OrderFields]
1311
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1312
+ : ByValid extends Prisma.True
1313
+ ? {}
1314
+ : {
1315
+ [P in OrderFields]: P extends ByFields
1316
+ ? never
1317
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1318
+ }[OrderFields]
1319
+ >(args: Prisma.SubsetIntersection<T, IndustryComplianceGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetIndustryComplianceGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1320
+ /**
1321
+ * Fields of the IndustryCompliance model
1322
+ */
1323
+ readonly fields: IndustryComplianceFieldRefs;
1324
+ }
1325
+
1326
+ /**
1327
+ * The delegate class that acts as a "Promise-like" for IndustryCompliance.
1328
+ * Why is this prefixed with `Prisma__`?
1329
+ * Because we want to prevent naming conflicts as mentioned in
1330
+ * https://github.com/prisma/prisma-client-js/issues/707
1331
+ */
1332
+ export interface Prisma__IndustryComplianceClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1333
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1334
+ 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>
1335
+ /**
1336
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1337
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1338
+ * @param onrejected The callback to execute when the Promise is rejected.
1339
+ * @returns A Promise for the completion of which ever callback is executed.
1340
+ */
1341
+ 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>
1342
+ /**
1343
+ * Attaches a callback for only the rejection of the Promise.
1344
+ * @param onrejected The callback to execute when the Promise is rejected.
1345
+ * @returns A Promise for the completion of the callback.
1346
+ */
1347
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1348
+ /**
1349
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1350
+ * resolved value cannot be modified from the callback.
1351
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1352
+ * @returns A Promise for the completion of the callback.
1353
+ */
1354
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1355
+ }
1356
+
1357
+
1358
+
1359
+
1360
+ /**
1361
+ * Fields of the IndustryCompliance model
1362
+ */
1363
+ export interface IndustryComplianceFieldRefs {
1364
+ readonly id: Prisma.FieldRef<"IndustryCompliance", 'String'>
1365
+ readonly canonicalId: Prisma.FieldRef<"IndustryCompliance", 'String'>
1366
+ readonly title: Prisma.FieldRef<"IndustryCompliance", 'String'>
1367
+ readonly industry: Prisma.FieldRef<"IndustryCompliance", 'String'>
1368
+ readonly regulatoryBody: Prisma.FieldRef<"IndustryCompliance", 'String'>
1369
+ readonly region: Prisma.FieldRef<"IndustryCompliance", 'String'>
1370
+ readonly summary: Prisma.FieldRef<"IndustryCompliance", 'String'>
1371
+ readonly content: Prisma.FieldRef<"IndustryCompliance", 'String'>
1372
+ readonly requirements: Prisma.FieldRef<"IndustryCompliance", 'Json'>
1373
+ readonly sourceUrl: Prisma.FieldRef<"IndustryCompliance", 'String'>
1374
+ readonly likeCount: Prisma.FieldRef<"IndustryCompliance", 'Int'>
1375
+ readonly tags: Prisma.FieldRef<"IndustryCompliance", 'Json'>
1376
+ readonly visibility: Prisma.FieldRef<"IndustryCompliance", 'String'>
1377
+ readonly userId: Prisma.FieldRef<"IndustryCompliance", 'String'>
1378
+ readonly isDeleted: Prisma.FieldRef<"IndustryCompliance", 'Boolean'>
1379
+ readonly createdAt: Prisma.FieldRef<"IndustryCompliance", 'DateTime'>
1380
+ readonly updatedAt: Prisma.FieldRef<"IndustryCompliance", 'DateTime'>
1381
+ }
1382
+
1383
+
1384
+ // Custom InputTypes
1385
+ /**
1386
+ * IndustryCompliance findUnique
1387
+ */
1388
+ export type IndustryComplianceFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1389
+ /**
1390
+ * Select specific fields to fetch from the IndustryCompliance
1391
+ */
1392
+ select?: Prisma.IndustryComplianceSelect<ExtArgs> | null
1393
+ /**
1394
+ * Omit specific fields from the IndustryCompliance
1395
+ */
1396
+ omit?: Prisma.IndustryComplianceOmit<ExtArgs> | null
1397
+ /**
1398
+ * Choose, which related nodes to fetch as well
1399
+ */
1400
+ include?: Prisma.IndustryComplianceInclude<ExtArgs> | null
1401
+ /**
1402
+ * Filter, which IndustryCompliance to fetch.
1403
+ */
1404
+ where: Prisma.IndustryComplianceWhereUniqueInput
1405
+ }
1406
+
1407
+ /**
1408
+ * IndustryCompliance findUniqueOrThrow
1409
+ */
1410
+ export type IndustryComplianceFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1411
+ /**
1412
+ * Select specific fields to fetch from the IndustryCompliance
1413
+ */
1414
+ select?: Prisma.IndustryComplianceSelect<ExtArgs> | null
1415
+ /**
1416
+ * Omit specific fields from the IndustryCompliance
1417
+ */
1418
+ omit?: Prisma.IndustryComplianceOmit<ExtArgs> | null
1419
+ /**
1420
+ * Choose, which related nodes to fetch as well
1421
+ */
1422
+ include?: Prisma.IndustryComplianceInclude<ExtArgs> | null
1423
+ /**
1424
+ * Filter, which IndustryCompliance to fetch.
1425
+ */
1426
+ where: Prisma.IndustryComplianceWhereUniqueInput
1427
+ }
1428
+
1429
+ /**
1430
+ * IndustryCompliance findFirst
1431
+ */
1432
+ export type IndustryComplianceFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1433
+ /**
1434
+ * Select specific fields to fetch from the IndustryCompliance
1435
+ */
1436
+ select?: Prisma.IndustryComplianceSelect<ExtArgs> | null
1437
+ /**
1438
+ * Omit specific fields from the IndustryCompliance
1439
+ */
1440
+ omit?: Prisma.IndustryComplianceOmit<ExtArgs> | null
1441
+ /**
1442
+ * Choose, which related nodes to fetch as well
1443
+ */
1444
+ include?: Prisma.IndustryComplianceInclude<ExtArgs> | null
1445
+ /**
1446
+ * Filter, which IndustryCompliance to fetch.
1447
+ */
1448
+ where?: Prisma.IndustryComplianceWhereInput
1449
+ /**
1450
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1451
+ *
1452
+ * Determine the order of IndustryCompliances to fetch.
1453
+ */
1454
+ orderBy?: Prisma.IndustryComplianceOrderByWithRelationInput | Prisma.IndustryComplianceOrderByWithRelationInput[]
1455
+ /**
1456
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1457
+ *
1458
+ * Sets the position for searching for IndustryCompliances.
1459
+ */
1460
+ cursor?: Prisma.IndustryComplianceWhereUniqueInput
1461
+ /**
1462
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1463
+ *
1464
+ * Take `±n` IndustryCompliances from the position of the cursor.
1465
+ */
1466
+ take?: number
1467
+ /**
1468
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1469
+ *
1470
+ * Skip the first `n` IndustryCompliances.
1471
+ */
1472
+ skip?: number
1473
+ /**
1474
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1475
+ *
1476
+ * Filter by unique combinations of IndustryCompliances.
1477
+ */
1478
+ distinct?: Prisma.IndustryComplianceScalarFieldEnum | Prisma.IndustryComplianceScalarFieldEnum[]
1479
+ }
1480
+
1481
+ /**
1482
+ * IndustryCompliance findFirstOrThrow
1483
+ */
1484
+ export type IndustryComplianceFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1485
+ /**
1486
+ * Select specific fields to fetch from the IndustryCompliance
1487
+ */
1488
+ select?: Prisma.IndustryComplianceSelect<ExtArgs> | null
1489
+ /**
1490
+ * Omit specific fields from the IndustryCompliance
1491
+ */
1492
+ omit?: Prisma.IndustryComplianceOmit<ExtArgs> | null
1493
+ /**
1494
+ * Choose, which related nodes to fetch as well
1495
+ */
1496
+ include?: Prisma.IndustryComplianceInclude<ExtArgs> | null
1497
+ /**
1498
+ * Filter, which IndustryCompliance to fetch.
1499
+ */
1500
+ where?: Prisma.IndustryComplianceWhereInput
1501
+ /**
1502
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1503
+ *
1504
+ * Determine the order of IndustryCompliances to fetch.
1505
+ */
1506
+ orderBy?: Prisma.IndustryComplianceOrderByWithRelationInput | Prisma.IndustryComplianceOrderByWithRelationInput[]
1507
+ /**
1508
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1509
+ *
1510
+ * Sets the position for searching for IndustryCompliances.
1511
+ */
1512
+ cursor?: Prisma.IndustryComplianceWhereUniqueInput
1513
+ /**
1514
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1515
+ *
1516
+ * Take `±n` IndustryCompliances from the position of the cursor.
1517
+ */
1518
+ take?: number
1519
+ /**
1520
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1521
+ *
1522
+ * Skip the first `n` IndustryCompliances.
1523
+ */
1524
+ skip?: number
1525
+ /**
1526
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1527
+ *
1528
+ * Filter by unique combinations of IndustryCompliances.
1529
+ */
1530
+ distinct?: Prisma.IndustryComplianceScalarFieldEnum | Prisma.IndustryComplianceScalarFieldEnum[]
1531
+ }
1532
+
1533
+ /**
1534
+ * IndustryCompliance findMany
1535
+ */
1536
+ export type IndustryComplianceFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1537
+ /**
1538
+ * Select specific fields to fetch from the IndustryCompliance
1539
+ */
1540
+ select?: Prisma.IndustryComplianceSelect<ExtArgs> | null
1541
+ /**
1542
+ * Omit specific fields from the IndustryCompliance
1543
+ */
1544
+ omit?: Prisma.IndustryComplianceOmit<ExtArgs> | null
1545
+ /**
1546
+ * Choose, which related nodes to fetch as well
1547
+ */
1548
+ include?: Prisma.IndustryComplianceInclude<ExtArgs> | null
1549
+ /**
1550
+ * Filter, which IndustryCompliances to fetch.
1551
+ */
1552
+ where?: Prisma.IndustryComplianceWhereInput
1553
+ /**
1554
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1555
+ *
1556
+ * Determine the order of IndustryCompliances to fetch.
1557
+ */
1558
+ orderBy?: Prisma.IndustryComplianceOrderByWithRelationInput | Prisma.IndustryComplianceOrderByWithRelationInput[]
1559
+ /**
1560
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1561
+ *
1562
+ * Sets the position for listing IndustryCompliances.
1563
+ */
1564
+ cursor?: Prisma.IndustryComplianceWhereUniqueInput
1565
+ /**
1566
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1567
+ *
1568
+ * Take `±n` IndustryCompliances from the position of the cursor.
1569
+ */
1570
+ take?: number
1571
+ /**
1572
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1573
+ *
1574
+ * Skip the first `n` IndustryCompliances.
1575
+ */
1576
+ skip?: number
1577
+ /**
1578
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1579
+ *
1580
+ * Filter by unique combinations of IndustryCompliances.
1581
+ */
1582
+ distinct?: Prisma.IndustryComplianceScalarFieldEnum | Prisma.IndustryComplianceScalarFieldEnum[]
1583
+ }
1584
+
1585
+ /**
1586
+ * IndustryCompliance create
1587
+ */
1588
+ export type IndustryComplianceCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1589
+ /**
1590
+ * Select specific fields to fetch from the IndustryCompliance
1591
+ */
1592
+ select?: Prisma.IndustryComplianceSelect<ExtArgs> | null
1593
+ /**
1594
+ * Omit specific fields from the IndustryCompliance
1595
+ */
1596
+ omit?: Prisma.IndustryComplianceOmit<ExtArgs> | null
1597
+ /**
1598
+ * Choose, which related nodes to fetch as well
1599
+ */
1600
+ include?: Prisma.IndustryComplianceInclude<ExtArgs> | null
1601
+ /**
1602
+ * The data needed to create a IndustryCompliance.
1603
+ */
1604
+ data: Prisma.XOR<Prisma.IndustryComplianceCreateInput, Prisma.IndustryComplianceUncheckedCreateInput>
1605
+ }
1606
+
1607
+ /**
1608
+ * IndustryCompliance createMany
1609
+ */
1610
+ export type IndustryComplianceCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1611
+ /**
1612
+ * The data used to create many IndustryCompliances.
1613
+ */
1614
+ data: Prisma.IndustryComplianceCreateManyInput | Prisma.IndustryComplianceCreateManyInput[]
1615
+ skipDuplicates?: boolean
1616
+ }
1617
+
1618
+ /**
1619
+ * IndustryCompliance createManyAndReturn
1620
+ */
1621
+ export type IndustryComplianceCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1622
+ /**
1623
+ * Select specific fields to fetch from the IndustryCompliance
1624
+ */
1625
+ select?: Prisma.IndustryComplianceSelectCreateManyAndReturn<ExtArgs> | null
1626
+ /**
1627
+ * Omit specific fields from the IndustryCompliance
1628
+ */
1629
+ omit?: Prisma.IndustryComplianceOmit<ExtArgs> | null
1630
+ /**
1631
+ * The data used to create many IndustryCompliances.
1632
+ */
1633
+ data: Prisma.IndustryComplianceCreateManyInput | Prisma.IndustryComplianceCreateManyInput[]
1634
+ skipDuplicates?: boolean
1635
+ /**
1636
+ * Choose, which related nodes to fetch as well
1637
+ */
1638
+ include?: Prisma.IndustryComplianceIncludeCreateManyAndReturn<ExtArgs> | null
1639
+ }
1640
+
1641
+ /**
1642
+ * IndustryCompliance update
1643
+ */
1644
+ export type IndustryComplianceUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1645
+ /**
1646
+ * Select specific fields to fetch from the IndustryCompliance
1647
+ */
1648
+ select?: Prisma.IndustryComplianceSelect<ExtArgs> | null
1649
+ /**
1650
+ * Omit specific fields from the IndustryCompliance
1651
+ */
1652
+ omit?: Prisma.IndustryComplianceOmit<ExtArgs> | null
1653
+ /**
1654
+ * Choose, which related nodes to fetch as well
1655
+ */
1656
+ include?: Prisma.IndustryComplianceInclude<ExtArgs> | null
1657
+ /**
1658
+ * The data needed to update a IndustryCompliance.
1659
+ */
1660
+ data: Prisma.XOR<Prisma.IndustryComplianceUpdateInput, Prisma.IndustryComplianceUncheckedUpdateInput>
1661
+ /**
1662
+ * Choose, which IndustryCompliance to update.
1663
+ */
1664
+ where: Prisma.IndustryComplianceWhereUniqueInput
1665
+ }
1666
+
1667
+ /**
1668
+ * IndustryCompliance updateMany
1669
+ */
1670
+ export type IndustryComplianceUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1671
+ /**
1672
+ * The data used to update IndustryCompliances.
1673
+ */
1674
+ data: Prisma.XOR<Prisma.IndustryComplianceUpdateManyMutationInput, Prisma.IndustryComplianceUncheckedUpdateManyInput>
1675
+ /**
1676
+ * Filter which IndustryCompliances to update
1677
+ */
1678
+ where?: Prisma.IndustryComplianceWhereInput
1679
+ /**
1680
+ * Limit how many IndustryCompliances to update.
1681
+ */
1682
+ limit?: number
1683
+ }
1684
+
1685
+ /**
1686
+ * IndustryCompliance updateManyAndReturn
1687
+ */
1688
+ export type IndustryComplianceUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1689
+ /**
1690
+ * Select specific fields to fetch from the IndustryCompliance
1691
+ */
1692
+ select?: Prisma.IndustryComplianceSelectUpdateManyAndReturn<ExtArgs> | null
1693
+ /**
1694
+ * Omit specific fields from the IndustryCompliance
1695
+ */
1696
+ omit?: Prisma.IndustryComplianceOmit<ExtArgs> | null
1697
+ /**
1698
+ * The data used to update IndustryCompliances.
1699
+ */
1700
+ data: Prisma.XOR<Prisma.IndustryComplianceUpdateManyMutationInput, Prisma.IndustryComplianceUncheckedUpdateManyInput>
1701
+ /**
1702
+ * Filter which IndustryCompliances to update
1703
+ */
1704
+ where?: Prisma.IndustryComplianceWhereInput
1705
+ /**
1706
+ * Limit how many IndustryCompliances to update.
1707
+ */
1708
+ limit?: number
1709
+ /**
1710
+ * Choose, which related nodes to fetch as well
1711
+ */
1712
+ include?: Prisma.IndustryComplianceIncludeUpdateManyAndReturn<ExtArgs> | null
1713
+ }
1714
+
1715
+ /**
1716
+ * IndustryCompliance upsert
1717
+ */
1718
+ export type IndustryComplianceUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1719
+ /**
1720
+ * Select specific fields to fetch from the IndustryCompliance
1721
+ */
1722
+ select?: Prisma.IndustryComplianceSelect<ExtArgs> | null
1723
+ /**
1724
+ * Omit specific fields from the IndustryCompliance
1725
+ */
1726
+ omit?: Prisma.IndustryComplianceOmit<ExtArgs> | null
1727
+ /**
1728
+ * Choose, which related nodes to fetch as well
1729
+ */
1730
+ include?: Prisma.IndustryComplianceInclude<ExtArgs> | null
1731
+ /**
1732
+ * The filter to search for the IndustryCompliance to update in case it exists.
1733
+ */
1734
+ where: Prisma.IndustryComplianceWhereUniqueInput
1735
+ /**
1736
+ * In case the IndustryCompliance found by the `where` argument doesn't exist, create a new IndustryCompliance with this data.
1737
+ */
1738
+ create: Prisma.XOR<Prisma.IndustryComplianceCreateInput, Prisma.IndustryComplianceUncheckedCreateInput>
1739
+ /**
1740
+ * In case the IndustryCompliance was found with the provided `where` argument, update it with this data.
1741
+ */
1742
+ update: Prisma.XOR<Prisma.IndustryComplianceUpdateInput, Prisma.IndustryComplianceUncheckedUpdateInput>
1743
+ }
1744
+
1745
+ /**
1746
+ * IndustryCompliance delete
1747
+ */
1748
+ export type IndustryComplianceDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1749
+ /**
1750
+ * Select specific fields to fetch from the IndustryCompliance
1751
+ */
1752
+ select?: Prisma.IndustryComplianceSelect<ExtArgs> | null
1753
+ /**
1754
+ * Omit specific fields from the IndustryCompliance
1755
+ */
1756
+ omit?: Prisma.IndustryComplianceOmit<ExtArgs> | null
1757
+ /**
1758
+ * Choose, which related nodes to fetch as well
1759
+ */
1760
+ include?: Prisma.IndustryComplianceInclude<ExtArgs> | null
1761
+ /**
1762
+ * Filter which IndustryCompliance to delete.
1763
+ */
1764
+ where: Prisma.IndustryComplianceWhereUniqueInput
1765
+ }
1766
+
1767
+ /**
1768
+ * IndustryCompliance deleteMany
1769
+ */
1770
+ export type IndustryComplianceDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1771
+ /**
1772
+ * Filter which IndustryCompliances to delete
1773
+ */
1774
+ where?: Prisma.IndustryComplianceWhereInput
1775
+ /**
1776
+ * Limit how many IndustryCompliances to delete.
1777
+ */
1778
+ limit?: number
1779
+ }
1780
+
1781
+ /**
1782
+ * IndustryCompliance without action
1783
+ */
1784
+ export type IndustryComplianceDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1785
+ /**
1786
+ * Select specific fields to fetch from the IndustryCompliance
1787
+ */
1788
+ select?: Prisma.IndustryComplianceSelect<ExtArgs> | null
1789
+ /**
1790
+ * Omit specific fields from the IndustryCompliance
1791
+ */
1792
+ omit?: Prisma.IndustryComplianceOmit<ExtArgs> | null
1793
+ /**
1794
+ * Choose, which related nodes to fetch as well
1795
+ */
1796
+ include?: Prisma.IndustryComplianceInclude<ExtArgs> | null
1797
+ }