@allbluecn/database 0.9.4 → 0.10.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/desktop-init.ts +48 -14
- package/generated/browser.ts +10 -0
- package/generated/client.ts +10 -0
- package/generated/commonInputTypes.ts +54 -54
- package/generated/internal/class.ts +24 -4
- package/generated/internal/prismaNamespace.ts +153 -10
- package/generated/internal/prismaNamespaceBrowser.ts +26 -1
- package/generated/models/DesignEmbedding.ts +993 -0
- package/generated/models/HarnessPlugin.ts +0 -8
- package/generated/models/KnowledgeEmbedding.ts +1017 -0
- package/generated/models/LegalRegulation.ts +36 -1
- package/generated/models/User.ts +400 -1
- package/generated/models.ts +2 -0
- package/generated-sqlite/commonInputTypes.ts +54 -54
- package/generated-sqlite/internal/class.ts +4 -4
- package/generated-sqlite/internal/prismaNamespace.ts +9 -7
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +2 -0
- package/generated-sqlite/models/HarnessPlugin.ts +0 -8
- package/generated-sqlite/models/LegalRegulation.ts +36 -1
- package/generated-sqlite/models/User.ts +288 -1
- package/migrations/20261026130000_recreate_vector_tables/migration.sql +38 -0
- package/migrations/20261028120000_audit_token_version_share_index/migration.sql +8 -0
- package/migrations/20261028130000_legal_regulation_code/migration.sql +9 -0
- package/package.json +6 -5
- package/schema.prisma +32 -1
- package/schema.sqlite.prisma +3 -1
- package/src/lib/share-utils.ts +9 -4
- package/src/lib/vec-tables.ts +33 -0
|
@@ -0,0 +1,993 @@
|
|
|
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 `DesignEmbedding` 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 DesignEmbedding
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type DesignEmbeddingModel = runtime.Types.Result.DefaultSelection<Prisma.$DesignEmbeddingPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateDesignEmbedding = {
|
|
22
|
+
_count: DesignEmbeddingCountAggregateOutputType | null
|
|
23
|
+
_avg: DesignEmbeddingAvgAggregateOutputType | null
|
|
24
|
+
_sum: DesignEmbeddingSumAggregateOutputType | null
|
|
25
|
+
_min: DesignEmbeddingMinAggregateOutputType | null
|
|
26
|
+
_max: DesignEmbeddingMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type DesignEmbeddingAvgAggregateOutputType = {
|
|
30
|
+
chunkIndex: number | null
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type DesignEmbeddingSumAggregateOutputType = {
|
|
34
|
+
chunkIndex: number | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type DesignEmbeddingMinAggregateOutputType = {
|
|
38
|
+
id: string | null
|
|
39
|
+
content: string | null
|
|
40
|
+
designPageId: string | null
|
|
41
|
+
chunkIndex: number | null
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export type DesignEmbeddingMaxAggregateOutputType = {
|
|
45
|
+
id: string | null
|
|
46
|
+
content: string | null
|
|
47
|
+
designPageId: string | null
|
|
48
|
+
chunkIndex: number | null
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export type DesignEmbeddingCountAggregateOutputType = {
|
|
52
|
+
id: number
|
|
53
|
+
content: number
|
|
54
|
+
designPageId: number
|
|
55
|
+
chunkIndex: number
|
|
56
|
+
_all: number
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
export type DesignEmbeddingAvgAggregateInputType = {
|
|
61
|
+
chunkIndex?: true
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export type DesignEmbeddingSumAggregateInputType = {
|
|
65
|
+
chunkIndex?: true
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export type DesignEmbeddingMinAggregateInputType = {
|
|
69
|
+
id?: true
|
|
70
|
+
content?: true
|
|
71
|
+
designPageId?: true
|
|
72
|
+
chunkIndex?: true
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export type DesignEmbeddingMaxAggregateInputType = {
|
|
76
|
+
id?: true
|
|
77
|
+
content?: true
|
|
78
|
+
designPageId?: true
|
|
79
|
+
chunkIndex?: true
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export type DesignEmbeddingCountAggregateInputType = {
|
|
83
|
+
id?: true
|
|
84
|
+
content?: true
|
|
85
|
+
designPageId?: true
|
|
86
|
+
chunkIndex?: true
|
|
87
|
+
_all?: true
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export type DesignEmbeddingAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
91
|
+
/**
|
|
92
|
+
* Filter which DesignEmbedding to aggregate.
|
|
93
|
+
*/
|
|
94
|
+
where?: Prisma.DesignEmbeddingWhereInput
|
|
95
|
+
/**
|
|
96
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
97
|
+
*
|
|
98
|
+
* Determine the order of DesignEmbeddings to fetch.
|
|
99
|
+
*/
|
|
100
|
+
orderBy?: Prisma.DesignEmbeddingOrderByWithRelationInput | Prisma.DesignEmbeddingOrderByWithRelationInput[]
|
|
101
|
+
/**
|
|
102
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
103
|
+
*
|
|
104
|
+
* Sets the start position
|
|
105
|
+
*/
|
|
106
|
+
cursor?: Prisma.DesignEmbeddingWhereUniqueInput
|
|
107
|
+
/**
|
|
108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
109
|
+
*
|
|
110
|
+
* Take `±n` DesignEmbeddings from the position of the cursor.
|
|
111
|
+
*/
|
|
112
|
+
take?: number
|
|
113
|
+
/**
|
|
114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
115
|
+
*
|
|
116
|
+
* Skip the first `n` DesignEmbeddings.
|
|
117
|
+
*/
|
|
118
|
+
skip?: number
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
121
|
+
*
|
|
122
|
+
* Count returned DesignEmbeddings
|
|
123
|
+
**/
|
|
124
|
+
_count?: true | DesignEmbeddingCountAggregateInputType
|
|
125
|
+
/**
|
|
126
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
127
|
+
*
|
|
128
|
+
* Select which fields to average
|
|
129
|
+
**/
|
|
130
|
+
_avg?: DesignEmbeddingAvgAggregateInputType
|
|
131
|
+
/**
|
|
132
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
133
|
+
*
|
|
134
|
+
* Select which fields to sum
|
|
135
|
+
**/
|
|
136
|
+
_sum?: DesignEmbeddingSumAggregateInputType
|
|
137
|
+
/**
|
|
138
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
139
|
+
*
|
|
140
|
+
* Select which fields to find the minimum value
|
|
141
|
+
**/
|
|
142
|
+
_min?: DesignEmbeddingMinAggregateInputType
|
|
143
|
+
/**
|
|
144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
145
|
+
*
|
|
146
|
+
* Select which fields to find the maximum value
|
|
147
|
+
**/
|
|
148
|
+
_max?: DesignEmbeddingMaxAggregateInputType
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export type GetDesignEmbeddingAggregateType<T extends DesignEmbeddingAggregateArgs> = {
|
|
152
|
+
[P in keyof T & keyof AggregateDesignEmbedding]: P extends '_count' | 'count'
|
|
153
|
+
? T[P] extends true
|
|
154
|
+
? number
|
|
155
|
+
: Prisma.GetScalarType<T[P], AggregateDesignEmbedding[P]>
|
|
156
|
+
: Prisma.GetScalarType<T[P], AggregateDesignEmbedding[P]>
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
export type DesignEmbeddingGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
163
|
+
where?: Prisma.DesignEmbeddingWhereInput
|
|
164
|
+
orderBy?: Prisma.DesignEmbeddingOrderByWithAggregationInput | Prisma.DesignEmbeddingOrderByWithAggregationInput[]
|
|
165
|
+
by: Prisma.DesignEmbeddingScalarFieldEnum[] | Prisma.DesignEmbeddingScalarFieldEnum
|
|
166
|
+
having?: Prisma.DesignEmbeddingScalarWhereWithAggregatesInput
|
|
167
|
+
take?: number
|
|
168
|
+
skip?: number
|
|
169
|
+
_count?: DesignEmbeddingCountAggregateInputType | true
|
|
170
|
+
_avg?: DesignEmbeddingAvgAggregateInputType
|
|
171
|
+
_sum?: DesignEmbeddingSumAggregateInputType
|
|
172
|
+
_min?: DesignEmbeddingMinAggregateInputType
|
|
173
|
+
_max?: DesignEmbeddingMaxAggregateInputType
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export type DesignEmbeddingGroupByOutputType = {
|
|
177
|
+
id: string
|
|
178
|
+
content: string
|
|
179
|
+
designPageId: string | null
|
|
180
|
+
chunkIndex: number | null
|
|
181
|
+
_count: DesignEmbeddingCountAggregateOutputType | null
|
|
182
|
+
_avg: DesignEmbeddingAvgAggregateOutputType | null
|
|
183
|
+
_sum: DesignEmbeddingSumAggregateOutputType | null
|
|
184
|
+
_min: DesignEmbeddingMinAggregateOutputType | null
|
|
185
|
+
_max: DesignEmbeddingMaxAggregateOutputType | null
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export type GetDesignEmbeddingGroupByPayload<T extends DesignEmbeddingGroupByArgs> = Prisma.PrismaPromise<
|
|
189
|
+
Array<
|
|
190
|
+
Prisma.PickEnumerable<DesignEmbeddingGroupByOutputType, T['by']> &
|
|
191
|
+
{
|
|
192
|
+
[P in ((keyof T) & (keyof DesignEmbeddingGroupByOutputType))]: P extends '_count'
|
|
193
|
+
? T[P] extends boolean
|
|
194
|
+
? number
|
|
195
|
+
: Prisma.GetScalarType<T[P], DesignEmbeddingGroupByOutputType[P]>
|
|
196
|
+
: Prisma.GetScalarType<T[P], DesignEmbeddingGroupByOutputType[P]>
|
|
197
|
+
}
|
|
198
|
+
>
|
|
199
|
+
>
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
export type DesignEmbeddingWhereInput = {
|
|
204
|
+
AND?: Prisma.DesignEmbeddingWhereInput | Prisma.DesignEmbeddingWhereInput[]
|
|
205
|
+
OR?: Prisma.DesignEmbeddingWhereInput[]
|
|
206
|
+
NOT?: Prisma.DesignEmbeddingWhereInput | Prisma.DesignEmbeddingWhereInput[]
|
|
207
|
+
id?: Prisma.StringFilter<"DesignEmbedding"> | string
|
|
208
|
+
content?: Prisma.StringFilter<"DesignEmbedding"> | string
|
|
209
|
+
designPageId?: Prisma.StringNullableFilter<"DesignEmbedding"> | string | null
|
|
210
|
+
chunkIndex?: Prisma.IntNullableFilter<"DesignEmbedding"> | number | null
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
export type DesignEmbeddingOrderByWithRelationInput = {
|
|
214
|
+
id?: Prisma.SortOrder
|
|
215
|
+
content?: Prisma.SortOrder
|
|
216
|
+
designPageId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
217
|
+
chunkIndex?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
export type DesignEmbeddingWhereUniqueInput = Prisma.AtLeast<{
|
|
221
|
+
id?: string
|
|
222
|
+
AND?: Prisma.DesignEmbeddingWhereInput | Prisma.DesignEmbeddingWhereInput[]
|
|
223
|
+
OR?: Prisma.DesignEmbeddingWhereInput[]
|
|
224
|
+
NOT?: Prisma.DesignEmbeddingWhereInput | Prisma.DesignEmbeddingWhereInput[]
|
|
225
|
+
content?: Prisma.StringFilter<"DesignEmbedding"> | string
|
|
226
|
+
designPageId?: Prisma.StringNullableFilter<"DesignEmbedding"> | string | null
|
|
227
|
+
chunkIndex?: Prisma.IntNullableFilter<"DesignEmbedding"> | number | null
|
|
228
|
+
}, "id">
|
|
229
|
+
|
|
230
|
+
export type DesignEmbeddingOrderByWithAggregationInput = {
|
|
231
|
+
id?: Prisma.SortOrder
|
|
232
|
+
content?: Prisma.SortOrder
|
|
233
|
+
designPageId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
234
|
+
chunkIndex?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
235
|
+
_count?: Prisma.DesignEmbeddingCountOrderByAggregateInput
|
|
236
|
+
_avg?: Prisma.DesignEmbeddingAvgOrderByAggregateInput
|
|
237
|
+
_max?: Prisma.DesignEmbeddingMaxOrderByAggregateInput
|
|
238
|
+
_min?: Prisma.DesignEmbeddingMinOrderByAggregateInput
|
|
239
|
+
_sum?: Prisma.DesignEmbeddingSumOrderByAggregateInput
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
export type DesignEmbeddingScalarWhereWithAggregatesInput = {
|
|
243
|
+
AND?: Prisma.DesignEmbeddingScalarWhereWithAggregatesInput | Prisma.DesignEmbeddingScalarWhereWithAggregatesInput[]
|
|
244
|
+
OR?: Prisma.DesignEmbeddingScalarWhereWithAggregatesInput[]
|
|
245
|
+
NOT?: Prisma.DesignEmbeddingScalarWhereWithAggregatesInput | Prisma.DesignEmbeddingScalarWhereWithAggregatesInput[]
|
|
246
|
+
id?: Prisma.StringWithAggregatesFilter<"DesignEmbedding"> | string
|
|
247
|
+
content?: Prisma.StringWithAggregatesFilter<"DesignEmbedding"> | string
|
|
248
|
+
designPageId?: Prisma.StringNullableWithAggregatesFilter<"DesignEmbedding"> | string | null
|
|
249
|
+
chunkIndex?: Prisma.IntNullableWithAggregatesFilter<"DesignEmbedding"> | number | null
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
export type DesignEmbeddingUpdateInput = {
|
|
253
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
254
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string
|
|
255
|
+
designPageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
256
|
+
chunkIndex?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
export type DesignEmbeddingUncheckedUpdateInput = {
|
|
260
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
261
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string
|
|
262
|
+
designPageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
263
|
+
chunkIndex?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export type DesignEmbeddingUpdateManyMutationInput = {
|
|
267
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
268
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string
|
|
269
|
+
designPageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
270
|
+
chunkIndex?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
export type DesignEmbeddingUncheckedUpdateManyInput = {
|
|
274
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
275
|
+
content?: Prisma.StringFieldUpdateOperationsInput | string
|
|
276
|
+
designPageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
277
|
+
chunkIndex?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
export type DesignEmbeddingCountOrderByAggregateInput = {
|
|
281
|
+
id?: Prisma.SortOrder
|
|
282
|
+
content?: Prisma.SortOrder
|
|
283
|
+
designPageId?: Prisma.SortOrder
|
|
284
|
+
chunkIndex?: Prisma.SortOrder
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
export type DesignEmbeddingAvgOrderByAggregateInput = {
|
|
288
|
+
chunkIndex?: Prisma.SortOrder
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
export type DesignEmbeddingMaxOrderByAggregateInput = {
|
|
292
|
+
id?: Prisma.SortOrder
|
|
293
|
+
content?: Prisma.SortOrder
|
|
294
|
+
designPageId?: Prisma.SortOrder
|
|
295
|
+
chunkIndex?: Prisma.SortOrder
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
export type DesignEmbeddingMinOrderByAggregateInput = {
|
|
299
|
+
id?: Prisma.SortOrder
|
|
300
|
+
content?: Prisma.SortOrder
|
|
301
|
+
designPageId?: Prisma.SortOrder
|
|
302
|
+
chunkIndex?: Prisma.SortOrder
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
export type DesignEmbeddingSumOrderByAggregateInput = {
|
|
306
|
+
chunkIndex?: Prisma.SortOrder
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
export type DesignEmbeddingSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
312
|
+
id?: boolean
|
|
313
|
+
content?: boolean
|
|
314
|
+
designPageId?: boolean
|
|
315
|
+
chunkIndex?: boolean
|
|
316
|
+
}, ExtArgs["result"]["designEmbedding"]>
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
export type DesignEmbeddingSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
320
|
+
id?: boolean
|
|
321
|
+
content?: boolean
|
|
322
|
+
designPageId?: boolean
|
|
323
|
+
chunkIndex?: boolean
|
|
324
|
+
}, ExtArgs["result"]["designEmbedding"]>
|
|
325
|
+
|
|
326
|
+
export type DesignEmbeddingSelectScalar = {
|
|
327
|
+
id?: boolean
|
|
328
|
+
content?: boolean
|
|
329
|
+
designPageId?: boolean
|
|
330
|
+
chunkIndex?: boolean
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
export type DesignEmbeddingOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "content" | "designPageId" | "chunkIndex", ExtArgs["result"]["designEmbedding"]>
|
|
334
|
+
|
|
335
|
+
export type $DesignEmbeddingPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
336
|
+
name: "DesignEmbedding"
|
|
337
|
+
objects: {}
|
|
338
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
339
|
+
id: string
|
|
340
|
+
content: string
|
|
341
|
+
designPageId: string | null
|
|
342
|
+
chunkIndex: number | null
|
|
343
|
+
}, ExtArgs["result"]["designEmbedding"]>
|
|
344
|
+
composites: {}
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
export type DesignEmbeddingGetPayload<S extends boolean | null | undefined | DesignEmbeddingDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DesignEmbeddingPayload, S>
|
|
348
|
+
|
|
349
|
+
export type DesignEmbeddingCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
350
|
+
Omit<DesignEmbeddingFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
351
|
+
select?: DesignEmbeddingCountAggregateInputType | true
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
export interface DesignEmbeddingDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
355
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DesignEmbedding'], meta: { name: 'DesignEmbedding' } }
|
|
356
|
+
/**
|
|
357
|
+
* Find zero or one DesignEmbedding that matches the filter.
|
|
358
|
+
* @param {DesignEmbeddingFindUniqueArgs} args - Arguments to find a DesignEmbedding
|
|
359
|
+
* @example
|
|
360
|
+
* // Get one DesignEmbedding
|
|
361
|
+
* const designEmbedding = await prisma.designEmbedding.findUnique({
|
|
362
|
+
* where: {
|
|
363
|
+
* // ... provide filter here
|
|
364
|
+
* }
|
|
365
|
+
* })
|
|
366
|
+
*/
|
|
367
|
+
findUnique<T extends DesignEmbeddingFindUniqueArgs>(args: Prisma.SelectSubset<T, DesignEmbeddingFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DesignEmbeddingClient<runtime.Types.Result.GetResult<Prisma.$DesignEmbeddingPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* Find one DesignEmbedding that matches the filter or throw an error with `error.code='P2025'`
|
|
371
|
+
* if no matches were found.
|
|
372
|
+
* @param {DesignEmbeddingFindUniqueOrThrowArgs} args - Arguments to find a DesignEmbedding
|
|
373
|
+
* @example
|
|
374
|
+
* // Get one DesignEmbedding
|
|
375
|
+
* const designEmbedding = await prisma.designEmbedding.findUniqueOrThrow({
|
|
376
|
+
* where: {
|
|
377
|
+
* // ... provide filter here
|
|
378
|
+
* }
|
|
379
|
+
* })
|
|
380
|
+
*/
|
|
381
|
+
findUniqueOrThrow<T extends DesignEmbeddingFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DesignEmbeddingFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DesignEmbeddingClient<runtime.Types.Result.GetResult<Prisma.$DesignEmbeddingPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* Find the first DesignEmbedding that matches the filter.
|
|
385
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
386
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
387
|
+
* @param {DesignEmbeddingFindFirstArgs} args - Arguments to find a DesignEmbedding
|
|
388
|
+
* @example
|
|
389
|
+
* // Get one DesignEmbedding
|
|
390
|
+
* const designEmbedding = await prisma.designEmbedding.findFirst({
|
|
391
|
+
* where: {
|
|
392
|
+
* // ... provide filter here
|
|
393
|
+
* }
|
|
394
|
+
* })
|
|
395
|
+
*/
|
|
396
|
+
findFirst<T extends DesignEmbeddingFindFirstArgs>(args?: Prisma.SelectSubset<T, DesignEmbeddingFindFirstArgs<ExtArgs>>): Prisma.Prisma__DesignEmbeddingClient<runtime.Types.Result.GetResult<Prisma.$DesignEmbeddingPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* Find the first DesignEmbedding that matches the filter or
|
|
400
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
401
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
402
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
403
|
+
* @param {DesignEmbeddingFindFirstOrThrowArgs} args - Arguments to find a DesignEmbedding
|
|
404
|
+
* @example
|
|
405
|
+
* // Get one DesignEmbedding
|
|
406
|
+
* const designEmbedding = await prisma.designEmbedding.findFirstOrThrow({
|
|
407
|
+
* where: {
|
|
408
|
+
* // ... provide filter here
|
|
409
|
+
* }
|
|
410
|
+
* })
|
|
411
|
+
*/
|
|
412
|
+
findFirstOrThrow<T extends DesignEmbeddingFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DesignEmbeddingFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DesignEmbeddingClient<runtime.Types.Result.GetResult<Prisma.$DesignEmbeddingPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* Find zero or more DesignEmbeddings that matches the filter.
|
|
416
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
417
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
418
|
+
* @param {DesignEmbeddingFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
419
|
+
* @example
|
|
420
|
+
* // Get all DesignEmbeddings
|
|
421
|
+
* const designEmbeddings = await prisma.designEmbedding.findMany()
|
|
422
|
+
*
|
|
423
|
+
* // Get first 10 DesignEmbeddings
|
|
424
|
+
* const designEmbeddings = await prisma.designEmbedding.findMany({ take: 10 })
|
|
425
|
+
*
|
|
426
|
+
* // Only select the `id`
|
|
427
|
+
* const designEmbeddingWithIdOnly = await prisma.designEmbedding.findMany({ select: { id: true } })
|
|
428
|
+
*
|
|
429
|
+
*/
|
|
430
|
+
findMany<T extends DesignEmbeddingFindManyArgs>(args?: Prisma.SelectSubset<T, DesignEmbeddingFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DesignEmbeddingPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* Delete a DesignEmbedding.
|
|
434
|
+
* @param {DesignEmbeddingDeleteArgs} args - Arguments to delete one DesignEmbedding.
|
|
435
|
+
* @example
|
|
436
|
+
* // Delete one DesignEmbedding
|
|
437
|
+
* const DesignEmbedding = await prisma.designEmbedding.delete({
|
|
438
|
+
* where: {
|
|
439
|
+
* // ... filter to delete one DesignEmbedding
|
|
440
|
+
* }
|
|
441
|
+
* })
|
|
442
|
+
*
|
|
443
|
+
*/
|
|
444
|
+
delete<T extends DesignEmbeddingDeleteArgs>(args: Prisma.SelectSubset<T, DesignEmbeddingDeleteArgs<ExtArgs>>): Prisma.Prisma__DesignEmbeddingClient<runtime.Types.Result.GetResult<Prisma.$DesignEmbeddingPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* Update one DesignEmbedding.
|
|
448
|
+
* @param {DesignEmbeddingUpdateArgs} args - Arguments to update one DesignEmbedding.
|
|
449
|
+
* @example
|
|
450
|
+
* // Update one DesignEmbedding
|
|
451
|
+
* const designEmbedding = await prisma.designEmbedding.update({
|
|
452
|
+
* where: {
|
|
453
|
+
* // ... provide filter here
|
|
454
|
+
* },
|
|
455
|
+
* data: {
|
|
456
|
+
* // ... provide data here
|
|
457
|
+
* }
|
|
458
|
+
* })
|
|
459
|
+
*
|
|
460
|
+
*/
|
|
461
|
+
update<T extends DesignEmbeddingUpdateArgs>(args: Prisma.SelectSubset<T, DesignEmbeddingUpdateArgs<ExtArgs>>): Prisma.Prisma__DesignEmbeddingClient<runtime.Types.Result.GetResult<Prisma.$DesignEmbeddingPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* Delete zero or more DesignEmbeddings.
|
|
465
|
+
* @param {DesignEmbeddingDeleteManyArgs} args - Arguments to filter DesignEmbeddings to delete.
|
|
466
|
+
* @example
|
|
467
|
+
* // Delete a few DesignEmbeddings
|
|
468
|
+
* const { count } = await prisma.designEmbedding.deleteMany({
|
|
469
|
+
* where: {
|
|
470
|
+
* // ... provide filter here
|
|
471
|
+
* }
|
|
472
|
+
* })
|
|
473
|
+
*
|
|
474
|
+
*/
|
|
475
|
+
deleteMany<T extends DesignEmbeddingDeleteManyArgs>(args?: Prisma.SelectSubset<T, DesignEmbeddingDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* Update zero or more DesignEmbeddings.
|
|
479
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
480
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
481
|
+
* @param {DesignEmbeddingUpdateManyArgs} args - Arguments to update one or more rows.
|
|
482
|
+
* @example
|
|
483
|
+
* // Update many DesignEmbeddings
|
|
484
|
+
* const designEmbedding = await prisma.designEmbedding.updateMany({
|
|
485
|
+
* where: {
|
|
486
|
+
* // ... provide filter here
|
|
487
|
+
* },
|
|
488
|
+
* data: {
|
|
489
|
+
* // ... provide data here
|
|
490
|
+
* }
|
|
491
|
+
* })
|
|
492
|
+
*
|
|
493
|
+
*/
|
|
494
|
+
updateMany<T extends DesignEmbeddingUpdateManyArgs>(args: Prisma.SelectSubset<T, DesignEmbeddingUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* Update zero or more DesignEmbeddings and returns the data updated in the database.
|
|
498
|
+
* @param {DesignEmbeddingUpdateManyAndReturnArgs} args - Arguments to update many DesignEmbeddings.
|
|
499
|
+
* @example
|
|
500
|
+
* // Update many DesignEmbeddings
|
|
501
|
+
* const designEmbedding = await prisma.designEmbedding.updateManyAndReturn({
|
|
502
|
+
* where: {
|
|
503
|
+
* // ... provide filter here
|
|
504
|
+
* },
|
|
505
|
+
* data: [
|
|
506
|
+
* // ... provide data here
|
|
507
|
+
* ]
|
|
508
|
+
* })
|
|
509
|
+
*
|
|
510
|
+
* // Update zero or more DesignEmbeddings and only return the `id`
|
|
511
|
+
* const designEmbeddingWithIdOnly = await prisma.designEmbedding.updateManyAndReturn({
|
|
512
|
+
* select: { id: true },
|
|
513
|
+
* where: {
|
|
514
|
+
* // ... provide filter here
|
|
515
|
+
* },
|
|
516
|
+
* data: [
|
|
517
|
+
* // ... provide data here
|
|
518
|
+
* ]
|
|
519
|
+
* })
|
|
520
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
521
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
522
|
+
*
|
|
523
|
+
*/
|
|
524
|
+
updateManyAndReturn<T extends DesignEmbeddingUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DesignEmbeddingUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DesignEmbeddingPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* Count the number of DesignEmbeddings.
|
|
529
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
530
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
531
|
+
* @param {DesignEmbeddingCountArgs} args - Arguments to filter DesignEmbeddings to count.
|
|
532
|
+
* @example
|
|
533
|
+
* // Count the number of DesignEmbeddings
|
|
534
|
+
* const count = await prisma.designEmbedding.count({
|
|
535
|
+
* where: {
|
|
536
|
+
* // ... the filter for the DesignEmbeddings we want to count
|
|
537
|
+
* }
|
|
538
|
+
* })
|
|
539
|
+
**/
|
|
540
|
+
count<T extends DesignEmbeddingCountArgs>(
|
|
541
|
+
args?: Prisma.Subset<T, DesignEmbeddingCountArgs>,
|
|
542
|
+
): Prisma.PrismaPromise<
|
|
543
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
544
|
+
? T['select'] extends true
|
|
545
|
+
? number
|
|
546
|
+
: Prisma.GetScalarType<T['select'], DesignEmbeddingCountAggregateOutputType>
|
|
547
|
+
: number
|
|
548
|
+
>
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* Allows you to perform aggregations operations on a DesignEmbedding.
|
|
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 {DesignEmbeddingAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
555
|
+
* @example
|
|
556
|
+
* // Ordered by age ascending
|
|
557
|
+
* // Where email contains prisma.io
|
|
558
|
+
* // Limited to the 10 users
|
|
559
|
+
* const aggregations = await prisma.user.aggregate({
|
|
560
|
+
* _avg: {
|
|
561
|
+
* age: true,
|
|
562
|
+
* },
|
|
563
|
+
* where: {
|
|
564
|
+
* email: {
|
|
565
|
+
* contains: "prisma.io",
|
|
566
|
+
* },
|
|
567
|
+
* },
|
|
568
|
+
* orderBy: {
|
|
569
|
+
* age: "asc",
|
|
570
|
+
* },
|
|
571
|
+
* take: 10,
|
|
572
|
+
* })
|
|
573
|
+
**/
|
|
574
|
+
aggregate<T extends DesignEmbeddingAggregateArgs>(args: Prisma.Subset<T, DesignEmbeddingAggregateArgs>): Prisma.PrismaPromise<GetDesignEmbeddingAggregateType<T>>
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* Group by DesignEmbedding.
|
|
578
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
579
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
580
|
+
* @param {DesignEmbeddingGroupByArgs} args - Group by arguments.
|
|
581
|
+
* @example
|
|
582
|
+
* // Group by city, order by createdAt, get count
|
|
583
|
+
* const result = await prisma.user.groupBy({
|
|
584
|
+
* by: ['city', 'createdAt'],
|
|
585
|
+
* orderBy: {
|
|
586
|
+
* createdAt: true
|
|
587
|
+
* },
|
|
588
|
+
* _count: {
|
|
589
|
+
* _all: true
|
|
590
|
+
* },
|
|
591
|
+
* })
|
|
592
|
+
*
|
|
593
|
+
**/
|
|
594
|
+
groupBy<
|
|
595
|
+
T extends DesignEmbeddingGroupByArgs,
|
|
596
|
+
HasSelectOrTake extends Prisma.Or<
|
|
597
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
598
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
599
|
+
>,
|
|
600
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
601
|
+
? { orderBy: DesignEmbeddingGroupByArgs['orderBy'] }
|
|
602
|
+
: { orderBy?: DesignEmbeddingGroupByArgs['orderBy'] },
|
|
603
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
604
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
605
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
606
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
607
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
608
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
609
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
610
|
+
? `Error: "by" must not be empty.`
|
|
611
|
+
: HavingValid extends Prisma.False
|
|
612
|
+
? {
|
|
613
|
+
[P in HavingFields]: P extends ByFields
|
|
614
|
+
? never
|
|
615
|
+
: P extends string
|
|
616
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
617
|
+
: [
|
|
618
|
+
Error,
|
|
619
|
+
'Field ',
|
|
620
|
+
P,
|
|
621
|
+
` in "having" needs to be provided in "by"`,
|
|
622
|
+
]
|
|
623
|
+
}[HavingFields]
|
|
624
|
+
: 'take' extends Prisma.Keys<T>
|
|
625
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
626
|
+
? ByValid extends Prisma.True
|
|
627
|
+
? {}
|
|
628
|
+
: {
|
|
629
|
+
[P in OrderFields]: P extends ByFields
|
|
630
|
+
? never
|
|
631
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
632
|
+
}[OrderFields]
|
|
633
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
634
|
+
: 'skip' extends Prisma.Keys<T>
|
|
635
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
636
|
+
? ByValid extends Prisma.True
|
|
637
|
+
? {}
|
|
638
|
+
: {
|
|
639
|
+
[P in OrderFields]: P extends ByFields
|
|
640
|
+
? never
|
|
641
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
642
|
+
}[OrderFields]
|
|
643
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
644
|
+
: ByValid extends Prisma.True
|
|
645
|
+
? {}
|
|
646
|
+
: {
|
|
647
|
+
[P in OrderFields]: P extends ByFields
|
|
648
|
+
? never
|
|
649
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
650
|
+
}[OrderFields]
|
|
651
|
+
>(args: Prisma.SubsetIntersection<T, DesignEmbeddingGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDesignEmbeddingGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
652
|
+
/**
|
|
653
|
+
* Fields of the DesignEmbedding model
|
|
654
|
+
*/
|
|
655
|
+
readonly fields: DesignEmbeddingFieldRefs;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* The delegate class that acts as a "Promise-like" for DesignEmbedding.
|
|
660
|
+
* Why is this prefixed with `Prisma__`?
|
|
661
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
662
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
663
|
+
*/
|
|
664
|
+
export interface Prisma__DesignEmbeddingClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
665
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
666
|
+
/**
|
|
667
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
668
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
669
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
670
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
671
|
+
*/
|
|
672
|
+
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>
|
|
673
|
+
/**
|
|
674
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
675
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
676
|
+
* @returns A Promise for the completion of the callback.
|
|
677
|
+
*/
|
|
678
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
679
|
+
/**
|
|
680
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
681
|
+
* resolved value cannot be modified from the callback.
|
|
682
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
683
|
+
* @returns A Promise for the completion of the callback.
|
|
684
|
+
*/
|
|
685
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
|
|
689
|
+
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* Fields of the DesignEmbedding model
|
|
693
|
+
*/
|
|
694
|
+
export interface DesignEmbeddingFieldRefs {
|
|
695
|
+
readonly id: Prisma.FieldRef<"DesignEmbedding", 'String'>
|
|
696
|
+
readonly content: Prisma.FieldRef<"DesignEmbedding", 'String'>
|
|
697
|
+
readonly designPageId: Prisma.FieldRef<"DesignEmbedding", 'String'>
|
|
698
|
+
readonly chunkIndex: Prisma.FieldRef<"DesignEmbedding", 'Int'>
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
// Custom InputTypes
|
|
703
|
+
/**
|
|
704
|
+
* DesignEmbedding findUnique
|
|
705
|
+
*/
|
|
706
|
+
export type DesignEmbeddingFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
707
|
+
/**
|
|
708
|
+
* Select specific fields to fetch from the DesignEmbedding
|
|
709
|
+
*/
|
|
710
|
+
select?: Prisma.DesignEmbeddingSelect<ExtArgs> | null
|
|
711
|
+
/**
|
|
712
|
+
* Omit specific fields from the DesignEmbedding
|
|
713
|
+
*/
|
|
714
|
+
omit?: Prisma.DesignEmbeddingOmit<ExtArgs> | null
|
|
715
|
+
/**
|
|
716
|
+
* Filter, which DesignEmbedding to fetch.
|
|
717
|
+
*/
|
|
718
|
+
where: Prisma.DesignEmbeddingWhereUniqueInput
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* DesignEmbedding findUniqueOrThrow
|
|
723
|
+
*/
|
|
724
|
+
export type DesignEmbeddingFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
725
|
+
/**
|
|
726
|
+
* Select specific fields to fetch from the DesignEmbedding
|
|
727
|
+
*/
|
|
728
|
+
select?: Prisma.DesignEmbeddingSelect<ExtArgs> | null
|
|
729
|
+
/**
|
|
730
|
+
* Omit specific fields from the DesignEmbedding
|
|
731
|
+
*/
|
|
732
|
+
omit?: Prisma.DesignEmbeddingOmit<ExtArgs> | null
|
|
733
|
+
/**
|
|
734
|
+
* Filter, which DesignEmbedding to fetch.
|
|
735
|
+
*/
|
|
736
|
+
where: Prisma.DesignEmbeddingWhereUniqueInput
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
/**
|
|
740
|
+
* DesignEmbedding findFirst
|
|
741
|
+
*/
|
|
742
|
+
export type DesignEmbeddingFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
743
|
+
/**
|
|
744
|
+
* Select specific fields to fetch from the DesignEmbedding
|
|
745
|
+
*/
|
|
746
|
+
select?: Prisma.DesignEmbeddingSelect<ExtArgs> | null
|
|
747
|
+
/**
|
|
748
|
+
* Omit specific fields from the DesignEmbedding
|
|
749
|
+
*/
|
|
750
|
+
omit?: Prisma.DesignEmbeddingOmit<ExtArgs> | null
|
|
751
|
+
/**
|
|
752
|
+
* Filter, which DesignEmbedding to fetch.
|
|
753
|
+
*/
|
|
754
|
+
where?: Prisma.DesignEmbeddingWhereInput
|
|
755
|
+
/**
|
|
756
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
757
|
+
*
|
|
758
|
+
* Determine the order of DesignEmbeddings to fetch.
|
|
759
|
+
*/
|
|
760
|
+
orderBy?: Prisma.DesignEmbeddingOrderByWithRelationInput | Prisma.DesignEmbeddingOrderByWithRelationInput[]
|
|
761
|
+
/**
|
|
762
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
763
|
+
*
|
|
764
|
+
* Sets the position for searching for DesignEmbeddings.
|
|
765
|
+
*/
|
|
766
|
+
cursor?: Prisma.DesignEmbeddingWhereUniqueInput
|
|
767
|
+
/**
|
|
768
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
769
|
+
*
|
|
770
|
+
* Take `±n` DesignEmbeddings from the position of the cursor.
|
|
771
|
+
*/
|
|
772
|
+
take?: number
|
|
773
|
+
/**
|
|
774
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
775
|
+
*
|
|
776
|
+
* Skip the first `n` DesignEmbeddings.
|
|
777
|
+
*/
|
|
778
|
+
skip?: number
|
|
779
|
+
/**
|
|
780
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
781
|
+
*
|
|
782
|
+
* Filter by unique combinations of DesignEmbeddings.
|
|
783
|
+
*/
|
|
784
|
+
distinct?: Prisma.DesignEmbeddingScalarFieldEnum | Prisma.DesignEmbeddingScalarFieldEnum[]
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
/**
|
|
788
|
+
* DesignEmbedding findFirstOrThrow
|
|
789
|
+
*/
|
|
790
|
+
export type DesignEmbeddingFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
791
|
+
/**
|
|
792
|
+
* Select specific fields to fetch from the DesignEmbedding
|
|
793
|
+
*/
|
|
794
|
+
select?: Prisma.DesignEmbeddingSelect<ExtArgs> | null
|
|
795
|
+
/**
|
|
796
|
+
* Omit specific fields from the DesignEmbedding
|
|
797
|
+
*/
|
|
798
|
+
omit?: Prisma.DesignEmbeddingOmit<ExtArgs> | null
|
|
799
|
+
/**
|
|
800
|
+
* Filter, which DesignEmbedding to fetch.
|
|
801
|
+
*/
|
|
802
|
+
where?: Prisma.DesignEmbeddingWhereInput
|
|
803
|
+
/**
|
|
804
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
805
|
+
*
|
|
806
|
+
* Determine the order of DesignEmbeddings to fetch.
|
|
807
|
+
*/
|
|
808
|
+
orderBy?: Prisma.DesignEmbeddingOrderByWithRelationInput | Prisma.DesignEmbeddingOrderByWithRelationInput[]
|
|
809
|
+
/**
|
|
810
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
811
|
+
*
|
|
812
|
+
* Sets the position for searching for DesignEmbeddings.
|
|
813
|
+
*/
|
|
814
|
+
cursor?: Prisma.DesignEmbeddingWhereUniqueInput
|
|
815
|
+
/**
|
|
816
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
817
|
+
*
|
|
818
|
+
* Take `±n` DesignEmbeddings from the position of the cursor.
|
|
819
|
+
*/
|
|
820
|
+
take?: number
|
|
821
|
+
/**
|
|
822
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
823
|
+
*
|
|
824
|
+
* Skip the first `n` DesignEmbeddings.
|
|
825
|
+
*/
|
|
826
|
+
skip?: number
|
|
827
|
+
/**
|
|
828
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
829
|
+
*
|
|
830
|
+
* Filter by unique combinations of DesignEmbeddings.
|
|
831
|
+
*/
|
|
832
|
+
distinct?: Prisma.DesignEmbeddingScalarFieldEnum | Prisma.DesignEmbeddingScalarFieldEnum[]
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
/**
|
|
836
|
+
* DesignEmbedding findMany
|
|
837
|
+
*/
|
|
838
|
+
export type DesignEmbeddingFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
839
|
+
/**
|
|
840
|
+
* Select specific fields to fetch from the DesignEmbedding
|
|
841
|
+
*/
|
|
842
|
+
select?: Prisma.DesignEmbeddingSelect<ExtArgs> | null
|
|
843
|
+
/**
|
|
844
|
+
* Omit specific fields from the DesignEmbedding
|
|
845
|
+
*/
|
|
846
|
+
omit?: Prisma.DesignEmbeddingOmit<ExtArgs> | null
|
|
847
|
+
/**
|
|
848
|
+
* Filter, which DesignEmbeddings to fetch.
|
|
849
|
+
*/
|
|
850
|
+
where?: Prisma.DesignEmbeddingWhereInput
|
|
851
|
+
/**
|
|
852
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
853
|
+
*
|
|
854
|
+
* Determine the order of DesignEmbeddings to fetch.
|
|
855
|
+
*/
|
|
856
|
+
orderBy?: Prisma.DesignEmbeddingOrderByWithRelationInput | Prisma.DesignEmbeddingOrderByWithRelationInput[]
|
|
857
|
+
/**
|
|
858
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
859
|
+
*
|
|
860
|
+
* Sets the position for listing DesignEmbeddings.
|
|
861
|
+
*/
|
|
862
|
+
cursor?: Prisma.DesignEmbeddingWhereUniqueInput
|
|
863
|
+
/**
|
|
864
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
865
|
+
*
|
|
866
|
+
* Take `±n` DesignEmbeddings from the position of the cursor.
|
|
867
|
+
*/
|
|
868
|
+
take?: number
|
|
869
|
+
/**
|
|
870
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
871
|
+
*
|
|
872
|
+
* Skip the first `n` DesignEmbeddings.
|
|
873
|
+
*/
|
|
874
|
+
skip?: number
|
|
875
|
+
/**
|
|
876
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
877
|
+
*
|
|
878
|
+
* Filter by unique combinations of DesignEmbeddings.
|
|
879
|
+
*/
|
|
880
|
+
distinct?: Prisma.DesignEmbeddingScalarFieldEnum | Prisma.DesignEmbeddingScalarFieldEnum[]
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
/**
|
|
884
|
+
* DesignEmbedding update
|
|
885
|
+
*/
|
|
886
|
+
export type DesignEmbeddingUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
887
|
+
/**
|
|
888
|
+
* Select specific fields to fetch from the DesignEmbedding
|
|
889
|
+
*/
|
|
890
|
+
select?: Prisma.DesignEmbeddingSelect<ExtArgs> | null
|
|
891
|
+
/**
|
|
892
|
+
* Omit specific fields from the DesignEmbedding
|
|
893
|
+
*/
|
|
894
|
+
omit?: Prisma.DesignEmbeddingOmit<ExtArgs> | null
|
|
895
|
+
/**
|
|
896
|
+
* The data needed to update a DesignEmbedding.
|
|
897
|
+
*/
|
|
898
|
+
data: Prisma.XOR<Prisma.DesignEmbeddingUpdateInput, Prisma.DesignEmbeddingUncheckedUpdateInput>
|
|
899
|
+
/**
|
|
900
|
+
* Choose, which DesignEmbedding to update.
|
|
901
|
+
*/
|
|
902
|
+
where: Prisma.DesignEmbeddingWhereUniqueInput
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
/**
|
|
906
|
+
* DesignEmbedding updateMany
|
|
907
|
+
*/
|
|
908
|
+
export type DesignEmbeddingUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
909
|
+
/**
|
|
910
|
+
* The data used to update DesignEmbeddings.
|
|
911
|
+
*/
|
|
912
|
+
data: Prisma.XOR<Prisma.DesignEmbeddingUpdateManyMutationInput, Prisma.DesignEmbeddingUncheckedUpdateManyInput>
|
|
913
|
+
/**
|
|
914
|
+
* Filter which DesignEmbeddings to update
|
|
915
|
+
*/
|
|
916
|
+
where?: Prisma.DesignEmbeddingWhereInput
|
|
917
|
+
/**
|
|
918
|
+
* Limit how many DesignEmbeddings to update.
|
|
919
|
+
*/
|
|
920
|
+
limit?: number
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
/**
|
|
924
|
+
* DesignEmbedding updateManyAndReturn
|
|
925
|
+
*/
|
|
926
|
+
export type DesignEmbeddingUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
927
|
+
/**
|
|
928
|
+
* Select specific fields to fetch from the DesignEmbedding
|
|
929
|
+
*/
|
|
930
|
+
select?: Prisma.DesignEmbeddingSelectUpdateManyAndReturn<ExtArgs> | null
|
|
931
|
+
/**
|
|
932
|
+
* Omit specific fields from the DesignEmbedding
|
|
933
|
+
*/
|
|
934
|
+
omit?: Prisma.DesignEmbeddingOmit<ExtArgs> | null
|
|
935
|
+
/**
|
|
936
|
+
* The data used to update DesignEmbeddings.
|
|
937
|
+
*/
|
|
938
|
+
data: Prisma.XOR<Prisma.DesignEmbeddingUpdateManyMutationInput, Prisma.DesignEmbeddingUncheckedUpdateManyInput>
|
|
939
|
+
/**
|
|
940
|
+
* Filter which DesignEmbeddings to update
|
|
941
|
+
*/
|
|
942
|
+
where?: Prisma.DesignEmbeddingWhereInput
|
|
943
|
+
/**
|
|
944
|
+
* Limit how many DesignEmbeddings to update.
|
|
945
|
+
*/
|
|
946
|
+
limit?: number
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
/**
|
|
950
|
+
* DesignEmbedding delete
|
|
951
|
+
*/
|
|
952
|
+
export type DesignEmbeddingDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
953
|
+
/**
|
|
954
|
+
* Select specific fields to fetch from the DesignEmbedding
|
|
955
|
+
*/
|
|
956
|
+
select?: Prisma.DesignEmbeddingSelect<ExtArgs> | null
|
|
957
|
+
/**
|
|
958
|
+
* Omit specific fields from the DesignEmbedding
|
|
959
|
+
*/
|
|
960
|
+
omit?: Prisma.DesignEmbeddingOmit<ExtArgs> | null
|
|
961
|
+
/**
|
|
962
|
+
* Filter which DesignEmbedding to delete.
|
|
963
|
+
*/
|
|
964
|
+
where: Prisma.DesignEmbeddingWhereUniqueInput
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
/**
|
|
968
|
+
* DesignEmbedding deleteMany
|
|
969
|
+
*/
|
|
970
|
+
export type DesignEmbeddingDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
971
|
+
/**
|
|
972
|
+
* Filter which DesignEmbeddings to delete
|
|
973
|
+
*/
|
|
974
|
+
where?: Prisma.DesignEmbeddingWhereInput
|
|
975
|
+
/**
|
|
976
|
+
* Limit how many DesignEmbeddings to delete.
|
|
977
|
+
*/
|
|
978
|
+
limit?: number
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
/**
|
|
982
|
+
* DesignEmbedding without action
|
|
983
|
+
*/
|
|
984
|
+
export type DesignEmbeddingDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
985
|
+
/**
|
|
986
|
+
* Select specific fields to fetch from the DesignEmbedding
|
|
987
|
+
*/
|
|
988
|
+
select?: Prisma.DesignEmbeddingSelect<ExtArgs> | null
|
|
989
|
+
/**
|
|
990
|
+
* Omit specific fields from the DesignEmbedding
|
|
991
|
+
*/
|
|
992
|
+
omit?: Prisma.DesignEmbeddingOmit<ExtArgs> | null
|
|
993
|
+
}
|