diff --git a/web/src/api/asset_interfaces/chat/chatMessageInterfaces.ts b/web/src/api/asset_interfaces/chat/chatMessageInterfaces.ts index f23b14f49..7e939dd1f 100644 --- a/web/src/api/asset_interfaces/chat/chatMessageInterfaces.ts +++ b/web/src/api/asset_interfaces/chat/chatMessageInterfaces.ts @@ -74,7 +74,8 @@ export type BusterChatMessageReasoning_text = { export type BusterChatMessageReasoning_file = { id: string; - type: FileType; + type: 'file'; + file_type: FileType; file_name: string; version_number: number; version_id: string; diff --git a/web/src/api/asset_interfaces/chat/config.ts b/web/src/api/asset_interfaces/chat/config.ts index f641e0fbc..25dba78a3 100644 --- a/web/src/api/asset_interfaces/chat/config.ts +++ b/web/src/api/asset_interfaces/chat/config.ts @@ -1,5 +1,12 @@ export type FileType = 'metric' | 'dashboard' | 'reasoning'; //'dataset' | 'collection' | | 'term' | 'value' -export type ThoughtFileType = 'metric' | 'dashboard' | 'collection' | 'dataset' | 'term' | 'value'; +export type ThoughtFileType = + | 'metric' + | 'dashboard' + | 'collection' + | 'dataset' + | 'term' + | 'value' + | 'empty'; export type AllFileTypes = ThoughtFileType | FileType;