diff --git a/src/components/NavigationTree/NavigationTreeNode.tsx b/src/components/NavigationTree/NavigationTreeNode.tsx index fba707b..ae7ceb3 100644 --- a/src/components/NavigationTree/NavigationTreeNode.tsx +++ b/src/components/NavigationTree/NavigationTreeNode.tsx @@ -10,6 +10,7 @@ import { FolderIcon, FolderOpenIcon, ResourcePoolIcon, + StreamingQueryIcon, TableIcon, TableIndexIcon, TopicIcon, @@ -61,6 +62,8 @@ function renderIcon(type: NavigationTreeNodeType, collapsed: boolean) { return ; case 'external_data_source': return ; + case 'streaming_query': + return ; case 'view': return ; case 'resource_pool': diff --git a/src/components/NavigationTree/__stories__/NavigationTree.stories.tsx b/src/components/NavigationTree/__stories__/NavigationTree.stories.tsx index 54ec6c5..aaa27fe 100644 --- a/src/components/NavigationTree/__stories__/NavigationTree.stories.tsx +++ b/src/components/NavigationTree/__stories__/NavigationTree.stories.tsx @@ -129,6 +129,10 @@ async function fetchPath(path: string) { name: 'external_data_source', type: 'external_data_source', }, + { + name: 'streaming_query', + type: 'streaming_query', + }, { name: 'view', type: 'view', diff --git a/src/components/NavigationTree/types.ts b/src/components/NavigationTree/types.ts index 5462590..0a41b11 100644 --- a/src/components/NavigationTree/types.ts +++ b/src/components/NavigationTree/types.ts @@ -12,6 +12,7 @@ export type NavigationTreeNodeType = | 'index' | 'stream' | 'system_table' + | 'streaming_query' | 'table' | 'topic' | 'transfer' diff --git a/src/components/icons/StreamingQuery.tsx b/src/components/icons/StreamingQuery.tsx new file mode 100644 index 0000000..67521fc --- /dev/null +++ b/src/components/icons/StreamingQuery.tsx @@ -0,0 +1,17 @@ +import React from 'react'; + +export function StreamingQueryIcon(props: React.SVGProps) { + return ( + + + + + ); +} diff --git a/src/components/icons/index.ts b/src/components/icons/index.ts index b89449b..e931b7a 100644 --- a/src/components/icons/index.ts +++ b/src/components/icons/index.ts @@ -11,3 +11,4 @@ export {TableIndexIcon} from './TableIndex'; export {TopicIcon} from './Topic'; export {TransferIcon} from './Transfer'; export {ViewIcon} from './View'; +export {StreamingQueryIcon} from './StreamingQuery';