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