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