@derwinjs/db 0.4.0 → 0.6.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.
@@ -285,7 +285,6 @@ exports.Prisma.RAGCorpusScalarFieldEnum = {
285
285
  surface: 'surface',
286
286
  promptText: 'promptText',
287
287
  diff: 'diff',
288
- embedding: 'embedding',
289
288
  fixAttemptId: 'fixAttemptId',
290
289
  outcomeQuality: 'outcomeQuality',
291
290
  addedAt: 'addedAt'
@@ -12843,7 +12843,6 @@ export namespace Prisma {
12843
12843
  surface: $Enums.SurfaceCategory | null
12844
12844
  promptText: string | null
12845
12845
  diff: string | null
12846
- embedding: Buffer | null
12847
12846
  fixAttemptId: string | null
12848
12847
  outcomeQuality: number | null
12849
12848
  addedAt: Date | null
@@ -12856,7 +12855,6 @@ export namespace Prisma {
12856
12855
  surface: $Enums.SurfaceCategory | null
12857
12856
  promptText: string | null
12858
12857
  diff: string | null
12859
- embedding: Buffer | null
12860
12858
  fixAttemptId: string | null
12861
12859
  outcomeQuality: number | null
12862
12860
  addedAt: Date | null
@@ -12869,7 +12867,6 @@ export namespace Prisma {
12869
12867
  surface: number
12870
12868
  promptText: number
12871
12869
  diff: number
12872
- embedding: number
12873
12870
  fixAttemptId: number
12874
12871
  outcomeQuality: number
12875
12872
  addedAt: number
@@ -12892,7 +12889,6 @@ export namespace Prisma {
12892
12889
  surface?: true
12893
12890
  promptText?: true
12894
12891
  diff?: true
12895
- embedding?: true
12896
12892
  fixAttemptId?: true
12897
12893
  outcomeQuality?: true
12898
12894
  addedAt?: true
@@ -12905,7 +12901,6 @@ export namespace Prisma {
12905
12901
  surface?: true
12906
12902
  promptText?: true
12907
12903
  diff?: true
12908
- embedding?: true
12909
12904
  fixAttemptId?: true
12910
12905
  outcomeQuality?: true
12911
12906
  addedAt?: true
@@ -12918,7 +12913,6 @@ export namespace Prisma {
12918
12913
  surface?: true
12919
12914
  promptText?: true
12920
12915
  diff?: true
12921
- embedding?: true
12922
12916
  fixAttemptId?: true
12923
12917
  outcomeQuality?: true
12924
12918
  addedAt?: true
@@ -13018,7 +13012,6 @@ export namespace Prisma {
13018
13012
  surface: $Enums.SurfaceCategory
13019
13013
  promptText: string
13020
13014
  diff: string
13021
- embedding: Buffer | null
13022
13015
  fixAttemptId: string
13023
13016
  outcomeQuality: number
13024
13017
  addedAt: Date
@@ -13050,7 +13043,6 @@ export namespace Prisma {
13050
13043
  surface?: boolean
13051
13044
  promptText?: boolean
13052
13045
  diff?: boolean
13053
- embedding?: boolean
13054
13046
  fixAttemptId?: boolean
13055
13047
  outcomeQuality?: boolean
13056
13048
  addedAt?: boolean
@@ -13063,7 +13055,6 @@ export namespace Prisma {
13063
13055
  surface?: boolean
13064
13056
  promptText?: boolean
13065
13057
  diff?: boolean
13066
- embedding?: boolean
13067
13058
  fixAttemptId?: boolean
13068
13059
  outcomeQuality?: boolean
13069
13060
  addedAt?: boolean
@@ -13076,7 +13067,6 @@ export namespace Prisma {
13076
13067
  surface?: boolean
13077
13068
  promptText?: boolean
13078
13069
  diff?: boolean
13079
- embedding?: boolean
13080
13070
  fixAttemptId?: boolean
13081
13071
  outcomeQuality?: boolean
13082
13072
  addedAt?: boolean
@@ -13093,7 +13083,6 @@ export namespace Prisma {
13093
13083
  surface: $Enums.SurfaceCategory
13094
13084
  promptText: string
13095
13085
  diff: string
13096
- embedding: Buffer | null
13097
13086
  fixAttemptId: string
13098
13087
  outcomeQuality: number
13099
13088
  addedAt: Date
@@ -13496,7 +13485,6 @@ export namespace Prisma {
13496
13485
  readonly surface: FieldRef<"RAGCorpus", 'SurfaceCategory'>
13497
13486
  readonly promptText: FieldRef<"RAGCorpus", 'String'>
13498
13487
  readonly diff: FieldRef<"RAGCorpus", 'String'>
13499
- readonly embedding: FieldRef<"RAGCorpus", 'Bytes'>
13500
13488
  readonly fixAttemptId: FieldRef<"RAGCorpus", 'String'>
13501
13489
  readonly outcomeQuality: FieldRef<"RAGCorpus", 'Float'>
13502
13490
  readonly addedAt: FieldRef<"RAGCorpus", 'DateTime'>
@@ -21274,7 +21262,6 @@ export namespace Prisma {
21274
21262
  surface: 'surface',
21275
21263
  promptText: 'promptText',
21276
21264
  diff: 'diff',
21277
- embedding: 'embedding',
21278
21265
  fixAttemptId: 'fixAttemptId',
21279
21266
  outcomeQuality: 'outcomeQuality',
21280
21267
  addedAt: 'addedAt'
@@ -21672,20 +21659,6 @@ export namespace Prisma {
21672
21659
 
21673
21660
 
21674
21661
 
21675
- /**
21676
- * Reference to a field of type 'Bytes'
21677
- */
21678
- export type BytesFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Bytes'>
21679
-
21680
-
21681
-
21682
- /**
21683
- * Reference to a field of type 'Bytes[]'
21684
- */
21685
- export type ListBytesFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Bytes[]'>
21686
-
21687
-
21688
-
21689
21662
  /**
21690
21663
  * Reference to a field of type 'ArtifactType'
21691
21664
  */
@@ -22776,7 +22749,6 @@ export namespace Prisma {
22776
22749
  surface?: EnumSurfaceCategoryFilter<"RAGCorpus"> | $Enums.SurfaceCategory
22777
22750
  promptText?: StringFilter<"RAGCorpus"> | string
22778
22751
  diff?: StringFilter<"RAGCorpus"> | string
22779
- embedding?: BytesNullableFilter<"RAGCorpus"> | Buffer | null
22780
22752
  fixAttemptId?: StringFilter<"RAGCorpus"> | string
22781
22753
  outcomeQuality?: FloatFilter<"RAGCorpus"> | number
22782
22754
  addedAt?: DateTimeFilter<"RAGCorpus"> | Date | string
@@ -22789,7 +22761,6 @@ export namespace Prisma {
22789
22761
  surface?: SortOrder
22790
22762
  promptText?: SortOrder
22791
22763
  diff?: SortOrder
22792
- embedding?: SortOrderInput | SortOrder
22793
22764
  fixAttemptId?: SortOrder
22794
22765
  outcomeQuality?: SortOrder
22795
22766
  addedAt?: SortOrder
@@ -22805,7 +22776,6 @@ export namespace Prisma {
22805
22776
  surface?: EnumSurfaceCategoryFilter<"RAGCorpus"> | $Enums.SurfaceCategory
22806
22777
  promptText?: StringFilter<"RAGCorpus"> | string
22807
22778
  diff?: StringFilter<"RAGCorpus"> | string
22808
- embedding?: BytesNullableFilter<"RAGCorpus"> | Buffer | null
22809
22779
  fixAttemptId?: StringFilter<"RAGCorpus"> | string
22810
22780
  outcomeQuality?: FloatFilter<"RAGCorpus"> | number
22811
22781
  addedAt?: DateTimeFilter<"RAGCorpus"> | Date | string
@@ -22818,7 +22788,6 @@ export namespace Prisma {
22818
22788
  surface?: SortOrder
22819
22789
  promptText?: SortOrder
22820
22790
  diff?: SortOrder
22821
- embedding?: SortOrderInput | SortOrder
22822
22791
  fixAttemptId?: SortOrder
22823
22792
  outcomeQuality?: SortOrder
22824
22793
  addedAt?: SortOrder
@@ -22839,7 +22808,6 @@ export namespace Prisma {
22839
22808
  surface?: EnumSurfaceCategoryWithAggregatesFilter<"RAGCorpus"> | $Enums.SurfaceCategory
22840
22809
  promptText?: StringWithAggregatesFilter<"RAGCorpus"> | string
22841
22810
  diff?: StringWithAggregatesFilter<"RAGCorpus"> | string
22842
- embedding?: BytesNullableWithAggregatesFilter<"RAGCorpus"> | Buffer | null
22843
22811
  fixAttemptId?: StringWithAggregatesFilter<"RAGCorpus"> | string
22844
22812
  outcomeQuality?: FloatWithAggregatesFilter<"RAGCorpus"> | number
22845
22813
  addedAt?: DateTimeWithAggregatesFilter<"RAGCorpus"> | Date | string
@@ -24669,7 +24637,6 @@ export namespace Prisma {
24669
24637
  surface: $Enums.SurfaceCategory
24670
24638
  promptText: string
24671
24639
  diff: string
24672
- embedding?: Buffer | null
24673
24640
  fixAttemptId: string
24674
24641
  outcomeQuality: number
24675
24642
  addedAt?: Date | string
@@ -24682,7 +24649,6 @@ export namespace Prisma {
24682
24649
  surface: $Enums.SurfaceCategory
24683
24650
  promptText: string
24684
24651
  diff: string
24685
- embedding?: Buffer | null
24686
24652
  fixAttemptId: string
24687
24653
  outcomeQuality: number
24688
24654
  addedAt?: Date | string
@@ -24695,7 +24661,6 @@ export namespace Prisma {
24695
24661
  surface?: EnumSurfaceCategoryFieldUpdateOperationsInput | $Enums.SurfaceCategory
24696
24662
  promptText?: StringFieldUpdateOperationsInput | string
24697
24663
  diff?: StringFieldUpdateOperationsInput | string
24698
- embedding?: NullableBytesFieldUpdateOperationsInput | Buffer | null
24699
24664
  fixAttemptId?: StringFieldUpdateOperationsInput | string
24700
24665
  outcomeQuality?: FloatFieldUpdateOperationsInput | number
24701
24666
  addedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -24708,7 +24673,6 @@ export namespace Prisma {
24708
24673
  surface?: EnumSurfaceCategoryFieldUpdateOperationsInput | $Enums.SurfaceCategory
24709
24674
  promptText?: StringFieldUpdateOperationsInput | string
24710
24675
  diff?: StringFieldUpdateOperationsInput | string
24711
- embedding?: NullableBytesFieldUpdateOperationsInput | Buffer | null
24712
24676
  fixAttemptId?: StringFieldUpdateOperationsInput | string
24713
24677
  outcomeQuality?: FloatFieldUpdateOperationsInput | number
24714
24678
  addedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -24721,7 +24685,6 @@ export namespace Prisma {
24721
24685
  surface: $Enums.SurfaceCategory
24722
24686
  promptText: string
24723
24687
  diff: string
24724
- embedding?: Buffer | null
24725
24688
  fixAttemptId: string
24726
24689
  outcomeQuality: number
24727
24690
  addedAt?: Date | string
@@ -24734,7 +24697,6 @@ export namespace Prisma {
24734
24697
  surface?: EnumSurfaceCategoryFieldUpdateOperationsInput | $Enums.SurfaceCategory
24735
24698
  promptText?: StringFieldUpdateOperationsInput | string
24736
24699
  diff?: StringFieldUpdateOperationsInput | string
24737
- embedding?: NullableBytesFieldUpdateOperationsInput | Buffer | null
24738
24700
  fixAttemptId?: StringFieldUpdateOperationsInput | string
24739
24701
  outcomeQuality?: FloatFieldUpdateOperationsInput | number
24740
24702
  addedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -24747,7 +24709,6 @@ export namespace Prisma {
24747
24709
  surface?: EnumSurfaceCategoryFieldUpdateOperationsInput | $Enums.SurfaceCategory
24748
24710
  promptText?: StringFieldUpdateOperationsInput | string
24749
24711
  diff?: StringFieldUpdateOperationsInput | string
24750
- embedding?: NullableBytesFieldUpdateOperationsInput | Buffer | null
24751
24712
  fixAttemptId?: StringFieldUpdateOperationsInput | string
24752
24713
  outcomeQuality?: FloatFieldUpdateOperationsInput | number
24753
24714
  addedAt?: DateTimeFieldUpdateOperationsInput | Date | string
@@ -26674,13 +26635,6 @@ export namespace Prisma {
26674
26635
  _max?: NestedFloatFilter<$PrismaModel>
26675
26636
  }
26676
26637
 
26677
- export type BytesNullableFilter<$PrismaModel = never> = {
26678
- equals?: Buffer | BytesFieldRefInput<$PrismaModel> | null
26679
- in?: Buffer[] | ListBytesFieldRefInput<$PrismaModel> | null
26680
- notIn?: Buffer[] | ListBytesFieldRefInput<$PrismaModel> | null
26681
- not?: NestedBytesNullableFilter<$PrismaModel> | Buffer | null
26682
- }
26683
-
26684
26638
  export type RAGCorpusCountOrderByAggregateInput = {
26685
26639
  id?: SortOrder
26686
26640
  projectId?: SortOrder
@@ -26688,7 +26642,6 @@ export namespace Prisma {
26688
26642
  surface?: SortOrder
26689
26643
  promptText?: SortOrder
26690
26644
  diff?: SortOrder
26691
- embedding?: SortOrder
26692
26645
  fixAttemptId?: SortOrder
26693
26646
  outcomeQuality?: SortOrder
26694
26647
  addedAt?: SortOrder
@@ -26705,7 +26658,6 @@ export namespace Prisma {
26705
26658
  surface?: SortOrder
26706
26659
  promptText?: SortOrder
26707
26660
  diff?: SortOrder
26708
- embedding?: SortOrder
26709
26661
  fixAttemptId?: SortOrder
26710
26662
  outcomeQuality?: SortOrder
26711
26663
  addedAt?: SortOrder
@@ -26718,7 +26670,6 @@ export namespace Prisma {
26718
26670
  surface?: SortOrder
26719
26671
  promptText?: SortOrder
26720
26672
  diff?: SortOrder
26721
- embedding?: SortOrder
26722
26673
  fixAttemptId?: SortOrder
26723
26674
  outcomeQuality?: SortOrder
26724
26675
  addedAt?: SortOrder
@@ -26728,16 +26679,6 @@ export namespace Prisma {
26728
26679
  outcomeQuality?: SortOrder
26729
26680
  }
26730
26681
 
26731
- export type BytesNullableWithAggregatesFilter<$PrismaModel = never> = {
26732
- equals?: Buffer | BytesFieldRefInput<$PrismaModel> | null
26733
- in?: Buffer[] | ListBytesFieldRefInput<$PrismaModel> | null
26734
- notIn?: Buffer[] | ListBytesFieldRefInput<$PrismaModel> | null
26735
- not?: NestedBytesNullableWithAggregatesFilter<$PrismaModel> | Buffer | null
26736
- _count?: NestedIntNullableFilter<$PrismaModel>
26737
- _min?: NestedBytesNullableFilter<$PrismaModel>
26738
- _max?: NestedBytesNullableFilter<$PrismaModel>
26739
- }
26740
-
26741
26682
  export type EnumArtifactTypeFilter<$PrismaModel = never> = {
26742
26683
  equals?: $Enums.ArtifactType | EnumArtifactTypeFieldRefInput<$PrismaModel>
26743
26684
  in?: $Enums.ArtifactType[] | ListEnumArtifactTypeFieldRefInput<$PrismaModel>
@@ -28317,10 +28258,6 @@ export namespace Prisma {
28317
28258
  update?: XOR<XOR<ProjectUpdateToOneWithWhereWithoutTrustScoresInput, ProjectUpdateWithoutTrustScoresInput>, ProjectUncheckedUpdateWithoutTrustScoresInput>
28318
28259
  }
28319
28260
 
28320
- export type NullableBytesFieldUpdateOperationsInput = {
28321
- set?: Buffer | null
28322
- }
28323
-
28324
28261
  export type ProjectCreateNestedOneWithoutAuditArtifactsInput = {
28325
28262
  create?: XOR<ProjectCreateWithoutAuditArtifactsInput, ProjectUncheckedCreateWithoutAuditArtifactsInput>
28326
28263
  connectOrCreate?: ProjectCreateOrConnectWithoutAuditArtifactsInput
@@ -28985,23 +28922,6 @@ export namespace Prisma {
28985
28922
  _max?: NestedFloatFilter<$PrismaModel>
28986
28923
  }
28987
28924
 
28988
- export type NestedBytesNullableFilter<$PrismaModel = never> = {
28989
- equals?: Buffer | BytesFieldRefInput<$PrismaModel> | null
28990
- in?: Buffer[] | ListBytesFieldRefInput<$PrismaModel> | null
28991
- notIn?: Buffer[] | ListBytesFieldRefInput<$PrismaModel> | null
28992
- not?: NestedBytesNullableFilter<$PrismaModel> | Buffer | null
28993
- }
28994
-
28995
- export type NestedBytesNullableWithAggregatesFilter<$PrismaModel = never> = {
28996
- equals?: Buffer | BytesFieldRefInput<$PrismaModel> | null
28997
- in?: Buffer[] | ListBytesFieldRefInput<$PrismaModel> | null
28998
- notIn?: Buffer[] | ListBytesFieldRefInput<$PrismaModel> | null
28999
- not?: NestedBytesNullableWithAggregatesFilter<$PrismaModel> | Buffer | null
29000
- _count?: NestedIntNullableFilter<$PrismaModel>
29001
- _min?: NestedBytesNullableFilter<$PrismaModel>
29002
- _max?: NestedBytesNullableFilter<$PrismaModel>
29003
- }
29004
-
29005
28925
  export type NestedEnumArtifactTypeFilter<$PrismaModel = never> = {
29006
28926
  equals?: $Enums.ArtifactType | EnumArtifactTypeFieldRefInput<$PrismaModel>
29007
28927
  in?: $Enums.ArtifactType[] | ListEnumArtifactTypeFieldRefInput<$PrismaModel>