@allbluecn/database 0.14.1 → 0.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/browser.ts +66 -0
- package/generated/client.ts +66 -0
- package/generated/internal/class.ts +94 -4
- package/generated/internal/prismaNamespace.ts +812 -3
- package/generated/internal/prismaNamespaceBrowser.ts +136 -2
- package/generated/models/ChatThread.ts +172 -1
- package/generated/models/DesignEmbedding.ts +25 -1
- package/generated/models/HarnessArtifact.ts +1307 -0
- package/generated/models/HarnessBlob.ts +1273 -0
- package/generated/models/HarnessHostHeartbeat.ts +1125 -0
- package/generated/models/HarnessLogEntry.ts +1354 -0
- package/generated/models/HarnessLogHeader.ts +1904 -0
- package/generated/models/HarnessLogOffer.ts +1382 -0
- package/generated/models/HarnessLogSnapshot.ts +1333 -0
- package/generated/models/HarnessMetadata.ts +1223 -0
- package/generated/models/HarnessSession.ts +1471 -0
- package/generated/models.ts +9 -0
- package/migrations/20261108000000_story_generate_prompt_json_contract/migration.sql +11 -0
- package/migrations/20261108000001_design_prototype_stream_prompt_ops_contract/migration.sql +13 -0
- package/migrations/20261109000000_harness_persistence/migration.sql +156 -0
- package/package.json +3 -1
- package/pg-client.ts +21 -0
- package/schema.prisma +188 -0
|
@@ -38,6 +38,7 @@ export type DesignEmbeddingMinAggregateOutputType = {
|
|
|
38
38
|
id: string | null
|
|
39
39
|
content: string | null
|
|
40
40
|
designPageId: string | null
|
|
41
|
+
documentId: string | null
|
|
41
42
|
chunkIndex: number | null
|
|
42
43
|
}
|
|
43
44
|
|
|
@@ -45,6 +46,7 @@ export type DesignEmbeddingMaxAggregateOutputType = {
|
|
|
45
46
|
id: string | null
|
|
46
47
|
content: string | null
|
|
47
48
|
designPageId: string | null
|
|
49
|
+
documentId: string | null
|
|
48
50
|
chunkIndex: number | null
|
|
49
51
|
}
|
|
50
52
|
|
|
@@ -52,6 +54,7 @@ export type DesignEmbeddingCountAggregateOutputType = {
|
|
|
52
54
|
id: number
|
|
53
55
|
content: number
|
|
54
56
|
designPageId: number
|
|
57
|
+
documentId: number
|
|
55
58
|
chunkIndex: number
|
|
56
59
|
_all: number
|
|
57
60
|
}
|
|
@@ -69,6 +72,7 @@ export type DesignEmbeddingMinAggregateInputType = {
|
|
|
69
72
|
id?: true
|
|
70
73
|
content?: true
|
|
71
74
|
designPageId?: true
|
|
75
|
+
documentId?: true
|
|
72
76
|
chunkIndex?: true
|
|
73
77
|
}
|
|
74
78
|
|
|
@@ -76,6 +80,7 @@ export type DesignEmbeddingMaxAggregateInputType = {
|
|
|
76
80
|
id?: true
|
|
77
81
|
content?: true
|
|
78
82
|
designPageId?: true
|
|
83
|
+
documentId?: true
|
|
79
84
|
chunkIndex?: true
|
|
80
85
|
}
|
|
81
86
|
|
|
@@ -83,6 +88,7 @@ export type DesignEmbeddingCountAggregateInputType = {
|
|
|
83
88
|
id?: true
|
|
84
89
|
content?: true
|
|
85
90
|
designPageId?: true
|
|
91
|
+
documentId?: true
|
|
86
92
|
chunkIndex?: true
|
|
87
93
|
_all?: true
|
|
88
94
|
}
|
|
@@ -177,6 +183,7 @@ export type DesignEmbeddingGroupByOutputType = {
|
|
|
177
183
|
id: string
|
|
178
184
|
content: string
|
|
179
185
|
designPageId: string | null
|
|
186
|
+
documentId: string | null
|
|
180
187
|
chunkIndex: number | null
|
|
181
188
|
_count: DesignEmbeddingCountAggregateOutputType | null
|
|
182
189
|
_avg: DesignEmbeddingAvgAggregateOutputType | null
|
|
@@ -207,6 +214,7 @@ export type DesignEmbeddingWhereInput = {
|
|
|
207
214
|
id?: Prisma.StringFilter<"DesignEmbedding"> | string
|
|
208
215
|
content?: Prisma.StringFilter<"DesignEmbedding"> | string
|
|
209
216
|
designPageId?: Prisma.StringNullableFilter<"DesignEmbedding"> | string | null
|
|
217
|
+
documentId?: Prisma.StringNullableFilter<"DesignEmbedding"> | string | null
|
|
210
218
|
chunkIndex?: Prisma.IntNullableFilter<"DesignEmbedding"> | number | null
|
|
211
219
|
}
|
|
212
220
|
|
|
@@ -214,6 +222,7 @@ export type DesignEmbeddingOrderByWithRelationInput = {
|
|
|
214
222
|
id?: Prisma.SortOrder
|
|
215
223
|
content?: Prisma.SortOrder
|
|
216
224
|
designPageId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
225
|
+
documentId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
217
226
|
chunkIndex?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
218
227
|
}
|
|
219
228
|
|
|
@@ -224,6 +233,7 @@ export type DesignEmbeddingWhereUniqueInput = Prisma.AtLeast<{
|
|
|
224
233
|
NOT?: Prisma.DesignEmbeddingWhereInput | Prisma.DesignEmbeddingWhereInput[]
|
|
225
234
|
content?: Prisma.StringFilter<"DesignEmbedding"> | string
|
|
226
235
|
designPageId?: Prisma.StringNullableFilter<"DesignEmbedding"> | string | null
|
|
236
|
+
documentId?: Prisma.StringNullableFilter<"DesignEmbedding"> | string | null
|
|
227
237
|
chunkIndex?: Prisma.IntNullableFilter<"DesignEmbedding"> | number | null
|
|
228
238
|
}, "id">
|
|
229
239
|
|
|
@@ -231,6 +241,7 @@ export type DesignEmbeddingOrderByWithAggregationInput = {
|
|
|
231
241
|
id?: Prisma.SortOrder
|
|
232
242
|
content?: Prisma.SortOrder
|
|
233
243
|
designPageId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
244
|
+
documentId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
234
245
|
chunkIndex?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
235
246
|
_count?: Prisma.DesignEmbeddingCountOrderByAggregateInput
|
|
236
247
|
_avg?: Prisma.DesignEmbeddingAvgOrderByAggregateInput
|
|
@@ -246,6 +257,7 @@ export type DesignEmbeddingScalarWhereWithAggregatesInput = {
|
|
|
246
257
|
id?: Prisma.StringWithAggregatesFilter<"DesignEmbedding"> | string
|
|
247
258
|
content?: Prisma.StringWithAggregatesFilter<"DesignEmbedding"> | string
|
|
248
259
|
designPageId?: Prisma.StringNullableWithAggregatesFilter<"DesignEmbedding"> | string | null
|
|
260
|
+
documentId?: Prisma.StringNullableWithAggregatesFilter<"DesignEmbedding"> | string | null
|
|
249
261
|
chunkIndex?: Prisma.IntNullableWithAggregatesFilter<"DesignEmbedding"> | number | null
|
|
250
262
|
}
|
|
251
263
|
|
|
@@ -253,6 +265,7 @@ export type DesignEmbeddingUpdateInput = {
|
|
|
253
265
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
254
266
|
content?: Prisma.StringFieldUpdateOperationsInput | string
|
|
255
267
|
designPageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
268
|
+
documentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
256
269
|
chunkIndex?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
257
270
|
}
|
|
258
271
|
|
|
@@ -260,6 +273,7 @@ export type DesignEmbeddingUncheckedUpdateInput = {
|
|
|
260
273
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
261
274
|
content?: Prisma.StringFieldUpdateOperationsInput | string
|
|
262
275
|
designPageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
276
|
+
documentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
263
277
|
chunkIndex?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
264
278
|
}
|
|
265
279
|
|
|
@@ -267,6 +281,7 @@ export type DesignEmbeddingUpdateManyMutationInput = {
|
|
|
267
281
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
268
282
|
content?: Prisma.StringFieldUpdateOperationsInput | string
|
|
269
283
|
designPageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
284
|
+
documentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
270
285
|
chunkIndex?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
271
286
|
}
|
|
272
287
|
|
|
@@ -274,6 +289,7 @@ export type DesignEmbeddingUncheckedUpdateManyInput = {
|
|
|
274
289
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
275
290
|
content?: Prisma.StringFieldUpdateOperationsInput | string
|
|
276
291
|
designPageId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
292
|
+
documentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
277
293
|
chunkIndex?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
278
294
|
}
|
|
279
295
|
|
|
@@ -281,6 +297,7 @@ export type DesignEmbeddingCountOrderByAggregateInput = {
|
|
|
281
297
|
id?: Prisma.SortOrder
|
|
282
298
|
content?: Prisma.SortOrder
|
|
283
299
|
designPageId?: Prisma.SortOrder
|
|
300
|
+
documentId?: Prisma.SortOrder
|
|
284
301
|
chunkIndex?: Prisma.SortOrder
|
|
285
302
|
}
|
|
286
303
|
|
|
@@ -292,6 +309,7 @@ export type DesignEmbeddingMaxOrderByAggregateInput = {
|
|
|
292
309
|
id?: Prisma.SortOrder
|
|
293
310
|
content?: Prisma.SortOrder
|
|
294
311
|
designPageId?: Prisma.SortOrder
|
|
312
|
+
documentId?: Prisma.SortOrder
|
|
295
313
|
chunkIndex?: Prisma.SortOrder
|
|
296
314
|
}
|
|
297
315
|
|
|
@@ -299,6 +317,7 @@ export type DesignEmbeddingMinOrderByAggregateInput = {
|
|
|
299
317
|
id?: Prisma.SortOrder
|
|
300
318
|
content?: Prisma.SortOrder
|
|
301
319
|
designPageId?: Prisma.SortOrder
|
|
320
|
+
documentId?: Prisma.SortOrder
|
|
302
321
|
chunkIndex?: Prisma.SortOrder
|
|
303
322
|
}
|
|
304
323
|
|
|
@@ -312,6 +331,7 @@ export type DesignEmbeddingSelect<ExtArgs extends runtime.Types.Extensions.Inter
|
|
|
312
331
|
id?: boolean
|
|
313
332
|
content?: boolean
|
|
314
333
|
designPageId?: boolean
|
|
334
|
+
documentId?: boolean
|
|
315
335
|
chunkIndex?: boolean
|
|
316
336
|
}, ExtArgs["result"]["designEmbedding"]>
|
|
317
337
|
|
|
@@ -320,6 +340,7 @@ export type DesignEmbeddingSelectUpdateManyAndReturn<ExtArgs extends runtime.Typ
|
|
|
320
340
|
id?: boolean
|
|
321
341
|
content?: boolean
|
|
322
342
|
designPageId?: boolean
|
|
343
|
+
documentId?: boolean
|
|
323
344
|
chunkIndex?: boolean
|
|
324
345
|
}, ExtArgs["result"]["designEmbedding"]>
|
|
325
346
|
|
|
@@ -327,10 +348,11 @@ export type DesignEmbeddingSelectScalar = {
|
|
|
327
348
|
id?: boolean
|
|
328
349
|
content?: boolean
|
|
329
350
|
designPageId?: boolean
|
|
351
|
+
documentId?: boolean
|
|
330
352
|
chunkIndex?: boolean
|
|
331
353
|
}
|
|
332
354
|
|
|
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"]>
|
|
355
|
+
export type DesignEmbeddingOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "content" | "designPageId" | "documentId" | "chunkIndex", ExtArgs["result"]["designEmbedding"]>
|
|
334
356
|
|
|
335
357
|
export type $DesignEmbeddingPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
336
358
|
name: "DesignEmbedding"
|
|
@@ -339,6 +361,7 @@ export type $DesignEmbeddingPayload<ExtArgs extends runtime.Types.Extensions.Int
|
|
|
339
361
|
id: string
|
|
340
362
|
content: string
|
|
341
363
|
designPageId: string | null
|
|
364
|
+
documentId: string | null
|
|
342
365
|
chunkIndex: number | null
|
|
343
366
|
}, ExtArgs["result"]["designEmbedding"]>
|
|
344
367
|
composites: {}
|
|
@@ -695,6 +718,7 @@ export interface DesignEmbeddingFieldRefs {
|
|
|
695
718
|
readonly id: Prisma.FieldRef<"DesignEmbedding", 'String'>
|
|
696
719
|
readonly content: Prisma.FieldRef<"DesignEmbedding", 'String'>
|
|
697
720
|
readonly designPageId: Prisma.FieldRef<"DesignEmbedding", 'String'>
|
|
721
|
+
readonly documentId: Prisma.FieldRef<"DesignEmbedding", 'String'>
|
|
698
722
|
readonly chunkIndex: Prisma.FieldRef<"DesignEmbedding", 'Int'>
|
|
699
723
|
}
|
|
700
724
|
|