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