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