@danielcok17/prisma-db 1.0.1 → 1.0.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/package.json +1 -1
- package/prisma/app.prisma +2 -0
- package/prisma/generated/app/edge.js +6 -4
- package/prisma/generated/app/index-browser.js +3 -1
- package/prisma/generated/app/index.d.ts +126 -2
- package/prisma/generated/app/index.js +6 -4
- package/prisma/generated/app/package.json +1 -1
- package/prisma/generated/app/schema.prisma +12 -10
- package/prisma/generated/app/wasm.js +3 -1
- package/prisma/migrations/20250818134929_init/migration.sql +374 -0
- package/prisma/migrations/20250817194531_/migration.sql +0 -372
|
@@ -5728,10 +5728,20 @@ export namespace Prisma {
|
|
|
5728
5728
|
|
|
5729
5729
|
export type AggregateConversation = {
|
|
5730
5730
|
_count: ConversationCountAggregateOutputType | null
|
|
5731
|
+
_avg: ConversationAvgAggregateOutputType | null
|
|
5732
|
+
_sum: ConversationSumAggregateOutputType | null
|
|
5731
5733
|
_min: ConversationMinAggregateOutputType | null
|
|
5732
5734
|
_max: ConversationMaxAggregateOutputType | null
|
|
5733
5735
|
}
|
|
5734
5736
|
|
|
5737
|
+
export type ConversationAvgAggregateOutputType = {
|
|
5738
|
+
messagesSinceLastSummary: number | null
|
|
5739
|
+
}
|
|
5740
|
+
|
|
5741
|
+
export type ConversationSumAggregateOutputType = {
|
|
5742
|
+
messagesSinceLastSummary: number | null
|
|
5743
|
+
}
|
|
5744
|
+
|
|
5735
5745
|
export type ConversationMinAggregateOutputType = {
|
|
5736
5746
|
id: string | null
|
|
5737
5747
|
name: string | null
|
|
@@ -5741,6 +5751,8 @@ export namespace Prisma {
|
|
|
5741
5751
|
sharedAt: Date | null
|
|
5742
5752
|
createdAt: Date | null
|
|
5743
5753
|
updatedAt: Date | null
|
|
5754
|
+
summary: string | null
|
|
5755
|
+
messagesSinceLastSummary: number | null
|
|
5744
5756
|
}
|
|
5745
5757
|
|
|
5746
5758
|
export type ConversationMaxAggregateOutputType = {
|
|
@@ -5752,6 +5764,8 @@ export namespace Prisma {
|
|
|
5752
5764
|
sharedAt: Date | null
|
|
5753
5765
|
createdAt: Date | null
|
|
5754
5766
|
updatedAt: Date | null
|
|
5767
|
+
summary: string | null
|
|
5768
|
+
messagesSinceLastSummary: number | null
|
|
5755
5769
|
}
|
|
5756
5770
|
|
|
5757
5771
|
export type ConversationCountAggregateOutputType = {
|
|
@@ -5763,10 +5777,20 @@ export namespace Prisma {
|
|
|
5763
5777
|
sharedAt: number
|
|
5764
5778
|
createdAt: number
|
|
5765
5779
|
updatedAt: number
|
|
5780
|
+
summary: number
|
|
5781
|
+
messagesSinceLastSummary: number
|
|
5766
5782
|
_all: number
|
|
5767
5783
|
}
|
|
5768
5784
|
|
|
5769
5785
|
|
|
5786
|
+
export type ConversationAvgAggregateInputType = {
|
|
5787
|
+
messagesSinceLastSummary?: true
|
|
5788
|
+
}
|
|
5789
|
+
|
|
5790
|
+
export type ConversationSumAggregateInputType = {
|
|
5791
|
+
messagesSinceLastSummary?: true
|
|
5792
|
+
}
|
|
5793
|
+
|
|
5770
5794
|
export type ConversationMinAggregateInputType = {
|
|
5771
5795
|
id?: true
|
|
5772
5796
|
name?: true
|
|
@@ -5776,6 +5800,8 @@ export namespace Prisma {
|
|
|
5776
5800
|
sharedAt?: true
|
|
5777
5801
|
createdAt?: true
|
|
5778
5802
|
updatedAt?: true
|
|
5803
|
+
summary?: true
|
|
5804
|
+
messagesSinceLastSummary?: true
|
|
5779
5805
|
}
|
|
5780
5806
|
|
|
5781
5807
|
export type ConversationMaxAggregateInputType = {
|
|
@@ -5787,6 +5813,8 @@ export namespace Prisma {
|
|
|
5787
5813
|
sharedAt?: true
|
|
5788
5814
|
createdAt?: true
|
|
5789
5815
|
updatedAt?: true
|
|
5816
|
+
summary?: true
|
|
5817
|
+
messagesSinceLastSummary?: true
|
|
5790
5818
|
}
|
|
5791
5819
|
|
|
5792
5820
|
export type ConversationCountAggregateInputType = {
|
|
@@ -5798,6 +5826,8 @@ export namespace Prisma {
|
|
|
5798
5826
|
sharedAt?: true
|
|
5799
5827
|
createdAt?: true
|
|
5800
5828
|
updatedAt?: true
|
|
5829
|
+
summary?: true
|
|
5830
|
+
messagesSinceLastSummary?: true
|
|
5801
5831
|
_all?: true
|
|
5802
5832
|
}
|
|
5803
5833
|
|
|
@@ -5836,6 +5866,18 @@ export namespace Prisma {
|
|
|
5836
5866
|
* Count returned Conversations
|
|
5837
5867
|
**/
|
|
5838
5868
|
_count?: true | ConversationCountAggregateInputType
|
|
5869
|
+
/**
|
|
5870
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
5871
|
+
*
|
|
5872
|
+
* Select which fields to average
|
|
5873
|
+
**/
|
|
5874
|
+
_avg?: ConversationAvgAggregateInputType
|
|
5875
|
+
/**
|
|
5876
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
5877
|
+
*
|
|
5878
|
+
* Select which fields to sum
|
|
5879
|
+
**/
|
|
5880
|
+
_sum?: ConversationSumAggregateInputType
|
|
5839
5881
|
/**
|
|
5840
5882
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
5841
5883
|
*
|
|
@@ -5869,6 +5911,8 @@ export namespace Prisma {
|
|
|
5869
5911
|
take?: number
|
|
5870
5912
|
skip?: number
|
|
5871
5913
|
_count?: ConversationCountAggregateInputType | true
|
|
5914
|
+
_avg?: ConversationAvgAggregateInputType
|
|
5915
|
+
_sum?: ConversationSumAggregateInputType
|
|
5872
5916
|
_min?: ConversationMinAggregateInputType
|
|
5873
5917
|
_max?: ConversationMaxAggregateInputType
|
|
5874
5918
|
}
|
|
@@ -5882,7 +5926,11 @@ export namespace Prisma {
|
|
|
5882
5926
|
sharedAt: Date | null
|
|
5883
5927
|
createdAt: Date
|
|
5884
5928
|
updatedAt: Date
|
|
5929
|
+
summary: string | null
|
|
5930
|
+
messagesSinceLastSummary: number | null
|
|
5885
5931
|
_count: ConversationCountAggregateOutputType | null
|
|
5932
|
+
_avg: ConversationAvgAggregateOutputType | null
|
|
5933
|
+
_sum: ConversationSumAggregateOutputType | null
|
|
5886
5934
|
_min: ConversationMinAggregateOutputType | null
|
|
5887
5935
|
_max: ConversationMaxAggregateOutputType | null
|
|
5888
5936
|
}
|
|
@@ -5910,6 +5958,8 @@ export namespace Prisma {
|
|
|
5910
5958
|
sharedAt?: boolean
|
|
5911
5959
|
createdAt?: boolean
|
|
5912
5960
|
updatedAt?: boolean
|
|
5961
|
+
summary?: boolean
|
|
5962
|
+
messagesSinceLastSummary?: boolean
|
|
5913
5963
|
answers?: boolean | Conversation$answersArgs<ExtArgs>
|
|
5914
5964
|
user?: boolean | UserDefaultArgs<ExtArgs>
|
|
5915
5965
|
_count?: boolean | ConversationCountOutputTypeDefaultArgs<ExtArgs>
|
|
@@ -5924,6 +5974,8 @@ export namespace Prisma {
|
|
|
5924
5974
|
sharedAt?: boolean
|
|
5925
5975
|
createdAt?: boolean
|
|
5926
5976
|
updatedAt?: boolean
|
|
5977
|
+
summary?: boolean
|
|
5978
|
+
messagesSinceLastSummary?: boolean
|
|
5927
5979
|
user?: boolean | UserDefaultArgs<ExtArgs>
|
|
5928
5980
|
}, ExtArgs["result"]["conversation"]>
|
|
5929
5981
|
|
|
@@ -5936,6 +5988,8 @@ export namespace Prisma {
|
|
|
5936
5988
|
sharedAt?: boolean
|
|
5937
5989
|
createdAt?: boolean
|
|
5938
5990
|
updatedAt?: boolean
|
|
5991
|
+
summary?: boolean
|
|
5992
|
+
messagesSinceLastSummary?: boolean
|
|
5939
5993
|
user?: boolean | UserDefaultArgs<ExtArgs>
|
|
5940
5994
|
}, ExtArgs["result"]["conversation"]>
|
|
5941
5995
|
|
|
@@ -5948,9 +6002,11 @@ export namespace Prisma {
|
|
|
5948
6002
|
sharedAt?: boolean
|
|
5949
6003
|
createdAt?: boolean
|
|
5950
6004
|
updatedAt?: boolean
|
|
6005
|
+
summary?: boolean
|
|
6006
|
+
messagesSinceLastSummary?: boolean
|
|
5951
6007
|
}
|
|
5952
6008
|
|
|
5953
|
-
export type ConversationOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "name" | "userId" | "isShareable" | "shareUrl" | "sharedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["conversation"]>
|
|
6009
|
+
export type ConversationOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "name" | "userId" | "isShareable" | "shareUrl" | "sharedAt" | "createdAt" | "updatedAt" | "summary" | "messagesSinceLastSummary", ExtArgs["result"]["conversation"]>
|
|
5954
6010
|
export type ConversationInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
5955
6011
|
answers?: boolean | Conversation$answersArgs<ExtArgs>
|
|
5956
6012
|
user?: boolean | UserDefaultArgs<ExtArgs>
|
|
@@ -5978,6 +6034,8 @@ export namespace Prisma {
|
|
|
5978
6034
|
sharedAt: Date | null
|
|
5979
6035
|
createdAt: Date
|
|
5980
6036
|
updatedAt: Date
|
|
6037
|
+
summary: string | null
|
|
6038
|
+
messagesSinceLastSummary: number | null
|
|
5981
6039
|
}, ExtArgs["result"]["conversation"]>
|
|
5982
6040
|
composites: {}
|
|
5983
6041
|
}
|
|
@@ -6411,6 +6469,8 @@ export namespace Prisma {
|
|
|
6411
6469
|
readonly sharedAt: FieldRef<"Conversation", 'DateTime'>
|
|
6412
6470
|
readonly createdAt: FieldRef<"Conversation", 'DateTime'>
|
|
6413
6471
|
readonly updatedAt: FieldRef<"Conversation", 'DateTime'>
|
|
6472
|
+
readonly summary: FieldRef<"Conversation", 'String'>
|
|
6473
|
+
readonly messagesSinceLastSummary: FieldRef<"Conversation", 'Int'>
|
|
6414
6474
|
}
|
|
6415
6475
|
|
|
6416
6476
|
|
|
@@ -15221,7 +15281,9 @@ export namespace Prisma {
|
|
|
15221
15281
|
shareUrl: 'shareUrl',
|
|
15222
15282
|
sharedAt: 'sharedAt',
|
|
15223
15283
|
createdAt: 'createdAt',
|
|
15224
|
-
updatedAt: 'updatedAt'
|
|
15284
|
+
updatedAt: 'updatedAt',
|
|
15285
|
+
summary: 'summary',
|
|
15286
|
+
messagesSinceLastSummary: 'messagesSinceLastSummary'
|
|
15225
15287
|
};
|
|
15226
15288
|
|
|
15227
15289
|
export type ConversationScalarFieldEnum = (typeof ConversationScalarFieldEnum)[keyof typeof ConversationScalarFieldEnum]
|
|
@@ -15851,6 +15913,8 @@ export namespace Prisma {
|
|
|
15851
15913
|
sharedAt?: DateTimeNullableFilter<"Conversation"> | Date | string | null
|
|
15852
15914
|
createdAt?: DateTimeFilter<"Conversation"> | Date | string
|
|
15853
15915
|
updatedAt?: DateTimeFilter<"Conversation"> | Date | string
|
|
15916
|
+
summary?: StringNullableFilter<"Conversation"> | string | null
|
|
15917
|
+
messagesSinceLastSummary?: IntNullableFilter<"Conversation"> | number | null
|
|
15854
15918
|
answers?: AnswerListRelationFilter
|
|
15855
15919
|
user?: XOR<UserScalarRelationFilter, UserWhereInput>
|
|
15856
15920
|
}
|
|
@@ -15864,6 +15928,8 @@ export namespace Prisma {
|
|
|
15864
15928
|
sharedAt?: SortOrderInput | SortOrder
|
|
15865
15929
|
createdAt?: SortOrder
|
|
15866
15930
|
updatedAt?: SortOrder
|
|
15931
|
+
summary?: SortOrderInput | SortOrder
|
|
15932
|
+
messagesSinceLastSummary?: SortOrderInput | SortOrder
|
|
15867
15933
|
answers?: AnswerOrderByRelationAggregateInput
|
|
15868
15934
|
user?: UserOrderByWithRelationInput
|
|
15869
15935
|
}
|
|
@@ -15880,6 +15946,8 @@ export namespace Prisma {
|
|
|
15880
15946
|
sharedAt?: DateTimeNullableFilter<"Conversation"> | Date | string | null
|
|
15881
15947
|
createdAt?: DateTimeFilter<"Conversation"> | Date | string
|
|
15882
15948
|
updatedAt?: DateTimeFilter<"Conversation"> | Date | string
|
|
15949
|
+
summary?: StringNullableFilter<"Conversation"> | string | null
|
|
15950
|
+
messagesSinceLastSummary?: IntNullableFilter<"Conversation"> | number | null
|
|
15883
15951
|
answers?: AnswerListRelationFilter
|
|
15884
15952
|
user?: XOR<UserScalarRelationFilter, UserWhereInput>
|
|
15885
15953
|
}, "id" | "shareUrl">
|
|
@@ -15893,9 +15961,13 @@ export namespace Prisma {
|
|
|
15893
15961
|
sharedAt?: SortOrderInput | SortOrder
|
|
15894
15962
|
createdAt?: SortOrder
|
|
15895
15963
|
updatedAt?: SortOrder
|
|
15964
|
+
summary?: SortOrderInput | SortOrder
|
|
15965
|
+
messagesSinceLastSummary?: SortOrderInput | SortOrder
|
|
15896
15966
|
_count?: ConversationCountOrderByAggregateInput
|
|
15967
|
+
_avg?: ConversationAvgOrderByAggregateInput
|
|
15897
15968
|
_max?: ConversationMaxOrderByAggregateInput
|
|
15898
15969
|
_min?: ConversationMinOrderByAggregateInput
|
|
15970
|
+
_sum?: ConversationSumOrderByAggregateInput
|
|
15899
15971
|
}
|
|
15900
15972
|
|
|
15901
15973
|
export type ConversationScalarWhereWithAggregatesInput = {
|
|
@@ -15910,6 +15982,8 @@ export namespace Prisma {
|
|
|
15910
15982
|
sharedAt?: DateTimeNullableWithAggregatesFilter<"Conversation"> | Date | string | null
|
|
15911
15983
|
createdAt?: DateTimeWithAggregatesFilter<"Conversation"> | Date | string
|
|
15912
15984
|
updatedAt?: DateTimeWithAggregatesFilter<"Conversation"> | Date | string
|
|
15985
|
+
summary?: StringNullableWithAggregatesFilter<"Conversation"> | string | null
|
|
15986
|
+
messagesSinceLastSummary?: IntNullableWithAggregatesFilter<"Conversation"> | number | null
|
|
15913
15987
|
}
|
|
15914
15988
|
|
|
15915
15989
|
export type AnswerWhereInput = {
|
|
@@ -16920,6 +16994,8 @@ export namespace Prisma {
|
|
|
16920
16994
|
sharedAt?: Date | string | null
|
|
16921
16995
|
createdAt?: Date | string
|
|
16922
16996
|
updatedAt?: Date | string
|
|
16997
|
+
summary?: string | null
|
|
16998
|
+
messagesSinceLastSummary?: number | null
|
|
16923
16999
|
answers?: AnswerCreateNestedManyWithoutConversationInput
|
|
16924
17000
|
user: UserCreateNestedOneWithoutConversationsInput
|
|
16925
17001
|
}
|
|
@@ -16933,6 +17009,8 @@ export namespace Prisma {
|
|
|
16933
17009
|
sharedAt?: Date | string | null
|
|
16934
17010
|
createdAt?: Date | string
|
|
16935
17011
|
updatedAt?: Date | string
|
|
17012
|
+
summary?: string | null
|
|
17013
|
+
messagesSinceLastSummary?: number | null
|
|
16936
17014
|
answers?: AnswerUncheckedCreateNestedManyWithoutConversationInput
|
|
16937
17015
|
}
|
|
16938
17016
|
|
|
@@ -16944,6 +17022,8 @@ export namespace Prisma {
|
|
|
16944
17022
|
sharedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
16945
17023
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
16946
17024
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
17025
|
+
summary?: NullableStringFieldUpdateOperationsInput | string | null
|
|
17026
|
+
messagesSinceLastSummary?: NullableIntFieldUpdateOperationsInput | number | null
|
|
16947
17027
|
answers?: AnswerUpdateManyWithoutConversationNestedInput
|
|
16948
17028
|
user?: UserUpdateOneRequiredWithoutConversationsNestedInput
|
|
16949
17029
|
}
|
|
@@ -16957,6 +17037,8 @@ export namespace Prisma {
|
|
|
16957
17037
|
sharedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
16958
17038
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
16959
17039
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
17040
|
+
summary?: NullableStringFieldUpdateOperationsInput | string | null
|
|
17041
|
+
messagesSinceLastSummary?: NullableIntFieldUpdateOperationsInput | number | null
|
|
16960
17042
|
answers?: AnswerUncheckedUpdateManyWithoutConversationNestedInput
|
|
16961
17043
|
}
|
|
16962
17044
|
|
|
@@ -16969,6 +17051,8 @@ export namespace Prisma {
|
|
|
16969
17051
|
sharedAt?: Date | string | null
|
|
16970
17052
|
createdAt?: Date | string
|
|
16971
17053
|
updatedAt?: Date | string
|
|
17054
|
+
summary?: string | null
|
|
17055
|
+
messagesSinceLastSummary?: number | null
|
|
16972
17056
|
}
|
|
16973
17057
|
|
|
16974
17058
|
export type ConversationUpdateManyMutationInput = {
|
|
@@ -16979,6 +17063,8 @@ export namespace Prisma {
|
|
|
16979
17063
|
sharedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
16980
17064
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
16981
17065
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
17066
|
+
summary?: NullableStringFieldUpdateOperationsInput | string | null
|
|
17067
|
+
messagesSinceLastSummary?: NullableIntFieldUpdateOperationsInput | number | null
|
|
16982
17068
|
}
|
|
16983
17069
|
|
|
16984
17070
|
export type ConversationUncheckedUpdateManyInput = {
|
|
@@ -16990,6 +17076,8 @@ export namespace Prisma {
|
|
|
16990
17076
|
sharedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
16991
17077
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
16992
17078
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
17079
|
+
summary?: NullableStringFieldUpdateOperationsInput | string | null
|
|
17080
|
+
messagesSinceLastSummary?: NullableIntFieldUpdateOperationsInput | number | null
|
|
16993
17081
|
}
|
|
16994
17082
|
|
|
16995
17083
|
export type AnswerCreateInput = {
|
|
@@ -18163,6 +18251,12 @@ export namespace Prisma {
|
|
|
18163
18251
|
sharedAt?: SortOrder
|
|
18164
18252
|
createdAt?: SortOrder
|
|
18165
18253
|
updatedAt?: SortOrder
|
|
18254
|
+
summary?: SortOrder
|
|
18255
|
+
messagesSinceLastSummary?: SortOrder
|
|
18256
|
+
}
|
|
18257
|
+
|
|
18258
|
+
export type ConversationAvgOrderByAggregateInput = {
|
|
18259
|
+
messagesSinceLastSummary?: SortOrder
|
|
18166
18260
|
}
|
|
18167
18261
|
|
|
18168
18262
|
export type ConversationMaxOrderByAggregateInput = {
|
|
@@ -18174,6 +18268,8 @@ export namespace Prisma {
|
|
|
18174
18268
|
sharedAt?: SortOrder
|
|
18175
18269
|
createdAt?: SortOrder
|
|
18176
18270
|
updatedAt?: SortOrder
|
|
18271
|
+
summary?: SortOrder
|
|
18272
|
+
messagesSinceLastSummary?: SortOrder
|
|
18177
18273
|
}
|
|
18178
18274
|
|
|
18179
18275
|
export type ConversationMinOrderByAggregateInput = {
|
|
@@ -18185,6 +18281,12 @@ export namespace Prisma {
|
|
|
18185
18281
|
sharedAt?: SortOrder
|
|
18186
18282
|
createdAt?: SortOrder
|
|
18187
18283
|
updatedAt?: SortOrder
|
|
18284
|
+
summary?: SortOrder
|
|
18285
|
+
messagesSinceLastSummary?: SortOrder
|
|
18286
|
+
}
|
|
18287
|
+
|
|
18288
|
+
export type ConversationSumOrderByAggregateInput = {
|
|
18289
|
+
messagesSinceLastSummary?: SortOrder
|
|
18188
18290
|
}
|
|
18189
18291
|
|
|
18190
18292
|
export type EnumRoleFilter<$PrismaModel = never> = {
|
|
@@ -20002,6 +20104,8 @@ export namespace Prisma {
|
|
|
20002
20104
|
sharedAt?: Date | string | null
|
|
20003
20105
|
createdAt?: Date | string
|
|
20004
20106
|
updatedAt?: Date | string
|
|
20107
|
+
summary?: string | null
|
|
20108
|
+
messagesSinceLastSummary?: number | null
|
|
20005
20109
|
answers?: AnswerCreateNestedManyWithoutConversationInput
|
|
20006
20110
|
}
|
|
20007
20111
|
|
|
@@ -20013,6 +20117,8 @@ export namespace Prisma {
|
|
|
20013
20117
|
sharedAt?: Date | string | null
|
|
20014
20118
|
createdAt?: Date | string
|
|
20015
20119
|
updatedAt?: Date | string
|
|
20120
|
+
summary?: string | null
|
|
20121
|
+
messagesSinceLastSummary?: number | null
|
|
20016
20122
|
answers?: AnswerUncheckedCreateNestedManyWithoutConversationInput
|
|
20017
20123
|
}
|
|
20018
20124
|
|
|
@@ -20261,6 +20367,8 @@ export namespace Prisma {
|
|
|
20261
20367
|
sharedAt?: DateTimeNullableFilter<"Conversation"> | Date | string | null
|
|
20262
20368
|
createdAt?: DateTimeFilter<"Conversation"> | Date | string
|
|
20263
20369
|
updatedAt?: DateTimeFilter<"Conversation"> | Date | string
|
|
20370
|
+
summary?: StringNullableFilter<"Conversation"> | string | null
|
|
20371
|
+
messagesSinceLastSummary?: IntNullableFilter<"Conversation"> | number | null
|
|
20264
20372
|
}
|
|
20265
20373
|
|
|
20266
20374
|
export type FeedbackUpsertWithWhereUniqueWithoutUserInput = {
|
|
@@ -20697,6 +20805,8 @@ export namespace Prisma {
|
|
|
20697
20805
|
sharedAt?: Date | string | null
|
|
20698
20806
|
createdAt?: Date | string
|
|
20699
20807
|
updatedAt?: Date | string
|
|
20808
|
+
summary?: string | null
|
|
20809
|
+
messagesSinceLastSummary?: number | null
|
|
20700
20810
|
user: UserCreateNestedOneWithoutConversationsInput
|
|
20701
20811
|
}
|
|
20702
20812
|
|
|
@@ -20709,6 +20819,8 @@ export namespace Prisma {
|
|
|
20709
20819
|
sharedAt?: Date | string | null
|
|
20710
20820
|
createdAt?: Date | string
|
|
20711
20821
|
updatedAt?: Date | string
|
|
20822
|
+
summary?: string | null
|
|
20823
|
+
messagesSinceLastSummary?: number | null
|
|
20712
20824
|
}
|
|
20713
20825
|
|
|
20714
20826
|
export type ConversationCreateOrConnectWithoutAnswersInput = {
|
|
@@ -20902,6 +21014,8 @@ export namespace Prisma {
|
|
|
20902
21014
|
sharedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
20903
21015
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
20904
21016
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
21017
|
+
summary?: NullableStringFieldUpdateOperationsInput | string | null
|
|
21018
|
+
messagesSinceLastSummary?: NullableIntFieldUpdateOperationsInput | number | null
|
|
20905
21019
|
user?: UserUpdateOneRequiredWithoutConversationsNestedInput
|
|
20906
21020
|
}
|
|
20907
21021
|
|
|
@@ -20914,6 +21028,8 @@ export namespace Prisma {
|
|
|
20914
21028
|
sharedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
20915
21029
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
20916
21030
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
21031
|
+
summary?: NullableStringFieldUpdateOperationsInput | string | null
|
|
21032
|
+
messagesSinceLastSummary?: NullableIntFieldUpdateOperationsInput | number | null
|
|
20917
21033
|
}
|
|
20918
21034
|
|
|
20919
21035
|
export type UserUpsertWithoutAnswersInput = {
|
|
@@ -21924,6 +22040,8 @@ export namespace Prisma {
|
|
|
21924
22040
|
sharedAt?: Date | string | null
|
|
21925
22041
|
createdAt?: Date | string
|
|
21926
22042
|
updatedAt?: Date | string
|
|
22043
|
+
summary?: string | null
|
|
22044
|
+
messagesSinceLastSummary?: number | null
|
|
21927
22045
|
}
|
|
21928
22046
|
|
|
21929
22047
|
export type FeedbackCreateManyUserInput = {
|
|
@@ -22068,6 +22186,8 @@ export namespace Prisma {
|
|
|
22068
22186
|
sharedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
22069
22187
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
22070
22188
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
22189
|
+
summary?: NullableStringFieldUpdateOperationsInput | string | null
|
|
22190
|
+
messagesSinceLastSummary?: NullableIntFieldUpdateOperationsInput | number | null
|
|
22071
22191
|
answers?: AnswerUpdateManyWithoutConversationNestedInput
|
|
22072
22192
|
}
|
|
22073
22193
|
|
|
@@ -22079,6 +22199,8 @@ export namespace Prisma {
|
|
|
22079
22199
|
sharedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
22080
22200
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
22081
22201
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
22202
|
+
summary?: NullableStringFieldUpdateOperationsInput | string | null
|
|
22203
|
+
messagesSinceLastSummary?: NullableIntFieldUpdateOperationsInput | number | null
|
|
22082
22204
|
answers?: AnswerUncheckedUpdateManyWithoutConversationNestedInput
|
|
22083
22205
|
}
|
|
22084
22206
|
|
|
@@ -22090,6 +22212,8 @@ export namespace Prisma {
|
|
|
22090
22212
|
sharedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
22091
22213
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
22092
22214
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
22215
|
+
summary?: NullableStringFieldUpdateOperationsInput | string | null
|
|
22216
|
+
messagesSinceLastSummary?: NullableIntFieldUpdateOperationsInput | number | null
|
|
22093
22217
|
}
|
|
22094
22218
|
|
|
22095
22219
|
export type FeedbackUpdateWithoutUserInput = {
|