@allbluecn/database 0.4.15 → 0.4.16
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 +10 -0
- package/generated/client.ts +10 -0
- package/generated/commonInputTypes.ts +34 -0
- package/generated/internal/class.ts +24 -4
- package/generated/internal/prismaNamespace.ts +191 -1
- package/generated/internal/prismaNamespaceBrowser.ts +26 -0
- package/generated/models/KnowledgeBase.ts +138 -0
- package/generated/models/Project.ts +158 -0
- package/generated/models/ProjectKnowledgeBase.ts +1430 -0
- package/generated/models/Story.ts +270 -0
- package/generated/models/StoryAttachment.ts +110 -1
- package/generated/models/StoryExternalLink.ts +1352 -0
- package/generated/models.ts +2 -0
- package/generated-sqlite/browser.ts +5 -0
- package/generated-sqlite/client.ts +5 -0
- package/generated-sqlite/internal/class.ts +14 -4
- package/generated-sqlite/internal/prismaNamespace.ts +87 -1
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +11 -0
- package/generated-sqlite/models/KnowledgeBase.ts +138 -0
- package/generated-sqlite/models/Project.ts +150 -0
- package/generated-sqlite/models/ProjectKnowledgeBase.ts +1426 -0
- package/generated-sqlite/models.ts +1 -0
- package/migrations/20260831063744_project_knowledge_base/migration.sql +24 -0
- package/migrations/20260831123150_story_external_link/migration.sql +19 -0
- package/migrations/20260831151740_story_attachment_bytes/migration.sql +2 -0
- package/migrations/20260901010000_story_attachment_description/migration.sql +2 -0
- package/package.json +2 -2
- package/schema.prisma +51 -13
- package/schema.sqlite.prisma +25 -7
|
@@ -40,7 +40,10 @@ export type StoryAttachmentMinAggregateOutputType = {
|
|
|
40
40
|
fileName: string | null
|
|
41
41
|
fileSize: bigint | null
|
|
42
42
|
mimeType: string | null
|
|
43
|
+
description: string | null
|
|
43
44
|
storageUrl: string | null
|
|
45
|
+
bytes: runtime.Bytes | null
|
|
46
|
+
fileHash: string | null
|
|
44
47
|
createdAt: Date | null
|
|
45
48
|
}
|
|
46
49
|
|
|
@@ -50,7 +53,10 @@ export type StoryAttachmentMaxAggregateOutputType = {
|
|
|
50
53
|
fileName: string | null
|
|
51
54
|
fileSize: bigint | null
|
|
52
55
|
mimeType: string | null
|
|
56
|
+
description: string | null
|
|
53
57
|
storageUrl: string | null
|
|
58
|
+
bytes: runtime.Bytes | null
|
|
59
|
+
fileHash: string | null
|
|
54
60
|
createdAt: Date | null
|
|
55
61
|
}
|
|
56
62
|
|
|
@@ -60,7 +66,10 @@ export type StoryAttachmentCountAggregateOutputType = {
|
|
|
60
66
|
fileName: number
|
|
61
67
|
fileSize: number
|
|
62
68
|
mimeType: number
|
|
69
|
+
description: number
|
|
63
70
|
storageUrl: number
|
|
71
|
+
bytes: number
|
|
72
|
+
fileHash: number
|
|
64
73
|
createdAt: number
|
|
65
74
|
_all: number
|
|
66
75
|
}
|
|
@@ -80,7 +89,10 @@ export type StoryAttachmentMinAggregateInputType = {
|
|
|
80
89
|
fileName?: true
|
|
81
90
|
fileSize?: true
|
|
82
91
|
mimeType?: true
|
|
92
|
+
description?: true
|
|
83
93
|
storageUrl?: true
|
|
94
|
+
bytes?: true
|
|
95
|
+
fileHash?: true
|
|
84
96
|
createdAt?: true
|
|
85
97
|
}
|
|
86
98
|
|
|
@@ -90,7 +102,10 @@ export type StoryAttachmentMaxAggregateInputType = {
|
|
|
90
102
|
fileName?: true
|
|
91
103
|
fileSize?: true
|
|
92
104
|
mimeType?: true
|
|
105
|
+
description?: true
|
|
93
106
|
storageUrl?: true
|
|
107
|
+
bytes?: true
|
|
108
|
+
fileHash?: true
|
|
94
109
|
createdAt?: true
|
|
95
110
|
}
|
|
96
111
|
|
|
@@ -100,7 +115,10 @@ export type StoryAttachmentCountAggregateInputType = {
|
|
|
100
115
|
fileName?: true
|
|
101
116
|
fileSize?: true
|
|
102
117
|
mimeType?: true
|
|
118
|
+
description?: true
|
|
103
119
|
storageUrl?: true
|
|
120
|
+
bytes?: true
|
|
121
|
+
fileHash?: true
|
|
104
122
|
createdAt?: true
|
|
105
123
|
_all?: true
|
|
106
124
|
}
|
|
@@ -197,7 +215,10 @@ export type StoryAttachmentGroupByOutputType = {
|
|
|
197
215
|
fileName: string
|
|
198
216
|
fileSize: bigint
|
|
199
217
|
mimeType: string
|
|
218
|
+
description: string | null
|
|
200
219
|
storageUrl: string
|
|
220
|
+
bytes: runtime.Bytes | null
|
|
221
|
+
fileHash: string | null
|
|
201
222
|
createdAt: Date
|
|
202
223
|
_count: StoryAttachmentCountAggregateOutputType | null
|
|
203
224
|
_avg: StoryAttachmentAvgAggregateOutputType | null
|
|
@@ -230,7 +251,10 @@ export type StoryAttachmentWhereInput = {
|
|
|
230
251
|
fileName?: Prisma.StringFilter<"StoryAttachment"> | string
|
|
231
252
|
fileSize?: Prisma.BigIntFilter<"StoryAttachment"> | bigint | number
|
|
232
253
|
mimeType?: Prisma.StringFilter<"StoryAttachment"> | string
|
|
254
|
+
description?: Prisma.StringNullableFilter<"StoryAttachment"> | string | null
|
|
233
255
|
storageUrl?: Prisma.StringFilter<"StoryAttachment"> | string
|
|
256
|
+
bytes?: Prisma.BytesNullableFilter<"StoryAttachment"> | runtime.Bytes | null
|
|
257
|
+
fileHash?: Prisma.StringNullableFilter<"StoryAttachment"> | string | null
|
|
234
258
|
createdAt?: Prisma.DateTimeFilter<"StoryAttachment"> | Date | string
|
|
235
259
|
story?: Prisma.XOR<Prisma.StoryScalarRelationFilter, Prisma.StoryWhereInput>
|
|
236
260
|
}
|
|
@@ -241,7 +265,10 @@ export type StoryAttachmentOrderByWithRelationInput = {
|
|
|
241
265
|
fileName?: Prisma.SortOrder
|
|
242
266
|
fileSize?: Prisma.SortOrder
|
|
243
267
|
mimeType?: Prisma.SortOrder
|
|
268
|
+
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
244
269
|
storageUrl?: Prisma.SortOrder
|
|
270
|
+
bytes?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
271
|
+
fileHash?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
245
272
|
createdAt?: Prisma.SortOrder
|
|
246
273
|
story?: Prisma.StoryOrderByWithRelationInput
|
|
247
274
|
}
|
|
@@ -255,7 +282,10 @@ export type StoryAttachmentWhereUniqueInput = Prisma.AtLeast<{
|
|
|
255
282
|
fileName?: Prisma.StringFilter<"StoryAttachment"> | string
|
|
256
283
|
fileSize?: Prisma.BigIntFilter<"StoryAttachment"> | bigint | number
|
|
257
284
|
mimeType?: Prisma.StringFilter<"StoryAttachment"> | string
|
|
285
|
+
description?: Prisma.StringNullableFilter<"StoryAttachment"> | string | null
|
|
258
286
|
storageUrl?: Prisma.StringFilter<"StoryAttachment"> | string
|
|
287
|
+
bytes?: Prisma.BytesNullableFilter<"StoryAttachment"> | runtime.Bytes | null
|
|
288
|
+
fileHash?: Prisma.StringNullableFilter<"StoryAttachment"> | string | null
|
|
259
289
|
createdAt?: Prisma.DateTimeFilter<"StoryAttachment"> | Date | string
|
|
260
290
|
story?: Prisma.XOR<Prisma.StoryScalarRelationFilter, Prisma.StoryWhereInput>
|
|
261
291
|
}, "id">
|
|
@@ -266,7 +296,10 @@ export type StoryAttachmentOrderByWithAggregationInput = {
|
|
|
266
296
|
fileName?: Prisma.SortOrder
|
|
267
297
|
fileSize?: Prisma.SortOrder
|
|
268
298
|
mimeType?: Prisma.SortOrder
|
|
299
|
+
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
269
300
|
storageUrl?: Prisma.SortOrder
|
|
301
|
+
bytes?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
302
|
+
fileHash?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
270
303
|
createdAt?: Prisma.SortOrder
|
|
271
304
|
_count?: Prisma.StoryAttachmentCountOrderByAggregateInput
|
|
272
305
|
_avg?: Prisma.StoryAttachmentAvgOrderByAggregateInput
|
|
@@ -284,7 +317,10 @@ export type StoryAttachmentScalarWhereWithAggregatesInput = {
|
|
|
284
317
|
fileName?: Prisma.StringWithAggregatesFilter<"StoryAttachment"> | string
|
|
285
318
|
fileSize?: Prisma.BigIntWithAggregatesFilter<"StoryAttachment"> | bigint | number
|
|
286
319
|
mimeType?: Prisma.StringWithAggregatesFilter<"StoryAttachment"> | string
|
|
320
|
+
description?: Prisma.StringNullableWithAggregatesFilter<"StoryAttachment"> | string | null
|
|
287
321
|
storageUrl?: Prisma.StringWithAggregatesFilter<"StoryAttachment"> | string
|
|
322
|
+
bytes?: Prisma.BytesNullableWithAggregatesFilter<"StoryAttachment"> | runtime.Bytes | null
|
|
323
|
+
fileHash?: Prisma.StringNullableWithAggregatesFilter<"StoryAttachment"> | string | null
|
|
288
324
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"StoryAttachment"> | Date | string
|
|
289
325
|
}
|
|
290
326
|
|
|
@@ -293,7 +329,10 @@ export type StoryAttachmentCreateInput = {
|
|
|
293
329
|
fileName: string
|
|
294
330
|
fileSize: bigint | number
|
|
295
331
|
mimeType: string
|
|
332
|
+
description?: string | null
|
|
296
333
|
storageUrl: string
|
|
334
|
+
bytes?: runtime.Bytes | null
|
|
335
|
+
fileHash?: string | null
|
|
297
336
|
createdAt?: Date | string
|
|
298
337
|
story: Prisma.StoryCreateNestedOneWithoutAttachmentsInput
|
|
299
338
|
}
|
|
@@ -304,7 +343,10 @@ export type StoryAttachmentUncheckedCreateInput = {
|
|
|
304
343
|
fileName: string
|
|
305
344
|
fileSize: bigint | number
|
|
306
345
|
mimeType: string
|
|
346
|
+
description?: string | null
|
|
307
347
|
storageUrl: string
|
|
348
|
+
bytes?: runtime.Bytes | null
|
|
349
|
+
fileHash?: string | null
|
|
308
350
|
createdAt?: Date | string
|
|
309
351
|
}
|
|
310
352
|
|
|
@@ -313,7 +355,10 @@ export type StoryAttachmentUpdateInput = {
|
|
|
313
355
|
fileName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
314
356
|
fileSize?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
315
357
|
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
358
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
316
359
|
storageUrl?: Prisma.StringFieldUpdateOperationsInput | string
|
|
360
|
+
bytes?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null
|
|
361
|
+
fileHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
317
362
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
318
363
|
story?: Prisma.StoryUpdateOneRequiredWithoutAttachmentsNestedInput
|
|
319
364
|
}
|
|
@@ -324,7 +369,10 @@ export type StoryAttachmentUncheckedUpdateInput = {
|
|
|
324
369
|
fileName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
325
370
|
fileSize?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
326
371
|
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
372
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
327
373
|
storageUrl?: Prisma.StringFieldUpdateOperationsInput | string
|
|
374
|
+
bytes?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null
|
|
375
|
+
fileHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
328
376
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
329
377
|
}
|
|
330
378
|
|
|
@@ -334,7 +382,10 @@ export type StoryAttachmentCreateManyInput = {
|
|
|
334
382
|
fileName: string
|
|
335
383
|
fileSize: bigint | number
|
|
336
384
|
mimeType: string
|
|
385
|
+
description?: string | null
|
|
337
386
|
storageUrl: string
|
|
387
|
+
bytes?: runtime.Bytes | null
|
|
388
|
+
fileHash?: string | null
|
|
338
389
|
createdAt?: Date | string
|
|
339
390
|
}
|
|
340
391
|
|
|
@@ -343,7 +394,10 @@ export type StoryAttachmentUpdateManyMutationInput = {
|
|
|
343
394
|
fileName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
344
395
|
fileSize?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
345
396
|
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
397
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
346
398
|
storageUrl?: Prisma.StringFieldUpdateOperationsInput | string
|
|
399
|
+
bytes?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null
|
|
400
|
+
fileHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
347
401
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
348
402
|
}
|
|
349
403
|
|
|
@@ -353,7 +407,10 @@ export type StoryAttachmentUncheckedUpdateManyInput = {
|
|
|
353
407
|
fileName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
354
408
|
fileSize?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
355
409
|
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
410
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
356
411
|
storageUrl?: Prisma.StringFieldUpdateOperationsInput | string
|
|
412
|
+
bytes?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null
|
|
413
|
+
fileHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
357
414
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
358
415
|
}
|
|
359
416
|
|
|
@@ -373,7 +430,10 @@ export type StoryAttachmentCountOrderByAggregateInput = {
|
|
|
373
430
|
fileName?: Prisma.SortOrder
|
|
374
431
|
fileSize?: Prisma.SortOrder
|
|
375
432
|
mimeType?: Prisma.SortOrder
|
|
433
|
+
description?: Prisma.SortOrder
|
|
376
434
|
storageUrl?: Prisma.SortOrder
|
|
435
|
+
bytes?: Prisma.SortOrder
|
|
436
|
+
fileHash?: Prisma.SortOrder
|
|
377
437
|
createdAt?: Prisma.SortOrder
|
|
378
438
|
}
|
|
379
439
|
|
|
@@ -387,7 +447,10 @@ export type StoryAttachmentMaxOrderByAggregateInput = {
|
|
|
387
447
|
fileName?: Prisma.SortOrder
|
|
388
448
|
fileSize?: Prisma.SortOrder
|
|
389
449
|
mimeType?: Prisma.SortOrder
|
|
450
|
+
description?: Prisma.SortOrder
|
|
390
451
|
storageUrl?: Prisma.SortOrder
|
|
452
|
+
bytes?: Prisma.SortOrder
|
|
453
|
+
fileHash?: Prisma.SortOrder
|
|
391
454
|
createdAt?: Prisma.SortOrder
|
|
392
455
|
}
|
|
393
456
|
|
|
@@ -397,7 +460,10 @@ export type StoryAttachmentMinOrderByAggregateInput = {
|
|
|
397
460
|
fileName?: Prisma.SortOrder
|
|
398
461
|
fileSize?: Prisma.SortOrder
|
|
399
462
|
mimeType?: Prisma.SortOrder
|
|
463
|
+
description?: Prisma.SortOrder
|
|
400
464
|
storageUrl?: Prisma.SortOrder
|
|
465
|
+
bytes?: Prisma.SortOrder
|
|
466
|
+
fileHash?: Prisma.SortOrder
|
|
401
467
|
createdAt?: Prisma.SortOrder
|
|
402
468
|
}
|
|
403
469
|
|
|
@@ -455,12 +521,19 @@ export type BigIntFieldUpdateOperationsInput = {
|
|
|
455
521
|
divide?: bigint | number
|
|
456
522
|
}
|
|
457
523
|
|
|
524
|
+
export type NullableBytesFieldUpdateOperationsInput = {
|
|
525
|
+
set?: runtime.Bytes | null
|
|
526
|
+
}
|
|
527
|
+
|
|
458
528
|
export type StoryAttachmentCreateWithoutStoryInput = {
|
|
459
529
|
id?: string
|
|
460
530
|
fileName: string
|
|
461
531
|
fileSize: bigint | number
|
|
462
532
|
mimeType: string
|
|
533
|
+
description?: string | null
|
|
463
534
|
storageUrl: string
|
|
535
|
+
bytes?: runtime.Bytes | null
|
|
536
|
+
fileHash?: string | null
|
|
464
537
|
createdAt?: Date | string
|
|
465
538
|
}
|
|
466
539
|
|
|
@@ -469,7 +542,10 @@ export type StoryAttachmentUncheckedCreateWithoutStoryInput = {
|
|
|
469
542
|
fileName: string
|
|
470
543
|
fileSize: bigint | number
|
|
471
544
|
mimeType: string
|
|
545
|
+
description?: string | null
|
|
472
546
|
storageUrl: string
|
|
547
|
+
bytes?: runtime.Bytes | null
|
|
548
|
+
fileHash?: string | null
|
|
473
549
|
createdAt?: Date | string
|
|
474
550
|
}
|
|
475
551
|
|
|
@@ -508,7 +584,10 @@ export type StoryAttachmentScalarWhereInput = {
|
|
|
508
584
|
fileName?: Prisma.StringFilter<"StoryAttachment"> | string
|
|
509
585
|
fileSize?: Prisma.BigIntFilter<"StoryAttachment"> | bigint | number
|
|
510
586
|
mimeType?: Prisma.StringFilter<"StoryAttachment"> | string
|
|
587
|
+
description?: Prisma.StringNullableFilter<"StoryAttachment"> | string | null
|
|
511
588
|
storageUrl?: Prisma.StringFilter<"StoryAttachment"> | string
|
|
589
|
+
bytes?: Prisma.BytesNullableFilter<"StoryAttachment"> | runtime.Bytes | null
|
|
590
|
+
fileHash?: Prisma.StringNullableFilter<"StoryAttachment"> | string | null
|
|
512
591
|
createdAt?: Prisma.DateTimeFilter<"StoryAttachment"> | Date | string
|
|
513
592
|
}
|
|
514
593
|
|
|
@@ -517,7 +596,10 @@ export type StoryAttachmentCreateManyStoryInput = {
|
|
|
517
596
|
fileName: string
|
|
518
597
|
fileSize: bigint | number
|
|
519
598
|
mimeType: string
|
|
599
|
+
description?: string | null
|
|
520
600
|
storageUrl: string
|
|
601
|
+
bytes?: runtime.Bytes | null
|
|
602
|
+
fileHash?: string | null
|
|
521
603
|
createdAt?: Date | string
|
|
522
604
|
}
|
|
523
605
|
|
|
@@ -526,7 +608,10 @@ export type StoryAttachmentUpdateWithoutStoryInput = {
|
|
|
526
608
|
fileName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
527
609
|
fileSize?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
528
610
|
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
611
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
529
612
|
storageUrl?: Prisma.StringFieldUpdateOperationsInput | string
|
|
613
|
+
bytes?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null
|
|
614
|
+
fileHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
530
615
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
531
616
|
}
|
|
532
617
|
|
|
@@ -535,7 +620,10 @@ export type StoryAttachmentUncheckedUpdateWithoutStoryInput = {
|
|
|
535
620
|
fileName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
536
621
|
fileSize?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
537
622
|
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
623
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
538
624
|
storageUrl?: Prisma.StringFieldUpdateOperationsInput | string
|
|
625
|
+
bytes?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null
|
|
626
|
+
fileHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
539
627
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
540
628
|
}
|
|
541
629
|
|
|
@@ -544,7 +632,10 @@ export type StoryAttachmentUncheckedUpdateManyWithoutStoryInput = {
|
|
|
544
632
|
fileName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
545
633
|
fileSize?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
546
634
|
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
635
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
547
636
|
storageUrl?: Prisma.StringFieldUpdateOperationsInput | string
|
|
637
|
+
bytes?: Prisma.NullableBytesFieldUpdateOperationsInput | runtime.Bytes | null
|
|
638
|
+
fileHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
548
639
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
549
640
|
}
|
|
550
641
|
|
|
@@ -556,7 +647,10 @@ export type StoryAttachmentSelect<ExtArgs extends runtime.Types.Extensions.Inter
|
|
|
556
647
|
fileName?: boolean
|
|
557
648
|
fileSize?: boolean
|
|
558
649
|
mimeType?: boolean
|
|
650
|
+
description?: boolean
|
|
559
651
|
storageUrl?: boolean
|
|
652
|
+
bytes?: boolean
|
|
653
|
+
fileHash?: boolean
|
|
560
654
|
createdAt?: boolean
|
|
561
655
|
story?: boolean | Prisma.StoryDefaultArgs<ExtArgs>
|
|
562
656
|
}, ExtArgs["result"]["storyAttachment"]>
|
|
@@ -567,7 +661,10 @@ export type StoryAttachmentSelectCreateManyAndReturn<ExtArgs extends runtime.Typ
|
|
|
567
661
|
fileName?: boolean
|
|
568
662
|
fileSize?: boolean
|
|
569
663
|
mimeType?: boolean
|
|
664
|
+
description?: boolean
|
|
570
665
|
storageUrl?: boolean
|
|
666
|
+
bytes?: boolean
|
|
667
|
+
fileHash?: boolean
|
|
571
668
|
createdAt?: boolean
|
|
572
669
|
story?: boolean | Prisma.StoryDefaultArgs<ExtArgs>
|
|
573
670
|
}, ExtArgs["result"]["storyAttachment"]>
|
|
@@ -578,7 +675,10 @@ export type StoryAttachmentSelectUpdateManyAndReturn<ExtArgs extends runtime.Typ
|
|
|
578
675
|
fileName?: boolean
|
|
579
676
|
fileSize?: boolean
|
|
580
677
|
mimeType?: boolean
|
|
678
|
+
description?: boolean
|
|
581
679
|
storageUrl?: boolean
|
|
680
|
+
bytes?: boolean
|
|
681
|
+
fileHash?: boolean
|
|
582
682
|
createdAt?: boolean
|
|
583
683
|
story?: boolean | Prisma.StoryDefaultArgs<ExtArgs>
|
|
584
684
|
}, ExtArgs["result"]["storyAttachment"]>
|
|
@@ -589,11 +689,14 @@ export type StoryAttachmentSelectScalar = {
|
|
|
589
689
|
fileName?: boolean
|
|
590
690
|
fileSize?: boolean
|
|
591
691
|
mimeType?: boolean
|
|
692
|
+
description?: boolean
|
|
592
693
|
storageUrl?: boolean
|
|
694
|
+
bytes?: boolean
|
|
695
|
+
fileHash?: boolean
|
|
593
696
|
createdAt?: boolean
|
|
594
697
|
}
|
|
595
698
|
|
|
596
|
-
export type StoryAttachmentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "storyId" | "fileName" | "fileSize" | "mimeType" | "storageUrl" | "createdAt", ExtArgs["result"]["storyAttachment"]>
|
|
699
|
+
export type StoryAttachmentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "storyId" | "fileName" | "fileSize" | "mimeType" | "description" | "storageUrl" | "bytes" | "fileHash" | "createdAt", ExtArgs["result"]["storyAttachment"]>
|
|
597
700
|
export type StoryAttachmentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
598
701
|
story?: boolean | Prisma.StoryDefaultArgs<ExtArgs>
|
|
599
702
|
}
|
|
@@ -615,7 +718,10 @@ export type $StoryAttachmentPayload<ExtArgs extends runtime.Types.Extensions.Int
|
|
|
615
718
|
fileName: string
|
|
616
719
|
fileSize: bigint
|
|
617
720
|
mimeType: string
|
|
721
|
+
description: string | null
|
|
618
722
|
storageUrl: string
|
|
723
|
+
bytes: runtime.Bytes | null
|
|
724
|
+
fileHash: string | null
|
|
619
725
|
createdAt: Date
|
|
620
726
|
}, ExtArgs["result"]["storyAttachment"]>
|
|
621
727
|
composites: {}
|
|
@@ -1046,7 +1152,10 @@ export interface StoryAttachmentFieldRefs {
|
|
|
1046
1152
|
readonly fileName: Prisma.FieldRef<"StoryAttachment", 'String'>
|
|
1047
1153
|
readonly fileSize: Prisma.FieldRef<"StoryAttachment", 'BigInt'>
|
|
1048
1154
|
readonly mimeType: Prisma.FieldRef<"StoryAttachment", 'String'>
|
|
1155
|
+
readonly description: Prisma.FieldRef<"StoryAttachment", 'String'>
|
|
1049
1156
|
readonly storageUrl: Prisma.FieldRef<"StoryAttachment", 'String'>
|
|
1157
|
+
readonly bytes: Prisma.FieldRef<"StoryAttachment", 'Bytes'>
|
|
1158
|
+
readonly fileHash: Prisma.FieldRef<"StoryAttachment", 'String'>
|
|
1050
1159
|
readonly createdAt: Prisma.FieldRef<"StoryAttachment", 'DateTime'>
|
|
1051
1160
|
}
|
|
1052
1161
|
|