mirror of https://github.com/buster-so/buster.git
update types
This commit is contained in:
parent
c40bdfcb4c
commit
14ca65be59
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue