Skip to content

Commit 34a7ae8

Browse files
committed
feat: support streaming query in autocomplete
1 parent 56f1fc6 commit 34a7ae8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/types/api/autocomplete.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,5 @@ export type AutocompleteEntityType =
5454
| 'external_data_source'
5555
| 'view'
5656
| 'column'
57-
| 'index';
57+
| 'index'
58+
| 'streaming_query';

src/utils/monaco/yql/generateSuggestions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ const suggestionEntityToAutocomplete: Partial<Record<YQLEntity, AutocompleteEnti
2626
topic: ['pers_queue_group'],
2727
view: ['view'],
2828
tableIndex: ['table_index', 'index'],
29+
streamingQuery: ['streaming_query'],
2930
};
3031

3132
const commonSuggestionEntities: AutocompleteEntityType[] = ['dir', 'unknown', 'ext_sub_domain'];

0 commit comments

Comments
 (0)