@allbluecn/database 0.4.15 → 0.4.17
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 +20 -0
- package/generated/client.ts +20 -0
- package/generated/commonInputTypes.ts +34 -0
- package/generated/internal/class.ts +44 -4
- package/generated/internal/prismaNamespace.ts +378 -3
- package/generated/internal/prismaNamespaceBrowser.ts +63 -2
- package/generated/models/Iteration.ts +1878 -0
- package/generated/models/IterationAutoSchedule.ts +1485 -0
- package/generated/models/KnowledgeBase.ts +138 -0
- package/generated/models/Project.ts +484 -0
- package/generated/models/ProjectKnowledgeBase.ts +1430 -0
- package/generated/models/Story.ts +663 -3
- package/generated/models/StoryAttachment.ts +110 -1
- package/generated/models/StoryExternalLink.ts +1352 -0
- package/generated/models/User.ts +618 -0
- package/generated/models.ts +4 -0
- package/generated-sqlite/browser.ts +20 -0
- package/generated-sqlite/client.ts +20 -0
- package/generated-sqlite/internal/class.ts +44 -4
- package/generated-sqlite/internal/prismaNamespace.ts +374 -2
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +73 -1
- package/generated-sqlite/models/Iteration.ts +1874 -0
- package/generated-sqlite/models/IterationAutoSchedule.ts +1483 -0
- package/generated-sqlite/models/KnowledgeBase.ts +138 -0
- package/generated-sqlite/models/Project.ts +634 -0
- package/generated-sqlite/models/ProjectKnowledgeBase.ts +1426 -0
- package/generated-sqlite/models/Story.ts +3263 -0
- package/generated-sqlite/models/User.ts +2103 -107
- package/generated-sqlite/models.ts +4 -0
- package/index.ts +2 -2
- 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/20260831203925_story_attachment_file_hash/migration.sql +2 -0
- package/migrations/20260901010000_story_attachment_description/migration.sql +2 -0
- package/migrations/20260901020000_story_attachment_file_hash/migration.sql +2 -0
- package/migrations/20260901134601_iterations/migration.sql +52 -0
- package/migrations/20260902000000_story_identifier_per_project/migration.sql +37 -0
- package/migrations/20260902000100_story_identifier_counter_init/migration.sql +11 -0
- package/package.json +12 -5
- package/schema.prisma +98 -17
- package/schema.sqlite.prisma +112 -9
|
@@ -220,6 +220,7 @@ export type KnowledgeBaseWhereInput = {
|
|
|
220
220
|
updatedAt?: Prisma.DateTimeFilter<"KnowledgeBase"> | Date | string
|
|
221
221
|
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
222
222
|
documents?: Prisma.KnowledgeDocumentListRelationFilter
|
|
223
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseListRelationFilter
|
|
223
224
|
}
|
|
224
225
|
|
|
225
226
|
export type KnowledgeBaseOrderByWithRelationInput = {
|
|
@@ -235,6 +236,7 @@ export type KnowledgeBaseOrderByWithRelationInput = {
|
|
|
235
236
|
updatedAt?: Prisma.SortOrder
|
|
236
237
|
user?: Prisma.UserOrderByWithRelationInput
|
|
237
238
|
documents?: Prisma.KnowledgeDocumentOrderByRelationAggregateInput
|
|
239
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseOrderByRelationAggregateInput
|
|
238
240
|
}
|
|
239
241
|
|
|
240
242
|
export type KnowledgeBaseWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -253,6 +255,7 @@ export type KnowledgeBaseWhereUniqueInput = Prisma.AtLeast<{
|
|
|
253
255
|
updatedAt?: Prisma.DateTimeFilter<"KnowledgeBase"> | Date | string
|
|
254
256
|
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
255
257
|
documents?: Prisma.KnowledgeDocumentListRelationFilter
|
|
258
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseListRelationFilter
|
|
256
259
|
}, "id">
|
|
257
260
|
|
|
258
261
|
export type KnowledgeBaseOrderByWithAggregationInput = {
|
|
@@ -299,6 +302,7 @@ export type KnowledgeBaseCreateInput = {
|
|
|
299
302
|
updatedAt?: Date | string
|
|
300
303
|
user: Prisma.UserCreateNestedOneWithoutKnowledgeBasesInput
|
|
301
304
|
documents?: Prisma.KnowledgeDocumentCreateNestedManyWithoutKbInput
|
|
305
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutKbInput
|
|
302
306
|
}
|
|
303
307
|
|
|
304
308
|
export type KnowledgeBaseUncheckedCreateInput = {
|
|
@@ -313,6 +317,7 @@ export type KnowledgeBaseUncheckedCreateInput = {
|
|
|
313
317
|
createdAt?: Date | string
|
|
314
318
|
updatedAt?: Date | string
|
|
315
319
|
documents?: Prisma.KnowledgeDocumentUncheckedCreateNestedManyWithoutKbInput
|
|
320
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutKbInput
|
|
316
321
|
}
|
|
317
322
|
|
|
318
323
|
export type KnowledgeBaseUpdateInput = {
|
|
@@ -327,6 +332,7 @@ export type KnowledgeBaseUpdateInput = {
|
|
|
327
332
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
328
333
|
user?: Prisma.UserUpdateOneRequiredWithoutKnowledgeBasesNestedInput
|
|
329
334
|
documents?: Prisma.KnowledgeDocumentUpdateManyWithoutKbNestedInput
|
|
335
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutKbNestedInput
|
|
330
336
|
}
|
|
331
337
|
|
|
332
338
|
export type KnowledgeBaseUncheckedUpdateInput = {
|
|
@@ -341,6 +347,7 @@ export type KnowledgeBaseUncheckedUpdateInput = {
|
|
|
341
347
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
342
348
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
343
349
|
documents?: Prisma.KnowledgeDocumentUncheckedUpdateManyWithoutKbNestedInput
|
|
350
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutKbNestedInput
|
|
344
351
|
}
|
|
345
352
|
|
|
346
353
|
export type KnowledgeBaseCreateManyInput = {
|
|
@@ -489,6 +496,20 @@ export type KnowledgeBaseUpdateOneRequiredWithoutDocumentsNestedInput = {
|
|
|
489
496
|
update?: Prisma.XOR<Prisma.XOR<Prisma.KnowledgeBaseUpdateToOneWithWhereWithoutDocumentsInput, Prisma.KnowledgeBaseUpdateWithoutDocumentsInput>, Prisma.KnowledgeBaseUncheckedUpdateWithoutDocumentsInput>
|
|
490
497
|
}
|
|
491
498
|
|
|
499
|
+
export type KnowledgeBaseCreateNestedOneWithoutProjectLinksInput = {
|
|
500
|
+
create?: Prisma.XOR<Prisma.KnowledgeBaseCreateWithoutProjectLinksInput, Prisma.KnowledgeBaseUncheckedCreateWithoutProjectLinksInput>
|
|
501
|
+
connectOrCreate?: Prisma.KnowledgeBaseCreateOrConnectWithoutProjectLinksInput
|
|
502
|
+
connect?: Prisma.KnowledgeBaseWhereUniqueInput
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
export type KnowledgeBaseUpdateOneRequiredWithoutProjectLinksNestedInput = {
|
|
506
|
+
create?: Prisma.XOR<Prisma.KnowledgeBaseCreateWithoutProjectLinksInput, Prisma.KnowledgeBaseUncheckedCreateWithoutProjectLinksInput>
|
|
507
|
+
connectOrCreate?: Prisma.KnowledgeBaseCreateOrConnectWithoutProjectLinksInput
|
|
508
|
+
upsert?: Prisma.KnowledgeBaseUpsertWithoutProjectLinksInput
|
|
509
|
+
connect?: Prisma.KnowledgeBaseWhereUniqueInput
|
|
510
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.KnowledgeBaseUpdateToOneWithWhereWithoutProjectLinksInput, Prisma.KnowledgeBaseUpdateWithoutProjectLinksInput>, Prisma.KnowledgeBaseUncheckedUpdateWithoutProjectLinksInput>
|
|
511
|
+
}
|
|
512
|
+
|
|
492
513
|
export type KnowledgeBaseCreateWithoutUserInput = {
|
|
493
514
|
id?: string
|
|
494
515
|
name: string
|
|
@@ -500,6 +521,7 @@ export type KnowledgeBaseCreateWithoutUserInput = {
|
|
|
500
521
|
createdAt?: Date | string
|
|
501
522
|
updatedAt?: Date | string
|
|
502
523
|
documents?: Prisma.KnowledgeDocumentCreateNestedManyWithoutKbInput
|
|
524
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutKbInput
|
|
503
525
|
}
|
|
504
526
|
|
|
505
527
|
export type KnowledgeBaseUncheckedCreateWithoutUserInput = {
|
|
@@ -513,6 +535,7 @@ export type KnowledgeBaseUncheckedCreateWithoutUserInput = {
|
|
|
513
535
|
createdAt?: Date | string
|
|
514
536
|
updatedAt?: Date | string
|
|
515
537
|
documents?: Prisma.KnowledgeDocumentUncheckedCreateNestedManyWithoutKbInput
|
|
538
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutKbInput
|
|
516
539
|
}
|
|
517
540
|
|
|
518
541
|
export type KnowledgeBaseCreateOrConnectWithoutUserInput = {
|
|
@@ -568,6 +591,7 @@ export type KnowledgeBaseCreateWithoutDocumentsInput = {
|
|
|
568
591
|
createdAt?: Date | string
|
|
569
592
|
updatedAt?: Date | string
|
|
570
593
|
user: Prisma.UserCreateNestedOneWithoutKnowledgeBasesInput
|
|
594
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutKbInput
|
|
571
595
|
}
|
|
572
596
|
|
|
573
597
|
export type KnowledgeBaseUncheckedCreateWithoutDocumentsInput = {
|
|
@@ -581,6 +605,7 @@ export type KnowledgeBaseUncheckedCreateWithoutDocumentsInput = {
|
|
|
581
605
|
isDeleted?: boolean
|
|
582
606
|
createdAt?: Date | string
|
|
583
607
|
updatedAt?: Date | string
|
|
608
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutKbInput
|
|
584
609
|
}
|
|
585
610
|
|
|
586
611
|
export type KnowledgeBaseCreateOrConnectWithoutDocumentsInput = {
|
|
@@ -610,6 +635,7 @@ export type KnowledgeBaseUpdateWithoutDocumentsInput = {
|
|
|
610
635
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
611
636
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
612
637
|
user?: Prisma.UserUpdateOneRequiredWithoutKnowledgeBasesNestedInput
|
|
638
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutKbNestedInput
|
|
613
639
|
}
|
|
614
640
|
|
|
615
641
|
export type KnowledgeBaseUncheckedUpdateWithoutDocumentsInput = {
|
|
@@ -623,6 +649,79 @@ export type KnowledgeBaseUncheckedUpdateWithoutDocumentsInput = {
|
|
|
623
649
|
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
624
650
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
625
651
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
652
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutKbNestedInput
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
export type KnowledgeBaseCreateWithoutProjectLinksInput = {
|
|
656
|
+
id?: string
|
|
657
|
+
name: string
|
|
658
|
+
description?: string | null
|
|
659
|
+
icon?: string
|
|
660
|
+
tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
661
|
+
visibility?: string
|
|
662
|
+
isDeleted?: boolean
|
|
663
|
+
createdAt?: Date | string
|
|
664
|
+
updatedAt?: Date | string
|
|
665
|
+
user: Prisma.UserCreateNestedOneWithoutKnowledgeBasesInput
|
|
666
|
+
documents?: Prisma.KnowledgeDocumentCreateNestedManyWithoutKbInput
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
export type KnowledgeBaseUncheckedCreateWithoutProjectLinksInput = {
|
|
670
|
+
id?: string
|
|
671
|
+
name: string
|
|
672
|
+
description?: string | null
|
|
673
|
+
icon?: string
|
|
674
|
+
tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
675
|
+
visibility?: string
|
|
676
|
+
userId: string
|
|
677
|
+
isDeleted?: boolean
|
|
678
|
+
createdAt?: Date | string
|
|
679
|
+
updatedAt?: Date | string
|
|
680
|
+
documents?: Prisma.KnowledgeDocumentUncheckedCreateNestedManyWithoutKbInput
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
export type KnowledgeBaseCreateOrConnectWithoutProjectLinksInput = {
|
|
684
|
+
where: Prisma.KnowledgeBaseWhereUniqueInput
|
|
685
|
+
create: Prisma.XOR<Prisma.KnowledgeBaseCreateWithoutProjectLinksInput, Prisma.KnowledgeBaseUncheckedCreateWithoutProjectLinksInput>
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
export type KnowledgeBaseUpsertWithoutProjectLinksInput = {
|
|
689
|
+
update: Prisma.XOR<Prisma.KnowledgeBaseUpdateWithoutProjectLinksInput, Prisma.KnowledgeBaseUncheckedUpdateWithoutProjectLinksInput>
|
|
690
|
+
create: Prisma.XOR<Prisma.KnowledgeBaseCreateWithoutProjectLinksInput, Prisma.KnowledgeBaseUncheckedCreateWithoutProjectLinksInput>
|
|
691
|
+
where?: Prisma.KnowledgeBaseWhereInput
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
export type KnowledgeBaseUpdateToOneWithWhereWithoutProjectLinksInput = {
|
|
695
|
+
where?: Prisma.KnowledgeBaseWhereInput
|
|
696
|
+
data: Prisma.XOR<Prisma.KnowledgeBaseUpdateWithoutProjectLinksInput, Prisma.KnowledgeBaseUncheckedUpdateWithoutProjectLinksInput>
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
export type KnowledgeBaseUpdateWithoutProjectLinksInput = {
|
|
700
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
701
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
702
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
703
|
+
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
704
|
+
tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
705
|
+
visibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
706
|
+
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
707
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
708
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
709
|
+
user?: Prisma.UserUpdateOneRequiredWithoutKnowledgeBasesNestedInput
|
|
710
|
+
documents?: Prisma.KnowledgeDocumentUpdateManyWithoutKbNestedInput
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
export type KnowledgeBaseUncheckedUpdateWithoutProjectLinksInput = {
|
|
714
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
715
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
716
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
717
|
+
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
718
|
+
tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
719
|
+
visibility?: Prisma.StringFieldUpdateOperationsInput | string
|
|
720
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
721
|
+
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
722
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
723
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
724
|
+
documents?: Prisma.KnowledgeDocumentUncheckedUpdateManyWithoutKbNestedInput
|
|
626
725
|
}
|
|
627
726
|
|
|
628
727
|
export type KnowledgeBaseCreateManyUserInput = {
|
|
@@ -648,6 +747,7 @@ export type KnowledgeBaseUpdateWithoutUserInput = {
|
|
|
648
747
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
649
748
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
650
749
|
documents?: Prisma.KnowledgeDocumentUpdateManyWithoutKbNestedInput
|
|
750
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutKbNestedInput
|
|
651
751
|
}
|
|
652
752
|
|
|
653
753
|
export type KnowledgeBaseUncheckedUpdateWithoutUserInput = {
|
|
@@ -661,6 +761,7 @@ export type KnowledgeBaseUncheckedUpdateWithoutUserInput = {
|
|
|
661
761
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
662
762
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
663
763
|
documents?: Prisma.KnowledgeDocumentUncheckedUpdateManyWithoutKbNestedInput
|
|
764
|
+
projectLinks?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutKbNestedInput
|
|
664
765
|
}
|
|
665
766
|
|
|
666
767
|
export type KnowledgeBaseUncheckedUpdateManyWithoutUserInput = {
|
|
@@ -682,10 +783,12 @@ export type KnowledgeBaseUncheckedUpdateManyWithoutUserInput = {
|
|
|
682
783
|
|
|
683
784
|
export type KnowledgeBaseCountOutputType = {
|
|
684
785
|
documents: number
|
|
786
|
+
projectLinks: number
|
|
685
787
|
}
|
|
686
788
|
|
|
687
789
|
export type KnowledgeBaseCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
688
790
|
documents?: boolean | KnowledgeBaseCountOutputTypeCountDocumentsArgs
|
|
791
|
+
projectLinks?: boolean | KnowledgeBaseCountOutputTypeCountProjectLinksArgs
|
|
689
792
|
}
|
|
690
793
|
|
|
691
794
|
/**
|
|
@@ -705,6 +808,13 @@ export type KnowledgeBaseCountOutputTypeCountDocumentsArgs<ExtArgs extends runti
|
|
|
705
808
|
where?: Prisma.KnowledgeDocumentWhereInput
|
|
706
809
|
}
|
|
707
810
|
|
|
811
|
+
/**
|
|
812
|
+
* KnowledgeBaseCountOutputType without action
|
|
813
|
+
*/
|
|
814
|
+
export type KnowledgeBaseCountOutputTypeCountProjectLinksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
815
|
+
where?: Prisma.ProjectKnowledgeBaseWhereInput
|
|
816
|
+
}
|
|
817
|
+
|
|
708
818
|
|
|
709
819
|
export type KnowledgeBaseSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
710
820
|
id?: boolean
|
|
@@ -719,6 +829,7 @@ export type KnowledgeBaseSelect<ExtArgs extends runtime.Types.Extensions.Interna
|
|
|
719
829
|
updatedAt?: boolean
|
|
720
830
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
721
831
|
documents?: boolean | Prisma.KnowledgeBase$documentsArgs<ExtArgs>
|
|
832
|
+
projectLinks?: boolean | Prisma.KnowledgeBase$projectLinksArgs<ExtArgs>
|
|
722
833
|
_count?: boolean | Prisma.KnowledgeBaseCountOutputTypeDefaultArgs<ExtArgs>
|
|
723
834
|
}, ExtArgs["result"]["knowledgeBase"]>
|
|
724
835
|
|
|
@@ -767,6 +878,7 @@ export type KnowledgeBaseOmit<ExtArgs extends runtime.Types.Extensions.InternalA
|
|
|
767
878
|
export type KnowledgeBaseInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
768
879
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
769
880
|
documents?: boolean | Prisma.KnowledgeBase$documentsArgs<ExtArgs>
|
|
881
|
+
projectLinks?: boolean | Prisma.KnowledgeBase$projectLinksArgs<ExtArgs>
|
|
770
882
|
_count?: boolean | Prisma.KnowledgeBaseCountOutputTypeDefaultArgs<ExtArgs>
|
|
771
883
|
}
|
|
772
884
|
export type KnowledgeBaseIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
@@ -781,6 +893,7 @@ export type $KnowledgeBasePayload<ExtArgs extends runtime.Types.Extensions.Inter
|
|
|
781
893
|
objects: {
|
|
782
894
|
user: Prisma.$UserPayload<ExtArgs>
|
|
783
895
|
documents: Prisma.$KnowledgeDocumentPayload<ExtArgs>[]
|
|
896
|
+
projectLinks: Prisma.$ProjectKnowledgeBasePayload<ExtArgs>[]
|
|
784
897
|
}
|
|
785
898
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
786
899
|
id: string
|
|
@@ -1189,6 +1302,7 @@ export interface Prisma__KnowledgeBaseClient<T, Null = never, ExtArgs extends ru
|
|
|
1189
1302
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1190
1303
|
user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1191
1304
|
documents<T extends Prisma.KnowledgeBase$documentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.KnowledgeBase$documentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KnowledgeDocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1305
|
+
projectLinks<T extends Prisma.KnowledgeBase$projectLinksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.KnowledgeBase$projectLinksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectKnowledgeBasePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1192
1306
|
/**
|
|
1193
1307
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1194
1308
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -1652,6 +1766,30 @@ export type KnowledgeBase$documentsArgs<ExtArgs extends runtime.Types.Extensions
|
|
|
1652
1766
|
distinct?: Prisma.KnowledgeDocumentScalarFieldEnum | Prisma.KnowledgeDocumentScalarFieldEnum[]
|
|
1653
1767
|
}
|
|
1654
1768
|
|
|
1769
|
+
/**
|
|
1770
|
+
* KnowledgeBase.projectLinks
|
|
1771
|
+
*/
|
|
1772
|
+
export type KnowledgeBase$projectLinksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1773
|
+
/**
|
|
1774
|
+
* Select specific fields to fetch from the ProjectKnowledgeBase
|
|
1775
|
+
*/
|
|
1776
|
+
select?: Prisma.ProjectKnowledgeBaseSelect<ExtArgs> | null
|
|
1777
|
+
/**
|
|
1778
|
+
* Omit specific fields from the ProjectKnowledgeBase
|
|
1779
|
+
*/
|
|
1780
|
+
omit?: Prisma.ProjectKnowledgeBaseOmit<ExtArgs> | null
|
|
1781
|
+
/**
|
|
1782
|
+
* Choose, which related nodes to fetch as well
|
|
1783
|
+
*/
|
|
1784
|
+
include?: Prisma.ProjectKnowledgeBaseInclude<ExtArgs> | null
|
|
1785
|
+
where?: Prisma.ProjectKnowledgeBaseWhereInput
|
|
1786
|
+
orderBy?: Prisma.ProjectKnowledgeBaseOrderByWithRelationInput | Prisma.ProjectKnowledgeBaseOrderByWithRelationInput[]
|
|
1787
|
+
cursor?: Prisma.ProjectKnowledgeBaseWhereUniqueInput
|
|
1788
|
+
take?: number
|
|
1789
|
+
skip?: number
|
|
1790
|
+
distinct?: Prisma.ProjectKnowledgeBaseScalarFieldEnum | Prisma.ProjectKnowledgeBaseScalarFieldEnum[]
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1655
1793
|
/**
|
|
1656
1794
|
* KnowledgeBase without action
|
|
1657
1795
|
*/
|