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