@allbluecn/database 0.6.0 → 0.9.0
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/LICENSE +661 -0
- package/dist/get-prisma.d.ts +1 -0
- package/dist/get-prisma.js +7 -0
- package/generated/browser.ts +85 -0
- package/generated/client.ts +85 -0
- package/generated/commonInputTypes.ts +106 -46
- package/generated/internal/class.ts +174 -4
- package/generated/internal/prismaNamespace.ts +1698 -151
- package/generated/internal/prismaNamespaceBrowser.ts +279 -7
- package/generated/models/AiProviderConfig.ts +100 -1
- package/generated/models/AiStreamChunk.ts +1159 -0
- package/generated/models/AiUsageLog.ts +91 -31
- package/generated/models/Blob.ts +1428 -0
- package/generated/models/BusinessAgentBinding.ts +1553 -0
- package/generated/models/ChatInterrupt.ts +42 -1
- package/generated/models/ChatMessage.ts +58 -29
- package/generated/models/ChatPersistenceMeta.ts +1121 -0
- package/generated/models/ChatRun.ts +166 -1
- package/generated/models/ChatThread.ts +294 -1
- package/generated/models/CodeSnippet.ts +1555 -0
- package/generated/models/DesktopSetting.ts +1059 -0
- package/generated/models/EmailLog.ts +1345 -0
- package/generated/models/EmailPreference.ts +1257 -0
- package/generated/models/EmailSubscriber.ts +1233 -0
- package/generated/models/EmailVerificationToken.ts +1380 -0
- package/generated/models/GenerationRun.ts +193 -1
- package/generated/models/HarnessPlugin.ts +1677 -0
- package/generated/models/HarnessWorkspace.ts +1650 -0
- package/generated/models/InvitationCode.ts +65 -9
- package/generated/models/NotificationPreference.ts +27 -1
- package/generated/models/OAuthProviderConfig.ts +1227 -0
- package/generated/models/Plan.ts +115 -1
- package/generated/models/SandboxInstance.ts +1277 -0
- package/generated/models/SystemPromptTemplate.ts +1583 -0
- package/generated/models/SystemPromptVersion.ts +1459 -0
- package/generated/models/User.ts +5759 -823
- package/generated/models/UserAgent.ts +250 -1
- package/generated/models/Workspace.ts +3 -1
- package/generated/models/WorkspaceFile.ts +1535 -0
- package/generated/models.ts +17 -0
- package/generated-sqlite/browser.ts +90 -0
- package/generated-sqlite/client.ts +90 -0
- package/generated-sqlite/commonInputTypes.ts +192 -78
- package/generated-sqlite/internal/class.ts +184 -4
- package/generated-sqlite/internal/prismaNamespace.ts +1786 -138
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +291 -7
- package/generated-sqlite/models/AiProviderConfig.ts +100 -1
- package/generated-sqlite/models/AiStreamChunk.ts +1157 -0
- package/generated-sqlite/models/AiUsageLog.ts +91 -31
- package/generated-sqlite/models/Blob.ts +1425 -0
- package/generated-sqlite/models/BusinessAgentBinding.ts +1549 -0
- package/generated-sqlite/models/ChatInterrupt.ts +42 -1
- package/generated-sqlite/models/ChatMessage.ts +58 -29
- package/generated-sqlite/models/ChatPersistenceMeta.ts +1119 -0
- package/generated-sqlite/models/ChatRun.ts +174 -1
- package/generated-sqlite/models/ChatThread.ts +293 -1
- package/generated-sqlite/models/CodeSnippet.ts +1552 -0
- package/generated-sqlite/models/DesktopSetting.ts +1057 -0
- package/generated-sqlite/models/EmailLog.ts +1343 -0
- package/generated-sqlite/models/EmailPreference.ts +1255 -0
- package/generated-sqlite/models/EmailSubscriber.ts +1231 -0
- package/generated-sqlite/models/EmailVerificationToken.ts +1377 -0
- package/generated-sqlite/models/GenerationRun.ts +193 -1
- package/generated-sqlite/models/HarnessPlugin.ts +1674 -0
- package/generated-sqlite/models/HarnessWorkspace.ts +1647 -0
- package/generated-sqlite/models/InvitationCode.ts +65 -9
- package/generated-sqlite/models/NotificationPreference.ts +1313 -0
- package/generated-sqlite/models/OAuthProviderConfig.ts +1225 -0
- package/generated-sqlite/models/PageVersion.ts +0 -8
- package/generated-sqlite/models/Plan.ts +115 -1
- package/generated-sqlite/models/SandboxInstance.ts +1283 -0
- package/generated-sqlite/models/SystemPromptTemplate.ts +1581 -0
- package/generated-sqlite/models/SystemPromptVersion.ts +1456 -0
- package/generated-sqlite/models/User.ts +5345 -701
- package/generated-sqlite/models/UserAgent.ts +250 -1
- package/generated-sqlite/models/Workspace.ts +3 -1
- package/generated-sqlite/models/WorkspaceFile.ts +1532 -0
- package/generated-sqlite/models.ts +18 -0
- package/get-prisma.ts +6 -0
- package/index.ts +11 -6
- package/migrations/20260911120000_add_pgvector_tables/migration.sql +28 -0
- package/migrations/20260911171433_email_auth_invitation/migration.sql +80 -0
- package/migrations/20260912032616_email_p4_p8/migration.sql +42 -0
- package/migrations/20260914002427_ai_p0_durable_runs_meta/migration.sql +15 -0
- package/migrations/20260914041010_ai_p0_interrupt_requested_at/migration.sql +15 -0
- package/migrations/20260914041909_ai_p0_message_tool_call_id/migration.sql +2 -0
- package/migrations/20260914042448_ai_p0_message_content_json/migration.sql +27 -0
- package/migrations/20260914150229_harness_plugin/migration.sql +27 -0
- package/migrations/20260914174404_prompt_platform_agents/migration.sql +67 -0
- package/migrations/20260915090000_add_memory_facts/migration.sql +22 -0
- package/migrations/20260915124417_ai_p3_sandbox_durable/migration.sql +48 -0
- package/migrations/20260915150034_sandbox_instance_updatedat_bigint/migration.sql +2 -0
- package/migrations/20260915154000_add_code_snippets/migration.sql +31 -0
- package/migrations/20260916090000_ai_usage_log_nullable_workspace/migration.sql +10 -0
- package/migrations/20260916192752_add_ai_source_mode/migration.sql +13 -0
- package/migrations/20260917044512_harness_workspace/migration.sql +47 -0
- package/migrations/20260917100000_add_media_plan_limits/migration.sql +3 -0
- package/migrations/20260917163433_add_generation_run_linked_target/migration.sql +2 -0
- package/migrations/20260920050606_add_blob_table/migration.sql +17 -0
- package/migrations/20260920093412_add_byteplus_voice_fields/migration.sql +3 -0
- package/package.json +8 -3
- package/schema.prisma +413 -99
- package/schema.sqlite.prisma +865 -543
|
@@ -0,0 +1,1157 @@
|
|
|
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 `AiStreamChunk` 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.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model AiStreamChunk
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type AiStreamChunkModel = runtime.Types.Result.DefaultSelection<Prisma.$AiStreamChunkPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateAiStreamChunk = {
|
|
22
|
+
_count: AiStreamChunkCountAggregateOutputType | null
|
|
23
|
+
_avg: AiStreamChunkAvgAggregateOutputType | null
|
|
24
|
+
_sum: AiStreamChunkSumAggregateOutputType | null
|
|
25
|
+
_min: AiStreamChunkMinAggregateOutputType | null
|
|
26
|
+
_max: AiStreamChunkMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type AiStreamChunkAvgAggregateOutputType = {
|
|
30
|
+
id: number | null
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type AiStreamChunkSumAggregateOutputType = {
|
|
34
|
+
id: bigint | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type AiStreamChunkMinAggregateOutputType = {
|
|
38
|
+
id: bigint | null
|
|
39
|
+
runId: string | null
|
|
40
|
+
createdAt: Date | null
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export type AiStreamChunkMaxAggregateOutputType = {
|
|
44
|
+
id: bigint | null
|
|
45
|
+
runId: string | null
|
|
46
|
+
createdAt: Date | null
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export type AiStreamChunkCountAggregateOutputType = {
|
|
50
|
+
id: number
|
|
51
|
+
runId: number
|
|
52
|
+
chunk: number
|
|
53
|
+
createdAt: number
|
|
54
|
+
_all: number
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
export type AiStreamChunkAvgAggregateInputType = {
|
|
59
|
+
id?: true
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export type AiStreamChunkSumAggregateInputType = {
|
|
63
|
+
id?: true
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export type AiStreamChunkMinAggregateInputType = {
|
|
67
|
+
id?: true
|
|
68
|
+
runId?: true
|
|
69
|
+
createdAt?: true
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export type AiStreamChunkMaxAggregateInputType = {
|
|
73
|
+
id?: true
|
|
74
|
+
runId?: true
|
|
75
|
+
createdAt?: true
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export type AiStreamChunkCountAggregateInputType = {
|
|
79
|
+
id?: true
|
|
80
|
+
runId?: true
|
|
81
|
+
chunk?: true
|
|
82
|
+
createdAt?: true
|
|
83
|
+
_all?: true
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export type AiStreamChunkAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
87
|
+
/**
|
|
88
|
+
* Filter which AiStreamChunk to aggregate.
|
|
89
|
+
*/
|
|
90
|
+
where?: Prisma.AiStreamChunkWhereInput
|
|
91
|
+
/**
|
|
92
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
93
|
+
*
|
|
94
|
+
* Determine the order of AiStreamChunks to fetch.
|
|
95
|
+
*/
|
|
96
|
+
orderBy?: Prisma.AiStreamChunkOrderByWithRelationInput | Prisma.AiStreamChunkOrderByWithRelationInput[]
|
|
97
|
+
/**
|
|
98
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
99
|
+
*
|
|
100
|
+
* Sets the start position
|
|
101
|
+
*/
|
|
102
|
+
cursor?: Prisma.AiStreamChunkWhereUniqueInput
|
|
103
|
+
/**
|
|
104
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
105
|
+
*
|
|
106
|
+
* Take `±n` AiStreamChunks from the position of the cursor.
|
|
107
|
+
*/
|
|
108
|
+
take?: number
|
|
109
|
+
/**
|
|
110
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
111
|
+
*
|
|
112
|
+
* Skip the first `n` AiStreamChunks.
|
|
113
|
+
*/
|
|
114
|
+
skip?: number
|
|
115
|
+
/**
|
|
116
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
117
|
+
*
|
|
118
|
+
* Count returned AiStreamChunks
|
|
119
|
+
**/
|
|
120
|
+
_count?: true | AiStreamChunkCountAggregateInputType
|
|
121
|
+
/**
|
|
122
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
123
|
+
*
|
|
124
|
+
* Select which fields to average
|
|
125
|
+
**/
|
|
126
|
+
_avg?: AiStreamChunkAvgAggregateInputType
|
|
127
|
+
/**
|
|
128
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
129
|
+
*
|
|
130
|
+
* Select which fields to sum
|
|
131
|
+
**/
|
|
132
|
+
_sum?: AiStreamChunkSumAggregateInputType
|
|
133
|
+
/**
|
|
134
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
135
|
+
*
|
|
136
|
+
* Select which fields to find the minimum value
|
|
137
|
+
**/
|
|
138
|
+
_min?: AiStreamChunkMinAggregateInputType
|
|
139
|
+
/**
|
|
140
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
141
|
+
*
|
|
142
|
+
* Select which fields to find the maximum value
|
|
143
|
+
**/
|
|
144
|
+
_max?: AiStreamChunkMaxAggregateInputType
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export type GetAiStreamChunkAggregateType<T extends AiStreamChunkAggregateArgs> = {
|
|
148
|
+
[P in keyof T & keyof AggregateAiStreamChunk]: P extends '_count' | 'count'
|
|
149
|
+
? T[P] extends true
|
|
150
|
+
? number
|
|
151
|
+
: Prisma.GetScalarType<T[P], AggregateAiStreamChunk[P]>
|
|
152
|
+
: Prisma.GetScalarType<T[P], AggregateAiStreamChunk[P]>
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
export type AiStreamChunkGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
159
|
+
where?: Prisma.AiStreamChunkWhereInput
|
|
160
|
+
orderBy?: Prisma.AiStreamChunkOrderByWithAggregationInput | Prisma.AiStreamChunkOrderByWithAggregationInput[]
|
|
161
|
+
by: Prisma.AiStreamChunkScalarFieldEnum[] | Prisma.AiStreamChunkScalarFieldEnum
|
|
162
|
+
having?: Prisma.AiStreamChunkScalarWhereWithAggregatesInput
|
|
163
|
+
take?: number
|
|
164
|
+
skip?: number
|
|
165
|
+
_count?: AiStreamChunkCountAggregateInputType | true
|
|
166
|
+
_avg?: AiStreamChunkAvgAggregateInputType
|
|
167
|
+
_sum?: AiStreamChunkSumAggregateInputType
|
|
168
|
+
_min?: AiStreamChunkMinAggregateInputType
|
|
169
|
+
_max?: AiStreamChunkMaxAggregateInputType
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export type AiStreamChunkGroupByOutputType = {
|
|
173
|
+
id: bigint
|
|
174
|
+
runId: string
|
|
175
|
+
chunk: runtime.JsonValue
|
|
176
|
+
createdAt: Date
|
|
177
|
+
_count: AiStreamChunkCountAggregateOutputType | null
|
|
178
|
+
_avg: AiStreamChunkAvgAggregateOutputType | null
|
|
179
|
+
_sum: AiStreamChunkSumAggregateOutputType | null
|
|
180
|
+
_min: AiStreamChunkMinAggregateOutputType | null
|
|
181
|
+
_max: AiStreamChunkMaxAggregateOutputType | null
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export type GetAiStreamChunkGroupByPayload<T extends AiStreamChunkGroupByArgs> = Prisma.PrismaPromise<
|
|
185
|
+
Array<
|
|
186
|
+
Prisma.PickEnumerable<AiStreamChunkGroupByOutputType, T['by']> &
|
|
187
|
+
{
|
|
188
|
+
[P in ((keyof T) & (keyof AiStreamChunkGroupByOutputType))]: P extends '_count'
|
|
189
|
+
? T[P] extends boolean
|
|
190
|
+
? number
|
|
191
|
+
: Prisma.GetScalarType<T[P], AiStreamChunkGroupByOutputType[P]>
|
|
192
|
+
: Prisma.GetScalarType<T[P], AiStreamChunkGroupByOutputType[P]>
|
|
193
|
+
}
|
|
194
|
+
>
|
|
195
|
+
>
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
export type AiStreamChunkWhereInput = {
|
|
200
|
+
AND?: Prisma.AiStreamChunkWhereInput | Prisma.AiStreamChunkWhereInput[]
|
|
201
|
+
OR?: Prisma.AiStreamChunkWhereInput[]
|
|
202
|
+
NOT?: Prisma.AiStreamChunkWhereInput | Prisma.AiStreamChunkWhereInput[]
|
|
203
|
+
id?: Prisma.BigIntFilter<"AiStreamChunk"> | bigint | number
|
|
204
|
+
runId?: Prisma.StringFilter<"AiStreamChunk"> | string
|
|
205
|
+
chunk?: Prisma.JsonFilter<"AiStreamChunk">
|
|
206
|
+
createdAt?: Prisma.DateTimeFilter<"AiStreamChunk"> | Date | string
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
export type AiStreamChunkOrderByWithRelationInput = {
|
|
210
|
+
id?: Prisma.SortOrder
|
|
211
|
+
runId?: Prisma.SortOrder
|
|
212
|
+
chunk?: Prisma.SortOrder
|
|
213
|
+
createdAt?: Prisma.SortOrder
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
export type AiStreamChunkWhereUniqueInput = Prisma.AtLeast<{
|
|
217
|
+
id?: bigint | number
|
|
218
|
+
AND?: Prisma.AiStreamChunkWhereInput | Prisma.AiStreamChunkWhereInput[]
|
|
219
|
+
OR?: Prisma.AiStreamChunkWhereInput[]
|
|
220
|
+
NOT?: Prisma.AiStreamChunkWhereInput | Prisma.AiStreamChunkWhereInput[]
|
|
221
|
+
runId?: Prisma.StringFilter<"AiStreamChunk"> | string
|
|
222
|
+
chunk?: Prisma.JsonFilter<"AiStreamChunk">
|
|
223
|
+
createdAt?: Prisma.DateTimeFilter<"AiStreamChunk"> | Date | string
|
|
224
|
+
}, "id">
|
|
225
|
+
|
|
226
|
+
export type AiStreamChunkOrderByWithAggregationInput = {
|
|
227
|
+
id?: Prisma.SortOrder
|
|
228
|
+
runId?: Prisma.SortOrder
|
|
229
|
+
chunk?: Prisma.SortOrder
|
|
230
|
+
createdAt?: Prisma.SortOrder
|
|
231
|
+
_count?: Prisma.AiStreamChunkCountOrderByAggregateInput
|
|
232
|
+
_avg?: Prisma.AiStreamChunkAvgOrderByAggregateInput
|
|
233
|
+
_max?: Prisma.AiStreamChunkMaxOrderByAggregateInput
|
|
234
|
+
_min?: Prisma.AiStreamChunkMinOrderByAggregateInput
|
|
235
|
+
_sum?: Prisma.AiStreamChunkSumOrderByAggregateInput
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export type AiStreamChunkScalarWhereWithAggregatesInput = {
|
|
239
|
+
AND?: Prisma.AiStreamChunkScalarWhereWithAggregatesInput | Prisma.AiStreamChunkScalarWhereWithAggregatesInput[]
|
|
240
|
+
OR?: Prisma.AiStreamChunkScalarWhereWithAggregatesInput[]
|
|
241
|
+
NOT?: Prisma.AiStreamChunkScalarWhereWithAggregatesInput | Prisma.AiStreamChunkScalarWhereWithAggregatesInput[]
|
|
242
|
+
id?: Prisma.BigIntWithAggregatesFilter<"AiStreamChunk"> | bigint | number
|
|
243
|
+
runId?: Prisma.StringWithAggregatesFilter<"AiStreamChunk"> | string
|
|
244
|
+
chunk?: Prisma.JsonWithAggregatesFilter<"AiStreamChunk">
|
|
245
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AiStreamChunk"> | Date | string
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
export type AiStreamChunkCreateInput = {
|
|
249
|
+
id?: bigint | number
|
|
250
|
+
runId: string
|
|
251
|
+
chunk: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
252
|
+
createdAt?: Date | string
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export type AiStreamChunkUncheckedCreateInput = {
|
|
256
|
+
id?: bigint | number
|
|
257
|
+
runId: string
|
|
258
|
+
chunk: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
259
|
+
createdAt?: Date | string
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export type AiStreamChunkUpdateInput = {
|
|
263
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
264
|
+
runId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
265
|
+
chunk?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
266
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
export type AiStreamChunkUncheckedUpdateInput = {
|
|
270
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
271
|
+
runId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
272
|
+
chunk?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
273
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
export type AiStreamChunkCreateManyInput = {
|
|
277
|
+
id?: bigint | number
|
|
278
|
+
runId: string
|
|
279
|
+
chunk: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
280
|
+
createdAt?: Date | string
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
export type AiStreamChunkUpdateManyMutationInput = {
|
|
284
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
285
|
+
runId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
286
|
+
chunk?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
287
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
export type AiStreamChunkUncheckedUpdateManyInput = {
|
|
291
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
292
|
+
runId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
293
|
+
chunk?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
294
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
export type AiStreamChunkCountOrderByAggregateInput = {
|
|
298
|
+
id?: Prisma.SortOrder
|
|
299
|
+
runId?: Prisma.SortOrder
|
|
300
|
+
chunk?: Prisma.SortOrder
|
|
301
|
+
createdAt?: Prisma.SortOrder
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
export type AiStreamChunkAvgOrderByAggregateInput = {
|
|
305
|
+
id?: Prisma.SortOrder
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
export type AiStreamChunkMaxOrderByAggregateInput = {
|
|
309
|
+
id?: Prisma.SortOrder
|
|
310
|
+
runId?: Prisma.SortOrder
|
|
311
|
+
createdAt?: Prisma.SortOrder
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export type AiStreamChunkMinOrderByAggregateInput = {
|
|
315
|
+
id?: Prisma.SortOrder
|
|
316
|
+
runId?: Prisma.SortOrder
|
|
317
|
+
createdAt?: Prisma.SortOrder
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
export type AiStreamChunkSumOrderByAggregateInput = {
|
|
321
|
+
id?: Prisma.SortOrder
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
export type AiStreamChunkSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
327
|
+
id?: boolean
|
|
328
|
+
runId?: boolean
|
|
329
|
+
chunk?: boolean
|
|
330
|
+
createdAt?: boolean
|
|
331
|
+
}, ExtArgs["result"]["aiStreamChunk"]>
|
|
332
|
+
|
|
333
|
+
export type AiStreamChunkSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
334
|
+
id?: boolean
|
|
335
|
+
runId?: boolean
|
|
336
|
+
chunk?: boolean
|
|
337
|
+
createdAt?: boolean
|
|
338
|
+
}, ExtArgs["result"]["aiStreamChunk"]>
|
|
339
|
+
|
|
340
|
+
export type AiStreamChunkSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
341
|
+
id?: boolean
|
|
342
|
+
runId?: boolean
|
|
343
|
+
chunk?: boolean
|
|
344
|
+
createdAt?: boolean
|
|
345
|
+
}, ExtArgs["result"]["aiStreamChunk"]>
|
|
346
|
+
|
|
347
|
+
export type AiStreamChunkSelectScalar = {
|
|
348
|
+
id?: boolean
|
|
349
|
+
runId?: boolean
|
|
350
|
+
chunk?: boolean
|
|
351
|
+
createdAt?: boolean
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
export type AiStreamChunkOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "runId" | "chunk" | "createdAt", ExtArgs["result"]["aiStreamChunk"]>
|
|
355
|
+
|
|
356
|
+
export type $AiStreamChunkPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
357
|
+
name: "AiStreamChunk"
|
|
358
|
+
objects: {}
|
|
359
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
360
|
+
id: bigint
|
|
361
|
+
runId: string
|
|
362
|
+
chunk: runtime.JsonValue
|
|
363
|
+
createdAt: Date
|
|
364
|
+
}, ExtArgs["result"]["aiStreamChunk"]>
|
|
365
|
+
composites: {}
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
export type AiStreamChunkGetPayload<S extends boolean | null | undefined | AiStreamChunkDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AiStreamChunkPayload, S>
|
|
369
|
+
|
|
370
|
+
export type AiStreamChunkCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
371
|
+
Omit<AiStreamChunkFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
372
|
+
select?: AiStreamChunkCountAggregateInputType | true
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
export interface AiStreamChunkDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
376
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AiStreamChunk'], meta: { name: 'AiStreamChunk' } }
|
|
377
|
+
/**
|
|
378
|
+
* Find zero or one AiStreamChunk that matches the filter.
|
|
379
|
+
* @param {AiStreamChunkFindUniqueArgs} args - Arguments to find a AiStreamChunk
|
|
380
|
+
* @example
|
|
381
|
+
* // Get one AiStreamChunk
|
|
382
|
+
* const aiStreamChunk = await prisma.aiStreamChunk.findUnique({
|
|
383
|
+
* where: {
|
|
384
|
+
* // ... provide filter here
|
|
385
|
+
* }
|
|
386
|
+
* })
|
|
387
|
+
*/
|
|
388
|
+
findUnique<T extends AiStreamChunkFindUniqueArgs>(args: Prisma.SelectSubset<T, AiStreamChunkFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AiStreamChunkClient<runtime.Types.Result.GetResult<Prisma.$AiStreamChunkPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* Find one AiStreamChunk that matches the filter or throw an error with `error.code='P2025'`
|
|
392
|
+
* if no matches were found.
|
|
393
|
+
* @param {AiStreamChunkFindUniqueOrThrowArgs} args - Arguments to find a AiStreamChunk
|
|
394
|
+
* @example
|
|
395
|
+
* // Get one AiStreamChunk
|
|
396
|
+
* const aiStreamChunk = await prisma.aiStreamChunk.findUniqueOrThrow({
|
|
397
|
+
* where: {
|
|
398
|
+
* // ... provide filter here
|
|
399
|
+
* }
|
|
400
|
+
* })
|
|
401
|
+
*/
|
|
402
|
+
findUniqueOrThrow<T extends AiStreamChunkFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AiStreamChunkFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AiStreamChunkClient<runtime.Types.Result.GetResult<Prisma.$AiStreamChunkPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* Find the first AiStreamChunk that matches the filter.
|
|
406
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
407
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
408
|
+
* @param {AiStreamChunkFindFirstArgs} args - Arguments to find a AiStreamChunk
|
|
409
|
+
* @example
|
|
410
|
+
* // Get one AiStreamChunk
|
|
411
|
+
* const aiStreamChunk = await prisma.aiStreamChunk.findFirst({
|
|
412
|
+
* where: {
|
|
413
|
+
* // ... provide filter here
|
|
414
|
+
* }
|
|
415
|
+
* })
|
|
416
|
+
*/
|
|
417
|
+
findFirst<T extends AiStreamChunkFindFirstArgs>(args?: Prisma.SelectSubset<T, AiStreamChunkFindFirstArgs<ExtArgs>>): Prisma.Prisma__AiStreamChunkClient<runtime.Types.Result.GetResult<Prisma.$AiStreamChunkPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* Find the first AiStreamChunk that matches the filter or
|
|
421
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
422
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
423
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
424
|
+
* @param {AiStreamChunkFindFirstOrThrowArgs} args - Arguments to find a AiStreamChunk
|
|
425
|
+
* @example
|
|
426
|
+
* // Get one AiStreamChunk
|
|
427
|
+
* const aiStreamChunk = await prisma.aiStreamChunk.findFirstOrThrow({
|
|
428
|
+
* where: {
|
|
429
|
+
* // ... provide filter here
|
|
430
|
+
* }
|
|
431
|
+
* })
|
|
432
|
+
*/
|
|
433
|
+
findFirstOrThrow<T extends AiStreamChunkFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AiStreamChunkFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AiStreamChunkClient<runtime.Types.Result.GetResult<Prisma.$AiStreamChunkPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* Find zero or more AiStreamChunks that matches the filter.
|
|
437
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
438
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
439
|
+
* @param {AiStreamChunkFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
440
|
+
* @example
|
|
441
|
+
* // Get all AiStreamChunks
|
|
442
|
+
* const aiStreamChunks = await prisma.aiStreamChunk.findMany()
|
|
443
|
+
*
|
|
444
|
+
* // Get first 10 AiStreamChunks
|
|
445
|
+
* const aiStreamChunks = await prisma.aiStreamChunk.findMany({ take: 10 })
|
|
446
|
+
*
|
|
447
|
+
* // Only select the `id`
|
|
448
|
+
* const aiStreamChunkWithIdOnly = await prisma.aiStreamChunk.findMany({ select: { id: true } })
|
|
449
|
+
*
|
|
450
|
+
*/
|
|
451
|
+
findMany<T extends AiStreamChunkFindManyArgs>(args?: Prisma.SelectSubset<T, AiStreamChunkFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AiStreamChunkPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* Create a AiStreamChunk.
|
|
455
|
+
* @param {AiStreamChunkCreateArgs} args - Arguments to create a AiStreamChunk.
|
|
456
|
+
* @example
|
|
457
|
+
* // Create one AiStreamChunk
|
|
458
|
+
* const AiStreamChunk = await prisma.aiStreamChunk.create({
|
|
459
|
+
* data: {
|
|
460
|
+
* // ... data to create a AiStreamChunk
|
|
461
|
+
* }
|
|
462
|
+
* })
|
|
463
|
+
*
|
|
464
|
+
*/
|
|
465
|
+
create<T extends AiStreamChunkCreateArgs>(args: Prisma.SelectSubset<T, AiStreamChunkCreateArgs<ExtArgs>>): Prisma.Prisma__AiStreamChunkClient<runtime.Types.Result.GetResult<Prisma.$AiStreamChunkPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* Create many AiStreamChunks.
|
|
469
|
+
* @param {AiStreamChunkCreateManyArgs} args - Arguments to create many AiStreamChunks.
|
|
470
|
+
* @example
|
|
471
|
+
* // Create many AiStreamChunks
|
|
472
|
+
* const aiStreamChunk = await prisma.aiStreamChunk.createMany({
|
|
473
|
+
* data: [
|
|
474
|
+
* // ... provide data here
|
|
475
|
+
* ]
|
|
476
|
+
* })
|
|
477
|
+
*
|
|
478
|
+
*/
|
|
479
|
+
createMany<T extends AiStreamChunkCreateManyArgs>(args?: Prisma.SelectSubset<T, AiStreamChunkCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* Create many AiStreamChunks and returns the data saved in the database.
|
|
483
|
+
* @param {AiStreamChunkCreateManyAndReturnArgs} args - Arguments to create many AiStreamChunks.
|
|
484
|
+
* @example
|
|
485
|
+
* // Create many AiStreamChunks
|
|
486
|
+
* const aiStreamChunk = await prisma.aiStreamChunk.createManyAndReturn({
|
|
487
|
+
* data: [
|
|
488
|
+
* // ... provide data here
|
|
489
|
+
* ]
|
|
490
|
+
* })
|
|
491
|
+
*
|
|
492
|
+
* // Create many AiStreamChunks and only return the `id`
|
|
493
|
+
* const aiStreamChunkWithIdOnly = await prisma.aiStreamChunk.createManyAndReturn({
|
|
494
|
+
* select: { id: true },
|
|
495
|
+
* data: [
|
|
496
|
+
* // ... provide data here
|
|
497
|
+
* ]
|
|
498
|
+
* })
|
|
499
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
500
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
501
|
+
*
|
|
502
|
+
*/
|
|
503
|
+
createManyAndReturn<T extends AiStreamChunkCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AiStreamChunkCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AiStreamChunkPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* Delete a AiStreamChunk.
|
|
507
|
+
* @param {AiStreamChunkDeleteArgs} args - Arguments to delete one AiStreamChunk.
|
|
508
|
+
* @example
|
|
509
|
+
* // Delete one AiStreamChunk
|
|
510
|
+
* const AiStreamChunk = await prisma.aiStreamChunk.delete({
|
|
511
|
+
* where: {
|
|
512
|
+
* // ... filter to delete one AiStreamChunk
|
|
513
|
+
* }
|
|
514
|
+
* })
|
|
515
|
+
*
|
|
516
|
+
*/
|
|
517
|
+
delete<T extends AiStreamChunkDeleteArgs>(args: Prisma.SelectSubset<T, AiStreamChunkDeleteArgs<ExtArgs>>): Prisma.Prisma__AiStreamChunkClient<runtime.Types.Result.GetResult<Prisma.$AiStreamChunkPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* Update one AiStreamChunk.
|
|
521
|
+
* @param {AiStreamChunkUpdateArgs} args - Arguments to update one AiStreamChunk.
|
|
522
|
+
* @example
|
|
523
|
+
* // Update one AiStreamChunk
|
|
524
|
+
* const aiStreamChunk = await prisma.aiStreamChunk.update({
|
|
525
|
+
* where: {
|
|
526
|
+
* // ... provide filter here
|
|
527
|
+
* },
|
|
528
|
+
* data: {
|
|
529
|
+
* // ... provide data here
|
|
530
|
+
* }
|
|
531
|
+
* })
|
|
532
|
+
*
|
|
533
|
+
*/
|
|
534
|
+
update<T extends AiStreamChunkUpdateArgs>(args: Prisma.SelectSubset<T, AiStreamChunkUpdateArgs<ExtArgs>>): Prisma.Prisma__AiStreamChunkClient<runtime.Types.Result.GetResult<Prisma.$AiStreamChunkPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* Delete zero or more AiStreamChunks.
|
|
538
|
+
* @param {AiStreamChunkDeleteManyArgs} args - Arguments to filter AiStreamChunks to delete.
|
|
539
|
+
* @example
|
|
540
|
+
* // Delete a few AiStreamChunks
|
|
541
|
+
* const { count } = await prisma.aiStreamChunk.deleteMany({
|
|
542
|
+
* where: {
|
|
543
|
+
* // ... provide filter here
|
|
544
|
+
* }
|
|
545
|
+
* })
|
|
546
|
+
*
|
|
547
|
+
*/
|
|
548
|
+
deleteMany<T extends AiStreamChunkDeleteManyArgs>(args?: Prisma.SelectSubset<T, AiStreamChunkDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* Update zero or more AiStreamChunks.
|
|
552
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
553
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
554
|
+
* @param {AiStreamChunkUpdateManyArgs} args - Arguments to update one or more rows.
|
|
555
|
+
* @example
|
|
556
|
+
* // Update many AiStreamChunks
|
|
557
|
+
* const aiStreamChunk = await prisma.aiStreamChunk.updateMany({
|
|
558
|
+
* where: {
|
|
559
|
+
* // ... provide filter here
|
|
560
|
+
* },
|
|
561
|
+
* data: {
|
|
562
|
+
* // ... provide data here
|
|
563
|
+
* }
|
|
564
|
+
* })
|
|
565
|
+
*
|
|
566
|
+
*/
|
|
567
|
+
updateMany<T extends AiStreamChunkUpdateManyArgs>(args: Prisma.SelectSubset<T, AiStreamChunkUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* Update zero or more AiStreamChunks and returns the data updated in the database.
|
|
571
|
+
* @param {AiStreamChunkUpdateManyAndReturnArgs} args - Arguments to update many AiStreamChunks.
|
|
572
|
+
* @example
|
|
573
|
+
* // Update many AiStreamChunks
|
|
574
|
+
* const aiStreamChunk = await prisma.aiStreamChunk.updateManyAndReturn({
|
|
575
|
+
* where: {
|
|
576
|
+
* // ... provide filter here
|
|
577
|
+
* },
|
|
578
|
+
* data: [
|
|
579
|
+
* // ... provide data here
|
|
580
|
+
* ]
|
|
581
|
+
* })
|
|
582
|
+
*
|
|
583
|
+
* // Update zero or more AiStreamChunks and only return the `id`
|
|
584
|
+
* const aiStreamChunkWithIdOnly = await prisma.aiStreamChunk.updateManyAndReturn({
|
|
585
|
+
* select: { id: true },
|
|
586
|
+
* where: {
|
|
587
|
+
* // ... provide filter here
|
|
588
|
+
* },
|
|
589
|
+
* data: [
|
|
590
|
+
* // ... provide data here
|
|
591
|
+
* ]
|
|
592
|
+
* })
|
|
593
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
594
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
595
|
+
*
|
|
596
|
+
*/
|
|
597
|
+
updateManyAndReturn<T extends AiStreamChunkUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AiStreamChunkUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AiStreamChunkPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
* Create or update one AiStreamChunk.
|
|
601
|
+
* @param {AiStreamChunkUpsertArgs} args - Arguments to update or create a AiStreamChunk.
|
|
602
|
+
* @example
|
|
603
|
+
* // Update or create a AiStreamChunk
|
|
604
|
+
* const aiStreamChunk = await prisma.aiStreamChunk.upsert({
|
|
605
|
+
* create: {
|
|
606
|
+
* // ... data to create a AiStreamChunk
|
|
607
|
+
* },
|
|
608
|
+
* update: {
|
|
609
|
+
* // ... in case it already exists, update
|
|
610
|
+
* },
|
|
611
|
+
* where: {
|
|
612
|
+
* // ... the filter for the AiStreamChunk we want to update
|
|
613
|
+
* }
|
|
614
|
+
* })
|
|
615
|
+
*/
|
|
616
|
+
upsert<T extends AiStreamChunkUpsertArgs>(args: Prisma.SelectSubset<T, AiStreamChunkUpsertArgs<ExtArgs>>): Prisma.Prisma__AiStreamChunkClient<runtime.Types.Result.GetResult<Prisma.$AiStreamChunkPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* Count the number of AiStreamChunks.
|
|
621
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
622
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
623
|
+
* @param {AiStreamChunkCountArgs} args - Arguments to filter AiStreamChunks to count.
|
|
624
|
+
* @example
|
|
625
|
+
* // Count the number of AiStreamChunks
|
|
626
|
+
* const count = await prisma.aiStreamChunk.count({
|
|
627
|
+
* where: {
|
|
628
|
+
* // ... the filter for the AiStreamChunks we want to count
|
|
629
|
+
* }
|
|
630
|
+
* })
|
|
631
|
+
**/
|
|
632
|
+
count<T extends AiStreamChunkCountArgs>(
|
|
633
|
+
args?: Prisma.Subset<T, AiStreamChunkCountArgs>,
|
|
634
|
+
): Prisma.PrismaPromise<
|
|
635
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
636
|
+
? T['select'] extends true
|
|
637
|
+
? number
|
|
638
|
+
: Prisma.GetScalarType<T['select'], AiStreamChunkCountAggregateOutputType>
|
|
639
|
+
: number
|
|
640
|
+
>
|
|
641
|
+
|
|
642
|
+
/**
|
|
643
|
+
* Allows you to perform aggregations operations on a AiStreamChunk.
|
|
644
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
645
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
646
|
+
* @param {AiStreamChunkAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
647
|
+
* @example
|
|
648
|
+
* // Ordered by age ascending
|
|
649
|
+
* // Where email contains prisma.io
|
|
650
|
+
* // Limited to the 10 users
|
|
651
|
+
* const aggregations = await prisma.user.aggregate({
|
|
652
|
+
* _avg: {
|
|
653
|
+
* age: true,
|
|
654
|
+
* },
|
|
655
|
+
* where: {
|
|
656
|
+
* email: {
|
|
657
|
+
* contains: "prisma.io",
|
|
658
|
+
* },
|
|
659
|
+
* },
|
|
660
|
+
* orderBy: {
|
|
661
|
+
* age: "asc",
|
|
662
|
+
* },
|
|
663
|
+
* take: 10,
|
|
664
|
+
* })
|
|
665
|
+
**/
|
|
666
|
+
aggregate<T extends AiStreamChunkAggregateArgs>(args: Prisma.Subset<T, AiStreamChunkAggregateArgs>): Prisma.PrismaPromise<GetAiStreamChunkAggregateType<T>>
|
|
667
|
+
|
|
668
|
+
/**
|
|
669
|
+
* Group by AiStreamChunk.
|
|
670
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
671
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
672
|
+
* @param {AiStreamChunkGroupByArgs} args - Group by arguments.
|
|
673
|
+
* @example
|
|
674
|
+
* // Group by city, order by createdAt, get count
|
|
675
|
+
* const result = await prisma.user.groupBy({
|
|
676
|
+
* by: ['city', 'createdAt'],
|
|
677
|
+
* orderBy: {
|
|
678
|
+
* createdAt: true
|
|
679
|
+
* },
|
|
680
|
+
* _count: {
|
|
681
|
+
* _all: true
|
|
682
|
+
* },
|
|
683
|
+
* })
|
|
684
|
+
*
|
|
685
|
+
**/
|
|
686
|
+
groupBy<
|
|
687
|
+
T extends AiStreamChunkGroupByArgs,
|
|
688
|
+
HasSelectOrTake extends Prisma.Or<
|
|
689
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
690
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
691
|
+
>,
|
|
692
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
693
|
+
? { orderBy: AiStreamChunkGroupByArgs['orderBy'] }
|
|
694
|
+
: { orderBy?: AiStreamChunkGroupByArgs['orderBy'] },
|
|
695
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
696
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
697
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
698
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
699
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
700
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
701
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
702
|
+
? `Error: "by" must not be empty.`
|
|
703
|
+
: HavingValid extends Prisma.False
|
|
704
|
+
? {
|
|
705
|
+
[P in HavingFields]: P extends ByFields
|
|
706
|
+
? never
|
|
707
|
+
: P extends string
|
|
708
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
709
|
+
: [
|
|
710
|
+
Error,
|
|
711
|
+
'Field ',
|
|
712
|
+
P,
|
|
713
|
+
` in "having" needs to be provided in "by"`,
|
|
714
|
+
]
|
|
715
|
+
}[HavingFields]
|
|
716
|
+
: 'take' extends Prisma.Keys<T>
|
|
717
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
718
|
+
? ByValid extends Prisma.True
|
|
719
|
+
? {}
|
|
720
|
+
: {
|
|
721
|
+
[P in OrderFields]: P extends ByFields
|
|
722
|
+
? never
|
|
723
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
724
|
+
}[OrderFields]
|
|
725
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
726
|
+
: 'skip' extends Prisma.Keys<T>
|
|
727
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
728
|
+
? ByValid extends Prisma.True
|
|
729
|
+
? {}
|
|
730
|
+
: {
|
|
731
|
+
[P in OrderFields]: P extends ByFields
|
|
732
|
+
? never
|
|
733
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
734
|
+
}[OrderFields]
|
|
735
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
736
|
+
: ByValid extends Prisma.True
|
|
737
|
+
? {}
|
|
738
|
+
: {
|
|
739
|
+
[P in OrderFields]: P extends ByFields
|
|
740
|
+
? never
|
|
741
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
742
|
+
}[OrderFields]
|
|
743
|
+
>(args: Prisma.SubsetIntersection<T, AiStreamChunkGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAiStreamChunkGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
744
|
+
/**
|
|
745
|
+
* Fields of the AiStreamChunk model
|
|
746
|
+
*/
|
|
747
|
+
readonly fields: AiStreamChunkFieldRefs;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
* The delegate class that acts as a "Promise-like" for AiStreamChunk.
|
|
752
|
+
* Why is this prefixed with `Prisma__`?
|
|
753
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
754
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
755
|
+
*/
|
|
756
|
+
export interface Prisma__AiStreamChunkClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
757
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
758
|
+
/**
|
|
759
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
760
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
761
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
762
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
763
|
+
*/
|
|
764
|
+
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>
|
|
765
|
+
/**
|
|
766
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
767
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
768
|
+
* @returns A Promise for the completion of the callback.
|
|
769
|
+
*/
|
|
770
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
771
|
+
/**
|
|
772
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
773
|
+
* resolved value cannot be modified from the callback.
|
|
774
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
775
|
+
* @returns A Promise for the completion of the callback.
|
|
776
|
+
*/
|
|
777
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* Fields of the AiStreamChunk model
|
|
785
|
+
*/
|
|
786
|
+
export interface AiStreamChunkFieldRefs {
|
|
787
|
+
readonly id: Prisma.FieldRef<"AiStreamChunk", 'BigInt'>
|
|
788
|
+
readonly runId: Prisma.FieldRef<"AiStreamChunk", 'String'>
|
|
789
|
+
readonly chunk: Prisma.FieldRef<"AiStreamChunk", 'Json'>
|
|
790
|
+
readonly createdAt: Prisma.FieldRef<"AiStreamChunk", 'DateTime'>
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
|
|
794
|
+
// Custom InputTypes
|
|
795
|
+
/**
|
|
796
|
+
* AiStreamChunk findUnique
|
|
797
|
+
*/
|
|
798
|
+
export type AiStreamChunkFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
799
|
+
/**
|
|
800
|
+
* Select specific fields to fetch from the AiStreamChunk
|
|
801
|
+
*/
|
|
802
|
+
select?: Prisma.AiStreamChunkSelect<ExtArgs> | null
|
|
803
|
+
/**
|
|
804
|
+
* Omit specific fields from the AiStreamChunk
|
|
805
|
+
*/
|
|
806
|
+
omit?: Prisma.AiStreamChunkOmit<ExtArgs> | null
|
|
807
|
+
/**
|
|
808
|
+
* Filter, which AiStreamChunk to fetch.
|
|
809
|
+
*/
|
|
810
|
+
where: Prisma.AiStreamChunkWhereUniqueInput
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
/**
|
|
814
|
+
* AiStreamChunk findUniqueOrThrow
|
|
815
|
+
*/
|
|
816
|
+
export type AiStreamChunkFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
817
|
+
/**
|
|
818
|
+
* Select specific fields to fetch from the AiStreamChunk
|
|
819
|
+
*/
|
|
820
|
+
select?: Prisma.AiStreamChunkSelect<ExtArgs> | null
|
|
821
|
+
/**
|
|
822
|
+
* Omit specific fields from the AiStreamChunk
|
|
823
|
+
*/
|
|
824
|
+
omit?: Prisma.AiStreamChunkOmit<ExtArgs> | null
|
|
825
|
+
/**
|
|
826
|
+
* Filter, which AiStreamChunk to fetch.
|
|
827
|
+
*/
|
|
828
|
+
where: Prisma.AiStreamChunkWhereUniqueInput
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* AiStreamChunk findFirst
|
|
833
|
+
*/
|
|
834
|
+
export type AiStreamChunkFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
835
|
+
/**
|
|
836
|
+
* Select specific fields to fetch from the AiStreamChunk
|
|
837
|
+
*/
|
|
838
|
+
select?: Prisma.AiStreamChunkSelect<ExtArgs> | null
|
|
839
|
+
/**
|
|
840
|
+
* Omit specific fields from the AiStreamChunk
|
|
841
|
+
*/
|
|
842
|
+
omit?: Prisma.AiStreamChunkOmit<ExtArgs> | null
|
|
843
|
+
/**
|
|
844
|
+
* Filter, which AiStreamChunk to fetch.
|
|
845
|
+
*/
|
|
846
|
+
where?: Prisma.AiStreamChunkWhereInput
|
|
847
|
+
/**
|
|
848
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
849
|
+
*
|
|
850
|
+
* Determine the order of AiStreamChunks to fetch.
|
|
851
|
+
*/
|
|
852
|
+
orderBy?: Prisma.AiStreamChunkOrderByWithRelationInput | Prisma.AiStreamChunkOrderByWithRelationInput[]
|
|
853
|
+
/**
|
|
854
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
855
|
+
*
|
|
856
|
+
* Sets the position for searching for AiStreamChunks.
|
|
857
|
+
*/
|
|
858
|
+
cursor?: Prisma.AiStreamChunkWhereUniqueInput
|
|
859
|
+
/**
|
|
860
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
861
|
+
*
|
|
862
|
+
* Take `±n` AiStreamChunks from the position of the cursor.
|
|
863
|
+
*/
|
|
864
|
+
take?: number
|
|
865
|
+
/**
|
|
866
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
867
|
+
*
|
|
868
|
+
* Skip the first `n` AiStreamChunks.
|
|
869
|
+
*/
|
|
870
|
+
skip?: number
|
|
871
|
+
/**
|
|
872
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
873
|
+
*
|
|
874
|
+
* Filter by unique combinations of AiStreamChunks.
|
|
875
|
+
*/
|
|
876
|
+
distinct?: Prisma.AiStreamChunkScalarFieldEnum | Prisma.AiStreamChunkScalarFieldEnum[]
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
/**
|
|
880
|
+
* AiStreamChunk findFirstOrThrow
|
|
881
|
+
*/
|
|
882
|
+
export type AiStreamChunkFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
883
|
+
/**
|
|
884
|
+
* Select specific fields to fetch from the AiStreamChunk
|
|
885
|
+
*/
|
|
886
|
+
select?: Prisma.AiStreamChunkSelect<ExtArgs> | null
|
|
887
|
+
/**
|
|
888
|
+
* Omit specific fields from the AiStreamChunk
|
|
889
|
+
*/
|
|
890
|
+
omit?: Prisma.AiStreamChunkOmit<ExtArgs> | null
|
|
891
|
+
/**
|
|
892
|
+
* Filter, which AiStreamChunk to fetch.
|
|
893
|
+
*/
|
|
894
|
+
where?: Prisma.AiStreamChunkWhereInput
|
|
895
|
+
/**
|
|
896
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
897
|
+
*
|
|
898
|
+
* Determine the order of AiStreamChunks to fetch.
|
|
899
|
+
*/
|
|
900
|
+
orderBy?: Prisma.AiStreamChunkOrderByWithRelationInput | Prisma.AiStreamChunkOrderByWithRelationInput[]
|
|
901
|
+
/**
|
|
902
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
903
|
+
*
|
|
904
|
+
* Sets the position for searching for AiStreamChunks.
|
|
905
|
+
*/
|
|
906
|
+
cursor?: Prisma.AiStreamChunkWhereUniqueInput
|
|
907
|
+
/**
|
|
908
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
909
|
+
*
|
|
910
|
+
* Take `±n` AiStreamChunks from the position of the cursor.
|
|
911
|
+
*/
|
|
912
|
+
take?: number
|
|
913
|
+
/**
|
|
914
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
915
|
+
*
|
|
916
|
+
* Skip the first `n` AiStreamChunks.
|
|
917
|
+
*/
|
|
918
|
+
skip?: number
|
|
919
|
+
/**
|
|
920
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
921
|
+
*
|
|
922
|
+
* Filter by unique combinations of AiStreamChunks.
|
|
923
|
+
*/
|
|
924
|
+
distinct?: Prisma.AiStreamChunkScalarFieldEnum | Prisma.AiStreamChunkScalarFieldEnum[]
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
/**
|
|
928
|
+
* AiStreamChunk findMany
|
|
929
|
+
*/
|
|
930
|
+
export type AiStreamChunkFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
931
|
+
/**
|
|
932
|
+
* Select specific fields to fetch from the AiStreamChunk
|
|
933
|
+
*/
|
|
934
|
+
select?: Prisma.AiStreamChunkSelect<ExtArgs> | null
|
|
935
|
+
/**
|
|
936
|
+
* Omit specific fields from the AiStreamChunk
|
|
937
|
+
*/
|
|
938
|
+
omit?: Prisma.AiStreamChunkOmit<ExtArgs> | null
|
|
939
|
+
/**
|
|
940
|
+
* Filter, which AiStreamChunks to fetch.
|
|
941
|
+
*/
|
|
942
|
+
where?: Prisma.AiStreamChunkWhereInput
|
|
943
|
+
/**
|
|
944
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
945
|
+
*
|
|
946
|
+
* Determine the order of AiStreamChunks to fetch.
|
|
947
|
+
*/
|
|
948
|
+
orderBy?: Prisma.AiStreamChunkOrderByWithRelationInput | Prisma.AiStreamChunkOrderByWithRelationInput[]
|
|
949
|
+
/**
|
|
950
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
951
|
+
*
|
|
952
|
+
* Sets the position for listing AiStreamChunks.
|
|
953
|
+
*/
|
|
954
|
+
cursor?: Prisma.AiStreamChunkWhereUniqueInput
|
|
955
|
+
/**
|
|
956
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
957
|
+
*
|
|
958
|
+
* Take `±n` AiStreamChunks from the position of the cursor.
|
|
959
|
+
*/
|
|
960
|
+
take?: number
|
|
961
|
+
/**
|
|
962
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
963
|
+
*
|
|
964
|
+
* Skip the first `n` AiStreamChunks.
|
|
965
|
+
*/
|
|
966
|
+
skip?: number
|
|
967
|
+
/**
|
|
968
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
969
|
+
*
|
|
970
|
+
* Filter by unique combinations of AiStreamChunks.
|
|
971
|
+
*/
|
|
972
|
+
distinct?: Prisma.AiStreamChunkScalarFieldEnum | Prisma.AiStreamChunkScalarFieldEnum[]
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* AiStreamChunk create
|
|
977
|
+
*/
|
|
978
|
+
export type AiStreamChunkCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
979
|
+
/**
|
|
980
|
+
* Select specific fields to fetch from the AiStreamChunk
|
|
981
|
+
*/
|
|
982
|
+
select?: Prisma.AiStreamChunkSelect<ExtArgs> | null
|
|
983
|
+
/**
|
|
984
|
+
* Omit specific fields from the AiStreamChunk
|
|
985
|
+
*/
|
|
986
|
+
omit?: Prisma.AiStreamChunkOmit<ExtArgs> | null
|
|
987
|
+
/**
|
|
988
|
+
* The data needed to create a AiStreamChunk.
|
|
989
|
+
*/
|
|
990
|
+
data: Prisma.XOR<Prisma.AiStreamChunkCreateInput, Prisma.AiStreamChunkUncheckedCreateInput>
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
/**
|
|
994
|
+
* AiStreamChunk createMany
|
|
995
|
+
*/
|
|
996
|
+
export type AiStreamChunkCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
997
|
+
/**
|
|
998
|
+
* The data used to create many AiStreamChunks.
|
|
999
|
+
*/
|
|
1000
|
+
data: Prisma.AiStreamChunkCreateManyInput | Prisma.AiStreamChunkCreateManyInput[]
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
/**
|
|
1004
|
+
* AiStreamChunk createManyAndReturn
|
|
1005
|
+
*/
|
|
1006
|
+
export type AiStreamChunkCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1007
|
+
/**
|
|
1008
|
+
* Select specific fields to fetch from the AiStreamChunk
|
|
1009
|
+
*/
|
|
1010
|
+
select?: Prisma.AiStreamChunkSelectCreateManyAndReturn<ExtArgs> | null
|
|
1011
|
+
/**
|
|
1012
|
+
* Omit specific fields from the AiStreamChunk
|
|
1013
|
+
*/
|
|
1014
|
+
omit?: Prisma.AiStreamChunkOmit<ExtArgs> | null
|
|
1015
|
+
/**
|
|
1016
|
+
* The data used to create many AiStreamChunks.
|
|
1017
|
+
*/
|
|
1018
|
+
data: Prisma.AiStreamChunkCreateManyInput | Prisma.AiStreamChunkCreateManyInput[]
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
/**
|
|
1022
|
+
* AiStreamChunk update
|
|
1023
|
+
*/
|
|
1024
|
+
export type AiStreamChunkUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1025
|
+
/**
|
|
1026
|
+
* Select specific fields to fetch from the AiStreamChunk
|
|
1027
|
+
*/
|
|
1028
|
+
select?: Prisma.AiStreamChunkSelect<ExtArgs> | null
|
|
1029
|
+
/**
|
|
1030
|
+
* Omit specific fields from the AiStreamChunk
|
|
1031
|
+
*/
|
|
1032
|
+
omit?: Prisma.AiStreamChunkOmit<ExtArgs> | null
|
|
1033
|
+
/**
|
|
1034
|
+
* The data needed to update a AiStreamChunk.
|
|
1035
|
+
*/
|
|
1036
|
+
data: Prisma.XOR<Prisma.AiStreamChunkUpdateInput, Prisma.AiStreamChunkUncheckedUpdateInput>
|
|
1037
|
+
/**
|
|
1038
|
+
* Choose, which AiStreamChunk to update.
|
|
1039
|
+
*/
|
|
1040
|
+
where: Prisma.AiStreamChunkWhereUniqueInput
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
/**
|
|
1044
|
+
* AiStreamChunk updateMany
|
|
1045
|
+
*/
|
|
1046
|
+
export type AiStreamChunkUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1047
|
+
/**
|
|
1048
|
+
* The data used to update AiStreamChunks.
|
|
1049
|
+
*/
|
|
1050
|
+
data: Prisma.XOR<Prisma.AiStreamChunkUpdateManyMutationInput, Prisma.AiStreamChunkUncheckedUpdateManyInput>
|
|
1051
|
+
/**
|
|
1052
|
+
* Filter which AiStreamChunks to update
|
|
1053
|
+
*/
|
|
1054
|
+
where?: Prisma.AiStreamChunkWhereInput
|
|
1055
|
+
/**
|
|
1056
|
+
* Limit how many AiStreamChunks to update.
|
|
1057
|
+
*/
|
|
1058
|
+
limit?: number
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
/**
|
|
1062
|
+
* AiStreamChunk updateManyAndReturn
|
|
1063
|
+
*/
|
|
1064
|
+
export type AiStreamChunkUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1065
|
+
/**
|
|
1066
|
+
* Select specific fields to fetch from the AiStreamChunk
|
|
1067
|
+
*/
|
|
1068
|
+
select?: Prisma.AiStreamChunkSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1069
|
+
/**
|
|
1070
|
+
* Omit specific fields from the AiStreamChunk
|
|
1071
|
+
*/
|
|
1072
|
+
omit?: Prisma.AiStreamChunkOmit<ExtArgs> | null
|
|
1073
|
+
/**
|
|
1074
|
+
* The data used to update AiStreamChunks.
|
|
1075
|
+
*/
|
|
1076
|
+
data: Prisma.XOR<Prisma.AiStreamChunkUpdateManyMutationInput, Prisma.AiStreamChunkUncheckedUpdateManyInput>
|
|
1077
|
+
/**
|
|
1078
|
+
* Filter which AiStreamChunks to update
|
|
1079
|
+
*/
|
|
1080
|
+
where?: Prisma.AiStreamChunkWhereInput
|
|
1081
|
+
/**
|
|
1082
|
+
* Limit how many AiStreamChunks to update.
|
|
1083
|
+
*/
|
|
1084
|
+
limit?: number
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
/**
|
|
1088
|
+
* AiStreamChunk upsert
|
|
1089
|
+
*/
|
|
1090
|
+
export type AiStreamChunkUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1091
|
+
/**
|
|
1092
|
+
* Select specific fields to fetch from the AiStreamChunk
|
|
1093
|
+
*/
|
|
1094
|
+
select?: Prisma.AiStreamChunkSelect<ExtArgs> | null
|
|
1095
|
+
/**
|
|
1096
|
+
* Omit specific fields from the AiStreamChunk
|
|
1097
|
+
*/
|
|
1098
|
+
omit?: Prisma.AiStreamChunkOmit<ExtArgs> | null
|
|
1099
|
+
/**
|
|
1100
|
+
* The filter to search for the AiStreamChunk to update in case it exists.
|
|
1101
|
+
*/
|
|
1102
|
+
where: Prisma.AiStreamChunkWhereUniqueInput
|
|
1103
|
+
/**
|
|
1104
|
+
* In case the AiStreamChunk found by the `where` argument doesn't exist, create a new AiStreamChunk with this data.
|
|
1105
|
+
*/
|
|
1106
|
+
create: Prisma.XOR<Prisma.AiStreamChunkCreateInput, Prisma.AiStreamChunkUncheckedCreateInput>
|
|
1107
|
+
/**
|
|
1108
|
+
* In case the AiStreamChunk was found with the provided `where` argument, update it with this data.
|
|
1109
|
+
*/
|
|
1110
|
+
update: Prisma.XOR<Prisma.AiStreamChunkUpdateInput, Prisma.AiStreamChunkUncheckedUpdateInput>
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
/**
|
|
1114
|
+
* AiStreamChunk delete
|
|
1115
|
+
*/
|
|
1116
|
+
export type AiStreamChunkDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1117
|
+
/**
|
|
1118
|
+
* Select specific fields to fetch from the AiStreamChunk
|
|
1119
|
+
*/
|
|
1120
|
+
select?: Prisma.AiStreamChunkSelect<ExtArgs> | null
|
|
1121
|
+
/**
|
|
1122
|
+
* Omit specific fields from the AiStreamChunk
|
|
1123
|
+
*/
|
|
1124
|
+
omit?: Prisma.AiStreamChunkOmit<ExtArgs> | null
|
|
1125
|
+
/**
|
|
1126
|
+
* Filter which AiStreamChunk to delete.
|
|
1127
|
+
*/
|
|
1128
|
+
where: Prisma.AiStreamChunkWhereUniqueInput
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* AiStreamChunk deleteMany
|
|
1133
|
+
*/
|
|
1134
|
+
export type AiStreamChunkDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1135
|
+
/**
|
|
1136
|
+
* Filter which AiStreamChunks to delete
|
|
1137
|
+
*/
|
|
1138
|
+
where?: Prisma.AiStreamChunkWhereInput
|
|
1139
|
+
/**
|
|
1140
|
+
* Limit how many AiStreamChunks to delete.
|
|
1141
|
+
*/
|
|
1142
|
+
limit?: number
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
/**
|
|
1146
|
+
* AiStreamChunk without action
|
|
1147
|
+
*/
|
|
1148
|
+
export type AiStreamChunkDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1149
|
+
/**
|
|
1150
|
+
* Select specific fields to fetch from the AiStreamChunk
|
|
1151
|
+
*/
|
|
1152
|
+
select?: Prisma.AiStreamChunkSelect<ExtArgs> | null
|
|
1153
|
+
/**
|
|
1154
|
+
* Omit specific fields from the AiStreamChunk
|
|
1155
|
+
*/
|
|
1156
|
+
omit?: Prisma.AiStreamChunkOmit<ExtArgs> | null
|
|
1157
|
+
}
|