@@ -3097,16 +3097,16 @@ export type CastVoteAPIResponse<StreamChatGenerics extends ExtendableGenerics =
3097
3097
export type QueryMessageHistoryFilters = QueryFilters <
3098
3098
{
3099
3099
message_id ?:
3100
- | RequireOnlyOne < Pick < QueryFilter < MessageHistory [ 'message_id' ] > , '$eq' | '$in' > >
3101
- | PrimitiveFilter < MessageHistory [ 'message_id' ] > ;
3100
+ | RequireOnlyOne < Pick < QueryFilter < MessageHistoryEntry [ 'message_id' ] > , '$eq' | '$in' > >
3101
+ | PrimitiveFilter < MessageHistoryEntry [ 'message_id' ] > ;
3102
3102
} & {
3103
3103
user_id ?:
3104
- | RequireOnlyOne < Pick < QueryFilter < MessageHistory [ 'user_id' ] > , '$eq' | '$in' > >
3105
- | PrimitiveFilter < MessageHistory [ 'user_id' ] > ;
3104
+ | RequireOnlyOne < Pick < QueryFilter < MessageHistoryEntry [ 'user_id' ] > , '$eq' | '$in' > >
3105
+ | PrimitiveFilter < MessageHistoryEntry [ 'user_id' ] > ;
3106
3106
} & {
3107
3107
created_at ?:
3108
- | RequireOnlyOne < Pick < QueryFilter < MessageHistory [ 'created_at' ] > , '$eq' | '$gt' | '$lt' | '$gte' | '$lte' > >
3109
- | PrimitiveFilter < MessageHistory [ 'created_at' ] > ;
3108
+ | RequireOnlyOne < Pick < QueryFilter < MessageHistoryEntry [ 'created_at' ] > , '$eq' | '$gt' | '$lt' | '$gte' | '$lte' > >
3109
+ | PrimitiveFilter < MessageHistoryEntry [ 'created_at' ] > ;
3110
3110
}
3111
3111
> ;
3112
3112
@@ -3119,7 +3119,7 @@ export type QueryMessageHistorySortBase = {
3119
3119
3120
3120
export type QueryMessageHistoryOptions = Pager ;
3121
3121
3122
- export type MessageHistory < StreamChatGenerics extends ExtendableGenerics = DefaultGenerics > = {
3122
+ export type MessageHistoryEntry < StreamChatGenerics extends ExtendableGenerics = DefaultGenerics > = {
3123
3123
created_at : string ;
3124
3124
message_id : string ;
3125
3125
attachments ?: Attachment < StreamChatGenerics > [ ] ;
@@ -3128,7 +3128,7 @@ export type MessageHistory<StreamChatGenerics extends ExtendableGenerics = Defau
3128
3128
} ;
3129
3129
3130
3130
export type QueryMessageHistoryResponse < StreamChatGenerics extends ExtendableGenerics = DefaultGenerics > = {
3131
- message_history : MessageHistory < StreamChatGenerics > [ ] ;
3131
+ message_history : MessageHistoryEntry < StreamChatGenerics > [ ] ;
3132
3132
next ?: string ;
3133
3133
prev ?: string ;
3134
3134
} ;
0 commit comments