@allbluecn/database 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/desktop-init.ts +128 -0
- package/generated/browser.ts +494 -0
- package/generated/client.ts +518 -0
- package/generated/commonInputTypes.ts +1056 -0
- package/generated/enums.ts +93 -0
- package/generated/internal/class.ts +1144 -0
- package/generated/internal/prismaNamespace.ts +9603 -0
- package/generated/internal/prismaNamespaceBrowser.ts +1695 -0
- package/generated/models/Account.ts +1648 -0
- package/generated/models/AgentConversation.ts +1651 -0
- package/generated/models/AgentMessage.ts +1409 -0
- package/generated/models/AiProvider.ts +1607 -0
- package/generated/models/AiProviderConfig.ts +1514 -0
- package/generated/models/AiUsageLog.ts +1863 -0
- package/generated/models/AnyHubApp.ts +1911 -0
- package/generated/models/AnyHubMarketApp.ts +2008 -0
- package/generated/models/AnyHubPermission.ts +1422 -0
- package/generated/models/AnyHubRecommendation.ts +1870 -0
- package/generated/models/AnyHubRecommender.ts +1471 -0
- package/generated/models/Artboard.ts +1811 -0
- package/generated/models/ArtboardExport.ts +1548 -0
- package/generated/models/ArticleFavorite.ts +1352 -0
- package/generated/models/AuditLog.ts +1533 -0
- package/generated/models/Block.ts +1650 -0
- package/generated/models/BlockComponent.ts +1734 -0
- package/generated/models/BlockInstance.ts +2043 -0
- package/generated/models/BookmarkCategory.ts +1670 -0
- package/generated/models/ChatInterrupt.ts +1699 -0
- package/generated/models/ChatMessage.ts +1438 -0
- package/generated/models/ChatRun.ts +1632 -0
- package/generated/models/ChatThread.ts +2133 -0
- package/generated/models/Comment.ts +2206 -0
- package/generated/models/CommentIgnore.ts +1430 -0
- package/generated/models/CommentReaction.ts +1472 -0
- package/generated/models/ComplianceExport.ts +1345 -0
- package/generated/models/Component.ts +2345 -0
- package/generated/models/ComponentInstance.ts +2102 -0
- package/generated/models/ComponentTag.ts +1281 -0
- package/generated/models/CustomRole.ts +1560 -0
- package/generated/models/DesignProject.ts +1643 -0
- package/generated/models/DictionaryTerm.ts +1642 -0
- package/generated/models/GenerationRun.ts +1543 -0
- package/generated/models/IndustryCompliance.ts +1797 -0
- package/generated/models/InvitationCode.ts +1417 -0
- package/generated/models/InvitationUse.ts +1424 -0
- package/generated/models/Invoice.ts +1710 -0
- package/generated/models/KnowledgeBase.ts +1671 -0
- package/generated/models/KnowledgeDocument.ts +2458 -0
- package/generated/models/KnowledgeShareRecord.ts +1352 -0
- package/generated/models/Label.ts +1482 -0
- package/generated/models/LegalRegulation.ts +1873 -0
- package/generated/models/LicenseActivation.ts +1415 -0
- package/generated/models/LicenseKey.ts +1884 -0
- package/generated/models/LoginLog.ts +1450 -0
- package/generated/models/MonitoringErrorReport.ts +1299 -0
- package/generated/models/MonitoringHealthSnapshot.ts +1249 -0
- package/generated/models/MonitoringMetricsSnapshot.ts +1369 -0
- package/generated/models/MonitoringRequestLog.ts +1283 -0
- package/generated/models/PRD.ts +2805 -0
- package/generated/models/PRDPage.ts +2402 -0
- package/generated/models/PRDTag.ts +1430 -0
- package/generated/models/PRDVersion.ts +2121 -0
- package/generated/models/PageVersion.ts +1523 -0
- package/generated/models/PasswordResetToken.ts +1380 -0
- package/generated/models/Plan.ts +2069 -0
- package/generated/models/Project.ts +2148 -0
- package/generated/models/ProjectActivity.ts +1582 -0
- package/generated/models/ProjectMember.ts +1512 -0
- package/generated/models/ProviderEvent.ts +1227 -0
- package/generated/models/Reference.ts +1177 -0
- package/generated/models/Review.ts +1912 -0
- package/generated/models/ReviewComment.ts +1904 -0
- package/generated/models/RoleAssignment.ts +1430 -0
- package/generated/models/SequenceCounter.ts +1137 -0
- package/generated/models/Share.ts +1681 -0
- package/generated/models/ShareVersion.ts +1389 -0
- package/generated/models/SsoMapping.ts +1512 -0
- package/generated/models/SsoProvider.ts +1639 -0
- package/generated/models/Story.ts +5234 -0
- package/generated/models/StoryActivity.ts +1664 -0
- package/generated/models/StoryAttachment.ts +1467 -0
- package/generated/models/StoryComment.ts +1992 -0
- package/generated/models/StoryDependency.ts +1517 -0
- package/generated/models/StoryDocLink.ts +1430 -0
- package/generated/models/StoryFilterView.ts +1587 -0
- package/generated/models/StoryLabel.ts +1349 -0
- package/generated/models/StoryLink.ts +1415 -0
- package/generated/models/StoryPrdLink.ts +1430 -0
- package/generated/models/StoryReaction.ts +1472 -0
- package/generated/models/Subscription.ts +2147 -0
- package/generated/models/SystemSetting.ts +1217 -0
- package/generated/models/Tag.ts +1655 -0
- package/generated/models/TeamInvitation.ts +1526 -0
- package/generated/models/TeamMembership.ts +1436 -0
- package/generated/models/Template.ts +1391 -0
- package/generated/models/TemplateBlock.ts +1664 -0
- package/generated/models/ThirdPartyDependency.ts +1473 -0
- package/generated/models/UsageRecord.ts +1505 -0
- package/generated/models/User.ts +20998 -0
- package/generated/models/UserAgent.ts +1900 -0
- package/generated/models/UserSkill.ts +1456 -0
- package/generated/models/WebsiteBookmark.ts +2219 -0
- package/generated/models/Workspace.ts +2279 -0
- package/generated/models.ts +106 -0
- package/generated-sqlite/browser.ts +399 -0
- package/generated-sqlite/client.ts +423 -0
- package/generated-sqlite/commonInputTypes.ts +608 -0
- package/generated-sqlite/enums.ts +15 -0
- package/generated-sqlite/internal/class.ts +954 -0
- package/generated-sqlite/internal/prismaNamespace.ts +7716 -0
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +1415 -0
- package/generated-sqlite/models/AgentConversation.ts +1647 -0
- package/generated-sqlite/models/AgentMessage.ts +1406 -0
- package/generated-sqlite/models/AiProvider.ts +1605 -0
- package/generated-sqlite/models/AiProviderConfig.ts +1511 -0
- package/generated-sqlite/models/AiUsageLog.ts +1845 -0
- package/generated-sqlite/models/AnyHubApp.ts +1908 -0
- package/generated-sqlite/models/AnyHubMarketApp.ts +1997 -0
- package/generated-sqlite/models/AnyHubPermission.ts +1419 -0
- package/generated-sqlite/models/AnyHubRecommendation.ts +1867 -0
- package/generated-sqlite/models/AnyHubRecommender.ts +1467 -0
- package/generated-sqlite/models/Artboard.ts +1808 -0
- package/generated-sqlite/models/ArtboardExport.ts +1545 -0
- package/generated-sqlite/models/ArticleFavorite.ts +1349 -0
- package/generated-sqlite/models/AuditLog.ts +1287 -0
- package/generated-sqlite/models/Block.ts +1648 -0
- package/generated-sqlite/models/BlockComponent.ts +1730 -0
- package/generated-sqlite/models/BlockInstance.ts +2039 -0
- package/generated-sqlite/models/BookmarkCategory.ts +1667 -0
- package/generated-sqlite/models/ChatInterrupt.ts +1695 -0
- package/generated-sqlite/models/ChatMessage.ts +1435 -0
- package/generated-sqlite/models/ChatRun.ts +1629 -0
- package/generated-sqlite/models/ChatThread.ts +2129 -0
- package/generated-sqlite/models/Comment.ts +2201 -0
- package/generated-sqlite/models/CommentIgnore.ts +1426 -0
- package/generated-sqlite/models/ComplianceExport.ts +1343 -0
- package/generated-sqlite/models/Component.ts +2326 -0
- package/generated-sqlite/models/ComponentInstance.ts +2097 -0
- package/generated-sqlite/models/ComponentTag.ts +1278 -0
- package/generated-sqlite/models/CustomRole.ts +1209 -0
- package/generated-sqlite/models/DesignProject.ts +1640 -0
- package/generated-sqlite/models/DictionaryTerm.ts +1639 -0
- package/generated-sqlite/models/GenerationRun.ts +1540 -0
- package/generated-sqlite/models/IndustryCompliance.ts +1794 -0
- package/generated-sqlite/models/InvitationCode.ts +1415 -0
- package/generated-sqlite/models/InvitationUse.ts +1420 -0
- package/generated-sqlite/models/Invoice.ts +1707 -0
- package/generated-sqlite/models/KnowledgeBase.ts +1668 -0
- package/generated-sqlite/models/KnowledgeDocument.ts +2282 -0
- package/generated-sqlite/models/KnowledgeShareRecord.ts +1349 -0
- package/generated-sqlite/models/LegalRegulation.ts +1870 -0
- package/generated-sqlite/models/LicenseActivation.ts +1203 -0
- package/generated-sqlite/models/LicenseKey.ts +1443 -0
- package/generated-sqlite/models/LoginLog.ts +1447 -0
- package/generated-sqlite/models/PRD.ts +2616 -0
- package/generated-sqlite/models/PRDPage.ts +2398 -0
- package/generated-sqlite/models/PRDTag.ts +1426 -0
- package/generated-sqlite/models/PRDVersion.ts +2117 -0
- package/generated-sqlite/models/PageVersion.ts +1528 -0
- package/generated-sqlite/models/PasswordResetToken.ts +1377 -0
- package/generated-sqlite/models/Plan.ts +2060 -0
- package/generated-sqlite/models/Project.ts +1994 -0
- package/generated-sqlite/models/ProjectActivity.ts +1578 -0
- package/generated-sqlite/models/ProjectMember.ts +1508 -0
- package/generated-sqlite/models/ProviderEvent.ts +1225 -0
- package/generated-sqlite/models/Reference.ts +1175 -0
- package/generated-sqlite/models/Review.ts +1903 -0
- package/generated-sqlite/models/ReviewComment.ts +1899 -0
- package/generated-sqlite/models/RoleAssignment.ts +1125 -0
- package/generated-sqlite/models/Share.ts +1674 -0
- package/generated-sqlite/models/ShareVersion.ts +1385 -0
- package/generated-sqlite/models/SsoMapping.ts +1181 -0
- package/generated-sqlite/models/SsoProvider.ts +1266 -0
- package/generated-sqlite/models/Subscription.ts +2137 -0
- package/generated-sqlite/models/SystemSetting.ts +1215 -0
- package/generated-sqlite/models/Tag.ts +1652 -0
- package/generated-sqlite/models/TeamInvitation.ts +1523 -0
- package/generated-sqlite/models/TeamMembership.ts +1433 -0
- package/generated-sqlite/models/Template.ts +1389 -0
- package/generated-sqlite/models/TemplateBlock.ts +1660 -0
- package/generated-sqlite/models/ThirdPartyDependency.ts +1471 -0
- package/generated-sqlite/models/UsageRecord.ts +1498 -0
- package/generated-sqlite/models/User.ts +13558 -0
- package/generated-sqlite/models/UserAgent.ts +1897 -0
- package/generated-sqlite/models/UserSkill.ts +1453 -0
- package/generated-sqlite/models/WebsiteBookmark.ts +2215 -0
- package/generated-sqlite/models/Workspace.ts +1824 -0
- package/generated-sqlite/models.ts +87 -0
- package/package.json +7 -3
- package/LICENSE +0 -661
|
@@ -0,0 +1,1467 @@
|
|
|
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 `AnyHubRecommender` 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 AnyHubRecommender
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type AnyHubRecommenderModel = runtime.Types.Result.DefaultSelection<Prisma.$AnyHubRecommenderPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateAnyHubRecommender = {
|
|
22
|
+
_count: AnyHubRecommenderCountAggregateOutputType | null
|
|
23
|
+
_min: AnyHubRecommenderMinAggregateOutputType | null
|
|
24
|
+
_max: AnyHubRecommenderMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type AnyHubRecommenderMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
recommendationId: string | null
|
|
30
|
+
userId: string | null
|
|
31
|
+
reason: string | null
|
|
32
|
+
createdAt: Date | null
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export type AnyHubRecommenderMaxAggregateOutputType = {
|
|
36
|
+
id: string | null
|
|
37
|
+
recommendationId: string | null
|
|
38
|
+
userId: string | null
|
|
39
|
+
reason: string | null
|
|
40
|
+
createdAt: Date | null
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export type AnyHubRecommenderCountAggregateOutputType = {
|
|
44
|
+
id: number
|
|
45
|
+
recommendationId: number
|
|
46
|
+
userId: number
|
|
47
|
+
reason: number
|
|
48
|
+
createdAt: number
|
|
49
|
+
_all: number
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
export type AnyHubRecommenderMinAggregateInputType = {
|
|
54
|
+
id?: true
|
|
55
|
+
recommendationId?: true
|
|
56
|
+
userId?: true
|
|
57
|
+
reason?: true
|
|
58
|
+
createdAt?: true
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export type AnyHubRecommenderMaxAggregateInputType = {
|
|
62
|
+
id?: true
|
|
63
|
+
recommendationId?: true
|
|
64
|
+
userId?: true
|
|
65
|
+
reason?: true
|
|
66
|
+
createdAt?: true
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export type AnyHubRecommenderCountAggregateInputType = {
|
|
70
|
+
id?: true
|
|
71
|
+
recommendationId?: true
|
|
72
|
+
userId?: true
|
|
73
|
+
reason?: true
|
|
74
|
+
createdAt?: true
|
|
75
|
+
_all?: true
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export type AnyHubRecommenderAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
79
|
+
/**
|
|
80
|
+
* Filter which AnyHubRecommender to aggregate.
|
|
81
|
+
*/
|
|
82
|
+
where?: Prisma.AnyHubRecommenderWhereInput
|
|
83
|
+
/**
|
|
84
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
85
|
+
*
|
|
86
|
+
* Determine the order of AnyHubRecommenders to fetch.
|
|
87
|
+
*/
|
|
88
|
+
orderBy?: Prisma.AnyHubRecommenderOrderByWithRelationInput | Prisma.AnyHubRecommenderOrderByWithRelationInput[]
|
|
89
|
+
/**
|
|
90
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
91
|
+
*
|
|
92
|
+
* Sets the start position
|
|
93
|
+
*/
|
|
94
|
+
cursor?: Prisma.AnyHubRecommenderWhereUniqueInput
|
|
95
|
+
/**
|
|
96
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
97
|
+
*
|
|
98
|
+
* Take `±n` AnyHubRecommenders from the position of the cursor.
|
|
99
|
+
*/
|
|
100
|
+
take?: number
|
|
101
|
+
/**
|
|
102
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
103
|
+
*
|
|
104
|
+
* Skip the first `n` AnyHubRecommenders.
|
|
105
|
+
*/
|
|
106
|
+
skip?: number
|
|
107
|
+
/**
|
|
108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
109
|
+
*
|
|
110
|
+
* Count returned AnyHubRecommenders
|
|
111
|
+
**/
|
|
112
|
+
_count?: true | AnyHubRecommenderCountAggregateInputType
|
|
113
|
+
/**
|
|
114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
115
|
+
*
|
|
116
|
+
* Select which fields to find the minimum value
|
|
117
|
+
**/
|
|
118
|
+
_min?: AnyHubRecommenderMinAggregateInputType
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
121
|
+
*
|
|
122
|
+
* Select which fields to find the maximum value
|
|
123
|
+
**/
|
|
124
|
+
_max?: AnyHubRecommenderMaxAggregateInputType
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export type GetAnyHubRecommenderAggregateType<T extends AnyHubRecommenderAggregateArgs> = {
|
|
128
|
+
[P in keyof T & keyof AggregateAnyHubRecommender]: P extends '_count' | 'count'
|
|
129
|
+
? T[P] extends true
|
|
130
|
+
? number
|
|
131
|
+
: Prisma.GetScalarType<T[P], AggregateAnyHubRecommender[P]>
|
|
132
|
+
: Prisma.GetScalarType<T[P], AggregateAnyHubRecommender[P]>
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
export type AnyHubRecommenderGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
139
|
+
where?: Prisma.AnyHubRecommenderWhereInput
|
|
140
|
+
orderBy?: Prisma.AnyHubRecommenderOrderByWithAggregationInput | Prisma.AnyHubRecommenderOrderByWithAggregationInput[]
|
|
141
|
+
by: Prisma.AnyHubRecommenderScalarFieldEnum[] | Prisma.AnyHubRecommenderScalarFieldEnum
|
|
142
|
+
having?: Prisma.AnyHubRecommenderScalarWhereWithAggregatesInput
|
|
143
|
+
take?: number
|
|
144
|
+
skip?: number
|
|
145
|
+
_count?: AnyHubRecommenderCountAggregateInputType | true
|
|
146
|
+
_min?: AnyHubRecommenderMinAggregateInputType
|
|
147
|
+
_max?: AnyHubRecommenderMaxAggregateInputType
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export type AnyHubRecommenderGroupByOutputType = {
|
|
151
|
+
id: string
|
|
152
|
+
recommendationId: string
|
|
153
|
+
userId: string
|
|
154
|
+
reason: string | null
|
|
155
|
+
createdAt: Date
|
|
156
|
+
_count: AnyHubRecommenderCountAggregateOutputType | null
|
|
157
|
+
_min: AnyHubRecommenderMinAggregateOutputType | null
|
|
158
|
+
_max: AnyHubRecommenderMaxAggregateOutputType | null
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export type GetAnyHubRecommenderGroupByPayload<T extends AnyHubRecommenderGroupByArgs> = Prisma.PrismaPromise<
|
|
162
|
+
Array<
|
|
163
|
+
Prisma.PickEnumerable<AnyHubRecommenderGroupByOutputType, T['by']> &
|
|
164
|
+
{
|
|
165
|
+
[P in ((keyof T) & (keyof AnyHubRecommenderGroupByOutputType))]: P extends '_count'
|
|
166
|
+
? T[P] extends boolean
|
|
167
|
+
? number
|
|
168
|
+
: Prisma.GetScalarType<T[P], AnyHubRecommenderGroupByOutputType[P]>
|
|
169
|
+
: Prisma.GetScalarType<T[P], AnyHubRecommenderGroupByOutputType[P]>
|
|
170
|
+
}
|
|
171
|
+
>
|
|
172
|
+
>
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
export type AnyHubRecommenderWhereInput = {
|
|
177
|
+
AND?: Prisma.AnyHubRecommenderWhereInput | Prisma.AnyHubRecommenderWhereInput[]
|
|
178
|
+
OR?: Prisma.AnyHubRecommenderWhereInput[]
|
|
179
|
+
NOT?: Prisma.AnyHubRecommenderWhereInput | Prisma.AnyHubRecommenderWhereInput[]
|
|
180
|
+
id?: Prisma.StringFilter<"AnyHubRecommender"> | string
|
|
181
|
+
recommendationId?: Prisma.StringFilter<"AnyHubRecommender"> | string
|
|
182
|
+
userId?: Prisma.StringFilter<"AnyHubRecommender"> | string
|
|
183
|
+
reason?: Prisma.StringNullableFilter<"AnyHubRecommender"> | string | null
|
|
184
|
+
createdAt?: Prisma.DateTimeFilter<"AnyHubRecommender"> | Date | string
|
|
185
|
+
recommendation?: Prisma.XOR<Prisma.AnyHubRecommendationScalarRelationFilter, Prisma.AnyHubRecommendationWhereInput>
|
|
186
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export type AnyHubRecommenderOrderByWithRelationInput = {
|
|
190
|
+
id?: Prisma.SortOrder
|
|
191
|
+
recommendationId?: Prisma.SortOrder
|
|
192
|
+
userId?: Prisma.SortOrder
|
|
193
|
+
reason?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
194
|
+
createdAt?: Prisma.SortOrder
|
|
195
|
+
recommendation?: Prisma.AnyHubRecommendationOrderByWithRelationInput
|
|
196
|
+
user?: Prisma.UserOrderByWithRelationInput
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export type AnyHubRecommenderWhereUniqueInput = Prisma.AtLeast<{
|
|
200
|
+
id?: string
|
|
201
|
+
recommendationId_userId?: Prisma.AnyHubRecommenderRecommendationIdUserIdCompoundUniqueInput
|
|
202
|
+
AND?: Prisma.AnyHubRecommenderWhereInput | Prisma.AnyHubRecommenderWhereInput[]
|
|
203
|
+
OR?: Prisma.AnyHubRecommenderWhereInput[]
|
|
204
|
+
NOT?: Prisma.AnyHubRecommenderWhereInput | Prisma.AnyHubRecommenderWhereInput[]
|
|
205
|
+
recommendationId?: Prisma.StringFilter<"AnyHubRecommender"> | string
|
|
206
|
+
userId?: Prisma.StringFilter<"AnyHubRecommender"> | string
|
|
207
|
+
reason?: Prisma.StringNullableFilter<"AnyHubRecommender"> | string | null
|
|
208
|
+
createdAt?: Prisma.DateTimeFilter<"AnyHubRecommender"> | Date | string
|
|
209
|
+
recommendation?: Prisma.XOR<Prisma.AnyHubRecommendationScalarRelationFilter, Prisma.AnyHubRecommendationWhereInput>
|
|
210
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
211
|
+
}, "id" | "recommendationId_userId">
|
|
212
|
+
|
|
213
|
+
export type AnyHubRecommenderOrderByWithAggregationInput = {
|
|
214
|
+
id?: Prisma.SortOrder
|
|
215
|
+
recommendationId?: Prisma.SortOrder
|
|
216
|
+
userId?: Prisma.SortOrder
|
|
217
|
+
reason?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
218
|
+
createdAt?: Prisma.SortOrder
|
|
219
|
+
_count?: Prisma.AnyHubRecommenderCountOrderByAggregateInput
|
|
220
|
+
_max?: Prisma.AnyHubRecommenderMaxOrderByAggregateInput
|
|
221
|
+
_min?: Prisma.AnyHubRecommenderMinOrderByAggregateInput
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export type AnyHubRecommenderScalarWhereWithAggregatesInput = {
|
|
225
|
+
AND?: Prisma.AnyHubRecommenderScalarWhereWithAggregatesInput | Prisma.AnyHubRecommenderScalarWhereWithAggregatesInput[]
|
|
226
|
+
OR?: Prisma.AnyHubRecommenderScalarWhereWithAggregatesInput[]
|
|
227
|
+
NOT?: Prisma.AnyHubRecommenderScalarWhereWithAggregatesInput | Prisma.AnyHubRecommenderScalarWhereWithAggregatesInput[]
|
|
228
|
+
id?: Prisma.StringWithAggregatesFilter<"AnyHubRecommender"> | string
|
|
229
|
+
recommendationId?: Prisma.StringWithAggregatesFilter<"AnyHubRecommender"> | string
|
|
230
|
+
userId?: Prisma.StringWithAggregatesFilter<"AnyHubRecommender"> | string
|
|
231
|
+
reason?: Prisma.StringNullableWithAggregatesFilter<"AnyHubRecommender"> | string | null
|
|
232
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AnyHubRecommender"> | Date | string
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
export type AnyHubRecommenderCreateInput = {
|
|
236
|
+
id?: string
|
|
237
|
+
reason?: string | null
|
|
238
|
+
createdAt?: Date | string
|
|
239
|
+
recommendation: Prisma.AnyHubRecommendationCreateNestedOneWithoutRecommendersInput
|
|
240
|
+
user: Prisma.UserCreateNestedOneWithoutAnyhubRecommendersInput
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
export type AnyHubRecommenderUncheckedCreateInput = {
|
|
244
|
+
id?: string
|
|
245
|
+
recommendationId: string
|
|
246
|
+
userId: string
|
|
247
|
+
reason?: string | null
|
|
248
|
+
createdAt?: Date | string
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
export type AnyHubRecommenderUpdateInput = {
|
|
252
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
253
|
+
reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
254
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
255
|
+
recommendation?: Prisma.AnyHubRecommendationUpdateOneRequiredWithoutRecommendersNestedInput
|
|
256
|
+
user?: Prisma.UserUpdateOneRequiredWithoutAnyhubRecommendersNestedInput
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
export type AnyHubRecommenderUncheckedUpdateInput = {
|
|
260
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
261
|
+
recommendationId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
262
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
263
|
+
reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
264
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
export type AnyHubRecommenderCreateManyInput = {
|
|
268
|
+
id?: string
|
|
269
|
+
recommendationId: string
|
|
270
|
+
userId: string
|
|
271
|
+
reason?: string | null
|
|
272
|
+
createdAt?: Date | string
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export type AnyHubRecommenderUpdateManyMutationInput = {
|
|
276
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
277
|
+
reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
278
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
export type AnyHubRecommenderUncheckedUpdateManyInput = {
|
|
282
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
283
|
+
recommendationId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
284
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
285
|
+
reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
286
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
export type AnyHubRecommenderListRelationFilter = {
|
|
290
|
+
every?: Prisma.AnyHubRecommenderWhereInput
|
|
291
|
+
some?: Prisma.AnyHubRecommenderWhereInput
|
|
292
|
+
none?: Prisma.AnyHubRecommenderWhereInput
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
export type AnyHubRecommenderOrderByRelationAggregateInput = {
|
|
296
|
+
_count?: Prisma.SortOrder
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
export type AnyHubRecommenderRecommendationIdUserIdCompoundUniqueInput = {
|
|
300
|
+
recommendationId: string
|
|
301
|
+
userId: string
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
export type AnyHubRecommenderCountOrderByAggregateInput = {
|
|
305
|
+
id?: Prisma.SortOrder
|
|
306
|
+
recommendationId?: Prisma.SortOrder
|
|
307
|
+
userId?: Prisma.SortOrder
|
|
308
|
+
reason?: Prisma.SortOrder
|
|
309
|
+
createdAt?: Prisma.SortOrder
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export type AnyHubRecommenderMaxOrderByAggregateInput = {
|
|
313
|
+
id?: Prisma.SortOrder
|
|
314
|
+
recommendationId?: Prisma.SortOrder
|
|
315
|
+
userId?: Prisma.SortOrder
|
|
316
|
+
reason?: Prisma.SortOrder
|
|
317
|
+
createdAt?: Prisma.SortOrder
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
export type AnyHubRecommenderMinOrderByAggregateInput = {
|
|
321
|
+
id?: Prisma.SortOrder
|
|
322
|
+
recommendationId?: Prisma.SortOrder
|
|
323
|
+
userId?: Prisma.SortOrder
|
|
324
|
+
reason?: Prisma.SortOrder
|
|
325
|
+
createdAt?: Prisma.SortOrder
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
export type AnyHubRecommenderCreateNestedManyWithoutUserInput = {
|
|
329
|
+
create?: Prisma.XOR<Prisma.AnyHubRecommenderCreateWithoutUserInput, Prisma.AnyHubRecommenderUncheckedCreateWithoutUserInput> | Prisma.AnyHubRecommenderCreateWithoutUserInput[] | Prisma.AnyHubRecommenderUncheckedCreateWithoutUserInput[]
|
|
330
|
+
connectOrCreate?: Prisma.AnyHubRecommenderCreateOrConnectWithoutUserInput | Prisma.AnyHubRecommenderCreateOrConnectWithoutUserInput[]
|
|
331
|
+
createMany?: Prisma.AnyHubRecommenderCreateManyUserInputEnvelope
|
|
332
|
+
connect?: Prisma.AnyHubRecommenderWhereUniqueInput | Prisma.AnyHubRecommenderWhereUniqueInput[]
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
export type AnyHubRecommenderUncheckedCreateNestedManyWithoutUserInput = {
|
|
336
|
+
create?: Prisma.XOR<Prisma.AnyHubRecommenderCreateWithoutUserInput, Prisma.AnyHubRecommenderUncheckedCreateWithoutUserInput> | Prisma.AnyHubRecommenderCreateWithoutUserInput[] | Prisma.AnyHubRecommenderUncheckedCreateWithoutUserInput[]
|
|
337
|
+
connectOrCreate?: Prisma.AnyHubRecommenderCreateOrConnectWithoutUserInput | Prisma.AnyHubRecommenderCreateOrConnectWithoutUserInput[]
|
|
338
|
+
createMany?: Prisma.AnyHubRecommenderCreateManyUserInputEnvelope
|
|
339
|
+
connect?: Prisma.AnyHubRecommenderWhereUniqueInput | Prisma.AnyHubRecommenderWhereUniqueInput[]
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export type AnyHubRecommenderUpdateManyWithoutUserNestedInput = {
|
|
343
|
+
create?: Prisma.XOR<Prisma.AnyHubRecommenderCreateWithoutUserInput, Prisma.AnyHubRecommenderUncheckedCreateWithoutUserInput> | Prisma.AnyHubRecommenderCreateWithoutUserInput[] | Prisma.AnyHubRecommenderUncheckedCreateWithoutUserInput[]
|
|
344
|
+
connectOrCreate?: Prisma.AnyHubRecommenderCreateOrConnectWithoutUserInput | Prisma.AnyHubRecommenderCreateOrConnectWithoutUserInput[]
|
|
345
|
+
upsert?: Prisma.AnyHubRecommenderUpsertWithWhereUniqueWithoutUserInput | Prisma.AnyHubRecommenderUpsertWithWhereUniqueWithoutUserInput[]
|
|
346
|
+
createMany?: Prisma.AnyHubRecommenderCreateManyUserInputEnvelope
|
|
347
|
+
set?: Prisma.AnyHubRecommenderWhereUniqueInput | Prisma.AnyHubRecommenderWhereUniqueInput[]
|
|
348
|
+
disconnect?: Prisma.AnyHubRecommenderWhereUniqueInput | Prisma.AnyHubRecommenderWhereUniqueInput[]
|
|
349
|
+
delete?: Prisma.AnyHubRecommenderWhereUniqueInput | Prisma.AnyHubRecommenderWhereUniqueInput[]
|
|
350
|
+
connect?: Prisma.AnyHubRecommenderWhereUniqueInput | Prisma.AnyHubRecommenderWhereUniqueInput[]
|
|
351
|
+
update?: Prisma.AnyHubRecommenderUpdateWithWhereUniqueWithoutUserInput | Prisma.AnyHubRecommenderUpdateWithWhereUniqueWithoutUserInput[]
|
|
352
|
+
updateMany?: Prisma.AnyHubRecommenderUpdateManyWithWhereWithoutUserInput | Prisma.AnyHubRecommenderUpdateManyWithWhereWithoutUserInput[]
|
|
353
|
+
deleteMany?: Prisma.AnyHubRecommenderScalarWhereInput | Prisma.AnyHubRecommenderScalarWhereInput[]
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
export type AnyHubRecommenderUncheckedUpdateManyWithoutUserNestedInput = {
|
|
357
|
+
create?: Prisma.XOR<Prisma.AnyHubRecommenderCreateWithoutUserInput, Prisma.AnyHubRecommenderUncheckedCreateWithoutUserInput> | Prisma.AnyHubRecommenderCreateWithoutUserInput[] | Prisma.AnyHubRecommenderUncheckedCreateWithoutUserInput[]
|
|
358
|
+
connectOrCreate?: Prisma.AnyHubRecommenderCreateOrConnectWithoutUserInput | Prisma.AnyHubRecommenderCreateOrConnectWithoutUserInput[]
|
|
359
|
+
upsert?: Prisma.AnyHubRecommenderUpsertWithWhereUniqueWithoutUserInput | Prisma.AnyHubRecommenderUpsertWithWhereUniqueWithoutUserInput[]
|
|
360
|
+
createMany?: Prisma.AnyHubRecommenderCreateManyUserInputEnvelope
|
|
361
|
+
set?: Prisma.AnyHubRecommenderWhereUniqueInput | Prisma.AnyHubRecommenderWhereUniqueInput[]
|
|
362
|
+
disconnect?: Prisma.AnyHubRecommenderWhereUniqueInput | Prisma.AnyHubRecommenderWhereUniqueInput[]
|
|
363
|
+
delete?: Prisma.AnyHubRecommenderWhereUniqueInput | Prisma.AnyHubRecommenderWhereUniqueInput[]
|
|
364
|
+
connect?: Prisma.AnyHubRecommenderWhereUniqueInput | Prisma.AnyHubRecommenderWhereUniqueInput[]
|
|
365
|
+
update?: Prisma.AnyHubRecommenderUpdateWithWhereUniqueWithoutUserInput | Prisma.AnyHubRecommenderUpdateWithWhereUniqueWithoutUserInput[]
|
|
366
|
+
updateMany?: Prisma.AnyHubRecommenderUpdateManyWithWhereWithoutUserInput | Prisma.AnyHubRecommenderUpdateManyWithWhereWithoutUserInput[]
|
|
367
|
+
deleteMany?: Prisma.AnyHubRecommenderScalarWhereInput | Prisma.AnyHubRecommenderScalarWhereInput[]
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
export type AnyHubRecommenderCreateNestedManyWithoutRecommendationInput = {
|
|
371
|
+
create?: Prisma.XOR<Prisma.AnyHubRecommenderCreateWithoutRecommendationInput, Prisma.AnyHubRecommenderUncheckedCreateWithoutRecommendationInput> | Prisma.AnyHubRecommenderCreateWithoutRecommendationInput[] | Prisma.AnyHubRecommenderUncheckedCreateWithoutRecommendationInput[]
|
|
372
|
+
connectOrCreate?: Prisma.AnyHubRecommenderCreateOrConnectWithoutRecommendationInput | Prisma.AnyHubRecommenderCreateOrConnectWithoutRecommendationInput[]
|
|
373
|
+
createMany?: Prisma.AnyHubRecommenderCreateManyRecommendationInputEnvelope
|
|
374
|
+
connect?: Prisma.AnyHubRecommenderWhereUniqueInput | Prisma.AnyHubRecommenderWhereUniqueInput[]
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
export type AnyHubRecommenderUncheckedCreateNestedManyWithoutRecommendationInput = {
|
|
378
|
+
create?: Prisma.XOR<Prisma.AnyHubRecommenderCreateWithoutRecommendationInput, Prisma.AnyHubRecommenderUncheckedCreateWithoutRecommendationInput> | Prisma.AnyHubRecommenderCreateWithoutRecommendationInput[] | Prisma.AnyHubRecommenderUncheckedCreateWithoutRecommendationInput[]
|
|
379
|
+
connectOrCreate?: Prisma.AnyHubRecommenderCreateOrConnectWithoutRecommendationInput | Prisma.AnyHubRecommenderCreateOrConnectWithoutRecommendationInput[]
|
|
380
|
+
createMany?: Prisma.AnyHubRecommenderCreateManyRecommendationInputEnvelope
|
|
381
|
+
connect?: Prisma.AnyHubRecommenderWhereUniqueInput | Prisma.AnyHubRecommenderWhereUniqueInput[]
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
export type AnyHubRecommenderUpdateManyWithoutRecommendationNestedInput = {
|
|
385
|
+
create?: Prisma.XOR<Prisma.AnyHubRecommenderCreateWithoutRecommendationInput, Prisma.AnyHubRecommenderUncheckedCreateWithoutRecommendationInput> | Prisma.AnyHubRecommenderCreateWithoutRecommendationInput[] | Prisma.AnyHubRecommenderUncheckedCreateWithoutRecommendationInput[]
|
|
386
|
+
connectOrCreate?: Prisma.AnyHubRecommenderCreateOrConnectWithoutRecommendationInput | Prisma.AnyHubRecommenderCreateOrConnectWithoutRecommendationInput[]
|
|
387
|
+
upsert?: Prisma.AnyHubRecommenderUpsertWithWhereUniqueWithoutRecommendationInput | Prisma.AnyHubRecommenderUpsertWithWhereUniqueWithoutRecommendationInput[]
|
|
388
|
+
createMany?: Prisma.AnyHubRecommenderCreateManyRecommendationInputEnvelope
|
|
389
|
+
set?: Prisma.AnyHubRecommenderWhereUniqueInput | Prisma.AnyHubRecommenderWhereUniqueInput[]
|
|
390
|
+
disconnect?: Prisma.AnyHubRecommenderWhereUniqueInput | Prisma.AnyHubRecommenderWhereUniqueInput[]
|
|
391
|
+
delete?: Prisma.AnyHubRecommenderWhereUniqueInput | Prisma.AnyHubRecommenderWhereUniqueInput[]
|
|
392
|
+
connect?: Prisma.AnyHubRecommenderWhereUniqueInput | Prisma.AnyHubRecommenderWhereUniqueInput[]
|
|
393
|
+
update?: Prisma.AnyHubRecommenderUpdateWithWhereUniqueWithoutRecommendationInput | Prisma.AnyHubRecommenderUpdateWithWhereUniqueWithoutRecommendationInput[]
|
|
394
|
+
updateMany?: Prisma.AnyHubRecommenderUpdateManyWithWhereWithoutRecommendationInput | Prisma.AnyHubRecommenderUpdateManyWithWhereWithoutRecommendationInput[]
|
|
395
|
+
deleteMany?: Prisma.AnyHubRecommenderScalarWhereInput | Prisma.AnyHubRecommenderScalarWhereInput[]
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
export type AnyHubRecommenderUncheckedUpdateManyWithoutRecommendationNestedInput = {
|
|
399
|
+
create?: Prisma.XOR<Prisma.AnyHubRecommenderCreateWithoutRecommendationInput, Prisma.AnyHubRecommenderUncheckedCreateWithoutRecommendationInput> | Prisma.AnyHubRecommenderCreateWithoutRecommendationInput[] | Prisma.AnyHubRecommenderUncheckedCreateWithoutRecommendationInput[]
|
|
400
|
+
connectOrCreate?: Prisma.AnyHubRecommenderCreateOrConnectWithoutRecommendationInput | Prisma.AnyHubRecommenderCreateOrConnectWithoutRecommendationInput[]
|
|
401
|
+
upsert?: Prisma.AnyHubRecommenderUpsertWithWhereUniqueWithoutRecommendationInput | Prisma.AnyHubRecommenderUpsertWithWhereUniqueWithoutRecommendationInput[]
|
|
402
|
+
createMany?: Prisma.AnyHubRecommenderCreateManyRecommendationInputEnvelope
|
|
403
|
+
set?: Prisma.AnyHubRecommenderWhereUniqueInput | Prisma.AnyHubRecommenderWhereUniqueInput[]
|
|
404
|
+
disconnect?: Prisma.AnyHubRecommenderWhereUniqueInput | Prisma.AnyHubRecommenderWhereUniqueInput[]
|
|
405
|
+
delete?: Prisma.AnyHubRecommenderWhereUniqueInput | Prisma.AnyHubRecommenderWhereUniqueInput[]
|
|
406
|
+
connect?: Prisma.AnyHubRecommenderWhereUniqueInput | Prisma.AnyHubRecommenderWhereUniqueInput[]
|
|
407
|
+
update?: Prisma.AnyHubRecommenderUpdateWithWhereUniqueWithoutRecommendationInput | Prisma.AnyHubRecommenderUpdateWithWhereUniqueWithoutRecommendationInput[]
|
|
408
|
+
updateMany?: Prisma.AnyHubRecommenderUpdateManyWithWhereWithoutRecommendationInput | Prisma.AnyHubRecommenderUpdateManyWithWhereWithoutRecommendationInput[]
|
|
409
|
+
deleteMany?: Prisma.AnyHubRecommenderScalarWhereInput | Prisma.AnyHubRecommenderScalarWhereInput[]
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
export type AnyHubRecommenderCreateWithoutUserInput = {
|
|
413
|
+
id?: string
|
|
414
|
+
reason?: string | null
|
|
415
|
+
createdAt?: Date | string
|
|
416
|
+
recommendation: Prisma.AnyHubRecommendationCreateNestedOneWithoutRecommendersInput
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
export type AnyHubRecommenderUncheckedCreateWithoutUserInput = {
|
|
420
|
+
id?: string
|
|
421
|
+
recommendationId: string
|
|
422
|
+
reason?: string | null
|
|
423
|
+
createdAt?: Date | string
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
export type AnyHubRecommenderCreateOrConnectWithoutUserInput = {
|
|
427
|
+
where: Prisma.AnyHubRecommenderWhereUniqueInput
|
|
428
|
+
create: Prisma.XOR<Prisma.AnyHubRecommenderCreateWithoutUserInput, Prisma.AnyHubRecommenderUncheckedCreateWithoutUserInput>
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
export type AnyHubRecommenderCreateManyUserInputEnvelope = {
|
|
432
|
+
data: Prisma.AnyHubRecommenderCreateManyUserInput | Prisma.AnyHubRecommenderCreateManyUserInput[]
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
export type AnyHubRecommenderUpsertWithWhereUniqueWithoutUserInput = {
|
|
436
|
+
where: Prisma.AnyHubRecommenderWhereUniqueInput
|
|
437
|
+
update: Prisma.XOR<Prisma.AnyHubRecommenderUpdateWithoutUserInput, Prisma.AnyHubRecommenderUncheckedUpdateWithoutUserInput>
|
|
438
|
+
create: Prisma.XOR<Prisma.AnyHubRecommenderCreateWithoutUserInput, Prisma.AnyHubRecommenderUncheckedCreateWithoutUserInput>
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
export type AnyHubRecommenderUpdateWithWhereUniqueWithoutUserInput = {
|
|
442
|
+
where: Prisma.AnyHubRecommenderWhereUniqueInput
|
|
443
|
+
data: Prisma.XOR<Prisma.AnyHubRecommenderUpdateWithoutUserInput, Prisma.AnyHubRecommenderUncheckedUpdateWithoutUserInput>
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
export type AnyHubRecommenderUpdateManyWithWhereWithoutUserInput = {
|
|
447
|
+
where: Prisma.AnyHubRecommenderScalarWhereInput
|
|
448
|
+
data: Prisma.XOR<Prisma.AnyHubRecommenderUpdateManyMutationInput, Prisma.AnyHubRecommenderUncheckedUpdateManyWithoutUserInput>
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
export type AnyHubRecommenderScalarWhereInput = {
|
|
452
|
+
AND?: Prisma.AnyHubRecommenderScalarWhereInput | Prisma.AnyHubRecommenderScalarWhereInput[]
|
|
453
|
+
OR?: Prisma.AnyHubRecommenderScalarWhereInput[]
|
|
454
|
+
NOT?: Prisma.AnyHubRecommenderScalarWhereInput | Prisma.AnyHubRecommenderScalarWhereInput[]
|
|
455
|
+
id?: Prisma.StringFilter<"AnyHubRecommender"> | string
|
|
456
|
+
recommendationId?: Prisma.StringFilter<"AnyHubRecommender"> | string
|
|
457
|
+
userId?: Prisma.StringFilter<"AnyHubRecommender"> | string
|
|
458
|
+
reason?: Prisma.StringNullableFilter<"AnyHubRecommender"> | string | null
|
|
459
|
+
createdAt?: Prisma.DateTimeFilter<"AnyHubRecommender"> | Date | string
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
export type AnyHubRecommenderCreateWithoutRecommendationInput = {
|
|
463
|
+
id?: string
|
|
464
|
+
reason?: string | null
|
|
465
|
+
createdAt?: Date | string
|
|
466
|
+
user: Prisma.UserCreateNestedOneWithoutAnyhubRecommendersInput
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
export type AnyHubRecommenderUncheckedCreateWithoutRecommendationInput = {
|
|
470
|
+
id?: string
|
|
471
|
+
userId: string
|
|
472
|
+
reason?: string | null
|
|
473
|
+
createdAt?: Date | string
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
export type AnyHubRecommenderCreateOrConnectWithoutRecommendationInput = {
|
|
477
|
+
where: Prisma.AnyHubRecommenderWhereUniqueInput
|
|
478
|
+
create: Prisma.XOR<Prisma.AnyHubRecommenderCreateWithoutRecommendationInput, Prisma.AnyHubRecommenderUncheckedCreateWithoutRecommendationInput>
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
export type AnyHubRecommenderCreateManyRecommendationInputEnvelope = {
|
|
482
|
+
data: Prisma.AnyHubRecommenderCreateManyRecommendationInput | Prisma.AnyHubRecommenderCreateManyRecommendationInput[]
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
export type AnyHubRecommenderUpsertWithWhereUniqueWithoutRecommendationInput = {
|
|
486
|
+
where: Prisma.AnyHubRecommenderWhereUniqueInput
|
|
487
|
+
update: Prisma.XOR<Prisma.AnyHubRecommenderUpdateWithoutRecommendationInput, Prisma.AnyHubRecommenderUncheckedUpdateWithoutRecommendationInput>
|
|
488
|
+
create: Prisma.XOR<Prisma.AnyHubRecommenderCreateWithoutRecommendationInput, Prisma.AnyHubRecommenderUncheckedCreateWithoutRecommendationInput>
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
export type AnyHubRecommenderUpdateWithWhereUniqueWithoutRecommendationInput = {
|
|
492
|
+
where: Prisma.AnyHubRecommenderWhereUniqueInput
|
|
493
|
+
data: Prisma.XOR<Prisma.AnyHubRecommenderUpdateWithoutRecommendationInput, Prisma.AnyHubRecommenderUncheckedUpdateWithoutRecommendationInput>
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
export type AnyHubRecommenderUpdateManyWithWhereWithoutRecommendationInput = {
|
|
497
|
+
where: Prisma.AnyHubRecommenderScalarWhereInput
|
|
498
|
+
data: Prisma.XOR<Prisma.AnyHubRecommenderUpdateManyMutationInput, Prisma.AnyHubRecommenderUncheckedUpdateManyWithoutRecommendationInput>
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
export type AnyHubRecommenderCreateManyUserInput = {
|
|
502
|
+
id?: string
|
|
503
|
+
recommendationId: string
|
|
504
|
+
reason?: string | null
|
|
505
|
+
createdAt?: Date | string
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
export type AnyHubRecommenderUpdateWithoutUserInput = {
|
|
509
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
510
|
+
reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
511
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
512
|
+
recommendation?: Prisma.AnyHubRecommendationUpdateOneRequiredWithoutRecommendersNestedInput
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
export type AnyHubRecommenderUncheckedUpdateWithoutUserInput = {
|
|
516
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
517
|
+
recommendationId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
518
|
+
reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
519
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
export type AnyHubRecommenderUncheckedUpdateManyWithoutUserInput = {
|
|
523
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
524
|
+
recommendationId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
525
|
+
reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
526
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
export type AnyHubRecommenderCreateManyRecommendationInput = {
|
|
530
|
+
id?: string
|
|
531
|
+
userId: string
|
|
532
|
+
reason?: string | null
|
|
533
|
+
createdAt?: Date | string
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
export type AnyHubRecommenderUpdateWithoutRecommendationInput = {
|
|
537
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
538
|
+
reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
539
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
540
|
+
user?: Prisma.UserUpdateOneRequiredWithoutAnyhubRecommendersNestedInput
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
export type AnyHubRecommenderUncheckedUpdateWithoutRecommendationInput = {
|
|
544
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
545
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
546
|
+
reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
547
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
export type AnyHubRecommenderUncheckedUpdateManyWithoutRecommendationInput = {
|
|
551
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
552
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
553
|
+
reason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
554
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
export type AnyHubRecommenderSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
560
|
+
id?: boolean
|
|
561
|
+
recommendationId?: boolean
|
|
562
|
+
userId?: boolean
|
|
563
|
+
reason?: boolean
|
|
564
|
+
createdAt?: boolean
|
|
565
|
+
recommendation?: boolean | Prisma.AnyHubRecommendationDefaultArgs<ExtArgs>
|
|
566
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
567
|
+
}, ExtArgs["result"]["anyHubRecommender"]>
|
|
568
|
+
|
|
569
|
+
export type AnyHubRecommenderSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
570
|
+
id?: boolean
|
|
571
|
+
recommendationId?: boolean
|
|
572
|
+
userId?: boolean
|
|
573
|
+
reason?: boolean
|
|
574
|
+
createdAt?: boolean
|
|
575
|
+
recommendation?: boolean | Prisma.AnyHubRecommendationDefaultArgs<ExtArgs>
|
|
576
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
577
|
+
}, ExtArgs["result"]["anyHubRecommender"]>
|
|
578
|
+
|
|
579
|
+
export type AnyHubRecommenderSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
580
|
+
id?: boolean
|
|
581
|
+
recommendationId?: boolean
|
|
582
|
+
userId?: boolean
|
|
583
|
+
reason?: boolean
|
|
584
|
+
createdAt?: boolean
|
|
585
|
+
recommendation?: boolean | Prisma.AnyHubRecommendationDefaultArgs<ExtArgs>
|
|
586
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
587
|
+
}, ExtArgs["result"]["anyHubRecommender"]>
|
|
588
|
+
|
|
589
|
+
export type AnyHubRecommenderSelectScalar = {
|
|
590
|
+
id?: boolean
|
|
591
|
+
recommendationId?: boolean
|
|
592
|
+
userId?: boolean
|
|
593
|
+
reason?: boolean
|
|
594
|
+
createdAt?: boolean
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
export type AnyHubRecommenderOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "recommendationId" | "userId" | "reason" | "createdAt", ExtArgs["result"]["anyHubRecommender"]>
|
|
598
|
+
export type AnyHubRecommenderInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
599
|
+
recommendation?: boolean | Prisma.AnyHubRecommendationDefaultArgs<ExtArgs>
|
|
600
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
601
|
+
}
|
|
602
|
+
export type AnyHubRecommenderIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
603
|
+
recommendation?: boolean | Prisma.AnyHubRecommendationDefaultArgs<ExtArgs>
|
|
604
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
605
|
+
}
|
|
606
|
+
export type AnyHubRecommenderIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
607
|
+
recommendation?: boolean | Prisma.AnyHubRecommendationDefaultArgs<ExtArgs>
|
|
608
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
export type $AnyHubRecommenderPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
612
|
+
name: "AnyHubRecommender"
|
|
613
|
+
objects: {
|
|
614
|
+
recommendation: Prisma.$AnyHubRecommendationPayload<ExtArgs>
|
|
615
|
+
user: Prisma.$UserPayload<ExtArgs>
|
|
616
|
+
}
|
|
617
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
618
|
+
id: string
|
|
619
|
+
recommendationId: string
|
|
620
|
+
userId: string
|
|
621
|
+
reason: string | null
|
|
622
|
+
createdAt: Date
|
|
623
|
+
}, ExtArgs["result"]["anyHubRecommender"]>
|
|
624
|
+
composites: {}
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
export type AnyHubRecommenderGetPayload<S extends boolean | null | undefined | AnyHubRecommenderDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AnyHubRecommenderPayload, S>
|
|
628
|
+
|
|
629
|
+
export type AnyHubRecommenderCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
630
|
+
Omit<AnyHubRecommenderFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
631
|
+
select?: AnyHubRecommenderCountAggregateInputType | true
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
export interface AnyHubRecommenderDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
635
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AnyHubRecommender'], meta: { name: 'AnyHubRecommender' } }
|
|
636
|
+
/**
|
|
637
|
+
* Find zero or one AnyHubRecommender that matches the filter.
|
|
638
|
+
* @param {AnyHubRecommenderFindUniqueArgs} args - Arguments to find a AnyHubRecommender
|
|
639
|
+
* @example
|
|
640
|
+
* // Get one AnyHubRecommender
|
|
641
|
+
* const anyHubRecommender = await prisma.anyHubRecommender.findUnique({
|
|
642
|
+
* where: {
|
|
643
|
+
* // ... provide filter here
|
|
644
|
+
* }
|
|
645
|
+
* })
|
|
646
|
+
*/
|
|
647
|
+
findUnique<T extends AnyHubRecommenderFindUniqueArgs>(args: Prisma.SelectSubset<T, AnyHubRecommenderFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AnyHubRecommenderClient<runtime.Types.Result.GetResult<Prisma.$AnyHubRecommenderPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* Find one AnyHubRecommender that matches the filter or throw an error with `error.code='P2025'`
|
|
651
|
+
* if no matches were found.
|
|
652
|
+
* @param {AnyHubRecommenderFindUniqueOrThrowArgs} args - Arguments to find a AnyHubRecommender
|
|
653
|
+
* @example
|
|
654
|
+
* // Get one AnyHubRecommender
|
|
655
|
+
* const anyHubRecommender = await prisma.anyHubRecommender.findUniqueOrThrow({
|
|
656
|
+
* where: {
|
|
657
|
+
* // ... provide filter here
|
|
658
|
+
* }
|
|
659
|
+
* })
|
|
660
|
+
*/
|
|
661
|
+
findUniqueOrThrow<T extends AnyHubRecommenderFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AnyHubRecommenderFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AnyHubRecommenderClient<runtime.Types.Result.GetResult<Prisma.$AnyHubRecommenderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
662
|
+
|
|
663
|
+
/**
|
|
664
|
+
* Find the first AnyHubRecommender that matches the filter.
|
|
665
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
666
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
667
|
+
* @param {AnyHubRecommenderFindFirstArgs} args - Arguments to find a AnyHubRecommender
|
|
668
|
+
* @example
|
|
669
|
+
* // Get one AnyHubRecommender
|
|
670
|
+
* const anyHubRecommender = await prisma.anyHubRecommender.findFirst({
|
|
671
|
+
* where: {
|
|
672
|
+
* // ... provide filter here
|
|
673
|
+
* }
|
|
674
|
+
* })
|
|
675
|
+
*/
|
|
676
|
+
findFirst<T extends AnyHubRecommenderFindFirstArgs>(args?: Prisma.SelectSubset<T, AnyHubRecommenderFindFirstArgs<ExtArgs>>): Prisma.Prisma__AnyHubRecommenderClient<runtime.Types.Result.GetResult<Prisma.$AnyHubRecommenderPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* Find the first AnyHubRecommender that matches the filter or
|
|
680
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
681
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
682
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
683
|
+
* @param {AnyHubRecommenderFindFirstOrThrowArgs} args - Arguments to find a AnyHubRecommender
|
|
684
|
+
* @example
|
|
685
|
+
* // Get one AnyHubRecommender
|
|
686
|
+
* const anyHubRecommender = await prisma.anyHubRecommender.findFirstOrThrow({
|
|
687
|
+
* where: {
|
|
688
|
+
* // ... provide filter here
|
|
689
|
+
* }
|
|
690
|
+
* })
|
|
691
|
+
*/
|
|
692
|
+
findFirstOrThrow<T extends AnyHubRecommenderFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AnyHubRecommenderFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AnyHubRecommenderClient<runtime.Types.Result.GetResult<Prisma.$AnyHubRecommenderPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* Find zero or more AnyHubRecommenders that matches the filter.
|
|
696
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
697
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
698
|
+
* @param {AnyHubRecommenderFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
699
|
+
* @example
|
|
700
|
+
* // Get all AnyHubRecommenders
|
|
701
|
+
* const anyHubRecommenders = await prisma.anyHubRecommender.findMany()
|
|
702
|
+
*
|
|
703
|
+
* // Get first 10 AnyHubRecommenders
|
|
704
|
+
* const anyHubRecommenders = await prisma.anyHubRecommender.findMany({ take: 10 })
|
|
705
|
+
*
|
|
706
|
+
* // Only select the `id`
|
|
707
|
+
* const anyHubRecommenderWithIdOnly = await prisma.anyHubRecommender.findMany({ select: { id: true } })
|
|
708
|
+
*
|
|
709
|
+
*/
|
|
710
|
+
findMany<T extends AnyHubRecommenderFindManyArgs>(args?: Prisma.SelectSubset<T, AnyHubRecommenderFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AnyHubRecommenderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
711
|
+
|
|
712
|
+
/**
|
|
713
|
+
* Create a AnyHubRecommender.
|
|
714
|
+
* @param {AnyHubRecommenderCreateArgs} args - Arguments to create a AnyHubRecommender.
|
|
715
|
+
* @example
|
|
716
|
+
* // Create one AnyHubRecommender
|
|
717
|
+
* const AnyHubRecommender = await prisma.anyHubRecommender.create({
|
|
718
|
+
* data: {
|
|
719
|
+
* // ... data to create a AnyHubRecommender
|
|
720
|
+
* }
|
|
721
|
+
* })
|
|
722
|
+
*
|
|
723
|
+
*/
|
|
724
|
+
create<T extends AnyHubRecommenderCreateArgs>(args: Prisma.SelectSubset<T, AnyHubRecommenderCreateArgs<ExtArgs>>): Prisma.Prisma__AnyHubRecommenderClient<runtime.Types.Result.GetResult<Prisma.$AnyHubRecommenderPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* Create many AnyHubRecommenders.
|
|
728
|
+
* @param {AnyHubRecommenderCreateManyArgs} args - Arguments to create many AnyHubRecommenders.
|
|
729
|
+
* @example
|
|
730
|
+
* // Create many AnyHubRecommenders
|
|
731
|
+
* const anyHubRecommender = await prisma.anyHubRecommender.createMany({
|
|
732
|
+
* data: [
|
|
733
|
+
* // ... provide data here
|
|
734
|
+
* ]
|
|
735
|
+
* })
|
|
736
|
+
*
|
|
737
|
+
*/
|
|
738
|
+
createMany<T extends AnyHubRecommenderCreateManyArgs>(args?: Prisma.SelectSubset<T, AnyHubRecommenderCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* Create many AnyHubRecommenders and returns the data saved in the database.
|
|
742
|
+
* @param {AnyHubRecommenderCreateManyAndReturnArgs} args - Arguments to create many AnyHubRecommenders.
|
|
743
|
+
* @example
|
|
744
|
+
* // Create many AnyHubRecommenders
|
|
745
|
+
* const anyHubRecommender = await prisma.anyHubRecommender.createManyAndReturn({
|
|
746
|
+
* data: [
|
|
747
|
+
* // ... provide data here
|
|
748
|
+
* ]
|
|
749
|
+
* })
|
|
750
|
+
*
|
|
751
|
+
* // Create many AnyHubRecommenders and only return the `id`
|
|
752
|
+
* const anyHubRecommenderWithIdOnly = await prisma.anyHubRecommender.createManyAndReturn({
|
|
753
|
+
* select: { id: true },
|
|
754
|
+
* data: [
|
|
755
|
+
* // ... provide data here
|
|
756
|
+
* ]
|
|
757
|
+
* })
|
|
758
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
759
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
760
|
+
*
|
|
761
|
+
*/
|
|
762
|
+
createManyAndReturn<T extends AnyHubRecommenderCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AnyHubRecommenderCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AnyHubRecommenderPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
763
|
+
|
|
764
|
+
/**
|
|
765
|
+
* Delete a AnyHubRecommender.
|
|
766
|
+
* @param {AnyHubRecommenderDeleteArgs} args - Arguments to delete one AnyHubRecommender.
|
|
767
|
+
* @example
|
|
768
|
+
* // Delete one AnyHubRecommender
|
|
769
|
+
* const AnyHubRecommender = await prisma.anyHubRecommender.delete({
|
|
770
|
+
* where: {
|
|
771
|
+
* // ... filter to delete one AnyHubRecommender
|
|
772
|
+
* }
|
|
773
|
+
* })
|
|
774
|
+
*
|
|
775
|
+
*/
|
|
776
|
+
delete<T extends AnyHubRecommenderDeleteArgs>(args: Prisma.SelectSubset<T, AnyHubRecommenderDeleteArgs<ExtArgs>>): Prisma.Prisma__AnyHubRecommenderClient<runtime.Types.Result.GetResult<Prisma.$AnyHubRecommenderPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
777
|
+
|
|
778
|
+
/**
|
|
779
|
+
* Update one AnyHubRecommender.
|
|
780
|
+
* @param {AnyHubRecommenderUpdateArgs} args - Arguments to update one AnyHubRecommender.
|
|
781
|
+
* @example
|
|
782
|
+
* // Update one AnyHubRecommender
|
|
783
|
+
* const anyHubRecommender = await prisma.anyHubRecommender.update({
|
|
784
|
+
* where: {
|
|
785
|
+
* // ... provide filter here
|
|
786
|
+
* },
|
|
787
|
+
* data: {
|
|
788
|
+
* // ... provide data here
|
|
789
|
+
* }
|
|
790
|
+
* })
|
|
791
|
+
*
|
|
792
|
+
*/
|
|
793
|
+
update<T extends AnyHubRecommenderUpdateArgs>(args: Prisma.SelectSubset<T, AnyHubRecommenderUpdateArgs<ExtArgs>>): Prisma.Prisma__AnyHubRecommenderClient<runtime.Types.Result.GetResult<Prisma.$AnyHubRecommenderPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* Delete zero or more AnyHubRecommenders.
|
|
797
|
+
* @param {AnyHubRecommenderDeleteManyArgs} args - Arguments to filter AnyHubRecommenders to delete.
|
|
798
|
+
* @example
|
|
799
|
+
* // Delete a few AnyHubRecommenders
|
|
800
|
+
* const { count } = await prisma.anyHubRecommender.deleteMany({
|
|
801
|
+
* where: {
|
|
802
|
+
* // ... provide filter here
|
|
803
|
+
* }
|
|
804
|
+
* })
|
|
805
|
+
*
|
|
806
|
+
*/
|
|
807
|
+
deleteMany<T extends AnyHubRecommenderDeleteManyArgs>(args?: Prisma.SelectSubset<T, AnyHubRecommenderDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* Update zero or more AnyHubRecommenders.
|
|
811
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
812
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
813
|
+
* @param {AnyHubRecommenderUpdateManyArgs} args - Arguments to update one or more rows.
|
|
814
|
+
* @example
|
|
815
|
+
* // Update many AnyHubRecommenders
|
|
816
|
+
* const anyHubRecommender = await prisma.anyHubRecommender.updateMany({
|
|
817
|
+
* where: {
|
|
818
|
+
* // ... provide filter here
|
|
819
|
+
* },
|
|
820
|
+
* data: {
|
|
821
|
+
* // ... provide data here
|
|
822
|
+
* }
|
|
823
|
+
* })
|
|
824
|
+
*
|
|
825
|
+
*/
|
|
826
|
+
updateMany<T extends AnyHubRecommenderUpdateManyArgs>(args: Prisma.SelectSubset<T, AnyHubRecommenderUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
827
|
+
|
|
828
|
+
/**
|
|
829
|
+
* Update zero or more AnyHubRecommenders and returns the data updated in the database.
|
|
830
|
+
* @param {AnyHubRecommenderUpdateManyAndReturnArgs} args - Arguments to update many AnyHubRecommenders.
|
|
831
|
+
* @example
|
|
832
|
+
* // Update many AnyHubRecommenders
|
|
833
|
+
* const anyHubRecommender = await prisma.anyHubRecommender.updateManyAndReturn({
|
|
834
|
+
* where: {
|
|
835
|
+
* // ... provide filter here
|
|
836
|
+
* },
|
|
837
|
+
* data: [
|
|
838
|
+
* // ... provide data here
|
|
839
|
+
* ]
|
|
840
|
+
* })
|
|
841
|
+
*
|
|
842
|
+
* // Update zero or more AnyHubRecommenders and only return the `id`
|
|
843
|
+
* const anyHubRecommenderWithIdOnly = await prisma.anyHubRecommender.updateManyAndReturn({
|
|
844
|
+
* select: { id: true },
|
|
845
|
+
* where: {
|
|
846
|
+
* // ... provide filter here
|
|
847
|
+
* },
|
|
848
|
+
* data: [
|
|
849
|
+
* // ... provide data here
|
|
850
|
+
* ]
|
|
851
|
+
* })
|
|
852
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
853
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
854
|
+
*
|
|
855
|
+
*/
|
|
856
|
+
updateManyAndReturn<T extends AnyHubRecommenderUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AnyHubRecommenderUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AnyHubRecommenderPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* Create or update one AnyHubRecommender.
|
|
860
|
+
* @param {AnyHubRecommenderUpsertArgs} args - Arguments to update or create a AnyHubRecommender.
|
|
861
|
+
* @example
|
|
862
|
+
* // Update or create a AnyHubRecommender
|
|
863
|
+
* const anyHubRecommender = await prisma.anyHubRecommender.upsert({
|
|
864
|
+
* create: {
|
|
865
|
+
* // ... data to create a AnyHubRecommender
|
|
866
|
+
* },
|
|
867
|
+
* update: {
|
|
868
|
+
* // ... in case it already exists, update
|
|
869
|
+
* },
|
|
870
|
+
* where: {
|
|
871
|
+
* // ... the filter for the AnyHubRecommender we want to update
|
|
872
|
+
* }
|
|
873
|
+
* })
|
|
874
|
+
*/
|
|
875
|
+
upsert<T extends AnyHubRecommenderUpsertArgs>(args: Prisma.SelectSubset<T, AnyHubRecommenderUpsertArgs<ExtArgs>>): Prisma.Prisma__AnyHubRecommenderClient<runtime.Types.Result.GetResult<Prisma.$AnyHubRecommenderPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
876
|
+
|
|
877
|
+
|
|
878
|
+
/**
|
|
879
|
+
* Count the number of AnyHubRecommenders.
|
|
880
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
881
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
882
|
+
* @param {AnyHubRecommenderCountArgs} args - Arguments to filter AnyHubRecommenders to count.
|
|
883
|
+
* @example
|
|
884
|
+
* // Count the number of AnyHubRecommenders
|
|
885
|
+
* const count = await prisma.anyHubRecommender.count({
|
|
886
|
+
* where: {
|
|
887
|
+
* // ... the filter for the AnyHubRecommenders we want to count
|
|
888
|
+
* }
|
|
889
|
+
* })
|
|
890
|
+
**/
|
|
891
|
+
count<T extends AnyHubRecommenderCountArgs>(
|
|
892
|
+
args?: Prisma.Subset<T, AnyHubRecommenderCountArgs>,
|
|
893
|
+
): Prisma.PrismaPromise<
|
|
894
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
895
|
+
? T['select'] extends true
|
|
896
|
+
? number
|
|
897
|
+
: Prisma.GetScalarType<T['select'], AnyHubRecommenderCountAggregateOutputType>
|
|
898
|
+
: number
|
|
899
|
+
>
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* Allows you to perform aggregations operations on a AnyHubRecommender.
|
|
903
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
904
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
905
|
+
* @param {AnyHubRecommenderAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
906
|
+
* @example
|
|
907
|
+
* // Ordered by age ascending
|
|
908
|
+
* // Where email contains prisma.io
|
|
909
|
+
* // Limited to the 10 users
|
|
910
|
+
* const aggregations = await prisma.user.aggregate({
|
|
911
|
+
* _avg: {
|
|
912
|
+
* age: true,
|
|
913
|
+
* },
|
|
914
|
+
* where: {
|
|
915
|
+
* email: {
|
|
916
|
+
* contains: "prisma.io",
|
|
917
|
+
* },
|
|
918
|
+
* },
|
|
919
|
+
* orderBy: {
|
|
920
|
+
* age: "asc",
|
|
921
|
+
* },
|
|
922
|
+
* take: 10,
|
|
923
|
+
* })
|
|
924
|
+
**/
|
|
925
|
+
aggregate<T extends AnyHubRecommenderAggregateArgs>(args: Prisma.Subset<T, AnyHubRecommenderAggregateArgs>): Prisma.PrismaPromise<GetAnyHubRecommenderAggregateType<T>>
|
|
926
|
+
|
|
927
|
+
/**
|
|
928
|
+
* Group by AnyHubRecommender.
|
|
929
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
930
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
931
|
+
* @param {AnyHubRecommenderGroupByArgs} args - Group by arguments.
|
|
932
|
+
* @example
|
|
933
|
+
* // Group by city, order by createdAt, get count
|
|
934
|
+
* const result = await prisma.user.groupBy({
|
|
935
|
+
* by: ['city', 'createdAt'],
|
|
936
|
+
* orderBy: {
|
|
937
|
+
* createdAt: true
|
|
938
|
+
* },
|
|
939
|
+
* _count: {
|
|
940
|
+
* _all: true
|
|
941
|
+
* },
|
|
942
|
+
* })
|
|
943
|
+
*
|
|
944
|
+
**/
|
|
945
|
+
groupBy<
|
|
946
|
+
T extends AnyHubRecommenderGroupByArgs,
|
|
947
|
+
HasSelectOrTake extends Prisma.Or<
|
|
948
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
949
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
950
|
+
>,
|
|
951
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
952
|
+
? { orderBy: AnyHubRecommenderGroupByArgs['orderBy'] }
|
|
953
|
+
: { orderBy?: AnyHubRecommenderGroupByArgs['orderBy'] },
|
|
954
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
955
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
956
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
957
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
958
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
959
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
960
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
961
|
+
? `Error: "by" must not be empty.`
|
|
962
|
+
: HavingValid extends Prisma.False
|
|
963
|
+
? {
|
|
964
|
+
[P in HavingFields]: P extends ByFields
|
|
965
|
+
? never
|
|
966
|
+
: P extends string
|
|
967
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
968
|
+
: [
|
|
969
|
+
Error,
|
|
970
|
+
'Field ',
|
|
971
|
+
P,
|
|
972
|
+
` in "having" needs to be provided in "by"`,
|
|
973
|
+
]
|
|
974
|
+
}[HavingFields]
|
|
975
|
+
: 'take' extends Prisma.Keys<T>
|
|
976
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
977
|
+
? ByValid extends Prisma.True
|
|
978
|
+
? {}
|
|
979
|
+
: {
|
|
980
|
+
[P in OrderFields]: P extends ByFields
|
|
981
|
+
? never
|
|
982
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
983
|
+
}[OrderFields]
|
|
984
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
985
|
+
: 'skip' extends Prisma.Keys<T>
|
|
986
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
987
|
+
? ByValid extends Prisma.True
|
|
988
|
+
? {}
|
|
989
|
+
: {
|
|
990
|
+
[P in OrderFields]: P extends ByFields
|
|
991
|
+
? never
|
|
992
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
993
|
+
}[OrderFields]
|
|
994
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
995
|
+
: ByValid extends Prisma.True
|
|
996
|
+
? {}
|
|
997
|
+
: {
|
|
998
|
+
[P in OrderFields]: P extends ByFields
|
|
999
|
+
? never
|
|
1000
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1001
|
+
}[OrderFields]
|
|
1002
|
+
>(args: Prisma.SubsetIntersection<T, AnyHubRecommenderGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAnyHubRecommenderGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1003
|
+
/**
|
|
1004
|
+
* Fields of the AnyHubRecommender model
|
|
1005
|
+
*/
|
|
1006
|
+
readonly fields: AnyHubRecommenderFieldRefs;
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
/**
|
|
1010
|
+
* The delegate class that acts as a "Promise-like" for AnyHubRecommender.
|
|
1011
|
+
* Why is this prefixed with `Prisma__`?
|
|
1012
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1013
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1014
|
+
*/
|
|
1015
|
+
export interface Prisma__AnyHubRecommenderClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1016
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1017
|
+
recommendation<T extends Prisma.AnyHubRecommendationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AnyHubRecommendationDefaultArgs<ExtArgs>>): Prisma.Prisma__AnyHubRecommendationClient<runtime.Types.Result.GetResult<Prisma.$AnyHubRecommendationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1018
|
+
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>
|
|
1019
|
+
/**
|
|
1020
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1021
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1022
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1023
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1024
|
+
*/
|
|
1025
|
+
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>
|
|
1026
|
+
/**
|
|
1027
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1028
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1029
|
+
* @returns A Promise for the completion of the callback.
|
|
1030
|
+
*/
|
|
1031
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1032
|
+
/**
|
|
1033
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1034
|
+
* resolved value cannot be modified from the callback.
|
|
1035
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1036
|
+
* @returns A Promise for the completion of the callback.
|
|
1037
|
+
*/
|
|
1038
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
|
|
1042
|
+
|
|
1043
|
+
|
|
1044
|
+
/**
|
|
1045
|
+
* Fields of the AnyHubRecommender model
|
|
1046
|
+
*/
|
|
1047
|
+
export interface AnyHubRecommenderFieldRefs {
|
|
1048
|
+
readonly id: Prisma.FieldRef<"AnyHubRecommender", 'String'>
|
|
1049
|
+
readonly recommendationId: Prisma.FieldRef<"AnyHubRecommender", 'String'>
|
|
1050
|
+
readonly userId: Prisma.FieldRef<"AnyHubRecommender", 'String'>
|
|
1051
|
+
readonly reason: Prisma.FieldRef<"AnyHubRecommender", 'String'>
|
|
1052
|
+
readonly createdAt: Prisma.FieldRef<"AnyHubRecommender", 'DateTime'>
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
|
|
1056
|
+
// Custom InputTypes
|
|
1057
|
+
/**
|
|
1058
|
+
* AnyHubRecommender findUnique
|
|
1059
|
+
*/
|
|
1060
|
+
export type AnyHubRecommenderFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1061
|
+
/**
|
|
1062
|
+
* Select specific fields to fetch from the AnyHubRecommender
|
|
1063
|
+
*/
|
|
1064
|
+
select?: Prisma.AnyHubRecommenderSelect<ExtArgs> | null
|
|
1065
|
+
/**
|
|
1066
|
+
* Omit specific fields from the AnyHubRecommender
|
|
1067
|
+
*/
|
|
1068
|
+
omit?: Prisma.AnyHubRecommenderOmit<ExtArgs> | null
|
|
1069
|
+
/**
|
|
1070
|
+
* Choose, which related nodes to fetch as well
|
|
1071
|
+
*/
|
|
1072
|
+
include?: Prisma.AnyHubRecommenderInclude<ExtArgs> | null
|
|
1073
|
+
/**
|
|
1074
|
+
* Filter, which AnyHubRecommender to fetch.
|
|
1075
|
+
*/
|
|
1076
|
+
where: Prisma.AnyHubRecommenderWhereUniqueInput
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
/**
|
|
1080
|
+
* AnyHubRecommender findUniqueOrThrow
|
|
1081
|
+
*/
|
|
1082
|
+
export type AnyHubRecommenderFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1083
|
+
/**
|
|
1084
|
+
* Select specific fields to fetch from the AnyHubRecommender
|
|
1085
|
+
*/
|
|
1086
|
+
select?: Prisma.AnyHubRecommenderSelect<ExtArgs> | null
|
|
1087
|
+
/**
|
|
1088
|
+
* Omit specific fields from the AnyHubRecommender
|
|
1089
|
+
*/
|
|
1090
|
+
omit?: Prisma.AnyHubRecommenderOmit<ExtArgs> | null
|
|
1091
|
+
/**
|
|
1092
|
+
* Choose, which related nodes to fetch as well
|
|
1093
|
+
*/
|
|
1094
|
+
include?: Prisma.AnyHubRecommenderInclude<ExtArgs> | null
|
|
1095
|
+
/**
|
|
1096
|
+
* Filter, which AnyHubRecommender to fetch.
|
|
1097
|
+
*/
|
|
1098
|
+
where: Prisma.AnyHubRecommenderWhereUniqueInput
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
/**
|
|
1102
|
+
* AnyHubRecommender findFirst
|
|
1103
|
+
*/
|
|
1104
|
+
export type AnyHubRecommenderFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1105
|
+
/**
|
|
1106
|
+
* Select specific fields to fetch from the AnyHubRecommender
|
|
1107
|
+
*/
|
|
1108
|
+
select?: Prisma.AnyHubRecommenderSelect<ExtArgs> | null
|
|
1109
|
+
/**
|
|
1110
|
+
* Omit specific fields from the AnyHubRecommender
|
|
1111
|
+
*/
|
|
1112
|
+
omit?: Prisma.AnyHubRecommenderOmit<ExtArgs> | null
|
|
1113
|
+
/**
|
|
1114
|
+
* Choose, which related nodes to fetch as well
|
|
1115
|
+
*/
|
|
1116
|
+
include?: Prisma.AnyHubRecommenderInclude<ExtArgs> | null
|
|
1117
|
+
/**
|
|
1118
|
+
* Filter, which AnyHubRecommender to fetch.
|
|
1119
|
+
*/
|
|
1120
|
+
where?: Prisma.AnyHubRecommenderWhereInput
|
|
1121
|
+
/**
|
|
1122
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1123
|
+
*
|
|
1124
|
+
* Determine the order of AnyHubRecommenders to fetch.
|
|
1125
|
+
*/
|
|
1126
|
+
orderBy?: Prisma.AnyHubRecommenderOrderByWithRelationInput | Prisma.AnyHubRecommenderOrderByWithRelationInput[]
|
|
1127
|
+
/**
|
|
1128
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1129
|
+
*
|
|
1130
|
+
* Sets the position for searching for AnyHubRecommenders.
|
|
1131
|
+
*/
|
|
1132
|
+
cursor?: Prisma.AnyHubRecommenderWhereUniqueInput
|
|
1133
|
+
/**
|
|
1134
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1135
|
+
*
|
|
1136
|
+
* Take `±n` AnyHubRecommenders from the position of the cursor.
|
|
1137
|
+
*/
|
|
1138
|
+
take?: number
|
|
1139
|
+
/**
|
|
1140
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1141
|
+
*
|
|
1142
|
+
* Skip the first `n` AnyHubRecommenders.
|
|
1143
|
+
*/
|
|
1144
|
+
skip?: number
|
|
1145
|
+
/**
|
|
1146
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1147
|
+
*
|
|
1148
|
+
* Filter by unique combinations of AnyHubRecommenders.
|
|
1149
|
+
*/
|
|
1150
|
+
distinct?: Prisma.AnyHubRecommenderScalarFieldEnum | Prisma.AnyHubRecommenderScalarFieldEnum[]
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
/**
|
|
1154
|
+
* AnyHubRecommender findFirstOrThrow
|
|
1155
|
+
*/
|
|
1156
|
+
export type AnyHubRecommenderFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1157
|
+
/**
|
|
1158
|
+
* Select specific fields to fetch from the AnyHubRecommender
|
|
1159
|
+
*/
|
|
1160
|
+
select?: Prisma.AnyHubRecommenderSelect<ExtArgs> | null
|
|
1161
|
+
/**
|
|
1162
|
+
* Omit specific fields from the AnyHubRecommender
|
|
1163
|
+
*/
|
|
1164
|
+
omit?: Prisma.AnyHubRecommenderOmit<ExtArgs> | null
|
|
1165
|
+
/**
|
|
1166
|
+
* Choose, which related nodes to fetch as well
|
|
1167
|
+
*/
|
|
1168
|
+
include?: Prisma.AnyHubRecommenderInclude<ExtArgs> | null
|
|
1169
|
+
/**
|
|
1170
|
+
* Filter, which AnyHubRecommender to fetch.
|
|
1171
|
+
*/
|
|
1172
|
+
where?: Prisma.AnyHubRecommenderWhereInput
|
|
1173
|
+
/**
|
|
1174
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1175
|
+
*
|
|
1176
|
+
* Determine the order of AnyHubRecommenders to fetch.
|
|
1177
|
+
*/
|
|
1178
|
+
orderBy?: Prisma.AnyHubRecommenderOrderByWithRelationInput | Prisma.AnyHubRecommenderOrderByWithRelationInput[]
|
|
1179
|
+
/**
|
|
1180
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1181
|
+
*
|
|
1182
|
+
* Sets the position for searching for AnyHubRecommenders.
|
|
1183
|
+
*/
|
|
1184
|
+
cursor?: Prisma.AnyHubRecommenderWhereUniqueInput
|
|
1185
|
+
/**
|
|
1186
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1187
|
+
*
|
|
1188
|
+
* Take `±n` AnyHubRecommenders from the position of the cursor.
|
|
1189
|
+
*/
|
|
1190
|
+
take?: number
|
|
1191
|
+
/**
|
|
1192
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1193
|
+
*
|
|
1194
|
+
* Skip the first `n` AnyHubRecommenders.
|
|
1195
|
+
*/
|
|
1196
|
+
skip?: number
|
|
1197
|
+
/**
|
|
1198
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1199
|
+
*
|
|
1200
|
+
* Filter by unique combinations of AnyHubRecommenders.
|
|
1201
|
+
*/
|
|
1202
|
+
distinct?: Prisma.AnyHubRecommenderScalarFieldEnum | Prisma.AnyHubRecommenderScalarFieldEnum[]
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
/**
|
|
1206
|
+
* AnyHubRecommender findMany
|
|
1207
|
+
*/
|
|
1208
|
+
export type AnyHubRecommenderFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1209
|
+
/**
|
|
1210
|
+
* Select specific fields to fetch from the AnyHubRecommender
|
|
1211
|
+
*/
|
|
1212
|
+
select?: Prisma.AnyHubRecommenderSelect<ExtArgs> | null
|
|
1213
|
+
/**
|
|
1214
|
+
* Omit specific fields from the AnyHubRecommender
|
|
1215
|
+
*/
|
|
1216
|
+
omit?: Prisma.AnyHubRecommenderOmit<ExtArgs> | null
|
|
1217
|
+
/**
|
|
1218
|
+
* Choose, which related nodes to fetch as well
|
|
1219
|
+
*/
|
|
1220
|
+
include?: Prisma.AnyHubRecommenderInclude<ExtArgs> | null
|
|
1221
|
+
/**
|
|
1222
|
+
* Filter, which AnyHubRecommenders to fetch.
|
|
1223
|
+
*/
|
|
1224
|
+
where?: Prisma.AnyHubRecommenderWhereInput
|
|
1225
|
+
/**
|
|
1226
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1227
|
+
*
|
|
1228
|
+
* Determine the order of AnyHubRecommenders to fetch.
|
|
1229
|
+
*/
|
|
1230
|
+
orderBy?: Prisma.AnyHubRecommenderOrderByWithRelationInput | Prisma.AnyHubRecommenderOrderByWithRelationInput[]
|
|
1231
|
+
/**
|
|
1232
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1233
|
+
*
|
|
1234
|
+
* Sets the position for listing AnyHubRecommenders.
|
|
1235
|
+
*/
|
|
1236
|
+
cursor?: Prisma.AnyHubRecommenderWhereUniqueInput
|
|
1237
|
+
/**
|
|
1238
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1239
|
+
*
|
|
1240
|
+
* Take `±n` AnyHubRecommenders from the position of the cursor.
|
|
1241
|
+
*/
|
|
1242
|
+
take?: number
|
|
1243
|
+
/**
|
|
1244
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1245
|
+
*
|
|
1246
|
+
* Skip the first `n` AnyHubRecommenders.
|
|
1247
|
+
*/
|
|
1248
|
+
skip?: number
|
|
1249
|
+
/**
|
|
1250
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1251
|
+
*
|
|
1252
|
+
* Filter by unique combinations of AnyHubRecommenders.
|
|
1253
|
+
*/
|
|
1254
|
+
distinct?: Prisma.AnyHubRecommenderScalarFieldEnum | Prisma.AnyHubRecommenderScalarFieldEnum[]
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
/**
|
|
1258
|
+
* AnyHubRecommender create
|
|
1259
|
+
*/
|
|
1260
|
+
export type AnyHubRecommenderCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1261
|
+
/**
|
|
1262
|
+
* Select specific fields to fetch from the AnyHubRecommender
|
|
1263
|
+
*/
|
|
1264
|
+
select?: Prisma.AnyHubRecommenderSelect<ExtArgs> | null
|
|
1265
|
+
/**
|
|
1266
|
+
* Omit specific fields from the AnyHubRecommender
|
|
1267
|
+
*/
|
|
1268
|
+
omit?: Prisma.AnyHubRecommenderOmit<ExtArgs> | null
|
|
1269
|
+
/**
|
|
1270
|
+
* Choose, which related nodes to fetch as well
|
|
1271
|
+
*/
|
|
1272
|
+
include?: Prisma.AnyHubRecommenderInclude<ExtArgs> | null
|
|
1273
|
+
/**
|
|
1274
|
+
* The data needed to create a AnyHubRecommender.
|
|
1275
|
+
*/
|
|
1276
|
+
data: Prisma.XOR<Prisma.AnyHubRecommenderCreateInput, Prisma.AnyHubRecommenderUncheckedCreateInput>
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* AnyHubRecommender createMany
|
|
1281
|
+
*/
|
|
1282
|
+
export type AnyHubRecommenderCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1283
|
+
/**
|
|
1284
|
+
* The data used to create many AnyHubRecommenders.
|
|
1285
|
+
*/
|
|
1286
|
+
data: Prisma.AnyHubRecommenderCreateManyInput | Prisma.AnyHubRecommenderCreateManyInput[]
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
/**
|
|
1290
|
+
* AnyHubRecommender createManyAndReturn
|
|
1291
|
+
*/
|
|
1292
|
+
export type AnyHubRecommenderCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1293
|
+
/**
|
|
1294
|
+
* Select specific fields to fetch from the AnyHubRecommender
|
|
1295
|
+
*/
|
|
1296
|
+
select?: Prisma.AnyHubRecommenderSelectCreateManyAndReturn<ExtArgs> | null
|
|
1297
|
+
/**
|
|
1298
|
+
* Omit specific fields from the AnyHubRecommender
|
|
1299
|
+
*/
|
|
1300
|
+
omit?: Prisma.AnyHubRecommenderOmit<ExtArgs> | null
|
|
1301
|
+
/**
|
|
1302
|
+
* The data used to create many AnyHubRecommenders.
|
|
1303
|
+
*/
|
|
1304
|
+
data: Prisma.AnyHubRecommenderCreateManyInput | Prisma.AnyHubRecommenderCreateManyInput[]
|
|
1305
|
+
/**
|
|
1306
|
+
* Choose, which related nodes to fetch as well
|
|
1307
|
+
*/
|
|
1308
|
+
include?: Prisma.AnyHubRecommenderIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1311
|
+
/**
|
|
1312
|
+
* AnyHubRecommender update
|
|
1313
|
+
*/
|
|
1314
|
+
export type AnyHubRecommenderUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1315
|
+
/**
|
|
1316
|
+
* Select specific fields to fetch from the AnyHubRecommender
|
|
1317
|
+
*/
|
|
1318
|
+
select?: Prisma.AnyHubRecommenderSelect<ExtArgs> | null
|
|
1319
|
+
/**
|
|
1320
|
+
* Omit specific fields from the AnyHubRecommender
|
|
1321
|
+
*/
|
|
1322
|
+
omit?: Prisma.AnyHubRecommenderOmit<ExtArgs> | null
|
|
1323
|
+
/**
|
|
1324
|
+
* Choose, which related nodes to fetch as well
|
|
1325
|
+
*/
|
|
1326
|
+
include?: Prisma.AnyHubRecommenderInclude<ExtArgs> | null
|
|
1327
|
+
/**
|
|
1328
|
+
* The data needed to update a AnyHubRecommender.
|
|
1329
|
+
*/
|
|
1330
|
+
data: Prisma.XOR<Prisma.AnyHubRecommenderUpdateInput, Prisma.AnyHubRecommenderUncheckedUpdateInput>
|
|
1331
|
+
/**
|
|
1332
|
+
* Choose, which AnyHubRecommender to update.
|
|
1333
|
+
*/
|
|
1334
|
+
where: Prisma.AnyHubRecommenderWhereUniqueInput
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
/**
|
|
1338
|
+
* AnyHubRecommender updateMany
|
|
1339
|
+
*/
|
|
1340
|
+
export type AnyHubRecommenderUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1341
|
+
/**
|
|
1342
|
+
* The data used to update AnyHubRecommenders.
|
|
1343
|
+
*/
|
|
1344
|
+
data: Prisma.XOR<Prisma.AnyHubRecommenderUpdateManyMutationInput, Prisma.AnyHubRecommenderUncheckedUpdateManyInput>
|
|
1345
|
+
/**
|
|
1346
|
+
* Filter which AnyHubRecommenders to update
|
|
1347
|
+
*/
|
|
1348
|
+
where?: Prisma.AnyHubRecommenderWhereInput
|
|
1349
|
+
/**
|
|
1350
|
+
* Limit how many AnyHubRecommenders to update.
|
|
1351
|
+
*/
|
|
1352
|
+
limit?: number
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
/**
|
|
1356
|
+
* AnyHubRecommender updateManyAndReturn
|
|
1357
|
+
*/
|
|
1358
|
+
export type AnyHubRecommenderUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1359
|
+
/**
|
|
1360
|
+
* Select specific fields to fetch from the AnyHubRecommender
|
|
1361
|
+
*/
|
|
1362
|
+
select?: Prisma.AnyHubRecommenderSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1363
|
+
/**
|
|
1364
|
+
* Omit specific fields from the AnyHubRecommender
|
|
1365
|
+
*/
|
|
1366
|
+
omit?: Prisma.AnyHubRecommenderOmit<ExtArgs> | null
|
|
1367
|
+
/**
|
|
1368
|
+
* The data used to update AnyHubRecommenders.
|
|
1369
|
+
*/
|
|
1370
|
+
data: Prisma.XOR<Prisma.AnyHubRecommenderUpdateManyMutationInput, Prisma.AnyHubRecommenderUncheckedUpdateManyInput>
|
|
1371
|
+
/**
|
|
1372
|
+
* Filter which AnyHubRecommenders to update
|
|
1373
|
+
*/
|
|
1374
|
+
where?: Prisma.AnyHubRecommenderWhereInput
|
|
1375
|
+
/**
|
|
1376
|
+
* Limit how many AnyHubRecommenders to update.
|
|
1377
|
+
*/
|
|
1378
|
+
limit?: number
|
|
1379
|
+
/**
|
|
1380
|
+
* Choose, which related nodes to fetch as well
|
|
1381
|
+
*/
|
|
1382
|
+
include?: Prisma.AnyHubRecommenderIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
/**
|
|
1386
|
+
* AnyHubRecommender upsert
|
|
1387
|
+
*/
|
|
1388
|
+
export type AnyHubRecommenderUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1389
|
+
/**
|
|
1390
|
+
* Select specific fields to fetch from the AnyHubRecommender
|
|
1391
|
+
*/
|
|
1392
|
+
select?: Prisma.AnyHubRecommenderSelect<ExtArgs> | null
|
|
1393
|
+
/**
|
|
1394
|
+
* Omit specific fields from the AnyHubRecommender
|
|
1395
|
+
*/
|
|
1396
|
+
omit?: Prisma.AnyHubRecommenderOmit<ExtArgs> | null
|
|
1397
|
+
/**
|
|
1398
|
+
* Choose, which related nodes to fetch as well
|
|
1399
|
+
*/
|
|
1400
|
+
include?: Prisma.AnyHubRecommenderInclude<ExtArgs> | null
|
|
1401
|
+
/**
|
|
1402
|
+
* The filter to search for the AnyHubRecommender to update in case it exists.
|
|
1403
|
+
*/
|
|
1404
|
+
where: Prisma.AnyHubRecommenderWhereUniqueInput
|
|
1405
|
+
/**
|
|
1406
|
+
* In case the AnyHubRecommender found by the `where` argument doesn't exist, create a new AnyHubRecommender with this data.
|
|
1407
|
+
*/
|
|
1408
|
+
create: Prisma.XOR<Prisma.AnyHubRecommenderCreateInput, Prisma.AnyHubRecommenderUncheckedCreateInput>
|
|
1409
|
+
/**
|
|
1410
|
+
* In case the AnyHubRecommender was found with the provided `where` argument, update it with this data.
|
|
1411
|
+
*/
|
|
1412
|
+
update: Prisma.XOR<Prisma.AnyHubRecommenderUpdateInput, Prisma.AnyHubRecommenderUncheckedUpdateInput>
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1415
|
+
/**
|
|
1416
|
+
* AnyHubRecommender delete
|
|
1417
|
+
*/
|
|
1418
|
+
export type AnyHubRecommenderDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1419
|
+
/**
|
|
1420
|
+
* Select specific fields to fetch from the AnyHubRecommender
|
|
1421
|
+
*/
|
|
1422
|
+
select?: Prisma.AnyHubRecommenderSelect<ExtArgs> | null
|
|
1423
|
+
/**
|
|
1424
|
+
* Omit specific fields from the AnyHubRecommender
|
|
1425
|
+
*/
|
|
1426
|
+
omit?: Prisma.AnyHubRecommenderOmit<ExtArgs> | null
|
|
1427
|
+
/**
|
|
1428
|
+
* Choose, which related nodes to fetch as well
|
|
1429
|
+
*/
|
|
1430
|
+
include?: Prisma.AnyHubRecommenderInclude<ExtArgs> | null
|
|
1431
|
+
/**
|
|
1432
|
+
* Filter which AnyHubRecommender to delete.
|
|
1433
|
+
*/
|
|
1434
|
+
where: Prisma.AnyHubRecommenderWhereUniqueInput
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
/**
|
|
1438
|
+
* AnyHubRecommender deleteMany
|
|
1439
|
+
*/
|
|
1440
|
+
export type AnyHubRecommenderDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1441
|
+
/**
|
|
1442
|
+
* Filter which AnyHubRecommenders to delete
|
|
1443
|
+
*/
|
|
1444
|
+
where?: Prisma.AnyHubRecommenderWhereInput
|
|
1445
|
+
/**
|
|
1446
|
+
* Limit how many AnyHubRecommenders to delete.
|
|
1447
|
+
*/
|
|
1448
|
+
limit?: number
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
/**
|
|
1452
|
+
* AnyHubRecommender without action
|
|
1453
|
+
*/
|
|
1454
|
+
export type AnyHubRecommenderDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1455
|
+
/**
|
|
1456
|
+
* Select specific fields to fetch from the AnyHubRecommender
|
|
1457
|
+
*/
|
|
1458
|
+
select?: Prisma.AnyHubRecommenderSelect<ExtArgs> | null
|
|
1459
|
+
/**
|
|
1460
|
+
* Omit specific fields from the AnyHubRecommender
|
|
1461
|
+
*/
|
|
1462
|
+
omit?: Prisma.AnyHubRecommenderOmit<ExtArgs> | null
|
|
1463
|
+
/**
|
|
1464
|
+
* Choose, which related nodes to fetch as well
|
|
1465
|
+
*/
|
|
1466
|
+
include?: Prisma.AnyHubRecommenderInclude<ExtArgs> | null
|
|
1467
|
+
}
|