Skip to content

Commit

Permalink
feat: use constant
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <[email protected]>
  • Loading branch information
SuZhou-Joe committed Jan 8, 2025
1 parent 9d0a41f commit 751203f
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@ const getAvailableLanguages$ = (http: HttpSetup, data: DataPublicPluginSetup) =>
})
);

const queryAssistantSupportedDatasetTypes = ['INDEXES', 'INDEX_PATTERN'];
const queryAssistantSupportedDatasetTypes = [
DEFAULT_DATA.SET_TYPES.INDEX,
DEFAULT_DATA.SET_TYPES.INDEX_PATTERN,
];

export const createQueryAssistExtension = (
core: CoreSetup,
Expand Down

0 comments on commit 751203f

Please sign in to comment.